/* =========================================================
   Sabrina Solo — high-desert day & night
   Layout: one long page. Desert hero scene → motel-marquee shows
   → player → store → footer. Day follows Bisbee's real sun; night
   swaps the sun for a striped moon, stars, bats and UFOs.
   ========================================================= */

:root {
  /* palette */
  --sand-50: #FFF6E8;
  --sand-100: #F8E9D2;
  --sand-200: #EED6B3;
  --ink: #2A1810;
  --ink-soft: #5A3E2E;
  --rust: #B83E1A;
  --rust-dark: #8F2E12;
  --orange: #E8762C;
  --mustard: #E8B03A;
  --rose: #E0607A;
  --turq: #1F8A84;
  --turq-light: #5CC2B5;
  --sage: #7D8F55;
  --plum: #4A2A4F;
  --plum-deep: #24142A;
  --neon: #FFE3B3;
  --sign: #2B1418;
  --board: #191314;

  /* semantic: day */
  --bg: var(--sand-100);
  --bg-alt: var(--sand-50);
  --surface: #FFFBF3;
  --text: var(--ink);
  --text-muted: var(--ink-soft);
  --line: rgba(42, 24, 16, .16);
  --accent: var(--rust);
  --accent-hover: var(--rust-dark);
  --on-accent: var(--sand-50);
  --focus: var(--turq);
  --edge: var(--ink);

  /* scene: day */
  --sky-top: #F7C98B;
  --sky-mid: #F4A574;
  --sky-bottom: #F8D9B4;
  --orb-1: #FFD45E;
  --orb-2: #F59A3A;
  --orb-3: #E0607A;
  --orb-glow: rgba(255, 212, 94, .25);
  --crater-opacity: 0;
  --ridge-far: #D9826A;
  --ridge-mid: #B9532F;
  --ridge-near: #7A3420;
  --ground: #4E2416;
  --cactus: #3E5A33;
  --bloom: #E0607A;
  --hero-text: var(--ink);
  --stars: 0;
  --cloud: #FFF3E0;
  --cloud-stripe: #F7C98B;
  --cloud-opacity: .95;

  /* type */
  --font-display: "Shrikhand", "Cooper Black", Georgia, serif;
  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "DM Mono", ui-monospace, "Cascadia Mono", monospace;

  /* space + shape */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --radius-sm: 10px; --radius: 18px; --radius-lg: 28px;
  --shadow: 6px 6px 0 var(--edge);
  --shadow-sm: 4px 4px 0 var(--edge);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --dur-fast: 160ms; --dur: 280ms; --dur-slow: 900ms;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --scene-h: clamp(300px, 50vw, 620px);

  color-scheme: light;
}

:root:is([data-theme="night"], [data-theme="dark"]) {
  --bg: #1E1220;
  --bg-alt: #26172A;
  --surface: #32203A;
  --text: #F8E9D2;
  --text-muted: #DCC3A8;
  --line: rgba(248, 233, 210, .16);
  --accent: #F08A3E;
  --accent-hover: #FFA45B;
  --on-accent: #24142A;
  --focus: var(--turq-light);
  --edge: #0B060C;

  --sky-top: #120B22;
  --sky-mid: #2E1A45;
  --sky-bottom: #6E3358;
  --orb-1: #FFF4DC;
  --orb-2: #E9D6E8;
  --orb-3: #B79BC4;
  --orb-glow: rgba(233, 214, 232, .14);
  --crater-opacity: .22;
  --ridge-far: #4F2A4E;
  --ridge-mid: #34183A;
  --ridge-near: #22102A;
  --ground: #140A16;
  --cactus: #0F0A10;
  --bloom: #7A4A6A;
  --hero-text: var(--sand-50);
  --stars: 1;
  --cloud: #8E6FA0;
  --cloud-stripe: #6E5588;
  --cloud-opacity: .16;

  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.65;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
  transition: background-color var(--dur-slow) ease, color var(--dur-slow) ease;
}
body::before { /* paints the phone's top safe-area band */
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg);
}
body::after { /* film grain */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .08; mix-blend-mode: multiply;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
:root:is([data-theme="night"], [data-theme="dark"]) body::after { mix-blend-mode: screen; opacity: .045; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.container {
  width: 100%; max-width: var(--container); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: var(--sand-50);
  padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 700; transition: top var(--dur-fast) ease;
}
.skip-link:focus { top: 12px; }

.eyebrow { font-family: var(--font-mono); font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.section { padding-block: clamp(72px, 10vw, 120px); position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); display: grid; gap: var(--s-3); }
.section-title { font-family: var(--font-serif); font-weight: 700; font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.02; letter-spacing: -.015em; text-wrap: balance; }
.section-title em { font-style: italic; font-weight: 500; color: var(--accent); }
/* Layered 70s lettering, matching the hero title */
.title-70s {
  display: inline-block; font-family: var(--font-display); font-weight: 400; font-style: normal;
  font-size: 1.08em; letter-spacing: -.01em; color: var(--text); padding-right: .09em;
  text-shadow: .03em .03em 0 var(--mustard), .06em .06em 0 var(--orange), .09em .09em 0 var(--rose);
}
.section-lede { color: var(--text-muted); font-size: 1.125rem; max-width: 58ch; }
.empty-note { color: var(--text-muted); font-size: 1.0625rem; padding: var(--s-5); border: 2px dashed var(--line); border-radius: var(--radius); }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--accent); --btn-fg: var(--on-accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 2px solid var(--edge); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); font-weight: 700; font-size: 1rem; text-decoration: none;
  cursor: pointer; box-shadow: var(--shadow-sm); touch-action: manipulation;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background-color var(--dur-fast) ease;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--edge); background: var(--accent-hover); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--edge); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--text); border-color: currentColor; }
.btn-ghost:hover { background: var(--mustard); color: var(--ink); }
.btn-ig svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.btn-ig svg .fill { fill: currentColor; stroke: none; }
.btn-small { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; transform: none; background: var(--btn-bg); }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading .btn-label::after { content: "…"; }
.btn-add.is-added { --btn-bg: var(--turq); --btn-fg: #FFF6E8; }
.btn-add svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid currentColor; background: transparent; cursor: pointer;
  transition: background-color var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out);
}
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { background: var(--mustard); color: var(--ink); }
.icon-btn:active { transform: scale(.94); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: env(safe-area-inset-top, 0px) 0 auto 0; z-index: 40; height: var(--header-h); color: var(--hero-text);
  transition: background-color var(--dur) ease, box-shadow var(--dur) ease, color var(--dur) ease;
}
.site-header.is-scrolled {
  color: var(--text);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: var(--s-4); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-family: var(--font-display); font-size: 1.55rem; line-height: 1; white-space: nowrap; }
