/* Suraa website, v1 look (Dave, 20 Nov: "the whole website is ugly"). Premium spirits at night:
   dark "paddy night" by default, the bottles own the first screen, big calm type, gold only for prices and actions,
   hairlines instead of boxes, no paper textures. Light mode: the same layout on warm paper. One accent: Suraa gold. */

:root {
  --km-display: "Kantumruy Pro", "Noto Sans Khmer", sans-serif;
  --km-body: "Kantumruy Pro", "Noto Sans Khmer", sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --caps: "Marcellus", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;
  --r: 18px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  /* night (default) */
  --bg: #0b120e;
  --bg-2: #0f1813;
  --surface: #131f18;
  --surface-2: #1a2820;
  --text: #f1e9d8;
  --muted: #a39b89;
  --faint: #6f6a5c;
  --accent: #c9a05c;
  --accent-text: #dcb978;
  --on-accent: #1a110a;
  --line: rgb(241 233 216 / .12);
  --line-2: rgb(241 233 216 / .2);
  --tbc: #d6a24a;
  /* used by feedback.js */
  --suraa-ink: #240f0b; --suraa-cream: #efe6d3; --suraa-gold: #c1904b; --tbc-bg: rgb(201 160 92 / .12);
  --font-body: var(--sans); --font-display: var(--serif); --accent-ink: #1a110a;
}
:root[data-theme="light"] {
  --bg: #f4efe6;
  --bg-2: #efe8dc;
  --surface: #ebe3d5;
  --surface-2: #e3d9c8;
  --text: #22160f;
  --muted: #6b5e52;
  --faint: #998b7c;
  --accent: #b8873f;
  --accent-text: #7a5523;
  --on-accent: #fffaf0;
  --line: rgb(34 22 15 / .12);
  --line-2: rgb(34 22 15 / .2);
  --tbc: #9a6a1f;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; background: var(--bg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* Steady on phones (Dave, 21 Nov: "shouldn't be left/right moving on the mobile ... sometimes browser elements appear they
   make the whole page a bit stutter"). The page never pans sideways (nothing is wider than the screen; anything that ever
   is gets clipped), a double tap no longer zooms (pinch zoom still works), and nothing is sized or placed by the dynamic
   screen height, so the browser bars sliding in and out move nothing on the page. */
html, body { overflow-x: clip; overscroll-behavior-x: none; }
@supports not (overflow: clip) { html { overflow-x: hidden; } }
html { touch-action: manipulation; }
@media (hover: none) and (pointer: coarse) {
  /* A see-through blurred bar is redrawn on every frame while the browser bars animate: solid on phones. */
  .bar { -webkit-backdrop-filter: none; backdrop-filter: none; background: color-mix(in srgb, var(--bg) 97%, transparent); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Language: Khmer first; each text has a km and an en twin (".both" always shows) */
[data-lang="km"] [lang="en"]:not(.both), [data-lang="en"] [lang="km"]:not(.both) { display: none !important; }
[lang="km"] { font-family: var(--km-body); line-height: 1.85; }

.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.light-only { display: none; } .dark-only { display: block; }
:root[data-theme="light"] .light-only { display: block; } :root[data-theme="light"] .dark-only { display: none; }
.src { font-size: 13px; color: var(--faint); }
/* "to be confirmed": a quiet note, not a pill */
.tbc { display: inline; font-size: 12px; letter-spacing: .02em; color: var(--tbc); border-bottom: 1px dotted currentColor; white-space: nowrap; }
.tbc [lang="km"] { font-size: 12px; line-height: 1.5; }
.tbc::before { content: "· "; }
.live .tbc:not(.draft) { display: none; }

/* Headings */
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
h2 { font-family: var(--serif); font-size: clamp(36px, 5vw, 68px); line-height: 1.02; letter-spacing: -.015em; }
h2[lang="km"] { font-family: var(--km-display); font-weight: 600; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.45; letter-spacing: 0; }
h2 em { font-style: italic; color: var(--accent-text); }
h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.15; }
h3[lang="km"] { font-family: var(--km-display); font-weight: 600; font-size: 19px; line-height: 1.6; }
.lede { color: var(--muted); max-width: 58ch; font-size: 18px; }
.lede + .lede { margin-top: 14px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; font-size: 15px; letter-spacing: .02em; text-decoration: none; color: var(--on-accent); background: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 13px 26px; min-height: 48px; cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s; }
.btn:hover { background: var(--accent-text); border-color: var(--accent-text); }
.btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-2); font-weight: 500; }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent-text); }
.btn.small { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Top bar */
.bar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); }
.bar .wrap { height: 66px; display: flex; align-items: center; gap: 18px; }
.bar .mark { height: 38px; width: auto; }
.bar .links { display: flex; gap: 26px; margin-left: 28px; font-size: 14px; letter-spacing: .04em; }
.bar .links a { text-decoration: none; color: var(--muted); transition: color .2s; }
.bar .links a:hover { color: var(--text); }
.bar .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.pill { color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; cursor: pointer; min-height: 38px; font-size: 13px; }
.pill:hover { color: var(--text); border-color: var(--line-2); }
.t-light { display: none; } :root[data-theme="light"] .t-dark { display: none; } :root[data-theme="light"] .t-light { display: inline; }
:root:not([data-theme="light"]) .t-dark { display: none; } :root:not([data-theme="light"]) .t-light { display: inline; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.seg button { font-size: 13px; border: 0; background: transparent; color: var(--muted); padding: 6px 12px; min-height: 38px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); }
.count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--on-accent); color: var(--accent-text); font-size: 11px; font-weight: 700; }
.count[data-n="0"], .count:empty { display: none; }

