/* =====================================================================
   DIRECTION A — SIGNAL — see DESIGN.md for the full system.
   Layout concept: one dark field, text placed like instrument readouts
   around a living particle object; every section composed differently.
   ===================================================================== */
:root {
  --black: #101211;
  --raise: #171918;
  --raise-2: #202221;
  --line: rgba(214, 232, 200, 0.10);
  --line-2: rgba(214, 232, 200, 0.22);
  --fg: #eceeed;
  --fg-2: #adb5b2;
  --fg-3: #63706b;
  --green: #46a758;
  --green-deep: #3e7949;
  --green-hi: #71d083;
  --green-glow: rgba(70, 167, 88, 0.35);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0, 1);
  --ease-io: cubic-bezier(0.7, 0, 0.2, 1);
  --gutter: max(20px, 4.2vw);
  --nav-h: 68px;
  --fs-display: clamp(44px, 7.6vw, 132px);
  --fs-h2: clamp(34px, 5vw, 84px);
  --fs-h3: clamp(22px, 2.1vw, 32px);
  --fs-body: clamp(16px, 1.12vw, 18px);
  --fs-small: 13px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--black); overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--black); color: var(--fg); font-family: var(--font);
  font-size: var(--fs-body); line-height: 1.55; font-weight: 400; letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--green); color: #101211; }
:focus-visible { outline: 1.5px solid var(--green-hi); outline-offset: 4px; border-radius: 4px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
p { margin: 0; }
.display { font-size: var(--fs-display); line-height: 0.93; letter-spacing: -0.048em; font-weight: 500; }
.h2 { font-size: var(--fs-h2); line-height: 0.98; letter-spacing: -0.04em; }
.h3 { font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -0.022em; }
.lede { color: var(--fg-2); max-width: 34ch; }
.body { color: var(--fg-2); max-width: 46ch; }
.read { font-family: var(--mono); font-size: 12px; letter-spacing: 0; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.dagger { color: var(--green); font-size: 0.5em; vertical-align: super; margin-left: 0.08em; font-weight: 400; }
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- text splitting (JS adds .js on <html>) ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.wi { display: inline-block; will-change: transform; }
.js [data-split] .wi { transform: translate3d(0, 108%, 0); }
.js [data-split].in .wi { transform: none; transition: transform 1.25s var(--ease); transition-delay: var(--d, 0s); }
.js [data-fade] { opacity: 0; transform: translateY(14px); }
.js [data-fade].in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.25s var(--ease); transition-delay: var(--d, 0s); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--green); --c: #171918;
  position: relative; display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 26px 0 20px;
  border-radius: 999px; background: var(--bg); color: var(--c); font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  overflow: hidden; isolation: isolate; transition: background 0.25s var(--ease);
}
.btn::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none;
  box-shadow: 0 0 0 0 currentColor; animation: beat 2.25s var(--ease) infinite;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--green-hi);
  transform: translateY(101%); border-radius: inherit; transition: transform 0.55s var(--ease);
}
.btn:hover::after { transform: none; }
.btn--ghost { --bg: transparent; --c: var(--fg); box-shadow: inset 0 0 0 0.5px var(--line-2); }
.btn--ghost::before { background: var(--green); }
.btn--ghost::after { background: rgba(214, 232, 200, 0.07); }
.btn .lbl { display: inline-block; position: relative; }
@keyframes beat { 0% { box-shadow: 0 0 0 0 rgba(70,167,88,.7); } 70%, 100% { box-shadow: 0 0 0 7px rgba(70,167,88,0); } }

.link-line { position: relative; display: inline-flex; align-items: center; gap: 10px; color: var(--fg); font-size: 15px; }
.link-line::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--fg-3); transform-origin: right; transition: transform 0.25s var(--ease); }
.link-line:hover::after { background: var(--green); transform: scaleX(1); animation: line-swap 0.7s var(--ease); }
@keyframes line-swap { 0% { transform: scaleX(1); transform-origin: right; } 45% { transform: scaleX(0); transform-origin: right; } 46% { transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); display: flex; align-items: center; gap: 24px;
  padding: env(safe-area-inset-top, 0px) var(--gutter) 0; transition: transform 0.25s var(--ease), background 0.25s;
}
.nav::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 1px; background: var(--line); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.nav.scrolled::after { transform: none; }
.nav.scrolled { background: linear-gradient(rgba(0,0,0,.82), rgba(0,0,0,.55)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav.hide { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.03em; font-size: 15px; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { position: relative; padding: 8px 12px; font-size: 14px; color: var(--fg-2); border-radius: 8px; transition: color .25s; }
.nav__links a:hover { color: var(--fg); }
.nav__links a[aria-current="page"] { color: var(--fg); }
.nav__links a[aria-current="page"]::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--green); }
.nav .btn { height: 40px; font-size: 14px; padding: 0 18px 0 15px; }
.nav__menu { display: none; height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 0.5px var(--line-2); font-size: 14px; }
.progress { position: fixed; z-index: 51; left: 0; top: 0; height: 2px; width: 100%; background: var(--green); transform-origin: left; transform: scaleX(0); pointer-events: none; }

.menu {
  position: fixed; inset: 0; z-index: 60; background: var(--black); display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 24px + env(safe-area-inset-top, 0px)) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  clip-path: inset(0 0 100% 0); transition: clip-path 0.8s var(--ease-io); visibility: hidden;
}
.menu.open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu a.m { display: block; font-size: clamp(40px, 11vw, 64px); letter-spacing: -0.045em; line-height: 1.05; color: var(--fg); padding: 4px 0; }
.menu a.m[aria-current="page"] { color: var(--green); }
.menu .w .wi { transform: translateY(110%); transition: transform .9s var(--ease); }
.menu.open .w .wi { transform: none; transition-delay: var(--d, 0s); }
.menu__close { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: var(--gutter); height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 0.5px var(--line-2); font-size: 14px; }

