/* =========================================================
   植语 PlantTalk — editorial product site
   cream paper / forest ink / brass / terracotta
   ========================================================= */

@font-face {
  font-family: "PT Serif";
  src: url("../fonts/serif.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "PT Sans";
  src: url("../fonts/sans.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --paper: #f3eee3;
  --paper-2: #eae2d2;
  --paper-3: #e2d8c4;
  --ink: #14241c;
  --ink-soft: #3f5147;
  --ink-mute: #7d8a80;
  --forest: #16382a;
  --forest-2: #1f4a37;
  --sage: #8b9d84;
  --brass: #b28c52;
  --brass-soft: #d8c49b;
  --terra: #b4653f;
  --terra-soft: #e0b79e;
  --night: #0a1511;
  --night-2: #10211a;
  --night-3: #173026;
  --line: rgba(20, 36, 28, 0.16);
  --line-soft: rgba(20, 36, 28, 0.08);
  --serif: "PT Serif", "Songti SC", "Noto Serif CJK SC", "STSong", serif;
  --sans: "PT Sans", "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Mono", "Consolas", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(20px, 5vw, 72px);
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--forest); color: var(--paper); }

.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.wrap { width: min(100% - var(--pad) * 2, var(--max)); margin-inline: auto; }
.section { position: relative; padding-block: clamp(76px, 9vw, 136px); }
section[id] { scroll-margin-top: 84px; }
.section + .section { border-top: 1px solid var(--line-soft); }

/* ------------------------------------------------ type */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.06; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(3rem, 6.2vw, 6rem); }
h2 { font-size: clamp(1.95rem, 3.5vw, 3.2rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.25; }
p { margin: 0; }
em { font-style: italic; }
.serif { font-family: var(--serif); }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: 0.71rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute);
}
.eyebrow b {
  font-family: var(--mono); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.08em;
  color: var(--terra); border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 9px; line-height: 1;
}
.eyebrow::after { content: ""; height: 1px; width: 46px; background: var(--line); }
.section-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(38px, 5vw, 72px); }
.section-head .eyebrow { grid-column: 1 / -1; margin-bottom: 6px; }
.section-head h2 { max-width: 12em; }
.section-head .lead { max-width: 46ch; padding-bottom: 8px; }
.lead { color: var(--ink-soft); font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.85; }

/* ------------------------------------------------ topbar */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 40px;
  padding: 18px var(--pad);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.topbar.is-solid { background: rgba(243, 238, 227, 0.94); backdrop-filter: blur(18px) saturate(1.05); border-bottom-color: var(--line-soft); padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--forest); color: var(--paper); font-family: var(--serif); font-size: 1.05rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.brand-word { font-family: var(--serif); font-size: 1.16rem; letter-spacing: 0.02em; }
.brand-word em { display: block; font-family: var(--sans); font-style: normal; font-size: 0.55rem; letter-spacing: 0.28em; color: var(--ink-mute); margin-top: 1px; }
.nav { display: flex; gap: clamp(16px, 2.2vw, 30px); font-size: 0.83rem; font-weight: 500; }
.nav a { position: relative; color: var(--ink-soft); padding-block: 4px; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--ink); transition: width 0.35s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }
.nav a.is-current { color: var(--ink); }
.nav a.is-current::after { width: 100%; }
.nav-cta {
  font-size: 0.78rem; font-weight: 600; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--ink); background: transparent; transition: 0.3s var(--ease);
}
.nav-cta:hover { background: var(--ink); color: var(--paper); }
.menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; }
.menu-btn span { width: 22px; height: 1.5px; background: var(--ink); transition: 0.3s; }
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--terra); z-index: 55; transition: width 0.1s linear; }

/* ------------------------------------------------ hero */
.hero {
  position: relative; min-height: 100svh; display: grid;
  grid-template-columns: 1.02fr 0.98fr; align-items: center; gap: 3vw;
  padding: clamp(110px, 13vh, 160px) var(--pad) 80px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; }
