/* Sombre Mekong — wrapper-print + river-chart identity. Concept by Doris Studio. */
:root {
  --paper: #F1E7D8; --paper-2: #E7D8C2; --paper-3: #DCC9AE;
  --ink: #2A1712; --ink-2: #66493A; --husk: #8E3B22; --husk-ink: #FBF4EA;
  --river: #3F5A4C; --silt: #C9A27A; --night: #120B08;
  --line: rgba(42, 23, 18, .14); --line-2: rgba(42, 23, 18, .28);
  --land: #E9DCC6; --water: #B7C2B0; --water-ink: #6F8578;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Space Grotesk', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.34, 1.4, .5, 1);
  --pad: clamp(20px, 4vw, 56px); --max: 1360px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.16 0 0 0 0 0.09 0 0 0 0 0.07 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: light;
}
[data-theme="dark"] {
  --paper: #140C09; --paper-2: #1E1410; --paper-3: #2A1C16;
  --ink: #EFE3D1; --ink-2: #B8A28C; --husk: #D0663C; --husk-ink: #1A0E0A;
  --river: #86A693; --line: rgba(239, 227, 209, .13); --line-2: rgba(239, 227, 209, .26);
  --land: #1C130F; --water: #2B3A33; --water-ink: #6E8A7B;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
html.locked { overflow: hidden; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; transition: background-color .4s var(--ease), color .4s var(--ease); }
body::before { content: ''; position: fixed; inset: 0; background: var(--grain); opacity: .35; pointer-events: none; z-index: 90; mix-blend-mode: multiply; }
[data-theme="dark"] body::before { opacity: .5; mix-blend-mode: screen; filter: invert(1); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--husk); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 12px 16px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.muted { color: var(--ink-2); }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
#main { outline: none; }

/* ---------- type ---------- */
.eyebrow, .kicker { font: 500 13px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 18px; }
.h1 { font: 400 clamp(44px, 7vw, 108px)/.95 var(--serif); letter-spacing: -.02em; margin: 0; }
.h2 { font: 400 clamp(34px, 4.6vw, 68px)/1 var(--serif); letter-spacing: -.015em; margin: 0 0 20px; }
.h3 { font: 500 clamp(24px, 2.2vw, 32px)/1.15 var(--serif); margin: 0 0 12px; }
.h1 em, .h2 em, .intro-q em { font-style: italic; color: var(--husk); }
.lede { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 58ch; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); border-radius: 2px; font: 500 15px/1 var(--sans); letter-spacing: .02em; text-decoration: none; transition: transform .2s var(--ease), background .25s var(--ease), color .25s var(--ease); }
.btn:hover { background: transparent; color: var(--ink); }
.btn:active, .chip:active, .icon-btn:active, .btn-add:active { transform: scale(.97); }
.btn-ember { background: var(--husk); border-color: var(--husk); color: var(--husk-ink); }
.btn-ember:hover { background: transparent; color: var(--husk); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-wide { width: 100%; }
.btn[aria-disabled="true"] { opacity: .55; }
.btn .ic { width: 18px; height: 18px; }
.link-u { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding: 6px 0; transition: background-size .35s var(--ease); }
.link-u:hover { background-size: 0 1px; background-position: 100% 100%; }
.link-u .ic { width: 18px; transition: transform .3s var(--ease); }
.link-u:hover .ic { transform: translateX(4px); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: inherit; position: relative; transition: background .2s var(--ease), transform .2s var(--ease); }
.icon-btn:hover { background: var(--line); }
.icon-btn[aria-pressed="true"] { color: var(--husk); }
.icon-btn.lang { font: 600 13px/1 var(--sans); letter-spacing: .08em; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; font-size: 14px; text-decoration: none; transition: background .2s var(--ease), border-color .2s, transform .2s var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip .ic { width: 16px; height: 16px; }
.chip-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- header ---------- */
.mast { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--ink); transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s; }
.mast-in { display: flex; align-items: center; gap: 24px; max-width: var(--max); margin: 0 auto; padding: 14px var(--pad); }
.scrolled .mast { background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
[data-route="home"] .mast, [data-route="farms"] .mast { color: #EFE3D1; }
.scrolled[data-route="home"] .mast, .scrolled[data-route="farms"] .mast { color: var(--ink); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 14px/1 var(--sans); letter-spacing: .28em; min-height: 44px; }
.logo svg { width: 34px; fill: none; stroke: var(--husk); stroke-width: 2.2; stroke-linecap: round; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 10px 14px; font-size: 15px; text-decoration: none; position: relative; }
.nav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.tools { display: flex; align-items: center; gap: 2px; }
.bag-n { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--husk); color: #FBF4EA; font: 600 11px/18px var(--sans); }
.bag.bump { animation: bump .5s var(--spring); }
@keyframes bump { 40% { transform: scale(1.25); } }
.menu-btn { display: none; }
.sheet { position: fixed; inset: 0; z-index: 45; background: var(--paper); padding: 110px var(--pad) 40px; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .5s var(--ease), visibility 0s .5s; }
.sheet.on { visibility: visible; clip-path: inset(0); transition: clip-path .5s var(--ease); }
.sheet nav { display: grid; gap: 6px; }
.sheet a { font: 400 44px/1.15 var(--serif); text-decoration: none; padding: 4px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(16px); transition: .45s var(--ease) calc(var(--i) * 50ms + .1s); }
.sheet.on a { opacity: 1; transform: none; }
.sheet.on ~ main, .sheet.on ~ * { }
html:has(.sheet.on) .mast { color: var(--ink); }

/* ---------- reveal motion ---------- */
[data-rv] { opacity: 0; transform: translateY(28px); transition: opacity .6s var(--ease) calc(var(--i, 0) * 70ms), transform .6s var(--ease) calc(var(--i, 0) * 70ms); }
[data-rv].in { opacity: 1; transform: none; }
.stag > * { opacity: 0; transform: translateY(22px); transition: opacity .55s var(--ease) calc(var(--i, 0) * 70ms), transform .55s var(--ease) calc(var(--i, 0) * 70ms); }
.stag.in > * { opacity: 1; transform: none; }
[data-clip] { clip-path: inset(100% 0 0 0); transition: clip-path 1s cubic-bezier(.7, 0, .2, 1); }
[data-clip] img { transform: scale(1.14); transition: transform 1.4s var(--ease); }
[data-clip].in { clip-path: inset(0); }
[data-clip].in img { transform: scale(1); }
.calm *, .calm *::before, .calm *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .38s; animation-timing-function: var(--ease); }
::view-transition-group(*) { animation-duration: .55s; animation-timing-function: var(--ease); }

/* ---------- photos ---------- */
.ph { margin: 0; position: relative; overflow: hidden; background: var(--paper-3); height: 100%; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph.noimg { display: grid; place-items: center; background: radial-gradient(120% 90% at 30% 20%, #6b3a24, #2a1712 70%); color: rgba(239, 215, 180, .55); }
.ph.noimg::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(170deg, transparent 0 14px, rgba(239, 215, 180, .05) 14px 15px); }
.ph-art svg { width: min(42%, 160px); }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; background: var(--night); color: #EFE3D1; overflow: hidden; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 70% at 66% 52%, rgba(178, 86, 42, .34), transparent 70%), radial-gradient(40% 50% at 20% 90%, rgba(63, 90, 76, .3), transparent 70%); z-index: -1; }
.hero::after { content: ''; position: absolute; inset: 0; background: var(--grain); opacity: .7; mix-blend-mode: screen; filter: invert(1); opacity: .08; pointer-events: none; z-index: 3; }
.hero-stage { position: absolute; inset: 0; z-index: 1; }
.bar-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.hero-poster { position: absolute; inset: 0; background: radial-gradient(28% 22% at 66% 54%, rgba(80, 36, 18, .9), transparent 70%); transition: opacity .8s var(--ease); }
.hero-stage.live .hero-poster { opacity: 0; }
.hero-copy { position: absolute; left: 0; right: 0; bottom: 0; top: 0; z-index: 2; pointer-events: none; max-width: var(--max); margin: 0 auto; padding: 120px var(--pad) clamp(28px, 6vh, 64px); display: grid; grid-template-columns: minmax(0, 1fr); align-content: end; }
.hero-copy a, .hero-copy button { pointer-events: auto; }
.hero .kicker { color: rgba(239, 227, 209, .72); }
.hero-title { position: absolute; z-index: 0; left: var(--pad); top: clamp(96px, 15vh, 150px); margin: 0; font: 400 clamp(88px, 15.5vw, 250px)/.8 var(--serif); letter-spacing: -.035em; color: #EFE3D1; pointer-events: none; }
.hero-title span { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .ht-b { padding-left: .9em; }
.hero-title em { color: #D0663C; }
.hero-title span { animation: rise 1.1s var(--ease) both; }
.hero-title .ht-b { animation-delay: .12s; }
@keyframes rise { from { clip-path: inset(0 0 100% 0); transform: translateY(.3em); } to { clip-path: inset(0 0 0 0); transform: none; } }
.hero-lede { max-width: 40ch; font-size: clamp(16px, 1.25vw, 18px); color: rgba(239, 227, 209, .82); margin: 0 0 26px; }
.hero-cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero .btn-ember { color: #FBF4EA; background: #B24A26; border-color: #B24A26; }
.hero .btn-ember:hover { background: transparent; color: #EFE3D1; border-color: #EFE3D1; }
.thermo { position: absolute; z-index: 2; right: var(--pad); bottom: clamp(28px, 6vh, 64px); display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; width: 260px; padding: 16px 18px; border: 1px solid rgba(239, 227, 209, .22); background: rgba(18, 11, 8, .45); }
.th-ic { color: #D0663C; }
.th-ic .ic { width: 26px; height: 26px; }
.th-v { margin: 0; font: 500 30px/1 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.th-s { margin: 4px 0 0; font-size: 13px; color: rgba(239, 227, 209, .72); }
.th-bar { grid-column: 1 / -1; height: 3px; background: rgba(239, 227, 209, .15); overflow: hidden; }
.th-bar i { display: block; height: 100%; background: linear-gradient(90deg, #C9A27A, #D0663C 70%, #F08A50); transform-origin: left; transform: scaleX(.45); transition: transform .3s var(--ease); }
.thermo[data-hot="2"] .th-v { color: #F08A50; }
.hero-ctrl { position: absolute; z-index: 2; right: calc(var(--pad) + 280px); bottom: clamp(28px, 6vh, 64px); display: flex; gap: 8px; }
.hero-ctrl .chip { color: #EFE3D1; border-color: rgba(239, 227, 209, .3); background: rgba(18, 11, 8, .35); }
.hero-ctrl .chip:hover { border-color: #EFE3D1; }
.hero-tag { position: absolute; z-index: 2; right: var(--pad); top: 50%; margin: 0; writing-mode: vertical-rl; font: 500 12px/1 var(--sans); letter-spacing: .3em; color: rgba(239, 227, 209, .5); transform: translateY(-50%); }
.hero-scroll { position: absolute; z-index: 2; left: 50%; bottom: 18px; width: 44px; height: 44px; display: grid; place-items: center; transform: translateX(-50%); }
.hero-scroll span { width: 1px; height: 30px; background: rgba(239, 227, 209, .4); position: relative; overflow: hidden; }
.hero-scroll span::after { content: ''; position: absolute; inset: 0; background: #EFE3D1; animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

/* ---------- intro ---------- */
.intro { padding-block: clamp(90px, 14vw, 180px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; }
.intro-n { grid-column: 1 / 3; font: italic 400 22px/1 var(--serif); color: var(--husk); margin: 10px 0 0; }
.intro-q { grid-column: 3 / 12; font: 400 clamp(30px, 3.6vw, 54px)/1.12 var(--serif); letter-spacing: -.01em; margin: 0 0 clamp(60px, 8vw, 110px); }
.intro-cols { grid-column: 1 / -1; display: grid; grid-template-columns: 5fr 1fr 6fr; align-items: end; }
.intro-ph { grid-column: 1; aspect-ratio: 4 / 5; }
.intro-facts { grid-column: 3; display: grid; gap: 36px; margin-bottom: 20px; }
.intro-facts p, .numbers p { margin: 0; display: grid; gap: 6px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.big { font: 400 clamp(48px, 5.4vw, 80px)/1 var(--serif); letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }
.intro-facts p > span:last-child, .numbers p > span:last-child { color: var(--ink-2); max-width: 36ch; }

/* ---------- story (pinned) ---------- */
.story { position: relative; height: calc(var(--n) * 90vh + 100vh); background: var(--night); color: #EFE3D1; }
.story-pin { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: 58fr 42fr; overflow: hidden; }
.story-media { position: relative; overflow: hidden; }
.story-img { position: absolute; inset: 0; clip-path: inset(calc((1 - var(--lp, 0)) * 100%) 0 0 0); }
.story-img:first-child { clip-path: none; }
.story-img .ph { transform: scale(calc(1.15 - var(--lp, 0) * .15)); }
.story-img:first-child .ph { transform: none; }
.story-count { position: absolute; left: 28px; bottom: 24px; font: 400 clamp(64px, 8vw, 120px)/.8 var(--serif); color: #EFE3D1; mix-blend-mode: difference; }
.sc-of { font-size: .3em; margin-left: 8px; opacity: .7; }
.story-text { position: relative; padding: clamp(100px, 14vh, 140px) clamp(28px, 4vw, 64px) 48px; display: flex; flex-direction: column; }
.story .eyebrow { color: rgba(239, 227, 209, .6); }
.story-steps { position: relative; flex: 1; }
.story-step { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(40px); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
.story-step.past { transform: translateY(-40px); }
.story-step.on { opacity: 1; transform: none; pointer-events: auto; }
.ss-n { font: italic 400 22px/1 var(--serif); color: #D0663C; }
.story-step h3 { font: 400 clamp(36px, 3.6vw, 58px)/1.02 var(--serif); margin: 14px 0 22px; letter-spacing: -.015em; }
.story-step p { color: rgba(239, 227, 209, .78); max-width: 46ch; margin: 0 0 18px; font-size: 17px; }
.story-step .ss-f { display: flex; gap: 10px; align-items: center; color: #C9A27A; font-weight: 500; }
.story-rail { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 6px; }
.story-rail li { height: 2px; background: rgba(239, 227, 209, .18); position: relative; }
.story-rail li span { position: absolute; inset: 0; background: #D0663C; transform-origin: left; transform: scaleX(var(--f, 0)); }

/* ---------- journey / river chart ---------- */
.journey { padding-block: clamp(90px, 12vw, 160px); }
.journey-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 24px; }
.journey-head { grid-column: 1 / 8; }
.chart { grid-column: 1 / 10; margin: 0; border: 1px solid var(--line-2); background: var(--land); }
.stops { grid-column: 10 / 13; list-style: none; margin: 0; padding: 0; display: grid; align-content: start; gap: 0; }
.stop-li { display: grid; gap: 2px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--ink-2); transition: color .4s var(--ease); }
.stop-li strong { font: 500 21px/1.2 var(--serif); color: var(--ink-2); transition: color .4s; }
.stop-li span:last-child { font-size: 14px; }
.st-t { font: 500 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.stop-li.on { color: var(--ink); }
.stop-li.on strong { color: var(--ink); }
.stop-li.on .st-t { color: var(--husk); }
.chart-svg { width: 100%; height: auto; }
.chart-svg .land { fill: var(--land); }
.chart-svg .hatch { stroke: var(--ink); stroke-opacity: .09; stroke-width: 1; }
.river { fill: none; stroke: var(--water); stroke-width: var(--w); stroke-linecap: round; }
.river-ink path { stroke: var(--water-ink); stroke-width: 1; stroke-dasharray: 2 6; opacity: .8; }
.snd text { font: italic 13px var(--serif); fill: var(--water-ink); }
.rlabel text { font: italic 500 18px var(--serif); fill: var(--water-ink); }
.plabel text { font: 500 12px var(--sans); letter-spacing: .4em; fill: var(--ink-2); }
.compass circle { fill: none; stroke: var(--ink-2); stroke-width: .8; }
.compass path { fill: var(--ink-2); }
.compass text, .scale text { font: 500 11px var(--sans); fill: var(--ink-2); }
.scale path { stroke: var(--ink-2); fill: none; }
.route-shadow { fill: none; stroke: var(--husk); stroke-opacity: .16; stroke-width: 3; stroke-dasharray: 4 7; }
.route { fill: none; stroke: var(--husk); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.bean { fill: var(--ink); stroke: var(--land); stroke-width: 3; }
.stop circle { transition: transform .5s var(--spring), fill .3s; transform-box: fill-box; transform-origin: center; }
.stop-ring { fill: var(--land); stroke: var(--ink-2); stroke-width: 1; }
.stop-dot { fill: var(--ink-2); }
.stop text { font: 500 15px var(--sans); fill: var(--ink-2); paint-order: stroke; stroke: var(--land); stroke-width: 5px; transition: fill .3s; }
.stop.on .stop-ring { stroke: var(--husk); transform: scale(1.25); }
.stop.on .stop-dot { fill: var(--husk); }
.stop.on text { fill: var(--ink); }

/* ---------- packshot ---------- */
.pack { position: relative; width: 100%; max-width: 230px; margin: 0 auto; }
.pack-in { transform: rotate(-4deg); transition: transform .5s var(--ease); filter: drop-shadow(0 18px 18px rgba(30, 12, 6, .28)); }
.wrap-svg { width: 100%; height: auto; }
.pack-shadow { position: absolute; left: 12%; right: 12%; bottom: -14px; height: 18px; background: radial-gradient(closest-side, rgba(30, 12, 6, .35), transparent); z-index: -1; }
.pack-lg { max-width: 380px; }
.pack-lg .pack-in { transform: rotate(-6deg); }

/* ---------- cards ---------- */
.rail-sec { padding-block: clamp(80px, 10vw, 140px) clamp(60px, 8vw, 110px); }
.rail-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 22vw); gap: 20px; overflow-x: auto; padding: 8px var(--pad) 24px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rail .card { scroll-snap-align: start; }
.card { position: relative; display: flex; flex-direction: column; transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform .35s var(--ease), opacity .6s var(--ease) calc(var(--i, 0) * 70ms), translate .6s var(--ease) calc(var(--i, 0) * 70ms); }
.card[data-rv] { transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateY(28px); }
.card[data-rv].in { transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); }
.card-link { text-decoration: none; display: block; }
.card-pack { position: relative; aspect-ratio: 4 / 4.6; display: grid; place-items: center; padding: 30px 22%; background: var(--paper-2); overflow: hidden; }
.card-pack::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 40%, rgba(255, 245, 230, .35), transparent 70%); }
[data-theme="dark"] .card-pack::before { background: radial-gradient(70% 60% at 50% 40%, rgba(208, 102, 60, .12), transparent 70%); }
.card:hover .pack-in { transform: rotate(-1deg) translateY(-8px) scale(1.03); }
.shine { position: absolute; inset: 0; background: linear-gradient(105deg, transparent calc(var(--sx, -40%) - 18%), rgba(255, 255, 255, .22) var(--sx, -40%), transparent calc(var(--sx, -40%) + 18%)); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover .shine { opacity: 1; }
.card-meta { padding: 18px 2px 8px; }
.card-orig { margin: 0 0 6px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.card h3 { font: 500 26px/1.1 var(--serif); margin: 0 0 6px; }
.card-line { margin: 0; color: var(--ink-2); font-size: 15px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; padding: 10px 2px 0; border-top: 1px solid var(--line); margin-top: auto; }
.price { font-weight: 500; font-variant-numeric: tabular-nums; }
.btn-add { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-2); background: transparent; border-radius: 2px; transition: background .2s, color .2s, transform .2s var(--ease); }
.btn-add:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-add .ic { width: 16px; }
.flyer { position: fixed; z-index: 150; pointer-events: none; margin: 0; }

/* ---------- gift teaser ---------- */
.gift-teaser { position: relative; min-height: 88vh; display: grid; align-items: end; padding: 0 var(--pad) clamp(40px, 6vw, 80px); color: #EFE3D1; overflow: hidden; }
.gt-ph { position: absolute; inset: 0; }
.gt-ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 11, 8, .55), rgba(18, 11, 8, 0) 55%); }
.gt-card { position: relative; max-width: 520px; margin-right: auto; margin-left: max(0px, calc((100vw - var(--max)) / 2)); padding: clamp(28px, 3vw, 44px); background: var(--paper); color: var(--ink); }
.gt-card p:not(.eyebrow) { color: var(--ink-2); margin: 0 0 24px; }

/* ---------- fair price ---------- */
.fair { padding-block: clamp(90px, 12vw, 150px); background: var(--paper-2); }
.fair-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 24px; }
.fair-grid header { grid-column: 1 / 6; }
.split { grid-column: 7 / 13; align-self: center; }
.split-bar { display: flex; height: 64px; gap: 2px; margin-bottom: 26px; }
.sp { flex: var(--p) 0 0; background: var(--ink-2); transform-origin: left; transform: scaleX(0); transition: transform .7s var(--ease) calc(var(--i) * 70ms); }
.split.in .sp { transform: none; }
.sp-farmer, .spl-farmer i { background: var(--husk) !important; }
.sp-fund, .spl-fund i { background: #B9714A !important; }
.sp-coop, .spl-coop i { background: var(--silt) !important; }
.sp-make, .spl-make i { background: var(--ink) !important; }
.sp-pack, .spl-pack i { background: #8C6A43 !important; }
.sp-ship, .spl-ship i { background: var(--river) !important; }
.sp-tax, .spl-tax i { background: #9E9184 !important; }
.sp-margin, .spl-margin i { background: #5E3A26 !important; }
.split-legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.split-legend li { display: grid; grid-template-columns: 12px 48px 1fr auto; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.split-legend i { width: 12px; height: 12px; }
.split-legend em { font-style: normal; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.fair-more { grid-column: 7 / 13; justify-self: start; }

/* ---------- voices ---------- */
.voices { padding-block: clamp(90px, 12vw, 160px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 64px 24px; }
.voice { margin: 0; }
.voice p { font: 400 clamp(24px, 2.4vw, 36px)/1.2 var(--serif); margin: 0 0 18px; }
.voice footer { display: grid; font-size: 14px; color: var(--ink-2); }
.voice strong { color: var(--ink); font-weight: 500; font-size: 15px; }
.v0 { grid-column: 1 / 8; }
.v1 { grid-column: 7 / 13; }
.v2 { grid-column: 2 / 9; }

/* ---------- visit ---------- */
.visit { padding-block: clamp(80px, 10vw, 130px); border-top: 1px solid var(--line); }
.visit-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 24px; }
.visit-grid > div:first-child { grid-column: 1 / 6; }
.visit-list { grid-column: 7 / 13; margin: 0; display: grid; gap: 28px; }
.visit-list dt { font: 500 24px/1.2 var(--serif); margin-bottom: 6px; }
.visit-list dd { margin: 0; color: var(--ink-2); }
.news { grid-column: 7 / 13; display: grid; gap: 10px; }
.news label { font-weight: 500; }
.news-row { display: flex; gap: 8px; }
.news-row input { flex: 1; min-width: 0; }
input, select, textarea { width: 100%; min-height: 52px; padding: 12px 14px; background: transparent; border: 1px solid var(--line-2); border-radius: 2px; transition: border-color .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--husk); box-shadow: 0 0 0 1px var(--husk); }
input[aria-invalid="true"] { border-color: #B3261E; }
[data-theme="dark"] input[aria-invalid="true"] { border-color: #F2867C; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366493A' stroke-width='1.5'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
select option { background: var(--paper); color: var(--ink); }
.news-msg { margin: 0; min-height: 1.5em; font-size: 14px; }
.news-msg.ok { color: var(--river); }
.news-msg.bad, .hint.bad { color: #B3261E; }
[data-theme="dark"] .news-msg.bad, [data-theme="dark"] .hint.bad { color: #F2867C; }

/* ---------- footer ---------- */
.foot { background: var(--night); color: #D9C9B4; padding-top: 80px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 32px; padding-bottom: 56px; }
.foot-grid .foot-logo { font: 400 64px/.85 var(--serif); font-size: 64px; margin: 0 0 16px; color: #EFE3D1; }
.foot-logo em { color: #D0663C; }
.foot .muted { color: #A8927C; max-width: 34ch; }
.foot h3 { font: 500 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #A8927C; margin: 6px 0 16px; }
.foot-grid a, .foot-grid p { display: block; margin: 0 0 8px; text-decoration: none; font-size: 15px; }
.foot-grid a { min-height: 32px; }
.foot-grid a:hover { color: #EFE3D1; text-decoration: underline; }
.concept { border-top: 1px solid rgba(239, 227, 209, .14); padding-block: 22px 30px; font-size: 13px; color: #A8927C; }
.concept p { margin: 0 0 6px; }
.concept a { color: #D9C9B4; }

/* ---------- page head ---------- */
.page-head { padding-top: clamp(120px, 16vh, 170px); padding-bottom: clamp(36px, 5vw, 60px); }
.page-head .h1 { max-width: 17ch; }
.page-head .lede { margin-top: 24px; }
.crumbs { padding-top: 96px; }
.crumbs a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--ink); }

/* ---------- collection ---------- */
.coll { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 48px; padding-bottom: 120px; align-items: start; }
.coll-wheel { position: sticky; top: 96px; }
.cw-host { margin: 8px -10px; }
.cw-words { min-height: 4.8em; color: var(--ink-2); font-size: 15px; }
.cw-words strong { color: var(--ink); font-weight: 500; }
.wheel { width: 100%; height: auto; overflow: visible; }
.wheel-rings circle { stroke: var(--line); }
.petal { cursor: pointer; outline: none; }
.petal path { transition: transform .4s var(--spring), opacity .3s; transform-origin: 200px 200px; }
.petal-bg { fill: var(--line); opacity: .5; }
.petal-v { fill: var(--c); opacity: .86; transform: scale(0); transition-delay: var(--d) !important; }
.wheel.in .petal-v, .in .petal-v, .pd-wheel .petal-v, .coll-wheel .petal-v { transform: scale(1); }
.petal:hover .petal-v, .petal:focus-visible .petal-v, .petal.sel .petal-v { transform: scale(1.06); opacity: 1; transition-delay: 0s !important; }
.petal.sel .petal-bg, .petal:focus-visible .petal-bg { opacity: 1; fill: var(--line-2); }
.petal text { font: 500 13px var(--sans); fill: var(--ink-2); }
.petal:hover text, .petal.sel text { fill: var(--ink); }
.wheel-c { font: italic 500 30px var(--serif); fill: var(--ink); }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 2px; }
.seg button { min-height: 44px; padding: 0 16px; border: 0; background: transparent; font-size: 14px; transition: background .2s, color .2s; }
.seg button[aria-checked="true"] { background: var(--ink); color: var(--paper); }
.sel { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); margin-left: auto; }
.sel select { width: auto; min-height: 44px; }
.pct-scale { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-2); margin-bottom: 26px; }
.pct-scale i { flex: 1; height: 6px; background: linear-gradient(90deg, #C9B79C, #8E3B22 45%, #2A1712); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 40px 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.skel { display: grid; gap: 12px; }
.skel span { display: block; background: var(--paper-2); position: relative; overflow: hidden; }
.skel span:first-child { aspect-ratio: 4 / 4.6; }
.skel span:nth-child(2) { height: 24px; width: 70%; }
.skel span:nth-child(3) { height: 16px; width: 45%; }
.skel span::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); animation: sheen 1.2s infinite; }
[data-theme="dark"] .skel span::after { background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .06) 50%, transparent 70%); }
@keyframes sheen { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.empty { grid-column: 1 / -1; display: grid; justify-items: start; gap: 8px; max-width: 520px; padding: 20px 0; }
.empty .ph { width: 240px; height: 170px; margin-bottom: 16px; }
.empty h3 { font: 500 30px/1.1 var(--serif); margin: 0; }
.empty p { margin: 0 0 16px; }

/* ---------- product ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); padding-bottom: 80px; }
.pd-media { position: sticky; top: 90px; align-self: start; display: grid; gap: 16px; }
.pd-pack { aspect-ratio: 1 / 1.05; display: grid; place-items: center; padding: 8% 22%; background: radial-gradient(70% 60% at 50% 40%, color-mix(in srgb, var(--wc) 25%, var(--paper-2)), var(--paper-2)); }
.pd-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pd-strip > div { aspect-ratio: 1; }
.eyebrow + .pd-title { margin-top: 0; }
.pd-title { font: 400 clamp(44px, 5vw, 76px)/.98 var(--serif); margin: 0 0 14px; letter-spacing: -.02em; }
.pd-line { font: italic 400 24px/1.3 var(--serif); color: var(--ink-2); margin: 0 0 24px; }
.pd-price { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 0 0 22px; }
.pd-price span:first-child { font: 500 28px/1 var(--sans); }
.pd-buy { display: flex; gap: 12px; margin-bottom: 14px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 2px; }
.qty button { width: 44px; height: 50px; border: 0; background: transparent; display: grid; place-items: center; }
.qty button:disabled { opacity: .3; cursor: default; }
.qty output { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 500; }
.qty-sm button { width: 40px; height: 40px; }
.qty-sm .ic { width: 16px; }
.pd-body { margin: 28px 0; font-size: 17px; line-height: 1.7; }
.pd-wheel { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 20px; align-items: center; padding: 20px 0; border-block: 1px solid var(--line); }
.specs { margin: 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.specs div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: 13px; color: var(--ink-2); letter-spacing: .06em; text-transform: uppercase; }
.specs dd { margin: 2px 0 0; }
.pair { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.pair strong { color: var(--ink); font-weight: 500; }
.acc { border-top: 1px solid var(--line); }
.acc:last-of-type { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; align-items: center; gap: 12px; min-height: 56px; cursor: pointer; list-style: none; font-weight: 500; }
.acc summary::-webkit-details-marker { display: none; }
.acc-c { margin-left: auto; transition: transform .3s var(--ease); }
.acc[open] .acc-c { transform: rotate(180deg); }
.acc p { margin: 0 0 18px; color: var(--ink-2); padding-left: 32px; }
.pd-farm { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: 80px; border-top: 1px solid var(--line); }
.pf-ph { aspect-ratio: 5 / 4; }
.pd-farm blockquote, .farm blockquote { margin: 24px 0; font: italic 400 clamp(22px, 2vw, 30px)/1.3 var(--serif); }
.related { padding-bottom: 120px; }

/* ---------- gift box ---------- */
.gb { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-bottom: 120px; align-items: start; }
.gb-stage { position: sticky; top: 96px; display: grid; gap: 22px; }
.gbox { position: relative; padding: 22px; background: #B48E62; background-image: var(--grain), linear-gradient(135deg, #C49C6E, #9E784E); box-shadow: inset 0 0 0 10px rgba(60, 30, 14, .12), 0 30px 60px -30px rgba(30, 12, 6, .5); }
.gbox-lid { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 6px 16px; color: #2A1712; }
.gbox-lid span { font: 600 13px/1 var(--sans); letter-spacing: .3em; }
.gbox-lid em { font: italic 400 18px var(--serif); }
.gbox-tray { display: grid; gap: 12px; padding: 14px; background: #3A2116; box-shadow: inset 0 6px 16px rgba(0, 0, 0, .45); }
.gbox-3 .gbox-tray { grid-template-columns: repeat(3, 1fr); }
.gbox-6 .gbox-tray { grid-template-columns: repeat(3, 1fr); }
.gslot { aspect-ratio: 220 / 340; display: grid; place-items: center; border: 1px dashed rgba(239, 227, 209, .28); color: rgba(239, 227, 209, .4); font: italic 22px var(--serif); background: rgba(0, 0, 0, .15); padding: 0; position: relative; }
.gslot.full { border: 0; background: none; animation: drop .5s var(--spring); }
@keyframes drop { from { transform: translateY(-30px) scale(1.06); opacity: 0; } }
.gslot.full svg { width: 100%; height: 100%; }
.gs-x { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(18, 11, 8, .7); color: #EFE3D1; opacity: 0; transition: opacity .2s; }
.gslot.full:hover .gs-x, .gslot.full:focus-visible .gs-x { opacity: 1; }
.gs-x .ic { width: 14px; }
.gbox-ribbon { position: absolute; top: 0; bottom: 0; left: 62%; width: 22px; background: var(--rb); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); pointer-events: none; opacity: .92; }
.gb-card { margin: 0; padding: 22px 26px; background: #F6EEDF; color: #2A1712; font: italic 400 24px/1.3 var(--serif); transform: rotate(-1.5deg); box-shadow: 0 14px 30px -20px rgba(0, 0, 0, .4); max-width: 420px; justify-self: end; }
.gstep { border: 0; padding: 0 0 28px; margin: 0 0 28px; border-bottom: 1px solid var(--line); min-width: 0; }
.gstep legend { display: flex; align-items: center; gap: 12px; font: 500 24px/1.2 var(--serif); margin-bottom: 16px; padding: 0; }
.gstep legend span { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font: 500 14px var(--sans); }
.seg-lg { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
.seg-lg button { min-height: 64px; display: grid; gap: 2px; text-align: left; padding: 10px 16px; }
.seg-lg button span { font-size: 13px; opacity: .75; }
.gb-presets { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.gb-list { list-style: none; margin: 0; padding: 0; }
.gb-list li { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.gbl-pack svg { width: 44px; height: auto; }
.gbl-t { display: grid; }
.gbl-t strong { font-weight: 500; }
.gbl-t span { font-size: 14px; color: var(--ink-2); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatches button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 8px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; font-size: 14px; }
.swatches i { width: 28px; height: 28px; border-radius: 50%; background: var(--c); }
.swatches button[aria-checked="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field { display: grid; gap: 6px; position: relative; margin-bottom: 14px; }
.field > span:first-child { font-size: 14px; font-weight: 500; }
.hint { font-size: 13px; color: var(--ink-2); margin: 0; }
.field .hint { justify-self: end; }
.err { font-style: normal; font-size: 13px; color: #B3261E; min-height: 0; }
[data-theme="dark"] .err { color: #F2867C; }
.gb-sum p { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; margin: 0 0 14px; }
.gb-sum strong { font: 500 28px var(--sans); }

/* ---------- cart / drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 120; pointer-events: none; }
.drawer.on { pointer-events: auto; }
.scrim { position: absolute; inset: 0; background: rgba(18, 11, 8, .5); opacity: 0; transition: opacity .4s var(--ease); }
.drawer.on .scrim { opacity: 1; }
.drawer-p { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--paper); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease); outline: none; }
.drawer.on .drawer-p { transform: none; }
.drawer-p header { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.drawer-p header h2 { margin: 0; }
.drawer-b { padding: 20px 24px 28px; overflow-y: auto; flex: 1; }
.drawer-b .empty .ph { width: 100%; height: 200px; }
.free { margin-bottom: 18px; }
.free p { margin: 0 0 8px; font-size: 14px; }
.free span { display: block; height: 3px; background: var(--line); }
.free i { display: block; height: 100%; background: var(--husk); transition: width .5s var(--ease); }
.free.ok p { color: var(--river); }
.lines { list-style: none; margin: 0 0 20px; padding: 0; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); align-items: start; }
.line-pack { position: relative; }
.line-pack > svg { width: 56px; }
.mini-box { display: flex; width: 64px; padding: 5px; gap: 2px; background: #B48E62; border-right: 6px solid var(--rb); }
.mini-box svg { width: 33%; }
.line-t { display: grid; gap: 4px; }
.line-t strong { font-weight: 500; }
.line-t .muted { font-size: 13px; }
.line-t .qty { justify-self: start; margin-top: 6px; }
.line-r { display: grid; justify-items: end; gap: 6px; font-variant-numeric: tabular-nums; }
.badge { position: absolute; top: -8px; right: -2px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--ink); color: var(--paper); font: 600 12px/22px var(--sans); text-align: center; }
.lines-s .line { grid-template-columns: 56px 1fr auto; align-items: center; }
.promo { display: grid; gap: 8px; margin-bottom: 20px; }
.promo label { font-weight: 500; font-size: 14px; }
.tot { margin: 0 0 22px; }
.tot div { display: flex; justify-content: space-between; padding: 8px 0; font-variant-numeric: tabular-nums; }
.tot dt { color: var(--ink-2); }
.tot dd { margin: 0; }
.tot-g { border-top: 1px solid var(--line-2); margin-top: 6px; padding-top: 14px !important; font-size: 20px; }
.tot-g dt { color: var(--ink) !important; font-weight: 500; }
.tot-g dd { font-weight: 600; }
.cart-page { max-width: 760px; padding-bottom: 120px; margin-left: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); }
.cart-page .empty .ph { width: 320px; height: 220px; }

/* ---------- checkout ---------- */
.co { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); padding-bottom: 120px; align-items: start; }
.co fieldset { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.co legend { font: 500 26px/1.2 var(--serif); margin-bottom: 16px; padding: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.opts { display: grid; gap: 10px; }
.opt { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; min-height: 60px; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 2px; cursor: pointer; transition: border-color .2s, background .2s; }
.opt:has(input:checked) { border-color: var(--ink); background: var(--paper-2); }
.opt input { width: 20px; height: 20px; min-height: 0; accent-color: var(--husk); margin: 0; }
.opt-t { display: flex; align-items: center; gap: 10px; }
.opt-t strong { font-weight: 500; }
.opt-p { font-size: 14px; text-align: right; }
.opt.dis { opacity: .5; cursor: not-allowed; }
.note { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin: 14px 0 0; }
.check { display: flex; gap: 12px; align-items: center; margin-bottom: 22px; min-height: 44px; cursor: pointer; }
.check input { width: 20px; height: 20px; min-height: 0; accent-color: var(--husk); }
.co .hint { margin-top: 12px; }
.co-sum { position: sticky; top: 96px; padding: 28px; background: var(--paper-2); }
.spin { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- confirmation ---------- */
.conf { padding-top: clamp(120px, 16vh, 170px); padding-bottom: 120px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px clamp(32px, 5vw, 80px); align-items: start; }
.conf-head { grid-column: 1 / -1; }
.conf-head .h1 { max-width: 18ch; }
.tl { list-style: none; margin: 0; padding: 0; }
.tl li { display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); position: relative; }
.tl li > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink-2); }
.tl li.done > span { background: var(--river); border-color: var(--river); color: #F1E7D8; }
.tl li.now > span { border-color: var(--husk); color: var(--husk); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--husk) 15%, transparent); } }
.tl strong { font-weight: 500; }
.tl em { font-style: normal; color: var(--ink-2); font-size: 14px; }
.receipt { background: #F6EEDF; color: #2A1712; padding: 28px 28px 40px; font-size: 15px; position: relative; -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - 12px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 12px repeat-x; mask: linear-gradient(#000, #000) top / 100% calc(100% - 12px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 12px repeat-x; }
.rc-top { display: flex; justify-content: space-between; font: 600 12px var(--sans); letter-spacing: .24em; padding-bottom: 16px; border-bottom: 1px dashed rgba(42, 23, 18, .4); }
.receipt ul { list-style: none; padding: 0; margin: 16px 0; }
.receipt li { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; }
.receipt dl { margin: 0; border-top: 1px dashed rgba(42, 23, 18, .4); padding-top: 10px; }
.receipt dl div { display: flex; justify-content: space-between; padding: 4px 0; }
.receipt dd { margin: 0; }
.receipt .tot-g { border-top-color: rgba(42, 23, 18, .4); }
.rc-addr { color: #66493A; font-size: 14px; margin: 16px 0 0; }
.rc-qr { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; margin-top: 18px; }
.rc-qr svg { width: 120px; fill: #2A1712; }
.conf-act { grid-column: 1 / -1; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- farms ---------- */
.farm-hero { position: relative; height: 86vh; min-height: 560px; display: grid; align-items: end; color: #EFE3D1; overflow: hidden; background: var(--night); }
.fh-ph { position: absolute; inset: -8% 0; transform: translateY(var(--py, 0)); }
.fh-ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18, 11, 8, .8), rgba(18, 11, 8, .1) 55%); }
.fh-tx { position: relative; padding-bottom: clamp(40px, 7vw, 90px); }
.fh-tx .eyebrow { color: rgba(239, 227, 209, .75); }
.fh-tx .h1 em { color: #D0663C; }
.numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-block: clamp(70px, 9vw, 120px); }
.farms { display: grid; gap: clamp(70px, 9vw, 130px); padding-bottom: clamp(90px, 10vw, 140px); }
.farm { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
.farm-ph { grid-column: 1 / 7; aspect-ratio: 5 / 4; }
.farm-tx { grid-column: 8 / 13; }
.farm.rev .farm-ph { grid-column: 7 / 13; grid-row: 1; }
.farm.rev .farm-tx { grid-column: 1 / 6; grid-row: 1; }
.farm-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 0 0 20px; }
.farm-dl div { padding: 10px 0; border-top: 1px solid var(--line); }
.farm-dl dt { font-size: 13px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; }
.farm-dl dd { margin: 0; font-weight: 500; }
.farm-bars { display: flex; flex-wrap: wrap; gap: 8px; }
.fair2 { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); padding-block: clamp(80px, 10vw, 130px); align-items: start; }
.pchart { margin: 0; }
.pchart figcaption { font-weight: 500; margin-bottom: 14px; }
.pchart svg { width: 100%; height: auto; overflow: visible; }
.px { font: 500 13px var(--sans); fill: var(--ink-2); }
.pl { fill: none; stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease); }
.pchart.in .pl { stroke-dashoffset: 0; }
.pl-u { stroke: var(--husk); }
.pl-m { stroke: var(--ink-2); stroke-dasharray: 1; }
.pd-u { fill: var(--husk); }
.pd-m { fill: var(--ink-2); }
.plab { font: 500 14px var(--sans); }
.plab-u { fill: var(--husk); }
.plab-m { fill: var(--ink-2); }
.commit ol { margin: 0; padding: 0; list-style: none; counter-reset: c; }
.commit li { counter-increment: c; display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 16px 0; border-top: 1px solid var(--line); }
.commit li::before { content: counter(c, decimal-leading-zero); font: italic 400 22px/1.2 var(--serif); color: var(--husk); }
.trace { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding-bottom: clamp(90px, 10vw, 140px); }
.trace > div:first-child { grid-column: 1 / 6; }
.trace .news { grid-column: 7 / 13; }
.trace-out { grid-column: 7 / 13; }
.trace-tl { list-style: none; padding: 0; margin: 0 0 14px; }
.trace-tl li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.trace-tl span { color: var(--ink-2); font-size: 14px; }
.trace-tl strong { font-weight: 500; }
.err-box { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; background: var(--paper-2); }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 120px; }
.cta-band .h2 { margin: 0; }
.nf { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding-block: 160px 120px; }
.nf-ph { aspect-ratio: 4 / 3; }
.nf .h1 { margin-bottom: 28px; }

/* ---------- toasts ---------- */
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 160; display: grid; gap: 8px; width: min(440px, calc(100% - 32px)); }
.toast { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; background: var(--ink); color: var(--paper); font-size: 15px; opacity: 0; transform: translateY(16px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.toast.in { opacity: 1; transform: none; }
.toast.err { background: #8A2A1F; color: #FBF4EA; }
.toast-act { border: 0; background: none; color: inherit; font-weight: 600; text-decoration: underline; min-height: 44px; padding: 0 4px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .tools { margin-left: auto; }
  .hero-ctrl { right: auto; left: var(--pad); bottom: calc(clamp(28px, 6vh, 64px) + 0px); }
  .hero-copy { padding-bottom: 130px; }
  .coll { grid-template-columns: 1fr; }
  .coll-wheel { position: static; display: grid; grid-template-columns: 300px 1fr; gap: 0 32px; align-items: center; }
  .coll-wheel .cw-host { grid-row: 1 / 4; grid-column: 1; }
}
@media (max-width: 860px) {
  .journey-head, .chart, .stops, .fair-grid header, .split, .fair-more, .visit-grid > div:first-child, .visit-list, .news, .trace > div:first-child, .trace .news, .trace-out { grid-column: 1 / -1; }
  .stops { grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .intro-n { grid-column: 1 / -1; margin-bottom: 18px; }
  .intro-q { grid-column: 1 / -1; }
  .intro-cols { grid-template-columns: 1fr; gap: 40px; }
  .intro-facts { grid-column: 1; }
  .v0, .v1, .v2 { grid-column: 1 / -1; }
  .pd, .gb, .co, .conf, .pd-farm, .fair2, .nf { grid-template-columns: 1fr; }
  .pd-media, .gb-stage, .co-sum { position: static; }
  .farm-ph, .farm-tx, .farm.rev .farm-ph, .farm.rev .farm-tx { grid-column: 1 / -1; grid-row: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-pin { grid-template-columns: 1fr; grid-template-rows: 52vh 1fr; }
  .story-text { padding: 24px var(--pad) 28px; }
  .story-step h3 { font-size: 34px; margin: 8px 0 12px; }
  .story-step p { font-size: 15.5px; margin-bottom: 10px; }
  .story-count { font-size: 64px; left: 18px; bottom: 14px; }
  .thermo { width: auto; left: var(--pad); right: var(--pad); bottom: 20px; grid-template-columns: auto auto 1fr; }
  .thermo .th-bar { grid-column: auto; }
  .hero-ctrl { bottom: 112px; }
  .hero-copy { padding-bottom: 176px; }
  .hero-tag { display: none; }
  .hero-stage { top: 160px; bottom: 350px; }
  .hero-poster { background: radial-gradient(40% 30% at 50% 55%, rgba(80, 36, 18, .9), transparent 70%); }
  .hero-scroll { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .logo span { font-size: 12px; letter-spacing: .2em; }
  .tools .icon-btn[data-act="calm"], .tools .icon-btn[data-act="sound"] { display: none; }
  .hero { min-height: 680px; }
  .hero-title { font-size: 25vw; top: 92px; }
  .hero-lede { font-size: 15px; margin-bottom: 18px; }
  .hero-cta { gap: 18px; }
  .hero-cta .btn { padding: 0 20px; }
  .rail { grid-auto-columns: 74vw; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card h3 { font-size: 21px; }
  .card-line { display: none; }
  .card-pack { padding: 20px 18%; }
  .btn-add span { display: none; }
  .btn-add { padding: 0 12px; }
  .coll-wheel { grid-template-columns: 1fr; }
  .coll-wheel .cw-host { grid-row: auto; max-width: 280px; }
  .sel { margin-left: 0; }
  .split-legend { grid-template-columns: 1fr; }
  .stops { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .pd-wheel { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
  .pd-buy { flex-wrap: wrap; }
  .pd-buy .btn { flex: 1; }
  .gbox { padding: 14px; }
  .gbox-tray { gap: 8px; padding: 10px; }
  .foot-grid { grid-template-columns: 1fr; }
  .tl li { grid-template-columns: 44px 1fr; }
  .tl em { grid-column: 2; }
  .rc-qr { grid-template-columns: 1fr; }
  .gift-teaser { min-height: 100vh; padding: 0 0 0; }
  .gt-card { margin: 0; }
  .trace-tl li { grid-template-columns: 1fr; gap: 2px; }
  .cart-page .empty .ph, .empty .ph { width: 100%; }
}
@media print {
  .mast, .foot, .conf-act, .toasts, body::before { display: none !important; }
  .conf { padding-top: 0; }
}

[hidden] { display: none !important; }
