/* =====================================================================
   VANTA — styles
   Premium men's footwear. Near-black hero that inverts to a light
   collection, with a gold accent. Design system from ui-ux-pro-max:
   dark + gold palette, Cormorant/Montserrat, liquid-glass morph motion.
   Theme driven by `body.theme-light`; header chrome is theme-aware.
   ===================================================================== */

:root {
  --bg: #0c0a09;
  --surface: #1c1917;
  --fg: #faf9f7;
  --muted: #a8a29a;
  --gold: #ca8a04;
  --gold-hi: #e0a81e;

  --chrome-fg: #faf9f7;
  --chrome-bg: rgba(250, 249, 247, 0.06);
  --chrome-border: rgba(250, 249, 247, 0.26);

  --card-grad: radial-gradient(120% 105% at 50% 0%, #f3f1ec 0%, #e4e0d8 52%, #d0cbc0 100%);
  --ease: cubic-bezier(0.22, 0.61, 0.28, 1);

  /* z-index scale */
  --z-header: 100;
  --z-carousel: 60;
  --z-cue: 50;
  --z-deck: 40;
  --z-copy: 30;
}

body.theme-light {
  --bg: #faf9f7;
  --surface: #ffffff;
  --fg: #0c0a09;
  --muted: #57534e;
  --chrome-fg: #faf9f7;
  --chrome-bg: #1c1917;
  --chrome-border: #1c1917;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.85s var(--ease), color 0.85s var(--ease);
  overflow-x: hidden;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================ Header ============================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(20px, 4vw, 54px);
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--fg); }
.brand-mark { font-size: 18px; line-height: 1; color: var(--gold); transform: translateY(-1px); }
.brand-name {
  font-family: "Cormorant", serif;
  font-weight: 600;
  font-size: 25px;
  letter-spacing: 0.36em;
  padding-left: 0.36em;
}

.header-actions { display: flex; align-items: center; gap: 12px; }

.icon-btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 999px;
  border: 1px solid var(--chrome-border);
  background: var(--chrome-bg);
  color: var(--chrome-fg);
  cursor: pointer;
  transition: background-color 0.6s var(--ease), color 0.6s var(--ease),
    border-color 0.6s var(--ease), transform 0.2s var(--ease);
}
.icon-btn:hover { transform: translateY(-2px); }

.cta-btn {
  display: flex; align-items: center; gap: 9px;
  height: 44px; padding: 0 22px;
  border-radius: 999px;
  border: none;
  background: var(--gold);
  color: #0c0a09;
  font-family: "Montserrat", sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), transform 0.2s var(--ease), box-shadow 0.25s var(--ease);
}
.cta-btn:hover { background: var(--gold-hi); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(202, 138, 4, 0.35); }

/* ====================== Pinned stage ====================== */
.stage-wrap { height: 400vh; position: relative; }
.stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }

.hero-intro {
  position: absolute;
  top: 21vh; left: clamp(20px, 4vw, 54px);
  max-width: min(42ch, 34vw);
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
  z-index: var(--z-copy);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.hero-headline {
  position: absolute;
  top: 16vh; right: clamp(20px, 4vw, 54px);
  text-align: right;
  font-family: "Cormorant", serif;
  font-weight: 500;
  font-size: clamp(32px, 5.4vw, 80px);
  line-height: 0.98;
  letter-spacing: 0.04em;
  color: var(--fg);
  z-index: var(--z-copy);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.hero-headline span:last-child { color: var(--gold); }

/* ====================== Cards: fan (hero) -> product row (collection) ====================== */
.deck { position: absolute; inset: 0; z-index: var(--z-deck); }

.card {
  position: absolute;
  left: 50%; top: 50%;
  width: clamp(150px, 16vw, 214px);
  transform: translate(-50%, -46%) scale(0.86);
  opacity: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 34px 74px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.95s var(--ease),
    opacity 0.6s var(--ease),
    box-shadow 0.7s var(--ease);
  will-change: transform;
}
/* Stacking by distance from center, not DOM order — without this, plain
   document order makes card 5 sit above card 4 (both z-index:auto), so only
   the left half of the fan looked right (2 over 1) while the right half was
   backwards (5 over 4 instead of 4 over 5). */
.card:nth-child(1), .card:nth-child(5) { z-index: 1; }
.card:nth-child(2), .card:nth-child(4) { z-index: 2; }
.card:nth-child(3) { z-index: 3; }
.card-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--card-grad);
}
.card-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; object-position: center; padding: 13%;
  filter: drop-shadow(0 16px 16px rgba(20, 15, 8, 0.16));
  transition: transform 0.4s var(--ease);
}
.card:hover .card-photo img { transform: scale(1.05); }

