/* =====================================================================
   SOL AND MANI — THE NIGHT-SKY LAYER

   Loaded after app.css on every storefront page. It changes how the
   shop looks and moves, never what it does: no markup is assumed that
   the scripts do not already render, and the staff and artist panels
   (which load app.css without this file) are untouched.

   The idea comes from the logo: a sun, a moon and a note. Sol and Mani.
   The page is a night sky lit by a slow aurora; everything you can
   press is sun-gold; the moon-teal carries structure; the red still
   means scarce. The one big gesture is a record that turns in the
   hero, lit from behind like an eclipse.
   ===================================================================== */

:root {
  --font-display: 'Syne', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Instrument Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* The sun: the action gradient. --fill-bg stays a flat colour because
     a few rules use it as a border; the gradient lives on the shapes. */
  --sun-1: #F6DFAE;
  --sun-2: #E3B972;
  --sun-3: #C98F45;
  --sun-grad: linear-gradient(135deg, var(--sun-1) 0%, var(--sun-2) 48%, var(--sun-3) 100%);
  --sun-glow: 0 10px 34px -12px rgba(227, 185, 114, .75);
  --fill-bg: #E3B972;
  --fill-bg-hover: #F0CE93;
  --fill-fg: #1A1207;

  /* The moon: the teal, lifted so it glows on the night. */
  --moon: #5FC7D1;
  --moon-soft: rgba(95, 199, 209, .16);
  --moon-grad: linear-gradient(135deg, #8FE1E8, #4FB3C0 55%, #5492A7);

  --heat-grad: linear-gradient(135deg, #F07A6F, #C4403D 60%, #8E2A2A);

  /* The night itself, for bands that stay dark in the light theme too. */
  --night: #051217;
  --night-2: #0A2129;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  /* Glass, for the light theme. */
  --glass:        rgba(255, 255, 255, .66);
  --glass-strong: rgba(255, 255, 255, .86);
  /* Cards sit in grids of dozens, so they fake the frost with a
     gradient instead of blurring what is behind each one. */
  --glass-card: linear-gradient(160deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .7));
  --glass-line:   rgba(16, 60, 70, .10);
  --glass-hi:     rgba(255, 255, 255, .9);
  --blur: saturate(1.5) blur(18px);

  --spot: rgba(84, 170, 185, .16);

  --sky-a: rgba(79, 179, 192, .26);
  --sky-b: rgba(227, 185, 114, .22);
  --sky-c: rgba(84, 146, 167, .22);
  --paper: #EAF2F3;

  --shadow:    0 14px 34px -18px rgba(8, 40, 48, .34);
  --shadow-lg: 0 34px 70px -30px rgba(8, 40, 48, .45);
  --ring: 0 0 0 4px rgba(79, 179, 192, .22);

  --sk-base:  rgba(16, 60, 70, .08);
  --sk-sheen: rgba(255, 255, 255, .7);
}

:root[data-theme="dark"] {
  --paper:    #051217;
  --card:     #0B1D23;

  --ink:      #EEF7F8;
  --ink-soft: #C3D6DA;
  --slate:    #93AAB0;
  --mute:     #7F969C;
  --line:     rgba(140, 220, 230, .13);
  --line-soft:rgba(140, 220, 230, .07);

  --teal-050: rgba(95, 199, 209, .07);
  --teal-100: rgba(95, 199, 209, .13);
  --teal-200: rgba(95, 199, 209, .22);
  --teal-300: rgba(95, 199, 209, .42);
  --teal-600: #8FD6DE;
  --teal-700: #A8E2E8;
  --teal-800: #CDEFF2;
  --blue-050: rgba(84, 146, 167, .12);
  --sand-050: rgba(227, 185, 114, .10);
  --sand-700: #EBC98E;

  --glass:        rgba(14, 36, 44, .52);
  --glass-strong: rgba(10, 28, 35, .86);
  --glass-card: linear-gradient(160deg, rgba(22, 52, 62, .62), rgba(10, 28, 35, .55));
  --glass-line:   rgba(150, 225, 235, .11);
  --glass-hi:     rgba(255, 255, 255, .07);

  --spot: rgba(110, 215, 225, .14);

  --sky-a: rgba(64, 190, 205, .22);
  --sky-b: rgba(227, 185, 114, .10);
  --sky-c: rgba(84, 120, 200, .16);

  --shadow:    0 18px 40px -20px rgba(0, 0, 0, .8);
  --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, .9);
  --ring: 0 0 0 4px rgba(95, 199, 209, .22);

  --sk-base:  rgba(255, 255, 255, .05);
  --sk-sheen: rgba(255, 255, 255, .07);

  --scrim: rgba(2, 8, 11, .62);
}

/* ---------------------------------------------------------------------
   Type
   --------------------------------------------------------------------- */
body { font-family: var(--font-body); letter-spacing: .005em; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); letter-spacing: -0.015em; }
.display { font-weight: 800; letter-spacing: -0.03em; line-height: .96; }
.display-lg { font-size: clamp(1.9rem, 2.2vw + 1.05rem, 3.9rem); }
.display-md { font-size: clamp(1.6rem, 1.4vw + 1.05rem, 2.8rem); }
h2 { font-weight: 700; }

