/* ============================================================
   LASH EMPIRE — Maison Nocturne
   A lash atelier, presented like a luxury beauty house.
   Drenched warm-black · ivory · luminous champagne.
   Display: Playfair Display · Body: Jost · OKLCH tokens.
   Motion craft after Emil Kowalski (custom easing, transform/
   opacity only, scale-on-press, staggered reveals).
   ------------------------------------------------------------
   Legacy var names (--cream / --ink / --champagne / --ink-soft
   / --cream-deep / --rose-nude) are kept as ALIASES so that
   script.js-generated markup and inline styles keep resolving.
   JS hooks preserved: .products .product-card .image-wrap
   .badge .quick .name .price · detail / cart / checkout /
   success classes · #featured-grid #shop-grid #nav-cart-count.
   ============================================================ */

:root {
  /* ---- Nocturnal palette (OKLCH) ---- */
  --bg:          oklch(0.165 0.007 62);   /* warm near-black page        */
  --bg-2:        oklch(0.190 0.008 60);   /* alternating section ground  */
  --surface:     oklch(0.222 0.010 60);   /* lifted panel / momo / cards */
  --surface-2:   oklch(0.272 0.012 58);   /* image placeholder ground    */
  --fg:          oklch(0.957 0.011 86);   /* warm ivory text             */
  --fg-soft:     oklch(0.815 0.013 82);   /* secondary text              */
  --muted:       oklch(0.672 0.013 78);   /* tertiary / small labels     */
  --accent:      oklch(0.845 0.072 76);   /* luminous champagne          */
  --accent-deep: oklch(0.752 0.090 66);   /* pressed / deeper accent     */
  --accent-dim:  oklch(0.845 0.072 76 / 0.16);
  --danger:      oklch(0.704 0.150 25);
  --line:        oklch(0.957 0.011 86 / 0.12);
  --line-strong: oklch(0.957 0.011 86 / 0.24);

  /* ---- Legacy aliases (do not remove — JS & inline depend) ---- */
  --cream:      var(--fg);
  --cream-deep: var(--surface-2);
  --ink:        var(--bg);
  --ink-soft:   var(--fg-soft);
  --champagne:  var(--accent);
  --rose-nude:  var(--accent-deep);

  --font-display: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', 'Helvetica Neue', Arial, sans-serif;

  /* ---- Rhythm ---- */
  --shell: 1320px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 10vw, 9rem);

  /* ---- Motion (Emil Kowalski curves) ---- */
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease:        var(--ease-out);

  --z-nav: 100;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* clip (not hidden): prevents horizontal scroll without promoting <body> to a scroll container, so window scroll + IntersectionObserver reveals work */
  /* Soft warm depth — cheap layered radial glows, no blend layers */
  background-image:
    radial-gradient(120% 80% at 100% -10%, oklch(0.845 0.072 76 / 0.06), transparent 60%),
    radial-gradient(90% 60% at -10% 110%, oklch(0.752 0.090 66 / 0.05), transparent 55%);
  background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--accent); color: var(--bg); }

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

/* Shared display heading helper */
.serif { font-family: var(--font-display); font-weight: 500; letter-spacing: -.02em; }
em { font-style: italic; }

/* Kicker / eyebrow (used sparingly, not on every section) */
.hero-kicker {
  display: inline-flex; align-items: center; gap: .85rem;
  font-size: .72rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--muted);
}
.hero-kicker::before { content: ""; width: 30px; height: 1px; background: var(--accent); }

/* Animated underline link */
.link-underline {
  position: relative;
  font-size: .76rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--fg);
  padding-bottom: .35rem;
}
.link-underline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(.18); transform-origin: left;
  transition: transform .5s var(--ease);
}
.link-underline:hover { color: var(--accent); }
.link-underline:hover::after { transform: scaleX(1); }

/* ─────────── NAV ─────────── */
.nav {
  position: sticky; top: 0;
  z-index: var(--z-nav);
  background: oklch(0.165 0.007 62 / 0.62);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--shell); margin: 0 auto;
  padding: 1.1rem var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}
.brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: .36em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand em { font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--accent); }
.nav-links {
  display: flex; gap: 2.5rem;
  list-style: none;
  font-size: .74rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--fg-soft);
}
.nav-links a { position: relative; padding: .25rem 0; transition: color .3s var(--ease); }
.nav-links a:hover { color: var(--fg); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--fg); }
.nav-cart {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .74rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--fg-soft); transition: color .3s var(--ease);
}
.nav-cart:hover { color: var(--fg); }
.nav-cart .count {
  display: inline-grid; place-items: center;
  min-width: 22px; height: 22px; padding: 0 6px;
  background: var(--accent); color: var(--bg);
  border-radius: 999px;
  font-size: .68rem; font-weight: 500; letter-spacing: 0;
  transition: transform .3s var(--ease);
}

/* ─────────── BUTTONS ─────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  padding: 1.05rem 2rem;
  background: var(--accent); color: var(--bg);
  font-size: .75rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 500;
  border: 1px solid var(--accent);
  border-radius: 2px;
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .16s var(--ease-out);
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn:active { transform: scale(0.97); }
.btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-arrow { transition: transform .4s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(6px); }

/* ═══════════ HERO — full-bleed asymmetric, type-driven ═══════════ */
.hero {
  position: relative;
  min-height: calc(100dvh - 62px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
}
.hero-rail {
  position: absolute; left: clamp(.5rem, 1.6vw, 1.4rem); top: 0; bottom: 0;
  display: flex; align-items: center;
  writing-mode: vertical-rl;
  font-size: .66rem; letter-spacing: .42em; text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
  z-index: 2;
}
.hero-copy {
  align-self: center;
  padding: clamp(2.5rem, 6vw, 5.5rem) clamp(2rem, 5vw, 4.5rem)
           clamp(2.5rem, 6vw, 5.5rem) clamp(2.8rem, 6vw, 5.5rem);
  max-width: 42rem;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.9rem, 7.4vw, 6rem);
  line-height: 1.02;
  letter-spacing: -.03em;
  text-wrap: balance;
  margin: 1.6rem 0 0;
}
.hero-title em { font-weight: 400; color: var(--accent); padding-right: .04em; }
.hero-lead {
  margin-top: 1.8rem;
  font-size: 1.06rem;
  max-width: 38ch;
  color: var(--fg-soft);
  line-height: 1.75;
}
.hero-actions {
  margin-top: 2.6rem;
  display: flex; gap: 1.6rem; align-items: center; flex-wrap: wrap;
}
.hero-figure {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(150deg, oklch(0.272 0.012 58), oklch(0.190 0.008 60));
  min-height: 60vh;
}
.hero-figure img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
  transform: scale(1.04);
  animation: heroReveal 1.5s var(--ease-out) both;
}
.hero-figure::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg), transparent 26%),
    linear-gradient(0deg, oklch(0.165 0.007 62 / 0.4), transparent 50%);
  pointer-events: none;
}
.hero-scroll {
  position: absolute; bottom: 1.6rem; left: 50%;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .64rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--muted);
  z-index: 3;
}
.hero-scroll::after {
  content: ""; width: 1px; height: 26px;
  background: linear-gradient(var(--accent), transparent);
  animation: scrollPulse 2.4s var(--ease-in-out) infinite;
}
@keyframes heroReveal {
  from { opacity: 0; transform: scale(1.12); clip-path: inset(0 0 100% 0); }
  to   { opacity: 1; transform: scale(1.04); clip-path: inset(0 0 0 0); }
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(.4); opacity: .4; transform-origin: top; }
  50%      { transform: scaleY(1); opacity: 1; transform-origin: top; }
}
/* Hero copy load-in (CSS-driven so it never ships blank) */
.hero-kicker, .hero-title, .hero-lead, .hero-actions {
  animation: riseIn .9s var(--ease-out) both;
}
.hero-title    { animation-delay: .08s; }
.hero-lead     { animation-delay: .18s; }
.hero-actions  { animation-delay: .28s; }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* ═══════════ MANIFESTO — editorial pause ═══════════ */
.manifesto {
  max-width: var(--shell); margin: 0 auto;
  padding: var(--section-y) var(--pad);
}
.manifesto-line {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 4.2vw, 3.4rem);
  line-height: 1.18;
  letter-spacing: -.015em;
  max-width: 24ch;
  text-wrap: balance;
}
.manifesto-line em { color: var(--accent); }

