/* ═══════════════════════════════════════════════════════════
   CHARMED BY T — design system
   Palette lifted from the real packaging: sage box, gold foil,
   cream linen, kraft fill.
   ═══════════════════════════════════════════════════════════ */

:root {
  --sage-950: #1b2117;
  --sage-900: #232b1e;
  --sage-800: #33402c;
  --sage-700: #46583b;
  --sage-600: #5c7050;
  --sage-400: #8b9a7d;
  --sage-200: #c9d1bd;
  --sage-100: #e2e6d9;

  --gold: #b3944e;
  --gold-lit: #d9be80;
  --gold-pale: #eee0c0;

  --ivory: #fdfaf4;
  --cream: #f7f1e5;
  --linen: #ece1cf;
  --kraft: #d9c9ac;

  --ink: #241f18;
  --ink-soft: #4a4235;
  --muted: #7a705f;

  --ff-display: "Cormorant Garamond", "Times New Roman", serif;
  --ff-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;

  --shell: 1200px;
  --gutter: clamp(18px, 4vw, 44px);

  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 30px;
  --r-xl: 42px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, .05, .36, 1);

  --shadow-sm: 0 4px 18px rgba(36, 31, 24, .06);
  --shadow-md: 0 16px 40px rgba(36, 31, 24, .09);
  --shadow-lg: 0 34px 80px rgba(36, 31, 24, .15);

  /* one knob for vertical rhythm — sections are deliberately tighter
     than v1 so the page reads as a shop, not a lookbook */
  --sec-y: clamp(64px, 8vw, 112px);
  --header-h: 74px;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(80% 55% at 8% 0%, rgba(179, 148, 78, .12), transparent 60%),
    radial-gradient(70% 60% at 100% 12%, rgba(92, 112, 80, .11), transparent 62%),
    radial-gradient(90% 70% at 50% 100%, rgba(217, 201, 172, .26), transparent 70%);
}
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 9;
  pointer-events: none;
  opacity: .28;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

main, header, footer, section { position: relative; z-index: 1; }

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; }
s { text-decoration: line-through; }

/* author display rules must not defeat the hidden attribute */
[hidden] { display: none !important; }

::selection { background: var(--gold-pale); color: var(--sage-900); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 999;
  padding: 10px 18px; border-radius: 999px;
  background: var(--sage-900); color: var(--ivory);
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

/* ── Typography ────────────────────────────────────────── */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.02em;
  color: var(--sage-950);
}
h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.5rem); letter-spacing: -.012em; }
h4 { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-family: var(--ff-body); font-weight: 600; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 300; color: var(--gold); }
p { margin: 0; }

.eyebrow {
  margin: 0 0 14px;
  font-size: .69rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow i { font-style: normal; opacity: .55; margin: 0 2px; }

.lede { color: var(--muted); font-size: 1rem; max-width: 58ch; }

.shell { width: min(var(--shell), 100% - var(--gutter) * 2); margin-inline: auto; }

/* Section headers: one stacked column, always. Predictable and scannable. */
.section-head { margin-bottom: clamp(28px, 3.4vw, 44px); }
.section-head h2 { margin-bottom: 14px; }
.section-head.center { text-align: center; margin-inline: auto; max-width: 720px; }
.section-head.center .lede { margin-inline: auto; }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  --btn-bg: var(--sage-900);
  --btn-fg: var(--ivory);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .875rem;
  font-weight: 600;
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), color .4s var(--ease);
  will-change: transform;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, var(--gold-lit), var(--gold));
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 14px 34px rgba(179, 148, 78, .3); }
.btn:active { transform: scale(.97); }
.btn svg { transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary { --btn-bg: var(--sage-900); --btn-fg: var(--ivory); }
.btn-primary:hover { color: var(--sage-950); }
.btn-dark { --btn-bg: var(--sage-800); --btn-fg: var(--ivory); }
.btn-dark:hover { color: var(--sage-950); }
.btn-light { --btn-bg: var(--ivory); --btn-fg: var(--sage-950); }
.btn-ghost {
  --btn-bg: transparent; --btn-fg: var(--ivory);
  border: 1px solid rgba(253, 250, 244, .42);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { color: var(--sage-950); border-color: transparent; }
.btn-ghost-dark {
  --btn-bg: transparent; --btn-fg: var(--sage-900);
  border: 1px solid rgba(36, 31, 24, .2);
}
.btn-ghost-dark:hover { color: var(--sage-950); border-color: transparent; }
.btn-full { width: 100%; }

/* ── Reveal system (only when JS runs) ─────────────────── */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

.js [data-split] .word { display: inline-block; overflow: hidden; vertical-align: top; }
.js [data-split] .word > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-split].is-in .word > span { transform: none; }

/* ── Intro curtain ─────────────────────────────────────── */
.curtain { display: none; }
.js .curtain {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--sage-950);
  transition: opacity .7s var(--ease), visibility .7s;
}
.js .curtain.is-gone { opacity: 0; visibility: hidden; }
.curtain-mark { display: grid; justify-items: center; gap: 16px; animation: markIn 1.1s var(--ease) both; }
.curtain-mark span {
  font-family: var(--ff-display);
  font-size: 1.05rem; letter-spacing: .42em; text-transform: uppercase;
  color: var(--gold-lit); padding-left: .42em;
}
@keyframes markIn { from { opacity: 0; transform: translateY(14px) scale(.94); } to { opacity: 1; transform: none; } }

.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 120;
  height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold), var(--gold-lit));
}

