/* Laoyou, used cooking oil collection, Chengdu. Palette "Rapeseed and Drum". */
@font-face { font-family: "Fraunces"; src: url("/live/laoyou/fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Noto Sans SC"; src: url("/live/laoyou/fonts/noto-sans-sc.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Spline Sans Mono"; src: url("/live/laoyou/fonts/spline-mono.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --rice: #F3F4F1; --white: #FFFFFF; --ink: #17181A; --muted: #5D5E59; --line: #D8DAD4;
  --drum: #1F4E8C; --drum-deep: #163A69; --drum-line: #3A6399; --on-drum: #D3DDEB;
  --seed: #E8B825; --seed-deep: #C99A0E; --chilli: #8E1C1C; --chilli-soft: #F7E7E5;
  --f-display: "Fraunces", Georgia, serif;
  --f-text: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --f-mono: "Spline Sans Mono", "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1); --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --g: clamp(20px, 4vw, 48px); --r: 24px; --focus: var(--drum);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--rice); color: var(--ink); font-family: var(--f-text); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
em { font-style: normal; font-weight: 700; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
[lang="zh-CN"], .zh { letter-spacing: 0; font-family: var(--f-text); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--seed); color: var(--ink); padding: 12px 18px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; }
.blue { background: var(--drum); color: var(--white); --focus: var(--seed); }
.inkbg { background: var(--ink); color: var(--white); --focus: var(--seed); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--g); }
.pad { padding-block: clamp(88px, 11vw, 168px); }
.tag { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.3; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; color: var(--muted); }
.blue .tags span { border-color: var(--drum-line); color: var(--on-drum); }
.kicker { display: flex; gap: 14px; align-items: baseline; color: var(--muted); }
.kicker b { font-family: var(--f-text); font-weight: 700; font-size: 15px; color: var(--ink); letter-spacing: 0; text-transform: none; }
.blue .kicker, .inkbg .kicker { color: var(--on-drum); }
.blue .kicker b, .inkbg .kicker b { color: var(--white); }
h1, h2, h3 { margin: 0; font-weight: 560; font-family: var(--f-display); }
h2 { font-size: clamp(36px, 5vw, 76px); line-height: 1.02; letter-spacing: -0.028em; max-width: 15em; }
h3 { font-size: clamp(21px, 1.8vw, 26px); line-height: 1.2; letter-spacing: -0.015em; }
p { margin: 0; }
.lede { font-size: clamp(17px, 1.3vw, 20px); color: var(--muted); max-width: 36em; margin-top: 22px; }
.blue .lede { color: var(--on-drum); }
.inkbg .lede { color: #B9BAB4; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }

/* Level-rise reveal: content fills up from the bottom like oil in a drum */
[data-rise] { clip-path: inset(100% 0 0 0); transition: clip-path 1150ms var(--ease); }
[data-rise].in { clip-path: inset(0 0 0 0); }
[data-fade] { opacity: 0; transform: translateY(18px); transition: opacity 1000ms var(--ease), transform 1000ms var(--ease); }
[data-fade].in { opacity: 1; transform: none; }

/* Buttons: pills */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 16px; text-decoration: none; overflow: hidden; isolation: isolate; white-space: nowrap; transition: color 400ms var(--ease), border-color 400ms var(--ease); }
.btn::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 100%; z-index: -1; transform: scaleY(0); transform-origin: 50% 100%; transition: transform 520ms var(--ease); }
.btn:hover::before { transform: scaleY(1); }
.btn .arr { transition: transform 400ms var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }
.btn-seed { background: var(--seed); color: var(--ink); }
.btn-seed::before { background: var(--ink); }
.btn-seed:hover { color: var(--seed); }
.blue .btn-seed::before, .inkbg .btn-seed::before { background: var(--white); }
.blue .btn-seed:hover, .inkbg .btn-seed:hover { color: var(--ink); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: var(--rice); }
.blue .btn-ghost, .inkbg .btn-ghost { border-color: rgba(255, 255, 255, 0.6); color: var(--white); }
.blue .btn-ghost::before, .inkbg .btn-ghost::before { background: var(--white); }
.blue .btn-ghost:hover { color: var(--drum); }
.inkbg .btn-ghost:hover { color: var(--ink); }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: 14px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.ul { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size 420ms var(--ease); padding: 8px 0; display: inline-flex; min-height: 44px; align-items: center; font-weight: 700; }
.ul:hover { background-size: 0 1px; background-position: 100% 100%; }

/* Pipeline navigation */
.pipe { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: var(--rice); border-bottom: 1px solid var(--line); }
.pipe-in { max-width: 1400px; margin: 0 auto; padding: 0 var(--g); height: 72px; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; flex: none; }
.logo-drum { width: 40px; height: 40px; border-radius: 50%; background: var(--drum); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: 13px; line-height: 1; border: 3px solid var(--drum); outline: 1px solid var(--white); outline-offset: -7px; }
.logo-name { font-family: var(--f-display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; }
.dtags { flex: 1; display: flex; justify-content: center; gap: 8px; }
.stop { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 26px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); text-decoration: none; transition: background 400ms var(--ease), border-color 400ms var(--ease); }
.stop::before { content: ""; position: absolute; left: 9px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--rice); border: 1.5px solid var(--muted); }
.stop span { font-size: 14px; font-weight: 700; line-height: 1; }
.stop small { font-family: var(--f-mono); font-size: 11px; color: var(--muted); line-height: 1; text-transform: uppercase; letter-spacing: 0.04em; }
.stop:hover { border-color: var(--ink); }
.stop[aria-current="true"] { background: var(--seed); border-color: var(--seed-deep); }
.stop[aria-current="true"] small { color: var(--ink); }
.stop[aria-current="true"]::before { border-color: var(--ink); }
.pipe-right { display: flex; align-items: center; gap: 10px; flex: none; }
.menu-btn { display: none; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ink); background: none; font-weight: 700; }
@media (max-width: 1080px) { .dtags { display: none; } .menu-btn { display: inline-flex; align-items: center; } .pipe-in { justify-content: space-between; height: 64px; } .pipe-right .hide-m { display: none; } }
.drawer { position: fixed; inset: 0; z-index: 80; background: var(--rice); padding: 88px 24px 32px; transform: translateY(-100%); transition: transform 560ms var(--ease); visibility: hidden; display: flex; flex-direction: column; }
.drawer.open { transform: none; visibility: visible; }
.drawer-x { position: absolute; top: 10px; right: 16px; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ink); background: none; font-weight: 700; }
.drawer a.d { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--f-display); font-size: 30px; font-weight: 560; letter-spacing: -0.02em; }
.drawer a.d i { width: 16px; height: 16px; border-radius: 50%; background: var(--seed); }
.drawer a.d small { font-family: var(--f-text); font-size: 16px; color: var(--muted); }
.drawer .btn { margin-top: 28px; }