/* ═══════════ SECTION SHELL ═══════════ */
.section { max-width: var(--shell); margin: 0 auto; padding: var(--section-y) var(--pad); }

.edit-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.4rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.edit-head h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  letter-spacing: -.02em; line-height: 1.04;
}
.edit-head h2 em { color: var(--accent); }
.edit-meta { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.edit-foot { margin-top: clamp(2.5rem, 5vw, 3.5rem); text-align: center; }

/* ═══════════ PRODUCT GRID — editorial drift + catalogue index ═══════════ */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(2.4rem, 4vw, 3.6rem) clamp(1.6rem, 2.5vw, 2.4rem);
  counter-reset: edit;
}
/* Vertical drift — breaks the identical-grid reflex on wide screens */
@media (min-width: 760px) {
  .products .product-card:nth-child(even) { margin-top: 3.2rem; }
}
.product-card {
  position: relative;
  display: block;
  counter-increment: edit;
}
.product-card .image-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--surface-2);
  overflow: hidden;
  margin-bottom: 1.15rem;
  border-radius: 3px;
}
.product-card .image-wrap::before {
  content: "N° " counter(edit, decimal-leading-zero);
  position: absolute; top: .9rem; right: .9rem; z-index: 2;
  font-size: .64rem; letter-spacing: .2em;
  color: var(--fg);
  mix-blend-mode: difference;
}
.product-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.product-card .badge {
  position: absolute; top: .9rem; left: .9rem; z-index: 2;
  font-size: .6rem; letter-spacing: .22em; text-transform: uppercase;
  background: var(--accent); color: var(--bg);
  padding: .38rem .72rem;
  border-radius: 2px;
}
.product-card .quick {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  background: oklch(0.165 0.007 62 / 0.82);
  backdrop-filter: blur(6px);
  color: var(--fg);
  padding: .95rem;
  text-align: center;
  font-size: .66rem; letter-spacing: .28em; text-transform: uppercase;
  transform: translateY(101%);
  transition: transform .45s var(--ease);
}
.product-card .name {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 500; letter-spacing: -.01em;
  margin-bottom: .3rem;
  transition: color .3s var(--ease);
}
.product-card:hover .name { color: var(--accent); }
.product-card .price { font-size: .9rem; letter-spacing: .03em; color: var(--fg-soft); }

