/* ==================================================================
   Afriz Qureshi — ALIF · KHA · MEEM
   Palette and motifs are taken from the bottles: a pale greige label,
   a black cap with gold rings, a hairline frame and a small four-point star.
   ================================================================== */

:root {
  --paper: #ECE9E3;
  --paper-2: #E4E0D8;
  --label: #DDD8CF;
  --ink: #171513;
  --ink-2: #3B3732;
  --muted: #6B665F;
  --line: rgba(23, 21, 19, .14);
  --line-2: rgba(23, 21, 19, .08);
  --gold: #B4933A;
  --error: #9B3B30;

  --on-dark: #ECE9E3;
  --on-dark-2: rgba(236, 233, 227, .62);
  --line-dark: rgba(236, 233, 227, .16);

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --arabic: 'Aref Ruqaa', 'Amiri', 'Geeza Pro', serif;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --header-h: 76px;

  /* Default scent tone; each [data-scent] overrides these. */
  --tone: #5F7066;
  --soft: #DDE3DB;
  --lit: #A3B5A9;
}

[data-scent="alif"] { --tone: #5F7066; --soft: #DCE2DA; --lit: #A3B5A9; }
[data-scent="kha"]  { --tone: #86532F; --soft: #EBDCCB; --lit: #C99668; }
[data-scent="meem"] { --tone: #935A50; --soft: #EDD9D2; --lit: #D09A8D; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 300 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg, picture { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
[hidden] { display: none !important; }

/* Smooth scrolling (Lenis). It drives the native scroll position itself,
   so the browser's own smooth-scroll must be off or the two fight. */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
section[tabindex="-1"]:focus, article[tabindex="-1"]:focus, main[tabindex="-1"]:focus { outline: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ar { font-family: var(--arabic); font-weight: 400; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 860px; }

.eyebrow {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  font: 500 11px/1.4 var(--sans); letter-spacing: .34em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--left { justify-content: flex-start; }

.star {
  display: inline-block; flex: none;
  width: 8px; height: 8px;
  background: var(--gold);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  vertical-align: middle;
}
.sep { display: inline-block; width: 28px; height: 1px; background: currentColor; opacity: .35; vertical-align: middle; margin: 0 10px; }

.display {
  font: 400 clamp(36px, 4.8vw, 72px)/1.04 var(--serif);
  letter-spacing: -.005em;
  text-wrap: balance;
}
.lede {
  font-size: clamp(16px, 1.25vw, 19px); line-height: 1.75;
  color: var(--ink-2); max-width: 40em; margin-inline: auto;
  text-wrap: pretty;
}

.section-head { text-align: center; display: grid; justify-items: center; gap: 22px; margin-bottom: clamp(48px, 8vh, 88px); }

/* The inset hairline frame from the label */
.frame { position: relative; border-radius: 6px; }
.frame::after {
  content: ""; position: absolute; inset: 9px; border: 1px solid var(--line);
  border-radius: 4px; pointer-events: none;
}

/* Bottles: photos are flat-fielded to pure white, so multiply makes the
   backdrop vanish into whatever is painted behind them. Any ancestor that
   creates a stacking context must paint that backdrop itself. */
.bottle { width: 100%; height: auto; mix-blend-mode: multiply; user-select: none; -webkit-user-drag: none; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 30px;
  border: 1px solid transparent; border-radius: 2px;
  font: 500 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: color .45s var(--ease), background-color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--ink::before { background: #34302B; }
.btn--line { color: var(--ink); border-color: var(--ink); }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: var(--paper); }
.btn--paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--paper::before { background: #fff; }
.btn--sm { --h: 44px; padding: 0 20px; font-size: 11px; }
.btn--lg { --h: 60px; }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; padding: 6px 0; border-bottom: 1px solid currentColor;
}
.text-link svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; transition: background-color .3s; }
.icon-btn:hover { background: var(--line-2); }
.icon-btn svg { width: 22px; height: 22px; }

.pill {
  height: 38px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px;
  font: 500 11px/1 var(--sans); letter-spacing: .2em; transition: border-color .3s, background-color .3s;
}
.pill:hover { border-color: var(--ink); background: rgba(255, 255, 255, .4); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* Images animate themselves (never a wrapper) so multiply keeps working. */
.js .reveal-img { opacity: 0; translate: 0 34px; transition: opacity 1.2s var(--ease), translate 1.4s var(--ease); }
.js .reveal-img.is-in { opacity: 1; translate: 0 0; }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .045;
  transform: translateZ(0); /* keep it on its own layer so scrolling never repaints it */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Intro loader ---------- */
.loader { display: none; }
.intro .loader {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
  background: var(--paper);
  animation: loader-out 1s var(--ease-in-out) 2.5s forwards;
}
.intro .loader { gap: 22px; }
.loader__star { width: 14px; height: 14px; opacity: 0; transform: scale(.4) rotate(-45deg); animation: star-in 1s var(--ease) .2s forwards; }
.loader__mark { font: 400 clamp(18px, 2.6vw, 30px)/1 var(--sans); letter-spacing: .55em; text-transform: uppercase; margin-right: -.55em; opacity: 0; filter: blur(8px); animation: ink-in 1.2s var(--ease) .55s forwards; }
.loader__sub { font: italic 400 clamp(17px, 1.6vw, 22px)/1 var(--serif); color: var(--muted); opacity: 0; animation: fade-in .9s ease 1.3s forwards; }
@keyframes star-in { to { opacity: 1; transform: none; } }
@keyframes ink-in { to { opacity: 1; filter: blur(0); translate: 0 0; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes loader-out { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }

.skip { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--ink); color: var(--paper); padding: 10px 16px; font-size: 14px; }
.skip:focus { top: 16px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background-color .5s var(--ease), border-color .5s var(--ease), height .5s var(--ease), color .5s;
}
.header.is-scrolled {
  height: 64px;
  background: rgba(236, 233, 227, .8);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line);
}
.header__nav { display: flex; gap: 34px; }
.header__nav a, .header__link {
  position: relative; text-decoration: none;
  font: 400 11.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase;
  padding: 8px 0;
}
.header__nav a::after, .header__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.header__nav a:hover::after, .header__link:hover::after { transform: scaleX(1); transform-origin: left; }
.header__menu { display: none; margin-left: -10px; }

.wordmark {
  font: 400 14px/1 var(--sans); letter-spacing: .44em; text-transform: uppercase;
  margin-right: -.44em; text-decoration: none; white-space: nowrap;
}
.header__end { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.bag-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; margin-right: -10px; }
.bag-btn svg { width: 24px; height: 24px; }
.bag-btn__count {
  position: absolute; top: 5px; right: 3px;
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px;
  background: var(--ink); color: var(--paper);
  font: 500 10px/17px var(--sans); text-align: center;
  transform: scale(0); transition: transform .4s var(--ease);
}
.bag-btn.has-items .bag-btn__count { transform: scale(1); }
.bag-btn.bump { animation: bump .6s var(--ease); }
@keyframes bump { 30% { transform: scale(1.18) rotate(-6deg); } 60% { transform: scale(.96); } }

.menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 48px;
  animation: fade-in .4s ease;
}
.menu nav { display: grid; gap: 18px; text-align: center; }
.menu a { font: 400 40px/1.1 var(--serif); text-decoration: none; }
.menu .menu__products { display: flex; justify-content: center; gap: 26px; padding: 4px 0 8px; }
.menu .menu__products a { display: grid; justify-items: center; gap: 2px; font: 500 13px/1 var(--sans); letter-spacing: .26em; margin-right: -.26em; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow-x: clip;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center;
  padding: calc(var(--header-h) + clamp(20px, 5vh, 56px)) var(--gutter) clamp(20px, 4vh, 40px);
  text-align: center;
}
.hero__copy { display: grid; justify-items: center; gap: clamp(16px, 2.6vh, 28px); }
.hero__title { font: 400 clamp(40px, 6.2vw, 100px)/1 var(--serif); letter-spacing: -.012em; }
.hero__title em { font-style: italic; color: var(--ink-2); }
.hero__lede { font: italic 400 clamp(19px, 1.6vw, 24px)/1.4 var(--serif); color: var(--muted); }

/* No isolation here: the bottles multiply straight onto the page background,
   so their trimmed white margins can overlap the copy above without showing. */
.hero__stage {
  --bw: clamp(160px, min(23vw, 37vh), 340px);
  position: relative;
  flex: 1; width: 100%; max-width: 1200px;
  display: flex; justify-content: center; align-items: flex-end;
  margin-top: clamp(8px, 3vh, 32px);
}
.hero-bottle {
  position: relative; width: var(--bw); flex: none;
  display: flex; flex-direction: column; align-items: center;
  text-decoration: none; margin: 0 -1vw;
}
.hero-bottle--center { width: calc(var(--bw) * 1.1); }
/* The photo's white margins are invisible under multiply, so trim the space they take. */
.hero-bottle picture { width: 100%; margin: -15% 0 -13%; }
.hero-bottle .bottle { transition: transform 1s var(--ease), opacity 1.2s var(--ease), translate 1.4s var(--ease); }
.hero-bottle:hover .bottle, .hero-bottle:focus-visible .bottle { transform: translateY(-14px); }
/* A soft glow in the scent's tone fades in behind the bottle on hover. */
.hero-bottle::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 40%; width: 125%; aspect-ratio: 1;
  translate: -50% -50%;
  background: radial-gradient(closest-side, var(--soft), rgba(236, 233, 227, 0));
  opacity: 0; transition: opacity .9s var(--ease); pointer-events: none;
}
.hero-bottle:hover::before, .hero-bottle:focus-visible::before { opacity: 1; }
.hero-bottle__meta { display: grid; justify-items: center; gap: 4px; margin-top: 10px; }
.hero-bottle__cta {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
  font: 500 10.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase;
  opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.hero-bottle__cta svg { width: 14px; height: 14px; }
.hero-bottle:hover .hero-bottle__cta, .hero-bottle:focus-visible .hero-bottle__cta { opacity: 1; transform: none; }
.hero-bottle__meta b { font: 500 21px/1 var(--serif); letter-spacing: .24em; margin-right: -.24em; }
.hero-bottle__meta small { font: 400 10.5px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

.js .bottle--rise { opacity: 0; translate: 0 40px; }
.js .bottle--rise.is-in { opacity: 1; translate: 0 0; }
.hero-bottle:nth-child(2) .bottle--rise { transition-delay: 0s, .12s, .12s; }
.hero-bottle:nth-child(3) .bottle--rise { transition-delay: 0s, .24s, .24s; }

.hero__dots { display: none; }
.hero__foot { display: grid; justify-items: center; gap: 16px; margin-top: clamp(14px, 2.4vh, 30px); }

.soon-pill, .hero__soon, .more__soon {
  display: inline-flex; align-items: center; gap: 10px; width: max-content;
  padding: 11px 18px; border: 1px solid var(--line); border-radius: 999px;
  font: 500 10.5px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; text-decoration: none;
  transition: border-color .3s, background-color .3s;
}
.hero__soon:hover, .more__soon:hover { border-color: var(--ink); background: rgba(255, 255, 255, .35); }
.hero__soon .star, .more__soon .star { animation: twinkle 2.6s ease-in-out infinite; }
@keyframes twinkle { 50% { transform: rotate(45deg) scale(.65); opacity: .55; } }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line); padding: 20px 0; }
.ticker__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: ticker 48s linear infinite; }
.ticker span:not(.star) { font: 500 22px/1 var(--serif); letter-spacing: .22em; }
.ticker i { font: 400 11px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Product page ---------- */
.pdp {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 88px);
  max-width: var(--maxw); margin: 0 auto;
  padding: calc(var(--header-h) + clamp(12px, 3vh, 40px)) var(--gutter) clamp(72px, 11vh, 130px);
}
/* Stretch the visual column to the full row so the sticky bottle has room to stay pinned. */
.pdp__visual { align-self: stretch; }
.pdp__stage {
  position: sticky; top: calc(64px + 3vh);
  isolation: isolate;
  width: min(100%, calc(84vh * .8)); margin-inline: auto;
  aspect-ratio: 4 / 5;
  background: radial-gradient(closest-side at 50% 54%, var(--soft), var(--paper));
}
.pdp__info { padding-top: clamp(12px, 5vh, 64px); max-width: 540px; }
.pdp__crumb {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 0;
  font: 400 10.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--muted);
  text-decoration: none; transition: color .3s;
}
.pdp__crumb:hover { color: var(--ink); }
.pdp__crumb svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.pdp__crumb:hover svg { transform: translateX(-4px); }
.pdp__crumb .sep { margin: 0 4px; }
.pdp__crumb-num { white-space: nowrap; }
.pdp__name { position: relative; isolation: isolate; width: fit-content; font: 500 clamp(72px, 9vw, 140px)/.9 var(--serif); letter-spacing: .12em; margin: 30px 0 22px -.04em; }
/* As on the label: the Arabic letter brushed softly behind the Latin name. */
.name-glyph {
  position: absolute; z-index: -1; left: 50%; top: 50%;
  translate: -50% -52%;
  font: 400 1.15em/1 var(--arabic); letter-spacing: 0;
  color: var(--tone); opacity: .2; pointer-events: none;
}
[data-scent="alif"] .name-glyph { left: 61%; }
.pdp__tags { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font: 500 11.5px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--tone); }
.pdp__tags .star { width: 7px; height: 7px; }
.pdp__inspired { margin-top: 18px; font-size: 14px; color: var(--muted); letter-spacing: .02em; }
.pdp__inspired em { font: italic 500 18px/1 var(--serif); color: var(--ink); }
.pdp__short { margin-top: 26px; font: 400 clamp(22px, 1.9vw, 28px)/1.4 var(--serif); text-wrap: pretty; }

.pdp__buy { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.pdp__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; font: 500 46px/1 var(--serif); }
.pdp__price small { font: 400 10.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.pdp__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.pdp__actions .btn { padding: 0 18px; }
.pdp__offer {
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin-top: 14px;
  padding: 12px 16px; border: 1px dashed rgba(180, 147, 58, .55); border-radius: 3px;
  font-size: 14px; color: var(--ink-2);
}
.pdp__offer .star { margin-right: 2px; }
.pdp__offer b { font: 500 18px/1 var(--serif); color: var(--ink); }
.pdp__alt { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 20px; }
.pdp__alt a {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; text-decoration: none;
  font: 400 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  transition: color .3s;
}
.pdp__alt a:hover { color: var(--ink); }
.pdp__alt svg { width: 16px; height: 16px; }
.pdp__notes-link { margin-top: 26px; color: var(--muted); }
.pdp__notes-link:hover { color: var(--ink); }

.pyramid { margin-top: 40px; border-top: 1px solid var(--line); }
.pyramid > div { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.pyramid dt { font: 500 10.5px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--tone); }
.pyramid dd { font: 400 19px/1.45 var(--serif); }

/* ---------- Story ---------- */
.story { padding: clamp(88px, 14vh, 160px) 0 clamp(72px, 11vh, 130px); border-top: 1px solid var(--line-2); text-align: center; }
.story .eyebrow { margin-bottom: 30px; }
.story__lead { font: 400 clamp(30px, 3.4vw, 48px)/1.22 var(--serif); text-wrap: balance; }
.story__body { display: grid; gap: 18px; max-width: 36em; margin: 40px auto 0; font-size: 18px; line-height: 1.85; color: var(--ink-2); text-align: left; }
.story__wear {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 22px;
  max-width: 40em; margin: 52px auto 0; padding-top: 28px; border-top: 1px solid var(--line);
}
.story__wear ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.story__wear li { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font: 400 14px/1 var(--sans); }

/* ---------- Feeling band ---------- */
.feeling-band {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(110px, 18vh, 200px) 0;
  background: radial-gradient(60% 75% at 50% 50%, var(--soft), var(--paper-2));
}
.feeling-band__glyph {
  position: absolute; left: 50%; top: 50%; translate: -50% -56%;
  font: 400 min(78vw, 620px)/1 var(--arabic); color: var(--tone); opacity: .09; pointer-events: none;
}
.feeling-band .container { position: relative; }
.feeling-band .eyebrow { margin-bottom: 26px; }
.feeling-band blockquote { font: italic 400 clamp(36px, 4.6vw, 66px)/1.14 var(--serif); text-wrap: balance; }

/* ---------- More from the collection ---------- */
.more { padding: clamp(96px, 15vh, 170px) 0 clamp(88px, 13vh, 150px); text-align: center; }
.more__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); max-width: 980px; text-align: left; }
.card { display: block; text-decoration: none; }
.card__stage {
  display: block; position: relative; isolation: isolate; overflow: hidden; border-radius: 4px;
  aspect-ratio: 4 / 5;
  background: radial-gradient(closest-side at 50% 54%, var(--soft), var(--paper-2));
}
.card__stage picture { display: block; }
.card__stage .bottle { transition: transform 1.2s var(--ease); }
.card:hover .card__stage .bottle, .card:focus-visible .card__stage .bottle { transform: translateY(-8px) scale(1.035); }
.card__meta { display: grid; gap: 8px; padding: 20px 2px 0; }
.card__num { font: 400 10.5px/1 var(--sans); letter-spacing: .3em; color: var(--muted); }
.card__num .ar { font-size: 18px; letter-spacing: 0; margin-left: 6px; color: var(--tone); }
.card__name { font: 500 clamp(28px, 3vw, 38px)/1 var(--serif); letter-spacing: .14em; }
.card__tags { font: 500 10.5px/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--tone); }
.card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); font: 500 22px/1 var(--serif); }
.card__cta { display: inline-flex; align-items: center; gap: 8px; font: 500 10.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.card__cta svg { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.card:hover .card__cta svg { transform: translateX(4px); }
.more__all { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px 28px; margin-top: clamp(48px, 7vh, 72px); }
.more__all p { font: italic 400 24px/1.3 var(--serif); }
.more__all small { font: 400 10.5px/1 var(--sans); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-left: 6px; }
.more__soon { margin: 32px auto 0; display: flex; }

/* ---------- Notes explorer (dark) ---------- */
.notes {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--on-dark);
  padding: clamp(88px, 14vh, 168px) 0;
}
.notes .eyebrow { color: var(--on-dark-2); }
.notes .lede { color: var(--on-dark-2); }
.notes__glyph {
  position: absolute; right: -6vw; top: 6%;
  font: 400 min(72vw, 880px)/1 var(--arabic);
  color: var(--lit); opacity: .06; pointer-events: none;
  transition: color 1s var(--ease);
}

.explorer {
  position: relative;
  display: grid; grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 120px); align-items: center; max-width: 1100px; margin: 0 auto;
}
.vessel { width: 100%; height: auto; overflow: visible; }
.vessel__glass { fill: none; stroke: rgba(236, 233, 227, .55); stroke-width: 1.2; }
.vessel__inner { fill: none; stroke: rgba(236, 233, 227, .14); stroke-width: 1; }
.vessel__neck { fill: rgba(236, 233, 227, .1); stroke: rgba(236, 233, 227, .4); stroke-width: 1; }
.vessel__cap { fill: #0C0B0A; stroke: rgba(236, 233, 227, .32); stroke-width: 1; }
.vessel__ring { fill: var(--gold); }
.vessel__layer { fill: var(--lit); transition: fill 1s var(--ease), opacity .5s var(--ease); }
.vessel__layer--top { fill-opacity: .26; }
.vessel__layer--heart { fill-opacity: .52; }
.vessel__layer--base { fill-opacity: .85; }
.vessel__surface { stroke: var(--on-dark); stroke-opacity: .5; stroke-width: 1; transition: opacity .4s; }
.vessel__glyph { font: 400 64px/1 var(--arabic); fill: var(--ink); fill-opacity: .28; }

.drydown { margin-top: 32px; }
.drydown__label { display: block; font: 500 10.5px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 16px; }
.drydown input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer;
}
.drydown input[type="range"]::-webkit-slider-runnable-track { height: 1px; background: rgba(236, 233, 227, .35); }
.drydown input[type="range"]::-moz-range-track { height: 1px; background: rgba(236, 233, 227, .35); }
.drydown input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--ink); border: 1px solid var(--gold); box-shadow: 0 0 0 5px rgba(180, 147, 58, .14);
}
.drydown input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--ink); border: 1px solid var(--gold); }
.drydown__marks { display: flex; justify-content: space-between; margin-top: 8px; font: 400 10.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }

.layer { --presence: 1; padding: 22px 0; border-top: 1px solid var(--line-dark); opacity: calc(.28 + .72 * var(--presence)); transition: opacity .5s var(--ease); }
.layer:last-of-type { border-bottom: 1px solid var(--line-dark); }
.layer__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.layer__name { font: 400 30px/1 var(--serif); }
.layer__when { font: 400 10.5px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--lit); transition: color 1s; }
.layer.is-now .layer__when::after { content: "  ·  now"; color: var(--gold); letter-spacing: .28em; }
.note-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.note-chips button {
  height: 36px; padding: 0 15px; border-radius: 999px;
  border: 1px solid var(--line-dark);
  font: 400 14px/1 var(--sans); letter-spacing: .03em; color: var(--on-dark);
  transition: border-color .3s, background-color .3s, color .3s;
}
.note-chips button:hover, .note-chips button[aria-pressed="true"] { border-color: var(--lit); background: color-mix(in srgb, var(--lit) 18%, transparent); }
.note-chips li { animation: chip-in .6s var(--ease) both; }
@keyframes chip-in { from { opacity: 0; transform: translateY(6px); } }
.note-hint { margin-top: 20px; min-height: 1.6em; font-size: 15px; color: var(--on-dark-2); }
.note-hint b { font: italic 500 20px/1 var(--serif); color: var(--on-dark); margin-right: 4px; }