/* ── Announcement ──────────────────────────────────────── */
.announce {
  position: relative; z-index: 60;
  background: var(--sage-950); color: var(--gold-pale);
  text-align: center; font-size: .73rem;
  letter-spacing: .13em; text-transform: uppercase;
}
.announce-rotator { position: relative; height: 36px; overflow: hidden; }
.announce-rotator span {
  position: absolute; inset: 0;
  display: grid; place-items: center; padding: 0 16px;
  opacity: 0; transform: translateY(60%);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.announce-rotator span.is-active { opacity: 1; transform: none; }

/* ── Header ────────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h);
  padding-inline: var(--gutter);
  transition: background .45s var(--ease), box-shadow .45s var(--ease);
}
.header.is-stuck {
  background: rgba(253, 250, 244, .84);
  backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(36, 31, 24, .07), 0 8px 30px rgba(36, 31, 24, .05);
}

.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { width: 36px; height: 36px; transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.06); }
.brand-text {
  font-family: var(--ff-display);
  font-size: 1.06rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--sage-950); white-space: nowrap;
}
.brand-text em { font-style: italic; text-transform: lowercase; letter-spacing: .02em; color: var(--gold); margin: 0 .28em; }

/* over the video until scrolled */
.header:not(.is-stuck) .brand-text,
.header:not(.is-stuck) .nav a,
.header:not(.is-stuck) .header-cta { color: var(--ivory); }
.header:not(.is-stuck) .header-cta { border-color: rgba(253, 250, 244, .4); }
.header:not(.is-stuck) .bag-btn {
  color: var(--ivory);
  border-color: rgba(253, 250, 244, .4);
  background: rgba(253, 250, 244, .1);
}
.header:not(.is-stuck) .menu-btn span { background: var(--ivory); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  position: relative;
  font-size: .85rem; font-weight: 500; color: var(--ink-soft);
  transition: color .35s var(--ease);
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform .45s var(--ease);
}
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); transform-origin: 0 50%; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.header-cta {
  display: inline-flex; align-items: center;
  height: 40px; padding: 0 18px;
  border: 1px solid rgba(36, 31, 24, .18);
  border-radius: 999px;
  font-size: .8rem; font-weight: 600;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s;
}
.header-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--sage-950) !important; }

.bag-btn {
  display: inline-flex; align-items: center; gap: 9px;
  height: 40px; padding: 0 8px 0 15px;
  border: 1px solid rgba(36, 31, 24, .16);
  border-radius: 999px;
  font-size: .82rem; font-weight: 500;
  transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.bag-btn:hover { background: var(--sage-900); border-color: var(--sage-900); color: var(--ivory); }
.bag-count {
  display: grid; place-items: center;
  min-width: 24px; height: 24px; padding: 0 6px;
  border-radius: 999px; background: var(--gold); color: var(--sage-950);
  font-size: .72rem; font-weight: 700;
}
.bag-count.pop { animation: pop .5s var(--ease); }
@keyframes pop { 40% { transform: scale(1.42); } }

.menu-btn {
  display: none;
  width: 40px; height: 40px; place-items: center;
  border: 1px solid rgba(36, 31, 24, .16); border-radius: 999px;
}
.menu-btn span {
  display: block; width: 16px; height: 1.5px; background: var(--ink);
  transition: transform .45s var(--ease);
}
.menu-btn span + span { margin-top: 4.5px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ── Mobile menu ───────────────────────────────────────── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 95;
  display: grid; align-content: center; gap: 28px;
  padding: 0 var(--gutter);
  background: var(--sage-950);
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease), visibility .5s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: grid; gap: 6px; }
.mobile-menu a {
  font-family: var(--ff-display);
  font-size: clamp(1.9rem, 8vw, 2.9rem);
  color: var(--ivory);
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s;
}
.mobile-menu.is-open a { opacity: 1; transform: none; }
.mobile-menu.is-open a:nth-child(1) { transition-delay: .06s; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: .12s; }
.mobile-menu.is-open a:nth-child(3) { transition-delay: .18s; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: .24s; }
.mobile-menu.is-open a:nth-child(5) { transition-delay: .30s; }
.mobile-menu a:hover { color: var(--gold-lit); }
.mobile-menu-note { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--sage-400); }

/* ═══ HERO ═════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 8vh) 0 clamp(80px, 12vh, 130px);
  display: flex; align-items: flex-end;
  overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: -16% 0; z-index: -1; will-change: transform; }
.hero-video {
  width: 100%; height: 100%; object-fit: cover;
  background: var(--sage-900) url("assets/video/ritual-hero-poster.jpg") center/cover no-repeat;
}
/* Two passes: a light vertical wash so the header and the marquee edge stay
   readable, plus a stronger left-hand ramp behind the text column. Kept off
   the right side so the product photography actually shows through. */
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(21,26,18,.52) 0%, rgba(21,26,18,.07) 30%, rgba(21,26,18,.16) 60%, rgba(21,26,18,.82) 100%),
    linear-gradient(96deg, rgba(21,26,18,.78) 0%, rgba(21,26,18,.55) 30%, rgba(21,26,18,.18) 62%, rgba(21,26,18,0) 88%);
}
.hero-grain {
  position: absolute; inset: 0; opacity: .28; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23g)' opacity='.5'/%3E%3C/svg%3E");
}

.hero-inner { color: var(--ivory); }
.hero-inner .eyebrow { color: var(--gold-lit); }
.hero-title {
  max-width: 17ch;
  margin: 0 0 22px;
  color: var(--ivory);
  text-shadow: 0 2px 40px rgba(15, 20, 12, .35);
}
.hero-lede {
  max-width: 50ch;
  color: rgba(253, 250, 244, .84);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  font-weight: 300;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; padding: 0; list-style: none; }
.hero-trust li {
  position: relative; padding-left: 19px;
  font-size: .8rem; color: rgba(253, 250, 244, .74);
}
.hero-trust li::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 7px; height: 7px; margin-top: -3.5px;
  background: var(--gold-lit); transform: rotate(45deg);
}