/* ---- Type-driven catalogue plate (replaces fragile photos) ---- */
.plate {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(1rem, 2.2vw, 1.6rem);
  background:
    radial-gradient(120% 90% at 18% 0%, oklch(0.845 0.072 76 / 0.10), transparent 55%),
    linear-gradient(155deg, var(--surface-2), var(--bg-2) 78%);
  transition: transform 1.1s var(--ease);
  overflow: hidden;
}
.plate::after {
  content: ""; position: absolute; right: -22%; bottom: -28%;
  width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, oklch(0.845 0.072 76 / 0.14), transparent 70%);
  pointer-events: none;
}
.plate-style {
  font-size: .6rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--muted); z-index: 1;
}
.plate-len {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 4rem); line-height: .9;
  letter-spacing: -.04em; color: var(--fg);
  z-index: 1; align-self: flex-start;
}
.plate-len i { font-style: italic; font-weight: 400; font-size: .34em; color: var(--accent); margin-left: .15em; letter-spacing: 0; }
.plate-mark {
  font-family: var(--font-display); font-style: italic;
  font-size: .82rem; letter-spacing: .02em; color: var(--fg-soft);
  opacity: .55; z-index: 1;
}
/* Per-product ground variation — avoids the identical-grid reflex */
.plate[data-plate="1"] { background: radial-gradient(120% 90% at 82% 0%, oklch(0.845 0.072 76 / 0.10), transparent 55%), linear-gradient(195deg, var(--surface-2), var(--bg) 80%); }
.plate[data-plate="2"] { background: radial-gradient(110% 80% at 50% 110%, oklch(0.752 0.090 66 / 0.12), transparent 60%), linear-gradient(140deg, var(--bg-2), var(--surface-2)); }
.plate[data-plate="3"] { background: radial-gradient(120% 90% at 0% 100%, oklch(0.845 0.072 76 / 0.10), transparent 55%), linear-gradient(125deg, var(--surface-2), var(--bg-2)); }
.plate[data-plate="4"] { background: radial-gradient(130% 100% at 100% 50%, oklch(0.752 0.090 66 / 0.10), transparent 60%), linear-gradient(165deg, var(--bg-2), var(--surface-2) 85%); }
.plate[data-plate="5"] { background: radial-gradient(120% 90% at 30% 10%, oklch(0.845 0.072 76 / 0.12), transparent 55%), linear-gradient(210deg, var(--surface-2), var(--bg) 82%); }
/* Detail main — larger, centred composition */
.plate[data-variant="detail"] { padding: clamp(1.6rem, 4vw, 3rem); }
.plate[data-variant="detail"] .plate-len { font-size: clamp(4rem, 12vw, 7rem); }
.plate[data-variant="detail"] .plate-style { font-size: .72rem; }
.plate[data-variant="detail"] .plate-mark { font-size: 1.1rem; opacity: .6; }
/* Cart thumb — compact, no brand mark */
.plate[data-variant="thumb"] { padding: .5rem .6rem; }
.plate[data-variant="thumb"] .plate-style { font-size: .42rem; letter-spacing: .18em; }
.plate[data-variant="thumb"] .plate-len { font-size: 1.5rem; }
.plate[data-variant="thumb"] .plate-mark { display: none; }

@media (hover: hover) and (pointer: fine) {
  .product-card:hover .plate { transform: scale(1.04); }
  .product-card:hover .quick { transform: translateY(0); }
  .hero-figure:hover img { transform: scale(1.07); }
}

/* ═══════════ MARQUEE ═══════════ */
.strip {
  background: var(--bg-2);
  padding: clamp(2.2rem, 4vw, 3.2rem) 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.strip-track {
  display: flex;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  font-style: italic; font-weight: 400;
  white-space: nowrap;
  animation: marquee 36s linear infinite;
  will-change: transform;
}
.strip-track span {
  display: inline-flex; align-items: center; gap: 2.8rem;
  padding-right: 2.8rem;
  color: var(--fg-soft);
}
.strip-track span::after { content: "✦"; color: var(--accent); font-style: normal; font-size: .5em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═══════════ STORY — full-bleed split ═══════════ */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.story-figure {
  position: relative; overflow: hidden;
  min-height: 60vh;
  background: linear-gradient(150deg, oklch(0.272 0.012 58), oklch(0.190 0.008 60));
}
.story-figure img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.story-copy {
  align-self: center;
  padding: var(--section-y) clamp(2rem, 5vw, 4.5rem);
  max-width: 38rem;
}
.story-copy blockquote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  line-height: 1.22; letter-spacing: -.015em;
  margin: 1.4rem 0 2rem;
  text-wrap: balance;
}
.story-copy blockquote em { color: var(--accent); }
.story-copy p { color: var(--fg-soft); margin-bottom: 1.1rem; max-width: 46ch; }
.story-copy p strong { color: var(--fg); font-weight: 500; }

/* ═══════════ PILLARS — numbered three-part sequence ═══════════ */
.pillars { max-width: var(--shell); margin: 0 auto; padding: var(--section-y) var(--pad); }
.pillar-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  counter-reset: pillar;
}
.pillar-list li { counter-increment: pillar; padding-top: 1.6rem; border-top: 1px solid var(--line-strong); }
.pillar-no {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem; letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 1.4rem;
}
.pillar-list h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: -.01em;
  margin-bottom: .7rem;
}
.pillar-list p { color: var(--fg-soft); font-size: .95rem; max-width: 34ch; }