.wordmark-orb { width: 32px; height: 32px; flex-shrink: 0; }
.wordmark-orb circle { fill: var(--orange); transition: fill var(--dur-slow) ease; }
.wordmark-orb rect { fill: var(--sky-top); }
.site-header.is-scrolled .wordmark-orb rect { fill: var(--bg); }
:root:is([data-theme="night"], [data-theme="dark"]) .wordmark-orb circle { fill: var(--orb-2); }
.primary-nav { margin-left: auto; }
.nav-menu { display: flex; gap: 4px; }
.nav-menu a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; text-decoration: none; font-weight: 500; transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease; }
.nav-menu a:hover { background: var(--ink); color: var(--sand-50); }
.nav-menu a[aria-current="true"] { background: var(--mustard); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: var(--s-2); }
/* Day / Nite switch: a sliding thumb sits behind the current mode */
.mode-switch {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; align-items: center;
  min-height: 44px; padding: 3px; border-radius: 999px; cursor: pointer; flex-shrink: 0;
  border: 2px solid var(--ink); background: #FFF6E8; color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink); isolation: isolate; touch-action: manipulation;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background-color var(--dur-slow) ease;
}
.mode-switch:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.mode-switch:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.ms-opt {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  min-height: 34px; padding: 0 12px; border-radius: 999px;
  font-family: var(--font-mono); font-size: .8125rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  transition: color var(--dur) ease, opacity var(--dur) ease;
}
.ms-opt svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ms-nite { opacity: .55; }
.ms-thumb {
  position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px;
  background: var(--mustard); box-shadow: inset 0 0 0 2px var(--ink);
  transition: transform 420ms var(--ease-spring), background-color var(--dur) ease;
}
:root:is([data-theme="night"], [data-theme="dark"]) .mode-switch { background: #2E1A45; color: #F8E9D2; border-color: #0B060C; box-shadow: 3px 3px 0 #0B060C; }
:root:is([data-theme="night"], [data-theme="dark"]) .ms-thumb { transform: translateX(100%); background: #B79BC4; box-shadow: inset 0 0 0 2px #0B060C; }
:root:is([data-theme="night"], [data-theme="dark"]) .ms-day { opacity: .55; }
:root:is([data-theme="night"], [data-theme="dark"]) .ms-nite { opacity: 1; color: #1B1024; }

/* Invitation: a soft breathing glow and a ring that ripples out, until the visitor tries it once */
.mode-switch.is-inviting { animation: ms-breathe 2.4s ease-in-out infinite; }
.mode-switch.is-inviting::after {
  content: ""; position: absolute; inset: -4px; border-radius: 999px; pointer-events: none; z-index: -1;
  border: 2px solid var(--mustard); animation: ms-ripple 2.4s ease-out infinite;
}
.mode-switch.is-inviting .ms-thumb svg, .mode-switch.is-inviting .ms-opt svg { animation: ms-wiggle 2.4s ease-in-out infinite; }
@keyframes ms-breathe {
  0%, 100% { box-shadow: 3px 3px 0 var(--ink), 0 0 0 0 rgba(232, 176, 58, 0); }
  50% { box-shadow: 3px 3px 0 var(--ink), 0 0 18px 4px rgba(232, 176, 58, .75); }
}
@keyframes ms-ripple { 0% { opacity: .9; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.35, 1.6); } }
@keyframes ms-wiggle { 0%, 70%, 100% { transform: rotate(0); } 78% { transform: rotate(-18deg); } 86% { transform: rotate(14deg); } 94% { transform: rotate(-6deg); } }
:root:is([data-theme="night"], [data-theme="dark"]) .mode-switch.is-inviting::after { border-color: #B79BC4; }
:root:is([data-theme="night"], [data-theme="dark"]) .mode-switch.is-inviting { animation-name: ms-breathe-nite; }
@keyframes ms-breathe-nite {
  0%, 100% { box-shadow: 3px 3px 0 #0B060C, 0 0 0 0 rgba(183, 155, 196, 0); }
  50% { box-shadow: 3px 3px 0 #0B060C, 0 0 20px 5px rgba(183, 155, 196, .8); }
}
.motion-off .mode-switch.is-inviting, .motion-off .mode-switch.is-inviting::after, .motion-off .mode-switch.is-inviting svg { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .mode-switch.is-inviting { box-shadow: 3px 3px 0 var(--ink), 0 0 0 3px var(--mustard); }
  .mode-switch.is-inviting::after { display: none; }
}
@media (max-width: 480px) {
  .wordmark span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ms-opt { padding: 0 9px; letter-spacing: .04em; }
}
.bag-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px 0 16px; border-radius: 999px;
  border: 2px solid var(--ink); background: var(--mustard); color: var(--ink); font-weight: 700; cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink); transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.bag-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.bag-btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.bag-count { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: var(--sand-50); font-family: var(--font-mono); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.bag-count.bump { animation: bump 420ms var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.35); } }
.nav-toggle { display: none; }
@media (max-width: 720px) {
  .primary-nav { order: 3; margin-left: 0; }
  .header-actions { margin-left: auto; }
  .nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid currentColor; background: transparent; cursor: pointer; }
  .nav-bars, .nav-bars::before, .nav-bars::after { display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; position: relative; transition: transform var(--dur) var(--ease-out); }
  .nav-bars::before, .nav-bars::after { content: ""; position: absolute; left: 0; }
  .nav-bars::before { top: -5px; } .nav-bars::after { top: 5px; }
  .nav-toggle[aria-expanded="true"] .nav-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-bars::before { transform: translateY(5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-bars::after { transform: translateY(-5px) rotate(-45deg); }
  .nav-menu {
    position: absolute; top: calc(var(--header-h) - 4px); left: max(var(--gutter), env(safe-area-inset-left, 0px)); right: max(var(--gutter), env(safe-area-inset-right, 0px));
    flex-direction: column; padding: var(--s-3); background: var(--surface); color: var(--text);
    border: 2px solid var(--edge); border-radius: var(--radius); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--dur-fast) ease, transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
  }
  .nav-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity var(--dur-fast) ease, transform var(--dur) var(--ease-out); }
  .nav-menu a { width: 100%; min-height: 48px; font-size: 1.125rem; }
}
@media (max-width: 400px) {
  .bag-label { display: none; }
  .bag-btn { padding: 0 8px; }
  .wordmark { font-size: 1.3rem; }
  .wordmark-orb { width: 26px; height: 26px; }
}

/* ---------- hero scene ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate; color: var(--hero-text);
  padding-top: calc(var(--header-h) + clamp(32px, 7vh, 88px));
  padding-bottom: calc(var(--scene-h) * .72);
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 55%, var(--sky-bottom) 100%);
  transition: color var(--dur-slow) ease;
}
.hero::before { /* crossfade layer so sky changes feel like dusk, not a switch */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--sky-top), var(--sky-mid) 55%, var(--sky-bottom));
}
.sky-stars {
  position: absolute; inset: 0 0 35% 0; z-index: 0; opacity: var(--stars); transition: opacity 1.4s ease;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 22% 42%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 35% 12%, #FFE6B0 50%, transparent 51%), radial-gradient(1px 1px at 48% 30%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 62% 8%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 71% 36%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 83% 20%, #FFE6B0 50%, transparent 51%), radial-gradient(1px 1px at 92% 44%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 6% 52%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 55% 50%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 77% 6%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 28% 26%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 40% 60%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 88% 58%, #fff 50%, transparent 51%);
}
.sky-stars::after { /* a second, twinkling field */
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 18% 8%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 44% 18%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 67% 26%, #FFE6B0 50%, transparent 51%), radial-gradient(1.5px 1.5px at 95% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 8% 34%, #fff 50%, transparent 51%);
  animation: twinkle 3.6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .25; } to { opacity: 1; } }