/* WCAG 2.2.2 — auto-playing motion must be pausable */
.video-toggle {
  position: absolute; right: var(--gutter); bottom: clamp(80px, 12vh, 130px); z-index: 3;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(253, 250, 244, .35); border-radius: 999px;
  transition: background .4s var(--ease);
}
.video-toggle:hover { background: rgba(253, 250, 244, .14); }
.video-bars { display: flex; align-items: center; gap: 2.5px; height: 16px; }
.video-bars i { width: 2px; height: 4px; background: var(--ivory); border-radius: 2px; transition: height .3s var(--ease); }
.video-toggle.is-playing .video-bars i { animation: eq 1.1s ease-in-out infinite; }
.video-toggle.is-playing .video-bars i:nth-child(2) { animation-delay: .18s; }
.video-toggle.is-playing .video-bars i:nth-child(3) { animation-delay: .36s; }
.video-toggle.is-playing .video-bars i:nth-child(4) { animation-delay: .54s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 15px; } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 24px; z-index: 3;
  display: grid; justify-items: center; gap: 10px;
  transform: translateX(-50%); color: rgba(253, 250, 244, .6);
}
.scroll-cue-line {
  width: 1px; height: 42px;
  background: linear-gradient(180deg, transparent, rgba(253, 250, 244, .7));
  animation: cue 2.4s var(--ease-io) infinite; transform-origin: 50% 0;
}
@keyframes cue { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: 50% 100%; } }
.scroll-cue-text { font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; }

/* ── Marquee ───────────────────────────────────────────── */
.marquee {
  overflow: hidden; padding: 22px 0;
  background: var(--sage-950); color: var(--ivory);
  border-block: 1px solid rgba(179, 148, 78, .22);
}
.marquee-track {
  display: flex; align-items: center; gap: clamp(26px, 4vw, 52px);
  width: max-content; animation: slide 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee span { font-family: var(--ff-display); font-size: clamp(1.35rem, 2.3vw, 2.1rem); white-space: nowrap; }
.marquee i { color: var(--gold); font-style: normal; font-size: .78rem; }

/* ═══ CATEGORY TILES ═══════════════════════════════════ */
.cats { padding: var(--sec-y) 0 0; }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.5vw, 20px);
}
.cat {
  display: flex; flex-direction: column;
  border: 1px solid rgba(36, 31, 24, .09);
  border-radius: var(--r-lg);
  background: rgba(253, 250, 244, .74);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.cat:hover { transform: translateY(-5px); border-color: rgba(179, 148, 78, .4); box-shadow: var(--shadow-md); }
.cat-img { display: block; aspect-ratio: 5 / 4; overflow: hidden; background: var(--linen); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cat:hover .cat-img img { transform: scale(1.06); }
.cat-body { display: grid; gap: 4px; padding: 18px 20px 22px; }
.cat-body b { font-family: var(--ff-display); font-size: 1.4rem; font-weight: 500; }
.cat-body i { font-style: normal; font-size: .85rem; color: var(--muted); line-height: 1.5; }
.cat-body em {
  font-style: normal; margin-top: 6px;
  font-size: .72rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold);
}

/* ═══ QUIZ ═════════════════════════════════════════════ */
.quiz {
  padding: var(--sec-y) 0;
  margin-top: var(--sec-y);
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(92, 112, 80, .1), transparent 70%),
    linear-gradient(180deg, rgba(236, 225, 207, .5), rgba(247, 241, 229, 0));
}

.quiz-card {
  border: 1px solid rgba(179, 148, 78, .28);
  border-radius: var(--r-xl);
  background: rgba(253, 250, 244, .9);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* progress track */
.quiz-track {
  display: flex; margin: 0; padding: 0; list-style: none;
  border-bottom: 1px solid rgba(36, 31, 24, .09);
  background: rgba(236, 225, 207, .34);
}
.quiz-track li {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 8px;
  font-size: .76rem; color: var(--muted);
  transition: color .4s var(--ease), background .4s var(--ease);
}
.quiz-track li + li { border-left: 1px solid rgba(36, 31, 24, .07); }
.quiz-track li span {
  display: grid; place-items: center;
  width: 23px; height: 23px; flex-shrink: 0;
  border: 1px solid currentColor; border-radius: 999px;
  font-size: .7rem; font-weight: 600;
}
.quiz-track li i { font-style: normal; white-space: nowrap; }
.quiz-track li.is-current { color: var(--sage-900); background: rgba(253, 250, 244, .9); font-weight: 600; }
.quiz-track li.is-current span { background: var(--sage-900); color: var(--ivory); border-color: var(--sage-900); }
.quiz-track li.is-done { color: var(--gold); }
.quiz-track li.is-done span { background: var(--gold); border-color: var(--gold); color: var(--sage-950); }

.quiz-body { padding: clamp(24px, 3.4vw, 44px); }
.quiz-panel { display: none; }
.quiz-panel.is-active { display: block; animation: panelIn .5s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } }

.quiz-q {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  margin-bottom: 8px;
}
.quiz-sub { margin-bottom: 22px; color: var(--muted); font-size: .93rem; max-width: 60ch; }
.quiz-q + .path-grid, .quiz-q + .opt-grid { margin-top: 22px; }

/* step 1 — the four paths */
.path-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.2vw, 16px); }
.path {
  display: grid; align-content: start; gap: 7px;
  padding: 24px 20px 22px;
  text-align: left;
  border: 1px solid rgba(36, 31, 24, .13);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .55);
  transition: transform .4s var(--ease), border-color .4s, background .4s, box-shadow .4s;
}
.path:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow-sm); }
.path.is-chosen { border-color: var(--sage-800); background: rgba(92, 112, 80, .1); box-shadow: inset 0 0 0 1px var(--sage-800); }
.path-icon { font-size: 1.7rem; line-height: 1; color: var(--gold); }
.path b { font-family: var(--ff-display); font-size: 1.35rem; font-weight: 500; }
.path i { font-style: normal; font-size: .84rem; color: var(--muted); line-height: 1.5; }
.path-note {
  font-style: normal; margin-top: 4px;
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}