/* ═══════════ JOIN — closing CTA ═══════════ */
.join {
  max-width: var(--shell); margin: 0 auto;
  padding: var(--section-y) var(--pad);
  text-align: center;
}
.join h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  letter-spacing: -.025em; line-height: 1.02;
}
.join h2 em { color: var(--accent); }
.join > p { color: var(--fg-soft); margin: 1rem auto 0; max-width: 44ch; }
.join-form {
  margin: 2.4rem auto 0;
  max-width: 30rem;
  display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center;
}
.join-form input {
  flex: 1; min-width: 200px;
  font-family: var(--font-body); font-size: 1rem;
  padding: 1rem 0;
  border: none; border-bottom: 1px solid var(--line-strong);
  background: transparent; color: var(--fg);
  transition: border-color .3s var(--ease);
}
.join-form input::placeholder { color: var(--muted); }
.join-form input:focus { outline: none; border-bottom-color: var(--accent); }

/* ═══════════ PRODUCT DETAIL ═══════════ */
.detail {
  max-width: var(--shell); margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--pad);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
}
.detail-gallery .main {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--surface-2); overflow: hidden;
  border-radius: 3px;
}
.detail-info { align-self: center; }
.detail-info .crumb { font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.4rem; }
.detail-info h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 1.04; letter-spacing: -.02em; margin-bottom: 1rem; text-wrap: balance;
}
.detail-info .price-tag { font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; color: var(--accent); margin-bottom: 1.8rem; }
.detail-info p.desc { color: var(--fg-soft); margin-bottom: 2rem; max-width: 52ch; line-height: 1.78; }
.detail-specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 2rem;
  padding: 1.6rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 2rem;
}
.detail-specs dt { font-size: .67rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.detail-specs dd { font-family: var(--font-display); font-size: 1.1rem; color: var(--fg); }
.qty-row { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.5rem; flex-wrap: wrap; }

/* QTY stepper */
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 2px; }
.qty-stepper button { width: 44px; height: 46px; font-size: 1.2rem; color: var(--fg); transition: background .3s var(--ease), color .3s var(--ease); }
.qty-stepper button:hover { background: var(--accent); color: var(--bg); }
.qty-stepper button:active { transform: scale(0.94); }
.qty-stepper input { width: 48px; height: 46px; border: none; background: transparent; text-align: center; font-family: var(--font-body); font-size: 1rem; color: var(--fg); }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-stepper input { -moz-appearance: textfield; }

/* ═══════════ CART ═══════════ */
.cart-wrap {
  max-width: 1180px; margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--pad);
  display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 4vw, 4rem);
}
.cart-items { border-top: 1px solid var(--line); }
.cart-row {
  display: grid; grid-template-columns: 100px 1fr auto auto auto;
  gap: 1.4rem; align-items: center; padding: 1.5rem 0; border-bottom: 1px solid var(--line);
}
.cart-row .thumb { position: relative; aspect-ratio: 3 / 4; background: var(--surface-2); overflow: hidden; border-radius: 2px; }
.cart-row .meta h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.12rem; margin-bottom: .3rem; }
.cart-row .meta h3 a { transition: color .3s var(--ease); }
.cart-row .meta h3 a:hover { color: var(--accent); }
.cart-row .meta .price { font-size: .82rem; color: var(--muted); }
.cart-row .remove {
  font-size: .67rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid transparent; transition: color .3s var(--ease), border-color .3s var(--ease);
}
.cart-row .remove:hover { color: var(--fg); border-color: var(--accent); }
.cart-row .line-total { font-family: var(--font-display); font-size: 1.12rem; color: var(--fg); min-width: 90px; text-align: right; }

