/* ==========================================================================
   Brandname · scroll-driven product site
   ========================================================================== */

:root {
  /* 1vh / 1svh; on touch fixed in px when the page loads (js/scroll.js): Safari's address bar never moves the layout */
  --vh: 1vh;
  --svh: 1svh;
  --ink: #1F1B18;
  --cream: #F2EDE6;
  --hero-bg: #1A1612;
  --loader-bg: #D8D0C6;
  --ch1: #E7D6D0;
  --ch2: #D3D6C4;
  --ch3: #E2D5C3;
  --zoom: #CAC2B9;
  --shop-bg: #E9E3DE;
  --gold: #B8976A;
  --radius-pill: 999px;

  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 1.4vw, 24px);
  --ease-out: cubic-bezier(.22, 1, .36, 1);

  /* Sizes measured on the reference at 1440 x 900 (headlines ~10vw, copy ~30px). The vh caps keep
     the headlines clear of the bottle on short, wide viewports. */
  /* Widest hero line must end left of 40vw: EN line ≈ 4.28 em, DE ≈ 4.40 em (+ gutter, small margin) */
  --fs-hero: clamp(44px, min(4.7vw, calc(var(--vh) * 9)), 92px); /* the longer headline must end left of the bottle (~40vw) */
  --fs-chapter: clamp(44px, min(7.4vw, calc(var(--vh) * 12)), 128px);
  --fs-copy: clamp(17px, 1.8vw, 26px); /* chapter copy: the new texts are longer, so a touch smaller */

  --fs-ui: 14px;
}

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

html { -webkit-text-size-adjust: 100%; background: var(--hero-bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

body {
  margin: 0;
  background: var(--hero-bg);
  color: var(--ink);
  font: 400 13px/1.45 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, canvas, svg { display: block; max-width: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; padding: 0; font-weight: inherit; font-size: inherit; }
ul { list-style: none; }
[hidden] { display: none !important; }

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

.serif {
  font-family: var(--serif);
}

/* ---------- Wordmark ---------- */
.wordmark {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  font: 400 15px/1 var(--serif);
  letter-spacing: .32em;
  text-transform: uppercase;
}
.wordmark-name { padding-left: .32em; } /* optically centre the tracked caps */
.wordmark-icon { width: 22px; height: 22px; }

/* ==========================================================================
   Loader
   ========================================================================== */
.loader {
  position: fixed; inset: 0; z-index: 100;
  color: var(--ink);
  pointer-events: auto;
}
.loader.is-done { pointer-events: none; }
.loader-bg { position: absolute; inset: 0; background: var(--hero-bg); }
/* own layers from the start: fading them out later changes no stacking and needs no layout */
.loader-bg, .loader-mark, .loader-line { will-change: opacity; }
/* Each stroke is its own layer: opacity + transform only, so it stays smooth while scripts start */
.loader-mark { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -52px 0 0 -38px; color: var(--cream); }
.lm-stroke {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
  opacity: 0; transform: scale(.94) rotate(-4deg); will-change: opacity, transform;
  animation: lm-draw .62s var(--ease-out) forwards; animation-delay: calc(var(--i) * .11s);
}
@keyframes lm-draw { to { opacity: .92; transform: none; } }
.loader-line {
  position: absolute; left: 50%; top: 50%; width: 120px; height: 1px; margin: 44px 0 0 -60px;
  background: rgba(242, 237, 230, .14); overflow: hidden;
}
.loader-line-fill {
  position: absolute; inset: 0; background: rgba(242, 237, 230, .75);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease-out); will-change: transform;
}

/* ==========================================================================
   Persistent UI
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: start;
  padding: 24px var(--gutter) 0;
  color: var(--cream);
  pointer-events: none;
  transition: color .45s ease;
}
.site-header.on-light { color: var(--ink); }
.site-header a, .site-header button, .site-header .lang { pointer-events: auto; }
.nav-left { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; font-size: var(--fs-ui); line-height: 18px; }
.nav-center { justify-self: center; }
.nav-left, .nav-center { transition: opacity .5s ease, visibility .5s; }
.site-header.is-compact .nav-left,
.site-header.is-compact .nav-center { opacity: 0; visibility: hidden; }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 20px; font-size: var(--fs-ui); line-height: 18px; }
/* Language switch: active = full colour, other at 45 %, hover brings it to 100 % */
.lang { display: flex; align-items: center; gap: 5px; }
.lang-sep { opacity: .45; }
.lang-btn { opacity: .45; transition: opacity .25s ease; padding: 2px 0; line-height: 18px; }
.lang-btn:hover, .lang-btn[aria-pressed="true"] { opacity: 1; }
/* Quick crossfade while strings are swapped: the text colour (no filter; GSAP-owned opacity stays untouched) */
.lang-anim [data-i18n], .lang-anim [data-i18n] * { transition: color .12s ease !important; }
.lang-swap [data-i18n], .lang-swap [data-i18n] * { color: transparent !important; }
.nav-left a, .nav-shop, .ch-links a, .footer a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease-out); }
.nav-left a:hover, .nav-shop:hover, .footer a:hover { background-size: 100% 1px; }
.nav-cart { position: relative; width: 24px; height: 24px; display: grid; place-items: center; margin: -4px 0; }
.nav-cart svg { width: 20px; height: 20px; }
.nav-badge {
  position: absolute; top: -3px; right: -7px;
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: var(--radius-pill);
  background: var(--gold); color: #fff; font: 500 10px/16px var(--sans); text-align: center;
}

.hero-corner {
  position: fixed; bottom: 24px; z-index: 40;
  color: var(--cream); font-size: var(--fs-ui); line-height: 1.38;
  transition: opacity .5s ease, visibility .5s;
}
.hero-scroll { right: var(--gutter); }
.is-past-hero .hero-corner { opacity: 0; visibility: hidden; }
.corner-in { display: block; }