/* option grids */
.opt-grid { display: grid; gap: 10px; }
.opt-2 { grid-template-columns: repeat(2, 1fr); }
.opt-3 { grid-template-columns: repeat(3, 1fr); }
.opt-4 { grid-template-columns: repeat(4, 1fr); }
.opt-moon { grid-template-columns: repeat(2, 1fr); }
.opt-zodiac { grid-template-columns: repeat(6, 1fr); }

.opt {
  position: relative;
  display: grid; align-content: start; gap: 5px;
  padding: 17px 18px;
  text-align: left;
  border: 1px solid rgba(36, 31, 24, .13);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .55);
  transition: transform .35s var(--ease), border-color .35s, background .35s;
}
.opt:hover { transform: translateY(-3px); border-color: var(--gold); }
.opt.is-chosen { border-color: var(--sage-800); background: rgba(92, 112, 80, .1); box-shadow: inset 0 0 0 1px var(--sage-800); }
.opt b { font-family: var(--ff-display); font-size: 1.22rem; font-weight: 500; line-height: 1.2; }
.opt i { font-style: normal; font-size: .78rem; color: var(--muted); line-height: 1.45; }
.opt-glyph { font-size: 1.5rem; line-height: 1; color: var(--gold); }

.opt-moon .opt { padding: 22px 22px; }
.opt-moon .opt-glyph { font-size: 1.8rem; }

.opt-zodiac .opt { justify-items: center; text-align: center; padding: 16px 8px; gap: 3px; }
.opt-zodiac .opt b { font-size: 1rem; }
.opt-zodiac .opt i { font-size: .68rem; }
.opt-zodiac .opt-glyph { font-size: 1.5rem; }

.opt.is-tonight { border-color: var(--gold); }
.opt-flag {
  position: absolute; top: -9px; right: 14px;
  padding: 3px 10px; border-radius: 999px;
  background: var(--gold); color: var(--sage-950);
  font-style: normal; font-size: .6rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
}

.quiz-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 clamp(24px, 3.4vw, 44px) clamp(22px, 2.6vw, 32px);
}
.quiz-back, .quiz-restart {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .82rem; font-weight: 500; color: var(--muted);
  transition: color .3s var(--ease);
}
.quiz-back:hover, .quiz-restart:hover { color: var(--sage-900); }
.quiz-restart { margin-left: auto; text-decoration: underline; text-underline-offset: 3px; }

.quiz-disclaimer {
  margin-top: 18px; text-align: center;
  font-size: .76rem; color: var(--muted);
}

/* ── Quiz result ───────────────────────────────────────── */
.quiz-result { display: none; }
.quiz-result.is-active { display: grid; gap: clamp(18px, 2.4vw, 28px); }

.result-main {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(18px, 2.6vw, 34px);
  align-items: center;
}
.result-media { border-radius: var(--r-md); overflow: hidden; background: var(--linen); }
.result-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.result-copy h3 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin-bottom: 12px; }
.result-why { font-size: 1rem; color: var(--ink-soft); margin-bottom: 10px; }
.result-tail { font-size: .92rem; color: var(--muted); margin-bottom: 14px; }
.result-stones {
  font-size: .7rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.result-buy { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.result-buy .price { font-family: var(--ff-display); font-size: 1.9rem; color: var(--sage-900); }

/* the printed-card preview */
.result-card {
  position: relative;
  padding: 30px 28px 26px;
  text-align: center;
  border: 1px solid rgba(179, 148, 78, .5);
  border-radius: var(--r-md);
  background: linear-gradient(160deg, #fffdf8, var(--cream));
  box-shadow: inset 0 0 0 4px rgba(253, 250, 244, .9), inset 0 0 0 5px rgba(179, 148, 78, .28);
}
.result-card h4 {
  font-family: var(--ff-display); font-size: 1.6rem; font-weight: 500;
  letter-spacing: 0; text-transform: none; color: var(--sage-950);
  margin-bottom: 16px;
}
.rc-mark { display: block; color: var(--gold); font-size: .9rem; margin-bottom: 8px; }
.rc-label {
  font-size: .62rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold); margin-top: 14px;
}
.rc-text { font-size: .92rem; color: var(--ink-soft); max-width: 46ch; margin-inline: auto; line-height: 1.6; }
.rc-affirm { font-family: var(--ff-display); font-style: italic; font-size: 1.15rem; }
.rc-foot {
  display: block; margin-top: 20px;
  font-size: .6rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted);
}

.result-alts h4 { color: var(--muted); margin-bottom: 12px; }
.alt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.alt {
  display: grid; grid-template-columns: 60px 1fr auto;
  gap: 14px; align-items: center;
  padding: 12px; border-radius: var(--r-sm);
  border: 1px solid rgba(36, 31, 24, .1);
  background: rgba(255, 255, 255, .5);
}
.alt img { width: 60px; height: 60px; object-fit: cover; border-radius: 10px; }
.alt b { display: block; font-size: .88rem; font-weight: 500; line-height: 1.35; }
.alt span { font-size: .8rem; color: var(--muted); }
.alt-add {
  padding: 9px 16px; border-radius: 999px;
  background: var(--gold-pale); color: var(--sage-950);
  font-size: .78rem; font-weight: 600;
  transition: background .3s var(--ease), color .3s;
}
.alt-add:hover { background: var(--sage-900); color: var(--ivory); }

.result-actions {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  padding-top: 20px; border-top: 1px solid rgba(36, 31, 24, .1);
}
.save-match { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 300px; }
.save-match input {
  flex: 1 1 180px; height: 52px; padding: 0 20px;
  border: 1px solid rgba(36, 31, 24, .16); border-radius: 999px;
  background: rgba(255, 255, 255, .6); outline: none;
  transition: border-color .3s var(--ease);
}
.save-match input:focus { border-color: var(--gold); background: #fff; }
.save-msg { flex-basis: 100%; min-height: 18px; font-size: .8rem; color: var(--gold); }

/* ═══ SHOP ═════════════════════════════════════════════ */
.shop { padding: var(--sec-y) 0; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 2.6vw, 36px); }
.chip {
  padding: 10px 19px;
  border: 1px solid rgba(36, 31, 24, .14); border-radius: 999px;
  font-size: .82rem; font-weight: 500; color: var(--ink-soft);
  background: rgba(253, 250, 244, .5);
  transition: background .35s var(--ease), color .35s, border-color .35s, transform .3s var(--ease);
}
.chip:hover { transform: translateY(-2px); border-color: rgba(179, 148, 78, .5); }
.chip.is-active { background: var(--sage-900); border-color: var(--sage-900); color: var(--ivory); }

/* Uniform grid — every card the same shape, easy to compare and scan. */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}
.product {
  display: flex; flex-direction: column;
  border: 1px solid rgba(36, 31, 24, .08);
  border-radius: var(--r-lg);
  background: rgba(253, 250, 244, .74);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.product:hover { transform: translateY(-6px); border-color: rgba(179, 148, 78, .38); box-shadow: var(--shadow-lg); }
.product.is-hidden { display: none; }

.product-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--linen); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.product:hover .product-media img { transform: scale(1.06); }