/* ---------- Hero: the bottles own the screen; the responsibility line closes it (a quarter of the hero) ---------- */
.hero { position: relative; isolation: isolate; min-height: calc(100svh - 66px); display: grid; grid-template-rows: 1fr minmax(25%, auto); background: #0b120e; color: #f1e9d8; overflow: hidden; }
.hero .stage { position: absolute; inset: 0 0 25% 0; z-index: -1; }
.hero .stage img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 55%; opacity: .55; transition: opacity .9s ease; }
.hero .stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.1s ease; cursor: grab; }
.hero .stage.grabbing canvas { cursor: grabbing; }
.hero .stage.is-3d img { opacity: 0; }
.hero .stage.is-3d canvas { opacity: 1; }
.hero .stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #0b120e 0%, rgb(11 18 14 / .86) 26%, rgb(11 18 14 / 0) 52%), linear-gradient(0deg, #0b120e 0%, rgb(11 18 14 / 0) 22%); }
.hero .hint { position: absolute; right: 24px; bottom: 18px; font-size: 12px; letter-spacing: .06em; color: #a39b89; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.hero .stage.is-3d .hint { opacity: 1; } .hero .stage.touched .hint { opacity: 0; }
.hero .copy { align-self: center; padding-block: clamp(28px, 5vw, 64px) 28px; pointer-events: none; }
.hero .copy > * { pointer-events: auto; }
.hero .kicker { font-family: var(--caps); letter-spacing: .32em; text-transform: uppercase; font-size: 12px; color: #dcb978; margin: 0 0 18px; }
.hero .kicker[lang="km"] { font-family: var(--km-body); letter-spacing: .02em; text-transform: none; font-size: 15px; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(42px, 5vw, 76px); line-height: 1.02; letter-spacing: -.02em; max-width: 14ch; }
.hero h1 em { font-style: italic; color: #dcb978; }
.hero h1[lang="km"] { font-family: var(--km-display); font-weight: 600; font-size: clamp(32px, 3.8vw, 54px); line-height: 1.4; letter-spacing: 0; max-width: 14ch; }
.hero .lede2 { margin: 22px 0 28px; color: #c9c0ad; font-size: 17px; max-width: 44ch; }
.hero .lede2[lang="km"] { font-size: 17px; }
.hero .lede2 a { color: #dcb978; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn { --on-accent: #1a110a; --accent: #c9a05c; --accent-text: #dcb978; }
.hero .btn.ghost { color: #f1e9d8; border-color: rgb(241 233 216 / .28); }
.band { position: relative; display: grid; align-items: center; border-top: 1px solid rgb(201 160 92 / .45); background: linear-gradient(180deg, #0e1712, #0b120e); }
.band .wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; padding-block: 22px; }
.band .line { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3.4vw, 46px); line-height: 1.15; color: #f1e9d8; }
.band .line[lang="km"] { font-family: var(--km-display); font-style: normal; font-weight: 500; font-size: clamp(20px, 2.4vw, 32px); line-height: 1.55; }
.band .age18 { font-family: var(--caps); font-size: clamp(26px, 3vw, 40px); color: #dcb978; border: 1px solid rgb(201 160 92 / .6); border-radius: 999px; padding: .12em .6em; line-height: 1.2; }

/* Sections */
section.block { padding-block: clamp(80px, 11vw, 150px); }
.head { display: grid; gap: 14px; max-width: 760px; }

/* ---------- Opening story ---------- */
.journey { padding-block: clamp(90px, 12vw, 160px); background: var(--bg); }
.journey .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
.j-side { position: sticky; top: 110px; display: grid; gap: 26px; }
.j-era { height: clamp(100px, 12vw, 170px); position: relative; overflow: hidden; }
.j-era span { position: absolute; inset: 0; font-family: var(--serif); font-style: italic; font-size: clamp(72px, 10vw, 150px); line-height: 1.02; color: var(--accent-text); letter-spacing: -.03em; transition: opacity .5s ease, transform .7s var(--ease); }
[data-lang="km"] .j-era span { font-family: var(--km-display); font-style: normal; font-weight: 600; font-size: clamp(48px, 6.5vw, 96px); line-height: 1.4; letter-spacing: 0; }
.j-era span.out { opacity: 0; transform: translateY(-28px); }
.j-sub { font-family: var(--caps); letter-spacing: .2em; text-transform: uppercase; font-size: 12px; color: var(--accent-text); }
.j-sub[lang="km"] { font-family: var(--km-body); letter-spacing: .02em; text-transform: none; font-size: 15px; }
.j-intro { color: var(--muted); font-size: 17px; max-width: 46ch; }
.journey h2 { font-size: clamp(34px, 4vw, 56px); }
.journey h2[lang="km"] { font-size: clamp(26px, 3vw, 40px); }
.j-line { height: 1px; background: var(--line-2); overflow: hidden; max-width: 380px; }
.j-line i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .7s var(--ease); }
.j-beats { list-style: none; margin: 0; padding: 0; }
.j-beats li { min-height: 56svh; display: grid; align-content: center; gap: 14px; padding-block: 24px; opacity: .35; transition: opacity .7s ease; }
.j-beats li.on { opacity: 1; }
.j-when { font-family: var(--caps); text-transform: uppercase; letter-spacing: .24em; font-size: 12px; color: var(--accent-text); }
.j-when [lang="km"] { font-family: var(--km-body); letter-spacing: .02em; text-transform: none; font-size: 15px; }
.j-text { font-family: var(--serif); font-size: clamp(28px, 3vw, 42px); line-height: 1.25; max-width: 24ch; }
.j-text[lang="km"] { font-family: var(--km-body); font-size: clamp(20px, 2.1vw, 27px); line-height: 1.85; max-width: 30ch; }
.j-grain { width: 140px; margin-top: 14px; opacity: .8; }
@media (prefers-reduced-motion: reduce) { .j-beats li { opacity: 1; } .j-era span { transition: none; } }

/* ---------- The spirits: no boxes, the bottles lead ---------- */
#range { background: var(--bg-2); border-top: 1px solid var(--line); }
.range-sub { margin-top: 14px; }
/* The three stand as equals on one shelf (Dave, 22 Nov: "showcasing it beautifully all 3 ... aligned good"): equal columns,
   and every card shares the same eight rows (photo, name, kind, specs, note, price, details and add, by the bottle) through
   subgrid, so names, specs, prices and buttons line up even when one line wraps. On phones the same cards sit side by
   side in a swipe row that scrolls inside itself (the page never pans). */
.range { --rows: 8; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(var(--rows), auto); column-gap: clamp(22px, 3vw, 44px); row-gap: 0; margin-top: 56px; align-items: start; }
.prod { display: grid; grid-row: span var(--rows); grid-template-rows: subgrid; row-gap: 0; align-content: start; min-width: 0; }
@supports not (grid-template-rows: subgrid) { .range { grid-template-rows: none; } .prod { grid-row: auto; grid-template-rows: none; } }
/* The frame takes the photo's own shape (760 x 1210), so the whole bottle shows on every screen: no crop, no zoom [Dave, 2026-11-20]. */
.prod .pic { position: relative; aspect-ratio: 760 / 1210; width: 100%; overflow: hidden; border-radius: var(--r); background: #0b120e; transition: transform .7s var(--ease); }
.prod .pic img { width: 100%; height: 100%; object-fit: contain; display: block; transition: filter .6s var(--ease); }
.prod .pic::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(0deg, rgb(11 18 14 / .55), rgb(11 18 14 / 0) 40%); box-shadow: inset 0 0 0 1px rgb(201 160 92 / 0); pointer-events: none; transition: box-shadow .5s var(--ease); }
@media (hover: hover) {
  .prod:hover .pic { transform: translate3d(0, -8px, 0); }
  .prod:hover .pic img { filter: brightness(1.07); }
  .prod:hover .pic::after { box-shadow: inset 0 0 0 1px rgb(201 160 92 / .55); }
}
@media (prefers-reduced-motion: reduce) { .prod:hover .pic { transform: none; } }
.prod .pic:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.prod .body { display: contents; }
.prod .body > * { margin: 0; min-width: 0; grid-column: 1; }
.prod .pic { grid-area: 1 / 1; } .prod h3 { grid-row: 2; } .prod .kind { grid-row: 3; } .prod .body > dl { grid-row: 4; } .prod .note { grid-row: 5; } .prod .body > .price { grid-row: 6; } .prod .buy, .prod .more { grid-row: 7; } .prod .one { grid-row: 8; }
.prod h3 { font-size: clamp(26px, 2.2vw, 32px); padding-top: 26px; }
.prod .body > .kind { margin-top: 6px; font-size: 14px; color: var(--muted); }
/* Specs as a small table: label left, value right, hairlines between, the same three rows on every card. */
.prod .body > dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; margin-top: 20px; border-top: 1px solid var(--line); font-size: 13px; letter-spacing: .04em; color: var(--muted); }
.prod dt, .prod dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.prod dt { color: var(--faint); padding-right: 14px; }
.prod dd { color: var(--text); font-weight: 600; text-align: right; white-space: nowrap; }
.prod .body > .note { margin-top: 18px; font-size: 15px; color: var(--muted); }
.prod .body > .price { margin-top: 24px; }
/* One line under the price: "View details" on the left, the add button (or the case stepper) on the right. */
.prod .body > .buy { margin-top: 20px; justify-content: flex-end; position: relative; }
.prod .buy > span:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.prod .body > .more { margin-top: 20px; padding-top: 16px; justify-self: start; align-self: stretch; display: flex; align-items: center; position: relative; z-index: 1; }
.prod .body > .one { margin-top: 16px; }
.price { font-family: var(--serif); font-weight: 600; font-size: 36px; line-height: 1; color: var(--accent-text); margin-top: 6px; }
.price small { display: block; margin-top: 8px; font-family: var(--sans); font-weight: 400; font-size: 13px; color: var(--faint); letter-spacing: .02em; }
.buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 59px; padding-top: 16px; margin-top: 4px; border-top: 1px solid var(--line); }
.buy > span { font-size: 14px; color: var(--muted); }
.buy .btn { min-height: 40px; padding: 8px 20px; font-size: 14px; }
.step { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.step button { width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; font-size: 18px; color: var(--text); }
.step button:hover { color: var(--accent-text); }
.step button:active { transform: scale(.92); }
.step output { min-width: 66px; text-align: center; font-weight: 600; font-size: 14px; }
.prod .one { font-size: 13px; color: var(--faint); }
.prod .one a, a[data-bb] { color: var(--accent-text); text-underline-offset: 3px; text-decoration-color: rgb(201 160 92 / .5); }

/* ---------- Order ---------- */
.order { background: var(--bg); border-top: 1px solid var(--line); }
.single { margin-top: 14px; font-size: 15px; color: var(--muted); }
.order .grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 4vw, 64px); margin-top: 48px; align-items: start; }
.cart { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 18px; position: sticky; top: 92px; }
.cart .line { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.cart .line b { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.cart .line small { color: var(--faint); grid-column: 1; font-size: 13px; }
.cart .line .sum { grid-column: 2; grid-row: 1 / span 2; text-align: right; display: grid; gap: 8px; justify-items: end; }
.cart .total { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--serif); font-size: 34px; font-weight: 600; color: var(--accent-text); }
.cart .total > span:first-child { color: var(--text); font-size: 24px; }
.cart .total small { font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--faint); display: block; }
.cart .empty { color: var(--muted); }
form.f { display: grid; gap: 20px; }
form.f[hidden] { display: none; }
.f .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f label.field { display: grid; gap: 8px; font-weight: 500; font-size: 14px; color: var(--muted); letter-spacing: .02em; }
.f .opt { font-weight: 400; color: var(--faint); font-size: 12px; }
.f input, .f select, .f textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; padding: 10px 2px; font-size: 17px; color: var(--text); transition: border-color .2s; }
.f select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.f select option { background: var(--surface); color: var(--text); }
.f textarea { min-height: 76px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-bottom-color: var(--accent); }
.f input::placeholder, .f textarea::placeholder { color: var(--faint); }
.f .err { color: #e8907a; font-size: 13px; font-weight: 500; }
:root[data-theme="light"] .f .err { color: #a3341f; }
.f [aria-invalid="true"] { border-bottom-color: #e8907a; }
.f .check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 15px; color: var(--text); }
.f .check input { width: 18px; height: 18px; margin-top: 5px; accent-color: var(--accent); }
.f .hp { position: absolute; left: -9999px; }
.f .fine { font-size: 13px; color: var(--faint); }
.f .status { font-weight: 500; color: var(--muted); }
.done { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; display: grid; gap: 14px; }
.done[hidden] { display: none; }
.done .num { font-family: var(--serif); font-size: 40px; font-weight: 600; color: var(--accent-text); }

/* Phone order bar */
.obar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: none; align-items: center; justify-content: space-between; gap: 12px; background: #131f18; color: #f1e9d8; border: 1px solid rgb(201 160 92 / .4); border-radius: 999px; padding: 8px 8px 8px 22px; box-shadow: 0 18px 40px -16px rgb(0 0 0 / .6); font-size: 14px; }
.obar .btn { min-height: 42px; padding: 8px 20px; }
.has-cart .obar { display: flex; }
.in-order .obar, .age-gate .obar { display: none !important; }
@media (min-width: 861px) { .obar { display: none !important; } }

/* ---------- Name and Takeo ---------- */
.story { background: var(--bg-2); border-top: 1px solid var(--line); }
.story .wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; }
.story .kline { width: min(360px, 100%); margin-bottom: 30px; }
.story .namebox { padding-top: 22px; border-top: 1px solid var(--line-2); display: grid; gap: 10px; }
.story .namebox b { font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--accent-text); }
.rows { margin-top: 30px; display: grid; }
.rows .row { display: grid; grid-template-columns: 190px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); align-items: baseline; }
.rows .row p { color: var(--muted); font-size: 16px; }

/* ---------- Nothing is wasted ---------- */
.waste { background: var(--bg); border-top: 1px solid var(--line); }
.waste .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 72px; align-items: center; }
.waste .dyk { font-family: var(--serif); font-size: clamp(26px, 2.7vw, 38px); line-height: 1.3; margin-top: 18px; }
.waste .dyk[lang="km"] { font-family: var(--km-body); font-size: clamp(18px, 1.9vw, 24px); line-height: 1.9; }
.vals { display: grid; gap: 0; border-top: 1px solid var(--line); }
.vals > span { display: block; padding: 20px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 26px; }
.vals > span [lang="km"] { font-family: var(--km-display); font-size: 19px; font-weight: 500; }
.vals > span:first-child { color: var(--accent-text); }

/* ---------- Serving ---------- */
.serve { background: var(--bg-2); border-top: 1px solid var(--line); }
.serve .intro { display: grid; gap: 14px; max-width: 760px; }
.recipes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); margin-top: 48px; }
.recipe { border-top: 1px solid var(--accent); padding-top: 24px; display: grid; gap: 16px; align-content: start; }
.recipe h3 { font-size: 32px; }
.recipe ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.recipe li { display: grid; grid-template-columns: 72px 1fr; gap: 12px; color: var(--muted); }
.recipe li b { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--accent-text); }