.scene { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: var(--scene-h); pointer-events: none; }
.scene-back { z-index: 1; }
.scene-front { z-index: 4; }
.orb-1 { stop-color: var(--orb-1); transition: stop-color var(--dur-slow) ease; }
.orb-2 { stop-color: var(--orb-2); transition: stop-color var(--dur-slow) ease; }
.orb-3 { stop-color: var(--orb-3); transition: stop-color var(--dur-slow) ease; }
.orb-glow { fill: var(--orb-glow); }
.moon-craters circle { fill: #8D6E9C; opacity: var(--crater-opacity); transition: opacity var(--dur-slow) ease; }
.ridge { transition: fill var(--dur-slow) ease; }
.ridge-far { fill: var(--ridge-far); }
.ridge-mid { fill: var(--ridge-mid); }
.ridge-near { fill: var(--ridge-near); }
.ground { fill: var(--ground); transition: fill var(--dur-slow) ease; }
.pebbles circle { fill: var(--ridge-near); }
.cactus path { fill: none; stroke: var(--cactus); stroke-width: 22; stroke-linecap: round; stroke-linejoin: round; transition: stroke var(--dur-slow) ease; }
.ocotillo path { fill: none; stroke: var(--cactus); stroke-width: 5; stroke-linecap: round; }
.pear ellipse, .barrel ellipse { fill: var(--cactus); transition: fill var(--dur-slow) ease; }
.pear-fruit, .barrel-bloom { fill: var(--bloom); }
.barrel-rib { stroke: var(--ridge-near); stroke-width: 2; opacity: .35; }
.js .orb { animation: rise 1.8s var(--ease-out) both; transform-box: fill-box; }
@keyframes rise { from { transform: translateY(120px); opacity: .2; } }
[data-parallax] { will-change: transform; }

/* clouds: day only (faint wisps at night) */
.clouds { position: absolute; inset: 0 0 calc(var(--scene-h) * .55) 0; z-index: 2; pointer-events: none; opacity: var(--cloud-opacity); transition: opacity 1.4s ease; }
.cloud { position: absolute; left: 0; animation: drift linear infinite; will-change: transform; }
.cloud span {
  position: relative; display: block; width: var(--w, 200px); height: calc(var(--w, 200px) * .2); border-radius: 999px;
  background: linear-gradient(180deg, var(--cloud) 0 62%, var(--cloud-stripe) 62% 70%, var(--cloud) 70% 80%, var(--cloud-stripe) 80% 86%, var(--cloud) 86%);
}
.cloud span::before, .cloud span::after { content: ""; position: absolute; bottom: 40%; border-radius: 50%; background: var(--cloud); }
.cloud span::before { left: 18%; width: 34%; aspect-ratio: 1; }
.cloud span::after { left: 44%; width: 26%; aspect-ratio: 1; }
.cloud-1 { top: 16%; --w: 220px; animation-duration: 140s; animation-delay: -30s; }
.cloud-2 { top: 30%; --w: 150px; animation-duration: 110s; animation-delay: -80s; }
.cloud-3 { top: 9%;  --w: 120px; animation-duration: 170s; animation-delay: -120s; opacity: .8; }
.cloud-4 { top: 40%; --w: 260px; animation-duration: 190s; animation-delay: -10s; opacity: .9; }
@keyframes drift { from { transform: translateX(-320px); } to { transform: translateX(calc(100vw + 40px)); } }

/* creatures and tumbleweeds are placed by app.js */
/* a sky layer in front of the title, for UFOs that pass close to the viewer */
.sky-front { position: absolute; inset: 0; z-index: 7; pointer-events: none; overflow: hidden; }
.sky-front .ufo > svg { filter: drop-shadow(6px 10px 6px rgba(11, 6, 12, .45)); }
.sky-life { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.ground-life { position: absolute; left: 0; right: 0; bottom: calc(var(--scene-h) * .045); height: 110px; z-index: 5; pointer-events: none; overflow: hidden; }
.flyer { position: absolute; left: 0; top: 0; will-change: transform; pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hero { -webkit-tap-highlight-color: transparent; }
/* birds by day */
.bird .wing-l { transform-origin: 100% 60%; } .bird .wing-r { transform-origin: 0% 60%; }
.bird .wing { animation-name: birdflap; }
@keyframes birdflap { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(-.7); } }
:root:is([data-theme="night"], [data-theme="dark"]) .bird path, :root:is([data-theme="night"], [data-theme="dark"]) .bird ellipse { fill: #0D0810; }
.flyer.startled > svg { animation: startle .6s var(--ease-spring); }
@keyframes startle { 30% { transform: translateY(-14px) scale(1.15); } }
/* roadrunner on the ground */
.roadrunner { pointer-events: none; }
.roadrunner .rr-leg { transform-box: fill-box; transform-origin: 50% 0; animation: rr-run .22s linear infinite alternate; }
.roadrunner .rr-leg-b { animation-direction: alternate-reverse; }
.roadrunner.is-paused .rr-leg { animation-play-state: paused; }
.roadrunner.is-paused svg { animation: rr-peek .5s ease-in-out 2 alternate; }
@keyframes rr-run { from { transform: rotate(-28deg); } to { transform: rotate(28deg); } }
@keyframes rr-peek { to { transform: rotate(-6deg) translateY(-3px); } }
:root:is([data-theme="night"], [data-theme="dark"]) .roadrunner { display: none; }
/* shooting stars */
.shooting-star { pointer-events: none; background: linear-gradient(90deg, rgba(255,246,232,0), #FFF6E8 85%, #fff); border-radius: 2px; box-shadow: 0 0 8px rgba(255, 230, 176, .8); }
/* UFO zap when tapped */
.ufo.zap > svg { animation: zap .7s ease-out; }
@keyframes zap { 20% { transform: translateY(-10px) rotate(-8deg); filter: brightness(1.6) drop-shadow(0 0 12px #9FE6DA); } 60% { transform: translateY(4px) rotate(5deg); } }
/* tap burst */
.tap-burst { position: absolute; width: 0; height: 0; pointer-events: none; }
.tap-burst i {
  position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; background: var(--mustard);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: burst .85s cubic-bezier(.2, .7, .3, 1) forwards;
}
.tap-burst i:nth-child(3n) { background: var(--rose); } .tap-burst i:nth-child(3n+1) { background: var(--turq-light); }
@keyframes burst { 0% { transform: rotate(var(--a)) translateX(0) scale(.4); opacity: 1; } 100% { transform: rotate(var(--a)) translateX(var(--d)) scale(1) rotate(90deg); opacity: 0; } }
.flyer svg { overflow: visible; }
.wing { transform-box: fill-box; animation: flap var(--flap, .9s) ease-in-out infinite; }
.wing-far { animation-delay: -.08s; }
@keyframes flap { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(-.55); } }
/* dragon rig: wings hinge at the shoulder (178,98 in its 320x200 drawing) */
.dragon .d-rig { transform-box: view-box; animation: d-bob 1.3s ease-in-out infinite; }
.dragon .d-wing { transform-box: view-box; transform-origin: 178px 98px; animation: d-flap 1.3s cubic-bezier(.45, 0, .55, 1) infinite; }
.dragon .d-wing-far { animation-delay: -.08s; }
.dragon .d-tail { transform-box: view-box; transform-origin: 122px 124px; animation: d-tail 2.6s ease-in-out infinite; }
.dragon .d-head { transform-box: view-box; transform-origin: 232px 70px; animation: d-head 2.6s ease-in-out infinite; }
@keyframes d-flap { 0%, 100% { transform: rotate(0) scaleY(1); } 50% { transform: rotate(-8deg) scaleY(-.5); } }
@keyframes d-bob { 0%, 100% { transform: translateY(4px); } 50% { transform: translateY(-7px); } }
@keyframes d-tail { 0%, 100% { transform: rotate(5deg); } 50% { transform: rotate(-7deg); } }
@keyframes d-head { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(3deg); } }
.bat .wing { --flap: .28s; }
.bat .wing-l { transform-origin: 100% 50%; }
.bat .wing-r { transform-origin: 0% 50%; }
.bat .wing-l, .bat .wing-r { animation-name: batflap; }
@keyframes batflap { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(-.6) translateY(-2px); } }
.ufo-lights circle { animation: blink 1.2s steps(1) infinite; }
.ufo-lights circle:nth-child(2) { animation-delay: .3s; }
.ufo-lights circle:nth-child(3) { animation-delay: .6s; }
.ufo-lights circle:nth-child(4) { animation-delay: .9s; }
@keyframes blink { 50% { opacity: .2; } }
.ufo-beam { opacity: 0; transition: opacity 500ms ease; }
.ufo.beaming .ufo-beam { opacity: .55; }
.dragon-puff { opacity: 0; transform-box: fill-box; transform-origin: 0% 50%; }
.dragon.puffing .dragon-puff { animation: puff 1.1s ease-out; }
@keyframes puff { 0% { opacity: 0; transform: scale(.2); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.4) translateX(8px); } }
.tumbleweed { position: absolute; left: 0; bottom: 0; will-change: transform; }
.tumbleweed svg { animation: tumble-spin var(--spin, 1.4s) linear infinite; }
.tumbleweed .hop { animation: hop var(--hop, .9s) cubic-bezier(.3, 0, .7, 1) infinite; }
@keyframes tumble-spin { to { transform: rotate(360deg); } }
@keyframes hop { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(calc(var(--hop-h, 18px) * -1)); } }
.tumbleweed path { fill: none; stroke: #A9773F; stroke-width: 2.2; stroke-linecap: round; }
:root:is([data-theme="night"], [data-theme="dark"]) .tumbleweed path { stroke: #6B4A63; }

/* hero content */
.hero-content { position: relative; z-index: 6; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  border: 2px solid currentColor; background: color-mix(in srgb, var(--sand-50) 55%, transparent);
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
}
:root:is([data-theme="night"], [data-theme="dark"]) .hero-eyebrow { background: rgba(36, 20, 42, .55); }
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rust); animation: pulse 2.2s ease-out infinite; }
:root:is([data-theme="night"], [data-theme="dark"]) .hero-eyebrow .dot { background: var(--turq-light); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(184, 62, 26, .5); } 80%, 100% { box-shadow: 0 0 0 10px rgba(184, 62, 26, 0); } }
.hero-clock:not(:empty)::before { content: "· "; }
.hero-title {
  margin-top: var(--s-5); font-family: var(--font-display); font-weight: 400; line-height: .95;
  font-size: clamp(4.5rem, 21.5vw, 8rem); letter-spacing: -.01em; color: var(--hero-text);
  text-shadow: .03em .03em 0 var(--mustard), .06em .06em 0 var(--orange), .09em .09em 0 var(--rose);
  padding-right: .09em; text-wrap: balance;
}
/* "Sabrina Solo": the stacked 70s shadow cycles mustard → orange → rose → turquoise,
   staggered per letter so the color rolls across the name. Letters stay still. */
.tl-wrap { position: relative; display: inline-block; }
.tl-word { display: inline-block; white-space: nowrap; }
.tl {
  display: inline-block;
  animation: tl-hue 5.2s linear infinite;
  animation-delay: calc(var(--i) * -.22s);
}

/* 70s starburst glints that twinkle around the name */
.spark {
  position: absolute; width: var(--s, .2em); aspect-ratio: 1; pointer-events: none;
  background: var(--c, #FFF6E8);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  filter: drop-shadow(0 0 1.5px var(--ink)) drop-shadow(0 0 .06em rgba(255, 220, 140, .9));
  opacity: 0; transform: scale(0) rotate(0);
  animation: spark 3.6s ease-in-out infinite;
}
.spark::after { /* small diagonal glint for a classic 70s "twinkle" */
  content: ""; position: absolute; inset: 22%; background: inherit;
  clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%);
  transform: rotate(45deg) scale(.7);
}
.spark-1 { --s: .42em; --c: #FFFFFF; left: 2%; top: 0; animation-delay: 0s; }
.spark-2 { --s: .3em; --c: var(--mustard); left: 44%; top: -8%; animation-delay: -.6s; }
.spark-3 { --s: .38em; --c: var(--turq-light); right: 1%; top: 4%; animation-delay: -1.3s; }
.spark-4 { --s: .28em; --c: var(--rose); left: 66%; bottom: 2%; animation-delay: -2.1s; }
.spark-5 { --s: .36em; --c: #FFFFFF; right: 14%; bottom: 30%; animation-delay: -2.8s; }
.spark-6 { --s: .26em; --c: var(--orange); left: 20%; bottom: 8%; animation-delay: -1.8s; }
@keyframes spark {
  0%, 55%, 100% { opacity: 0; transform: scale(0) rotate(0); }
  68% { opacity: 1; transform: scale(1) rotate(45deg); }
  80% { opacity: .9; transform: scale(.6) rotate(90deg); }
  90% { opacity: 0; transform: scale(0) rotate(120deg); }
}
.motion-off .spark { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .spark { display: none; } }
@keyframes tl-hue {
  0%, 100% { text-shadow: .035em .035em 0 var(--mustard), .07em .07em 0 var(--orange), .105em .105em 0 var(--rose), .14em .14em 0 var(--turq); }
  25% { text-shadow: .035em .035em 0 var(--orange), .07em .07em 0 var(--rose), .105em .105em 0 var(--turq), .14em .14em 0 var(--mustard); }
  50% { text-shadow: .035em .035em 0 var(--rose), .07em .07em 0 var(--turq), .105em .105em 0 var(--mustard), .14em .14em 0 var(--orange); }
  75% { text-shadow: .035em .035em 0 var(--turq), .07em .07em 0 var(--mustard), .105em .105em 0 var(--orange), .14em .14em 0 var(--rose); }
}
.motion-off .tl { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .tl { animation: none; } }

@media (min-width: 721px) { .hero-title { font-size: clamp(6rem, 15.5vw, 12.5rem); } }

/* ---------- phone dock: thumb-reach quick links ---------- */
.dock { display: none; }
@media (max-width: 720px) {
  .dock {
    position: fixed; z-index: 60; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 6px;
    background: var(--surface); color: var(--text); border: 2px solid var(--edge); border-radius: 22px;
    box-shadow: 4px 4px 0 var(--edge);
  }
  .dock-btn {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-height: 52px; border-radius: 16px; border: 0; background: transparent; color: inherit; cursor: pointer;
    font: 700 .75rem/1 var(--font-body, inherit); letter-spacing: .04em; text-decoration: none; touch-action: manipulation;
    transition: background var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out);
  }
  .dock-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
  .dock-btn .i-play path { fill: currentColor; }
  .dock-btn:active { transform: scale(.94); background: color-mix(in srgb, var(--mustard) 45%, transparent); }
  .dock-btn.is-current { background: var(--mustard); color: var(--ink); }
  .dock-tip svg { fill: var(--rose); stroke: var(--edge); }
  .dock-count {
    position: absolute; top: 4px; right: calc(50% - 22px); min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px;
    display: inline-grid; place-items: center; background: var(--rust); color: #FFF6E8; font: 600 .6875rem/1 var(--font-mono);
  }
  .dock-count:empty, .dock-count[data-zero] { display: none; }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .toast { bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important; }
  .motion-toggle { bottom: 12px; }
  /* header bag lives in the dock on phones */
  .header-actions .bag-btn { display: none; }
  .section { padding-block: clamp(48px, 12vw, 72px); }
}

.hero-lede { margin-top: var(--s-5); font-family: var(--font-serif); font-style: italic; font-size: clamp(1.25rem, 2.4vw, 1.75rem); }
.hero-ctas { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center; }
.hero .btn-ghost { --btn-fg: var(--hero-text); background: color-mix(in srgb, var(--sand-50) 40%, transparent); }
:root:is([data-theme="night"], [data-theme="dark"]) .hero .btn-ghost { background: rgba(36, 20, 42, .45); border-color: var(--sand-50); }
.hero .btn-ghost:hover { background: var(--mustard); color: var(--ink); }
/* Narrow screens: Listen centered on its own row, the two outlined buttons paired below */
@media (max-width: 620px) {
  .hero-ctas { display: grid; grid-template-columns: 1fr 1fr; justify-items: stretch; width: 100%; max-width: 420px; }
  .hero-ctas .btn-primary { order: -1; grid-column: 1 / -1; justify-self: center; min-width: 60%; }
  .hero-ctas .btn { padding-inline: 12px; white-space: nowrap; font-size: .9375rem; }
}
/* Tip jar: quick tipping at live shows */
.tip-jar {
  margin-top: var(--s-6); width: 100%; max-width: 470px; display: grid; gap: var(--s-3); justify-items: center;
  padding: 14px 16px 16px; border-radius: 24px; border: 2px solid var(--ink);
  background: color-mix(in srgb, var(--sand-50) 72%, transparent); color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
:root:is([data-theme="night"], [data-theme="dark"]) .tip-jar { background: rgba(36, 20, 42, .7); color: var(--sand-50); border-color: var(--sand-100); box-shadow: 4px 4px 0 #0B060C; }
.tip-jar:target { animation: tip-flash 1.6s ease-out 1; }
@keyframes tip-flash { 0% { box-shadow: 4px 4px 0 var(--ink), 0 0 0 0 rgba(232, 176, 58, .9); } 100% { box-shadow: 4px 4px 0 var(--ink), 0 0 0 18px rgba(232, 176, 58, 0); } }
.tip-title { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .8125rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.tip-sub { letter-spacing: .04em; text-transform: none; opacity: .8; }
.tip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mustard); box-shadow: 0 0 0 2px var(--ink); }
.tip-amounts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.tip-amt {
  min-width: 56px; min-height: 40px; padding: 0 12px; border-radius: 999px; cursor: pointer;
  border: 2px solid currentColor; background: transparent; font-family: var(--font-mono); font-weight: 500; font-size: .9375rem;
  font-variant-numeric: tabular-nums; transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out);
}
.tip-amt:hover { background: color-mix(in srgb, var(--mustard) 40%, transparent); }
.tip-amt:active { transform: scale(.95); }
.tip-amt[aria-pressed="true"] { background: var(--ink); color: var(--sand-50); border-color: var(--ink); }
:root:is([data-theme="night"], [data-theme="dark"]) .tip-amt[aria-pressed="true"] { background: var(--sand-50); color: var(--ink); border-color: var(--sand-50); }
.tip-buttons { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s-2); width: 100%; }
.tip-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 18px;
  border-radius: 999px; border: 2px solid var(--ink); text-decoration: none; font-weight: 700;
  box-shadow: 3px 3px 0 var(--ink); touch-action: manipulation;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), filter var(--dur-fast) ease;
}
.tip-btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); filter: brightness(1.05); }
.tip-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.tip-venmo { background: #008CFF; color: #FFFFFF; }
.tip-venmo .logo-venmo { height: 19px; width: auto; }
.tip-paypal { background: #FFC439; color: #003087; }
.tip-paypal .logo-paypal { height: 22px; width: 22px; }
.tip-paypal-word { font-family: var(--font-sans); font-size: 1.125rem; font-style: italic; letter-spacing: -.01em; }
.tip-amt-label:not(:empty) { padding: 2px 9px; border-radius: 999px; background: rgba(255, 255, 255, .28); font-family: var(--font-mono); font-size: .875rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.tip-paypal .tip-amt-label:not(:empty) { background: rgba(0, 48, 135, .12); }

.motion-toggle {
  position: absolute; z-index: 7; right: max(16px, env(safe-area-inset-right, 0px)); bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1.5px solid rgba(255, 246, 232, .6); background: rgba(42, 24, 16, .45); color: #FFF6E8;
  font-size: .8125rem; font-weight: 500; cursor: pointer; backdrop-filter: blur(4px);
}
.motion-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.motion-toggle:hover { background: rgba(42, 24, 16, .7); }

/* motion off: freeze ambient CSS motion (JS stops spawning) */
.motion-off .cloud, .motion-off .sky-stars::after, .motion-off .board-bulbs, .motion-off .hero-eyebrow .dot { animation-play-state: paused; }

/* ---------- stripes ---------- */
.stripes { height: 56px; background: linear-gradient(180deg, var(--mustard) 0 25%, var(--orange) 25% 50%, var(--rust) 50% 75%, var(--plum) 75%); }

/* ---------- shows: motel marquee ---------- */
.shows { background: var(--bg); }
.marquee { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 900px) { .marquee { grid-template-columns: 1.1fr 1fr; } .marquee-post { grid-column: 1; } .letterboard { grid-column: 2; grid-row: 1 / span 2; } }
.marquee-sign {
  position: relative; padding: 22px; border-radius: 26px; background: var(--sign); color: var(--neon);
  border: 3px solid var(--edge); box-shadow: var(--shadow);
}
.marquee-sign::before, .marquee-sign::after { /* chasing bulbs around the edge */
  content: ""; position: absolute; inset: 6px; border-radius: 20px; pointer-events: none;
  background: radial-gradient(circle, #FFD978 0 3.5px, rgba(255, 217, 120, .35) 4.5px, transparent 6px) 0 0 / 26px 26px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  padding: 10px;
}
.marquee-sign::after { background-position: 13px 13px; animation: bulbs 1.6s steps(1) infinite; }
.marquee-sign::before { animation: bulbs 1.6s steps(1) infinite reverse; }
@keyframes bulbs { 50% { opacity: .25; } }
/* warm amber halo that slowly breathes, like a motel sign at dusk; brighter at night */
.marquee-sign { --glow: rgba(255, 196, 92, .38); --glow-hi: rgba(255, 196, 92, .62); animation: sign-glow 4.2s ease-in-out infinite; }
:root:is([data-theme="night"], [data-theme="dark"]) .marquee-sign { --glow: rgba(255, 190, 80, .5); --glow-hi: rgba(255, 190, 80, .85); }
@keyframes sign-glow {
  0%, 100% { box-shadow: var(--shadow), 0 0 14px 2px var(--glow), 0 0 36px 6px rgba(232, 118, 44, .14); }
  50% { box-shadow: var(--shadow), 0 0 24px 6px var(--glow-hi), 0 0 64px 16px rgba(232, 118, 44, .26); }
}
.motion-off .marquee-sign { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .marquee-sign { animation: none; box-shadow: var(--shadow), 0 0 18px 4px var(--glow); } }
.motion-off .marquee-sign::before, .motion-off .marquee-sign::after { animation-play-state: paused; }
.marquee-inner {
  position: relative; display: grid; gap: var(--s-3); padding: clamp(24px, 4vw, 40px);
  border-radius: 14px; background: radial-gradient(120% 90% at 50% 0%, #3E1C22, #200F12);
  border: 2px solid rgba(255, 217, 120, .25);
}
.marquee-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); font-family: var(--font-mono); font-size: .8125rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mustard); }
.countdown {
  padding: 4px 12px; border-radius: 999px; border: 1.5px solid var(--rose); color: #FFC4CF; letter-spacing: .08em;
  text-shadow: 0 0 8px rgba(224, 96, 122, .9); box-shadow: 0 0 10px rgba(224, 96, 122, .45), inset 0 0 8px rgba(224, 96, 122, .35);
}
.marquee-date { font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.1; color: #FFF6E8; }
.marquee-venue {
  font-family: var(--font-display); font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1; color: var(--neon);
  text-shadow: 0 0 4px #FFB86B, 0 0 14px rgba(232, 118, 44, .85), 0 0 34px rgba(224, 96, 122, .55);
  overflow-wrap: anywhere;
}
.js .marquee-venue { animation: neon-on 2.4s ease-out 1 both; }
@keyframes neon-on { 0%, 8%, 14% { opacity: .25; } 10%, 18%, 100% { opacity: 1; } }
.marquee-city { color: #E9D2B8; font-size: 1.0625rem; }
.marquee-empty { font-family: var(--font-serif); font-size: clamp(1.4rem, 3vw, 2rem); color: #FFF6E8; }
.marquee-links { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-2); }
.chip-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid rgba(255, 227, 179, .5); color: #FFF6E8; text-decoration: none; font-weight: 500; font-size: .9375rem;
}
.chip-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip-link:hover { background: var(--mustard); color: var(--ink); border-color: var(--mustard); }
.marquee-post { display: none; }
@media (min-width: 900px) {
  .marquee-post { display: block; position: relative; height: 56px; margin-top: calc(var(--s-6) * -1); }
  .marquee-post::before { content: ""; position: absolute; left: 50%; top: 0; width: 18px; height: 100%; transform: translateX(-50%); background: repeating-linear-gradient(180deg, #6A3A2A 0 10px, #4E2416 10px 12px); border-inline: 3px solid var(--edge); }
  .marquee-post::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 120px; height: 14px; transform: translateX(-50%); border-radius: 6px; background: var(--ridge-near); border: 3px solid var(--edge); }
}

.letterboard {
  background: var(--board); color: #F4ECE0; border: 3px solid var(--edge); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 28px);
  background-image: repeating-linear-gradient(180deg, transparent 0 30px, rgba(255, 255, 255, .045) 30px 32px);
}
.letterboard-title { font-family: var(--font-mono); font-weight: 500; font-size: .8125rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mustard); margin-bottom: var(--s-4); }
.board-list { display: grid; }
.board-row {
  display: grid; grid-template-columns: 6.6em 1fr auto; gap: var(--s-3); align-items: baseline;
  padding: 14px 4px; border-top: 1px dashed rgba(244, 236, 224, .18);
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .06em;
}
.board-row:first-child { border-top: 0; }
.board-date { font-variant-numeric: tabular-nums; white-space: nowrap; }
.board-dow { color: var(--mustard); }
.board-main { display: grid; gap: 2px; min-width: 0; }
.board-venue { font-weight: 500; color: #FFF6E8; text-decoration: none; overflow-wrap: anywhere; }
a.board-venue { text-decoration: underline; text-decoration-color: rgba(255, 246, 232, .35); text-underline-offset: 3px; }
a.board-venue:hover { color: var(--mustard); }
.board-meta { font-size: .8125rem; color: #CBBBA8; text-transform: none; letter-spacing: .02em; font-family: var(--font-sans); }
.board-tag { font-size: .75rem; padding: 3px 8px; border-radius: 6px; background: #C23B3B; color: #FFF; letter-spacing: .1em; white-space: nowrap; }
.board-row.is-canceled .board-date, .board-row.is-canceled .board-venue { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: #E06060; color: #A8988A; }
@media (max-width: 480px) {
  .board-row { grid-template-columns: 1fr auto; }
  .board-main { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- listen ---------- */
.listen { background: var(--bg-alt); }
.listen-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 960px) { .listen-grid { grid-template-columns: 1fr 1.25fr; } .listen .section-head { position: sticky; top: calc(var(--header-h) + 32px); } }
.player { background: var(--surface); border: 3px solid var(--edge); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); min-width: 0; }
.player-now { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-4); align-items: center; }
.player-main {
  width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 3px solid var(--edge); background: var(--orange); color: var(--ink); box-shadow: var(--shadow-sm);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background-color var(--dur-fast) ease;
}
.player-main svg { width: 28px; height: 28px; fill: currentColor; }
.player-main .i-pause, .player.is-playing .player-main .i-play { display: none; }
.player.is-playing .player-main .i-pause { display: block; }
.player-main:hover { background: var(--mustard); transform: translate(-1px, -1px); }
.player-main:active { transform: translate(2px, 2px) scale(.97); box-shadow: 1px 1px 0 var(--edge); }
.player-label { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.player-title { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.eq { display: flex; align-items: flex-end; gap: 4px; height: 32px; }
.eq span { width: 5px; height: 30%; border-radius: 2px; background: var(--accent); }
.player.is-playing .eq span { animation: eq 900ms ease-in-out infinite alternate; }
.eq span:nth-child(2) { animation-delay: -200ms !important; background: var(--orange); }
.eq span:nth-child(3) { animation-delay: -450ms !important; background: var(--mustard); }
.eq span:nth-child(4) { animation-delay: -650ms !important; background: var(--rose); }
.eq span:nth-child(5) { animation-delay: -100ms !important; background: var(--turq); }
@keyframes eq { 0% { height: 18%; } 50% { height: 100%; } 100% { height: 40%; } }
.player-seek { margin-top: var(--s-5); }
.seek { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; --pct: 0%; }
.seek::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--mustard), var(--orange) calc(var(--pct) * .6), var(--rose) var(--pct), var(--line) var(--pct)); }
.seek::-moz-range-track { height: 8px; border-radius: 999px; background: var(--line); }
.seek::-moz-range-progress { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--mustard), var(--orange), var(--rose)); }
.seek::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -6px; border-radius: 50%; background: var(--surface); border: 3px solid var(--edge); }
.seek::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--edge); }
.player-time { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: .75rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.player-controls { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin-top: var(--s-3); padding-bottom: var(--s-4); border-bottom: 2px dashed var(--line); }
.player-note { font-size: .875rem; color: var(--text-muted); margin-left: var(--s-2); flex: 1 1 200px; }
.tracklist { margin-top: var(--s-3); }
.track { display: flex; align-items: center; gap: var(--s-2); border-radius: var(--radius-sm); }
.track-play {
  flex: 1; min-width: 0; min-height: 52px; display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: var(--s-3);
  padding: 8px 12px; border: 0; border-radius: var(--radius-sm); background: transparent; cursor: pointer; text-align: left;
  transition: background-color var(--dur-fast) ease;
}
.track-play:hover { background: var(--bg); }
.track .tn, .track .td { font-family: var(--font-mono); font-size: .8125rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.track .tt { font-weight: 500; overflow-wrap: anywhere; }
.track.is-current .track-play { background: color-mix(in srgb, var(--mustard) 30%, transparent); }
.track.is-current .tt { font-weight: 700; }
.track.is-current .tn { color: var(--accent); }
.buy-mini {
  display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 12px; border-radius: 999px; flex-shrink: 0;
  border: 1.5px solid var(--line); background: transparent; cursor: pointer; font-family: var(--font-mono); font-size: .8125rem;
  transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
.buy-mini svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.buy-mini:hover { border-color: var(--text); background: var(--bg); }
.buy-mini.is-added { border-color: var(--turq); color: var(--turq); }

/* ---------- store ---------- */
.store { background: var(--bg); }
.store-grid { display: grid; gap: clamp(48px, 7vw, 80px); }
.store-block { display: grid; gap: var(--s-3); }
.block-title { font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.block-lede { color: var(--text-muted); margin-bottom: var(--s-4); }
.block-title + .art-grid, .block-title + .empty-note { margin-top: var(--s-3); }
.dl-list { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); }
.dl-item.is-featured { grid-column: 1 / -1; border: 3px solid var(--edge); box-shadow: var(--shadow-sm); background: color-mix(in srgb, var(--mustard) 22%, var(--surface)); padding-block: 20px; }
.dl-item.is-featured .dl-title { font-family: var(--font-serif); font-size: 1.375rem; }
.dl-item.is-featured .dl-icon { background: var(--orange); color: var(--ink); width: 48px; height: 48px; }
.dl-item.is-featured .price { font-size: 1.75rem; }
.dl-item {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: var(--s-3);
  padding: 14px 14px 14px 16px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.dl-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--turq); color: #FFF6E8; }
.dl-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dl-text { display: grid; min-width: 0; }
.dl-title { font-weight: 700; overflow-wrap: anywhere; }
.dl-desc { font-size: .875rem; color: var(--text-muted); }
.dl-item .price { font-size: 1.25rem; }
.dl-item .tag { grid-column: 2; }
/* Releases: square covers like a record-store rack */
.release-grid { display: grid; gap: clamp(16px, 2.5vw, 28px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.release {
  display: flex; flex-direction: column; background: var(--surface); border: 3px solid var(--edge);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.release:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--edge); }
.release.is-ep { grid-column: span 2; flex-direction: row; }
.release.is-ep .release-cover { width: 50%; flex-shrink: 0; border-bottom: 0; border-right: 3px solid var(--edge); }
@media (max-width: 520px) {
  .release.is-ep { grid-column: auto; flex-direction: column; }
  .release.is-ep .release-cover { width: 100%; border-right: 0; border-bottom: 3px solid var(--edge); }
}
.release-cover { position: relative; aspect-ratio: 1; max-width: 100%; background: #1A1014; border-bottom: 3px solid var(--edge); overflow: hidden; display: grid; place-items: center; }
.release-cover img { width: 100%; height: 100%; object-fit: contain; }
.release-blank svg { width: 48px; height: 48px; fill: none; stroke: var(--sand-100); stroke-width: 2; }
.release-format { position: absolute; top: 10px; left: 10px; }
.release-cover .tag-sold, .release-cover .tag-soon { position: absolute; top: 10px; right: 10px; }
.release-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; min-width: 0; }
.release.is-ep .release-body { justify-content: center; gap: 8px; padding: 20px; }
.release-title { font-family: var(--font-serif); font-weight: 700; font-size: 1.125rem; line-height: 1.2; overflow-wrap: anywhere; }
.release.is-ep .release-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.release-desc { font-size: .875rem; color: var(--text-muted); }
.release-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); margin-top: auto; padding-top: var(--s-3); }
.release .price { font-size: 1.35rem; }

@media (max-width: 520px) {
  .dl-item { grid-template-columns: auto 1fr auto; }
  .dl-icon { grid-row: 1 / span 2; align-self: start; }
  .dl-text { grid-column: 2 / -1; }
  .dl-item .price { grid-column: 2; }
  .dl-item .btn, .dl-item .tag { grid-column: 3; }
}
.price { font-family: var(--font-serif); font-weight: 700; font-size: 1.6rem; line-height: 1; font-variant-numeric: tabular-nums; }

.art-grid { display: grid; gap: clamp(20px, 3vw, 32px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.art-card { display: flex; flex-direction: column; background: var(--surface); border: 3px solid var(--edge); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.art-card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--edge); }
.art-media { position: relative; aspect-ratio: 4 / 3; max-width: 100%; display: grid; place-items: center; border-bottom: 3px solid var(--edge); overflow: hidden; }
.art-media svg { width: 64%; height: auto; }
.art-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art-orange { background: #F2A15C; } .art-turquoise { background: #6FC3B7; } .art-mustard { background: #EFC25A; }
.art-rose { background: #EE8FA0; } .art-sage { background: #A7B67C; } .art-plum { background: #8C5E8F; }
.art-media svg * { stroke: #2A1810; stroke-width: 3; stroke-linejoin: round; }
.a-frame { fill: #8F5A2E; } .a-canvas, .a-paper { fill: #FFF6E8; } .a-sun { fill: #E8762C; } .a-hill { fill: #B83E1A; }
.a-line { fill: none; stroke-linecap: round; }
.a-cactus path { fill: none; stroke: #3E5A33 !important; stroke-width: 7 !important; stroke-linecap: round; }
.a-num { font-family: var(--font-mono); font-size: 10px; text-anchor: middle; fill: #2A1810; stroke: none !important; }
.a-pot { fill: #C4732E; } .a-rim { fill: #E8B03A; } .a-stone { fill: #1F8A84; } .a-bead { fill: #E0607A; }
.a-cloth { fill: #E8B03A; } .a-weave { stroke: #B83E1A !important; stroke-width: 6 !important; } .a-weave2 { stroke: #1F8A84 !important; stroke-width: 4 !important; opacity: .8; }
.art-tags { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 1; }
.tag {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px;
  background: #FFF6E8; color: #2A1810; border: 2px solid #2A1810; justify-self: start;
  font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
}
.tag-sold { background: #2A1810; color: #FFF6E8; }
.tag-soon { background: var(--mustard); }
.is-sold-out .art-media > svg, .is-sold-out .art-photo { filter: grayscale(.7); opacity: .65; }
.art-body { display: flex; flex-direction: column; gap: 6px; padding: var(--s-5); flex: 1; }
.art-title { font-family: var(--font-serif); font-size: 1.375rem; font-weight: 700; line-height: 1.2; }
.art-desc { font-size: .9375rem; color: var(--text-muted); }
.art-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); margin-top: auto; padding-top: var(--s-4); }
.art-left { font-family: var(--font-mono); font-size: .8125rem; color: var(--accent); }

/* ---------- footer ---------- */
/* Day: the same warm sky as the hero. Night: deep plum. */
.site-footer {
  --footer-bg: linear-gradient(180deg, var(--sky-bottom) 0%, var(--sky-mid) 100%);
  --footer-text: var(--ink);
  --footer-line: rgba(42, 24, 16, .45);
  --footer-fine: #5A3E2E;
  position: relative; overflow: hidden; text-align: center; background: var(--footer-bg); color: var(--footer-text);
  padding-block: clamp(56px, 8vw, 96px) var(--s-7);
  transition: color var(--dur-slow) ease;
}
:root:is([data-theme="night"], [data-theme="dark"]) .site-footer {
  --footer-bg: var(--plum-deep);
  --footer-text: #F8E9D2;
  --footer-line: rgba(248, 233, 210, .4);
  --footer-fine: #CDB59C;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; }
.footer-orb {
  width: min(420px, 74vw); aspect-ratio: 2 / 1; border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #FFD45E, #F07A3A 55%, #C4405E);
  -webkit-mask: linear-gradient(#000 0 52%, transparent 52% 57%, #000 57% 68%, transparent 68% 74%, #000 74% 83%, transparent 83% 90%, #000 90%);
  mask: linear-gradient(#000 0 52%, transparent 52% 57%, #000 57% 68%, transparent 68% 74%, #000 74% 83%, transparent 83% 90%, #000 90%);
}
:root:is([data-theme="night"], [data-theme="dark"]) .footer-orb { background: linear-gradient(180deg, #FFF4DC, #E9D6E8 55%, #B79BC4); }
.footer-mark {
  position: relative; margin-top: -.42em; font-family: var(--font-display); font-size: clamp(3rem, 11vw, 7rem); line-height: 1; color: var(--footer-text);
  text-shadow: .03em .03em 0 var(--mustard), .06em .06em 0 var(--orange), .09em .09em 0 var(--rose);
}
.footer-tag { margin-top: var(--s-4); font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; }
.social { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); margin-top: var(--s-6); }
.social a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 999px;
  border: 2px solid var(--footer-line); text-decoration: none; font-weight: 700;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.social svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.social svg .fill { fill: currentColor; stroke: none; }
.social a:hover { background: var(--mustard); border-color: var(--mustard); color: var(--ink); }
.site-footer :focus-visible { outline-color: var(--focus); }
.footer-fine { margin-top: var(--s-7); font-family: var(--font-mono); font-size: .8125rem; color: var(--footer-fine); }

/* ---------- cart ---------- */
.cart { margin: 0 0 0 auto; height: 100%; max-height: 100dvh; width: min(440px, 100vw); max-width: 100vw; padding: 0; border: 0; border-left: 3px solid var(--edge); background: var(--surface); color: var(--text); }
.cart::backdrop { background: rgba(42, 24, 16, .55); backdrop-filter: blur(3px); }
.cart[open] { animation: slide-in var(--dur) var(--ease-out); }
.cart.is-closing { animation: slide-out 200ms ease-in forwards; }
@keyframes slide-in { from { transform: translateX(100%); } }
@keyframes slide-out { to { transform: translateX(100%); } }
.cart-inner { display: flex; flex-direction: column; height: 100%; padding-bottom: env(safe-area-inset-bottom, 0px); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: var(--s-5); border-bottom: 2px dashed var(--line); }
.cart-head h2 { font-family: var(--font-display); font-weight: 400; font-size: 2rem; }
[hidden] { display: none !important; }
.cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-4); padding: var(--s-6); text-align: center; color: var(--text-muted); }
.cart-items { flex: 1; overflow-y: auto; padding: var(--s-3) var(--s-5); }
.cart-items:empty { display: none; }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 8px var(--s-3); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.cart-item-name { font-weight: 700; }
.cart-item-kind { grid-column: 1; font-size: .8125rem; color: var(--text-muted); }
.cart-item-price { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.cart-item-controls { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--s-2); }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; }
.qty button { width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; border-radius: 50%; font-size: 1.125rem; font-weight: 700; }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty output { min-width: 28px; text-align: center; font-family: var(--font-mono); }
.remove-btn { min-height: 40px; padding: 0 10px; border: 0; background: transparent; color: var(--text-muted); text-decoration: underline; cursor: pointer; font-size: .875rem; }
.cart-foot { padding: var(--s-5); border-top: 2px dashed var(--line); display: grid; gap: var(--s-3); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 1.125rem; }
.cart-total span:last-child { font-family: var(--font-serif); font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.cart-note { font-size: .875rem; color: var(--text-muted); }
.cart-error { font-size: .9375rem; font-weight: 700; color: #8F1D0E; background: #FFE9E4; padding: 10px 12px; border-radius: 10px; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 90; transform: translate(-50%, 160%); opacity: 0;
  padding: 14px 22px; border-radius: 999px; border: 2px solid var(--ink); background: var(--mustard); color: var(--ink);
  font-weight: 700; box-shadow: 4px 4px 0 var(--ink); max-width: calc(100vw - 32px); text-align: center;
  transition: transform var(--dur) var(--ease-spring), opacity var(--dur-fast) ease;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .cloud { animation: none; }
  .cloud-1 { transform: translateX(8vw); } .cloud-2 { transform: translateX(62vw); } .cloud-3 { transform: translateX(38vw); } .cloud-4 { transform: translateX(80vw); }
  [data-parallax] { transform: none !important; }
}