.cart-summary {
  background: var(--surface); border: 1px solid var(--line);
  padding: 2.3rem; border-radius: 3px; position: sticky; top: 92px; align-self: start;
}
.cart-summary h2 {
  font-family: var(--font-display); font-weight: 500; font-size: 1.7rem;
  margin-bottom: 1.6rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line);
}
.summary-row { display: flex; justify-content: space-between; padding: .55rem 0; font-size: .9rem; color: var(--fg-soft); }
.summary-row.total {
  border-top: 1px solid var(--line); margin-top: .8rem; padding-top: 1.1rem;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; color: var(--fg);
}
.cart-summary .btn { width: 100%; margin-top: 1.4rem; }

.empty-state { max-width: var(--shell); margin: 0 auto; padding: clamp(5rem, 12vw, 8rem) var(--pad); text-align: center; }
.empty-state h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 1rem; }
.empty-state h2 em { color: var(--accent); }
.empty-state p { color: var(--muted); margin-bottom: 2rem; }

/* ═══════════ CHECKOUT ═══════════ */
.checkout-wrap {
  max-width: 1180px; margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--pad);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 4vw, 4rem);
}
.checkout-form h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 4vw, 2.4rem); margin-bottom: 2rem; }
.field { display: flex; flex-direction: column; margin-bottom: 1.4rem; }
.field label { font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-bottom: .55rem; }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: 1rem; padding: .85rem 0;
  border: none; border-bottom: 1px solid var(--line-strong); background: transparent; color: var(--fg);
  transition: border-color .3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--accent); }
.field input.error { border-bottom-color: var(--danger); }
.field .err { font-size: .76rem; color: var(--danger); margin-top: .4rem; min-height: 1.1em; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }

.momo-box { background: var(--surface); border: 1px solid var(--line); color: var(--fg); padding: 2rem; margin-top: 2rem; border-radius: 3px; }
.momo-box .momo-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.momo-logo { display: inline-grid; place-items: center; width: 46px; height: 46px; background: #ffcc00; color: #1a2b4a; font-weight: 700; letter-spacing: -.02em; font-size: .82rem; border-radius: 8px; }
.momo-box h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; }
.momo-box p { color: var(--fg-soft); margin-bottom: 1rem; }
.momo-number {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: oklch(0.957 0.011 86 / 0.05); padding: 1rem 1.2rem; margin: 1rem 0 1.5rem;
  border: 1px dashed var(--line-strong); border-radius: 3px;
  font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .03em;
}
.momo-number .copy { font-family: var(--font-body); font-size: .67rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); white-space: nowrap; transition: color .3s var(--ease); }
.momo-number .copy:hover { color: var(--accent-deep); }
.momo-box ol { padding-left: 1.2rem; margin-bottom: 1.5rem; }
.momo-box ol li { margin-bottom: .55rem; color: var(--fg-soft); font-size: .92rem; }
.momo-box ol li strong { color: var(--fg); }
.momo-box ol li em { color: var(--accent); }

/* ═══════════ SUCCESS ═══════════ */
.success-page { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 4rem var(--pad); }
.success-mark {
  width: 88px; height: 88px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent);
  display: grid; place-items: center; margin: 0 auto 2rem; font-family: var(--font-display); font-size: 2rem;
  animation: markIn .7s var(--ease-out) both;
}
@keyframes markIn { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
.success-page h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.02; margin-bottom: 1.2rem; }
.success-page h1 em { color: var(--accent); }
.success-page p { color: var(--fg-soft); max-width: 50ch; margin: 0 auto 2rem; line-height: 1.7; }
.success-ref { display: inline-block; padding: .8rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: 3px; font-family: var(--font-display); letter-spacing: .12em; margin-bottom: 2rem; color: var(--fg); }