/* Hero */
.hero { padding-top: 140px; padding-bottom: clamp(64px, 8vw, 120px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.hero h1 { margin-top: 26px; }
.h1-zh { display: block; font-family: var(--f-text); font-weight: 700; font-size: clamp(64px, 9vw, 140px); line-height: 1.0; letter-spacing: 0; }
.h1-en { display: block; margin-top: 18px; font-size: clamp(30px, 3.4vw, 52px); line-height: 1.06; letter-spacing: -0.026em; font-weight: 520; max-width: 13em; }
.hero .lede { margin-top: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; margin-top: 36px; }
.hero-art { position: relative; }
.pot { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--ink); }
.pot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero-tag { position: absolute; left: -10px; bottom: 8%; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: grid; gap: 4px; min-width: 210px; }
.hero-tag b { font-family: var(--f-mono); font-size: 26px; font-weight: 500; line-height: 1.1; }
.hero-tag span { font-size: 13px; color: var(--muted); }
.hero-tags { margin-top: 48px; }
@media (max-width: 900px) { .hero { padding-top: 104px; } .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-art { max-width: 440px; width: 86%; margin: 10px auto 0; } .hero-tag { left: -6%; } }

/* Problem: honest compare */
.cmp { margin-top: 60px; border-top: 1px solid var(--ink); }
.cmp-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 4fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.cmp-head { color: var(--muted); }
.cmp-head span:last-child { color: var(--ink); }
.cmp-row .k { font-weight: 700; }
.cmp-row .bad { color: var(--chilli); }
.cmp-row .good { font-weight: 700; }
.cmp-row .good::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--seed); margin-right: 10px; vertical-align: 1px; }
@media (max-width: 760px) { .cmp-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .cmp-row .k { grid-column: 1 / -1; } .cmp-head span:first-child { display: none; } }