::selection { background: var(--sun-2); color: #1A1207; }

/* The second line of a poster heading is lit, not just coloured. */
.display em, .display .alt {
  background: linear-gradient(100deg, #B9832F, #DDAE62 30%, #F3D69C 50%, #DDAE62 70%, #B9832F);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: fx-shimmer 2.4s ease-in-out .4s 1 both;
}
:root[data-theme="dark"] .display em, :root[data-theme="dark"] .display .alt,
.on-dark .display em, .on-dark .display .alt,
.hero-band .display em, .page-band .display em, .band-red .display em, .band-teal .display em,
.hero-band .display .alt, .page-band .display .alt, .band-teal .display .alt {
  background-image: linear-gradient(100deg, #D9A75A, #F6DFAE 30%, #FFF4DA 50%, #F6DFAE 70%, #D9A75A);
}
.display em, .display .alt, .display .alt-blue, .display .alt-red { padding-right: .06em; margin-right: -.06em; }
.split-head .display { font-size: clamp(1.7rem, 1.75vw + .95rem, 3.4rem); }
.display .alt-blue {
  background: linear-gradient(100deg, #2F8E9B, #5492A7 40%, #4FB3C0 70%, #2F8E9B);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: fx-shimmer 2.4s ease-in-out .5s 1 both;
}
:root[data-theme="dark"] .display .alt-blue, .on-dark .display .alt-blue {
  background-image: linear-gradient(100deg, #6FD0DA, #A9E6EC 35%, #7DB3E0 65%, #6FD0DA);
}
.display .alt-red {
  background: var(--heat-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
:root[data-theme="dark"] .display .alt-red { background-image: linear-gradient(135deg, #FF9C8F, #F06A62 60%, #D04A48); }
@keyframes fx-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* The small line over a heading: a lit pill rather than shouted
   capitals, with a dot that breathes like a status light. */
.kicker, .promo-kicker, .shout-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  width: fit-content;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: none;
  padding: 6px 13px 6px 11px;
  border-radius: 999px;
  color: var(--teal-700);
  background: var(--moon-soft);
  box-shadow: inset 0 0 0 1px rgba(95, 199, 209, .3);
}
.kicker::before, .promo-kicker::before, .shout-kicker::before {
  content: '';
  width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
  animation: fx-breathe 2.6s ease-in-out 3;
}
@keyframes fx-breathe {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .45; transform: scale(.7); }
}
.on-dark .kicker, .hero-copy .kicker, .page-band .kicker, .split-head .kicker,
.promo-kicker, .shout-kicker {
  color: #F3D69C;
  background: rgba(227, 185, 114, .10);
  box-shadow: inset 0 0 0 1px rgba(243, 214, 156, .28);
}
.section-head .kicker { margin-bottom: 14px; }

/* ---------------------------------------------------------------------
   The sky
   A fixed layer behind everything: three slow pools of aurora, a field
   of stars that only the dark theme shows, and a whisper of grain so
   the gradients never band.
   --------------------------------------------------------------------- */
html { background: var(--paper); }
body {
  background: transparent !important;
  background-image: none !important;
  position: relative;
}
body::before {
  content: '';
  position: fixed; inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(44vmax 34vmax at 80% 6%, var(--sky-a), transparent 70%),
    radial-gradient(38vmax 30vmax at 4% 96%, var(--sky-c), transparent 70%),
    radial-gradient(32vmax 24vmax at 60% 78%, var(--sky-b), transparent 70%);
  /* Still on purpose. A drifting sky meant a full-screen layer
     re-drawn every frame for as long as the tab was open. */
}
body::after {
  content: '';
  position: fixed; inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
:root[data-theme="dark"] body::after {
  opacity: 1;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, rgba(255,255,255,.75), transparent 60%),
    radial-gradient(1px 1px at 32% 62%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1.4px 1.4px at 68% 28%, rgba(255,240,210,.8), transparent 60%),
    radial-gradient(1px 1px at 84% 74%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1.2px 1.2px at 52% 88%, rgba(200,240,245,.6), transparent 60%),
    radial-gradient(1px 1px at 92% 12%, rgba(255,255,255,.6), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 420px 420px, 380px 380px, 520px 520px, 300px 300px, 460px 460px, 340px 340px, 180px 180px;

}

/* Scrollbar */
html { scrollbar-color: rgba(95, 199, 209, .35) transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(95, 199, 209, .3); border-radius: 99px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-track { background: transparent; }

/* ---------------------------------------------------------------------
   Glass surfaces
   --------------------------------------------------------------------- */
.card, .facets, .panel-card, .row-item, .orders-account, .empty, .fleeca,
.sk-card, .sk-row, .sk-facet, .sk-chip {
  /* Faked frost: a blur behind every card was the costliest thing on
     the page, and the sky behind them is soft enough not to need it. */
  background: var(--glass-card);
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow);
}
.empty { border-style: dashed; border-color: var(--line); box-shadow: none; }
.card { border-radius: var(--radius-lg); }

/* The pointer light on anything that can be pressed or opened. fx.js
   keeps --mx and --my in step with the pointer. */
.product, .artist-card, .cat-tile, .cat-chip, .shout-note, .card, .radio-card, .row-item {
  position: relative;
  isolation: isolate;
}
.product::after, .artist-card::after, .cat-tile::after, .cat-chip::after, .shout-note::after, .card::after, .radio-card::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  transition: opacity .4s ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--spot), transparent 60%);
}
.product:hover::after, .artist-card:hover::after, .cat-tile:hover::after, .cat-chip:hover::after,
.shout-note:hover::after, .card:hover::after, .radio-card:hover::after { opacity: 1; }
.shout-note::after { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.12), transparent 60%); }

/* A border that lights where the pointer is: a masked gradient ring. */
.product::before, .artist-card::before, .cat-tile::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  z-index: 3;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(243, 214, 156, .9), rgba(95, 199, 209, .5) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s ease;
}
.product:hover::before, .artist-card:hover::before, .cat-tile:hover::before { opacity: 1; }

/* ---------------------------------------------------------------------
   The top bar: a floating glass capsule
   --------------------------------------------------------------------- */
.masthead {
  background: transparent !important;
  border-bottom: 0;
  padding-top: 12px;
  pointer-events: none;
  transition: padding .45s var(--ease-out);
}
.masthead > * { pointer-events: auto; }
.masthead-inner {
  max-width: none;
  margin: 0 max(var(--gutter), calc((100% - var(--shell)) / 2));
  padding: 0 clamp(14px, 1.3vw, 24px);
  height: clamp(60px, 4.2vw, 76px);
  border-radius: 22px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
          backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 10px 40px -20px rgba(0, 0, 0, .35);
  transition: height .45s var(--ease-out), box-shadow .45s ease, background .45s ease, border-radius .45s var(--ease-out);
  view-transition-name: fx-masthead;
}
.masthead.is-scrolled { padding-top: 8px; }
.masthead.is-scrolled .masthead-inner {
  height: clamp(54px, 3.6vw, 64px);
  background: var(--glass-strong);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 18px 50px -18px rgba(0, 0, 0, .55), 0 0 0 1px rgba(95, 199, 209, .08);
}
/* Over the night header in the light theme the frost has to be whiter,
   or it reads as grey. */
:root:not([data-theme="dark"]) .masthead-inner { background: rgba(255, 255, 255, .84); }
:root:not([data-theme="dark"]) .masthead.is-scrolled .masthead-inner { background: rgba(255, 255, 255, .93); }
/* The light mark reads poorly on frosted white; the logo image is
   untouched, only the type beside it. */
.brand-name .brand-main { font-weight: 700; letter-spacing: -0.03em; }
.brand-name .brand-sub { font-family: var(--font-body); font-weight: 600; letter-spacing: .22em; }
.masthead .brand img { transition: transform .8s var(--ease-spring); }
.masthead .brand:hover img { transform: rotate(-14deg) scale(1.08); }

.mainnav { gap: 2px; padding: 4px; border-radius: 14px; }
.mainnav a {
  border-radius: 11px;
  font-weight: 500;
  color: var(--slate);
  transition: color .25s ease, background .25s ease;
}
.mainnav a:hover { background: var(--moon-soft); color: var(--ink); }
.mainnav a.active { color: var(--ink); background: var(--moon-soft); }
.mainnav a.active::after {
  left: 50%; right: auto; bottom: -1px;
  width: 18px; height: 3px; margin-left: -9px;
  background: var(--sun-grad);
  box-shadow: 0 0 12px 1px rgba(227, 185, 114, .8);
}

.search input, .search input[type=search] {
  background: var(--teal-050);
  border-color: var(--glass-line);
  transition: border-color .25s ease, box-shadow .3s ease, background .25s ease;
}
.search input:focus, .search input[type=search]:focus {
  background: var(--glass-strong);
  border-color: rgba(95, 199, 209, .55);
  box-shadow: var(--ring), 0 0 30px -6px rgba(95, 199, 209, .45);
}

.icon-btn {
  border-radius: 13px;
  border-color: var(--glass-line);
  background: var(--teal-050);
  color: var(--ink-soft);
  transition: border-color .25s ease, color .25s ease, background .25s ease, transform .35s var(--ease-spring), box-shadow .3s ease;
}
.icon-btn:hover {
  border-color: rgba(95, 199, 209, .5);
  color: var(--ink);
  background: var(--moon-soft);
  box-shadow: 0 0 22px -6px rgba(95, 199, 209, .6);
  transform: translateY(-1px);
}
.icon-btn:active { transform: scale(.94); }
.icon-btn .dot {
  background: var(--sun-grad);
  border-color: var(--paper);
  box-shadow: 0 0 12px rgba(227, 185, 114, .8);
  animation: fx-pop .5s var(--ease-spring);
}
@keyframes fx-pop { from { transform: scale(0); } }

.announcement-bar {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #06171D, #0E2E37 50%, #06171D);
  color: #E9F6F7;
  font-weight: 500;
  letter-spacing: .01em;
  border-bottom: 1px solid rgba(95, 199, 209, .18);
}
.announcement-bar::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(243, 214, 156, .22) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: fx-sweep 3.6s ease-in-out 1.2s 1 both;
  pointer-events: none;
}
@keyframes fx-sweep {
  0%, 35% { transform: translateX(-100%); }
  70%, 100% { transform: translateX(100%); }
}

/* The account menu drops open with a little spring. */
.acct-menu {
  background: var(--glass-strong);
  border-color: var(--glass-line);
  -webkit-backdrop-filter: saturate(1.6) blur(24px);
          backdrop-filter: saturate(1.6) blur(24px);
  border-radius: 18px;
  transform-origin: top right;
  animation: fx-drop .38s var(--ease-out);
}
.acct-menu a { border-radius: 12px; transition: background .2s ease, transform .25s var(--ease-out); }
.acct-menu a:hover { background: var(--moon-soft); transform: translateX(3px); }
@keyframes fx-drop {
  from { opacity: 0; transform: translateY(-8px) scale(.96); }
}

@media (max-width: 900px) {
  .masthead-inner { height: 60px; border-radius: 18px; }
  .masthead.is-scrolled .masthead-inner { height: 56px; }
  .mainnav {
    top: calc(100% + 8px);
    left: var(--gutter); right: var(--gutter);
    padding: 10px;
    border-radius: 18px;
    background: var(--glass-strong);
    border: 1px solid var(--glass-line);
    -webkit-backdrop-filter: saturate(1.6) blur(24px);
            backdrop-filter: saturate(1.6) blur(24px);
    box-shadow: var(--shadow-lg);
  }
  .masthead.open .mainnav { animation: fx-drop .4s var(--ease-out); }
  .masthead.open .mainnav a { animation: fx-rise-sm .5s var(--ease-out) both; }
  .masthead.open .mainnav a:nth-child(2) { animation-delay: .04s; }
  .masthead.open .mainnav a:nth-child(3) { animation-delay: .08s; }
  .masthead.open .mainnav a:nth-child(4) { animation-delay: .12s; }
  .masthead.open .mainnav a:nth-child(5) { animation-delay: .16s; }
  .mainnav a.active::after { left: 14px; margin-left: 0; bottom: 6px; }
}
@media (max-width: 560px) {
  .masthead { padding-top: 8px; }
  .masthead-inner { margin: 0 10px; padding: 0 10px 0 14px; }
}
@keyframes fx-rise-sm {
  from { opacity: 0; transform: translateY(8px); }
}

/* ---------------------------------------------------------------------
   Buttons
   Gold, round, and they catch the light: a sheen crosses on hover, the
   button lifts, and a press pushes it back in.
   --------------------------------------------------------------------- */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 999px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .01em;
  border: 0;
  background: var(--sun-grad);
  color: var(--fill-fg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(120, 70, 10, .25), var(--sun-glow);
  transform: translate(var(--tx, 0), var(--ty, 0));
  transition: transform .45s var(--ease-spring), box-shadow .35s ease, filter .3s ease, background .3s ease, color .3s ease;
}
.btn::after {
  content: '';
  position: absolute; top: 0; bottom: 0; left: -60%;
  width: 50%;
  z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg) translateX(0);
  transition: transform .8s var(--ease-out);
  pointer-events: none;
}
.btn:hover {
  background: var(--sun-grad);
  color: var(--fill-fg);
  transform: translate(var(--tx, 0), calc(var(--ty, 0px) - 2px));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -1px 0 rgba(120, 70, 10, .25), 0 18px 40px -12px rgba(227, 185, 114, .9), 0 0 0 4px rgba(227, 185, 114, .14);
  filter: saturate(1.08) brightness(1.04);
}
.btn:hover::after { transform: skewX(-20deg) translateX(420%); }
.btn:active { transform: translate(var(--tx, 0), var(--ty, 0)) scale(.96); transition-duration: .12s; }
.btn:disabled { filter: grayscale(.6); opacity: .5; transform: none; box-shadow: none; }
.btn svg { transition: transform .4s var(--ease-spring); }
.btn:hover svg { transform: translateX(3px); }
.btn-lg { border-radius: 999px; padding: clamp(14px, 1vw, 20px) clamp(24px, 2vw, 40px); }
.btn-sm { border-radius: 999px; padding: 8px 14px; }