.badge {
  position: absolute; top: 14px; left: 14px;
  padding: 7px 13px; border-radius: 999px;
  font-size: .65rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  backdrop-filter: blur(10px);
}
.badge-gold { background: rgba(238, 224, 192, .93); color: var(--sage-900); }
.badge-dark { background: rgba(27, 33, 23, .82); color: var(--gold-lit); }

.quick-add {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  height: 44px; border-radius: 999px;
  background: rgba(253, 250, 244, .94); backdrop-filter: blur(10px);
  color: var(--sage-950); font-size: .82rem; font-weight: 600;
  opacity: 0; transform: translateY(12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), background .3s, color .3s;
}
.product:hover .quick-add, .quick-add:focus-visible { opacity: 1; transform: none; }
.quick-add:hover { background: var(--sage-900); color: var(--ivory); }
.quick-add.is-done { background: var(--gold); color: var(--sage-950); opacity: 1; transform: none; }

.product-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.product-meta {
  margin-bottom: 9px;
  font-size: .64rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold);
}
.product-body h3 { margin-bottom: 10px; }
.product-desc { flex: 1; margin-bottom: 18px; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.product-foot { display: flex; align-items: baseline; gap: 10px; }
.price { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 500; color: var(--sage-900); }
.price-was { color: var(--muted); font-size: .88rem; }
.product-note {
  margin-left: auto; font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--sage-600);
}
.product-note.is-urgent { color: #a4603c; }

.empty-state { margin-top: 36px; text-align: center; color: var(--muted); }

/* ═══ HOW IT WORKS ═════════════════════════════════════ */
.how { padding: var(--sec-y) 0; }
.how-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 26px);
  margin: 0; padding: 0; list-style: none;
}
.how-step {
  padding: 32px 26px 30px;
  border: 1px solid rgba(36, 31, 24, .09);
  border-radius: var(--r-lg);
  background: rgba(253, 250, 244, .58);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.how-step:hover { transform: translateY(-5px); border-color: rgba(179, 148, 78, .34); box-shadow: var(--shadow-md); }
.step-num {
  display: block; margin-bottom: 18px;
  font-family: var(--ff-display); font-size: 2.2rem; font-style: italic;
  color: var(--gold); opacity: .85;
}
.how-step h3 { margin-bottom: 10px; }
.how-step p { color: var(--muted); font-size: .92rem; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid rgba(36, 31, 24, .12);
}
.stat b {
  display: block;
  font-family: var(--ff-display); font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1; color: var(--sage-800);
}
.stat span {
  display: block; margin-top: 9px;
  font-size: .7rem; letter-spacing: .17em; text-transform: uppercase; color: var(--muted);
}

/* ═══ RITUAL — sticky scroll sequence ══════════════════ */
.ritual { position: relative; height: 420vh; }
.ritual-sticky {
  position: sticky; top: 0; height: 100svh;
  display: grid; align-items: center; overflow: hidden;
  background: var(--sage-950); color: var(--ivory);
}
.ritual-grid {
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(32px, 5vw, 88px); align-items: center;
}
.ritual-media {
  position: relative; aspect-ratio: 4 / 3;
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
.ritual-frame {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1s var(--ease), transform 1.4s var(--ease);
}
.ritual-frame.is-active { opacity: 1; transform: scale(1); }
.ritual-frame img { width: 100%; height: 100%; object-fit: cover; }
.ritual-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 20, 12, .5));
  mix-blend-mode: multiply;
}

.ritual-copy .eyebrow { color: var(--gold-lit); }
.ritual-steps { margin: 0 0 30px; padding: 0; list-style: none; }
.ritual-step {
  padding: 14px 0;
  opacity: .26; transform: translateY(6px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.ritual-step.is-active { opacity: 1; transform: none; }
.ritual-index { display: block; margin-bottom: 5px; font-size: .66rem; letter-spacing: .28em; color: var(--gold); }
.ritual-step h3 { color: var(--ivory); font-size: clamp(1.5rem, 3vw, 2.5rem); margin-bottom: 7px; }
.ritual-step p {
  max-width: 44ch; color: rgba(253, 250, 244, .68);
  font-size: .94rem; font-weight: 300;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .8s var(--ease), opacity .6s var(--ease);
}
.ritual-step.is-active p { max-height: 200px; opacity: 1; }

.ritual-rail {
  position: relative; height: 2px; margin-bottom: 30px;
  background: rgba(253, 250, 244, .16); border-radius: 2px; overflow: hidden;
}
.ritual-rail-fill {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-lit));
  transform: scaleX(0); transform-origin: 0 50%;
}