.swap { animation: swap .7s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Finder (quiz) ---------- */
.finder { padding: clamp(96px, 15vh, 170px) 0 clamp(64px, 10vh, 120px); }
.finder__card {
  max-width: 900px; margin: 0 auto; min-height: 460px;
  background: var(--label);
  padding: clamp(32px, 5vw, 68px);
  display: flex; flex-direction: column;
}
.finder__progress { display: flex; align-items: center; gap: 16px; font: 500 10.5px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.finder__bars { display: flex; gap: 6px; }
.finder__bars span { width: 28px; height: 2px; background: var(--line); transition: background-color .5s; }
.finder__bars span.on { background: var(--ink); }
.finder__q { font: 400 clamp(30px, 3.4vw, 46px)/1.1 var(--serif); margin: 28px 0 32px; text-wrap: balance; }
.finder__opts { display: grid; gap: 10px; }
.finder__opt {
  display: flex; align-items: center; gap: 20px; width: 100%; text-align: left;
  padding: 20px 24px; border: 1px solid var(--line); border-radius: 3px;
  background: rgba(255, 255, 255, .22);
  font: 400 17px/1.35 var(--sans);
  transition: background-color .35s, border-color .35s, transform .35s var(--ease);
}
.finder__opt:hover { background: rgba(255, 255, 255, .55); border-color: var(--ink); transform: translateX(4px); }
.finder__opt.is-picked { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.finder__opt i { font: italic 500 20px/1 var(--serif); color: var(--muted); width: 18px; }
.finder__opt.is-picked i { color: var(--gold); }
.finder__back { margin-top: auto; padding-top: 28px; align-self: flex-start; color: var(--muted); }

.finder__result { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.finder__bottle { position: relative; isolation: isolate; background: radial-gradient(closest-side, var(--soft), var(--label)); }
.finder__bottle .ar { position: absolute; z-index: -1; inset: 0; display: grid; place-items: center; font-size: clamp(160px, 22vw, 280px); line-height: 1; color: var(--tone); opacity: .14; }
.finder__result .eyebrow { justify-content: flex-start; }
.finder__name { font: 500 clamp(56px, 6vw, 88px)/1 var(--serif); letter-spacing: .12em; margin: 14px 0 12px; }
.finder__tags { font: 500 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--tone); }
.finder__feeling { font: italic 400 24px/1.3 var(--serif); margin: 22px 0 12px; }
.finder__short { color: var(--ink-2); font-size: 16px; }
.finder__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.finder__links { display: flex; gap: 24px; margin-top: 22px; }
.finder__links button, .finder__links a { color: var(--muted); }

/* ---------- Offer ---------- */
.offer { padding: 0 0 clamp(96px, 14vh, 160px); }
.offer__band {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.7fr) auto; align-items: center; gap: clamp(20px, 4vw, 48px);
  max-width: 1120px; margin: 0 auto;
  padding: clamp(32px, 4vw, 52px) clamp(28px, 4.5vw, 56px);
  background: var(--label);
}
.offer__head h2 { font: 400 clamp(26px, 2.6vw, 36px)/1.1 var(--serif); margin-top: 12px; text-wrap: balance; }
.offer__tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.offer__tiers li { position: relative; display: grid; justify-items: center; gap: 8px; padding: 10px 12px; text-align: center; }
.offer__tiers li + li { border-left: 1px solid var(--line); }
.offer__qty { font: 500 10.5px/1.3 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.offer__qty em {
  position: absolute; top: -16px; left: 50%; translate: -50% 0; white-space: nowrap;
  padding: 4px 10px; border-radius: 999px; background: var(--ink); color: var(--paper);
  font: 500 8.5px/1 var(--sans); letter-spacing: .22em; font-style: normal;
}
.offer__tiers b { font: 500 clamp(30px, 3vw, 42px)/1 var(--serif); }
.offer__tiers small { font: 400 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }

/* ---------- Coming soon ---------- */
.soon { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); padding: clamp(96px, 15vh, 170px) 0; text-align: center; }
.soon .eyebrow, .soon .lede { color: var(--on-dark-2); }
.soon__copy { display: grid; justify-items: center; gap: 22px; }
.soon__ghosts { display: flex; justify-content: center; align-items: flex-end; gap: clamp(10px, 3vw, 48px); margin-bottom: clamp(48px, 7vh, 80px); }
.ghost { width: clamp(92px, 13vw, 170px); height: auto; overflow: visible; animation: ghost-float 7s ease-in-out infinite; }
.ghost--center { width: clamp(112px, 16vw, 210px); animation-delay: -2.3s; }
.ghost:last-child { animation-delay: -4.6s; }
@keyframes ghost-float { 50% { transform: translateY(-10px); } }
.ghost__glass { fill: rgba(236, 233, 227, .025); stroke: rgba(236, 233, 227, .34); stroke-width: 1.2; }
.ghost__cap { fill: none; stroke: rgba(236, 233, 227, .3); stroke-width: 1.2; }
.ghost__ring { fill: rgba(180, 147, 58, .6); }
.ghost__neck { fill: none; stroke: rgba(236, 233, 227, .24); stroke-width: 1; }
.ghost__label { fill: rgba(236, 233, 227, .04); stroke: rgba(236, 233, 227, .2); stroke-width: 1; }
.ghost__frame { fill: none; stroke: rgba(236, 233, 227, .12); stroke-width: 1; }
.ghost__glyph { font: 400 66px/1 var(--arabic); fill: var(--gold); fill-opacity: .75; }
.ghost__shine { fill: rgba(236, 233, 227, .08); animation: shine 6s var(--ease-in-out) infinite; }
.ghost--center .ghost__shine { animation-delay: 1.2s; }
.ghost:last-child .ghost__shine { animation-delay: 2.4s; }
@keyframes shine { 0% { transform: translateX(0) skewX(-18deg); } 55%, 100% { transform: translateX(340px) skewX(-18deg); } }
.soon .display { max-width: 16ch; }
.soon__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.btn--line-light { color: var(--on-dark); border-color: rgba(236, 233, 227, .4); }
.btn--line-light::before { background: var(--on-dark); }
.btn--line-light:hover { color: var(--ink); }

/* ---------- How to order ---------- */
.order { background: var(--paper-2); padding: clamp(96px, 15vh, 170px) 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); }
.steps li { border-top: 1px solid var(--ink); padding-top: 26px; }
.steps__num { display: block; font: italic 400 52px/1 var(--serif); color: var(--gold); margin-bottom: 26px; }
.steps h3 { font: 500 26px/1.15 var(--serif); margin-bottom: 10px; }
.steps p { color: var(--ink-2); font-size: 16px; max-width: 28em; }
.order__direct { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px 32px; margin-top: clamp(64px, 10vh, 104px); }
.order__direct p { font: italic 400 26px/1.2 var(--serif); }
.order__buttons { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); padding: clamp(80px, 12vh, 140px) 0 calc(40px + env(safe-area-inset-bottom)); }
.footer__inner { position: relative; display: grid; justify-items: center; gap: 28px; text-align: center; }
.wordmark--light { font-size: clamp(16px, 2vw, 22px); letter-spacing: .5em; margin-right: -.5em; }
.footer__collection { font: italic 400 21px/1.3 var(--serif); color: var(--on-dark-2); margin-top: -10px; }
.footer__trio { display: flex; align-items: center; gap: 16px; font: 500 18px/1 var(--serif); letter-spacing: .26em; color: var(--on-dark-2); }
.footer__trio a { text-decoration: none; padding: 6px 0; transition: color .3s; }
.footer__trio a:hover { color: var(--on-dark); }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; }
.footer__nav a { font: 400 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; text-decoration: none; color: var(--on-dark-2); padding: 6px 0; }
.footer__nav a:hover { color: var(--on-dark); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 50%; transition: border-color .3s, background-color .3s; }
.footer__social a:hover { border-color: var(--on-dark); }
.footer__social svg { width: 20px; height: 20px; }
.footer__fine { font-size: 12px; line-height: 1.6; color: rgba(236, 233, 227, .42); max-width: 46em; margin-top: 20px; }