/* Bottom pill */
.pill-wrap { position: fixed; left: 50%; bottom: 20px; z-index: 50; transform: translateX(-50%); }
.pill {
  display: grid; grid-template-columns: 40px 1fr 32px; align-items: center;
  width: 212px; height: 48px; padding: 0 8px 0 4px;
  border-radius: var(--radius-pill); background: #fff; color: var(--ink);
  box-shadow: 0 6px 24px rgba(31, 27, 24, .12), 0 1px 3px rgba(31, 27, 24, .08);
  font-size: var(--fs-ui);
}
.pill-thumb { width: 40px; height: 40px; border-radius: 50%; object-fit: contain; background: #F3EFEA; padding: 4px 0 2px; }
.pill-label { position: relative; height: 18px; overflow: hidden; }
.pill-text { position: absolute; inset: 0; text-align: center; line-height: 18px; white-space: nowrap; }
.pill-chev { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #F1ECE6; transition: transform .4s var(--ease-out); }
.pill-chev svg { width: 13px; height: 13px; stroke-width: 1.5; }
.pill[aria-expanded="true"] .pill-chev { transform: rotate(180deg); }
.pill-menu {
  position: absolute; left: 0; right: 0; bottom: 52px;
  padding: 8px; border-radius: 22px; background: #fff; color: var(--ink);
  box-shadow: 0 10px 34px rgba(31, 27, 24, .14);
}
.pill-menu > li > button {
  width: 100%; display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; border-radius: 14px; text-align: left; font-size: var(--fs-ui);
  transition: background .25s;
}
.pill-menu > li > button::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: transparent; transition: background .25s; }
.pill-menu > li > button:hover { background: #F4F0EB; }
.pill-menu > li > button[aria-current="true"]::before { background: var(--gold); }

/* ==========================================================================
   Stage: 16:9 box that covers its container (container query units)
   ========================================================================== */
.hero-media, .shop-media { container-type: size; }
.stage {
  position: absolute; left: 50%; top: 50%;
  width: max(100cqw, 177.78cqh);
  height: max(100cqh, 56.25cqw);
  transform: translate(-50%, -50%) scale(1.04);
}
.stage-img, .stage-gl { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage-gl { opacity: 0; transition: opacity .6s ease; }
.stage-gl.is-ready { opacity: 1; }
.stage-still { display: none; }

/* ==========================================================================
   Story
   ========================================================================== */
.story { position: relative; height: calc(var(--vh) * 600); } /* no holds; long enough that one 40 px wheel step turns the bottle < 3 frames */
/* touch: a flick with momentum travels far (a brisk 2000 px/s flick ~140vh), so the story is three times as long:
   1500vh of scroll, hero → 01 = 270vh (a brisk flick from the hero ends around its middle) */
.touch-scroll .story { height: calc(var(--vh) * 1600); }
.stage-wrap { position: sticky; top: 0; height: calc(var(--vh) * 100); overflow: hidden; }
.story-bg { position: absolute; inset: 0; background: var(--hero-bg); }
.chapter-bg { position: absolute; inset: 0; background: var(--ch1); opacity: 0; }
/* Chapter swipe: colour panel revealed with clip-path, plus a feathered leading edge */
.swipe-panel { position: absolute; inset: 0; background: var(--ch2); clip-path: inset(0 0 0 100%); visibility: hidden; }
.swipe-feather { position: absolute; top: 0; bottom: 0; left: 0; width: 140px; visibility: hidden; pointer-events: none; will-change: transform; }
/* Soft diagonal window light over the coloured chapters, like the studio backgrounds of the reference */
.story-light {
  position: absolute; inset: -10%; pointer-events: none; opacity: 0;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0) 8%, rgba(255, 255, 255, .26) 17%, rgba(255, 255, 255, 0) 27%),
    linear-gradient(118deg, rgba(60, 40, 20, 0) 34%, rgba(60, 40, 20, .07) 44%, rgba(60, 40, 20, 0) 54%),
    linear-gradient(118deg, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, .2) 71%, rgba(255, 255, 255, 0) 82%),
    radial-gradient(60% 50% at 80% 90%, rgba(60, 40, 20, .08), transparent 70%);
  filter: blur(18px);
}

.hero-layer { position: absolute; inset: 0; color: var(--cream); }
.hero-media { position: absolute; inset: 0; background: var(--hero-bg); will-change: transform, opacity; }
.hero-title {
  position: absolute; top: calc(var(--vh) * 15); left: var(--gutter); z-index: 2;
  font: 300 var(--fs-hero)/.92 var(--serif);
  letter-spacing: -.02em;
}
.hl { display: block; }
.hl-move, .hl-in { display: block; will-change: transform, opacity; }
.hero-copy {
  position: absolute; z-index: 2; left: var(--gutter); top: calc(calc(var(--vh) * 15) + var(--fs-hero) * 2.1 + 22px);
  width: min(34rem, 38vw); color: var(--cream);
}
.hero-sub { font-size: 16px; line-height: 1.45; opacity: .88; max-width: 32ch; }
.hero-benefits { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 18px; font-size: 12.5px; letter-spacing: .01em; opacity: .78; }
.hero-benefits li { white-space: nowrap; }
.hero-benefits li + li::before { content: "·"; margin: 0 .6em; opacity: .7; }
.hero-copy .hero-cta { margin-top: 26px; background: var(--cream); color: var(--ink); }

/* Engravings (torch reveal) */
.engravings { position: absolute; inset: 0; pointer-events: none; }
.engraving {
  position: absolute; right: 4vw; top: calc(var(--vh) * 10); width: 46vw;
  visibility: hidden;
  --mx: -999px; --my: -999px; --r: 0px;
}
.engraving img { width: 100%; height: auto; }
.eng-base { opacity: .06; }
.eng-reveal {
  position: absolute; inset: 0; opacity: .85;
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 0%, #000 35%, transparent 100%);
  mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 0%, #000 35%, transparent 100%);
}
.static-fx .eng-reveal { display: none; }
.static-fx .eng-base { opacity: .18; }

/* Chapters */
.chapter { position: absolute; inset: 0; color: var(--ink); visibility: hidden; }
.chapter-engr, .chapter-still { display: none; }
.ch-title {
  position: absolute; left: var(--gutter); top: calc(var(--vh) * 1.5); margin: 0; /* keeps the ~10vw headline clear of the pump head */
  font: 300 var(--fs-chapter)/.95 var(--serif);
  letter-spacing: -.02em; white-space: nowrap;
}
/* Headlines are split into their rendered lines; each line rises and fades as a whole */
.lines .ln { display: block; will-change: transform, opacity; }
.lines .li { display: inline-block; will-change: transform, opacity; }
.fade { display: block; }
.ch-copy {
  position: absolute; left: var(--gutter); top: calc(var(--vh) * 42); width: 25vw; /* top-aligned with the right column, like the reference */
  font: 400 var(--fs-copy)/1.17 var(--sans); letter-spacing: -.02em;
}
.ch-side { position: absolute; left: 67vw; top: calc(var(--vh) * 42); width: 27vw; }
.ch-side h3 { font: 400 var(--fs-copy)/1.17 var(--sans); letter-spacing: -.02em; margin: 0 0 22px; white-space: nowrap; }
.ch-side p { font-size: var(--fs-ui); line-height: 1.5; max-width: 25em; }
.ch-links { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 48px; }
.ch-links a { background-size: 100% 1px; }
.ch-links a:hover { background-size: 0 1px; background-position: 100% 100%; }

/* The one bottle */
.bottle-mouse { position: absolute; left: 0; top: 0; width: 10px; height: 10px; z-index: 4; pointer-events: none; visibility: hidden; will-change: transform; }
.bottle-mouse.is-on { visibility: visible; }
.bottle { position: absolute; inset: 0; perspective: 1200px; will-change: transform; }
.bottle-lift { position: absolute; inset: 0; }
.bottle-tilt {
  position: absolute; inset: 0; transform-origin: 51.2% 99.3%;
  --tiltX: 0deg; --tiltY: 0deg; --sway: 0deg;
  transform: rotateX(var(--tiltX)) rotateY(var(--tiltY)) rotate(var(--sway));
}
.bottle-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.bottle-shadow {
  position: absolute; left: 51.2%; top: 99.3%;
  width: 82%; height: 4.5%;
  transform: translate(-50%, -55%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(8, 6, 4, .75), rgba(8, 6, 4, .35) 55%, transparent);
  filter: blur(3px);
}


/* Zoom statement */
.zoom-statement {
  position: absolute; inset: 0; z-index: 5;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--ink); visibility: hidden; pointer-events: none;
  font: 400 clamp(32px, 3.35vw, 60px)/1.12 var(--sans); /* the reference sets this statement in its grotesk */
  letter-spacing: -.025em;
}
.zl { display: block; }
.zl-in { display: block; }

/* ==========================================================================
   Shop
   ========================================================================== */
.shop { position: relative; height: calc(var(--vh) * 100); min-height: 620px; background: var(--shop-bg); overflow: hidden; color: var(--ink); }
.shop-media { position: absolute; inset: 0; overflow: hidden; }
.shop-fade { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--vh) * 16); background: linear-gradient(var(--zoom), rgba(202, 194, 185, 0)); pointer-events: none; }
/* Frame canvas box: the visible bottle (rows 8–1509 of 1521) is 40 % of the stage tall,
   its body centre (51.2 % of the frame width) and bottom edge sit on the stump anchor. */