.card .p-heart {
  position: absolute; top: 10px; left: 10px;
  width: 34px; height: 34px; display: grid; place-items: center;
  border: none; border-radius: 999px;
  background: rgba(255, 255, 255, 0.85); color: #1c1917; cursor: pointer;
  opacity: 0; transform: scale(0.8);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color 0.2s var(--ease);
}
.card .p-heart:hover { color: var(--gold); background: #fff; }

.card-info {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 8px;
  padding: 0 15px; max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.6s var(--ease), opacity 0.5s var(--ease), padding 0.6s var(--ease);
}
.ci-name { font-family: "Cormorant", serif; font-weight: 600; font-size: 17px; color: #14110d; line-height: 1.1; }
.ci-sub { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: #8a857c; margin-top: 4px; }
.ci-right { text-align: right; }
.ci-price { font-family: "Cormorant", serif; font-weight: 600; font-size: 18px; color: #0c0a09; white-space: nowrap; }
.ci-rating { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: var(--gold); margin-top: 4px; }

/* ---- Beat 0 (load, black): closed stacked deck ---- */
.stage[data-phase="0"] .card { opacity: 1; }
.stage[data-phase="0"] .card:nth-child(1) { transform: translate(calc(-50% - 14px), -50%) rotate(-6deg) scale(0.97); }
.stage[data-phase="0"] .card:nth-child(2) { transform: translate(calc(-50% - 7px), -50%) rotate(-3deg) scale(0.985); }
.stage[data-phase="0"] .card:nth-child(3) { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
.stage[data-phase="0"] .card:nth-child(4) { transform: translate(calc(-50% + 7px), -50%) rotate(3deg) scale(0.985); }
.stage[data-phase="0"] .card:nth-child(5) { transform: translate(calc(-50% + 14px), -50%) rotate(6deg) scale(0.97); }

/* ---- Beat 1 (scroll 1, black): fan open ---- */
.stage[data-phase="1"] .card { opacity: 1; }
.stage[data-phase="1"] .card:nth-child(1) { transform: translate(calc(-50% - 30vw), -50%) rotate(-8deg) scale(0.9); }
.stage[data-phase="1"] .card:nth-child(2) { transform: translate(calc(-50% - 15vw), -54%) rotate(-4deg) scale(0.96); }
.stage[data-phase="1"] .card:nth-child(3) { transform: translate(-50%, -57%) rotate(0deg) scale(1.06); }
.stage[data-phase="1"] .card:nth-child(4) { transform: translate(calc(-50% + 15vw), -54%) rotate(4deg) scale(0.96); }
.stage[data-phase="1"] .card:nth-child(5) { transform: translate(calc(-50% + 30vw), -50%) rotate(8deg) scale(0.9); }

/* ---- Beat 2 (scroll 2, black): even row, no labels ---- */
/* 2nd + 3rd scroll transitions run 20% faster (0.95s -> 0.76s) */
.stage[data-phase="2"] .card, .stage[data-phase="3"] .card { opacity: 1; transition-duration: 0.76s; }
.stage[data-phase="2"] .card:nth-child(1) { transform: translate(calc(-50% - 34vw), -50%) rotate(0deg) scale(1); }
.stage[data-phase="2"] .card:nth-child(2) { transform: translate(calc(-50% - 17vw), -50%) rotate(0deg) scale(1); }
.stage[data-phase="2"] .card:nth-child(3) { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
.stage[data-phase="2"] .card:nth-child(4) { transform: translate(calc(-50% + 17vw), -50%) rotate(0deg) scale(1); }
.stage[data-phase="2"] .card:nth-child(5) { transform: translate(calc(-50% + 34vw), -50%) rotate(0deg) scale(1); }

/* ---- Beat 3 (scroll 3, light): products, labels revealed ---- */
/* products sit low so the background branding reads above them */
.stage[data-phase="3"] .card { box-shadow: 0 20px 44px rgba(12, 10, 9, 0.13); }
.stage[data-phase="3"] .card:nth-child(1) { transform: translate(calc(-50% - 34vw), calc(-50% + 23vh)) rotate(0deg) scale(1); }
.stage[data-phase="3"] .card:nth-child(2) { transform: translate(calc(-50% - 17vw), calc(-50% + 23vh)) rotate(0deg) scale(1); }
.stage[data-phase="3"] .card:nth-child(3) { transform: translate(-50%, calc(-50% + 23vh)) rotate(0deg) scale(1); }
.stage[data-phase="3"] .card:nth-child(4) { transform: translate(calc(-50% + 17vw), calc(-50% + 23vh)) rotate(0deg) scale(1); }
.stage[data-phase="3"] .card:nth-child(5) { transform: translate(calc(-50% + 34vw), calc(-50% + 23vh)) rotate(0deg) scale(1); }
.stage[data-phase="3"] .card-info { max-height: 82px; opacity: 1; padding: 13px 15px 15px; }
.stage[data-phase="3"] .p-heart { opacity: 1; transform: none; }

/* ---- Textured light backdrop (products state) ---- */
.coll-bg {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden;
  opacity: 0; transition: opacity 0.8s var(--ease);
  background:
    radial-gradient(120% 90% at 50% -12%, rgba(202, 138, 4, 0.07), transparent 55%),
    radial-gradient(90% 70% at 50% 120%, rgba(28, 25, 23, 0.05), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f4f0e7 100%);
}
.stage[data-phase="3"] .coll-bg { opacity: 1; }
.coll-watermark {
  position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%);
  font-family: "Cormorant", serif; font-weight: 600; font-style: italic;
  font-size: 30vw; line-height: 1; white-space: nowrap; letter-spacing: -0.02em;
  color: rgba(28, 25, 23, 0.07); user-select: none;
}

/* ---- Caption over the black row (beat 2) ---- */
.row-caption {
  position: absolute; left: 0; right: 0; top: 16vh; z-index: var(--z-copy);
  text-align: center; opacity: 0; transform: translateY(-10px); pointer-events: none;
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.stage[data-phase="2"] .row-caption { opacity: 1; transform: none; }
.row-caption .eyebrow { color: var(--gold); }
.row-title { font-family: "Cormorant", serif; font-weight: 500; font-size: clamp(34px, 5vw, 64px); line-height: 1; color: #faf9f7; }

/* ---- Collection heading (products state) ---- */
.coll-head {
  position: absolute; left: clamp(20px, 4vw, 54px); right: clamp(20px, 4vw, 54px);
  top: 15vh; z-index: var(--z-copy);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  opacity: 0; transform: translateY(-14px); pointer-events: none;
  transition: opacity 0.6s var(--ease) 0.2s, transform 0.6s var(--ease) 0.2s;
}
.stage[data-phase="3"] .coll-head { opacity: 1; transform: none; pointer-events: auto; }
.coll-head .eyebrow { color: var(--gold-ink); }
.coll-title { font-family: "Cormorant", serif; font-weight: 500; font-size: clamp(34px, 5vw, 62px); line-height: 1; color: var(--fg); }
.coll-all {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  text-decoration: none; color: var(--fg);
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  border-bottom: 1px solid var(--gold); padding-bottom: 5px;
  transition: gap 0.25s var(--ease), color 0.25s var(--ease);
}
.coll-all:hover { gap: 14px; color: var(--gold-ink); }
.coll-all svg { color: var(--gold-ink); }

/* Hero copy visible only during the closed/fan beats */
.stage[data-phase="2"] .hero-intro, .stage[data-phase="3"] .hero-intro,
.stage[data-phase="2"] .hero-headline, .stage[data-phase="3"] .hero-headline { opacity: 0; transform: translateY(-12px); pointer-events: none; }

/* ====================== Scroll cue ====================== */
.scroll-cue {
  position: absolute;
  left: 50%; bottom: 34px;
  transform: translateX(-50%);
  z-index: var(--z-cue);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted);
  transition: opacity 0.5s var(--ease);
}
.scroll-line { width: 1px; height: 42px; background: currentColor; opacity: 0.5; animation: cue 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0.2); opacity: 0.2; } 50% { transform: scaleY(1); opacity: 0.6; } 100% { transform: scaleY(0.2); opacity: 0.2; } }
.stage[data-phase="3"] .scroll-cue { opacity: 0; }

/* ====================== Footer ====================== */
.site-footer { background: #faf9f7; color: #0c0a09; padding: clamp(48px, 8vw, 96px) clamp(20px, 4vw, 54px) 40px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.footer-brand { max-width: 300px; }
.footer-brand .brand-name { color: #0c0a09; font-size: 26px; }
.footer-tagline { margin-top: 18px; font-family: "Cormorant", serif; font-style: italic; font-size: 21px; color: #44403c; line-height: 1.4; }
.footer-cols { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 88px); }
.footer-col h4 { font-weight: 600; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 16px; color: #0c0a09; }
.footer-col a { display: block; text-decoration: none; color: #57534e; font-size: 14px; padding: 5px 0; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: clamp(40px, 6vw, 72px); padding-top: 24px;
  border-top: 1px solid rgba(12, 10, 9, 0.12);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-size: 12px; letter-spacing: 0.04em; color: #57534e;
}

/* ====================== Responsive (hero + header) ====================== */
@media (max-width: 820px) {
  /* --- header fits small screens (drop search, keep cart + Shop) --- */
  .site-header { padding: 15px 16px; }
  .brand-name { font-size: 20px; letter-spacing: 0.22em; padding-left: 0.22em; }
  .icon-btn { width: 40px; height: 40px; }
  .header-actions .icon-btn:first-child { display: none; }
  .cta-btn { height: 40px; padding: 0 15px; font-size: 12px; gap: 7px; }
  .header-actions { gap: 8px; }

  /* --- hero copy: stacked, no overlap.
         top values use max(vh, px) rather than plain vh — a phone with its
         address bar expanded (very common on first load / iPhone SE-class
         heights) can have a visible height as low as ~600px, and a pure vh
         value put the intro text right under the card deck. The px floor
         guarantees clearance regardless of viewport height. --- */
  .hero-headline {
    top: max(8vh, 84px); left: clamp(18px, 5vw, 54px); right: clamp(18px, 5vw, 54px);
    text-align: left; font-size: clamp(19px, 6.4vw, 32px); line-height: 1.05; letter-spacing: 0.01em;
  }
  .hero-intro {
    top: max(25vh, 172px); left: clamp(18px, 5vw, 54px); right: clamp(18px, 5vw, 54px);
    max-width: none; font-size: 12px; line-height: 1.55;
  }

  /* --- smaller cards, sat low (close to true vertical center) so they always
         clear the intro copy above them, on every phone height --- */
  .card { width: clamp(90px, 30vw, 130px); }
  .card-info { padding: 0 12px; }
  .stage[data-phase="1"] .card-info { padding: 9px 12px 11px; }
  .ci-name { font-size: 14px; }
  .ci-price { font-size: 15px; }

  .stage[data-phase="0"] .card:nth-child(1) { transform: translate(calc(-50% - 14px), -30%) rotate(-6deg) scale(0.97); }
  .stage[data-phase="0"] .card:nth-child(2) { transform: translate(calc(-50% - 7px), -30%) rotate(-3deg) scale(0.985); }
  .stage[data-phase="0"] .card:nth-child(3) { transform: translate(-50%, -30%) rotate(0deg) scale(1); }
  .stage[data-phase="0"] .card:nth-child(4) { transform: translate(calc(-50% + 7px), -30%) rotate(3deg) scale(0.985); }
  .stage[data-phase="0"] .card:nth-child(5) { transform: translate(calc(-50% + 14px), -30%) rotate(6deg) scale(0.97); }
  .stage[data-phase="1"] .card:nth-child(1) { transform: translate(calc(-50% - 22vw), -28%) rotate(-8deg) scale(0.78); }
  .stage[data-phase="1"] .card:nth-child(2) { transform: translate(calc(-50% - 11vw), -31%) rotate(-4deg) scale(0.86); }
  .stage[data-phase="1"] .card:nth-child(3) { transform: translate(-50%, -34%) rotate(0deg) scale(0.96); }
  .stage[data-phase="1"] .card:nth-child(4) { transform: translate(calc(-50% + 11vw), -31%) rotate(4deg) scale(0.86); }
  .stage[data-phase="1"] .card:nth-child(5) { transform: translate(calc(-50% + 22vw), -28%) rotate(8deg) scale(0.78); }

  /* --- beat 2: flatten + spread wider than the fan (22vw -> 30vw) — this is the
         visible "disperse" step. Stays absolute + transform like every other beat
         (previously this switched to position:relative + display:flex, which
         can't be transitioned — that's why the scroll into this beat used to
         snap instead of animating). --- */
  .stage[data-phase="2"] .card, .stage[data-phase="3"] .card { transition-duration: 0.76s; }
  .stage[data-phase="2"] .card:nth-child(1) { transform: translate(calc(-50% - 30vw), -30%) rotate(0deg) scale(0.84); }
  .stage[data-phase="2"] .card:nth-child(2) { transform: translate(calc(-50% - 15vw), -30%) rotate(0deg) scale(0.92); }
  .stage[data-phase="2"] .card:nth-child(3) { transform: translate(-50%, -30%) rotate(0deg) scale(1); }
  .stage[data-phase="2"] .card:nth-child(4) { transform: translate(calc(-50% + 15vw), -30%) rotate(0deg) scale(0.92); }
  .stage[data-phase="2"] .card:nth-child(5) { transform: translate(calc(-50% + 30vw), -30%) rotate(0deg) scale(0.84); }

  /* --- beat 3: same spread, settles further down to clear the collection heading above --- */
  .stage[data-phase="3"] .card:nth-child(1) { transform: translate(calc(-50% - 30vw), calc(-30% + 10vh)) rotate(0deg) scale(0.84); }
  .stage[data-phase="3"] .card:nth-child(2) { transform: translate(calc(-50% - 15vw), calc(-30% + 10vh)) rotate(0deg) scale(0.92); }
  .stage[data-phase="3"] .card:nth-child(3) { transform: translate(-50%, calc(-30% + 10vh)) rotate(0deg) scale(1); }
  .stage[data-phase="3"] .card:nth-child(4) { transform: translate(calc(-50% + 15vw), calc(-30% + 10vh)) rotate(0deg) scale(0.92); }
  .stage[data-phase="3"] .card:nth-child(5) { transform: translate(calc(-50% + 30vw), calc(-30% + 10vh)) rotate(0deg) scale(0.84); }
  /* Dragging (script.js) continuously rewrites every card's inline transform:
     same fixed slot X as above, always, only the SCALE changes as a wave
     sweeps across the row toward whichever card is nearest the drag. */
  .deck { touch-action: pan-y; }
  .deck.is-dragging .card { transition: none !important; } /* live-drag follows the finger with zero lag */

  /* --- collection heading + captions (same max(vh,px) floor as the hero copy) --- */
  .coll-head { top: max(7vh, 82px); flex-direction: column; align-items: flex-start; gap: 6px; }
  .coll-title { font-size: clamp(24px, 6.4vw, 34px); }
  .row-caption { top: max(8vh, 82px); }
  .row-title { font-size: clamp(22px, 6.4vw, 32px); }
  .coll-watermark { font-size: 42vw; top: 34%; }
}

/* Extremely short windows (landscape phones, split-screen): drop the intro
   line entirely rather than let it fight the deck for space. */
@media (max-width: 820px) and (max-height: 560px) {
  .hero-intro { display: none; }
  .hero-headline { top: max(9vh, 84px); }
}

/* =====================================================================
   HOMEPAGE SECTIONS (below the pinned hero)
   Page rhythm alternates dark / light to echo the hero's inversion.
   ===================================================================== */

:root { --gold-ink: #8a5e04; } /* gold that passes contrast on light backgrounds */

/* Per-section theme tokens (cascade to children) */
[data-theme="dark"] {
  --ink: #faf9f7; --ink-soft: #d6d2ca; --ink-muted: #a29c92;
  --eyebrow: var(--gold); --card: #161311; --card-2: #1e1a17;
  --hair: rgba(250, 249, 247, 0.12);
}
[data-theme="light"] {
  --ink: #0c0a09; --ink-soft: #3f3b36; --ink-muted: #57534e;
  --eyebrow: var(--gold-ink); --card: #ffffff; --card-2: #f2efe9;
  --hair: rgba(12, 10, 9, 0.1);
}

.section {
  position: relative;
  padding: clamp(72px, 11vw, 150px) 0;
  background: var(--bg-sec, #faf9f7);
  color: var(--ink);
}
.section[data-theme="dark"] { --bg-sec: #0c0a09; }
.section[data-theme="light"] { --bg-sec: #faf9f7; }
/* subtle warmth so light sections do not read flat */
.section[data-theme="light"]::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(75% 48% at 50% 0%, rgba(202, 138, 4, 0.05), transparent 62%);
}
.section > .container { position: relative; z-index: 1; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 54px); }
.container.center { text-align: center; display: flex; flex-direction: column; align-items: center; }

.eyebrow {
  font-family: "Montserrat", sans-serif;
  font-weight: 600; font-size: 12px;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--eyebrow); margin-bottom: 16px;
}
.section-title {
  font-family: "Cormorant", serif; font-weight: 500;
  font-size: clamp(32px, 5vw, 62px); line-height: 1.02;
  letter-spacing: 0.01em; color: var(--ink);
}
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn-gold {
  display: inline-flex; align-items: center; gap: 9px;
  height: 50px; padding: 0 28px;
  border: none; border-radius: 999px;
  background: var(--gold); color: #0c0a09;
  font-family: "Montserrat", sans-serif; font-weight: 600;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), transform 0.2s var(--ease), box-shadow 0.25s var(--ease);
}
.btn-gold:hover { background: var(--gold-hi); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(202, 138, 4, 0.34); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal:nth-child(4) { transition-delay: 0.18s; }
.reveal:nth-child(5) { transition-delay: 0.24s; }

/* ---------- Header: backdrop + section-aware chrome ---------- */
body { --header-bg: rgba(12, 10, 9, 0.6); }
body.theme-light { --header-bg: rgba(250, 249, 247, 0.72); }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--header-bg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--chrome-border);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.site-header.scrolled::before { opacity: 1; }

/* ---------- Shop by category ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.cat-card {
  position: relative; display: block; cursor: pointer;
  border-radius: 16px; overflow: hidden;
  background: var(--card-2);
  text-align: left; border: 1px solid var(--hair);
  text-decoration: none; color: inherit;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.cat-card :where(.cat-name, .cat-meta) { text-decoration: none; }
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(12, 10, 9, 0.16); }
.cat-photo { position: relative; aspect-ratio: 4 / 3; background: var(--card-grad); }
.cat-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 13%; }
.cat-info { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 18px; }
.cat-name { font-family: "Cormorant", serif; font-weight: 600; font-size: 21px; color: #14110d; }
.cat-meta { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #8a857c; margin-top: 3px; }
.cat-arrow { color: #14110d; transition: transform 0.3s var(--ease), color 0.3s var(--ease); }
.cat-card:hover .cat-arrow { transform: translateX(4px); color: var(--gold-ink); }

/* ---------- Marquee ---------- */
.marquee { background: #0c0a09; color: #faf9f7; overflow: hidden; padding: 20px 0; border-block: 1px solid rgba(250, 249, 247, 0.1); }
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee 32s linear infinite; }
.marquee-item { display: inline-flex; align-items: center; gap: 26px; padding: 0 26px; white-space: nowrap; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: #cfc9c0; }
.marquee-item::after { content: "\2726"; color: var(--gold); font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Signature spotlight ---------- */
.spotlight-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.spotlight-media { position: relative; aspect-ratio: 5 / 4; display: grid; place-items: center; }
.spotlight-halo {
  position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(202, 138, 4, 0.28) 0%, rgba(202, 138, 4, 0.08) 42%, transparent 70%);
  filter: blur(6px);
}
.spotlight-media img { position: relative; width: 92%; height: 92%; object-fit: contain; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.55)); }
.spotlight-sub { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); margin: 6px 0 22px; }
.spotlight-text { font-size: clamp(15px, 1.15vw, 17px); line-height: 1.75; color: var(--ink-soft); max-width: 46ch; }
.spotlight-actions { display: flex; align-items: center; gap: 26px; margin-top: 34px; }
.price-lg { font-family: "Cormorant", serif; font-weight: 600; font-size: 30px; color: var(--ink); }

/* ---------- The Craft ---------- */
.craft-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 56px); }
.craft-item { text-align: left; }
.craft-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; border: 1px solid var(--hair); color: var(--gold-ink); margin-bottom: 22px; }
.craft-title { font-family: "Cormorant", serif; font-weight: 600; font-size: 24px; color: var(--ink); margin-bottom: 12px; }
.craft-copy { font-size: 15px; line-height: 1.7; color: var(--ink-muted); max-width: 40ch; }

/* ---------- Editorial banner ---------- */
.section-editorial { padding: clamp(96px, 15vw, 200px) 0; }
.editorial-title { font-family: "Cormorant", serif; font-weight: 500; font-size: clamp(44px, 8vw, 116px); line-height: 0.98; letter-spacing: 0.01em; color: var(--ink); }
.editorial-title em { font-style: italic; color: var(--gold); }
.editorial-copy { margin: 28px auto 40px; max-width: 46ch; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.7; color: var(--ink-soft); }

/* ---------- Social proof ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.testi-card { background: var(--card); border: 1px solid var(--hair); border-radius: 18px; padding: 30px 30px 28px; display: flex; flex-direction: column; }
.testi-stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 18px; }
.testi-quote { font-family: "Cormorant", serif; font-size: 21px; line-height: 1.4; color: var(--ink); flex: 1; }
.testi-who { margin-top: 24px; }
.testi-name { font-weight: 600; font-size: 14px; color: var(--ink); }
.testi-role { font-size: 12px; letter-spacing: 0.04em; color: var(--ink-muted); margin-top: 3px; }

.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: clamp(40px, 5vw, 72px); padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--hair); text-align: center;
}
.stat-value { font-family: "Cormorant", serif; font-weight: 600; font-size: clamp(30px, 3.4vw, 46px); color: var(--ink); }
.stat-label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); margin-top: 8px; }

/* ---------- Newsletter ---------- */
.section-news { padding: clamp(80px, 12vw, 160px) 0; }
.news-copy { margin: 20px auto 34px; max-width: 48ch; font-size: 16px; line-height: 1.7; color: var(--ink-soft); }
.news-form { display: flex; gap: 12px; width: min(520px, 100%); }
.news-form input {
  flex: 1; height: 54px; padding: 0 22px;
  border-radius: 999px; border: 1px solid var(--hair);
  background: rgba(255, 255, 255, 0.05); color: var(--ink);
  font-family: "Montserrat", sans-serif; font-size: 15px;
  transition: border-color 0.25s var(--ease);
}
.news-form input::placeholder { color: var(--ink-muted); }
.news-form input:focus { outline: none; border-color: var(--gold); }
.news-form .btn-gold { height: 54px; flex-shrink: 0; }
.news-thanks { margin-top: 22px; font-family: "Cormorant", serif; font-style: italic; font-size: 20px; color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .spotlight-grid { grid-template-columns: 1fr; text-align: left; }
  .spotlight-media { max-width: 460px; margin: 0 auto; }
  .craft-grid { grid-template-columns: 1fr; gap: 34px; }
  .testi-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
}
@media (max-width: 560px) {
  .cat-grid { grid-template-columns: 1fr; }
  .news-form { flex-direction: column; }
  .news-form .btn-gold { width: 100%; justify-content: center; }
}

/* ---------- Still mode (verification screenshots) ---------- */
.still .reveal { opacity: 1 !important; transform: none !important; }
.still *, .still *::before, .still *::after { transition: none !important; animation: none !important; }

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.001ms !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