/* ---------- Mobile dock ---------- */
.dock { display: none; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 120;
  display: flex; align-items: center; gap: 18px;
  width: max-content; max-width: calc(100vw - 32px);
  padding: 14px 16px 14px 22px; border-radius: 3px;
  background: var(--ink); color: var(--paper);
  font: 400 14px/1.4 var(--sans);
  box-shadow: 0 18px 50px -20px rgba(23, 21, 19, .5);
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); padding: 8px 6px; white-space: nowrap; }

/* ---------- Scrim, drawer, modal ---------- */
.scrim { position: fixed; inset: 0; z-index: 100; background: rgba(23, 21, 19, .38); opacity: 0; transition: opacity .5s var(--ease); }
.scrim.is-open { opacity: 1; }

.drawer {
  position: fixed; inset: 0 0 0 auto; z-index: 110;
  width: min(460px, 100vw); padding: 10px;
  background: var(--paper);
  transform: translateX(100%); transition: transform .6s var(--ease);
}
.drawer.is-open { transform: none; }
.drawer__inner { height: 100%; display: flex; flex-direction: column; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 18px 18px 30px; }
.drawer__head h2 { font: 400 30px/1 var(--serif); }
.drawer__head h2 span { font: 400 12px/1 var(--sans); letter-spacing: .2em; color: var(--muted); vertical-align: middle; margin-left: 6px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 0 30px; overscroll-behavior: contain; }
.drawer__foot { padding: 22px 30px 30px; border-top: 1px solid var(--line); }
.drawer__nudge {
  margin: -4px 0 16px; padding: 10px 14px; border-radius: 3px;
  background: rgba(180, 147, 58, .12); color: var(--ink-2);
  font-size: 13.5px; line-height: 1.4;
}
.drawer__row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 13.5px; color: var(--muted); }
.drawer__row--offer { color: var(--ink-2); }
.drawer__row--offer span:last-child { color: var(--gold); font-weight: 500; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; font: 400 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; }
.drawer__total b { font: 500 30px/1 var(--serif); letter-spacing: 0; }
.drawer__note { font-size: 13px; color: var(--muted); margin: 10px 0 18px; }