/* ---------- cursor ---------- */
.cur, .cur-ring { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; border-radius: 50%; }
.cur { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--fg); transition: opacity .25s, background .25s; }
.cur-ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px; box-shadow: inset 0 0 0 0.5px rgba(236,238,237,.35);
  display: grid; place-items: center; transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), background .25s, box-shadow .25s;
}
.cur-ring span { font-size: 12px; font-weight: 500; color: #171918; opacity: 0; transform: scale(.6); transition: opacity .25s, transform .25s var(--ease); white-space: nowrap; }
.cur-ring.big { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--green); box-shadow: none; }
.cur-ring.big span { opacity: 1; transform: none; }
.cur-ring.hover { width: 60px; height: 60px; margin: -30px 0 0 -30px; box-shadow: inset 0 0 0 0.5px var(--green); }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
@media (hover: none), (pointer: coarse) { .cur, .cur-ring { display: none; } }

/* ---------- veil (page transition) ---------- */
.veil { position: fixed; inset: 0; z-index: 80; pointer-events: none; background: var(--black); transform-origin: top; }
.veil::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--green); box-shadow: 0 0 18px 2px var(--green-glow); }
.veil.out { transform: scaleY(0); transition: transform 1.05s var(--ease-io) 0.05s; }
.veil.in { transform: scaleY(1); transform-origin: bottom; transition: transform 0.7s var(--ease-io); }

.grain { position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: .035; background-image: 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%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.25s steps(6) infinite; }
@keyframes grain { 0% { background-position: 0 0; } 20% { background-position: -37px 21px; } 40% { background-position: 24px -48px; } 60% { background-position: -11px 33px; } 80% { background-position: 41px 12px; } 100% { background-position: 0 0; } }

/* ---------- image slots ---------- */
[data-img] { position: relative; }
[data-img] > img.slot {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0;
  filter: grayscale(1) contrast(1.15) brightness(.82); mix-blend-mode: luminosity; transition: opacity 1.25s var(--ease);
}
[data-img].has-img > img.slot { opacity: 1; }
[data-img].has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(70,167,88,.18), rgba(0,0,0,.55)); mix-blend-mode: multiply; pointer-events: none; }

/* ---------- footer ---------- */
.foot { position: relative; z-index: 2; background: var(--black); border-top: 0.5px solid var(--line); padding: 72px var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px)); }
.foot__top { display: flex; flex-wrap: wrap; gap: 48px 64px; justify-content: space-between; }
.foot__brand { max-width: 320px; display: grid; gap: 18px; }
.foot__brand p { color: var(--fg-2); font-size: 15px; }
.foot__cols { display: flex; flex-wrap: wrap; gap: 48px 72px; }
.foot__col { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.foot__col h4 { margin: 0 0 6px; font-size: 12px; font-weight: 400; color: var(--fg-3); }
.foot__col a, .foot__col span { color: var(--fg-2); transition: color .25s; }
.foot__col a:hover { color: var(--fg); }
.foot__bottom { margin-top: 72px; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: 12px; color: var(--fg-3); }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: beat 2.25s infinite; }

/* =====================================================================
   HOME
   ===================================================================== */
.field-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }
.home main { position: relative; z-index: 1; }
.chapter { position: relative; min-height: 100vh; min-height: 100svh; }

.h-hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(40px, 7vh, 84px); }
.h-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; }
.h-hero h1 { max-width: 11.5ch; }
.h-hero__side { display: grid; gap: 28px; justify-items: start; padding-bottom: 0.6em; }
.h-hero__side .lede { max-width: 30ch; }
.h-hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 1px; height: 42px; background: var(--line-2); overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--green); animation: cue 2.25s var(--ease-io) infinite; }
@keyframes cue { to { top: 110%; } }

/* plan: text hangs from the top centre, labels sit on the drawing */
.h-plan { min-height: 160vh; }
.h-plan__head { position: sticky; top: calc(var(--nav-h) + 4vh); text-align: center; display: grid; justify-items: center; gap: 18px; }
.h-plan__head .body { text-align: center; max-width: 40ch; }
.labels { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.tag { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--fg); white-space: nowrap; opacity: 0; transition: opacity .25s; will-change: transform; }
.tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(70,167,88,.18); }
.tag b { font-weight: 400; padding: 4px 9px; border-radius: 6px; background: rgba(0,0,0,.72); box-shadow: inset 0 0 0 0.5px var(--line); }