/* ═══════════ FOOTER ═══════════ */
.footer { border-top: 1px solid var(--line); margin-top: var(--section-y); padding: clamp(3rem, 6vw, 4.5rem) var(--pad) 2rem; background: var(--bg-2); }
.footer-grid { max-width: var(--shell); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.footer h4 { font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; margin-bottom: 1.2rem; color: var(--fg); }
.footer ul { list-style: none; }
.footer li { margin-bottom: .55rem; font-size: .9rem; color: var(--fg-soft); }
.footer li a { transition: color .3s var(--ease); }
.footer li a:hover { color: var(--accent); }
.footer .brand { font-size: 1.5rem; margin-bottom: .8rem; display: inline-block; }
.footer-bottom {
  max-width: var(--shell); margin: 3rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 1rem; font-size: .73rem; color: var(--muted); letter-spacing: .14em; text-transform: uppercase;
}

/* ═══════════ REVEAL (JS IntersectionObserver adds .in) ═══════════ */
/* Gated on html.js: without JS the content stays fully visible. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.products .product-card.reveal { transition-delay: 0ms; }
.products .product-card:nth-child(2).reveal { transition-delay: 70ms; }
.products .product-card:nth-child(3).reveal { transition-delay: 140ms; }
.products .product-card:nth-child(4).reveal { transition-delay: 210ms; }
.products .product-card:nth-child(5).reveal { transition-delay: 280ms; }
.products .product-card:nth-child(6).reveal { transition-delay: 350ms; }
.pillar-list li.reveal:nth-child(2) { transition-delay: 90ms; }
.pillar-list li.reveal:nth-child(3) { transition-delay: 180ms; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-rail { display: none; }
  .hero-copy { padding: 3rem 1.5rem 2.5rem 2.4rem; order: 2; }
  .hero-figure { order: 1; min-height: 58vh; }
  .hero-figure::after { background: linear-gradient(0deg, var(--bg), transparent 45%); }
  .hero-scroll { display: none; }
  .story { grid-template-columns: 1fr; }
  .story-figure { min-height: 50vh; }
  .pillar-list { grid-template-columns: 1fr; gap: 0; }
  .pillar-list li { padding: 1.4rem 0; }
}
@media (max-width: 760px) {
  .nav-inner { gap: 1rem; }
  .brand { letter-spacing: .18em; font-size: 1.1rem; }
  .nav-links { gap: 1.4rem; }
  .nav-links li:nth-child(n+3) { display: none; }
  .edit-head { flex-direction: column; align-items: flex-start; gap: .7rem; }
  .detail { grid-template-columns: 1fr; gap: 2.2rem; padding: 2rem var(--pad); }
  .cart-wrap, .checkout-wrap { grid-template-columns: 1fr; padding: 2rem var(--pad); gap: 2rem; }
  .cart-summary { position: static; }
  .cart-row { grid-template-columns: 72px 1fr; grid-template-rows: auto auto auto; gap: .6rem 1.1rem; }
  .cart-row .thumb { grid-row: 1 / 4; }
  .cart-row .line-total { text-align: left; min-width: 0; }
  .cart-row .line-total, .cart-row .remove, .cart-row .qty-stepper { grid-column: 2; justify-self: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .field-row { grid-template-columns: 1fr; }
}

/* ═══════════ REDUCED MOTION ═══════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal, .js .reveal { opacity: 1; transform: none; }
  .strip-track { animation: none; }
  .hero-figure img { animation: none; transform: scale(1.02); clip-path: none; opacity: 1; }
  .hero-kicker, .hero-title, .hero-lead, .hero-actions { animation: none; opacity: 1; transform: none; }
  .btn:active, .qty-stepper button:active { transform: none; }
}

/* Paystack pay box (checkout) */
.pay-box { margin-top: 1.5rem; }
.pay-box .pay-note { font-size: .85rem; color: var(--muted); margin-bottom: .9rem; }
.pay-box .btn[disabled] { opacity: .6; cursor: progress; }