.line { display: grid; grid-template-columns: 78px 1fr auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line__thumb { position: relative; isolation: isolate; background: radial-gradient(closest-side, var(--soft), var(--paper)); }
.line__name { font: 500 24px/1 var(--serif); letter-spacing: .14em; }
.line__tags { font: 400 10px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 6px 0 12px; }
.line__ctrl { display: flex; align-items: center; gap: 16px; }
.line__price { font: 500 20px/1 var(--serif); align-self: start; padding-top: 22px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; height: 34px; }
.stepper button { width: 34px; height: 32px; font-size: 17px; line-height: 1; color: var(--ink-2); }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper output { min-width: 22px; text-align: center; font: 500 14px/1 var(--sans); }
.line__remove { font: 400 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); padding: 4px 0; }
.line__remove:hover { color: var(--ink); border-color: var(--ink); }

.upsell { margin: 26px 0 8px; padding: 18px 20px; border: 1px dashed var(--line); border-radius: 4px; }
.upsell p { font: italic 400 19px/1.3 var(--serif); margin-bottom: 12px; }
.upsell div { display: flex; flex-wrap: wrap; gap: 8px; }

.empty { height: 100%; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; padding: 40px 0; }
.empty__star { width: 14px; height: 14px; opacity: .8; }
.empty p { font: italic 400 24px/1.3 var(--serif); }