/* How it works */
.how { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 88px); margin-top: 60px; align-items: start; }
.how-photo { border-radius: var(--r); overflow: hidden; position: relative; }
.how-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.how-photo .cap { position: absolute; left: 16px; bottom: 16px; background: var(--white); border-radius: 999px; padding: 8px 14px; font-size: 13px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .n { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 16px; }
.steps h3 { font-size: 22px; }
.steps p { color: var(--muted); margin-top: 6px; font-size: 16px; }
@media (max-width: 900px) { .how { grid-template-columns: minmax(0, 1fr); } }

/* Forecast (AI dispatcher) */
.fc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); margin-top: 56px; align-items: start; }
.drum-wrap { position: sticky; top: 110px; display: grid; justify-items: center; gap: 18px; }
.drum { width: min(100%, 360px); height: auto; }
.drum-read { text-align: center; }
.drum-read b { display: block; font-family: var(--f-mono); font-size: clamp(28px, 3vw, 40px); font-weight: 500; line-height: 1.1; }
.drum-read span { color: var(--on-drum); font-size: 14px; }
.slip { background: var(--white); color: var(--ink); border-radius: var(--r); padding: clamp(22px, 2.6vw, 36px); --focus: var(--drum); }
.slip-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
.slip-h .tag { color: var(--muted); }
.ask { display: flex; gap: 10px; margin-top: 20px; }
.ask textarea { flex: 1; min-width: 0; min-height: 56px; max-height: 160px; resize: vertical; border: 1px solid #BFBCB1; border-radius: 16px; padding: 14px 16px; background: var(--rice); line-height: 1.45; }
.ask .btn { align-self: flex-end; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--rice); font-size: 14px; font-weight: 500; text-align: left; transition: border-color 300ms var(--ease), background 300ms var(--ease); }
.chip:hover { border-color: var(--ink); background: var(--white); }
.thread { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.me { justify-self: end; max-width: 85%; background: var(--rice); border: 1px solid var(--line); border-radius: 18px 18px 4px 18px; padding: 12px 16px; font-size: 15px; }
.work { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.work li { display: flex; gap: 10px; align-items: center; opacity: 0.35; transition: opacity 300ms linear; }
.work li.on { opacity: 1; color: var(--ink); }
.work li i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--muted); flex: none; }
.work li.on i { background: var(--seed); border-color: var(--seed-deep); }
.answer { border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: grid; gap: 14px; }
.answer h3 { font-size: clamp(20px, 1.7vw, 25px); }
.answer .why { color: var(--muted); font-size: 15px; }
.a-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px dashed var(--line); }
.a-stats div { padding: 12px 10px 0 0; }
.a-stats b { display: block; font-family: var(--f-mono); font-weight: 500; font-size: clamp(18px, 1.7vw, 24px); }
.a-stats span { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.week div { border-radius: 10px; background: var(--rice); padding: 8px 4px; text-align: center; font-size: 12px; line-height: 1.3; }
.week div b { display: block; font-family: var(--f-mono); font-size: 15px; font-weight: 500; }
.week div.full { background: var(--seed); }
.week div.go { background: var(--drum); color: var(--white); }
.a-acts { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) { .fc { grid-template-columns: minmax(0, 1fr); } .drum-wrap { position: static; } .drum { width: min(70%, 280px); } }

/* Refine: the red turns gold (sticky scrub) */
.ref-track { height: 400vh; }
.ref-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-items: center; overflow: hidden; }
.ref-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 5fr); gap: clamp(20px, 4vw, 64px); align-items: center; }
.ref-head h2 { font-size: clamp(32px, 4vw, 60px); }
.vial { width: 100%; max-width: 240px; height: auto; margin: 0 auto; display: block; }
.stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.stages li { border-top: 1px solid #34363A; }
.stages li:last-child { border-bottom: 1px solid #34363A; }
.stages button { width: 100%; text-align: left; background: none; border: 0; color: #8D8F89; padding: 14px 0; display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: baseline; min-height: 52px; transition: color 300ms var(--ease); }
.stages button .mono { font-size: 13px; }
.stages button b { font-weight: 700; font-size: 16px; }
.stages button p { grid-column: 2; font-size: 15px; line-height: 1.5; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 600ms var(--ease), opacity 400ms var(--ease); }
.stages li.on button { color: var(--white); }
.stages li.on button p { max-height: 9em; opacity: 1; color: #C9CAC4; margin-top: 6px; }
.readout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 26px; border-top: 1px solid #34363A; }
.readout div { padding: 14px 10px 0 0; }
.readout b { display: block; font-family: var(--f-mono); font-weight: 500; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.1; }
.readout span { display: block; color: #9A9B95; font-size: 12px; margin-top: 4px; }
.ref-proof { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(16px, 2vw, 28px); padding-bottom: clamp(88px, 11vw, 160px); }
.ref-proof figure { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; }
.ref-proof img { width: 100%; height: 100%; object-fit: cover; }
.ref-proof figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(23, 24, 26, 0.84); color: var(--white); font-size: 13px; padding: 8px 12px; border-radius: 999px; }
@media (max-width: 900px) {
  .ref-track { height: 440vh; }
  .ref-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 18px; }
  .ref-head { grid-column: 1 / -1; }
  .ref-head h2 { font-size: 26px; }
  .ref-head .lede { display: none; }
  .vial { max-width: 120px; }
  .stages button { padding: 8px 0; min-height: 44px; grid-template-columns: 26px 1fr; }
  .stages button b { font-size: 14px; }
  .stages li.on button p { font-size: 13px; }
  .readout { grid-column: 1 / -1; margin-top: 4px; }
  .readout b { font-size: 20px; }
  .ref-proof { grid-template-columns: minmax(0, 1fr); }
}

/* Price board */
.board { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.door { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 2.4vw, 32px); }
.door-h { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.door-h b { font-size: 20px; }
.prow { display: grid; grid-template-columns: minmax(0, 1.6fr) 90px minmax(0, 1.2fr); gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.prow:last-of-type { border-bottom: 0; }
.prow small { display: block; color: var(--muted); font-size: 13px; }
.prow .price { font-family: var(--f-mono); font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; text-align: right; line-height: 1; }
.prow .price span { font-size: 13px; color: var(--muted); }
.prow .chg { display: block; font-family: var(--f-mono); font-size: 12px; color: var(--muted); text-align: right; margin-top: 6px; }
.spark { width: 90px; height: 34px; }
.calc { background: var(--seed); border-radius: var(--r); padding: clamp(22px, 2.6vw, 34px); color: var(--ink); --focus: var(--ink); }
.calc label { font-weight: 700; display: block; }
.calc input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; margin: 22px 0 10px; background: transparent; cursor: pointer; --fill: 15%; }
.calc input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--ink) var(--fill), rgba(23, 24, 26, 0.2) var(--fill)); }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; background: var(--rice); border: 3px solid var(--ink); }
.calc input[type="range"]::-moz-range-track { height: 8px; border-radius: 4px; background: rgba(23, 24, 26, 0.2); }
.calc input[type="range"]::-moz-range-progress { height: 8px; border-radius: 4px; background: var(--ink); }
.calc input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--rice); border: 3px solid var(--ink); }
.calc input[type="range"]:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.calc .scale { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 12px; }
.calc .out { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(23, 24, 26, 0.25); }
.calc .out b { display: block; font-family: var(--f-display); font-weight: 560; letter-spacing: -0.02em; font-size: clamp(36px, 4vw, 56px); line-height: 1; }
.calc .out span { font-size: 14px; }
.calc .seg { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.calc .seg button { min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--ink); background: transparent; font-size: 13px; font-weight: 700; }
.calc .seg button[aria-pressed="true"] { background: var(--ink); color: var(--seed); }
@media (max-width: 900px) { .board { grid-template-columns: minmax(0, 1fr); } .prow { grid-template-columns: minmax(0, 1fr) auto; } .spark { display: none; } }