.orb-a { width: 46vw; height: 46vw; right: -8vw; top: 4vh; background: radial-gradient(circle at 40% 40%, #f0d9b8, transparent 70%); }
.orb-b { width: 34vw; height: 34vw; left: -10vw; bottom: -6vh; background: radial-gradient(circle at 50% 50%, #c8d3c0, transparent 70%); opacity: 0.42; }
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; }
.hero-copy { position: relative; z-index: 2; max-width: 46rem; }
.hero-copy .eyebrow { margin-bottom: clamp(18px, 2.4vw, 30px); }
.hero h1 { margin-bottom: 26px; }
.hero h1 em { color: var(--forest-2); }
.hero-lead { max-width: 36ch; color: var(--ink-soft); font-size: clamp(1rem, 1.3vw, 1.18rem); line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px;
  font-size: 0.86rem; font-weight: 600; letter-spacing: 0.04em; border: 1px solid transparent;
  transition: 0.35s var(--ease); cursor: pointer;
}
.btn-solid { background: var(--forest); color: var(--paper); }
.btn-solid:hover { background: var(--forest-2); transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(22, 56, 42, 0.7); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost span { font-family: var(--sans); transition: transform 0.3s; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost:hover span { transform: translateX(4px); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 26px 40px; margin: 46px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-stats div { display: flex; flex-direction: column; gap: 2px; }
.hero-stats dt { font-family: var(--serif); font-size: 1.5rem; }
.hero-stats dd { margin: 0; font-size: 0.7rem; letter-spacing: 0.16em; color: var(--ink-mute); text-transform: uppercase; }
.hero-visual { position: relative; margin: 0; z-index: 1; justify-self: end; width: min(100%, 560px); }
.hero-glow {
  position: absolute; inset: -8% -12% -6%; background: radial-gradient(ellipse at 55% 42%, rgba(214, 192, 156, 0.55), transparent 62%);
  filter: blur(26px); z-index: -1;
}
.hero-visual img {
  width: 100%; height: auto; border-radius: 3px;
  transform: translate3d(0, calc(var(--hp, 0) * -34px), 0) scale(1.015);
  will-change: transform;
  box-shadow: 0 40px 90px -60px rgba(20, 36, 28, 0.65);
}
.chips { position: absolute; inset: 0; pointer-events: none; }
.chip {
  position: absolute; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.06em;
  background: rgba(250, 247, 239, 0.9); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 12px; box-shadow: 0 8px 30px -18px rgba(20, 36, 28, 0.5);
  transform: translate3d(0, calc(var(--hp, 0) * -14px), 0);
}
.chip-a { top: 15%; left: -7%; }
.chip-b { top: 44%; right: -6%; }
.chip-c { bottom: 14%; left: -4%; }
.fig-note { position: absolute; bottom: -26px; right: 0; font-size: 0.66rem; letter-spacing: 0.14em; color: var(--ink-mute); }
.scroll-cue {
  position: absolute; left: var(--pad); bottom: 26px; display: flex; align-items: center; gap: 12px;
  font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute);
}
.scroll-cue i { display: block; width: 1px; height: 42px; background: linear-gradient(var(--ink-mute), transparent); animation: cue 2s infinite; }
@keyframes cue { 0%, 100% { transform: scaleY(0.4); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ------------------------------------------------ problem */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.stat-card { background: var(--paper); padding: clamp(24px, 3vw, 40px); }
.stat-card strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 6vw, 5.2rem); line-height: 0.9; color: var(--forest); letter-spacing: -0.04em; }
.stat-card strong small { font-size: 0.32em; margin-left: 4px; letter-spacing: 0; color: var(--ink-mute); }
.stat-card h3 { margin: 20px 0 8px; }
.stat-card p { color: var(--ink-soft); font-size: 0.9rem; }
.pullquote {
  margin: clamp(48px, 6vw, 90px) 0 0; font-family: var(--serif); font-size: clamp(1.55rem, 3.4vw, 2.9rem);
  line-height: 1.35; max-width: 24ch; color: var(--ink);
}
.pullquote em { color: var(--terra); }
.pullquote::before { content: "“"; display: block; font-size: 3em; line-height: 0.5; color: var(--brass); margin-bottom: 0.2em; }

/* ------------------------------------------------ story / sticky */
.story-wrap { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.story-sticky { position: sticky; top: 12vh; }
.story-sticky figure { margin: 0; }
.story-sticky img { width: 100%; border-radius: 2px; box-shadow: 0 40px 80px -64px rgba(20, 36, 28, 0.6); }
.story-sticky figcaption { display: flex; justify-content: space-between; gap: 20px; margin-top: 14px; font-size: 0.66rem; letter-spacing: 0.12em; color: var(--ink-mute); text-transform: uppercase; border-top: 1px solid var(--line); padding-top: 10px; }
.story-steps .eyebrow { margin-bottom: 18px; }
.story-steps h2 { margin-bottom: 20px; }
.steps { list-style: none; margin: clamp(34px, 4vw, 56px) 0 0; padding: 0; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 26px 0; border-top: 1px solid var(--line); }
.step-n { font-family: var(--mono); font-size: 0.72rem; color: var(--terra); padding-top: 4px; }
.step h3 { margin-bottom: 7px; }
.step p { color: var(--ink-soft); font-size: 0.92rem; max-width: 40ch; }
.step:last-child { border-bottom: 1px solid var(--line); }

/* ------------------------------------------------ mood */
.mood { background: linear-gradient(180deg, var(--paper), var(--paper-2)); }
.mood-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.face-stage { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.screen {
  position: relative; width: min(74vw, 440px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 38% 28%, #26332a, #0b120e 58%, #050806 100%);
  box-shadow: 0 0 0 10px #ddd2bd, 0 0 0 13px var(--brass), 0 40px 70px -46px rgba(20, 36, 28, 0.8), inset 0 0 60px rgba(0, 0, 0, 0.7);
  display: grid; place-items: center; overflow: hidden;
}
.screen::after {
  content: ""; position: absolute; inset: -20%; background: linear-gradient(120deg, transparent 38%, rgba(255, 240, 214, 0.12) 48%, transparent 58%);
  transform: translateX(-30%);
}
.face-svg { width: 78%; height: 78%; filter: drop-shadow(0 0 14px rgba(255, 190, 120, 0.55)); }
.face-svg path, .face-svg circle, .face-svg ellipse { fill: none; stroke: #ffd99b; stroke-width: 13; stroke-linecap: round; transition: opacity 0.3s ease; }
.face-svg .fill { fill: #ffd99b; stroke: none; }
.screen-meta {
  position: absolute; bottom: 16%; inset-inline: 0; text-align: center;
  font-family: var(--mono); color: #ffd99b; font-size: 0.78rem; letter-spacing: 0.12em;
  display: flex; flex-direction: column; gap: 2px; opacity: 0.9;
}
.screen-meta small { font-size: 0.58rem; color: #c9b487; letter-spacing: 0.16em; }
.face-svg .mood { opacity: 0; transition: opacity 0.35s ease; }
.screen[data-mood="happy"] .mood-happy,
.screen[data-mood="thirsty"] .mood-thirsty,
.screen[data-mood="hot"] .mood-hot,
.screen[data-mood="cold"] .mood-cold,
.screen[data-mood="sleepy"] .mood-sleepy,
.screen[data-mood="curious"] .mood-curious,
.screen[data-mood="content"] .mood-content { opacity: 1; }
.face-svg .mood text { stroke: none; }
.face-caption { max-width: 34ch; text-align: center; color: var(--ink-soft); font-size: 0.95rem; min-height: 3.4em; }
.mood-panel h3 { margin-bottom: 22px; }
.mood-btns { display: flex; flex-wrap: wrap; gap: 9px; }
.mood-btn {
  background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 9px 15px;
  font-size: 0.8rem; cursor: pointer; transition: 0.3s var(--ease); color: var(--ink-soft);
}
.mood-btn:hover { border-color: var(--ink); color: var(--ink); }
.mood-btn.is-active { background: var(--forest); border-color: var(--forest); color: var(--paper); }
.mood-note { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--ink-mute); }
.mood-note b { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------ climate sim */
.sim { display: grid; grid-template-columns: 0.9fr 1.1fr; border: 1px solid var(--line); background: var(--paper); }
.sim-controls { padding: clamp(24px, 3.4vw, 44px); border-right: 1px solid var(--line); }
.sim-controls h3 { margin-bottom: 6px; }
.sim-controls .hint { font-size: 0.76rem; color: var(--ink-mute); margin-bottom: 28px; }
.plant-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.plant-btn { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 7px 12px; font-size: 0.75rem; cursor: pointer; transition: 0.25s; }
.plant-btn.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.slider { margin-bottom: 26px; }
.slider label { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.78rem; letter-spacing: 0.08em; color: var(--ink-soft); margin-bottom: 10px; }
.slider output { font-family: var(--mono); font-size: 1.05rem; color: var(--ink); }
input[type="range"] { width: 100%; -webkit-appearance: none; appearance: none; height: 2px; background: var(--line); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink); cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink); cursor: pointer; }
.sim-stage { padding: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 26px; }
.readout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.readout-card { border: 1px solid var(--line); padding: 18px; }
.readout-card .k { font-size: 0.66rem; letter-spacing: 0.16em; color: var(--ink-mute); text-transform: uppercase; }
.readout-card .v { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.1; margin-top: 6px; }
.readout-card .v small { font-size: 0.4em; color: var(--ink-mute); }
.readout-card .bar { height: 4px; background: var(--line-soft); margin-top: 14px; position: relative; overflow: hidden; }
.readout-card .bar i { position: absolute; inset: 0 auto 0 0; width: 50%; background: var(--forest); transition: width 0.4s var(--ease), background 0.4s; }
.readout-card.hot .bar i { background: var(--terra); }
.decisions { display: flex; flex-wrap: wrap; gap: 8px; }
.decision {
  font-size: 0.72rem; letter-spacing: 0.04em; padding: 8px 12px; border: 1px solid var(--line);
  color: var(--ink-mute); border-radius: 2px; transition: 0.3s var(--ease);
}
.decision.is-on { background: var(--forest); border-color: var(--forest); color: var(--paper); }
.decision.is-off { opacity: 0.55; }
.sim-status { margin-top: auto; border-top: 1px solid var(--line); padding-top: 16px; font-size: 0.8rem; color: var(--ink-soft); }
.sim-status b { font-family: var(--mono); font-size: 0.74rem; color: var(--ink); }

/* ------------------------------------------------ pollen (dark) */
.pollen { background: var(--night); color: #ece6d8; }
.pollen .eyebrow { color: #9fae9f; }
.pollen .eyebrow b { color: var(--brass-soft); border-color: rgba(255, 255, 255, 0.18); }
.pollen .eyebrow::after { background: rgba(255, 255, 255, 0.2); }
.pollen .lead { color: #aebbb0; }
.pollen h2 em { color: var(--brass-soft); }
.pollen-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.pollen-tab {
  border: 1px solid rgba(255, 255, 255, 0.16); background: transparent; color: #b9c6ba;
  padding: 10px 16px; border-radius: 999px; font-size: 0.8rem; cursor: pointer; transition: 0.3s;
}
.pollen-tab.is-active { background: var(--brass-soft); color: var(--night); border-color: var(--brass-soft); }
.pollen-stage { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: clamp(20px, 4vw, 56px); align-items: stretch; }
.diagram-wrap { border: 1px solid rgba(255, 255, 255, 0.12); background: radial-gradient(circle at 50% 40%, rgba(40, 66, 52, 0.55), rgba(10, 21, 17, 0.2)); padding: clamp(12px, 2vw, 26px); }
.duct-diagram { width: 100%; height: auto; display: block; }
.duct-diagram .housing { fill: #1a2c22; stroke: #43584a; stroke-width: 2; }
.duct-diagram .housing-inner { fill: #0f1c15; stroke: #33463a; stroke-width: 1.5; }
.duct-diagram .brass { fill: #b28c52; }
.duct-diagram .brass-line { fill: none; stroke: #c9a468; stroke-width: 3; }
.duct-diagram .air { fill: none; stroke: #8fc9a5; stroke-width: 2.5; stroke-dasharray: 6 10; opacity: 0.75; }
.duct-diagram .air-hot { stroke: #e0a06a; }
.duct-diagram .air-mist { stroke: #a9d6c4; }
.duct-diagram .label { font-family: var(--mono); font-size: 10px; fill: #93a596; letter-spacing: 0.08em; }
.duct-diagram .label-bright { fill: #e6d3a9; }
.duct-diagram .node { fill: #0a1511; stroke: #c9a468; stroke-width: 1.5; }
.duct-diagram .node-num { font-family: var(--mono); font-size: 10px; fill: #e6d3a9; text-anchor: middle; }
.duct-diagram .mode-group { opacity: 0; transition: opacity 0.45s ease; }
.duct-diagram .mode-group.is-on { opacity: 1; }
.duct-diagram .flow { animation: flow 2.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -32; } }
.pollen-legend { display: flex; flex-direction: column; gap: 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.legend-item { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.legend-item span { font-family: var(--mono); font-size: 0.68rem; color: var(--brass-soft); }
.legend-item h4 { font-family: var(--sans); font-size: 0.88rem; font-weight: 600; margin-bottom: 3px; color: #f0eadc; }
.legend-item p { font-size: 0.8rem; color: #98a99b; line-height: 1.6; }
.pollen-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, 0.12); margin-top: clamp(34px, 4vw, 56px); border: 1px solid rgba(255, 255, 255, 0.12); }
.pollen-card { background: var(--night); padding: clamp(20px, 2.4vw, 30px); }
.pollen-card .tag { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; color: var(--brass-soft); text-transform: uppercase; }
.pollen-card h4 { font-family: var(--serif); font-size: 1.12rem; margin: 12px 0 8px; color: #f2ecdf; }
.pollen-card p { font-size: 0.82rem; color: #9cab9e; line-height: 1.7; }
.fineprint { margin-top: 26px; font-size: 0.72rem; color: #7f9185; border-left: 1px solid rgba(255, 255, 255, 0.18); padding-left: 14px; max-width: 76ch; }

/* ------------------------------------------------ app */
.app-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.app-copy .eyebrow { margin-bottom: 18px; }
.app-copy h2 { margin-bottom: 20px; }
.app-list { list-style: none; padding: 0; margin: 34px 0 0; }
.app-list li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--ink-soft); }
.app-list li b { display: block; color: var(--ink); font-family: var(--sans); font-size: 0.92rem; margin-bottom: 2px; }
.app-list li i { font-family: var(--mono); font-style: normal; font-size: 0.68rem; color: var(--terra); padding-top: 3px; }
.phone-wrap { justify-self: center; position: relative; }
.phone-wrap::before { content: ""; position: absolute; inset: 6% -10%; background: radial-gradient(ellipse at 50% 50%, rgba(139, 157, 132, 0.35), transparent 68%); filter: blur(20px); z-index: -1; }
.phone {
  width: min(78vw, 330px); border-radius: 44px; background: #0d1712; padding: 11px;
  box-shadow: 0 50px 90px -50px rgba(20, 36, 28, 0.75), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: rotate(-2.2deg);
}
.phone-screen { background: linear-gradient(180deg, #10231a, #0a1510); border-radius: 34px; padding: 22px 18px 18px; min-height: 590px; color: #dce8dd; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.phone-status { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.58rem; color: #7f9685; letter-spacing: 0.08em; }
.phone-face { display: grid; place-items: center; padding: 4px 0 0; }
.phone-face .mini-screen { width: 128px; height: 128px; border-radius: 50%; background: radial-gradient(circle at 38% 30%, #24342a, #070d0a 70%); display: grid; place-items: center; box-shadow: 0 0 0 4px #2c4636, 0 0 24px rgba(255, 190, 120, 0.12); }
.phone-face svg { width: 74%; filter: drop-shadow(0 0 6px rgba(255, 200, 130, 0.5)); }
.phone-face svg path { fill: none; stroke: #ffd99b; stroke-width: 14; stroke-linecap: round; }
.phone-vals { display: flex; justify-content: center; gap: 26px; text-align: center; }
.phone-vals b { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: #f0e8d8; }
.phone-vals span { font-size: 0.56rem; letter-spacing: 0.14em; color: #79907f; }
.phone-plants { display: flex; gap: 6px; overflow: hidden; }
.phone-plants span { flex: 1; text-align: center; font-size: 0.6rem; padding: 7px 2px; border-radius: 999px; border: 1px solid #274234; color: #91a795; }
.phone-plants span.on { background: #b7cfae; color: #10231a; border-color: #b7cfae; }
.phone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.phone-btn { border: 1px solid #2a4536; background: #142a1f; border-radius: 10px; padding: 10px 6px; font-size: 0.64rem; letter-spacing: 0.04em; color: #b9cdbd; cursor: pointer; transition: 0.25s; }
.phone-btn.is-on { background: #b4653f; border-color: #b4653f; color: #fff4e6; }
.phone-btn:active { transform: translateY(1px); }
.phone-chart { display: flex; align-items: end; gap: 4px; height: 54px; padding-top: 8px; border-top: 1px solid #21392c; margin-top: auto; }
.phone-chart i { flex: 1; background: linear-gradient(#7fae8b, #2c5540); border-radius: 2px 2px 0 0; opacity: 0.8; transition: height 0.4s var(--ease); }
.phone-foot { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.54rem; color: #6f8777; }

/* ------------------------------------------------ blueprint */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-btn { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 8px 14px; font-size: 0.75rem; cursor: pointer; color: var(--ink-soft); transition: 0.25s; }
.filter-btn.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.blueprint-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature { background: var(--paper); padding: clamp(20px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 8px; min-height: 168px; transition: background 0.3s; }
.feature:hover { background: #f8f4ea; }
.feature .topline { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.feature .cat { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.14em; color: var(--ink-mute); text-transform: uppercase; }
.feature h4 { font-family: var(--serif); font-size: 1.1rem; margin-top: 4px; }
.feature p { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.65; }
.status { font-size: 0.6rem; letter-spacing: 0.08em; padding: 3px 8px; border-radius: 999px; border: 1px solid; white-space: nowrap; font-family: var(--sans); }
.status.done { color: var(--forest-2); border-color: rgba(31, 74, 55, 0.35); background: rgba(139, 157, 132, 0.16); }
.status.concept { color: var(--terra); border-color: rgba(180, 101, 63, 0.35); background: rgba(224, 183, 158, 0.2); }
.status.plan { color: var(--ink-mute); border-color: var(--line); background: transparent; }
.feature.is-hidden { display: none; }

/* ------------------------------------------------ specs */
.spec-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.spec-table tr { border-top: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: 1px solid var(--line); }
.spec-table th { text-align: left; font-weight: 500; color: var(--ink-mute); font-size: 0.7rem; letter-spacing: 0.1em; padding: 14px 16px 14px 0; width: 32%; vertical-align: top; }
.spec-table td { padding: 14px 0; color: var(--ink); vertical-align: top; }
.spec-table td small { display: block; color: var(--ink-mute); font-size: 0.72rem; margin-top: 2px; }
.safety { border: 1px solid var(--line); padding: clamp(22px, 2.6vw, 32px); background: var(--paper-2); }
.safety h3 { margin-bottom: 18px; }
.safety ul { margin: 0; padding: 0; list-style: none; }
.safety li { position: relative; padding-left: 20px; margin-bottom: 12px; font-size: 0.84rem; color: var(--ink-soft); }
.safety li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--terra); }
.safety li b { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------ roadmap */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.phase { background: var(--paper); padding: clamp(20px, 2.6vw, 32px); }
.phase .when { font-family: var(--mono); font-size: 0.68rem; color: var(--terra); letter-spacing: 0.08em; }
.phase h4 { font-family: var(--serif); font-size: 1.2rem; margin: 12px 0 10px; }
.phase p { font-size: 0.8rem; color: var(--ink-soft); }
.phase .now { display: inline-block; margin-top: 14px; font-size: 0.6rem; letter-spacing: 0.12em; color: var(--forest-2); border: 1px solid rgba(31, 74, 55, 0.35); padding: 3px 8px; border-radius: 999px; }

/* ------------------------------------------------ footer */
.footer { background: var(--forest); color: #e4e8dc; padding: clamp(54px, 7vw, 90px) var(--pad) 34px; }
.footer-grid { width: min(100%, var(--max)); margin-inline: auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(30px, 5vw, 70px); }
.footer h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: 1.15; max-width: 16ch; }
.footer .sub { margin-top: 16px; font-size: 0.86rem; color: #a9b8a8; max-width: 40ch; }
.footer-col h4 { font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: #90a38f; margin-bottom: 14px; font-weight: 600; }
.footer-col p, .footer-col a { display: block; font-size: 0.84rem; color: #c9d4c5; margin-bottom: 7px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { width: min(100%, var(--max)); margin: 54px auto 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.14); display: flex; justify-content: space-between; gap: 20px; font-size: 0.68rem; color: #8fa48e; letter-spacing: 0.04em; }

/* ------------------------------------------------ reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* ------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; }
  .hero-visual { justify-self: start; width: min(70vw, 430px); margin-top: 42px; }
  .fig-note { position: static; margin-top: 10px; }
  .scroll-cue { display: none; }
  .section-head { grid-template-columns: 1fr; }
  .section-head .lead { padding-bottom: 0; }
  .story-wrap { grid-template-columns: 1fr; }
  .story-sticky { position: static; margin-bottom: 34px; }
  .story-sticky img { max-width: 560px; }
  .mood-grid { grid-template-columns: 1fr; }
  .face-stage { order: 2; }
  .sim { grid-template-columns: 1fr; }
  .sim-controls { border-right: 0; border-bottom: 1px solid var(--line); }
  .pollen-stage { grid-template-columns: 1fr; }
  .pollen-cards { grid-template-columns: repeat(2, 1fr); }
  .app-grid { grid-template-columns: 1fr; }
  .phone-wrap { order: -1; }
  .blueprint-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav, .nav-cta { display: none; }
  .menu-btn { display: flex; }
  .nav.is-open {
    display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 45;
    background: var(--paper); padding: 110px var(--pad) 40px; gap: 4px; font-family: var(--serif); font-size: 1.9rem;
  }
  .nav.is-open a { border-bottom: 1px solid var(--line); padding: 16px 0; color: var(--ink); }
  .topbar.is-solid { background: rgba(243, 238, 227, 0.95); }
  h1 { font-size: clamp(2.7rem, 12vw, 4.2rem); }
  .problem-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 18px 26px; }
  .readout { grid-template-columns: 1fr 1fr; }
  .pollen-cards { grid-template-columns: 1fr; }
  .blueprint-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .face-stage .screen { width: min(80vw, 360px); }
  .chip-a { left: 2%; }
  .chip-b { right: 2%; }
  .chip-c { left: 2%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-visual img, .chip { transform: none !important; }
}


/* cutaway render */
.cutaway { position: relative; background: #0a1511; overflow: hidden; }
.cutaway img { display: block; width: 100%; height: auto; opacity: 0.96; }
.cutaway-note { margin: 12px 0 0; font-size: 0.62rem; letter-spacing: 0.16em; color: #78897b; text-transform: uppercase; }
.airpaths, .hotspots { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.airpaths .mode-group { opacity: 0; transition: opacity 0.4s ease; }
.airpaths .mode-group.is-on { opacity: 1; }
.airpaths .air { fill: none; stroke: #e6bd7c; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 10 15; opacity: 0.92; animation: airflow 2.6s linear infinite; }
.airpaths .air-mist { stroke: #8fc7b4; stroke-width: 4; stroke-dasharray: 4 13; }
@keyframes airflow { to { stroke-dashoffset: -100; } }
.hotspots circle { fill: #f3eee3; stroke: #0a1511; stroke-width: 4; }
.hotspots text { fill: #0a1511; font: 700 24px "PT Sans", sans-serif; text-anchor: middle; dominant-baseline: central; }
@media (prefers-reduced-motion: reduce) { .airpaths .air { animation: none; } }