/* extrude: tall counter on the left edge, text in a narrow right column */
.h-extrude { min-height: 170vh; }
.h-extrude__inner { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.elev { display: grid; gap: 6px; align-self: stretch; align-content: center; }
.elev__num { font-family: var(--mono); font-size: clamp(56px, 9vw, 150px); line-height: .9; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; color: var(--fg); }
.elev__num small { font-size: .28em; letter-spacing: 0; color: var(--fg-3); margin-left: .25em; }
.elev__bar { width: 100%; height: 1px; background: var(--line-2); position: relative; }
.elev__bar i { position: absolute; inset: 0; background: var(--green); transform-origin: left; transform: scaleX(0); }
.h-extrude__text { display: grid; gap: 22px; max-width: 420px; justify-self: end; }

/* equipment: four corner readouts around the object */
.h-equip { min-height: 180vh; }
.hud { position: sticky; top: 0; height: 100vh; height: 100svh; }
.hud__c { position: absolute; display: grid; gap: 6px; }
.hud__c .read { font-size: 12px; }
.hud__c strong { font-weight: 500; font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.hud__tl { left: var(--gutter); top: calc(var(--nav-h) + 6vh); }
.hud__tr { right: var(--gutter); top: calc(var(--nav-h) + 6vh); text-align: right; }
.hud__bl { left: var(--gutter); bottom: 9vh; }
.hud__br { right: var(--gutter); bottom: 9vh; text-align: right; justify-items: end; }
.hud__title { position: absolute; left: 50%; bottom: 8vh; transform: translateX(-50%); text-align: center; display: grid; gap: 16px; justify-items: center; width: min(980px, 88vw); }
.hud__corner { position: absolute; width: 14px; height: 14px; border-color: var(--line-2); border-style: solid; border-width: 0; }
.hud__corner.a { left: calc(var(--gutter) - 14px); top: calc(var(--nav-h) + 6vh - 14px); border-left-width: 0.5px; border-top-width: 0.5px; }
.hud__corner.b { right: calc(var(--gutter) - 14px); bottom: calc(9vh - 14px); border-right-width: 0.5px; border-bottom-width: 0.5px; }
.equip-photo { position: absolute; right: var(--gutter); top: 50%; width: clamp(140px, 14vw, 220px); transform: translateY(-50%); margin: 0; opacity: 0; transition: opacity 1s; }
.equip-photo.has-img { opacity: 1; }
.equip-photo img { width: 100%; aspect-ratio: var(--ar); object-fit: contain; display: block; border-radius: 6px; padding: 10px; background: #fbfdfc; box-shadow: 0 0 0 0.5px rgba(236,238,237,.25); }
.equip-photo figcaption { margin-top: 10px; color: var(--fg-3); font-size: 12px; text-align: right; }

/* stages: pinned kinetic sentence */
.h-stages { min-height: 420vh; }
.stages__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; text-align: center; }
.stages__pin::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(1100px, 100vw); height: 70vh; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(0,0,0,.82), rgba(0,0,0,.55) 55%, transparent); pointer-events: none; }
.sentence, .stages__note { position: relative; }
.sentence { font-size: clamp(40px, 7.4vw, 128px); letter-spacing: -0.05em; line-height: 0.98; font-weight: 500; max-width: 14ch; }
.sentence .verb { color: var(--green); display: inline-block; min-width: 4ch; text-align: left; }
.sentence .obj { color: var(--fg); }
.stages__track { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 9vh; display: flex; justify-content: space-between; gap: 8px; }
.stages__track::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--line-2); }
.stages__track i.fill { position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--green); transform-origin: left; transform: scaleX(0); }
.stage-tick { position: relative; display: grid; gap: 14px; justify-items: center; font-size: 12px; color: var(--fg-3); transition: color .25s; flex: 1; }
.stage-tick:first-of-type { justify-items: start; }
.stage-tick:last-of-type { justify-items: end; }
.stage-tick::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--black); box-shadow: inset 0 0 0 0.5px var(--fg-3); transition: background .25s, box-shadow .25s; }
.stage-tick.on { color: var(--fg); }
.stage-tick.on::before { background: var(--green); box-shadow: 0 0 0 4px rgba(70,167,88,.2); }
.stages__note { position: absolute; left: 50%; top: calc(50% + clamp(120px, 15vw, 230px)); transform: translateX(-50%); width: min(44ch, 86vw); color: var(--fg-2); text-align: center; min-height: 3.2em; }