/* ═══ INSIDE — horizontal scroll ═══════════════════════ */
.inside { position: relative; height: 340vh; background: var(--ivory); }
.inside-sticky {
  position: sticky; top: 0; height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  gap: clamp(22px, 3vw, 40px); overflow: hidden;
  padding-block: clamp(36px, 6vh, 64px);
}
.inside-head h2 { margin-top: 6px; }
.inside-track {
  display: flex; gap: clamp(16px, 2vw, 28px);
  padding-inline: max(var(--gutter), calc((100vw - var(--shell)) / 2));
  width: max-content; will-change: transform;
}
.inside-panel { width: clamp(240px, 28vw, 380px); margin: 0; flex-shrink: 0; }
.inside-img {
  aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden;
  background: var(--linen); box-shadow: var(--shadow-md);
}
.inside-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.inside-panel:hover .inside-img img { transform: scale(1.05); }
.inside-panel figcaption { display: grid; gap: 5px; padding: 18px 4px 0; }
.inside-panel span { font-size: .66rem; letter-spacing: .24em; color: var(--gold); }
.inside-panel b { font-family: var(--ff-display); font-size: 1.35rem; font-weight: 500; }
.inside-panel i { font-style: normal; color: var(--muted); font-size: .85rem; line-height: 1.55; }

.inside-progress {
  width: min(var(--shell), 100% - var(--gutter) * 2); margin-inline: auto;
  height: 2px; background: rgba(36, 31, 24, .12); border-radius: 2px; overflow: hidden;
}
.inside-progress span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-lit));
  transform: scaleX(0); transform-origin: 0 50%;
}

/* ═══ VIDEO BAND ═══════════════════════════════════════ */
.band {
  position: relative; display: grid; place-items: center;
  min-height: 86svh; padding: var(--sec-y) 0;
  overflow: hidden; isolation: isolate; text-align: center; color: var(--ivory);
}
.band-media { position: absolute; inset: -16% 0; z-index: -1; will-change: transform; }
.band-video { width: 100%; height: 100%; object-fit: cover; }
.band-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(21,26,18,.86), rgba(21,26,18,.68) 45%, rgba(21,26,18,.9));
}
.band-inner { display: grid; justify-items: center; }
.band-inner h2 { color: var(--ivory); margin-bottom: 20px; }
.band-inner .eyebrow { color: var(--gold-lit); }
.band-lede { max-width: 50ch; color: rgba(253, 250, 244, .78); font-weight: 300; }

.countdown { display: flex; gap: clamp(10px, 2vw, 22px); margin: 34px 0 32px; }
.countdown div {
  display: grid; gap: 6px; min-width: clamp(64px, 8vw, 84px);
  padding: 15px 10px;
  border: 1px solid rgba(253, 250, 244, .2); border-radius: var(--r-sm);
  background: rgba(253, 250, 244, .06); backdrop-filter: blur(6px);
}
.countdown b {
  font-family: var(--ff-display); font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1; font-variant-numeric: tabular-nums;
}
.countdown span { font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(253, 250, 244, .6); }

/* ═══ REVIEWS ══════════════════════════════════════════ */
.reviews { padding: var(--sec-y) 0; overflow: hidden; }
.review-rows { display: grid; gap: clamp(12px, 1.5vw, 20px); }
.review-row { overflow: hidden; }
.review-track { display: flex; gap: clamp(12px, 1.5vw, 20px); width: max-content; will-change: transform; }
.review-track blockquote {
  width: clamp(270px, 26vw, 380px); margin: 0; padding: 28px 26px;
  border: 1px solid rgba(36, 31, 24, .09); border-radius: var(--r-lg);
  background: rgba(253, 250, 244, .74); flex-shrink: 0;
  transition: border-color .5s var(--ease), transform .5s var(--ease);
}
.review-track blockquote:hover { border-color: rgba(179, 148, 78, .4); transform: translateY(-4px); }
.review-track p {
  font-family: var(--ff-display); font-size: clamp(1.1rem, 1.5vw, 1.32rem);
  font-style: italic; font-weight: 300; line-height: 1.45; color: var(--ink-soft);
}
.review-track cite {
  display: block; margin-top: 18px; font-style: normal;
  font-size: .66rem; font-weight: 600; letter-spacing: .17em;
  text-transform: uppercase; color: var(--gold);
}

/* ═══ FAQ ══════════════════════════════════════════════ */
.faq {
  display: grid; grid-template-columns: .8fr 1.2fr;
  gap: clamp(28px, 5vw, 72px);
  padding: var(--sec-y) 0; align-items: start;
}
.faq-head { position: sticky; top: calc(var(--header-h) + 34px); }
.faq-list { display: grid; }
.faq-item { border-top: 1px solid rgba(36, 31, 24, .13); }
.faq-item:last-child { border-bottom: 1px solid rgba(36, 31, 24, .13); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0;
  font-family: var(--ff-display); font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  color: var(--sage-950); cursor: pointer; list-style: none;
  transition: color .35s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold); }
.faq-item summary::after {
  content: ""; flex-shrink: 0; width: 13px; height: 13px;
  background: currentColor;
  clip-path: polygon(45% 0, 55% 0, 55% 45%, 100% 45%, 100% 55%, 55% 55%, 55% 100%, 45% 100%, 45% 55%, 0 55%, 0 45%, 45% 45%);
  transition: transform .45s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(135deg); }