.btn-ghost {
  background: var(--teal-050);
  color: var(--ink-soft);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn-ghost:hover {
  background: var(--moon-soft);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(95, 199, 209, .55), 0 12px 30px -14px rgba(95, 199, 209, .7);
  filter: none;
}
.btn-ghost::after, .btn-ghost-light::after { background: linear-gradient(100deg, transparent, rgba(160, 230, 238, .22), transparent); }

.btn-ghost-light {
  background: rgba(255, 255, 255, .06);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, .10);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 12px 34px -12px rgba(95, 199, 209, .7);
  filter: none;
}
.btn-light { background: #fff; color: #0C1113; box-shadow: 0 14px 34px -14px rgba(255, 255, 255, .5); }
.btn-light:hover { background: var(--sun-grad); color: #1A1207; }
.btn-danger { background: var(--heat-grad); color: #fff; box-shadow: 0 12px 30px -14px rgba(208, 74, 72, .8); }
.btn-danger:hover { background: var(--heat-grad); color: #fff; box-shadow: 0 16px 36px -12px rgba(208, 74, 72, .95); }

.add-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--sun-grad);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 8px 22px -8px rgba(227, 185, 114, .9);
  transition: transform .45s var(--ease-spring), box-shadow .3s ease;
}
.add-btn:hover {
  background: var(--sun-grad);
  transform: rotate(90deg) scale(1.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 0 0 5px rgba(227, 185, 114, .16), 0 10px 26px -6px rgba(227, 185, 114, 1);
}
.add-btn:active { transform: rotate(90deg) scale(.9); }
.add-btn:disabled { background: var(--line); box-shadow: none; transform: none; }

/* ---------------------------------------------------------------------
   Product cards
   Glass sleeves. On hover the card rises toward you and tilts after the
   pointer (fx.js), the art drifts closer, and the edge catches light.
   --------------------------------------------------------------------- */
.product {
  background: var(--glass-card);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-lg);
  padding: 10px 10px 16px;
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 10px 30px -22px rgba(0, 0, 0, .5);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transition: transform .6s var(--ease-out), box-shadow .5s ease, border-color .4s ease;
}
.product:hover {
  --lift: -6px;
  border-color: rgba(95, 199, 209, .3);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 30px 60px -28px rgba(0, 0, 0, .7), 0 0 50px -20px rgba(95, 199, 209, .45);
}
.product-media {
  border-radius: 16px;
  background: linear-gradient(145deg, var(--teal-100), var(--teal-050));
  margin-bottom: 14px;
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .6);
}
.product-media img:not(.placeholder) {
  transition: transform 1.1s var(--ease-out), filter .6s ease;
}
.product:hover .product-media img:not(.placeholder) { transform: scale(1.07); filter: saturate(1.12); }
/* A sheet of light passing over the sleeve. */
.product-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 1.1s var(--ease-out);
  pointer-events: none;
}
.product:hover .product-media::after { transform: translateX(120%); }
.product-media .placeholder { opacity: .35; filter: drop-shadow(0 0 20px rgba(95, 199, 209, .4)); }