/* network: big readout left, short text right, low on the screen */
.h-net { min-height: 170vh; }
.h-net__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: flex-end; padding-bottom: 9vh; }
.h-net__row { width: 100%; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.big-read { display: grid; gap: 4px; }
.big-read b { font-weight: 500; font-size: clamp(88px, 15vw, 240px); line-height: .82; letter-spacing: -0.07em; font-variant-numeric: tabular-nums; }
.big-read > span { color: var(--fg-3); font-size: 14px; }
.h-net__text { display: grid; gap: 22px; max-width: 420px; }

/* closing CTA centred in the ring */
.h-cta { height: 100vh; height: 100svh; min-height: 620px; position: relative; text-align: center; }
.h-cta__title { position: absolute; left: 50%; top: calc(50% - clamp(150px, 19vw, 270px)); transform: translate(-50%, -100%); width: min(92vw, 1100px); font-size: clamp(40px, 6.4vw, 108px); }
.h-cta .cta-orb { position: absolute; left: 50%; top: 50%; margin: -84px 0 0 -84px; }
.h-cta__note { position: absolute; left: 50%; top: calc(50% + 124px); transform: translateX(-50%); white-space: nowrap; }
.cta-orb { width: 168px; height: 168px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #171918; font-size: 15px; font-weight: 500; position: relative; isolation: isolate; transition: transform .25s var(--ease); }
.cta-orb::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; box-shadow: inset 0 0 0 0.5px var(--line-2); animation: spin 18s linear infinite; border-top: 0.5px solid var(--green); z-index: -1; }
.cta-orb span { display: block; max-width: 8ch; text-align: center; line-height: 1.2; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =====================================================================
   SUB PAGES — shared hero
   ===================================================================== */
.page main { position: relative; z-index: 1; }
.p-hero { position: relative; min-height: 92vh; min-height: 92svh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: end; gap: 32px; padding-top: calc(var(--nav-h) + 6vh); padding-bottom: 8vh; overflow: hidden; }
.p-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.p-hero__text { position: relative; z-index: 1; display: grid; gap: 26px; }
.p-hero__crumb { font-size: 12px; color: var(--fg-3); display: flex; gap: 10px; align-items: center; }
.p-hero__crumb::before { content: ""; width: 18px; height: 1px; background: var(--green); }
.p-hero__aside { position: relative; z-index: 1; justify-self: end; display: grid; gap: 20px; max-width: 380px; padding-bottom: 0.4em; }
.p-hero__aside::before { content: ""; position: absolute; inset: -40px -60px -30px -60px; z-index: -1; background: radial-gradient(closest-side, rgba(0,0,0,.78), transparent); pointer-events: none; }
.p-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 30vh; background: linear-gradient(transparent, var(--black)); z-index: 0; pointer-events: none; }

.sec { position: relative; padding-top: clamp(96px, 14vh, 180px); padding-bottom: clamp(96px, 14vh, 180px); }
.sec-head { display: grid; gap: 22px; max-width: 760px; margin-bottom: clamp(48px, 7vh, 88px); }

/* ---------- Solutions: sector index ---------- */
.sectors { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.sector-list { list-style: none; margin: 0; padding: 0; border-top: 0.5px solid var(--line); }
.sector-list li { border-bottom: 0.5px solid var(--line); }
.sector-list button {
  width: 100%; text-align: left; display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: clamp(14px, 2.2vh, 24px) 0; font-size: clamp(26px, 3.4vw, 54px); letter-spacing: -0.04em; line-height: 1.05; color: var(--fg-3);
  transition: color .25s var(--ease), padding .25s var(--ease);
}
.sector-list button .read { opacity: 0; transition: opacity .25s; }
.sector-list button[aria-selected="true"] { color: var(--fg); padding-left: clamp(12px, 2vw, 28px); }
.sector-list button[aria-selected="true"] .read { opacity: 1; color: var(--green); }
.sector-list button:hover { color: var(--fg-2); }
.sector-list button[aria-selected="true"]:hover { color: var(--fg); }
.sector-panel { position: sticky; top: calc(var(--nav-h) + 40px); display: grid; gap: 26px; padding: 28px 0 0; }
.sector-panel h3 { min-height: 2.3em; }
.sector-panel .body { min-height: 5em; }
.focus { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.focus li { font-size: 14px; padding: 7px 13px; border-radius: 999px; box-shadow: inset 0 0 0 0.5px var(--line-2); color: var(--fg-2); animation: chip .7s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes chip { from { opacity: 0; transform: translateY(10px); } }
.sector-media { position: relative; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 0.5px var(--line); }
.sector-viz { width: 100%; aspect-ratio: 16 / 10; max-width: 100%; display: block; }
.sector-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: fadein .25s ease both; }
.sector-photo[hidden] { display: none; }
.sector-cap { position: absolute; left: 12px; bottom: 10px; font-size: 12px; color: var(--fg-2); background: rgba(0,0,0,.6); padding: 4px 8px; border-radius: 6px; }
@keyframes fadein { from { opacity: 0; } }

/* ---------- Solutions: food flow (pinned horizontal) ---------- */
.flow { position: relative; height: 340vh; }
.flow__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; padding-top: calc(var(--nav-h) + 4vh); padding-bottom: 7vh; }
.flow__svg { width: 100%; height: 100%; display: block; overflow: visible; }
.flow__caption { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.flow__now { display: grid; gap: 8px; min-height: 5.2em; }
.flow__now strong { font-size: var(--fs-h3); font-weight: 500; letter-spacing: -0.02em; }
.flow__now p { color: var(--fg-2); max-width: 40ch; }

/* ---------- Solutions: exploded layers ---------- */
.layers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 100px); align-items: center; min-height: 100vh; }
.stack3d { position: relative; height: min(70vh, 640px); perspective: 1600px; }
.stack3d__in { position: absolute; left: 50%; top: 50%; width: min(86%, 520px); aspect-ratio: 18.8 / 11.6; transform-style: preserve-3d; transform: translate(-50%, -50%) rotateX(58deg) rotateZ(-38deg); }
.plane { position: absolute; inset: 0; border-radius: 6px; box-shadow: inset 0 0 0 0.5px var(--line-2); background: linear-gradient(135deg, rgba(236,238,237,.05), rgba(236,238,237,.01)); transition: box-shadow .25s, background .25s; }
.plane svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.plane.on { box-shadow: inset 0 0 0 0.5px var(--green); background: linear-gradient(135deg, rgba(70,167,88,.22), rgba(70,167,88,.04)); }
.layer-key { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.layer-key li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 0.5px solid var(--line); cursor: default; }
.layer-key li::before { content: ""; width: 10px; height: 10px; margin-top: 8px; border-radius: 2px; box-shadow: inset 0 0 0 0.5px var(--fg-3); transform: rotate(45deg); transition: background .25s, box-shadow .25s; }
.layer-key li.on::before { background: var(--green); box-shadow: none; }
.layer-key b { font-weight: 500; font-size: 20px; letter-spacing: -0.015em; display: block; transition: color .25s; color: var(--fg-2); }
.layer-key li.on b { color: var(--fg); }
.layer-key span { color: var(--fg-3); font-size: 15px; }

/* ---------- shared CTA band ---------- */
.band { position: relative; padding-top: clamp(110px, 18vh, 220px); padding-bottom: clamp(110px, 18vh, 220px); display: grid; gap: 40px; justify-items: start; border-top: 0.5px solid var(--line); overflow: hidden; }
.band .display { max-width: 13ch; }
.band__row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ---------- Products ---------- */
.seg { position: relative; display: inline-flex; flex-wrap: wrap; gap: 0; padding: 4px; border-radius: 999px; box-shadow: inset 0 0 0 0.5px var(--line-2); margin-bottom: 44px; max-width: 100%; }
.seg button { position: relative; z-index: 1; height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; color: var(--fg-2); transition: color .25s; white-space: nowrap; }
.seg button[aria-selected="true"] { color: #171918; }
.seg__pill { position: absolute; z-index: 0; top: 4px; height: 40px; border-radius: 999px; background: var(--green); transition: left .25s var(--ease), width .25s var(--ease), top .25s var(--ease); }
@keyframes rowin { from { opacity: 0; transform: translateY(18px); } }
.col-hide { }
.preview { position: fixed; left: 0; top: 0; z-index: 40; width: 240px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; pointer-events: none; background: var(--raise); box-shadow: inset 0 0 0 0.5px var(--line-2), 0 30px 60px rgba(0,0,0,.6); opacity: 0; transform: scale(.85); transition: opacity .35s, transform .25s var(--ease); }
.preview.on { opacity: 1; transform: none; }
.preview canvas { width: 100%; height: 100%; display: block; }
.preview img { width: 100%; height: 100%; display: block; object-fit: cover; }
.preview--photo { width: 280px; transition: opacity .35s, transform .25s var(--ease), background .25s; }
.range { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.pshow { position: sticky; top: calc(var(--nav-h) + 24px); margin: 0; display: grid; gap: 14px; }
.pshow__img { position: relative; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; transition: background .25s; }
.pshow__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 7%; animation: fadein .25s ease both; }
.pshow figcaption { display: flex; justify-content: space-between; gap: 16px; color: var(--fg-3); }
.plist { list-style: none; margin: 0; padding: 0; border-top: 0.5px solid var(--line); }
.plist button { width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 20px 0; text-align: left; }
.plist .read { color: var(--fg-3); }
.plist .t { font-size: clamp(20px, 2vw, 30px); letter-spacing: -0.025em; transition: transform .25s var(--ease), color .25s; }
.plist button:hover .t, .plist button:focus-visible .t, .plist button.on .t { transform: translateX(14px); color: var(--green-hi); }
.plist .th { display: none; width: 72px; height: 54px; object-fit: contain; border-radius: 6px; padding: 3px; }
.plist li { border-bottom: 0.5px solid var(--line); animation: rowin .8s var(--ease) both; animation-delay: var(--d, 0s); }

.drawer { position: fixed; inset: 0; z-index: 75; display: grid; grid-template-columns: 1fr minmax(0, 620px); visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer__scrim { background: rgba(0,0,0,.6); opacity: 0; transition: opacity .25s; }
.drawer.open .drawer__scrim { opacity: 1; }
.drawer__panel { position: relative; background: var(--raise); box-shadow: inset 0.5px 0 0 var(--line-2); transform: translateX(100%); transition: transform .8s var(--ease-io); overflow-y: auto; padding: calc(28px + env(safe-area-inset-top, 0px)) max(28px, env(safe-area-inset-right, 0px)) 40px 36px; display: grid; gap: 30px; align-content: start; }
.drawer.open .drawer__panel { transform: none; }
.drawer__close { justify-self: end; height: 38px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 0.5px var(--line-2); font-size: 14px; }
.drawer__media { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--black); box-shadow: inset 0 0 0 0.5px var(--line); }
.drawer__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 5%; display: block; }
.drawer__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.kv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); border-top: 0.5px solid var(--line); }
.kv dt, .kv dd { margin: 0; padding: 14px 0; border-bottom: 0.5px solid var(--line); font-size: 15px; }
.kv dt { color: var(--fg-3); }
.kv dd { font-family: var(--mono); font-size: 12px; color: var(--fg); font-variant-numeric: tabular-nums; }