/* height is animated from JS (Web Animations API) — no CSS transition here */
.faq-body { overflow: hidden; }
.faq-body p { padding-bottom: 26px; max-width: 62ch; color: var(--muted); font-size: .94rem; }
.faq-body a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ═══ SIGNUP ═══════════════════════════════════════════ */
.signup { padding: var(--sec-y) 0; background: var(--sage-950); color: var(--ivory); }
.signup-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.signup h2 { color: var(--ivory); margin-bottom: 14px; }
.signup-copy p:not(.eyebrow) { color: rgba(253, 250, 244, .68); max-width: 46ch; font-weight: 300; }
.signup-form { display: flex; flex-wrap: wrap; gap: 10px; }
.signup-form input {
  flex: 1 1 240px; height: 52px; padding: 0 22px;
  border: 1px solid rgba(253, 250, 244, .26); border-radius: 999px;
  background: rgba(253, 250, 244, .07); color: var(--ivory); outline: none;
  transition: border-color .3s var(--ease), background .3s;
}
.signup-form input::placeholder { color: rgba(253, 250, 244, .42); }
.signup-form input:focus { border-color: var(--gold); background: rgba(253, 250, 244, .12); }
.signup-form .btn-dark { --btn-bg: var(--gold); --btn-fg: var(--sage-950); }
.signup-form .btn-dark::before { background: linear-gradient(120deg, var(--ivory), var(--gold-pale)); }
.signup-msg { flex-basis: 100%; min-height: 20px; font-size: .82rem; color: var(--gold-lit); }

/* ═══ FOOTER ═══════════════════════════════════════════ */
.footer { padding: clamp(50px, 6vw, 80px) 0 28px; background: var(--sage-900); color: var(--ivory); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: clamp(26px, 4vw, 52px); }
.footer-brand img { margin-bottom: 18px; }
.footer-tag { font-family: var(--ff-display); font-size: 1.42rem; line-height: 1.35; color: rgba(253, 250, 244, .82); }
.footer-col { display: grid; align-content: start; gap: 10px; }
.footer-col h4 { margin-bottom: 6px; color: var(--gold); }
.footer-col a {
  font-size: .87rem; color: rgba(253, 250, 244, .68); width: fit-content;
  transition: color .3s var(--ease), transform .3s var(--ease);
}
.footer-col a:hover { color: var(--gold-lit); transform: translateX(3px); }
.footer-base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: clamp(36px, 4vw, 56px); padding-top: 22px;
  border-top: 1px solid rgba(253, 250, 244, .12);
  color: rgba(253, 250, 244, .48); font-size: .75rem; letter-spacing: .07em;
}

/* ═══ BAG DRAWER ═══════════════════════════════════════ */
.bag { position: fixed; inset: 0; z-index: 150; pointer-events: none; }
.bag[aria-hidden="false"] { pointer-events: auto; }
.bag-scrim {
  position: absolute; inset: 0;
  background: rgba(21, 26, 18, .42); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .5s var(--ease);
}
.bag[aria-hidden="false"] .bag-scrim { opacity: 1; }
.bag-panel {
  position: absolute; top: 0; right: 0;
  display: flex; flex-direction: column;
  width: min(440px, 100%); height: 100%;
  background: var(--ivory); box-shadow: -30px 0 90px rgba(21, 26, 18, .28);
  transform: translateX(100%); transition: transform .6s var(--ease);
}
.bag[aria-hidden="false"] .bag-panel { transform: none; }

.bag-head { display: flex; align-items: center; justify-content: space-between; padding: 24px 24px 16px; }
.bag-head h2 { font-size: 1.9rem; }
.bag-close {
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid rgba(36, 31, 24, .14); border-radius: 999px;
  transition: background .3s var(--ease), transform .4s var(--ease);
}
.bag-close:hover { background: var(--linen); transform: rotate(90deg); }

.ship-meter { padding: 0 24px 18px; }
.ship-meter p { font-size: .78rem; color: var(--muted); margin-bottom: 8px; }
.ship-meter p b { color: var(--sage-800); }
.ship-bar { height: 5px; border-radius: 999px; background: var(--linen); overflow: hidden; }
.ship-bar span {
  display: block; height: 100%; width: 0%; border-radius: 999px;
  background: linear-gradient(90deg, var(--sage-600), var(--gold));
  transition: width .7s var(--ease);
}

.bag-items { flex: 1; overflow-y: auto; padding: 0 24px; display: grid; gap: 10px; align-content: start; }
.bag-empty { padding: 36px 24px; color: var(--muted); font-size: .9rem; }
.bag-line {
  display: grid; grid-template-columns: 62px 1fr auto; gap: 13px; align-items: center;
  padding: 11px; border-radius: var(--r-sm); background: var(--cream);
  animation: lineIn .45s var(--ease) both;
}
@keyframes lineIn { from { opacity: 0; transform: translateX(16px); } }
.bag-line img { width: 62px; height: 62px; object-fit: cover; border-radius: 10px; }
.bag-line-name { font-size: .86rem; font-weight: 500; line-height: 1.35; }
.bag-line-sub { display: block; margin-top: 3px; font-size: .73rem; color: var(--muted); }
.bag-line-price { font-family: var(--ff-display); font-size: 1.08rem; }
.qty { display: inline-flex; align-items: center; gap: 2px; margin-top: 6px; }
.qty button {
  display: grid; place-items: center; width: 24px; height: 24px;
  border: 1px solid rgba(36, 31, 24, .16); border-radius: 7px;
  font-size: .95rem; line-height: 1;
  transition: background .25s, color .25s;
}
.qty button:hover { background: var(--sage-900); color: var(--ivory); }
.qty output { min-width: 26px; text-align: center; font-size: .82rem; font-variant-numeric: tabular-nums; }