/* Flex + auto margins: centred when it fits, scrolls from the top when it doesn't. */
.modal {
  position: fixed; inset: 0; z-index: 110;
  display: flex; padding: 24px;
  overflow-y: auto; overscroll-behavior: contain;
}
.modal__inner {
  position: relative; width: min(1060px, 100%); margin: auto;
  background: var(--paper); border-radius: 6px;
  box-shadow: 0 40px 120px -40px rgba(23, 21, 19, .55);
  opacity: 0; transform: translateY(24px) scale(.985);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.modal.is-open .modal__inner { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; }

.checkout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); }
.checkout__form { padding: clamp(32px, 4vw, 56px); }
.checkout__title { font: 400 clamp(34px, 3.4vw, 46px)/1.05 var(--serif); margin: 16px 0 10px; }
.checkout__mini { display: none; }
.checkout legend { font: 500 10.5px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); padding: 30px 0 14px; }

.field { position: relative; margin-bottom: 12px; }
.field input, .field textarea {
  width: 100%; height: 60px; padding: 24px 16px 8px;
  border: 1px solid var(--line); border-radius: 3px;
  background: rgba(255, 255, 255, .38);
  font: 400 16px/1.3 var(--sans);
  transition: border-color .3s, background-color .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { height: auto; min-height: 92px; padding-top: 28px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: rgba(23, 21, 19, .3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: rgba(255, 255, 255, .7); box-shadow: 0 0 0 3px rgba(180, 147, 58, .16); }
.field label {
  position: absolute; left: 17px; top: 20px;
  font: 400 15px/1.2 var(--sans); color: var(--muted);
  pointer-events: none; transform-origin: left top;
  transition: transform .3s var(--ease), color .3s, letter-spacing .3s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 34px);
}
.field label i { font-style: normal; opacity: .7; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-11px) scale(.74); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
}
.field--prefix input { padding-left: 54px; }
.field--prefix label { left: 54px; }
.field__prefix { position: absolute; left: 17px; top: 27px; font: 400 16px/1.3 var(--sans); color: var(--muted); }
.field__err { font-size: 12.5px; color: var(--error); min-height: 0; margin-top: 6px; display: none; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--error); }
.field.is-invalid .field__err { display: block; }
.field__hint { font-size: 12.5px; color: var(--tone); margin-top: 6px; }
.field__hint:empty { display: none; }
.field-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.check { display: flex; align-items: center; gap: 12px; margin: 20px 0 26px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border: 1px solid var(--muted); border-radius: 3px; display: grid; place-items: center; margin: 0; flex: none; cursor: pointer; }
.check input::after { content: ""; width: 10px; height: 10px; background: var(--ink); clip-path: polygon(14% 44%, 0 59%, 40% 100%, 100% 23%, 86% 9%, 39% 70%); transform: scale(0); transition: transform .25s var(--ease); }
.check input:checked { border-color: var(--ink); }
.check input:checked::after { transform: scale(1); }