.fab { position: relative; height: 420vh; }
.fab__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: 40px; }
.fab__text { display: grid; gap: 26px; }
.fab__steps { display: flex; gap: 6px; flex-wrap: wrap; }
.fab__steps span { font-size: 14px; padding: 6px 12px; border-radius: 999px; color: var(--fg-3); box-shadow: inset 0 0 0 0.5px var(--line); transition: color .25s, box-shadow .25s, background .25s; }
.fab__steps span.on { color: #171918; background: var(--green); box-shadow: none; }
.fab__steps span.done { color: var(--fg-2); box-shadow: inset 0 0 0 0.5px var(--line-2); }
.fab__now { color: var(--fg-2); min-height: 3.2em; max-width: 38ch; }
.fab__svg { width: 100%; height: auto; max-height: 72vh; display: block; overflow: visible; }

.cut { position: relative; padding-top: clamp(120px, 20vh, 240px); padding-bottom: clamp(120px, 20vh, 240px); border-top: 0.5px solid var(--line); overflow: hidden; }
.cut__title { position: relative; font-size: clamp(48px, 10vw, 180px); line-height: .9; letter-spacing: -0.06em; font-weight: 500; }
.cut__title .ghost { color: transparent; -webkit-text-stroke: 1px var(--fg-3); }
.cut__title .solid { position: absolute; inset: 0; color: var(--fg); clip-path: inset(0 100% 0 0); }
.cut__laser { position: absolute; top: -4%; bottom: -4%; width: 2px; left: 0; background: var(--green); box-shadow: 0 0 22px 4px var(--green-glow); opacity: 0; }
.cut__foot { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: center; justify-content: space-between; }

/* ---------- Projects ---------- */
.chip { height: 38px; padding: 0 14px; border-radius: 999px; font-size: 14px; color: var(--fg-2); box-shadow: inset 0 0 0 0.5px var(--line-2); display: inline-flex; align-items: center; gap: 8px; transition: color .25s, background .25s, box-shadow .25s; }
.chip sup { font-family: var(--mono); font-size: 12px; color: var(--fg-3); top: 0; }
.chip[aria-pressed="true"] { background: var(--fg); color: #171918; box-shadow: none; }
.chip[aria-pressed="true"] sup { color: #373b39; }
.pindex { list-style: none; margin: 0; padding: 0; border-top: 0.5px solid var(--line); }
.pindex li { border-bottom: 0.5px solid var(--line); overflow: hidden; }
.pindex a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: baseline; padding: clamp(18px, 3vh, 32px) 0; position: relative; }
.pindex .t { font-size: clamp(28px, 4.4vw, 76px); letter-spacing: -0.045em; line-height: 1; transition: transform .7s var(--ease), color .25s; }
.pindex a:hover .t { transform: translateX(clamp(10px, 2vw, 30px)); }
.pindex .m { display: flex; gap: 22px; color: var(--fg-3); font-size: 14px; white-space: nowrap; }
.pindex .m b { font-weight: 400; color: var(--fg-2); }
.pindex li.leaving { animation: leave .45s var(--ease) both; }
.pindex li.arriving { animation: arrive .7s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes leave { to { opacity: 0; transform: translateY(-14px); } }
@keyframes arrive { from { opacity: 0; transform: translateY(24px); } }
.pindex:hover .t { color: var(--fg-3); }
.pindex a:hover .t { color: var(--fg); }

.feature { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); }
.feature__media { position: sticky; top: calc(var(--nav-h) + 30px); height: calc(100vh - var(--nav-h) - 60px); border-radius: 12px; overflow: hidden; background: var(--raise); box-shadow: inset 0 0 0 0.5px var(--line); }
.feature__media canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.feature__media .read { position: absolute; left: 18px; bottom: 16px; }
.feature__steps { display: grid; gap: 0; }
.feature--plan { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.feature--plan .feature__media { height: auto; aspect-ratio: 18.8 / 12.6; top: calc(50vh - 15vw + var(--nav-h) / 2); }
.fstep { min-height: 72vh; display: grid; align-content: center; gap: 20px; opacity: .28; transition: opacity .25s var(--ease); }
.fstep.on { opacity: 1; }
.fstep .read { color: var(--green); }

.case { position: fixed; inset: 0; z-index: 76; background: var(--black); overflow-y: auto; clip-path: inset(100% 0 0 0); transition: clip-path .9s var(--ease-io); visibility: hidden; }
.case.open { clip-path: inset(0 0 0 0); visibility: visible; }
.case__bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; height: var(--nav-h); padding: env(safe-area-inset-top, 0px) var(--gutter) 0; background: linear-gradient(var(--black), rgba(0,0,0,0)); }
.case__hero { position: relative; height: 72vh; margin: 0 var(--gutter); border-radius: 14px; overflow: hidden; background: var(--raise); box-shadow: inset 0 0 0 0.5px var(--line); }
.case__hero canvas, .case__img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.case__img { object-fit: cover; }
.case__hero [hidden] { display: none; }
.case__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 100px); padding-top: 72px; padding-bottom: 72px; }
.gallery { display: flex; gap: 12px; overflow-x: auto; padding: 0 var(--gutter) 80px; scroll-snap-type: x mandatory; }
.gallery figure { flex: 0 0 min(560px, 82vw); aspect-ratio: 4 / 3; margin: 0; border-radius: 12px; overflow: hidden; background: var(--raise); box-shadow: inset 0 0 0 0.5px var(--line); scroll-snap-align: start; display: grid; place-items: center; }
.gallery figure { position: relative; }
.gallery figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 12px; bottom: 10px; background: rgba(0,0,0,.6); padding: 4px 8px; border-radius: 6px; color: var(--fg-2); }
.fstep__units { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fstep__units li { font-size: 12px; padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 0.5px var(--line); color: var(--fg-2); }

/* ---------- Company ---------- */
.manifesto { min-height: 220vh; }
.manifesto__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-content: center; }
.manifesto__text { font-size: clamp(30px, 4.2vw, 68px); line-height: 1.08; letter-spacing: -0.035em; max-width: 22ch; font-weight: 500; }
.manifesto__text .mw { color: var(--fg-3); transition: color .25s; }
.manifesto__text .mw.lit { color: var(--fg); }
.manifesto__text .mw.lit.g { color: var(--green); }