.bag-foot { padding: 18px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(36, 31, 24, .1); }
.bag-total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.bag-total span { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.bag-total b { font-family: var(--ff-display); font-size: 1.9rem; }
.bag-note { display: block; margin-top: 11px; font-size: .71rem; line-height: 1.5; color: var(--muted); text-align: center; }

/* ═══ Mobile CTA · Toast · Cursor ══════════════════════ */
.mobile-cta {
  position: fixed; left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90;
  display: none; align-items: center; gap: 8px;
  padding: 9px; border-radius: 999px;
  background: rgba(253, 250, 244, .94); backdrop-filter: blur(18px);
  box-shadow: 0 14px 40px rgba(21, 26, 18, .2);
  transform: translateY(150%); transition: transform .6s var(--ease);
}
.mobile-cta.is-in { transform: none; }
.mobile-cta .btn { flex: 1; min-height: 46px; padding: 0 14px; font-size: .82rem; }

.toast {
  position: fixed; left: 50%; bottom: 32px; z-index: 160;
  padding: 13px 24px; border-radius: 999px;
  background: var(--sage-950); color: var(--ivory);
  font-size: .84rem; white-space: nowrap;
  opacity: 0; transform: translate(-50%, 20px); pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.toast.is-in { opacity: 1; transform: translate(-50%, 0); }

.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    position: fixed; top: 0; left: 0; z-index: 300;
    display: block; width: 32px; height: 32px; margin: -16px 0 0 -16px;
    border: 1px solid rgba(179, 148, 78, .6); border-radius: 50%;
    pointer-events: none; will-change: transform;
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s var(--ease), border-color .35s;
  }
  .cursor span {
    position: absolute; inset: 50%; width: 4px; height: 4px; margin: -2px 0 0 -2px;
    border-radius: 50%; background: var(--gold); transition: opacity .3s;
  }
  .cursor.is-hover { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: rgba(179, 148, 78, .13); border-color: transparent; }
  .cursor.is-hover span { opacity: 0; }
}

/* ═══ RESPONSIVE ═══════════════════════════════════════ */
@media (max-width: 1160px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .opt-zodiac { grid-template-columns: repeat(4, 1fr); }
  .header-cta { display: none; }
}

@media (max-width: 1000px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .bag-label { display: none; }
  .bag-btn { padding: 0 7px 0 12px; }

  .path-grid { grid-template-columns: repeat(2, 1fr); }
  .result-main { grid-template-columns: 1fr; }

  .ritual { height: 400vh; }
  .ritual-grid { grid-template-columns: 1fr; gap: 24px; }
  .ritual-media { aspect-ratio: 16 / 11; }
  .ritual-step { padding: 8px 0; }
  .ritual-step h3 { font-size: clamp(1.3rem, 5vw, 1.85rem); }
  .ritual-step p { font-size: .88rem; }
  .ritual-copy .btn { display: none; }

  .signup-inner, .faq { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .how-steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }

  .hero { min-height: 92svh; padding-bottom: 116px; }
  .hero-title { max-width: 100%; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .video-toggle { bottom: 112px; width: 40px; height: 40px; }
  .scroll-cue { display: none; }

  .cat-grid { grid-template-columns: 1fr; }
  .cat { flex-direction: row; align-items: center; }
  .cat-img { width: 116px; flex-shrink: 0; aspect-ratio: 1; }
  .cat-body { padding: 14px 16px; }
  .cat-body b { font-size: 1.2rem; }

  .product-grid { grid-template-columns: 1fr; }

  .quiz-track li i { display: none; }
  .quiz-track li { padding: 13px 6px; }
  .opt-3, .opt-4, .opt-moon { grid-template-columns: repeat(2, 1fr); }
  .opt-zodiac { grid-template-columns: repeat(3, 1fr); }
  .alt-grid { grid-template-columns: 1fr; }
  .result-buy .btn { flex: 1; }

  .inside { height: 300vh; }
  .inside-panel { width: min(74vw, 310px); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-base { justify-content: flex-start; }

  .mobile-cta { display: flex; }
  .toast { bottom: 88px; font-size: .8rem; padding: 12px 20px; }
  .band { min-height: 78svh; }
  .countdown div { min-width: 58px; padding: 12px 6px; }
}

@media (max-width: 420px) {
  .countdown { gap: 8px; }
  .opt-3, .opt-4, .opt-moon { grid-template-columns: 1fr; }
  .path-grid { grid-template-columns: 1fr; }
}

/* ═══ NO JAVASCRIPT ════════════════════════════════════
   The pinned sections are scrubbed by JS. Without it they would be tall,
   empty dead zones — so unpin them and show the whole sequence instead. */
html:not(.js) .ritual { height: auto; }
html:not(.js) .ritual-sticky { position: static; height: auto; padding-block: var(--sec-y); }
html:not(.js) .ritual-grid { grid-template-columns: 1fr; gap: 36px; }
html:not(.js) .ritual-media { aspect-ratio: 16 / 10; }
html:not(.js) .ritual-step { opacity: 1; padding-block: 12px; }
html:not(.js) .ritual-step p { max-height: none; opacity: 1; }
html:not(.js) .ritual-rail { display: none; }

html:not(.js) .inside { height: auto; }
html:not(.js) .inside-sticky { position: static; height: auto; }
html:not(.js) .inside-track { width: auto; flex-wrap: wrap; justify-content: center; padding-inline: 0; }
html:not(.js) .inside-panel { width: min(310px, 100%); }
html:not(.js) .inside-progress { display: none; }

html:not(.js) .marquee-track { animation: none; }
/* the quiz needs JS; point people at the shop instead */
html:not(.js) .quiz-card, html:not(.js) .quiz-disclaimer { display: none; }

/* ═══ 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;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .js [data-split] .word > span { transform: none !important; }
  .js .curtain { display: none; }
  .cursor { display: none !important; }
  .hero-media, .band-media { transform: none !important; }
  .marquee-track, .review-track { animation: none !important; transform: none !important; }

  .ritual { height: auto; }
  .ritual-sticky { position: static; height: auto; padding-block: var(--sec-y); }
  .ritual-grid { grid-template-columns: 1fr; gap: 36px; }
  .ritual-media { aspect-ratio: 16 / 10; }
  .ritual-step { opacity: 1; padding-block: 12px; }
  .ritual-step p { max-height: none; opacity: 1; }
  .ritual-rail { display: none; }

  .inside { height: auto; }
  .inside-sticky { position: static; height: auto; }
  .inside-track { width: auto; flex-wrap: wrap; justify-content: center; padding-inline: 0; }
  .inside-panel { width: min(310px, 100%); }
  .inside-progress { display: none; }
}