.btn__spinner { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .3s; }
.btn__spinner .star { width: 16px; height: 16px; animation: spin 1.1s linear infinite; }
.btn__label { transition: opacity .3s; }
.is-loading .btn__label { opacity: 0; }
.is-loading .btn__spinner { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

.checkout__assure { font-size: 13px; color: var(--muted); text-align: center; margin-top: 14px; }
.checkout__error { font-size: 14px; color: var(--error); text-align: center; margin-top: 10px; }
.checkout__error:empty { display: none; }

.checkout__summary {
  margin: 10px; padding: clamp(28px, 3vw, 44px);
  background: var(--label);
  display: flex; flex-direction: column;
}
.checkout__lines { margin-top: 14px; flex: 1; }
.co-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.co-line__thumb { position: relative; isolation: isolate; background: var(--label); }
.co-line__name { font: 500 21px/1 var(--serif); letter-spacing: .14em; }
.co-line__meta { font: 400 10px/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.co-line__price { font: 500 19px/1 var(--serif); }
.checkout__totals { margin-top: 22px; display: grid; gap: 12px; font-size: 14px; color: var(--ink-2); }
.checkout__totals > div { display: flex; justify-content: space-between; gap: 12px; }
.checkout__totals > div span:last-child { text-align: right; }
.checkout__offer span:last-child, .co-offer span:last-child { color: var(--gold); font-weight: 500; }
.co-offer { display: flex; justify-content: space-between; padding: 12px 0 4px; font-size: 13.5px; color: var(--ink-2); }
.checkout__grand { padding-top: 16px; border-top: 1px solid var(--line); align-items: baseline; font: 400 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ink); }
.checkout__grand b { font: 500 34px/1 var(--serif); letter-spacing: 0; }

.success { display: grid; justify-items: center; text-align: center; gap: 18px; padding: clamp(56px, 9vh, 96px) clamp(24px, 5vw, 64px); }
.success__star { width: 22px; height: 22px; margin-bottom: 6px; opacity: 0; transform: scale(.4) rotate(-45deg); animation: star-in 1s var(--ease) .1s forwards; }
.success__title { font: 400 clamp(44px, 5vw, 64px)/1 var(--serif); outline: none; }
.success__text { max-width: 30em; color: var(--ink-2); }
.success__id { font: 400 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.success__id b { color: var(--ink); font-weight: 500; }
.success .btn { margin-top: 10px; }
.success .text-link { color: var(--muted); margin-top: 4px; }

/* ==================================================================
   Responsive
   ================================================================== */
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; gap: 24px; }
  .pdp__stage { position: relative; top: 0; width: min(100%, 520px); }
  .pdp__info { max-width: 640px; padding-top: 0; }
  .explorer { grid-template-columns: minmax(180px, 260px) minmax(0, 1fr); gap: 40px; }
  .offer__band { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 30px; }
  .offer__head .eyebrow { justify-content: center; }
  .offer__tiers { width: 100%; }

  .checkout { grid-template-columns: 1fr; }
  .checkout__summary { display: none; }
  .checkout__mini { display: block; margin: 18px 0 6px; border: 1px solid var(--line); border-radius: 3px; background: var(--label); }
  .checkout__mini summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; cursor: pointer; list-style: none; font: 500 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
  .checkout__mini summary::-webkit-details-marker { display: none; }
  .checkout__mini summary span::after { content: "  +"; color: var(--muted); }
  .checkout__mini[open] summary span::after { content: "  –"; }
  .checkout__mini summary b { font: 500 22px/1 var(--serif); letter-spacing: 0; }
  .checkout__mini > div { padding: 0 18px 10px; }

  .steps { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  html { scroll-padding-top: 64px; }
  body { font-size: 16px; }

  .header { grid-template-columns: 44px 1fr 44px; }
  .header.is-scrolled { height: 58px; }
  .header__nav, .header__link { display: none; }
  .header__menu { display: grid; }
  .wordmark { font-size: 12.5px; letter-spacing: .36em; margin-right: -.36em; justify-self: center; }

  .hero { min-height: 0; padding-top: calc(var(--header-h) + 36px); padding-bottom: 44px; }
  .hero__lede { font-size: 18px; max-width: 20em; }
  /* One bottle per screen: swipe, tap a dot, or let it auto-advance (see main.js).
     The track paints its own paper background so the bottles still blend while scrolling. */
  .hero__stage {
    flex: none; display: flex; align-items: stretch; justify-content: flex-start;
    width: calc(100% + 2 * var(--gutter)); margin: 28px calc(-1 * var(--gutter)) 0;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    isolation: isolate; background: var(--paper);
  }
  .hero__stage::-webkit-scrollbar { display: none; }
  .hero-bottle, .hero-bottle--center { flex: 0 0 100%; width: 100%; margin: 0; scroll-snap-align: center; scroll-snap-stop: always; }
  .hero-bottle::before { display: none; }
  .hero-bottle picture { width: min(80vw, 380px); margin: -12% auto -10%; }
  .hero-bottle__meta b { font-size: 22px; }
  .hero-bottle__cta { opacity: 1; transform: none; }
  .hero__dots { display: flex; justify-content: center; gap: 4px; margin-top: 14px; }
  .hero__dots button { width: 34px; height: 26px; display: grid; place-items: center; }
  .hero__dots button::after { content: ""; width: 100%; height: 2px; background: var(--line); transition: background-color .4s; }
  .hero__dots button[aria-current="true"]::after { background: var(--ink); }
  .hero__foot { margin-top: 28px; }

  .ticker span:not(.star) { font-size: 18px; }


  .pdp__crumb { gap: 8px; letter-spacing: .18em; font-size: 10px; }
  .pdp__crumb .sep { width: 14px; margin: 0 2px; }
  .pdp__name { letter-spacing: .1em; margin-top: 22px; }
  .pdp__price { font-size: 40px; }
  .story__body { font-size: 16.5px; }
  .story__wear { flex-direction: column; }

  .explorer { grid-template-columns: 1fr; gap: 28px; }
  .explorer__vessel { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: end; }
  .drydown { margin-top: 0; }
  .layer__name { font-size: 26px; }

  .more__grid { gap: 12px; }
  .card__meta { padding-top: 14px; gap: 6px; }
  .card__name { font-size: 24px; letter-spacing: .12em; }
  .card__tags { font-size: 9px; letter-spacing: .18em; }
  .card__foot { font-size: 18px; padding-top: 10px; }
  .card__cta { font-size: 0; gap: 0; }
  .card__cta svg { width: 18px; height: 18px; }
  .more__all p { font-size: 21px; }

  .finder__card { min-height: 0; }
  .finder__opt { padding: 18px; font-size: 16px; }
  .finder__result { grid-template-columns: 1fr; }
  .finder__bottle { width: min(70%, 300px); margin: 0 auto; }

  .offer__tiers li { padding: 10px 4px; }
  .offer__qty { font-size: 9.5px; letter-spacing: .18em; }
  .offer__tiers b { font-size: 26px; }
  .offer__tiers small { font-size: 9px; letter-spacing: .12em; }
  .pdp__offer { font-size: 13px; }

  .order__direct { flex-direction: column; }
  .order__buttons .btn { width: 100%; }
  .order__buttons { width: 100%; flex-direction: column; }

  .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }

  /* Sticky order bar */
  .dock {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 70;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 10px 10px 20px; border-radius: 4px;
    background: rgba(236, 233, 227, .86);
    -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
    border: 1px solid var(--line);
    box-shadow: 0 16px 40px -24px rgba(23, 21, 19, .5);
    transform: translateY(calc(100% + 30px)); transition: transform .6s var(--ease);
  }
  .dock.is-on { transform: none; }
  .dock__info { display: grid; gap: 4px; }
  .dock__info b { font: 500 20px/1 var(--serif); }
  .dock__info small { font: 400 9.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
  .toast { bottom: calc(92px + env(safe-area-inset-bottom)); }

  .drawer { padding: 0; }
  .drawer__inner.frame::after { display: none; }
  .drawer__head { padding-left: 22px; }
  .drawer__body { padding: 0 22px; }
  .drawer__foot { padding: 20px 22px calc(22px + env(safe-area-inset-bottom)); }

  .modal { padding: 0; }
  .modal__inner { width: 100%; min-height: 100%; margin: 0; border-radius: 0; transform: translateY(40px); }
  .checkout__form { padding: 56px 20px calc(36px + env(safe-area-inset-bottom)); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 400px) {
  .pdp__actions .btn { --h: 54px; padding: 0 12px; letter-spacing: .18em; }
}

@media (hover: none) {
  .hero-bottle:hover .bottle { transform: none; }
  .hero-bottle:hover::before { opacity: 0; }
  .finder__opt:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .ticker__track, .ghost, .ghost__shine { animation: none; }
  .js .reveal, .js .reveal-img, .js .bottle--rise { opacity: 1; transform: none; translate: none; }
}