.figs { position: relative; display: grid; gap: clamp(28px, 6vh, 64px); }
.fig { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 28px; align-items: end; width: max-content; max-width: 100%; }
.fig:nth-child(1) { margin-left: 0; }
.fig:nth-child(2) { margin-left: 16%; }
.fig:nth-child(3) { margin-left: 32%; }
.fig:nth-child(4) { margin-left: 48%; }
.fig b { font-weight: 500; font-size: clamp(56px, 9vw, 152px); line-height: .85; letter-spacing: -0.065em; font-variant-numeric: tabular-nums; }
.fig > span { color: var(--fg-2); padding-bottom: .5em; font-size: 15px; }
.figs__note { font-size: 12px; color: var(--fg-3); margin-top: 24px; }

.tl { position: relative; padding-top: clamp(96px, 14vh, 180px); padding-bottom: clamp(96px, 14vh, 180px); overflow: hidden; }
.tl__track { display: flex; gap: 0; cursor: grab; user-select: none; touch-action: pan-y; will-change: transform; padding-left: var(--gutter); }
.tl__track.drag { cursor: grabbing; }
.tl__item { position: relative; flex: 0 0 clamp(260px, 30vw, 420px); padding: 34px 32px 0 0; display: grid; gap: 12px; align-content: start; }
.tl__item::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); }
.tl__item::after { content: ""; position: absolute; left: 0; top: -5px; width: 11px; height: 11px; border-radius: 50%; background: var(--black); box-shadow: inset 0 0 0 0.5px var(--fg-3); transition: background .25s, box-shadow .25s; }
.tl__item.on::after { background: var(--green); box-shadow: 0 0 0 5px rgba(70,167,88,.2); }
.tl__item .read { font-size: 12px; }
.tl__item strong { font-weight: 500; font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.025em; }
.tl__item p { color: var(--fg-2); max-width: 30ch; }
.tl__bar { margin: 48px var(--gutter) 0; height: 1px; background: var(--line); position: relative; }
.tl__bar i { position: absolute; left: 0; top: 0; height: 1px; background: var(--green); width: 20%; transform-origin: left; }