/* ---------- Questions ---------- */
.faq { background: var(--bg); border-top: 1px solid var(--line); }
.faq .list { margin-top: 36px; display: grid; max-width: 860px; border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 24px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary [lang="km"] { font-family: var(--km-display); font-size: 18px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 22px; line-height: 1; color: var(--accent-text); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--muted); max-width: 62ch; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding-block: 64px 110px; background: var(--bg-2); }
footer .wrap { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: start; }
footer .mark { width: 110px; }
.resp { display: grid; gap: 6px; }
.resp p { font-weight: 600; font-size: 16px; }
.resp .small { font-weight: 400; color: var(--muted); font-size: 14px; }
.fine-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 12px; color: var(--faint); border-top: 1px solid var(--line); padding-top: 18px; letter-spacing: .03em; }

/* ---------- Age gate ---------- */
.gate { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 20px; background: radial-gradient(70% 60% at 50% 35%, #17251d, #0b120e 70%); overflow-y: auto; color: #f1e9d8; }
:root[data-theme="light"] .gate { background: radial-gradient(70% 60% at 50% 35%, #fbf7f0, #efe7da 70%); color: #22160f; }
.age-gate .gate { display: grid; }
.age-gate body { overflow: hidden; }
.gate .card { width: min(520px, 100%); display: grid; gap: 22px; justify-items: center; text-align: center; }
.gate .logo { width: 150px; }
.gate .gq { font-weight: 600; font-size: 24px; line-height: 1.5; }
.gate .gq[lang="en"] { font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--accent-text); }
.gate .q { font-size: 16px; color: var(--muted); }
.gate .choices { display: grid; gap: 10px; width: 100%; margin-top: 6px; }
.gate .btn { width: 100%; flex-direction: column; gap: 2px; padding: 14px 20px; }
.gate .btn span { line-height: 1.4; }
.gate .btn span[lang="en"] { font-weight: 500; font-size: 13px; opacity: .8; }
.gate .note { font-size: 12px; color: var(--faint); display: grid; gap: 2px; }
.gate .note span[lang="km"] { font-size: 12px; }
.gate .resp-line { font-weight: 500; font-size: 13px; color: var(--muted); display: grid; gap: 2px; }

/* Reveal sections as they arrive */
@media (prefers-reduced-motion: no-preference) {
  .hero .copy > * { animation: rise 1s var(--ease) both; }
  .hero .copy > :nth-child(2) { animation-delay: .1s; } .hero .copy > :nth-child(3) { animation-delay: .16s; }
  .hero .copy > :nth-child(5) { animation-delay: .26s; } .hero .copy > :nth-child(7) { animation-delay: .34s; }
  @keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
}

/* ---------- Phone ---------- */
/* Hero photo (shown while the 3D loads, or without 3D): keep the whole bottle in view on tall phone screens [Dave, 2026-11-20]. */
@media (max-width: 760px) { .hero .stage img { object-position: 14% 55%; } }
@media (max-width: 860px) {
  body { font-size: 16px; }
  .bar .links, .bar .order-link { display: none; }
  .hero { grid-template-rows: auto auto auto; min-height: 0; }
  .hero .stage { position: relative; inset: auto; height: 62svh; min-height: 380px; z-index: 0; }
  .hero .stage::after { background: linear-gradient(0deg, #0b120e 0%, rgb(11 18 14 / 0) 30%); }
  .hero .copy { padding-block: 8px 36px; }
  .hero h1 { font-size: clamp(42px, 12vw, 60px); }
  .journey .wrap, .story .wrap, .waste .wrap, footer .wrap, .order .grid, .recipes { grid-template-columns: 1fr; gap: 28px; }
  .j-side { position: static; } .j-era, .j-line { display: none; }
  .j-beats li { min-height: 0; opacity: 1; padding-block: 24px; border-top: 1px solid var(--line); }
  /* The spirits on a phone: a swipe row, the next bottle peeking; it scrolls inside itself, the page stays still. */
  .range, .range.two-up { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78vw, 340px, max(240px, calc(82svh * 760 / 1210))); column-gap: 16px; max-width: none; margin-inline: -20px; padding: 0 20px 6px; scroll-padding-inline: 20px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .range::-webkit-scrollbar { display: none; }
  .range .prod { scroll-snap-align: start; }
  .rows .row { grid-template-columns: 1fr; gap: 6px; }
  .band .wrap { grid-template-columns: 1fr; gap: 12px; padding-block: 28px; }
  .band .age18 { justify-self: start; }
  .cart { position: static; }
  .f .two { grid-template-columns: 1fr; }
  .bar .mark { height: 32px; }
}

/* ---------- Shop (Dave, 20 Nov: product pages and a separate checkout, e-commerce style) ---------- */
/* Header order button: a bag icon and the count; on phones the icon only */
.bar .order-link svg { flex: none; }
.count:empty { display: none; }
.count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--on-accent); color: var(--accent-text); font-size: 12px; display: inline-grid; place-items: center; }
/* Cards link to their page */
a.pic { display: block; }
.prod h3 a { text-decoration: none; }
.prod h3 a:hover { color: var(--accent-text); }
.prod .more a { font-size: 14px; font-weight: 600; color: var(--accent-text); text-decoration: none; letter-spacing: .02em; }
.prod .more a:hover { text-decoration: underline; text-underline-offset: 4px; }
/* "Added to your order" note */
.toast { position: fixed; z-index: 40; right: 16px; bottom: 16px; width: min(420px, calc(100% - 32px)); display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 12px 12px 12px 14px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 18px 50px rgb(0 0 0 / .35); transform: translateY(140%); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
.toast.on { transform: none; opacity: 1; }
.toast img { width: 40px; height: 52px; object-fit: contain; border-radius: 6px; background: #0b120e; }
.toast span { display: grid; font-size: 14px; color: var(--muted); line-height: 1.4; }
.toast b { color: var(--text); font-weight: 600; }
.has-cart .toast { bottom: 84px; }
@media (min-width: 861px) { .has-cart .toast { bottom: 16px; } }
.shop-km h1 [lang="km"], .pdp h1[lang], .co h1 [lang="km"] { font-family: var(--km-display); }

/* Product page */
.pdp { padding-top: 22px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--faint); margin-bottom: 22px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-text); }
.pdp-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; padding-bottom: clamp(48px, 7vw, 96px); }
.gallery { position: sticky; top: 88px; display: grid; gap: 12px; }
.g-main { border-radius: var(--r); overflow: hidden; background: #0b120e; display: grid; place-items: center; max-height: 82svh; }
.g-main img { width: 100%; max-height: 82svh; object-fit: contain; }
.g-thumbs { display: flex; gap: 10px; }
.g-thumbs button { width: 72px; height: 90px; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #0b120e; cursor: pointer; opacity: .7; transition: opacity .2s, border-color .2s; }
.g-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.g-thumbs button[aria-selected="true"], .g-thumbs button:hover { opacity: 1; border-color: var(--accent); }
.info { display: grid; gap: 18px; align-content: start; }
.info .kicker { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.info .kicker [lang="km"] { letter-spacing: 0; text-transform: none; font-size: 14px; }
.info h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5vw, 64px); line-height: 1.02; letter-spacing: -.015em; }
.info .kind { color: var(--muted); margin-top: -8px; }
.info .price { font-family: var(--serif); font-size: 40px; font-weight: 600; color: var(--accent-text); line-height: 1.1; display: grid; }
.info .price small { font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--faint); }
.info dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 22px; margin: 0; padding: 16px 0; border-block: 1px solid var(--line); font-size: 15px; }
.info dt { color: var(--muted); } .info dd { margin: 0; font-weight: 600; }
.qty { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.qty .qlabel { font-size: 14px; color: var(--muted); }
.qty .qsum { margin-left: auto; font-weight: 600; }
.info .ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.info .ctas .btn { flex: 1 1 200px; min-height: 52px; }
.incart { font-size: 14px; color: var(--accent-text); }
.info .note { color: var(--muted); }
.assure { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.assure li { padding-left: 22px; position: relative; }
.assure li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 10px; height: 1px; background: var(--accent); }
.info .one, .resp-small { font-size: 13px; color: var(--faint); }
.acc details { border-top: 1px solid var(--line); padding: 4px 0; }
.acc details:last-child { border-bottom: 1px solid var(--line); }
.acc summary { cursor: pointer; list-style: none; padding: 18px 0; font-family: var(--serif); font-size: 24px; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.acc summary [lang="km"] { font-family: var(--km-display); font-size: 18px; }
.acc summary::after { content: "+"; color: var(--accent-text); font-family: var(--sans); font-weight: 400; }
.acc details[open] summary::after { content: "−"; }
.acc summary::-webkit-details-marker { display: none; }
.acc details > *:not(summary) { margin: 0 0 16px; color: var(--muted); max-width: 70ch; }
.acc dl { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; } .acc dt { color: var(--faint); } .acc dd { margin: 0; color: var(--text); font-weight: 600; }
.pdp-details { background: var(--bg); border-top: 1px solid var(--line); }
.pdp-others { background: var(--bg-2); border-top: 1px solid var(--line); }
.range.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
.range-dots { display: none; justify-content: center; gap: 4px; margin-top: 18px; }
@media (max-width: 860px) { .range-dots { display: flex; } }
.range-dots button { width: 28px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.range-dots button::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--line-2); transition: width .4s var(--ease), background-color .4s var(--ease); }
.range-dots button[aria-current="true"]::before { width: 22px; background: var(--accent); }
.pbar { display: none; }
.missing { grid-column: 1 / -1; display: grid; gap: 20px; padding: 60px 0; }

/* Checkout */
.co { padding: 26px 0 90px; min-height: 70svh; }
.co-head { display: grid; gap: 14px; margin-bottom: 30px; }
.co-head .back { font-size: 14px; color: var(--muted); text-decoration: none; }
.co-head .back:hover { color: var(--accent-text); }
.co-head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.05; }
.co-head h1 em { color: var(--accent-text); }
.co h1 [lang="km"] { font-weight: 600; font-size: .72em; line-height: 1.5; }
.steps { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; counter-reset: s; }
.steps li { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 2px solid var(--line-2); color: var(--faint); font-size: 14px; font-weight: 500; line-height: 1.35; transition: color .3s, border-color .3s; }
.steps .n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid currentColor; font-size: 13px; }
.steps li.past { color: var(--muted); border-color: var(--accent); }
.steps li.on { color: var(--text); border-color: var(--accent); }
.steps li.on .n { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.co-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.co-step { display: grid; gap: 22px; }
.co-step[hidden] { display: none; }
.co-step h2 { font-size: clamp(28px, 3vw, 38px); }
.co h2 [lang="km"] { font-family: var(--km-display); font-weight: 600; font-size: .78em; line-height: 1.5; letter-spacing: 0; }
.co .nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 8px; }
.co .nav .btn { min-height: 50px; padding-inline: 26px; }
.lines { display: grid; }
.cline { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cline:first-child { border-top: 1px solid var(--line); }
.cline .thumb { width: 64px; height: 84px; border-radius: 10px; overflow: hidden; background: #0b120e; display: block; }
.cline .thumb img { width: 100%; height: 100%; object-fit: contain; }
.ctext { display: grid; gap: 4px; min-width: 0; }
.ctext b { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.2; }
.ctext b a { text-decoration: none; }
.ctext small { color: var(--faint); font-size: 13px; }
.cedit { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 6px; }
.cedit .step button { width: 36px; height: 36px; }
.cedit .step output { min-width: 58px; font-size: 13px; }
.camt { font-weight: 600; white-space: nowrap; align-self: start; padding-top: 4px; }
button.link { background: none; border: 0; padding: 0; color: var(--muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
button.link:hover { color: var(--accent-text); }
.co .single { font-size: 14px; color: var(--muted); }
.co .empty { display: grid; gap: 18px; color: var(--muted); }
.co .empty[hidden] { display: none; }
.picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pick { display: grid; gap: 10px; text-decoration: none; padding: 10px; border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s; }
.pick:hover { border-color: var(--accent); }
.pick img { width: 100%; aspect-ratio: 760 / 1210; object-fit: contain; border-radius: 8px; background: #0b120e; }
.pick span { display: grid; gap: 2px; } .pick b { font-weight: 600; font-size: 15px; color: var(--text); } .pick small { color: var(--faint); font-size: 13px; }
.review { display: grid; gap: 16px; }
.rv { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: grid; gap: 8px; }
.rv-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rv .cline { grid-template-columns: 48px 1fr auto; padding: 10px 0; }
.rv .cline:first-child { border-top: 0; }
.rv .cline .thumb { width: 48px; height: 62px; }
.rv dl { display: grid; grid-template-columns: minmax(110px, auto) 1fr; gap: 6px 18px; margin: 0; font-size: 15px; }
.rv dt { color: var(--faint); } .rv dd { margin: 0; overflow-wrap: anywhere; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 12px; font-weight: 600; }
.sum-total b { font-family: var(--serif); font-size: 30px; color: var(--accent-text); }
.sum-total small { display: block; font-size: 12px; font-weight: 400; color: var(--faint); }
.co-sum { position: sticky; top: 88px; display: grid; gap: 14px; }
.co-sum[hidden] { display: none; }
.sum-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 6px 20px 18px; }
.sum-box > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; font-weight: 600; border-bottom: 1px solid var(--line); }
.sum-box > summary::-webkit-details-marker { display: none; }
.sum-box > summary b { font-family: var(--serif); font-size: 24px; color: var(--accent-text); }
.sum-box .cline { grid-template-columns: 44px 1fr auto; padding: 12px 0; }
.sum-box .cline:first-child { border-top: 0; }
.sum-box .cline .thumb { width: 44px; height: 58px; }
.sum-box .ctext b { font-size: 17px; }
.sum-box .fine { font-size: 13px; color: var(--faint); margin-top: 6px; }
.co .done { display: grid; justify-items: start; }
.co .done[hidden] { display: none; }
.co .tick { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-size: 26px; }
.co .f .check { font-size: 15px; }

@media (max-width: 860px) {
  .bar .order-link { display: inline-flex; padding: 8px 12px; }
  .bar .order-link .ol-text { display: none; }
  .pdp-main { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .g-main, .g-main img { max-height: 70svh; }
  .pbar { position: fixed; z-index: 30; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; background: color-mix(in srgb, var(--surface-2) 92%, transparent); backdrop-filter: blur(12px); border: 1px solid var(--line-2); border-radius: 16px; }
  .pbar span { display: grid; line-height: 1.3; } .pbar small { color: var(--muted); font-size: 12px; }
  [data-page="spirit"] .obar { display: none !important; }
  [data-page="spirit"] footer { padding-bottom: 120px; }
  .co-grid { grid-template-columns: 1fr; }
  .co-sum { position: static; order: -1; }
  .steps li { font-size: 12px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .picks { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .pick { padding: 6px; } .pick b { font-size: 13px; }
  .cline { grid-template-columns: 56px 1fr; }
  .cline .camt { grid-column: 2; padding-top: 0; }
  .rv .cline, .sum-box .cline { grid-template-columns: 44px 1fr auto; }
  .rv .cline .camt, .sum-box .cline .camt { grid-column: auto; }
  .co .nav .btn { flex: 1 1 140px; }
}
@media (max-width: 860px) { [data-page="spirit"] .toast { bottom: 92px; } }

/* ---------- Hero, photo-led (Dave, 20 Nov: "go with option 1"). On when config.js bottle3d is false. ----------
   Wide screens: Suraa's lakeside photo fills the left, whole bottle in view, fading into the night; the words sit on the
   right. Phones: the photo in full above the words. Motion: a slow settle on load, a slower drift than the page on scroll. */
.hero-photo .hero { grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); grid-template-rows: 1fr auto; grid-template-areas: "stage copy" "band band"; }
.hero-photo .hero .stage { position: relative; inset: auto; grid-area: stage; z-index: 0; min-height: 600px; overflow: hidden; }
.hero-photo .hero .stage img { opacity: var(--pd, 1); object-position: 28% 78%; transform: translate3d(0, var(--py, 0), 0); will-change: transform; }
.hero-photo .hero .stage::after { background: linear-gradient(90deg, rgb(11 18 14 / 0) 62%, #0b120e 99%), linear-gradient(0deg, #0b120e 0%, rgb(11 18 14 / 0) 16%), linear-gradient(180deg, rgb(11 18 14 / .35) 0%, rgb(11 18 14 / 0) 14%); }
.hero-photo .hero .hint { display: none; }
.hero-photo .hero .copy { grid-area: copy; width: auto; margin: 0; padding: 48px max(20px, calc((100vw - 1240px) / 2)) 48px clamp(20px, 3vw, 48px); }
.hero-photo .hero .copy h1 { max-width: 12ch; }
.hero-photo .hero .band { grid-area: band; }
@media (prefers-reduced-motion: no-preference) {
  .hero-photo .hero .stage img { animation: settle 2.6s var(--ease) both; }
  @keyframes settle { from { scale: 1.07; filter: brightness(.7); } to { scale: 1; filter: none; } }
  /* the three spirits rise in one by one */
  #range .range .prod { opacity: 0; transform: translateY(56px); transition: opacity 1s var(--ease), transform 1.3s var(--ease); }
  #range.in .range .prod { opacity: 1; transform: none; }
  #range.in .range .prod:nth-child(2) { transition-delay: .16s; }
  #range.in .range .prod:nth-child(3) { transition-delay: .32s; }
}
@media (max-width: 860px) {
  .hero-photo .hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto; grid-template-areas: "stage" "copy" "band"; }
  .hero-photo .hero .stage { min-height: 0; height: auto; aspect-ratio: 1600 / 1400; }
  .hero-photo .hero .stage::after { background: linear-gradient(0deg, #0b120e 0%, rgb(11 18 14 / 0) 22%); }
  .hero-photo .hero .copy { padding: 8px 20px 36px; }
}

/* ---------- Hero, the three spirits (Dave, 20 Nov: "let's use these"). On when config.js hero is "trio". ----------
   The picture runs edge to edge at its own shape (all three bottles whole), the words follow beneath it. */
.hero [data-hero-trio] { display: none; }
.hero-trio .hero [data-hero-photo] { display: none; }
.hero-trio .hero [data-hero-trio] { display: block; }
.hero-trio .hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto; grid-template-areas: "stage" "copy" "band"; min-height: 0; }
.hero-trio .hero .stage { position: relative; inset: auto; grid-area: stage; z-index: 0; aspect-ratio: 1671 / 941; height: auto; min-height: 0; max-height: calc(100svh - 66px); width: 100%; overflow: hidden; margin-inline: auto; }
.hero-trio .hero .stage img { opacity: var(--pd, 1); object-position: 50% 40%; transform: translate3d(0, var(--py, 0), 0); will-change: transform; }
.hero-trio .hero .stage::after { background: linear-gradient(0deg, #0b120e 0%, rgb(11 18 14 / 0) 18%); }
.hero-trio .hero .hint { display: none; }
.hero-trio .hero .copy { grid-area: copy; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: clamp(28px, 5vw, 80px); align-items: end; padding-block: 8px 48px; }
.hero-trio .hero .copy .kicker { grid-column: 1 / -1; }
.hero-trio .hero .copy h1 { grid-column: 1; max-width: 16ch; }
.hero-trio .hero .copy .lede2, .hero-trio .hero .copy .ctas { grid-column: 2; }
.hero-trio .hero .copy .lede2 { margin-top: 0; }
.hero-trio .hero .band { grid-area: band; }
@media (prefers-reduced-motion: no-preference) {
  .hero-trio .hero .stage img { animation: settle 2.6s var(--ease) both; }
}
@media (max-width: 860px) {
  .hero-trio .hero .copy { grid-template-columns: 1fr; padding: 4px 20px 36px; }
  .hero-trio .hero .copy h1, .hero-trio .hero .copy .lede2, .hero-trio .hero .copy .ctas { grid-column: 1; }
  .hero-trio .hero .copy .lede2 { margin-top: 18px; }
}
/* Story pictures and the serving picture. AI pictures say "illustrative" on them. */
.j-pic { position: relative; margin: 0 0 6px; border-radius: 14px; overflow: hidden; max-width: 560px; background: var(--surface); }
.j-pic img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.j-ill { position: absolute; right: 10px; bottom: 8px; font-size: 11px; letter-spacing: .04em; color: #f1e9d8; background: rgb(11 18 14 / .55); padding: 2px 8px; border-radius: 999px; backdrop-filter: blur(6px); }
.j-ill [lang="km"] { font-size: 11px; line-height: 1.6; }
.serve-pic { position: relative; margin: 40px 0 0; border-radius: var(--r); overflow: hidden; }
.serve-pic img { width: 100%; aspect-ratio: 1671 / 941; object-fit: cover; }

/* The confirmation page's next step: the customer's own chat with the Suraa bot (Dave, 21 Nov) */
.tg-next { display: grid; gap: 14px; width: 100%; padding: 20px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); }
.tg-next[hidden] { display: none; }
.tg-next .tg-h { font-size: 17px; }
.tg-steps { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--muted); font-size: 15px; }
.tg-btn { --tg: #2aabee; background: var(--tg); border-color: var(--tg); color: #fff; justify-self: start; min-height: 52px; padding-inline: 24px; }
.tg-btn:hover { background: #229ed9; border-color: #229ed9; color: #fff; }
@media (max-width: 860px) { .tg-btn { justify-self: stretch; } }

/* Privacy page */
.legal { padding: 40px 0 90px; }
.legal .wrap { max-width: 760px; display: grid; gap: 26px; }
.legal .kicker { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.legal .kicker [lang="km"] { letter-spacing: 0; text-transform: none; font-size: 14px; }
.legal h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; }
.legal h1 [lang="km"] { font-family: var(--km-display); font-weight: 600; font-size: .72em; line-height: 1.5; }
.legal .upd { color: var(--faint); font-size: 14px; margin-top: -14px; }
.legal section { display: grid; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.legal h2 { font-size: 24px; }
.legal h2 [lang="km"] { font-family: var(--km-display); font-size: 19px; font-weight: 600; }
.legal section p { color: var(--muted); }
.legal a:not(.btn) { color: var(--accent-text); }
.fine-row a { color: inherit; }

/* Cookie notice (only when analytics is on) */
.cookie { position: fixed; z-index: 45; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-inline: auto; display: grid; gap: 12px; padding: 16px 18px; background: var(--surface-2); color: var(--text); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 18px 50px rgb(0 0 0 / .35); font-size: 14px; }
.cookie p { color: var(--muted); } .cookie a { color: var(--accent-text); }
.cookie div { display: flex; gap: 8px; flex-wrap: wrap; }
.has-cart .cookie { bottom: 84px; }
@media (min-width: 861px) { .has-cart .cookie { bottom: 16px; } }

.legal .lead-in { font-size: 18px; color: var(--text); }
.legal-links { font-size: 14px; color: var(--faint); }

/* Recipe photo and the values photo */
.recipe .rpic { margin: 0; border-radius: 14px; overflow: hidden; }
.recipe .rpic img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.vals-side { display: grid; gap: 22px; align-content: start; }
.vals-side .vpic { margin: 0; border-radius: var(--r); overflow: hidden; }
.vals-side .vpic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Serving: the two recipes side by side, the Lychee photo beside them (a Crème photo can join later) */
.recipes { align-items: start; }

/* <picture> wraps the photos (AVIF, WebP, JPEG); it lays out as if the img were there alone */
picture { display: contents; }

/* No black bars: when a photo is shown whole (contain) in a frame of another shape, a blurred, enlarged copy of the same
   photo fills the sides (Dave, 21 Nov: "no black sides on the image ... do the background from the image and blur").
   The copy is the image already loaded, so it costs no download. Set --fill: url(...) on the frame. */
.blurfill { position: relative; isolation: isolate; overflow: hidden; }
.blurfill::before { content: ""; position: absolute; inset: -48px; z-index: -1; background: var(--fill) center / cover no-repeat; filter: blur(26px) saturate(1.15) brightness(.9); transform: translateZ(0); }
.blurfill > img { position: relative; }
.toast img { width: 33px; height: 52px; object-fit: cover; }
.g-main.blurfill > img { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); }
.g-main.blurfill > img { width: auto; height: auto; max-width: 100%; }

/* Flow in on scroll (see site.js). Pictures open from a soft frame and settle; text rises; cards lift in. */
@media (prefers-reduced-motion: no-preference) {
  .fl { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
  .fl.fl-in { opacity: 1; transform: none; }
  h2.fl, .kicker.fl { transform: translate3d(0, 20px, 0); filter: blur(8px); transition: opacity .9s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); }
  h2.fl.fl-in, .kicker.fl.fl-in { filter: none; }
  .fl-img { opacity: 1; transform: none; clip-path: inset(10% 7% 10% 7% round var(--r)); transition: clip-path 1.3s var(--ease); }
  .fl-img.fl-in { clip-path: inset(0 round var(--r)); }
  .fl-img img { scale: 1.14; transition: scale 1.8s var(--ease); }
  .fl-img.fl-in img { scale: 1; }
  .prod.fl { transform: translate3d(0, 44px, 0); }
  .prod.fl .pic { clip-path: inset(8% 6% 8% 6% round var(--r)); transition: clip-path 1.3s var(--ease) .1s, transform .7s var(--ease); }
  .prod.fl.fl-in .pic { clip-path: inset(0 round var(--r)); }
  .age18.fl { transform: scale(.55); transition: opacity .6s var(--ease), transform .9s cubic-bezier(.34, 1.56, .64, 1); }
  .age18.fl.fl-in { transform: none; }
  .fl.fl-done { transition: none; will-change: auto; }
  .fl:not(.fl-in) { will-change: opacity, transform; }
}

/* The 18+ line: the badge beside the words, one compact row on phones (Dave, 21 Nov: "unnecessarily 3 rows - should fit"). */
@media (max-width: 760px) {
  .band .wrap { grid-template-columns: auto 1fr; gap: 14px; padding-block: 18px; }
  .band .age18 { justify-self: auto; font-size: 17px; padding: .15em .55em; }
  .band .line { font-size: clamp(15px, 4.3vw, 19px); line-height: 1.3; }
  .band .line[lang="km"] { font-size: clamp(14px, 3.9vw, 17px); line-height: 1.6; }
}