.product-artist { color: var(--teal-600); font-weight: 600; letter-spacing: .01em; padding: 0 4px; }
.product-name { font-weight: 700; letter-spacing: -0.01em; font-size: 1rem; padding: 0 4px; }
.product-cat { padding: 0 4px; }
.product-foot { padding: 12px 4px 0; }
/* Syne's figures are drawn for posters; money and counts read better
   in the text face, set heavy and evenly spaced. */
.price, .cart-price, .total-row.grand, .fleeca-amount, .artist-stats dd, .facet-opt .n {
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
}
.price { font-weight: 700; font-size: 1.12rem; letter-spacing: -0.01em; }
.saving { padding: 0 4px; }

.product-badge, .cond {
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: 700;
  letter-spacing: .01em;
}
.product-badge { background: rgba(5, 18, 23, .72); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.product-badge.teal { background: var(--moon-grad); color: #04161B; box-shadow: 0 0 16px -2px rgba(95, 199, 209, .7); }
.product-badge.out { background: var(--heat-grad); color: #fff; box-shadow: 0 0 16px -2px rgba(208, 74, 72, .7); }
.product-badge.limited {
  background: rgba(30, 20, 6, .72); color: #F3D69C;
  box-shadow: inset 0 0 0 1px rgba(243, 214, 156, .55), 0 0 16px -4px rgba(227, 185, 114, .8);
}
.product-badge.pick { background: var(--sun-grad); color: #1B1204; box-shadow: 0 0 16px -2px rgba(227, 185, 114, .75); }
.product-tags { top: 18px; left: 18px; right: 18px; }
.cond-new     { background: rgba(5, 18, 23, .7); color: #A9E6EC; box-shadow: inset 0 0 0 1px rgba(95, 199, 209, .45); }
.cond-good    { background: rgba(5, 18, 23, .7); color: #8FE3C4; box-shadow: inset 0 0 0 1px rgba(116, 211, 178, .45); }
.cond-used    { background: rgba(5, 18, 23, .7); color: #CDEFF2; border: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.cond-fair    { background: rgba(5, 18, 23, .7); color: #F3D69C; box-shadow: inset 0 0 0 1px rgba(243, 214, 156, .45); }
.cond-bstock  { background: rgba(5, 18, 23, .78); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.cond-vintage { background: rgba(30, 20, 6, .72); color: #F3D69C; border: 0; box-shadow: inset 0 0 0 1px #E3B972; }
/* Outside a photograph (the listing's detail line) the chips sit on the
   page, so they take the page's tints instead. */
:root:not([data-theme="dark"]) .detail-grade .cond-new { background: var(--teal-100); color: var(--teal-800); }

.preview-chip {
  width: 40px; height: 40px;
  background: rgba(5, 18, 23, .78);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 8px 20px -8px rgba(0, 0, 0, .8);
  transition: transform .45s var(--ease-spring), box-shadow .3s ease, background .3s ease;
}
.product:hover .preview-chip { transform: scale(1.06); }
.preview-chip:hover { transform: scale(1.14) !important; box-shadow: 0 0 0 6px rgba(95, 199, 209, .18), 0 0 24px rgba(95, 199, 209, .6); }
.preview-chip[data-state="playing"] { background: var(--sun-grad); animation: fx-pulse-ring 1.6s ease-out infinite; }
@keyframes fx-pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(227, 185, 114, .6), 0 0 22px rgba(227, 185, 114, .7); }
  100% { box-shadow: 0 0 0 14px rgba(227, 185, 114, 0), 0 0 22px rgba(227, 185, 114, .7); }
}
.preview-chip[data-state="playing"]::before { background: conic-gradient(#fff var(--played, 0%), transparent 0); }
.preview-btn { border-color: rgba(95, 199, 209, .4); background: var(--teal-050); transition: all .3s ease; }
.preview-btn:hover { background: var(--moon-soft); box-shadow: 0 0 22px -6px rgba(95, 199, 209, .7); }
.preview-btn[data-state="playing"] { background: var(--sun-grad); box-shadow: var(--sun-glow); }
.preview-box { background: var(--glass); border-color: var(--glass-line); border-radius: 18px; }
.preview-bar { background: var(--teal-100); }
.preview-bar span, .preview-eq i { background: var(--sun-grad); box-shadow: 0 0 10px rgba(227, 185, 114, .7); }

/* ---------------------------------------------------------------------
   Bands
   In the dark theme the bands are part of the sky rather than slabs on
   it; in the light theme they are night, so the page still has rhythm.
   --------------------------------------------------------------------- */
.hero-band, .page-band, .band-dark, .strip-band, .foot {
  background: linear-gradient(180deg, var(--night), var(--night-2));
}
:root[data-theme="dark"] .hero-band,
:root[data-theme="dark"] .page-band,
:root[data-theme="dark"] .band-dark,
:root[data-theme="dark"] .strip-band { background: transparent; }

/* ---- The hero ---------------------------------------------------- */
.hero-band { padding-block: clamp(70px, 8vw, 170px) clamp(60px, 7vw, 150px); isolation: isolate; }
:root { --fx-mh: calc(clamp(60px, 4.2vw, 76px) + 14px); }
@media (max-width: 560px) { :root { --fx-mh: 70px; } }
/* The first band slides up under the floating bar, so the glass has
   something to frost. */
.page-flow > .band:first-child, .hero-band.band-flush { margin-top: calc(var(--fx-mh) * -1); }
.hero-band.band-flush { padding-top: calc(var(--fx-mh) + clamp(60px, 7vw, 150px)); }
.page-flow > .page-band:first-child { padding-top: calc(var(--fx-mh) + clamp(40px, 4.4vw, 96px)); }
.hero-band::before {
  z-index: -1;
  inset: -25%;
  background:
    radial-gradient(60vw 44vw at 82% 30%, rgba(64, 190, 205, .26), transparent 62%),
    radial-gradient(40vw 34vw at 6% 100%, rgba(84, 120, 200, .22), transparent 66%),
    radial-gradient(34vw 26vw at 70% 100%, rgba(208, 74, 72, .14), transparent 66%);
}
/* The horizon: a faint line of gold where the band meets the page. */
.hero-band::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(243, 214, 156, .5), rgba(95, 199, 209, .4), transparent);
}
.hero-copy .display {
  font-size: clamp(2.3rem, 4.3vw + .4rem, 6.6rem);
  max-width: 14ch;
  text-shadow: 0 0 80px rgba(95, 199, 209, .25);
}
.hero-copy .display em, .hero-copy .display .alt { text-shadow: none; filter: drop-shadow(0 0 28px rgba(227, 185, 114, .35)); }
.hero-copy .lede { color: rgba(230, 244, 246, .8); font-size: var(--step-1); }
.hero-grid.hero-solo .hero-copy { max-width: min(100%, 58%); }

/* The opening: kicker, title, words, buttons, one after another. */
.hero-copy > * { animation: fx-hero-in 1.1s var(--ease-out) both; }
.hero-copy > :nth-child(1) { animation-delay: .05s; }
.hero-copy > :nth-child(2) { animation-delay: .16s; }
.hero-copy > :nth-child(3) { animation-delay: .34s; }
.hero-copy > :nth-child(4) { animation-delay: .48s; }
@keyframes fx-hero-in {
  from { opacity: 0; transform: translateY(34px); }
  to   { opacity: 1; transform: none; }
}

/* ---- The record ----------------------------------------------------
   The faint logo that used to sit in the corner is now a whole record:
   grooves, a sheen that stays still while the vinyl turns under it,
   and the shop's mark on the label. A gold corona sits behind it, the
   sun coming out from behind the moon. */
.hero-mark {
  right: clamp(-160px, -6vw, -30px);
  top: 50%; bottom: auto;
  width: clamp(300px, 40vw, 780px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: none;
  opacity: 1;
  z-index: -1;
  translate: 0 -50%;
  background:
    url('../assets/logo-mark-dark.png') no-repeat center / 15%,
    radial-gradient(circle, #0E3A44 0 16.5%, #F3D69C 16.6% 17.1%, #0A1013 17.3% 18.5%, transparent 18.6%),
    repeating-radial-gradient(circle, #0B0F12 0 2px, #151B1F 2.5px 3.5px, #0B0F12 4px),
    #0B0F12;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .06),
    0 0 90px 10px rgba(227, 185, 114, .22),
    0 0 220px 40px rgba(64, 190, 205, .16),
    inset 0 0 60px rgba(0, 0, 0, .9);
  box-shadow:
    0 0 0 1px rgba(243, 214, 156, .3),
    0 0 50px 4px rgba(246, 223, 174, .42),
    0 0 150px 26px rgba(227, 185, 114, .26),
    0 0 300px 70px rgba(64, 190, 205, .16),
    inset 0 0 60px rgba(0, 0, 0, .9);
  /* Its own layer, so turning it is the graphics card rotating a
     finished picture rather than the page re-drawing the grooves. */
  will-change: rotate;
  animation: fx-spin 16s linear infinite, fx-record-in 1.2s var(--ease-out) both;
}
/* The light on the grooves: a counter-rotating cone, so the shine stays
   put while the record turns. */
.hero-mark::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  pointer-events: none;
}
.hero-mark::before {
  background: conic-gradient(from 20deg, transparent 0 8%, rgba(255, 255, 255, .16) 12%, transparent 18% 50%, rgba(160, 230, 238, .12) 58%, transparent 66%);
  -webkit-mask: radial-gradient(circle, transparent 18.5%, #000 19%);
          mask: radial-gradient(circle, transparent 18.5%, #000 19%);
  will-change: rotate;
  animation: fx-spin 16s linear infinite reverse;
}
@keyframes fx-spin { to { rotate: 360deg; } }
@keyframes fx-record-in {
  from { opacity: 0; scale: .85; }
  to   { opacity: 1; scale: 1; }
}
/* app.css makes every child of a band relative; the record must not be. */
.hero-band > .hero-mark, .page-band > .hero-mark { position: absolute; display: block; }
/* On an inner page the record is smaller and further off the edge. */
.page-band .hero-mark::before { animation: none; will-change: auto; }
.page-band .hero-mark {
  width: clamp(240px, 26vw, 500px);
  right: clamp(-200px, -7vw, -60px);
  bottom: auto;
  opacity: .9;
  /* Only the home page's record turns; on inner pages it rests. */
  animation: fx-record-in 1.2s var(--ease-out) both;
  will-change: auto;
}
.page-band { padding-block: clamp(46px, 5vw, 110px); isolation: isolate; }
.page-band::before {
  z-index: -1;
  background:
    radial-gradient(50vw 30vw at 86% 10%, rgba(64, 190, 205, .22), transparent 62%),
    radial-gradient(40vw 30vw at 0% 110%, rgba(84, 120, 200, .2), transparent 66%);
}
.page-band::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(243, 214, 156, .4), rgba(95, 199, 209, .3), transparent);
}
.page-band .band-wrap > * { animation: fx-hero-in 1s var(--ease-out) both; }
.page-band .band-wrap > :nth-child(2) { animation-delay: .1s; }
.page-band .band-wrap > :nth-child(3) { animation-delay: .22s; }
.page-band .display { font-size: clamp(2.1rem, 3.4vw + .6rem, 5rem); }

/* With a picture: the frame floats and catches a ring of light. */
.hero-frame {
  border-radius: 26px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .1), 0 0 80px -20px rgba(64, 190, 205, .5);
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .8s var(--ease-out);
  animation: fx-hero-in 1.3s .3s var(--ease-out) both;
}
.hero-frame img { animation: fx-float-img 12s ease-in-out infinite alternate; }
@keyframes fx-float-img { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1%, -1%); } }

@media (max-width: 1000px) {
  .hero-grid.hero-solo .hero-copy { max-width: 100%; }
  .hero-mark { width: 78vw; right: -34vw; opacity: .55; }
  .page-band .hero-mark { width: 52vw; right: -24vw; opacity: .5; }
}
@media (max-width: 560px) {
  .hero-mark { width: 92vw; right: -46vw; top: 34%; opacity: .45; }
  .hero-copy .display { font-size: clamp(2.5rem, 12vw, 3.6rem); }
}

/* ---- The strip of promises ------------------------------------------ */
.strip-band { position: relative; padding-block: clamp(26px, 2.4vw, 44px); }
.strip-band::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(95, 199, 209, .3), transparent);
}
.strip-item { border-left-color: rgba(255, 255, 255, .08); }
.strip-mark {
  position: relative;
  width: clamp(44px, 3vw, 56px);
  background: radial-gradient(circle at 30% 25%, rgba(243, 214, 156, .25), rgba(255, 255, 255, .03) 70%);
  border-color: rgba(243, 214, 156, .3);
  box-shadow: 0 0 24px -6px rgba(227, 185, 114, .5);
  transition: transform .6s var(--ease-spring), box-shadow .4s ease;
}
.strip-item:nth-child(3n+2) .strip-mark { background: radial-gradient(circle at 30% 25%, rgba(143, 225, 232, .25), rgba(255, 255, 255, .03) 70%); border-color: rgba(143, 225, 232, .3); box-shadow: 0 0 24px -6px rgba(95, 199, 209, .6); color: #A9E6EC; }
.strip-item:nth-child(3n+3) .strip-mark { background: radial-gradient(circle at 30% 25%, rgba(240, 122, 111, .25), rgba(255, 255, 255, .03) 70%); border-color: rgba(240, 122, 111, .3); box-shadow: 0 0 24px -6px rgba(208, 74, 72, .6); color: #F7A79E; }
.strip-item:hover .strip-mark { transform: rotate(-12deg) scale(1.12); }
.strip-words strong { font-family: var(--font-display); letter-spacing: -0.01em; }
.strip-words span { color: rgba(220, 238, 241, .6); }

/* ---- Light-theme sections between the bands -------------------------- */
.page-flow > .page { position: relative; }

/* ---- The artists band ------------------------------------------------ */
.band-dark { position: relative; }
.band-dark::before, .band-dark::after {
  content: '';
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(95, 199, 209, .3), transparent);
}
.band-dark::before { top: 0; } .band-dark::after { bottom: 0; }
:root[data-theme="dark"] .band-dark {
  background: radial-gradient(70vw 40vw at 20% 50%, rgba(64, 190, 205, .08), transparent 70%);
}
.artist-rail { padding: 14px 4px 18px; margin: -14px -4px -18px; gap: clamp(14px, 1.2vw, 24px); }

.artist-card {
  background: var(--glass-card);
  border: 1px solid var(--glass-line);
  border-radius: 22px;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transition: transform .6s var(--ease-out), box-shadow .5s ease, border-color .4s ease;
}
.on-dark .artist-card, .band-dark .artist-card {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .09);
}
.on-dark .artist-words strong, .band-dark .artist-words strong { color: #fff; }
.on-dark .artist-words span, .band-dark .artist-words span { color: rgba(220, 238, 241, .6); }
.artist-card:hover {
  --lift: -6px;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  border-color: rgba(95, 199, 209, .35);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .8), 0 0 46px -18px rgba(95, 199, 209, .55);
}
.artist-art { position: relative; overflow: hidden; background: linear-gradient(145deg, var(--teal-100), var(--teal-050)); }
.artist-art img:not(.placeholder) { transition: transform 1.1s var(--ease-out), filter .6s ease; }
.artist-card:hover .artist-art img:not(.placeholder) { transform: scale(1.08); filter: saturate(1.15); }
.artist-art::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5, 18, 23, .55), transparent 55%);
  opacity: .6;
  transition: opacity .5s ease;
  pointer-events: none;
}
.artist-card:hover .artist-art::after { opacity: 1; }
.artist-words strong { font-weight: 700; }

/* ---- The red band ---------------------------------------------------- */
.band-red {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(60vw 40vw at 85% 0%, rgba(255, 150, 120, .28), transparent 60%),
    radial-gradient(50vw 40vw at 0% 100%, rgba(30, 5, 10, .6), transparent 70%),
    linear-gradient(115deg, #3A0E12, #8E2A2A 50%, #5A1418);
}
.band-red::before {
  content: '';
  position: absolute; inset: -50%;
  z-index: -1;
  background: conic-gradient(from 0deg at 70% 40%, transparent, rgba(255, 190, 150, .12), transparent 30%, rgba(255, 120, 100, .10), transparent 60%);
  pointer-events: none;
}
.shout-side { border-left-color: rgba(255, 255, 255, .16); }
.shout-note {
  background: rgba(20, 2, 6, .32);
  border-color: rgba(255, 255, 255, .12);
  border-radius: 18px;
  transition: transform .5s var(--ease-out), border-color .3s ease, background .3s ease;
}
a.shout-note:hover { transform: translateY(-4px); background: rgba(20, 2, 6, .42); border-color: rgba(255, 200, 180, .4); }
.shout-kicker { color: #FFD9CF; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 220, 210, .3); }
.shout-note .advert-kind { letter-spacing: .06em; }

/* ---- The artists' pitch ---------------------------------------------- */
.band-teal { background: transparent; }
.promo-panel {
  position: relative;
  isolation: isolate;
  border-radius: 34px;
  padding: clamp(30px, 3.4vw, 64px);
  background:
    radial-gradient(50vw 30vw at 100% 0%, rgba(243, 214, 156, .2), transparent 60%),
    radial-gradient(40vw 30vw at 0% 100%, rgba(84, 120, 200, .35), transparent 65%),
    linear-gradient(135deg, #0A2A33, #11505B 55%, #0C3540);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 0 1px rgba(143, 225, 232, .14);
  overflow: hidden;
}
.promo-panel::before {
  content: '';
  position: absolute; inset: -40%;
  z-index: -1;
  background: conic-gradient(from 90deg, transparent, rgba(143, 225, 232, .14), transparent 25%, rgba(243, 214, 156, .12), transparent 55%);
  pointer-events: none;
}
.promo-panel::after { opacity: .08; }
.pitch-list li {
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  transition: transform .45s var(--ease-out), background .3s ease;
}
.pitch-list li:hover { transform: translateX(6px); background: rgba(255, 255, 255, .09); }
.pitch-list svg { color: #F3D69C; filter: drop-shadow(0 0 8px rgba(227, 185, 114, .7)); }

/* ---- Category tiles -------------------------------------------------- */
.cat-tile, .cat-chip {
  background: var(--glass-card);
  border: 1px solid var(--glass-line);
  border-radius: 20px;
  transition: transform .5s var(--ease-out), border-color .3s ease, box-shadow .4s ease;
}
.cat-tile:hover, .cat-chip:hover {
  transform: translateY(-4px);
  border-color: rgba(95, 199, 209, .3);
  box-shadow: 0 24px 50px -26px rgba(0, 0, 0, .6), 0 0 40px -18px rgba(95, 199, 209, .5);
}
.cat-tile-mark, .cat-chip-mark {
  border-radius: 16px;
  background: radial-gradient(circle at 30% 25%, rgba(143, 225, 232, .3), var(--teal-050) 70%);
  color: var(--teal-600);
  box-shadow: inset 0 0 0 1px rgba(95, 199, 209, .25);
  transition: transform .6s var(--ease-spring);
}
.cat-tile:nth-child(3n+2) .cat-tile-mark { background: radial-gradient(circle at 30% 25%, rgba(125, 179, 224, .3), var(--blue-050) 70%); box-shadow: inset 0 0 0 1px rgba(125, 179, 224, .25); }
.cat-tile:nth-child(3n+3) .cat-tile-mark { background: radial-gradient(circle at 30% 25%, rgba(243, 214, 156, .32), var(--sand-050) 70%); box-shadow: inset 0 0 0 1px rgba(227, 185, 114, .3); }
.cat-tile:hover .cat-tile-mark, .cat-chip:hover .cat-chip-mark { transform: rotate(-10deg) scale(1.1); }
.cat-tile-words strong { font-weight: 700; }
.cat-tile:hover .cat-tile-go { color: #E3B972; transform: translateX(5px); }

/* ---- Section heads --------------------------------------------------- */
.section-head a, .crumbs a {
  position: relative;
  transition: color .25s ease;
}
.section-head a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: currentColor;
  transform: scaleX(.3); transform-origin: left;
  opacity: .5;
  transition: transform .45s var(--ease-out), opacity .3s ease;
}
.section-head a:hover::after { transform: scaleX(1); opacity: 1; }

/* ---------------------------------------------------------------------
   The shop floor
   --------------------------------------------------------------------- */
.facets {
  border-radius: 22px;
  top: calc(clamp(60px, 4.2vw, 76px) + 28px);
}
.facet-opt { border-radius: 8px; transition: color .2s ease, transform .3s var(--ease-out); }
.facet-opt:not(.is-empty):hover { color: var(--ink); transform: translateX(3px); }
.facet-opt input[type="checkbox"], .facet-opt input[type="radio"] {
  border-color: rgba(95, 199, 209, .45);
  background: transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .3s ease, transform .4s var(--ease-spring);
}
.facet-opt input:checked {
  background: var(--sun-grad);
  border-color: transparent;
  box-shadow: 0 0 12px rgba(227, 185, 114, .7);
  transform: scale(1.08);
}
.facet-n { background: var(--sun-grad); box-shadow: 0 0 10px rgba(227, 185, 114, .6); }
.facet > h4 { letter-spacing: .06em; }
.chip {
  background: var(--moon-soft);
  border-color: rgba(95, 199, 209, .35);
  color: var(--teal-700);
  animation: fx-pop .45s var(--ease-spring);
}
.chip button { transition: transform .3s var(--ease-spring), opacity .2s ease; }
.chip button:hover { transform: rotate(90deg); }

/* ---------------------------------------------------------------------
   Forms
   --------------------------------------------------------------------- */
input[type=text], input[type=email], input[type=tel], input[type=url],
input[type=number], input[type=password], input[type=search], select, textarea {
  background-color: var(--teal-050);
  border-color: var(--line);
  border-radius: 13px;
  transition: border-color .25s ease, box-shadow .3s ease, background-color .25s ease;
}
input:hover, select:hover, textarea:hover { border-color: rgba(95, 199, 209, .35); }
input:focus, select:focus, textarea:focus {
  border-color: rgba(95, 199, 209, .7);
  background-color: var(--glass-strong);
  box-shadow: var(--ring), 0 0 28px -8px rgba(95, 199, 209, .55);
}
:root[data-theme="dark"] select option { background: #0B1D23; }
.radio-card {
  border-color: var(--line);
  border-radius: 16px;
  background: var(--teal-050);
  transition: border-color .25s ease, background .25s ease, transform .4s var(--ease-out), box-shadow .3s ease;
}
.radio-card:hover { transform: translateY(-2px); }
.radio-card:has(input:checked) {
  border-color: rgba(227, 185, 114, .7);
  background: rgba(227, 185, 114, .08);
  box-shadow: 0 0 30px -12px rgba(227, 185, 114, .7);
}
.radio-card input, .check input { accent-color: #E3B972; }

.tabs { border-bottom-color: var(--line); }
.tab { position: relative; transition: color .25s ease; border-bottom: 0; }
.tab::after {
  content: '';
  position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px;
  border-radius: 2px;
  background: var(--sun-grad);
  box-shadow: 0 0 12px rgba(227, 185, 114, .8);
  transform: scaleX(0);
  transition: transform .45s var(--ease-out);
}
.tab.active { color: var(--ink); }
.tab.active::after { transform: scaleX(1); }

.notice { border-radius: 16px; }
.notice-info { background: var(--moon-soft); border-color: rgba(95, 199, 209, .3); color: var(--teal-800); }
.badge { border-radius: 999px; padding: 3px 10px; }

.limited-note {
  border-radius: 14px;
  background: rgba(227, 185, 114, .1);
  box-shadow: inset 0 0 0 1px rgba(227, 185, 114, .35);
}

/* ---------------------------------------------------------------------
   The drawer, the scrim and the modal
   --------------------------------------------------------------------- */
.scrim {
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  transition: opacity .45s ease;
}
.panel {
  top: 10px; right: 10px; bottom: 10px;
  height: auto;
  width: min(400px, calc(100vw - 20px));
  border-radius: 26px;
  background: var(--glass-strong);
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
          backdrop-filter: saturate(1.4) blur(16px);
  box-shadow: var(--shadow-lg), inset 0 1px 0 var(--glass-hi);
  transform: translateX(calc(100% + 24px));
  transition: transform .7s var(--ease-out);
}
.panel.open { transform: none; }
.panel.open > * { animation: fx-rise-sm .6s var(--ease-out) both; }
.panel.open > :nth-child(2) { animation-delay: .08s; }
.panel.open > :nth-child(3) { animation-delay: .16s; }
.panel.open .cart-line { animation: fx-slide-in .6s var(--ease-out) both; }
.panel.open .cart-line:nth-of-type(2) { animation-delay: .22s; }
.panel.open .cart-line:nth-of-type(3) { animation-delay: .28s; }
.panel.open .cart-line:nth-of-type(4) { animation-delay: .34s; }
.panel.open .cart-line:nth-of-type(n+5) { animation-delay: .4s; }
@keyframes fx-slide-in { from { opacity: 0; transform: translateX(24px); } }
.panel-card { border-radius: 20px; box-shadow: none; background: var(--teal-050); }
.account-card {
  border-radius: 20px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(243, 214, 156, .3), transparent 55%),
    linear-gradient(135deg, #0A2A33, #12606B 60%, #1A4E6B);
  background-size: 200% 200%;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .15);
}
.cart-thumb { border-radius: 12px; }
.qty button { border-radius: 9px; transition: all .25s ease; }
.qty button:hover { background: var(--moon-soft); transform: scale(1.1); }
.total-row.grand { font-size: 1.2rem; }

.modal-backdrop {
  background: rgba(2, 10, 13, .55);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  animation: fx-fade .35s ease both;
}
.modal {
  border-radius: 30px;
  background: var(--glass-strong);
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
  box-shadow: var(--shadow-lg), inset 0 1px 0 var(--glass-hi), 0 0 80px -30px rgba(95, 199, 209, .4);
  animation: fx-modal-in .6s var(--ease-out) both;
}
:root:not([data-theme="dark"]) .modal { background: rgba(255, 255, 255, .97); }
:root[data-theme="dark"] .modal { background: rgba(9, 25, 31, .97); }
@keyframes fx-fade { from { opacity: 0; } }
@keyframes fx-modal-in {
  from { opacity: 0; transform: translateY(26px) scale(.95); }
}
.modal-close { border-radius: 50%; transition: transform .45s var(--ease-spring), border-color .25s ease; }
.modal-close:hover { transform: rotate(90deg); }
.detail-media { border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.detail-media img { animation: fx-detail-img 1s var(--ease-out) both; }
@keyframes fx-detail-img { from { transform: scale(1.08); opacity: .4; } }

/* Toasts glide in from the side. */
.toast {
  border-radius: 16px;
  background: rgba(8, 26, 32, .96);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .1);
  animation: fx-toast .6s var(--ease-spring) both;
}
.toast.good { background: linear-gradient(135deg, #1F6B58, #155446); }
.toast.bad  { background: var(--heat-grad); }
.toast.warn { background: linear-gradient(135deg, #85632B, #6A4C1E); }
@keyframes fx-toast { from { opacity: 0; transform: translateX(40px) scale(.9); } }

.fleeca-head { background: linear-gradient(135deg, #06171D, #0E2E37); }
.fleeca-amount { font-weight: 700; letter-spacing: -0.02em; }

/* ---------------------------------------------------------------------
   Artist page header
   --------------------------------------------------------------------- */
.artist-head {
  border-radius: 30px;
  background: linear-gradient(135deg, var(--night), var(--night-2));
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(143, 225, 232, .12);
  animation: fx-hero-in 1s var(--ease-out) both;
}
.artist-portrait {
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(5, 18, 23, .9), 0 0 0 4px rgba(243, 214, 156, .6), 0 0 60px -10px rgba(227, 185, 114, .5);
}
.artist-stats div { border-radius: 18px; }
.artist-stats dd { font-weight: 700; }
.artist-link { transition: background .3s ease, box-shadow .3s ease, transform .4s var(--ease-spring), color .3s ease; }
.artist-link:hover { background: var(--sun-grad); transform: translateY(-2px); }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.foot { position: relative; overflow: hidden; isolation: isolate; }
:root[data-theme="dark"] .foot { background: linear-gradient(180deg, transparent, rgba(2, 8, 11, .9) 40%); }
.foot::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(243, 214, 156, .45), rgba(95, 199, 209, .4), transparent);
}
.foot::after {
  content: '';
  position: absolute; left: 50%; bottom: -60vw;
  width: 120vw; height: 80vw;
  margin-left: -60vw;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(64, 190, 205, .16), transparent);
  pointer-events: none;
}
.foot-cols { padding-top: clamp(44px, 4vw, 80px); }
.foot a { position: relative; transition: color .25s ease; }
.foot-col li a:hover { color: #F3D69C; }
.foot-col h4 { letter-spacing: .1em; color: rgba(255, 255, 255, .45); }

/* ---------------------------------------------------------------------
   Skeletons and the progress line
   --------------------------------------------------------------------- */
.route-progress { height: 3px; }
.route-progress span { background: linear-gradient(90deg, #4FB3C0, #F3D69C, #E3B972); box-shadow: 0 0 14px rgba(227, 185, 114, .8), 0 0 4px rgba(95, 199, 209, .8); }
.sk::after { animation-duration: 1.6s; }
.sk-card, .sk-row, .sk-facet, .sk-chip { border-radius: 22px; box-shadow: none; }

/* ---------------------------------------------------------------------
   Reveal on scroll (fx.js marks elements; the CSS does the moving)
   --------------------------------------------------------------------- */
.fx-on [data-fx=""] { opacity: 0; }
.fx-on [data-fx="in"] {
  animation: fx-reveal .65s var(--ease-out) both;
  animation-delay: calc(var(--fx-i, 0) * 55ms);
}
@keyframes fx-reveal {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------------
   Between pages, and between themes
   --------------------------------------------------------------------- */
::view-transition-old(root) { animation: fx-vt-out .32s var(--ease-out) both; }
::view-transition-new(root) { animation: fx-vt-in .5s var(--ease-out) both; }
@keyframes fx-vt-out { to { opacity: 0; } }
@keyframes fx-vt-in  { from { opacity: 0; transform: translateY(10px); } }
::view-transition-group(fx-masthead) { animation-duration: .4s; }

/* The theme switch opens the new sky as a circle from the button.
   fx.js drives the clip itself; these only stop the default fades and
   keep the bar inside the circle with everything else. */
html.fx-theme-vt .masthead-inner { view-transition-name: none; }
html.fx-theme-vt::view-transition-old(root),
html.fx-theme-vt::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html.fx-theme-vt::view-transition-old(root) { z-index: 1; }
html.fx-theme-vt::view-transition-new(root) { z-index: 2; }
.page-flow, main.page { animation: fx-vt-in .7s var(--ease-out) both; }
.is-entering { animation: fx-enter .6s var(--ease-out) both; }
@keyframes fx-enter { from { opacity: 0; transform: translateY(10px); } }

/* ---------------------------------------------------------------------
   Less motion, when asked
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  body::before, body::after, .hero-band::before, .hero-mark, .hero-mark::before,
  .band-red::before, .promo-panel::before, .promo-panel::after, .announcement-bar::after,
  .display em, .display .alt, .display .alt-blue, .kicker::before, .account-card, .hero-frame img {
    animation: none !important;
  }
  .hero-mark { translate: 0 -50%; }
  .product, .artist-card, .hero-frame { transform: none !important; }
}

@media print {
  body::before, body::after { display: none; }
}

/* ---------------------------------------------------------------------
   The account corner
   --------------------------------------------------------------------- */
.nav-login { height: 40px; padding: 0 16px; }
.nav-artist {
  height: 40px;
  background: rgba(227, 185, 114, .10);
  color: #F3D69C;
  box-shadow: inset 0 0 0 1px rgba(243, 214, 156, .45), 0 0 22px -8px rgba(227, 185, 114, .7);
}
:root:not([data-theme="dark"]) .nav-artist { color: #7A5418; background: rgba(227, 185, 114, .16); }
.nav-artist:hover {
  background: var(--sun-grad);
  color: #1A1207;
  box-shadow: 0 12px 30px -12px rgba(227, 185, 114, .9);
}
.acct-avatar {
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(143, 225, 232, .35), var(--teal-050) 70%);
  border-color: rgba(95, 199, 209, .4);
}
.acct-menu button { border-radius: 12px; transition: background .2s ease, transform .25s var(--ease-out); }
.acct-menu button:hover { background: var(--moon-soft); transform: translateX(3px); }
.acct-head strong { font-family: var(--font-display); }
@media (max-width: 640px) {
  .nav-login, .nav-artist { width: 40px; padding: 0; }
}
:root[data-theme="dark"] .acct-menu { background: rgba(7, 22, 28, .96); }
:root:not([data-theme="dark"]) .acct-menu { background: rgba(255, 255, 255, .97); }

/* ---------------------------------------------------------------------
   Rest when nobody is looking
   The only things that move without being asked are the home record
   and a hero picture's slow drift. fx.js marks the page "still" after
   a few seconds without a mouse, touch, key or scroll, when the hero is
   off screen, when the tab is hidden, and while a popup or the basket
   is open — then nothing on the page asks the browser for a new frame.
   --------------------------------------------------------------------- */
html.fx-still .hero-mark,
html.fx-still .hero-mark::before,
html.fx-still .hero-frame img,
html.fx-still .announcement-bar::after,
html.fx-still .kicker::before,
body.locked .hero-mark,
body.locked .hero-mark::before {
  animation-play-state: paused;
}

/* Home chart rows and the divider, in the same glass as the cards. */
.chart-row, .shelf-divider span {
  background: var(--glass-card);
  border-color: var(--glass-line);
  box-shadow: inset 0 1px 0 var(--glass-hi);
}
.chart-row:hover {
  border-color: rgba(95, 199, 209, .3);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 18px 40px -26px rgba(0, 0, 0, .7), 0 0 40px -22px rgba(95, 199, 209, .45);
}
.chart-thumb { background: linear-gradient(145deg, var(--teal-100), var(--teal-050)); }
.chart-rank {
  background: var(--sun-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.shelf-divider::before, .shelf-divider::after {
  background: linear-gradient(90deg, transparent, rgba(227, 185, 114, .35) 35%, rgba(95, 199, 209, .35) 65%, transparent);
}