.gates { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 100px); }
.gates__line { position: relative; padding-left: 52px; }
.gates__line::before { content: ""; position: absolute; left: 15px; top: 0; bottom: 0; width: 1px; background: var(--line-2); }
.gates__fill { position: absolute; left: 15px; top: 0; width: 1px; height: 100%; background: var(--green); transform-origin: top; transform: scaleY(0); }
.gates__unit { position: absolute; left: 9px; top: 0; width: 13px; height: 13px; border-radius: 3px; background: var(--fg); box-shadow: 0 0 18px rgba(236,238,237,.4); }
.gate { position: relative; min-height: 34vh; display: grid; align-content: start; gap: 10px; padding-bottom: 40px; }
.gate::before { content: ""; position: absolute; left: -49px; top: 4px; width: 25px; height: 25px; border-radius: 50%; background: var(--black); box-shadow: inset 0 0 0 0.5px var(--line-2); transition: box-shadow .25s, background .25s; }
.gate svg { position: absolute; left: -43px; top: 10px; width: 13px; height: 13px; }
.gate svg path { stroke: #171918; stroke-width: 2.2; fill: none; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .25s var(--ease) .15s; }
.gate.pass::before { background: var(--green); box-shadow: none; }
.gate.pass svg path { stroke-dashoffset: 0; }
.gate strong { font-weight: 500; font-size: 20px; letter-spacing: -0.02em; color: var(--fg-3); transition: color .25s; }
.gate.pass strong { color: var(--fg); }
.gate p { color: var(--fg-3); max-width: 36ch; transition: color .25s; }
.gate.pass p { color: var(--fg-2); }

.seals { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 60px); justify-content: space-between; }
.seal { position: relative; width: clamp(140px, 17vw, 210px); aspect-ratio: 1; display: grid; place-items: center; text-align: center; overflow: hidden; border-radius: 50%; }   /* the spinning square SVG would otherwise widen the page */
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; }
.seal:hover svg { animation-play-state: paused; }
.seal text { fill: var(--fg-3); font-size: 12px; letter-spacing: .14em; font-family: var(--mono); }
.seal b { font-weight: 500; font-size: 15px; max-width: 11ch; line-height: 1.25; }
.seal small { display: block; color: var(--fg-3); font-size: 12px; margin-top: 6px; max-width: 14ch; }
.seal .core { display: grid; justify-items: center; }
.seal [data-img] { position: absolute; inset: 22%; }

/* ---------- Network ---------- */
.coverage { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.cov-canvas { width: 100%; aspect-ratio: 1; max-height: 78vh; display: block; touch-action: manipulation; }
.cov-panel { display: grid; gap: 26px; }
.cov-panel .read { color: var(--green); }
.cov-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.cov-stats div { display: grid; gap: 2px; }
.cov-stats b { font-weight: 500; font-size: clamp(36px, 4vw, 60px); letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.cov-stats div > span { font-size: 12px; color: var(--fg-3); }
.region-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.region-list button { height: 34px; padding: 0 12px; border-radius: 999px; font-size: 12px; color: var(--fg-2); box-shadow: inset 0 0 0 0.5px var(--line); }
.region-list button[aria-pressed="true"] { color: var(--fg); box-shadow: inset 0 0 0 0.5px var(--green); }

.tiers { position: relative; border-radius: 18px; box-shadow: inset 0 0 0 0.5px var(--line); padding: clamp(24px, 4vw, 56px); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); }
.tiers::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px circle at var(--mx, 30%) var(--my, 20%), rgba(70,167,88,.12), transparent 60%); pointer-events: none; }
.tiers__left { display: grid; gap: 28px; align-content: start; position: relative; }
.tiers__resp { display: grid; gap: 6px; }
.tiers__resp b { font-weight: 500; font-size: clamp(40px, 5vw, 80px); letter-spacing: -0.05em; line-height: 1; }
.tiers__resp span { color: var(--fg-3); font-size: 14px; }
.feat { list-style: none; margin: 0; padding: 0; position: relative; }
.feat li { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 0.5px solid var(--line); font-size: 15px; transition: color .25s; }
.feat li::before { content: ""; width: 16px; height: 1px; background: var(--fg-3); transition: background .25s, width .25s var(--ease); }
.feat li.add { animation: featin .7s var(--ease) both; animation-delay: var(--d, 0s); }
.feat li.add::before { background: var(--green); width: 24px; }
@keyframes featin { from { opacity: 0; transform: translateX(-16px); } }
.visits { display: flex; gap: 4px; flex-wrap: wrap; }
.visits i { width: 14px; height: 14px; border-radius: 3px; box-shadow: inset 0 0 0 0.5px var(--line-2); transition: background .25s var(--ease); transition-delay: var(--d, 0s); }
.visits i.on { background: var(--green); box-shadow: none; }