.shop-product {
  position: absolute; left: 42.5%; top: 61.8%; height: calc(40% * 1521 / 1501);
  aspect-ratio: 498 / 1521;
  transform: translate(-51.2%, -99.21%);
}
.sp-mouse { position: absolute; inset: 0; perspective: 1200px; will-change: transform; transform-origin: 51.2% 99.2%; }
.sp-drop { position: absolute; inset: 0; transform-origin: 51.2% 99.2%; }
.sp-btn { position: absolute; inset: 0; display: block; padding: 0; border-radius: 0; }
.sp-btn:focus-visible { outline-offset: -2px; }
.sp-canvas { width: 100%; height: 100%; }
@media (hover: hover) and (pointer: fine) { .sp-btn { cursor: pointer; } }
.sp-label {
  position: absolute; left: 100%; top: 1.2%; margin-left: 6px; white-space: nowrap;
  padding: 6px 12px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .86);
  box-shadow: 0 4px 14px rgba(31, 27, 24, .1); font-size: 12px; color: var(--ink);
  opacity: 0; transform: translateX(-6px); pointer-events: none;
  transition: opacity .3s ease, transform .3s var(--ease-out);
}
.sp-label.is-on { opacity: 1; transform: none; }
.sp-shadow {
  position: absolute; left: 51.2%; top: 99.2%; width: 120%; height: 7%;
  transform: translate(-50%, -60%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(52, 40, 28, .5), rgba(52, 40, 28, .2) 60%, transparent);
  filter: blur(3px);
}
/* touch: no blur under moving opacity / transforms (the gradients are soft already) */
.touch-scroll .story-light, .touch-scroll .bottle-shadow, .touch-scroll .sp-shadow { filter: none; }
.shop-title {
  position: absolute; left: var(--gutter); top: calc(var(--vh) * 3); z-index: 2;
  font: 300 var(--fs-chapter)/.95 var(--serif);
  letter-spacing: -.02em; white-space: nowrap;
}
.buy { position: absolute; left: 64vw; top: calc(var(--vh) * 34); width: 26vw; min-width: 300px; z-index: 3; }
.buy-name { font: 400 22px/1.2 var(--sans); letter-spacing: -.01em; }
.buy-desc { font-size: 13px; margin-top: 8px; opacity: .8; }
.buy-sizes { display: flex; gap: 8px; margin-top: 26px; flex-wrap: wrap; }
.size-pill {
  height: 38px; padding: 0 16px; border-radius: var(--radius-pill);
  border: 1px solid rgba(31, 27, 24, .25); font-size: 13px;
  transition: background .3s, color .3s, border-color .3s;
}
.size-pill:hover { border-color: var(--ink); }
.size-pill[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.buy-row { display: flex; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.stepper { display: inline-flex; align-items: center; height: 44px; border: 1px solid rgba(31, 27, 24, .25); border-radius: var(--radius-pill); }
.stepper.is-small { height: 30px; }
.step-btn { width: 40px; height: 100%; font-size: 16px; line-height: 1; border-radius: var(--radius-pill); }
.stepper.is-small .step-btn { width: 28px; font-size: 14px; }
.step-val { min-width: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 26px; border-radius: var(--radius-pill);
  background: var(--ink); color: var(--cream); font-size: 13px; white-space: nowrap;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(31, 27, 24, .18); }
.btn-block { width: 100%; }
.buy-note { margin-top: 14px; font-size: 12px; opacity: .7; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { position: relative; background: var(--hero-bg); color: var(--cream); padding: calc(var(--vh) * 14) var(--gutter) 0; overflow: hidden; }
.footer-cols { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 6vw; align-items: start; }
.footer-head { display: block; font-size: 13px; opacity: .55; margin-bottom: 16px; }
.footer-links li, .footer-legal li { font-size: 15px; line-height: 1.9; }
.footer-small { font-size: 13px; line-height: 1.45; opacity: .75; }
.nl-field { display: flex; align-items: center; gap: 10px; margin-top: 18px; border-bottom: 1px solid rgba(242, 237, 230, .35); padding-bottom: 8px; max-width: 420px; }
.nl-field input { flex: 1; min-width: 0; background: none; border: 0; color: var(--cream); font: 400 15px var(--sans); padding: 8px 0; }
.nl-field input::placeholder { color: rgba(242, 237, 230, .5); }
.nl-field input:focus { outline: none; }
.nl-field:focus-within { border-bottom-color: var(--gold); }
.nl-btn { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid rgba(242, 237, 230, .4); display: grid; place-items: center; transition: background .3s, color .3s; }
.nl-btn svg { width: 16px; height: 16px; }
.nl-btn:hover { background: var(--cream); color: var(--ink); }
.nl-msg { min-height: 1.45em; margin-top: 10px; }
.footer-copy { margin-top: 28px; }
.footer-mark {
  margin: calc(var(--vh) * 10) 0 -.2em; text-align: center; white-space: nowrap;
  font: 300 12vw/.8 var(--serif);
  letter-spacing: .02em; text-transform: uppercase;
}

/* ==========================================================================
   Cart drawer
   ========================================================================== */
.cart-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(31, 27, 24, .3); opacity: 0; transition: opacity .45s ease; }
.cart-overlay.is-open { opacity: 1; }
.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
  width: 420px; max-width: 100vw;
  display: flex; flex-direction: column;
  background: var(--cream); color: var(--ink);
  transform: translateX(100%); visibility: hidden;
  transition: transform .6s cubic-bezier(.7, 0, .2, 1), visibility 0s .6s;
}
.cart.is-open { transform: none; visibility: visible; transition: transform .6s cubic-bezier(.7, 0, .2, 1); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 24px; border-bottom: 1px solid rgba(31, 27, 24, .12); }
.cart-title { font: 300 30px/1 var(--serif); letter-spacing: -.01em; }
.cart-close { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(31, 27, 24, .2); }
.cart-close svg { width: 14px; height: 14px; }
.cart-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 24px; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(31, 27, 24, .1); }
.cart-thumb { width: 64px; height: 84px; border-radius: 10px; background: #E9E3DE; display: grid; place-items: center; }
.cart-thumb img { height: 72px; width: auto; }
.ci-name { font-size: 15px; line-height: 1.25; }
.ci-size { font-size: 13px; opacity: .65; margin: 2px 0 10px; }
.ci-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.ci-price { font-size: 15px; font-variant-numeric: tabular-nums; }
.ci-remove { font-size: 12px; text-decoration: underline; text-underline-offset: 3px; opacity: .7; }
.ci-remove:hover { opacity: 1; }
.cart-empty { padding: 40px 0; opacity: .6; font-size: 15px; }
.cart.has-items .cart-empty { display: none; }
.cart-foot { padding: 20px 24px 28px; border-top: 1px solid rgba(31, 27, 24, .12); }
.cart-sub { display: flex; justify-content: space-between; font-size: 17px; margin-bottom: 6px; }
.cart-ship { margin-bottom: 18px; opacity: .65; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Drawer: slowly turning bottle, free-shipping meter, upsell, gift note */
.cart-stage {
  position: relative; height: 150px; margin: 6px 0 4px; display: grid; place-items: center;
  background: radial-gradient(60% 46% at 50% 88%, rgba(184, 151, 106, .16), transparent 70%);
}
.cart-stage::after { content: ""; position: absolute; left: 50%; bottom: 12px; width: 54px; height: 8px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(31, 27, 24, .22), transparent); }
.cart-spin { height: 130px; width: auto; aspect-ratio: 249 / 760; }
.ship-meter { padding: 4px 0 18px; border-bottom: 1px solid rgba(31, 27, 24, .1); }
.ship-text { font-size: 13px; margin-bottom: 10px; }
.ship-bar { height: 3px; border-radius: 3px; background: rgba(31, 27, 24, .1); overflow: hidden; }
.ship-fill { display: block; height: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); transition: transform .7s var(--ease-out); }
.upsell { margin-top: 22px; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .55); }
.upsell-row { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; }
.cart-thumb.is-travel { width: 52px; height: 64px; }
.cart-thumb.is-travel img { height: 48px; }
.upsell-price { white-space: nowrap; }
.upsell-add {
  height: 34px; padding: 0 14px; border-radius: var(--radius-pill); border: 1px solid rgba(31, 27, 24, .3); font-size: 12px; white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s;
}
.upsell-add:hover { border-color: var(--ink); }
.upsell-add.is-added { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.gift { margin: 18px 0 8px; }
.gift-toggle { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; padding: 6px 0; }
.gift-plus { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(31, 27, 24, .3); display: grid; place-items: center; line-height: 1; transition: transform .35s var(--ease-out); }
.gift-toggle[aria-expanded="true"] .gift-plus { transform: rotate(45deg); }
.gift-panel textarea {
  width: 100%; margin-top: 10px; padding: 12px 14px; resize: none; border-radius: 14px;
  border: 1px solid rgba(31, 27, 24, .16); background: rgba(255, 255, 255, .6); color: var(--ink);
  font: 400 14px/1.45 var(--sans);
}
.gift-panel textarea:focus { outline: none; border-color: var(--gold); }
.gift-count { text-align: right; margin-top: 4px; opacity: .55; }
.cart-checkout { font-size: 14px; }

/* ==========================================================================
   Checkout (demo): full screen, three steps, confirmation moment
   ========================================================================== */
.checkout { position: fixed; inset: 0; z-index: 95; color: var(--ink); display: flex; flex-direction: column; }
.co-top { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding: 18px var(--gutter) 0; }
.co-mark { justify-self: center; }
.co-icon { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(31, 27, 24, .2); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.co-icon:hover { border-color: var(--ink); background: rgba(255, 255, 255, .5); }
.co-icon svg { width: 15px; height: 15px; }
.co-steps { list-style: none; position: relative; display: flex; justify-content: center; gap: clamp(28px, 6vw, 96px); margin: 26px auto 0; padding: 0 var(--gutter) 18px; width: min(720px, 100%); }
.co-steps li[data-step] { display: flex; align-items: baseline; gap: 10px; font-size: 13px; opacity: .4; transition: opacity .4s ease; }
.co-steps li.is-on, .co-steps li.is-done { opacity: 1; }
.co-num { font: 300 22px/1 var(--serif); }
.co-steps li.is-done .co-num { color: var(--gold); }
.co-line { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 1px; background: rgba(31, 27, 24, .14); }
.co-line-fill { position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(.333); transition: transform .7s var(--ease-out); }
.co-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.co-body { display: grid; grid-template-columns: minmax(0, 560px) 340px; gap: clamp(32px, 6vw, 96px); justify-content: center; padding: 44px var(--gutter) 80px; }
.co-h { font: 300 clamp(32px, 3.2vw, 48px)/1.02 var(--serif); letter-spacing: -.02em; margin-bottom: 28px; }
.co-items li { display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(31, 27, 24, .1); }
.co-items .cart-thumb { width: 52px; height: 64px; }
.co-items .cart-thumb img { height: 50px; }
.co-next, .co-place, .co-home { margin-top: 30px; }
.co-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.co-wide { grid-column: 1 / -1; }
.co-field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.co-field > span:first-child { opacity: .65; }
.co-field input, .co-field select {
  font: 400 16px var(--sans); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid rgba(31, 27, 24, .28);
  padding: 9px 0; border-radius: 0; appearance: none;
}
.co-field select { background: linear-gradient(45deg, transparent 50%, currentColor 50%) right 6px center / 5px 5px no-repeat, linear-gradient(135deg, currentColor 50%, transparent 50%) right 1px center / 5px 5px no-repeat; }
.co-field input:focus, .co-field select:focus { outline: none; border-bottom-color: var(--gold); }
.co-field.is-bad input { border-bottom-color: #9B4A3C; }
.co-err { color: #9B4A3C; font-size: 12px; min-height: 0; }
.pay-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pay-pill {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: var(--radius-pill);
  border: 1px solid rgba(31, 27, 24, .25); font-size: 14px; transition: background .3s, color .3s, border-color .3s;
}
.pay-pill:hover { border-color: var(--ink); }
.pay-dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid currentColor; }
.pay-pill[aria-checked="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.pay-pill[aria-checked="true"] .pay-dot { background: var(--gold); border-color: var(--gold); }
.demo-note {
  display: flex; align-items: center; gap: 10px; margin-top: 22px; padding: 12px 16px; border-radius: 14px;
  background: rgba(184, 151, 106, .16); border: 1px solid rgba(184, 151, 106, .5); font-size: 14px;
}
.demo-note svg { width: 18px; height: 18px; flex: none; color: #8A6C42; }
.co-to { margin-top: 18px; }
.co-summary { align-self: start; position: sticky; top: 24px; padding: 24px; border-radius: 22px; background: rgba(255, 255, 255, .55); }
.co-sum-h { font-size: 12px; opacity: .6; margin-bottom: 10px; }
.co-sum-items li { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 6px 0; }
.co-row { display: flex; justify-content: space-between; font-size: 14px; padding-top: 10px; }
.co-row:first-of-type { margin-top: 10px; border-top: 1px solid rgba(31, 27, 24, .12); padding-top: 14px; }
.co-total { font-size: 17px; padding-top: 14px; margin-top: 6px; border-top: 1px solid rgba(31, 27, 24, .12); }
.co-gift { margin-top: 16px; }
.co-done { text-align: center; }
.petals { position: absolute; inset: -40px -10vw 0; pointer-events: none; overflow: visible; }
.petal { position: absolute; top: 0; width: 16px; height: 13px; border-radius: 70% 0 70% 0; background: radial-gradient(circle at 30% 30%, #FBE6E8, #EDB9C1 70%, #E2A2AE); box-shadow: 0 2px 4px rgba(120, 60, 70, .12); }
.co-thanks { font: 300 clamp(40px, 4.4vw, 64px)/1 var(--serif); letter-spacing: -.02em; }
.co-order { margin-top: 14px; font-size: 14px; }
.co-order-no { font-weight: 500; letter-spacing: .04em; }
.co-done-text { max-width: 40ch; margin: 12px auto 0; font-size: 14px; opacity: .75; }
.checkout.is-done .co-summary, .checkout.is-done .co-steps, .checkout.is-done .co-back { visibility: hidden; }
.checkout.is-done .co-body { grid-template-columns: minmax(0, 620px); }

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 768px) {
  .site-header { padding-top: 16px; }
  .nav-left { font-size: 12px; gap: 2px; }
  .wordmark { font-size: 13px; letter-spacing: .26em; }
  .wordmark-name { padding-left: .26em; }
  .wordmark-icon { width: 18px; height: 18px; }
  .nav-right { flex-direction: column; align-items: flex-end; gap: 4px; font-size: 12px; }
  .lang { order: 2; }
  .nav-cart { order: 3; margin-top: 4px; }

  .hero-scroll { font-size: 12px; bottom: 84px; }

  .hero-title { top: calc(var(--vh) * 10.5); left: 16px; font-size: 13vw; } /* calc(var(--vh) * 14) would run into the pump head of the bottle standing on the ledge */

  .engraving { width: 78vw; right: 2vw; top: calc(var(--vh) * 18); }

  .ch-title { left: 16px; top: 68px; font-size: 12vw; }
  .ch-side { display: none; }
  .ch-copy {
    top: auto; bottom: calc(var(--vh) * 12); left: 16px; right: 16px; width: auto; transform: none;
    font-size: 16px; line-height: 1.25;
  }
  /* The soft backdrop belongs to the revealed text, so it is hidden whenever the copy is */
  .ch-copy .fade { position: relative; }
  .ch-copy .fade::before {
    content: ""; position: absolute; z-index: -1; left: -16px; right: -16px; top: -48px; bottom: calc(var(--vh) * -14);
    background: linear-gradient(to top, var(--chbg) 45%, transparent);
  }
  .chapter[data-i="0"] { --chbg: rgba(231, 214, 208, .92); }
  .chapter[data-i="1"] { --chbg: rgba(211, 214, 196, .92); }
  .chapter[data-i="2"] { --chbg: rgba(226, 213, 195, .92); }

  .zoom-statement { padding: 0 16px; }

  .shop { height: auto; min-height: 0; }
  .shop-media { position: relative; height: calc(var(--vh) * 74); min-height: 480px; }
  .shop-title { position: relative; left: auto; top: auto; padding: 72px 16px 12px; font-size: 12vw; white-space: normal; background: var(--zoom); }
  html[lang="de"] .shop-title { font-size: 11vw; }
  .buy { position: static; width: auto; min-width: 0; padding: 28px 16px 120px; }
  .buy-row .btn-primary { flex: 1; }

  .footer { padding-bottom: 0; }
  .footer-cols { grid-template-columns: 1fr; gap: 40px; }
  .footer-mark { margin-top: calc(var(--vh) * 8); }

  .cart { width: 100vw; }
  .co-body { grid-template-columns: 1fr; padding: 28px 16px 64px; gap: 28px; }
  .co-summary { position: static; }
  .co-grid { grid-template-columns: 1fr; }
  .co-steps { gap: 18px; }
  .co-steps li[data-step] { flex-direction: column; align-items: center; gap: 4px; font-size: 12px; }
  .co-next, .co-place, .co-home { width: 100%; }
}

/* ==========================================================================
   Reduced motion: no scrubbed story, chapters as stacked sections
   ========================================================================== */
.is-reduced .story { height: auto; }
.is-reduced .stage-wrap { position: relative; height: auto; overflow: visible; }
.is-reduced .story-bg, .is-reduced .story-light, .is-reduced .engravings, .is-reduced .bottle-mouse { display: none; }
.is-reduced .hero-layer { position: relative; height: calc(var(--vh) * 100); overflow: hidden; }
.is-reduced .stage-gl { display: none; }
.is-reduced .stage-still {
  display: block; position: absolute; left: 51%; top: 73.5%; height: 50%; width: auto;
  transform: translate(-43%, -100%); filter: brightness(.92);
}
.is-reduced .chapter { position: relative; height: calc(var(--vh) * 100); min-height: 640px; visibility: visible; overflow: hidden; }
.is-reduced .chapter[data-i="0"] { background: var(--ch1); }
.is-reduced .chapter[data-i="1"] { background: var(--ch2); }
.is-reduced .chapter[data-i="2"] { background: var(--ch3); }
.is-reduced .chapter-engr { display: block; position: absolute; right: 4vw; top: calc(var(--vh) * 10); width: 46vw; height: auto; opacity: .18; }
.is-reduced .chapter-still { display: block; position: absolute; left: 50%; top: 54%; height: calc(var(--vh) * 74); width: auto; transform: translate(-43%, -50%); }
.is-reduced .zoom-statement { position: relative; height: calc(var(--vh) * 70); visibility: visible; background: var(--zoom); }
.is-reduced .shop-fade { display: none; }
@media (max-width: 768px) {
  .is-reduced .chapter-still { height: calc(var(--vh) * 52); }
  .is-reduced .chapter-engr { width: 78vw; right: 2vw; top: calc(var(--vh) * 18); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==========================================================================
   Shared: legal link row, price notes, checkout consent, cookie panel
   ========================================================================== */
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; }
.legal-links a, .legal-links button { padding: 2px 0; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .25s; }
.legal-links a:hover, .legal-links button:hover, .legal-links a[aria-current="page"] { text-decoration-color: currentColor; }
.footer .legal-links { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 15px; }
.cart-legal, .co-legal, .pill-legal { justify-content: center; font-size: 11.5px; opacity: .7; }
.cart-legal { margin-top: 12px; }
.co-legal { padding: 0 var(--gutter) 28px; }
.pill-legal { margin-top: 6px; padding: 8px 10px 4px; border-top: 1px solid rgba(31, 27, 24, .08); gap: 4px 10px; }

.price-note { margin-top: 10px; font-size: 12px; opacity: .75; }
.price-note a, .vat-note a { text-decoration: underline; text-underline-offset: 2px; }
.buy-inci { display: inline-block; margin-top: 10px; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; opacity: .8; }
.ci-unit { font-size: 11px; opacity: .6; margin-top: 2px; }
.cart-vat, .co-vat { font-size: 11.5px; opacity: .65; text-align: right; margin-top: -2px; }
.cart-vat { margin: -2px 0 6px; }
.co-consent { margin-top: 20px; font-size: 13px; line-height: 1.5; max-width: 52ch; }
.co-consent a { text-decoration: underline; text-underline-offset: 2px; }

.cookie-panel {
  position: fixed; left: 20px; bottom: 20px; z-index: 120; width: min(420px, calc(100vw - 32px));
  padding: 22px 22px 16px; border-radius: 22px; background: var(--cream); color: var(--ink);
  box-shadow: 0 18px 50px rgba(31, 27, 24, .22), 0 2px 6px rgba(31, 27, 24, .08);
  opacity: 0; transform: translateY(12px); transition: opacity .3s ease, transform .4s var(--ease-out);
}
.cookie-panel.is-on { opacity: 1; transform: none; }
.cookie-h { font: 300 26px/1.1 var(--serif); margin-bottom: 8px; }
.cookie-intro { font-size: 13px; line-height: 1.5; opacity: .8; }
.cookie-list { margin: 14px 0 8px; }
.cookie-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; border-top: 1px solid rgba(31, 27, 24, .1); }
.cookie-name { font-size: 14px; }
.cookie-name code { font-size: 11px; opacity: .55; margin-left: 4px; }
.cookie-desc { grid-column: 1; font-size: 12px; opacity: .7; }
.cookie-tag { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 11px; padding: 4px 10px; border-radius: var(--radius-pill); background: rgba(184, 151, 106, .2); }
.cookie-more { font-size: 12px; margin: 6px 0 14px; }
.cookie-more a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cookie-clear { font-size: 12px; text-decoration: underline; text-underline-offset: 3px; opacity: .75; }
.cookie-msg { font-size: 12px; min-height: 1.2em; margin-top: 8px; opacity: .7; }
@media (max-width: 768px) { .cookie-panel { left: 16px; right: 16px; bottom: 16px; width: auto; } }

/* ==========================================================================
   Checkout as part of the story (UPDATE 05): image panel left, steps right,
   every step in the colour of its chapter
   ========================================================================== */
.checkout { display: grid; grid-template-columns: 42% minmax(0, 1fr); background: var(--shop-bg); }

/* Image panel: the shop branch as a crop (16:9 stage covering the panel, stump anchor centred) */
.co-art { position: relative; overflow: hidden; container-type: size; background: var(--shop-bg); }
.co-art-stage {
  position: absolute; left: 50%; top: 61.8%;
  width: max(117.65cqw, 177.78cqh); height: max(66.18cqw, 100cqh);
  transform: translate(-42.5%, -61.8%);
}
.co-art-product {
  position: absolute; left: 42.5%; top: 61.8%; height: calc(40% * 1521 / 1501);
  aspect-ratio: 498 / 1521; transform: translate(-51.2%, -99.21%);
}
.co-art-mouse { position: absolute; inset: 0; perspective: 1200px; transform-origin: 51.2% 99.2%; will-change: transform; }
.co-art-bottle { display: block; width: 100%; height: 100%; }
.co-art-shadow {
  position: absolute; left: 51.2%; top: 99.2%; width: 120%; height: 7%;
  transform: translate(-50%, -60%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(52, 40, 28, .5), rgba(52, 40, 28, .2) 60%, transparent);
}
/* Tint in the step colour, and a soft edge that runs into the right column */
.co-art-tint { position: absolute; inset: 0; background-color: var(--ch1); mix-blend-mode: multiply; opacity: .55; transition: background-color .9s ease; }
.co-art-edge { position: absolute; inset: 0; color: var(--ch1); background: linear-gradient(to right, transparent 72%, currentColor); transition: color .9s ease; }
.co-art .petals { inset: 0; overflow: hidden; }

/* Right column: steps, then the order summary below them */
.co-side { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; background-color: var(--ch1); transition: background-color .9s ease; }
.co-side > .co-top, .co-side > .co-steps, .co-side > .co-scroll { position: relative; z-index: 1; }
.checkout[data-co="2"] .co-side, .checkout[data-co="2"] .co-art-tint { background-color: var(--ch2); }
.checkout[data-co="3"] .co-side, .checkout[data-co="3"] .co-art-tint { background-color: var(--ch3); }
.checkout[data-co="done"] .co-side, .checkout[data-co="done"] .co-art-tint { background-color: var(--shop-bg); }
.checkout[data-co="2"] .co-art-edge { color: var(--ch2); }
.checkout[data-co="3"] .co-art-edge { color: var(--ch3); }
.checkout[data-co="done"] .co-art-edge { color: var(--shop-bg); }

/* The step's engraving, large and very faint; clearer under the cursor */
.co-engr { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.co-eng {
  position: absolute; right: -8%; top: 9%; width: min(84%, 920px);
  opacity: 0; transition: opacity .9s ease;
  --mx: -999px; --my: -999px; --r: 0px;
}
.co-eng img { display: block; width: 100%; height: auto; }
.co-eng .eng-base { opacity: .045; }
.co-eng .eng-reveal { opacity: .5; }
.static-fx .co-eng .eng-base { opacity: .065; }
.checkout[data-co="1"] .co-eng[data-i="0"], .checkout[data-co="2"] .co-eng[data-i="1"], .checkout[data-co="3"] .co-eng[data-i="2"] { opacity: 1; }

.co-body { grid-template-columns: minmax(0, 600px); gap: 0; padding: 40px clamp(20px, 4vw, 56px) 72px; }
.co-summary { position: static; margin-top: 56px; padding: 22px 0 0; border-radius: 0; background: none; border-top: 1px solid rgba(31, 27, 24, .16); }
.checkout.is-done .co-summary { display: none; }
.co-done { padding-top: calc(var(--vh) * 6); }
.co-h.lines { overflow: visible; }

/* Colour is not motion: the step colours still fade with reduced motion */
@media (prefers-reduced-motion: reduce) {
  .co-side, .co-art-tint, .co-eng { transition-duration: .9s !important; }
  .co-art-edge { transition-duration: .9s !important; }
}

/* Below 1024 px: the image panel becomes a calc(var(--vh) * 38) strip on top */
@media (max-width: 1023px) {
  .checkout { display: flex; flex-direction: column; }
  .co-art { flex: none; height: calc(var(--vh) * 38); }
  .co-side { flex: 1; }
  .co-art-edge { background: linear-gradient(to bottom, transparent 70%, currentColor); }
  .co-eng { right: -14%; top: 6%; width: 110%; }
  .co-body { padding: 28px 16px 56px; }
}

/* ==========================================================================
   Phone (below 768 px, UPDATE 06): one-row header + full-screen menu, headlines clear of the
   header and the bottle, compact shop with a sticky buy bar. 768 px and up are untouched.
   ========================================================================== */
.nav-menu, .m-menu, .buy-bar { display: none; }

@media (max-width: 767.98px) {
  :root {
    --hdr-top: calc(16px + env(safe-area-inset-top, 0px));  /* top of the header row */
    --hdr-row: 28px;
    --below-hdr: calc(var(--hdr-top) + var(--hdr-row) + 28px); /* 28 px under the header row … */
    --glyph: .2em;            /* … measured to the glyphs, which reach ~.15em above their box */
    --chfs: min(12vw, calc(var(--vh) * 6.2)); /* chapter headline size */
    --side: 20px;
  }

  /* ---------- Header: logo left, bag + menu right ---------- */
  .site-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: var(--hdr-top) var(--side) 10px;
  }
  .site-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s ease;
    background: rgba(233, 227, 222, .97); /* no backdrop blur: it would be redrawn every scroll frame */
  }
  .site-header:not(.on-light)::before { background: rgba(26, 22, 18, .92); }
  .site-header.has-bg::before { opacity: 1; }
  .nav-left, .nav-shop, .site-header .lang { display: none; }
  .site-header .wordmark { flex-direction: row; gap: 8px; height: var(--hdr-row); font-size: 11.5px; letter-spacing: .26em; }
  .site-header .wordmark-name { padding-left: 0; }
  .site-header .wordmark-icon { width: 18px; height: 18px; }
  .site-header.is-compact .nav-center { opacity: 1; visibility: visible; }
  .nav-right { flex-direction: row; align-items: center; gap: 14px; }
  .nav-cart { order: 0; width: var(--hdr-row); height: var(--hdr-row); margin: 0; }
  .nav-cart svg { width: 21px; height: 21px; }
  .nav-badge { top: -1px; right: -5px; }
  .nav-menu {
    display: flex; flex-direction: column; justify-content: center; gap: 7px;
    width: var(--hdr-row); height: var(--hdr-row); padding: 0 3px; margin-right: -3px;
  }
  .nav-menu span { display: block; height: 1px; background: currentColor; transform-origin: 100% 50%; }
  .nav-menu span:last-child { width: 68%; align-self: flex-end; }

  /* ---------- Full-screen menu ---------- */
  .m-menu {
    display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 60;
    padding: var(--hdr-top) var(--side) calc(24px + env(safe-area-inset-bottom, 0px));
    background:
      radial-gradient(80% 50% at 100% 100%, rgba(184, 151, 106, .16), transparent 70%),
      var(--cream);
    color: var(--ink); overflow-y: auto; overscroll-behavior: contain;
  }
  .m-menu[hidden] { display: none; }
  .m-top { display: flex; align-items: center; justify-content: space-between; height: var(--hdr-row); }
  .m-top .wordmark { flex-direction: row; gap: 8px; font-size: 11.5px; letter-spacing: .26em; }
  .m-top .wordmark-name { padding-left: 0; }
  .m-top .wordmark-icon { width: 18px; height: 18px; }
  .m-close { width: var(--hdr-row); height: var(--hdr-row); display: grid; place-items: center; margin-right: -3px; }
  .m-close svg { width: 20px; height: 20px; }
  .m-links { display: flex; flex-direction: column; gap: 2px; margin: auto 0; padding: 40px 0; }
  .m-link { display: block; overflow: hidden; padding: .06em 0 .12em; }
  .m-in {
    display: block; font: 300 clamp(44px, 13.5vw, 64px)/1.02 var(--serif); letter-spacing: -.02em;
  }
  .m-link:active .m-in { color: var(--gold); }
  .m-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
  .m-shop { width: 100%; height: 50px; font-size: 14px; }
  .m-lang { font-size: var(--fs-ui); }
  .m-legal { font-size: 11.5px; opacity: .7; gap: 6px 14px; }

  /* ---------- Story headlines: under the header, clear of the bottle ---------- */
  .hero-title { top: calc(var(--below-hdr) + var(--glyph)); left: var(--side); font-size: min(12.5vw, calc(var(--vh) * 6.2)); }
  .hero-scroll { right: var(--side); }
  .ch-title { top: calc(var(--below-hdr) + var(--glyph)); left: var(--side); font-size: var(--chfs); }
  .ch-copy { left: var(--side); right: var(--side); }
  .zoom-statement { align-items: flex-start; padding: calc(var(--below-hdr) + var(--glyph)) var(--side) 0; font-size: min(25px, 5.8vw); } /* each line on one line */

  /* ---------- Shop: title, bottle on the branch, buy box in one screen ---------- */
  .shop-title, html[lang] .shop-title {
    padding: calc(var(--hdr-top) + var(--hdr-row) + 18px) var(--side) 6px;
    font-size: min(9.4vw, 40px); line-height: 1;
  }
  .shop-media { height: calc(var(--vh) * 40); min-height: 0; }
  /* Crop around the stump: anchor in the middle, 80 % down; the bottle is 64 % of the strip */
  .shop-media .stage { left: 50%; top: 80%; width: 284.44cqh; height: 160cqh; transform: translate(-42.5%, -61.8%); }
  .shop-fade { height: calc(var(--vh) * 5); }
  .buy { padding: 12px var(--side) 40px; }
  .buy-name { font-size: 20px; }
  .buy-desc { margin-top: 4px; }
  .buy-sizes { margin-top: 12px; }
  .size-pill { height: 36px; }
  .price-note { margin-top: 8px; }
  .buy-row { margin-top: 10px; }
  .buy-note { margin-top: 10px; }

  /* The pill stays in the story, rests in the shop (it would cover the buy bar) */
  .pill-wrap { transition: opacity .35s ease, visibility .35s; }
  .in-shop .pill-wrap { opacity: 0 !important; visibility: hidden !important; }

  /* ---------- Sticky buy bar ---------- */
  .buy-bar {
    display: flex; align-items: center; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 48;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(242, 237, 230, .98); /* no backdrop blur: it would be redrawn every scroll frame */
    border-top: 1px solid rgba(31, 27, 24, .08); box-shadow: 0 -8px 24px rgba(31, 27, 24, .07);
    color: var(--ink);
    transform: translateY(105%); visibility: hidden;
    transition: transform .45s var(--ease-out), visibility 0s linear .45s;
  }
  .buy-bar.is-on { transform: none; visibility: visible; transition: transform .45s var(--ease-out); }
  .bb-thumb { width: 34px; height: 44px; object-fit: contain; border-radius: 10px; background: #F3EFEA; padding: 3px 0; flex: none; }
  .bb-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
  .bb-name { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bb-meta { font-size: 12px; opacity: .7; font-variant-numeric: tabular-nums; }
  .bb-add { height: 42px; padding: 0 18px; flex: none; }
  .footer { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

/* ==========================================================================
   UPDATE 08: shop benefits, "how it works" slider, phone hero
   ========================================================================== */
.buy-benefits { margin-top: 14px; display: grid; gap: 6px; font-size: 13px; }
.buy-benefits li { display: flex; align-items: center; gap: 10px; }
.buy-benefits li::before {
  content: ""; flex: none; width: 11px; height: 6px; margin-top: -3px;
  border-left: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: rotate(-45deg);
}

.howto {
  position: relative; min-height: calc(var(--vh) * 100); padding: calc(var(--vh) * 14) 0 calc(var(--vh) * 10); background: var(--zoom); color: var(--ink);
  display: flex; flex-direction: column; justify-content: center; overflow: hidden;
}
.howto-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 0 var(--gutter); margin-bottom: calc(var(--vh) * 4); }
.howto-title { font: 300 var(--fs-chapter)/.95 var(--serif); letter-spacing: -.02em; }
.howto-nav { display: flex; gap: 10px; }
.howto-arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(31, 27, 24, .25);
  display: grid; place-items: center; transition: background .3s, border-color .3s, opacity .3s;
}
.howto-arrow svg { width: 15px; height: 15px; }
.howto-arrow:hover { border-color: var(--ink); background: rgba(255, 255, 255, .45); }
.howto-arrow:disabled { opacity: .3; cursor: default; background: none; border-color: rgba(31, 27, 24, .25); }
.howto-track {
  display: flex; gap: 18px; padding: 0 var(--gutter); scroll-padding: 0 var(--gutter);
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y; cursor: grab;
}
.howto-track::-webkit-scrollbar { display: none; }
.howto-track.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.howto-track:focus-visible { outline-offset: -2px; }
.howto-card {
  position: relative; flex: 0 0 min(760px, 56vw); min-height: min(calc(var(--vh) * 62), 560px);
  scroll-snap-align: start; scroll-snap-stop: always; border-radius: 26px; padding: 30px 32px 30px; overflow: hidden;
  display: flex; flex-direction: column; color: var(--ink);
}
.howto-card[data-i="0"] { background: var(--ch1); }
.howto-card[data-i="1"] { background: var(--ch2); }
.howto-card[data-i="2"] { background: var(--ch3); }
.howto-num { font: 300 clamp(56px, 6vw, 104px)/.9 var(--serif); letter-spacing: -.02em; }
.howto-top { position: relative; display: flex; align-items: flex-end; gap: 14px; }
.howto-step { position: relative; font: 400 22px/1.2 var(--sans); letter-spacing: -.01em; margin-top: 20px; }
.howto-text { position: relative; font-size: 15px; line-height: 1.5; opacity: .82; margin-top: 8px; max-width: 46ch; }
.howto-note { position: relative; margin-top: auto; padding-top: 18px; font-size: 13.5px; line-height: 1.45; max-width: 46ch; }
.howto-note-k { font-weight: 500; }
@media (min-width: 1024px) { .howto-text { font-size: 17px; } .howto-note { font-size: 15px; } .howto-step { font-size: 24px; } }
.howto-note-k::after { content: ":"; }
/* the engraving small and quiet in the corner, the text leads */
.howto-img { position: absolute; top: 14px; right: 10px; width: min(38%, 240px); height: auto; opacity: .3; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.howto-dots { display: flex; justify-content: center; gap: 10px; margin-top: calc(var(--vh) * 4); }
.howto-dots button { width: 8px; height: 8px; border-radius: 50%; background: rgba(31, 27, 24, .22); transition: background .3s, transform .3s; padding: 0; }
.howto-dots button[aria-current="true"] { background: var(--ink); transform: scale(1.15); }
.howto-dots button::after { content: ""; position: absolute; inset: -10px; } /* larger touch target */
.howto-dots button { position: relative; }
.is-reduced .howto-track { scroll-behavior: auto; }

@media (max-width: 767.98px) {
  /* hero on phones: headline on top, subline + benefits + button at the bottom, the bottle between */
  .hero-title { font-size: min(10.4vw, calc(var(--vh) * 5.6)); }
  .hero-copy { top: auto; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); left: var(--side); right: var(--side); width: auto; }
  .hero-sub { font-size: 13px; line-height: 1.4; max-width: none; }
  .hero-benefits { margin-top: 8px; font-size: 11px; }
  .hero-copy .hero-cta { margin-top: 12px; width: 100%; height: 44px; }
  .hero-scroll { display: none; }
  /* the pill joins once the hero is left (its place is taken by the button) */
  html:not(.is-past-hero) .pill-wrap { opacity: 0 !important; visibility: hidden !important; }
  .buy-benefits { margin-top: 10px; gap: 3px; font-size: 12px; }
  .howto { min-height: calc(var(--svh) * 100); padding: calc(var(--hdr-top) + 64px) 0 calc(var(--vh) * 8); justify-content: flex-start; }
  .howto-head { padding: 0 var(--side); margin-bottom: 22px; }
  .howto-title { font-size: min(9.4vw, 40px); }
  .howto-nav { display: none; }
  .howto-track { padding: 0 var(--side); scroll-padding: 0 var(--side); gap: 12px; cursor: auto; }
  .howto-card { flex-basis: 84%; min-height: min(calc(var(--svh) * 60), 500px); max-height: none; padding: 22px 20px 22px; border-radius: 22px; }
  .howto-num { font-size: 56px; }
  .howto-step { font-size: 20px; margin-top: 14px; }
  .howto-text { font-size: 14px; line-height: 1.48; }
  .howto-note { font-size: 13px; padding-top: 14px; }
  .howto-img { width: 34%; top: 12px; right: 8px; }
}

/* UPDATE 09: the shop headline is longer now: two lines on the left instead of one wide line */
.shop-title { font-size: clamp(40px, min(5.2vw, calc(var(--vh) * 10)), 96px); white-space: normal; max-width: 58vw; }
@media (max-width: 768px) { .shop-title { max-width: none; } }

/* UPDATE 09: icons instead of Unicode symbols; no grey tap boxes; focus ring only for the keyboard */
.ico { width: 14px; height: 14px; flex: none; margin-left: 10px; }
.step-btn .ico { margin: 0; width: 14px; height: 14px; }
.step-btn { display: inline-grid; place-items: center; }
html { -webkit-tap-highlight-color: transparent; }
a, button, [role="button"], label, summary, .sp-btn { -webkit-tap-highlight-color: transparent; }
:focus:not(:focus-visible) { outline: none; }
.sp-btn:focus:not(:focus-visible) { outline: none; box-shadow: none; }

/* ==========================================================================
   UPDATE 11: hero note, trust rows, size saving, questions, reviews
   ========================================================================== */
/* hero: the note under the button */
.hero-cta-note { margin-top: 10px; font-size: 12px; letter-spacing: .01em; opacity: .72; }

/* trust row: shipping · money back · secure payment, with line icons */
.trust { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font-size: 12px; line-height: 1.3; }
.trust li { display: inline-flex; align-items: center; gap: 6px; opacity: .8; }
.trust .ico { width: 14px; height: 14px; margin: 0; }
.cart-trust { margin: 2px 0 14px; }
.co-trust { margin: 6px 0 22px; }

/* size pills: the saving on the big bottle, free shipping in the price line */
.size-pill { display: inline-flex; align-items: center; gap: 8px; }
.size-save { padding: 3px 8px; border-radius: var(--radius-pill); background: var(--gold); color: #fff; font-size: 10.5px; line-height: 1.2; letter-spacing: .02em; }
.free-ship { font-weight: 500; }

/* questions: one calm accordion */
.faq, .reviews { position: relative; background: var(--zoom); color: var(--ink); padding: calc(var(--vh) * 8) var(--gutter) calc(var(--vh) * 10); }
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: start; }
.faq-title, .reviews-title { font: 300 var(--fs-chapter)/.95 var(--serif); letter-spacing: -.02em; }
.faq-title { font-size: clamp(40px, min(5.2vw, calc(var(--vh) * 10)), 96px); }
.faq-list { border-bottom: 1px solid rgba(31, 27, 24, .18); }
.faq-item { border-top: 1px solid rgba(31, 27, 24, .18); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0;
  text-align: left; font: 400 19px/1.35 var(--sans); letter-spacing: -.01em;
}
.faq-q .ico { width: 16px; height: 16px; margin: 0; flex: none; transition: transform .5s var(--ease-out); }
.faq-item.is-open .faq-q .ico { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .55s var(--ease-out), visibility 0s linear .55s; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .55s var(--ease-out), visibility 0s; }
.faq-a-in { overflow: hidden; }
.faq-a p { padding: 0 48px 24px 0; max-width: 62ch; font-size: 15px; line-height: 1.55; opacity: .82; }

/* reviews (hidden while assets/reviews.json is empty) */
.reviews[hidden] { display: none; }
.reviews { padding-top: 0; }
.reviews-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.reviews-title { font-size: clamp(40px, min(5.2vw, calc(var(--vh) * 10)), 96px); }
.reviews-score { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars .ico { width: 14px; height: 14px; margin: 0; fill: currentColor; }
.stars .off { opacity: .25; }
.reviews-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 20px; }
.reviews-filter button { height: 34px; padding: 0 14px; border-radius: var(--radius-pill); border: 1px solid rgba(31, 27, 24, .25); font-size: 12.5px; transition: background .3s, color .3s, border-color .3s; }
.reviews-filter button[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.reviews-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review { padding: 22px; border-radius: 22px; background: rgba(255, 255, 255, .34); display: flex; flex-direction: column; gap: 10px; }
.review-title { font: 400 17px/1.3 var(--sans); }
.review-text { font-size: 14px; line-height: 1.55; opacity: .85; }
.review-meta { margin-top: auto; font-size: 12px; opacity: .65; }
.reviews-none { grid-column: 1 / -1; font-size: 14px; opacity: .7; }

@media (max-width: 767.98px) {
  .hero-cta-note { margin-top: 8px; font-size: 11px; text-align: center; }
  .faq { grid-template-columns: 1fr; gap: 18px; padding: calc(var(--vh) * 7) var(--side) calc(var(--vh) * 8); }
  .faq-title, .reviews-title { font-size: min(9.4vw, 40px); }
  .faq-q { font-size: 15px; padding: 18px 0; gap: 12px; }
  .faq-q .ico { width: 14px; height: 14px; }
  .faq-a p { padding-right: 24px; font-size: 14px; }
  .reviews { padding: 0 var(--side) calc(var(--vh) * 8); }
  .reviews-list { grid-template-columns: 1fr; }
  .buy-trust { gap: 6px 14px; margin-top: 10px; font-size: 11.5px; }
  /* phone buy bar: the same three promises in three short columns under the row */
  .buy-bar { flex-wrap: wrap; row-gap: 8px; }
  .bb-trust { flex: 0 0 100%; display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 8px; margin: 0; font-size: 10px; line-height: 1.2; }
  .bb-trust li { opacity: .72; }
  .bb-trust .ico { width: 12px; height: 12px; }
}
@media (min-width: 768px) { .bb-trust { display: none; } }