/* Proof */
.proof { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 88px); margin-top: 56px; align-items: center; }
.proof figure { margin: 0; }
.proof img { border-radius: var(--r); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.proof blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(24px, 2.4vw, 36px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 480; }
.proof figcaption { margin-top: 18px; color: var(--muted); font-size: 15px; }
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 72px; border-top: 1px solid var(--ink); }
.nums div { padding: 22px 20px 0 0; }
.nums b { display: block; font-family: var(--f-display); font-weight: 520; font-size: clamp(40px, 4.6vw, 72px); line-height: 1; letter-spacing: -0.03em; }
.nums span { display: block; color: var(--muted); margin-top: 10px; font-size: 15px; max-width: 16em; }
@media (max-width: 900px) { .proof { grid-template-columns: minmax(0, 1fr); } .nums { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .nums div { padding-bottom: 20px; } }

/* Booking: transfer manifest */
.manifest { margin-top: 56px; background: var(--white); border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; }
.mf-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; align-items: baseline; padding: 18px 24px; border-bottom: 2px solid var(--ink); }
.mf-h b { font-size: 17px; }
.mf-h .mono { font-size: 14px; color: var(--muted); }
.mf-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.mf { grid-column: span 6; padding: 18px 24px 20px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.mf.w12 { grid-column: span 12; border-right: 0; }
.mf.w4 { grid-column: span 4; }
.mf.w8 { grid-column: span 8; }
.mf:nth-child(2n) { border-right: 0; }
.mf.w4, .mf.w8 { border-right: 1px solid var(--line); }
.mf.end { border-right: 0; }
.mf > label, .mf > .fl { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.mf > label .no, .mf > .fl .no { font-family: var(--f-mono); font-size: 12px; color: var(--muted); font-weight: 500; }
.mf input[type="text"], .mf input[type="tel"], .mf input[type="number"], .mf select, .mf textarea { width: 100%; min-height: 50px; border: 0; border-bottom: 1px solid #BFBCB1; border-radius: 0; background: transparent; padding: 0 2px; font-size: 17px; }
.mf textarea { min-height: 72px; padding-top: 10px; resize: vertical; }
.mf select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 14px) 52%, calc(100% - 8px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 30px; }
.mf [aria-invalid="true"] { border-bottom-color: var(--chilli); }
.mf .err { color: var(--chilli); font-size: 14px; font-weight: 700; margin-top: 8px; }
.mf .hint { color: var(--muted); font-size: 13px; margin-top: 8px; }
.phone-in { display: flex; align-items: center; gap: 8px; }
.phone-in span { font-family: var(--f-mono); color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cards label, .wins label, .dates label { position: relative; }
.cards input, .wins input, .dates input { position: absolute; opacity: 0; inset: 0; }
.cards span { display: grid; gap: 2px; min-height: 64px; align-content: center; padding: 8px 12px; border: 1px solid #BFBCB1; border-radius: 14px; font-size: 13px; color: var(--muted); cursor: pointer; }
.cards span b { color: var(--ink); font-size: 15px; }
.cards input:checked + span, .wins input:checked + span, .dates input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.cards input:checked + span b { color: var(--seed); }
.cards input:focus-visible + span, .wins input:focus-visible + span, .dates input:focus-visible + span { outline: 2px solid var(--drum); outline-offset: 2px; }
.dates { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.dates span { display: grid; place-items: center; min-height: 58px; border: 1px solid #BFBCB1; border-radius: 14px; font-size: 12px; line-height: 1.3; text-align: center; cursor: pointer; }
.dates span b { display: block; font-family: var(--f-mono); font-size: 17px; font-weight: 500; }
.wins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.wins label > span { display: grid; min-height: 52px; align-content: center; padding: 6px 12px; border: 1px solid #BFBCB1; border-radius: 14px; font-size: 12px; color: var(--muted); cursor: pointer; }
.wins span b { font-family: var(--f-mono); font-size: 15px; font-weight: 500; color: inherit; }
.wins input:checked + span { color: #C9CAC4; }
.wins input:checked + span b { color: var(--white); }
.qty { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; }
.mf-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; background: var(--rice); }
.mf-foot .est { font-size: 15px; color: var(--muted); }
.mf-foot .est b { font-family: var(--f-mono); color: var(--ink); font-size: 20px; font-weight: 500; }
.bk-msg { margin: 0 24px 20px; border-radius: 14px; padding: 16px 18px; display: grid; gap: 12px; font-size: 15px; }
.bk-msg.bad { background: var(--chilli-soft); color: #5E1010; border: 1px solid #E5BDB9; }
.bk-msg .acts { display: flex; flex-wrap: wrap; gap: 10px; }
.fillbar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: 8px; width: 220px; }
.fillbar i { display: block; height: 100%; width: 0; background: var(--seed); animation: fill 1200ms var(--ease) forwards; }
@keyframes fill { to { width: 100%; } }
.done { padding: clamp(22px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; align-items: start; position: relative; }
.done h3 { font-size: clamp(24px, 2.4vw, 34px); }
.done dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 22px 0 0; }
.done dt { color: var(--muted); }
.done dd { margin: 0; font-weight: 700; }
.stamp { width: 168px; height: 168px; border-radius: 50%; border: 3px solid var(--drum); color: var(--drum); display: grid; place-items: center; text-align: center; transform: rotate(-8deg); justify-self: center; }
.stamp div { border: 1px solid var(--drum); border-radius: 50%; width: 140px; height: 140px; display: grid; place-content: center; gap: 2px; }
.stamp b { font-size: 26px; font-weight: 700; line-height: 1.1; }
.stamp span { font-family: var(--f-mono); font-size: 11px; }
.nev { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 6px; background: linear-gradient(180deg, #F4FBF6 0%, #7ACB97 100%); border: 1px solid #2E7D4C; color: #10391F; font-family: var(--f-mono); font-weight: 700; font-size: 15px; }
.done .a-acts { margin-top: 24px; }
@media (max-width: 900px) {
  .mf, .mf.w4, .mf.w8 { grid-column: span 12; border-right: 0; }
  .cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .dates { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .done { grid-template-columns: minmax(0, 1fr); }
  .stamp { justify-self: start; width: 140px; height: 140px; } .stamp div { width: 116px; height: 116px; } .stamp b { font-size: 21px; }
}

/* Account: SMS sign-in and ledger */
.acc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); margin-top: 56px; align-items: start; }
.acc-side p { color: var(--on-drum); max-width: 28em; }
.acc-side ul { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.acc-side li { display: flex; gap: 12px; align-items: baseline; }
.acc-side li i { width: 10px; height: 10px; border-radius: 50%; background: var(--seed); flex: none; transform: translateY(-1px); }
.card { background: var(--white); color: var(--ink); border-radius: var(--r); padding: clamp(22px, 2.8vw, 38px); --focus: var(--drum); }
.card h3 { font-size: clamp(22px, 2vw, 28px); }
.card .sub { color: var(--muted); margin-top: 8px; font-size: 15px; }
.fld { margin-top: 22px; }
.fld > label, .fld > .fl { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.fld input[type="text"], .fld input[type="tel"], .fld select { width: 100%; min-height: 52px; border: 1px solid #BFBCB1; border-radius: 14px; padding: 0 14px; background: var(--rice); }
.fld .row { display: flex; gap: 10px; }
.fld .row > :first-child { flex: 1; min-width: 0; }
.fld .err { color: var(--chilli); font-size: 14px; font-weight: 700; margin-top: 8px; }
.fld .hint { color: var(--muted); font-size: 13px; margin-top: 8px; }
.cc { display: flex; align-items: center; border: 1px solid #BFBCB1; border-radius: 14px; background: var(--rice); }
.cc span { padding: 0 4px 0 14px; font-family: var(--f-mono); color: var(--muted); }
.cc input { border: 0 !important; background: transparent !important; }
.cc:focus-within { outline: 2px solid var(--drum); outline-offset: 2px; }
.cc input:focus-visible { outline: none; }
.otp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; max-width: 360px; }
.otp input { width: 100%; height: 58px; text-align: center; font-family: var(--f-mono); font-size: 24px; border: 1px solid #BFBCB1; border-radius: 14px; background: var(--rice); }
.card .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; align-items: center; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 22px 0 0; }
.tabs button { position: relative; min-height: 48px; padding: 0 14px; background: none; border: 0; color: var(--muted); font-weight: 700; }
.tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: transparent; }
.tabs button[aria-selected="true"] { color: var(--ink); }
.tabs button[aria-selected="true"]::after { background: var(--seed); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
.tiles div { background: var(--rice); border-radius: 16px; padding: 14px; }
.tiles b { display: block; font-family: var(--f-mono); font-weight: 500; font-size: clamp(18px, 1.7vw, 23px); line-height: 1.15; }
.tiles span { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.ledger { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 14px; }
.ledger th { text-align: left; font-family: var(--f-mono); font-weight: 500; font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); padding: 8px 8px 8px 0; border-bottom: 1px solid var(--ink); }
.ledger td { padding: 12px 8px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ledger td.n, .ledger th.n { text-align: right; font-family: var(--f-mono); }
.ledger small { display: block; color: var(--muted); font-family: var(--f-mono); font-size: 11px; }
.paid { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #E3F1E6; color: #1C5530; }
.paid.wait { background: #FBF1D3; color: #5C4507; }
.paid.off { background: #ECEBE6; color: var(--muted); }
.empty { border: 1px dashed #BFBCB1; border-radius: 16px; padding: 26px; text-align: center; color: var(--muted); display: grid; gap: 12px; justify-items: center; margin-top: 18px; }
@media (max-width: 900px) { .acc { grid-template-columns: minmax(0, 1fr); } .tiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .ledger .hide-s { display: none; } }

/* Phone notification (SMS) */
.notif { pointer-events: none; position: fixed; top: 14px; right: 14px; z-index: 120; width: min(340px, calc(100vw - 28px)); background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; display: grid; grid-template-columns: 36px 1fr; gap: 10px; transform: translateX(120%); visibility: hidden; transition: transform 600ms var(--ease), visibility 0s linear 600ms; font-size: 14px; }
.notif.show { transform: none; visibility: visible; transition: transform 600ms var(--ease); }
@media (max-width: 1080px) { .notif { top: auto; bottom: 14px; } }
.notif .app { width: 36px; height: 36px; border-radius: 10px; background: #2E7D4C; color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.notif small { display: block; color: var(--muted); font-size: 12px; }

/* Close and footer */
.close { position: relative; min-height: 88vh; display: grid; align-items: end; overflow: hidden; color: var(--ink); }
.close > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.close .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(48px, 7vw, 96px); }
.close-card { background: var(--rice); border-radius: var(--r); padding: clamp(24px, 3vw, 44px); max-width: 640px; }
.close-card h2 { font-size: clamp(32px, 4vw, 58px); }
.close-card .hero-cta { margin-top: 26px; }
footer { background: var(--ink); color: #A9AAA4; padding: 52px 0 44px; font-size: 14px; --focus: var(--seed); }
.foot { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.foot b { color: var(--white); }
.foot a, .foot button { color: var(--white); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot button { background: none; border: 0; padding: 0; min-height: 40px; text-decoration: underline; text-underline-offset: 3px; text-align: left; }
@media (max-width: 760px) { .foot { grid-template-columns: minmax(0, 1fr); } }
dialog { border: 0; padding: 0; border-radius: var(--r); width: min(480px, calc(100vw - 32px)); background: var(--white); color: var(--ink); }
dialog::backdrop { background: rgba(23, 24, 26, 0.7); }
.dlg { padding: 28px 26px 24px; position: relative; }
.dlg-x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--rice); font-size: 22px; line-height: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-rise], [data-fade] { clip-path: none !important; opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn::before, .drawer, .notif, .stages button p { transition: none; }
  .fillbar i { animation: none; width: 100%; }
  .ref-track { height: auto; }
  .ref-stage { position: relative; height: auto; padding-block: 96px; }
  .stages li button p { max-height: none; opacity: 1; color: #C9CAC4; margin-top: 6px; }
}

/* Section heads: a pipeline station marker beside the heading */
.sec-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.station { flex: none; display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 5px 16px 5px 5px; margin-top: 0.55em; }
.station i { width: 34px; height: 34px; border-radius: 50%; background: var(--seed); color: var(--ink); display: grid; place-items: center; font-family: var(--f-mono); font-size: 12px; font-weight: 500; }
.station b { font-size: 15px; font-weight: 700; }
.blue .station, .inkbg .station { border-color: var(--drum-line); color: var(--white); }
.inkbg .station { border-color: #3A3C40; }
@media (max-width: 760px) { .station { display: none; } }

/* Continue with WeChat (simulated authorisation sheet) */
.btn-wx { background: #1E7B4B; color: var(--white); }
.btn-wx::before { background: var(--ink); }
.btn-wx:hover { color: var(--white); }
.wx-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--white); outline: 3px solid rgba(255, 255, 255, 0.35); }
.or { display: flex; align-items: center; gap: 12px; margin-top: 26px; color: var(--muted); }
.or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.wx-dlg { width: min(400px, calc(100vw - 24px)); border-radius: 22px; }
.wx { padding: 22px 22px 20px; display: grid; gap: 16px; }
.wx-top { font-size: 13px; color: var(--muted); text-align: center; }
.wx-app { display: flex; align-items: center; gap: 12px; }
.wx-app b { display: block; font-size: 18px; }
.wx-app small { color: var(--muted); }
.wx-list { margin: 0; padding: 0 0 0 18px; display: grid; gap: 6px; font-size: 15px; }
.wx-num { border: 0; margin: 0; padding: 0; display: grid; gap: 6px; }
.wx-num label { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 12px; border: 1px solid var(--line); border-radius: 14px; font-family: var(--f-mono); font-size: 15px; }
.wx-num label small { font-family: var(--f-text); color: var(--muted); }
.wx-num input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border-radius: 50%; border: 2px solid var(--muted); background: var(--white); display: grid; place-content: center; cursor: pointer; }
.wx-num input:checked { border-color: #1E7B4B; }
.wx-num input:checked::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #1E7B4B; }
.wx-num input:focus-visible { outline: 2px solid #1E7B4B; outline-offset: 2px; }
.wx-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Static capture mode (?capture=1) for gallery screenshots: same as the reduced-motion layout */
.capture [data-rise], .capture [data-fade] { clip-path: none; opacity: 1; transform: none; transition: none; }
.capture .ref-track { height: auto; }
.capture .ref-stage { position: relative; height: auto; padding-block: 96px; }
.capture .stages li button p { max-height: none; opacity: 1; color: #C9CAC4; margin-top: 6px; }

.ref-head .station { display: none; }

/* Custom select (cselect.js): button plus listbox */
.cs { position: relative; display: block; }
.cs-btn { appearance: none; -webkit-appearance: none; margin: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 0; }
.cs-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.cs-chev { flex: none; width: 10px; height: 6px; background: currentColor; clip-path: polygon(0 0, 100% 0, 50% 100%); transition: transform 220ms var(--ease); }
.cs.open .cs-chev { transform: rotate(180deg); }
.mf .cs-btn { min-height: 50px; border-bottom: 1px solid #BFBCB1; padding: 0 4px 0 2px; font-size: 17px; }
.fld .cs-btn { min-height: 52px; border: 1px solid #BFBCB1; border-radius: 14px; padding: 0 16px 0 14px; background: var(--rice); }
.cs-btn[aria-expanded="true"] { border-color: var(--ink); }
.cs-list { position: absolute; z-index: 70; left: 0; top: calc(100% + 6px); min-width: 100%; width: max-content; max-width: min(420px, calc(100vw - 32px)); max-height: 296px; overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 6px; list-style: none; background: var(--white); color: var(--ink); border: 1px solid var(--ink); border-radius: 16px; font-family: var(--f-text); font-size: 16px; font-weight: 500; line-height: 1.3; }
.cs.up .cs-list { top: auto; bottom: calc(100% + 6px); }
.cs-list:focus-visible { outline: 2px solid var(--drum); outline-offset: 2px; }
.cs-list li { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border-radius: 10px; cursor: pointer; white-space: nowrap; }
.cs-list li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; }
.cs-list li[aria-selected="true"] { font-weight: 700; }
.cs-list li[aria-selected="true"]::before { background: var(--seed); }
.cs-list li.on { background: var(--rice); }
/* Weight stepper in place of a number spinner */
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper input { flex: 1; min-width: 0; text-align: center; font-family: var(--f-mono); }
.stp { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; font-size: 22px; line-height: 1; font-weight: 500; display: grid; place-items: center; transition: background 300ms var(--ease), color 300ms var(--ease); }
.stp:hover { background: var(--ink); color: var(--rice); }