.cycle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; min-height: 100vh; }
.cycle__dial { position: relative; width: min(100%, 560px); aspect-ratio: 1; justify-self: center; }
.cycle__dial svg { width: 100%; height: 100%; display: block; overflow: visible; }
.cycle__center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; pointer-events: none; }
.cycle__center div { display: grid; gap: 10px; max-width: 58%; }
.cycle__center strong { font-weight: 500; font-size: clamp(28px, 3vw, 46px); letter-spacing: -0.04em; }
.cycle__center p { color: var(--fg-2); font-size: 15px; }

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 100px); }
.contact__info { display: grid; gap: 28px; align-content: start; }
.contact__info dl { margin: 0; display: grid; gap: 18px; }
.contact__info dt { color: var(--fg-3); font-size: 12px; }
.contact__info dd { margin: 4px 0 0; font-size: 20px; letter-spacing: -0.015em; user-select: all; }
.form { display: grid; gap: 8px; }
.field { position: relative; display: grid; padding-top: 22px; }
.field label { position: absolute; left: 0; top: 36px; color: var(--fg-3); font-size: 15px; pointer-events: none; transition: top .25s var(--ease), font-size .25s var(--ease), color .25s; }
.field input, .field textarea, .field select { width: 100%; background: transparent; border: 0; border-bottom: 0.5px solid var(--line-2); padding: 12px 0 14px; color: var(--fg); font: inherit; font-size: 15px; border-radius: 0; outline: none; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; }
.field select option { background: var(--raise); color: var(--fg); }
.field i { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.field:focus-within i { transform: none; }
.field.filled label, .field:focus-within label { top: 2px; font-size: 12px; color: var(--fg-2); }
.field.err i { transform: none; background: #a35829; }
.field .msg { font-size: 12px; color: #ffa057; min-height: 18px; padding-top: 6px; }
.form__foot { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 24px; }
.form__sent { color: var(--fg-2); font-size: 15px; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav .btn { display: none; }
  .nav__menu { display: inline-flex; align-items: center; margin-left: auto; }
}
@media (max-width: 860px) {
  :root { --nav-h: 60px; }
  .h-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .h-hero h1 { max-width: 12ch; }
  .h-extrude__inner { flex-direction: column; justify-content: flex-end; align-items: stretch; padding-bottom: 10vh; gap: 28px; }
  .elev { align-self: auto; }
  .h-extrude__text { justify-self: start; }
  .hud__tl, .hud__tr { top: calc(var(--nav-h) + 3vh); }
  .hud__bl, .hud__br { bottom: 26vh; }
  .hud__title { bottom: 6vh; }
  .equip-photo { display: none; }
  .stage-tick { font-size: 12px; }
  .stage-tick span { display: none; }
  .stage-tick.on span { display: block; position: absolute; top: 20px; white-space: nowrap; }
  .p-hero { grid-template-columns: minmax(0, 1fr); align-content: end; min-height: 88svh; }
  .p-hero__aside { justify-self: start; }
  .sectors, .layers, .feature, .gates, .coverage, .cycle, .contact, .case__body, .tiers { grid-template-columns: minmax(0, 1fr); }
  .sector-panel { position: relative; top: 0; }
  .stack3d { height: 52vh; }
  .fab__pin { grid-template-columns: minmax(0, 1fr); align-content: center; gap: 24px; }
  .fab__svg { max-height: 44vh; }
  .feature__media { position: sticky; top: var(--nav-h); height: 40vh; z-index: 2; }
  .feature--plan .feature__media { height: auto; top: var(--nav-h); }
  .fstep { min-height: 52vh; }
  .fig { margin-left: 0 !important; }
  .fig:nth-child(even) { justify-self: end; }
  .pindex a { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .pindex .m { gap: 14px; flex-wrap: wrap; }
  .plist button { grid-template-columns: 28px minmax(0, 1fr) 72px; padding: 12px 0; }
  .plist .th { display: block; }
  .range { grid-template-columns: minmax(0, 1fr); }
  .pshow { display: none; }
  .drawer { grid-template-columns: minmax(0, 1fr); }
  .drawer__scrim { display: none; }
  .drawer__panel { padding-left: 20px; padding-right: 20px; }
  .case__hero { height: 46vh; }
  .preview { display: none; }
  .manifesto__text { font-size: clamp(28px, 7.4vw, 44px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .js [data-split] .wi, .js [data-fade] { transform: none !important; opacity: 1 !important; }
  .grain { display: none; }
}

/* ---------- language switch (中文 / EN) ---------- */
.nav__lang { padding: 8px 10px; font-size: 14px; color: var(--fg-2); transition: color .25s; }
.nav__lang:hover { color: var(--fg); }
.menu .menu__lang { align-self: flex-start; height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 0.5px var(--line-2); font-size: 14px; color: var(--fg-2); }
@media (max-width: 1080px) { .nav__lang { margin-left: auto; } .nav__lang + .nav__menu { margin-left: 4px; } }

/* brand mark + qr */
.brand .logo-mark { width: 26px; height: 34px; }
.foot__qr, .contact__qr { width: 96px; height: 96px; display: block; margin-top: 10px; border-radius: 4px; }

/* ---------- light theme: same site on white-green ---------- */
:root[data-theme="light"] {
  --black: #f7f9f7; --raise: #fbfdfc; --raise-2: #edf1ee;
  --line: rgba(20, 30, 24, 0.10); --line-2: rgba(20, 30, 24, 0.26);
  --fg: #17201b; --fg-2: #4b5551; --fg-3: #7d8a84;
  --green: #2a7e3b; --green-deep: #256b35; --green-hi: #3e9b4f;
  --green-glow: rgba(42, 126, 59, 0.25);
}
:root[data-theme="light"] .nav.scrolled { background: linear-gradient(rgba(251,253,252,.9), rgba(251,253,252,.6)); }
:root[data-theme="light"] .btn--ghost::after { background: rgba(20,30,24,.05); }
:root[data-theme="light"] .cur-ring { box-shadow: inset 0 0 0 0.5px rgba(20,30,24,.35); }
:root[data-theme="light"] .tag b { background: rgba(251,253,252,.85); }
:root[data-theme="light"] .sector-cap { background: rgba(251,253,252,.85); }
:root[data-theme="light"] .stages__pin::before { background: radial-gradient(closest-side, rgba(247,249,247,.85), rgba(247,249,247,.5) 55%, transparent); }
:root[data-theme="light"] .p-hero__aside::before { background: radial-gradient(closest-side, rgba(247,249,247,.82), transparent); }
:root[data-theme="light"] .plane { background: linear-gradient(135deg, rgba(251,253,252,.8), rgba(251,253,252,.45)); }
:root[data-theme="light"] .equip-photo img { box-shadow: 0 0 0 0.5px var(--line-2); }
:root[data-theme="light"] .case__bar { background: linear-gradient(var(--black), rgba(247,249,247,0)); }
:root[data-theme="light"] .gallery figcaption { background: rgba(251,253,252,.85); }
:root[data-theme="light"] .preview { box-shadow: inset 0 0 0 0.5px var(--line-2), 0 30px 60px rgba(20,30,24,.22); }
:root[data-theme="light"] .drawer__scrim { background: rgba(20,30,24,.45); }
:root[data-theme="light"] .chip[aria-pressed="true"] { color: var(--black); }
:root[data-theme="light"] .gates__unit { box-shadow: 0 0 18px rgba(42,126,59,.3); }
:root[data-theme="light"] [data-img].has-img::after { background: linear-gradient(180deg, rgba(70,167,88,.14), rgba(20,30,24,.35)); }
.themebtn { position: fixed; right: 16px; bottom: 16px; z-index: 90; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--raise); color: var(--fg-2); box-shadow: inset 0 0 0 0.5px var(--line-2), 0 8px 22px rgba(0,0,0,.3); cursor: pointer; transition: color .25s, transform .25s var(--ease); }
.themebtn:hover { color: var(--fg); }
