/* Adumbrate public site v6.0.4
   One stylesheet. Fonts self-hosted; relative asset references are rewritten
   to hashed URLs by the server at startup. No inline styles anywhere (CSP).

   System: 8px baseline, type scale 2^(i/5) rem (12/14/16/20/24/32/42/64),
   40em measure, strips of 4rem/6rem, 80rem content width, neutrals carry the
   page and one accent colour is rationed. Large headings are light (500),
   small headings are bold (600). */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/static/fonts/inter/Inter.var.e136e8a4.woff2) format("woff2");
}
@font-face {
  font-family: "Noto Sans CJK SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/fonts/noto-sans-sc/NotoSansCJKsc-Regular.site.0d0e3d5a.woff2) format("woff2");
  unicode-range: U+2E80-2EFF, U+3000-303F, U+3200-33FF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FE30-FE4F, U+FF00-FFEF;
}
@font-face {
  font-family: "Noto Sans CJK SC";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/static/fonts/noto-sans-sc/NotoSansCJKsc-Bold.site.310ca230.woff2) format("woff2");
  unicode-range: U+2E80-2EFF, U+3000-303F, U+3200-33FF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FE30-FE4F, U+FF00-FFEF;
}
/* Display face for the big type: Space Grotesk (OFL), variable 300-700, Latin. */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/static/fonts/space-grotesk/SpaceGrotesk.var.06408904.woff2) format("woff2");
}
/* Medium weight for Chinese display headings. */
@font-face {
  font-family: "Noto Sans CJK SC";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/static/fonts/noto-sans-sc/NotoSansCJKsc-Medium.site.f0b10c36.woff2) format("woff2");
  unicode-range: U+2E80-2EFF, U+3000-303F, U+3200-33FF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FE30-FE4F, U+FF00-FFEF;
}
/* Two glyphs for the language switch on the English page. */
@font-face {
  font-family: "Noto Switch";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/fonts/noto-sans-sc/NotoSansCJKsc-Switch.f297b1ca.woff2) format("woff2");
  unicode-range: U+4E2D, U+6587;
}

/* ---------- Tokens ---------- */
:root {
  /* neutrals: charcoal steps for dark bands, warm paper for light bands */
  --ink-0: #1d1d1d;
  --ink-1: #272727;
  --ink-2: #2e2e2e;
  --ink-3: #363636;
  --paper-0: #f5f4f2;
  --paper-1: #ffffff;
  --paper-2: #ebe9e6;
  /* the one accent, rationed */
  --accent: #e95420;
  --accent-hover: #d24a18;
  --accent-glow: rgba(233, 84, 32, .14);
  /* fills that carry text (design kit 2.0.0): white on #e95420 is 3.7:1, on these 5.5:1 and up */
  --accent-strong: #b9401a;
  --accent-strong-hover: #a23616;
  --accent-strong-active: #8f2f13;
  /* shape */
  --radius-control: 8px;
  --radius-card: 12px;
  --radius-pill: 999px;
  /* motion */
  --dur-fast: .165s;
  --dur-brisk: .333s;
  --dur-slow: .5s;
  --dur-sleepy: 1s;
  --ease-out: cubic-bezier(.215, .61, .355, 1);
  --ease-expo: cubic-bezier(.16, 1, .3, 1);
  /* type */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --t-12: .75rem;
  --t-14: .875rem;
  --t-16: 1rem;
  --t-20: 1.25rem;
  --t-24: 1.5rem;
  --t-32: 2rem;
  --t-42: 2.625rem;
  --t-64: 4rem;
  --measure: 40em;
  /* space: 8px baseline */
  --s-1: .25rem;
  --s-2: .5rem;
  --s-3: .75rem;
  --s-4: 1rem;
  --s-6: 1.5rem;
  --s-8: 2rem;
  --s-12: 3rem;
  --s-16: 4rem;
  --s-24: 6rem;
  --strip: clamp(4rem, 8vw, 6rem);
  --strip-shallow: clamp(2.5rem, 5vw, 4rem);
  --pad: clamp(1rem, 4vw, 3rem);
  --maxw: 80rem;
  --nav-h: 64px;
}
html[lang="zh-CN"] {
  --font-sans: "Noto Sans CJK SC", "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-display: "Noto Sans CJK SC", "Space Grotesk", "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-synthesis: none;
}

[data-band="dark"] {
  --bg: var(--ink-0);
  --bg-2: var(--ink-1);
  --bg-3: var(--ink-2);
  --fg: #ffffff;
  --muted: #a8a8a8;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .18);
  --accent-text: #f57a4a;
  --tint: #3c2219;
  --tint-hover: #4a2618;
}
[data-band="light"] {
  --bg: var(--paper-0);
  --bg-2: var(--paper-1);
  --bg-3: var(--paper-2);
  --fg: #333333;
  --muted: #666666;
  --line: #dddbd7;
  --line-strong: #c9c6c1;
  --accent-text: #b9401a;
  --tint: #fdeee9;
  --tint-hover: #fbddd2;
}
.band--grey {
  --bg: #e6e3de;
  --bg-2: var(--paper-1);
  --bg-3: #dcd9d3;
  --line: #d2cfc9;
  --line-strong: #bfbbb4;
  /* Muted text one step darker than on paper: #666 on this band is 4.49:1 and on
     its #dcd9d3 bars 4.08:1, below WCAG AA 4.5; #555 is 5.82 and 5.29. (The design
     kit's alternative, white cards on the grey band, would change the layout.) */
  --muted: #555555;
}
.band--white {
  --bg: #ffffff;
  --bg-2: var(--paper-0);
  --bg-3: var(--paper-2);
  --fg: #1d1d1d;
  --muted: #555555;
  --line: #e6e3de;
  --line-strong: #cfcbc4;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink-0);
  color: #fff;
  font: 400 var(--t-16)/1.5 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="zh-CN"] body { line-height: 1.75; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; }
a { color: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: absolute; left: -9999px; top: var(--s-4); z-index: 200;
  background: #fff; color: var(--ink-0); padding: var(--s-2) var(--s-3); border-radius: var(--radius-control);
  text-decoration: none; font-weight: 500;
}
.skip:focus { left: var(--s-4); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.band { background: var(--bg); color: var(--fg); }
.band--dots {
  background-image: radial-gradient(var(--line-strong) 1px, transparent 1.2px);
  background-size: 24px 24px;
}
.section { padding: var(--strip) 0; position: relative; }
.section--shallow { padding-top: var(--strip-shallow); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Icons (Lucide, ISC) ---------- */
.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.icon--lg { width: 24px; height: 24px; stroke-width: 1.75; }
.icon--arr { width: 16px; height: 16px; transition: transform var(--dur-fast) var(--ease-out); }

/* ---------- Type ---------- */
.h-display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.12;
  font-size: var(--t-32);
  text-wrap: balance;
}
html[lang="zh-CN"] .h-display { letter-spacing: 0; line-height: 1.3; font-weight: 500; }
/* Chinese headings carry break guidance (content/phrases_zh.go): a line ends
   between phrases (.zg) when it can, between words (.zw) when it must, and never
   inside a word. */
.zg, .zw { display: inline-block; }
.zg { max-width: 100%; }
.h-section { max-width: 24ch; margin-bottom: var(--s-8); }
.lead { font-size: var(--t-20); line-height: 1.5; color: var(--muted); max-width: var(--measure); text-wrap: pretty; }
.lead-xl {
  font-family: var(--font-display);
  font-size: var(--t-32);
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.25;
  max-width: 30ch;
  text-wrap: balance;
}
html[lang="zh-CN"] .lead-xl { letter-spacing: 0; line-height: 1.45; }
.note { font-size: var(--t-12); line-height: 1.5; color: var(--muted); margin-top: var(--s-6); }
.eyebrow {
  display: flex; align-items: center; gap: var(--s-4);
  margin-bottom: var(--s-6);
  font-size: var(--t-12); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5;
  color: var(--muted);
}
.eyebrow .n { font-variant-numeric: tabular-nums; color: var(--accent-text); }
.eyebrow .rule { flex: 1; height: 1px; background: var(--line-strong); }
html[lang="zh-CN"] .eyebrow { letter-spacing: .2em; }
p { max-width: var(--measure); }

/* ---------- Split (heading left, content right, rule above) ---------- */
.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: var(--s-8);
  border-top: 1px solid var(--line-strong); padding-top: var(--s-6);
}
.split-head { position: sticky; top: calc(var(--nav-h) + var(--s-6)); align-self: start; }
.split-head .eyebrow { margin-bottom: var(--s-4); }
.split-head .lead { margin-top: var(--s-4); font-size: var(--t-16); }
.split-head .strap { margin: var(--s-4) 0 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  height: 40px; padding: 0 var(--s-4);
  border: 1px solid var(--line-strong); border-radius: var(--radius-control);
  background: transparent; color: var(--fg);
  font-size: var(--t-14); font-weight: 500; line-height: 1; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.btn:hover { border-color: var(--fg); }
.btn:focus-visible { box-shadow: 0 0 0 4px var(--accent-glow); }
.btn--tint { border-color: var(--accent); background: var(--tint); }
.btn--tint:hover { background: var(--tint-hover); border-color: var(--accent); }
.btn--accent { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }
.btn--accent:hover { background: var(--accent-strong-hover); border-color: var(--accent-strong-hover); }
.btn--accent:active { background: var(--accent-strong-active); border-color: var(--accent-strong-active); }
.btn--sm { height: 34px; padding: 0 var(--s-3); font-size: var(--t-12); }
.btn--lg { height: 48px; padding: 0 var(--s-6); font-size: var(--t-16); }
.btn:hover .icon--arr { transform: translateX(3px); }
.link-btn {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; font-size: var(--t-14);
}
.mono { font-variant-numeric: tabular-nums; letter-spacing: .01em; color: var(--muted); font-size: var(--t-14); }

/* ---------- Loader ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--ink-0);
  transition: opacity var(--dur-slow) var(--ease-out), visibility 0s linear var(--dur-slow);
}
.js.is-loaded .loader { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark { width: 72px; height: auto; }
.loader-fill { fill: var(--ink-2); }
.loader-track { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 2.5; }
.loader-trace {
  fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  animation: trace 1.3s var(--ease-out) .1s forwards;
}
@keyframes trace { to { stroke-dashoffset: 0; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: 0 var(--pad);
  color: var(--fg);
  transition: transform var(--dur-brisk) var(--ease-out), background var(--dur-brisk) ease, color var(--dur-fast) ease, border-color var(--dur-brisk) ease;
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav-brand { display: block; }
.logo { height: 22px; width: auto; }
.logo--on-light { display: none; }
.nav[data-band="light"] .logo--on-dark { display: none; }
.nav[data-band="light"] .logo--on-light { display: block; }
.nav-right { display: flex; align-items: center; gap: var(--s-6); }
.nav-link { text-decoration: none; font-size: var(--t-14); font-weight: 500; opacity: .85; }
.nav-link:hover { opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: auto 1fr auto;
  padding: calc(var(--nav-h) + var(--s-6)) var(--pad) 0;
  color: #fff;
}
.hero-media { position: absolute; inset: -10% 0 0 0; z-index: 0; will-change: transform; }
.hero-media picture, .hero-media img, .hero-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; transform: translateZ(0); }
.hero-video.is-playing { opacity: 1; }
.hero-shade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(29, 29, 29, .55) 0%, rgba(29, 29, 29, .12) 38%, rgba(29, 29, 29, .35) 70%, rgba(29, 29, 29, .9) 100%);
}
.hero-bottom { position: relative; z-index: 2; grid-row: 3; will-change: transform, opacity; }
/* The three words sit directly on top of the wordmark and span its width. */
.hero-words {
  display: flex; justify-content: space-between; gap: var(--s-4);
  font-family: var(--font-display);
  font-size: clamp(16px, 2.3vw, 34px); font-weight: 500; letter-spacing: -.01em; line-height: 1.2;
  max-width: none;
  margin-bottom: clamp(var(--s-2), 1.6vw, var(--s-6));
}
/* a soft shadow keeps the words readable over bright machinery */
.hero-words .w { text-shadow: 0 1px 3px rgba(0, 0, 0, .6), 0 2px 20px rgba(0, 0, 0, .65); }
.hero-words .is-accent { color: #f57a4a; }
.js .hero-words .w { opacity: 0; transform: translateY(14px); }
.js.is-loaded.is-ready .hero-words .w {
  opacity: 1; transform: none;
  transition: opacity var(--dur-sleepy) var(--ease-out), transform var(--dur-sleepy) var(--ease-out);
}
.js.is-loaded.is-ready .hero-words .w:nth-child(2) { transition-delay: .12s; }
.js.is-loaded.is-ready .hero-words .w:nth-child(3) { transition-delay: .24s; }
.wordmark-wrap { margin: 0 calc(-1 * var(--pad)); line-height: 0; }
.wordmark { display: block; width: 100%; height: auto; aspect-ratio: 5800 / 740; fill: #fff; }
.wordmark text { font-family: "Space Grotesk", "Inter", system-ui, sans-serif; font-weight: 700; font-size: 740px; letter-spacing: -.03em; }
.js .wordmark { clip-path: inset(100% 0 0 0); }
.js.is-loaded.is-ready .wordmark { clip-path: inset(0 0 -2% 0); transition: clip-path var(--dur-sleepy) var(--ease-expo) .15s; }

/* ---------- Statement band (the one-line product sentence) ---------- */
.statement { padding: clamp(2.25rem, 5.5vw, 4.5rem) 0; }
.statement-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); }
.statement-text {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.7vw, 42px); font-weight: 500; letter-spacing: -.02em; line-height: 1.2;
  color: var(--fg); max-width: 30ch;
}

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0; transform: translateY(12px);
  transition: opacity var(--dur-brisk) var(--ease-out), transform var(--dur-brisk) var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Intro ---------- */
.intro-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s-12); align-items: center; }
.frame {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: var(--radius-card); background: var(--ink-1);
  border: 1px solid var(--line);
}
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease-out); }
.slide.is-active { opacity: 1; }
.slide picture, .slide img, .slide .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame-bars { position: absolute; left: var(--s-4); right: var(--s-4); bottom: 14px; display: flex; gap: 6px; z-index: 2; }
.frame-bars i { flex: 1; height: 2px; background: rgba(255, 255, 255, .28); position: relative; overflow: hidden; border-radius: 1px; }
.frame-bars i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.frame-bars i.is-active::after { animation: bar 8s linear forwards; }
/* Pause and play for the slideshow: it otherwise keeps moving while people read. */
.frame-toggle {
  position: absolute; right: var(--s-3); bottom: 26px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .28); background: rgba(29, 29, 29, .72); color: #fff; display: none; place-items: center;
}
.js .frame-toggle { display: grid; }
.frame-toggle .icon { width: 16px; height: 16px; }
.frame-toggle .i-play, .frame.is-user-paused .frame-toggle .i-pause { display: none; }
.frame.is-user-paused .frame-toggle .i-play { display: block; }
.frame-bars i.is-done::after { transform: scaleX(1); }
.frame.is-paused .frame-bars i.is-active::after { animation-play-state: paused; }
@keyframes bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.intro-copy h3 { margin-bottom: var(--s-4); font-size: var(--t-24); }
.mission {
  margin-top: var(--s-16);
  border-left: 3px solid var(--accent); padding-left: var(--s-6);
  max-width: 44ch;
}
.mission p { font-size: var(--t-24); font-weight: 500; letter-spacing: -.012em; line-height: 1.35; text-wrap: pretty; max-width: none; }
html[lang="zh-CN"] .mission p { letter-spacing: 0; line-height: 1.6; }
.mission footer, .quote footer {
  margin-top: var(--s-4); font-size: var(--t-12); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  display: flex; gap: var(--s-3); align-items: center;
}
.mission footer::before, .quote footer::before { content: ""; width: 24px; height: 1px; background: currentColor; }
html[lang="zh-CN"] .mission footer, html[lang="zh-CN"] .quote footer { letter-spacing: .15em; }

/* ---------- Impact ---------- */
.big {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .15em .3em;
  font-family: var(--font-display);
  font-weight: 500; letter-spacing: -.035em; line-height: .95;
  font-size: clamp(56px, 11vw, 160px);
  font-variant-numeric: tabular-nums;
}
.big-n .u { font-size: .22em; font-weight: 500; letter-spacing: 0; margin-left: .18em; color: var(--muted); }
.big-arrow { font-size: .5em; color: var(--muted); font-weight: 400; }
.big-n--accent { color: var(--accent-text); }
.js .big .big-arrow { clip-path: inset(0 100% 0 0); }
.js .big .big-n--accent { opacity: 0; transform: translateX(-.08em) scale(.92); transform-origin: left baseline; }
.js .big.is-in .big-n--from { animation: recede var(--dur-sleepy) var(--ease-out) .9s forwards; }
.js .big.is-in .big-arrow { animation: drawArrow var(--dur-slow) var(--ease-out) .6s forwards; }
.js .big.is-in .big-n--accent { animation: land var(--dur-sleepy) var(--ease-out) .9s forwards; }
@keyframes recede { to { opacity: .45; } }
@keyframes drawArrow { to { clip-path: inset(0 0 0 0); } }
@keyframes land { to { opacity: 1; transform: none; } }
.big-label { margin-top: var(--s-4); font-size: var(--t-20); color: var(--muted); }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-6); margin-top: var(--s-12); }
.metric { border-top: 1px solid var(--line-strong); padding-top: var(--s-4); }
.metric .idx { display: block; font-size: var(--t-12); letter-spacing: .08em; color: var(--muted); font-variant-numeric: tabular-nums; margin-bottom: var(--s-3); }
.metric .v { font-family: var(--font-display); font-size: var(--t-64); font-weight: 500; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.metric .v .u { font-size: .5em; font-weight: 500; color: var(--muted); margin-left: .1em; }
.metric p { margin-top: var(--s-3); color: var(--muted); font-size: var(--t-14); max-width: 28ch; }

/* ---------- Photo bands ---------- */
.band--photo { position: relative; overflow: hidden; color: #fff; }
.band--photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(29, 29, 29, .82), rgba(29, 29, 29, .7) 50%, rgba(29, 29, 29, .88));
}
.band-media { position: absolute; inset: -12% 0; z-index: 0; will-change: transform; }
.band-media picture, .band-media img, .band-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band--photo .container { position: relative; z-index: 2; }
.band-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; transform: translateZ(0); }
.band-video.is-playing { opacity: 1; }
/* Facts band: a real-looking plant at working pace, dimmed by the scrim and a
   gentle filter rather than baked into the file, so the photo still reads. */
.section--quote .band-media img, .section--quote .band-video { filter: brightness(.82) saturate(.85); }
.section--quote.band--photo::after { background: linear-gradient(180deg, rgba(29, 29, 29, .64), rgba(29, 29, 29, .5) 50%, rgba(29, 29, 29, .74)); }
.ph { background: linear-gradient(160deg, #343434, #1a1a1a); }
/* lqip:start */
.ph-hero-desktop-en{background:linear-gradient(160deg,#8f8985,#9b948c)}
.ph-hero-mobile-en{background:linear-gradient(160deg,#9a958e,#b2aea8)}
.ph-hero-desktop-zh-cn{background:linear-gradient(160deg,#8f8985,#9b948c)}
.ph-hero-mobile-zh-cn{background:linear-gradient(160deg,#9a958e,#b2aea8)}
.ph-intro-01{background:linear-gradient(160deg,#a49f9a,#807a77)}
.ph-surface-agents-en{background:linear-gradient(160deg,#b5b5b3,#f3eeea)}
.ph-surface-agents-en-dark{background:linear-gradient(160deg,#272727,#2e2927)}
.ph-surface-agents-zh-cn{background:linear-gradient(160deg,#b4b4b3,#f2ede9)}
.ph-surface-agents-zh-cn-dark{background:linear-gradient(160deg,#282827,#2d2827)}
.ph-surface-chat-en{background:linear-gradient(160deg,#b6b6b5,#f5f0ed)}
.ph-surface-chat-en-dark{background:linear-gradient(160deg,#272727,#262221)}
.ph-surface-chat-zh-cn{background:linear-gradient(160deg,#b6b6b5,#f5f0ed)}
.ph-surface-chat-zh-cn-dark{background:linear-gradient(160deg,#272626,#262221)}
.ph-surface-finding-en{background:linear-gradient(160deg,#b4b2b0,#faf8f7)}
.ph-surface-finding-en-dark{background:linear-gradient(160deg,#2d2a29,#282626)}
.ph-surface-finding-zh-cn{background:linear-gradient(160deg,#b5b2b0,#fbf9f7)}
.ph-surface-finding-zh-cn-dark{background:linear-gradient(160deg,#2c2a28,#282626)}
.ph-surface-delay-en{background:linear-gradient(160deg,#b7b4b3,#fbfbfb)}
.ph-surface-delay-en-dark{background:linear-gradient(160deg,#2a2827,#292929)}
.ph-surface-delay-zh-cn{background:linear-gradient(160deg,#b6b4b3,#fcfcfb)}
.ph-surface-delay-zh-cn-dark{background:linear-gradient(160deg,#2a2827,#292929)}
.ph-surface-floor-en{background:linear-gradient(160deg,#b6b6b5,#ede0d9)}
.ph-surface-floor-en-dark{background:linear-gradient(160deg,#272726,#41342d)}
.ph-surface-floor-zh-cn{background:linear-gradient(160deg,#b6b6b4,#ede0da)}
.ph-surface-floor-zh-cn-dark{background:linear-gradient(160deg,#272727,#41352d)}
.ph-surface-chain-en{background:linear-gradient(160deg,#b6b6b6,#f8f8f8)}
.ph-surface-chain-en-dark{background:linear-gradient(160deg,#272727,#2b2b2b)}
.ph-surface-chain-zh-cn{background:linear-gradient(160deg,#b6b6b6,#f8f8f8)}
.ph-surface-chain-zh-cn-dark{background:linear-gradient(160deg,#272727,#2b2b2b)}
.ph-surface-optimise-en{background:linear-gradient(160deg,#b7b5b4,#f9f7f6)}
.ph-surface-optimise-en-dark{background:linear-gradient(160deg,#2a2827,#2b2a29)}
.ph-surface-optimise-zh-cn{background:linear-gradient(160deg,#b6b5b4,#f9f8f7)}
.ph-surface-optimise-zh-cn-dark{background:linear-gradient(160deg,#2a2827,#2a2929)}
.ph-surface-forecast-en{background:linear-gradient(160deg,#b8b7b7,#fbf9f7)}
.ph-surface-forecast-en-dark{background:linear-gradient(160deg,#272727,#2b2827)}
.ph-surface-forecast-zh-cn{background:linear-gradient(160deg,#b8b7b7,#fbf9f8)}
.ph-surface-forecast-zh-cn-dark{background:linear-gradient(160deg,#272727,#2a2827)}
.ph-surface-inventory-en{background:linear-gradient(160deg,#b7b7b6,#f8f4f2)}
.ph-surface-inventory-en-dark{background:linear-gradient(160deg,#282828,#2f2a29)}
.ph-surface-inventory-zh-cn{background:linear-gradient(160deg,#b7b7b6,#f9f4f2)}
.ph-surface-inventory-zh-cn-dark{background:linear-gradient(160deg,#282828,#2e2a28)}
.ph-surface-plan-en{background:linear-gradient(160deg,#b3b3b1,#e4ebe5)}
.ph-surface-plan-en-dark{background:linear-gradient(160deg,#2a2928,#2f3530)}
.ph-surface-plan-zh-cn{background:linear-gradient(160deg,#b3b3b1,#e4ebe5)}
.ph-surface-plan-zh-cn-dark{background:linear-gradient(160deg,#2a2928,#2f3530)}
.ph-facts-bg{background:linear-gradient(160deg,#95959e,#8e8d90)}
.ph-intro-03-en{background:linear-gradient(160deg,#9b9a95,#626060)}
.ph-intro-03-zh-cn{background:linear-gradient(160deg,#9f9f9c,#767171)}
.ph-intro-04-en{background:linear-gradient(160deg,#a4a2a2,#a8a39c)}
.ph-intro-04-zh-cn{background:linear-gradient(160deg,#989997,#9d9a97)}
/* lqip:end */

/* ---------- Decision areas: six cards, one line each ---------- */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.area { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-card); padding: var(--s-6); }
.area .icon { color: var(--accent-text); margin-bottom: var(--s-3); }
.area h3 { font-size: var(--t-20); font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.area .blurb { color: var(--muted); margin-top: var(--s-2); font-size: var(--t-14); line-height: 1.5; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); max-width: none; }
.tags li { font-size: var(--t-12); line-height: 1.5; padding: var(--s-1) var(--s-3); border: 1px solid var(--line-strong); border-radius: var(--radius-pill); }
.tags--lg li { font-size: var(--t-14); padding: var(--s-2) var(--s-4); }

/* ---------- How it works ---------- */
.strap { font-weight: 500; color: var(--accent-text); font-size: var(--t-16); }
.loop-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-8); }
.loop-step { position: relative; }
.ring {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-2); border: 1px solid var(--line-strong); color: var(--muted);
  margin-bottom: var(--s-4);
  transition: border-color var(--dur-slow) ease, color var(--dur-slow) ease, box-shadow var(--dur-slow) ease;
}
.loop-steps.is-drawn .ring { border-color: var(--accent); color: var(--accent-text); box-shadow: 0 0 0 4px var(--accent-glow); }
.loop-steps.is-drawn .loop-step:nth-child(2) .ring { transition-delay: .15s; }
.loop-steps.is-drawn .loop-step:nth-child(3) .ring { transition-delay: .3s; }
.loop-steps.is-drawn .loop-step:nth-child(4) .ring { transition-delay: .45s; }
.loop-steps.is-drawn .loop-step:nth-child(5) .ring { transition-delay: .6s; }
.loop-steps.is-drawn .loop-step:nth-child(6) .ring { transition-delay: .75s; }
.loop-step .n { font-size: var(--t-12); letter-spacing: .08em; color: var(--muted); font-variant-numeric: tabular-nums; }
.loop-step h3 { font-size: var(--t-20); font-weight: 600; letter-spacing: -.01em; margin-top: var(--s-1); line-height: 1.3; }
.loop-step p { font-size: var(--t-14); color: var(--muted); margin-top: var(--s-2); }

/* ---------- Product tour ----------
   Without JS: the ten screens are listed stage by stage, each with its caption
   and callouts. With JS (.is-player): one frame and a bar. The frame's width is
   capped by the viewport height so the whole section fits one screen. */
.tour { position: relative; margin-top: var(--s-6); display: grid; gap: var(--s-4); }
.tour-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-4) var(--s-6); }
.tour-head-l { display: grid; gap: var(--s-3); }
.tour-stages ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.stage {
  position: relative; display: inline-flex; align-items: center; gap: var(--s-2); height: 34px; padding: 0 var(--s-4);
  border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: var(--bg-2);
  color: var(--muted); font: inherit; font-size: var(--t-14); font-weight: 500; cursor: pointer; overflow: hidden;
  transition: color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.stage .stage-n { font-size: var(--t-12); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.stage.is-active, .stage.is-done { color: var(--fg); }
.stage.is-active { border-color: var(--fg); }
.stage-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-brisk) var(--ease-out); }
.stage.is-active .stage-bar, .stage.is-done .stage-bar { transform: scaleX(1); }
.stage-copy { display: none; max-width: 60ch; }
.stage-copy h3 { margin: 0; font-size: var(--t-20); font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.stage-copy p { margin: 2px 0 0; color: var(--muted); font-size: var(--t-14); line-height: 1.5; }
.tour-tools { display: flex; align-items: center; gap: var(--s-4); }
.tour-frame { position: relative; width: 100%; }
.tour-chrome, .tour-controls, .tour-caption, .tour-notes { display: none; }
.tour-stage + .tour-stage { margin-top: var(--s-12); }
.tour-stage-head { margin-bottom: var(--s-6); max-width: 60ch; }
.tour-stage-head .stage-n { display: block; font-size: var(--t-12); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s-2); }
.tour-stage-head h3 { margin: 0; font-size: var(--t-24); font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.tour-stage-head p { margin: var(--s-2) 0 0; color: var(--muted); }
.screen { margin: 0; position: relative; }
.screen + .screen { margin-top: var(--s-8); }
.screen-cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-1) var(--s-3); margin-bottom: var(--s-3); font-size: var(--t-14); color: var(--muted); }
.screen-cap .n { font-size: var(--t-12); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.screen-cap strong { color: var(--fg); font-weight: 600; }
.screen-frame { position: relative; border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--line-strong); background: var(--ink-0); isolation: isolate; }
.screen img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.screen-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity var(--dur-slow) ease; }
.screen-video.is-playing { opacity: 1; }
.zoom {
  position: absolute; right: var(--s-3); bottom: var(--s-3); width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(29, 29, 29, .82); color: #fff; display: grid; place-items: center; opacity: .85;
}
.zoom:hover { opacity: 1; }
.zoom svg, .zoom-close svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.zoom-dialog { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; background: #1d1d1d; color: #fff; }
.zoom-dialog::backdrop { background: rgba(0, 0, 0, .85); }
.zoom-pan { width: 100%; height: 100%; overflow: auto; display: flex; align-items: center; }
.zoom-pan picture { margin: auto; }
.zoom-pan img { display: block; width: 1600px; max-width: none; height: auto; }
.zoom-close {
  position: fixed; top: var(--s-4); right: var(--s-4); z-index: 2; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .25); background: rgba(29, 29, 29, .9); color: #fff; display: grid; place-items: center;
}
.callouts, .tour-notes { list-style: none; margin: var(--s-4) 0 0; padding: 0; gap: var(--s-2); }
.callouts { display: grid; }
.callout { display: flex; align-items: flex-start; gap: var(--s-2); max-width: none; }
.callout-dot {
  width: 24px; height: 24px; border-radius: 50%; flex: none;
  background: var(--accent-strong); color: #fff; font-size: var(--t-12); font-weight: 600; font-variant-numeric: tabular-nums;
  display: grid; place-items: center; box-shadow: 0 0 0 4px rgba(233, 84, 32, .25), 0 0 0 1px rgba(0, 0, 0, .2);
}
.callout-text {
  display: block; padding: var(--s-2) var(--s-3); border-radius: var(--radius-control);
  background: rgba(29, 29, 29, .92); color: #fff; font-size: var(--t-12); line-height: 1.4;
  border: 1px solid rgba(255, 255, 255, .14);
}
.callout-text strong { display: block; font-weight: 600; margin-bottom: 2px; }
.callout-text span { color: #c9c9c9; }
.scheme { display: inline-flex; padding: 3px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: var(--bg-2); }
.scheme-btn {
  height: 30px; padding: 0 var(--s-4); border-radius: var(--radius-pill); border: 0; cursor: pointer;
  background: transparent; color: var(--muted); font: inherit; font-size: var(--t-14); font-weight: 500;
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease;
}
.scheme-btn.is-active { background: var(--fg); color: var(--bg); }
.screen-ph { aspect-ratio: 16 / 10; }

/* Player (JS). */
.tour.is-player .stage-copy.is-active { display: block; }
.tour.is-player .tour-frame {
  max-width: calc((100vh - 23rem) * 1.6); max-width: calc((100svh - 23rem) * 1.6); min-width: min(100%, 520px); margin-inline: auto;
  border-radius: var(--radius-card); border: 1px solid var(--line-strong); background: var(--bg-2); overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .12);
}
.tour.is-player .tour-chrome {
  display: flex; align-items: center; gap: var(--s-3); height: 36px; padding: 0 var(--s-4);
  background: var(--bg-3); border-bottom: 1px solid var(--line); font-size: var(--t-12); color: var(--muted);
}
.tour-dots { display: inline-flex; gap: 6px; }
.tour-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.tour-tab { flex: 1; padding: 0 var(--s-3); color: var(--fg); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tour-stage-l { letter-spacing: .06em; text-transform: uppercase; }
.tour[data-scheme="dark"].is-player .tour-frame { background: #1d1d1d; border-color: rgba(255, 255, 255, .18); }
.tour[data-scheme="dark"].is-player .tour-chrome { background: #272727; border-bottom-color: rgba(255, 255, 255, .08); color: #a8a8a8; }
.tour[data-scheme="dark"].is-player .tour-tab { color: #fff; }
.tour[data-scheme="dark"].is-player .tour-dots i { background: rgba(255, 255, 255, .22); }
.tour.is-player .tour-screens { position: relative; aspect-ratio: 16 / 10; width: 100%; contain: layout paint; }
.tour.is-player .tour-stage { display: contents; }
.tour.is-player .tour-stage-head, .tour.is-player .screen-cap { display: none; }
.tour.is-player .screen {
  position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden;
  transition: opacity var(--dur-slow) ease, visibility 0s linear var(--dur-slow);
}
.tour.is-player .screen.is-leaving { opacity: 1; visibility: visible; z-index: 1; will-change: opacity; transition: opacity var(--dur-slow) ease; }
.tour.is-player .screen.is-active { opacity: 1; visibility: visible; z-index: 2; will-change: opacity; transition-delay: 0s; }
.tour.is-player .screen.is-far { display: none; }
.tour.is-player .screen-frame { position: absolute; inset: 0; border: 0; border-radius: 0; }
.tour.is-player .screen img { height: 100%; }
.tour.is-player .callouts { display: none; }
/* The bar: ten segments, one per screen, grouped by stage. */
.tour.is-player .tour-controls { display: flex; align-items: flex-start; gap: var(--s-3); max-width: calc((100vh - 23rem) * 1.6); max-width: calc((100svh - 23rem) * 1.6); min-width: min(100%, 520px); width: 100%; margin-inline: auto; }
.tour-btn {
  flex: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--fg);
  transition: border-color var(--dur-fast) ease;
}
.tour-btn:hover { border-color: var(--fg); }
.tour-btn .icon { width: 16px; height: 16px; }
.tour-btn .i-play, .tour.is-user-paused .tour-btn .i-pause { display: none; }
.tour.is-user-paused .tour-btn .i-play { display: block; }
.scrub { flex: 1; min-width: 0; padding: 14px 0 0; cursor: pointer; touch-action: none; user-select: none; outline-offset: 6px; }
.scrub-track { position: relative; display: flex; gap: 4px; height: 8px; }
.scrub-seg { position: relative; flex: 1; border-radius: 4px; background: var(--line-strong); overflow: hidden; }
.scrub-seg.is-stage-start:not(:first-child) { margin-left: 10px; }
.scrub-seg i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.scrub-seg.is-done i { transform: scaleX(1); }
.scrub-thumb {
  position: absolute; top: 50%; left: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
  background: #fff; border: 2px solid var(--accent); box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
  transition: transform var(--dur-fast) ease;
}
.scrub:hover .scrub-thumb, .scrub.is-dragging .scrub-thumb { transform: scale(1.2); }
.scrub-stages { display: flex; gap: 4px; margin-top: var(--s-2); font-size: var(--t-12); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.scrub-stages span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color var(--dur-fast) ease; }
.scrub-stages span.is-active { color: var(--fg); }
.scrub-stages span + span { margin-left: 10px; }
html[lang="zh-CN"] .scrub-stages { letter-spacing: .12em; }
.tour.is-player .tour-caption {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: var(--s-1) var(--s-3);
  margin: 0 auto; max-width: 80ch; text-align: center; font-size: var(--t-14); color: var(--muted);
}
.tour-caption .n { font-size: var(--t-12); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.tour-caption strong { color: var(--fg); font-weight: 600; }
/* Narrow screens: the active screen's callouts as a list under the bar. */
.tour.is-player .tour-notes { display: grid; margin-top: 0; }
.tour-notes li { display: flex; align-items: flex-start; gap: var(--s-2); }

@media (min-width: 1036px) {
  /* Wide screens: callouts sit on the frame and rise one by one as the screen plays. */
  .tour.is-player .tour-notes { display: none; }
  .tour.is-player .callouts { margin: 0; display: block; }
  .tour.is-player .callout {
    position: absolute; max-width: 240px; flex-direction: row-reverse;
    opacity: 0; transform: translate3d(0, 14px, 0); pointer-events: none;
    transition: opacity var(--dur-brisk) ease, transform var(--dur-slow) var(--ease-expo);
  }
  .tour.is-player .callout.is-on { opacity: 1; transform: none; }
  .tour.is-player .callout.is-on .callout-dot { animation: callout-pop var(--dur-slow) var(--ease-out) 1; }
  @keyframes callout-pop { from { transform: scale(.7); } 60% { transform: scale(1.12); } to { transform: scale(1); } }
  /* Callout anchors per screen (percent of the 16:10 frame, right-anchored). */
  .screen[data-screen="agents"] .callout--1 { right: 3%; top: 56%; }
  .screen[data-screen="agents"] .callout--2 { right: 36%; top: 24%; }
  .screen[data-screen="agents"] .callout--3 { right: 52%; top: 72%; }
  .screen[data-screen="chat"] .callout--1 { right: 52%; top: 46%; }
  .screen[data-screen="chat"] .callout--2 { right: 8%; top: 72%; }
  .screen[data-screen="finding"] .callout--1 { right: 60%; top: 28%; }
  .screen[data-screen="finding"] .callout--2 { right: 24%; top: 80%; }
  .screen[data-screen="delay"] .callout--1 { right: 58%; top: 34%; }
  .screen[data-screen="delay"] .callout--2 { right: 4%; top: 50%; }
  .screen[data-screen="optimise"] .callout--1 { right: 48%; top: 32%; }
  .screen[data-screen="optimise"] .callout--2 { right: 44%; top: 72%; }
  .screen[data-screen="plan"] .callout--1 { right: 30%; top: 24%; }
  .screen[data-screen="plan"] .callout--2 { right: 58%; top: 52%; }
  .screen[data-screen="floor"] .callout--1 { right: 44%; top: 26%; }
  .screen[data-screen="floor"] .callout--2 { right: 36%; top: 57%; }
  .screen[data-screen="chain"] .callout--1 { right: 34%; top: 27%; }
  .screen[data-screen="chain"] .callout--2 { right: 30%; top: 74%; }
  .screen[data-screen="forecast"] .callout--1 { right: 50%; top: 36%; }
  .screen[data-screen="forecast"] .callout--2 { right: 30%; top: 78%; }
  .screen[data-screen="inventory"] .callout--1 { right: 50%; top: 32%; }
  .screen[data-screen="inventory"] .callout--2 { right: 4%; top: 42%; }
}
@media (max-width: 1035px) {
  .tour.is-player .tour-frame, .tour.is-player .tour-controls { max-width: none; min-width: 0; }
  .scrub-stages { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tour.is-player .screen, .tour.is-player .callout, .stage-bar, .scrub-thumb { transition: none; }
  .tour.is-player .callout { opacity: 1; transform: none; }
  .tour.is-player .callout.is-on .callout-dot { animation: none; }
}

/* ---------- Built for you ---------- */
.section--custom { border-top: 1px solid var(--line); }
.section--custom .split { border-top: 0; padding-top: 0; }
.custom .h-display { font-size: clamp(var(--t-32), 4.2vw, 3.75rem); max-width: 16ch; }
.custom .lead { margin-top: var(--s-6); color: var(--muted); max-width: 48em; font-size: var(--t-20); }
html[lang="zh-CN"] .custom .lead { line-height: 1.75; }

/* ---------- Principles (matrix) ---------- */
.matrix { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-8) var(--s-8); }
.mitem { border-top: 1px solid var(--line-strong); padding-top: var(--s-4); }
.mitem .icon { color: var(--accent-text); margin-bottom: var(--s-3); }
.mitem h3 { font-size: var(--t-20); font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.mitem p { margin-top: var(--s-2); color: var(--muted); font-size: var(--t-14); }

/* ---------- Quote ---------- */
.section--quote { padding: clamp(var(--s-24), 16vw, 14rem) 0; }
.quote p { font-family: var(--font-display); font-size: clamp(36px, 5.5vw, 88px); font-weight: 500; letter-spacing: -.03em; line-height: 1.02; max-width: 18ch; text-wrap: balance; }
html[lang="zh-CN"] .quote p { letter-spacing: 0; line-height: 1.2; font-weight: 500; }
.quote footer { color: rgba(255, 255, 255, .6); }

/* ---------- Join ---------- */
.join-side { display: flex; flex-direction: column; gap: var(--s-6); align-items: flex-start; }

/* ---------- Closing + footer ---------- */
.closing { padding-bottom: var(--s-8); }
.closing h2 { font-size: clamp(32px, 4.8vw, 64px); max-width: 18ch; }
.closing-row { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6); align-items: center; margin: var(--s-8) 0 var(--s-24); }
.footer {
  border-top: 1px solid var(--line); padding-top: var(--s-8);
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--s-6);
  font-size: var(--t-14); color: var(--muted);
}
.footer-brand img { height: 22px; width: auto; }
.footer-co { display: flex; flex-direction: column; gap: var(--s-1); }
.footer-company { color: var(--fg); font-weight: 500; }
/* Language menu: the only language switch on the page. Closed, it shows just
   its label; the two languages appear in a menu that opens upward. */
.lang-menu { position: relative; justify-self: end; }
.lang-summary {
  list-style: none; display: inline-flex; align-items: center; gap: var(--s-2);
  cursor: pointer; user-select: none; padding: 8px 12px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-control);
  color: var(--fg); font-size: var(--t-14); font-weight: 500; line-height: 1.2;
}
.lang-summary::-webkit-details-marker { display: none; }
.lang-summary:hover { border-color: var(--fg); }
.lang-summary .icon { width: 16px; height: 16px; }
.lang-summary .icon--chev { transition: transform var(--dur-fast) ease; }
.lang-menu[open] .icon--chev { transform: rotate(180deg); }
.lang-list {
  position: absolute; right: 0; bottom: calc(100% + 6px); z-index: 5;
  min-width: 160px; margin: 0; padding: 6px; list-style: none;
  background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: var(--radius-control);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .35);
}
.lang-list a { display: block; padding: 8px 10px; border-radius: 6px; text-decoration: none; color: var(--fg); font-size: var(--t-14); }
.lang-list a:hover { background: var(--bg-3); }
.lang-list a[aria-current] { color: var(--accent-text); }
html[lang="en"] .lang-list a[lang="zh-CN"] { font-family: "Noto Switch", var(--font-sans); }

/* ---------- Language bar: offers the page in the browser's language ---------- */
.lang-bar {
  position: fixed; left: var(--s-3); right: var(--s-3); bottom: calc(var(--s-3) + env(safe-area-inset-bottom, 0px)); z-index: 60;
  display: flex; align-items: center; gap: var(--s-3); margin: 0 auto; max-width: 560px;
  padding: var(--s-3) var(--s-3) var(--s-3) var(--s-4);
  background: #1d1d1d; color: #fff; border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .35);
  font-size: var(--t-16); line-height: 1.4;
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--dur-brisk) ease, transform var(--dur-brisk) var(--ease-out);
}
.lang-bar[hidden] { display: none; }
.lang-bar.is-on { opacity: 1; transform: none; }
.lang-bar p { margin: 0; flex: 1; }
.lang-bar a { color: #f57a4a; /* dark-band --accent-text; the bar is always dark */ font-weight: 600; white-space: nowrap; text-decoration: none; }
.lang-bar a:hover, .lang-bar a:focus-visible { text-decoration: underline; }
.lang-bar-close {
  flex: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  border: 0; background: transparent; color: #fff; display: grid; place-items: center;
}
.lang-bar-close:hover, .lang-bar-close:focus-visible { background: rgba(255, 255, 255, .12); }
.lang-bar-close svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html[lang="en"] .lang-bar[lang="zh-CN"] { font-family: "Noto Switch", var(--font-sans); }
@media (prefers-reduced-motion: reduce) { .lang-bar { transition: none; transform: none; } }
.footer-rights { grid-column: 1 / -1; text-align: right; max-width: none; }

/* ---------- Responsive ---------- */
@media (min-width: 1036px) {
  .h-display { font-size: var(--t-42); line-height: 1.08; }
  /* the narrow heading column holds seven Chinese characters a line at every desktop width */
  html[lang="zh-CN"] .split-head .h-display { font-size: clamp(1.875rem, 2.9vw, 2.5rem); line-height: 1.3; }
  .intro-copy h3 { font-size: var(--t-32); }
  .lead-xl { font-size: clamp(var(--t-32), 2.6vw, 2.5rem); }
}
@media (max-width: 1035px) {
  .split { grid-template-columns: 1fr; gap: var(--s-6); }
  .zoom-pan img { width: 1200px; }
  .split-head { position: static; }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .matrix, .loop-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .chips { grid-template-columns: repeat(2, 1fr); }
  .footer { grid-template-columns: 1fr 1fr; }
  .lang-menu { justify-self: start; }
  .lang-list { right: auto; left: 0; }
  .footer-rights { text-align: left; }
}
@media (max-width: 600px) {
  .areas, .matrix, .loop-steps, .chips { grid-template-columns: 1fr; }
  .hero-words { flex-wrap: wrap; justify-content: flex-start; gap: var(--s-1) var(--s-4); font-size: 15px; }
  .statement-row { flex-direction: column; align-items: flex-start; gap: var(--s-4); }
  .footer { grid-template-columns: 1fr; }
  .metric .v { font-size: var(--t-42); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .hero-words .w { opacity: 1; transform: none; transition: none; }
  .js .wordmark { clip-path: none; transition: none; }
  .loader-trace { animation: none; stroke-dashoffset: 0; }
  .js .loader { transition: none; }
  .frame-bars i.is-active::after { animation: none; transform: scaleX(1); }
  .slide { transition: none; }
  .nav, .icon--arr, .btn, .ring { transition: none; }
  .js .big .big-arrow { clip-path: none; }
  .js .big .big-n--accent { opacity: 1; transform: none; }
  .js .big.is-in .big-n--from, .js .big.is-in .big-arrow, .js .big.is-in .big-n--accent { animation: none; }
}

/* ---------- Footer bottom row (notice links, rights) and the notice pages ---------- */
.footer-bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s-2) var(--s-6); }
.footer-bottom .footer-rights { grid-column: auto; margin: 0; margin-left: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); font-size: var(--t-14); }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover, .footer-links a[aria-current="page"] { color: var(--fg); }
.notice-body { margin: 0; }
.notice-head { background: #1d1d1d; color: #fff; }
.notice-head-row { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.notice-head .nav-logo img { display: block; }
.notice { max-width: 46rem; padding: var(--s-12) var(--pad) var(--s-16); }
.notice .eyebrow { margin-bottom: var(--s-4); }
.notice h1 { margin: 0 0 var(--s-4); }
.notice .lead { margin: 0 0 var(--s-8); }
.notice section { margin-top: var(--s-8); }
.notice h2 { font-size: var(--t-20); font-weight: 600; margin: 0 0 var(--s-3); letter-spacing: -.01em; }
.notice p { margin: 0 0 var(--s-3); line-height: 1.6; max-width: 62ch; }
.footer--notice { padding: var(--s-8) 0 var(--s-8); }

/* ---------- Ghost button (notice header; design kit .btn-ghost: muted, neutral hover) ---------- */
.btn--ghost { border-color: transparent; color: var(--muted); }
.btn--ghost:hover { border-color: transparent; background: var(--bg-3); color: var(--fg); }

/* ---------- Error pages (layout of the design kit's 404) ---------- */
.error-body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.error-band { flex: 1; display: grid; }
.error {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; max-width: 34rem; min-height: 60vh; padding-top: var(--s-16); padding-bottom: var(--s-16);
  text-align: center;
}
/* One Lucide icon from the design kit, standalone size (kit .icon-2x, 32px), in the
   text colour; the primary button is the screen's one accent. */
.error-icon { width: 32px; height: 32px; margin: 0 auto var(--s-6); color: var(--fg); }
.error .eyebrow { justify-content: center; margin-bottom: var(--s-4); }
.error h1 { margin: 0 auto var(--s-4); }
.error .lead { margin: 0 auto; }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); margin: var(--s-8) auto 0; }
@media (max-width: 720px) {
  .error { min-height: 0; padding-top: var(--s-12); padding-bottom: var(--s-12); }
  .error-actions { width: 100%; } /* auto margins would otherwise shrink the row to its text */
  .error-actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* ---------- Images on slow connections ----------
   Every lazy photo keeps its box (width/height attributes) and shows the band's
   quiet tone until it arrives, then fades in. site.js adds .lazy-fade only when
   it runs, so without JavaScript images simply appear. */
picture img[loading="lazy"] { background: var(--bg-3); }
.lazy-fade picture img[loading="lazy"] { opacity: 0; transition: opacity var(--dur-slow) var(--ease-out); }
.lazy-fade picture img[loading="lazy"].is-in { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .lazy-fade picture img[loading="lazy"] { transition: none; }
}
/* Reduced data: the hero loop never shows (its still stays underneath);
   site.js also never fetches any loop. */
@media (prefers-reduced-data: reduce) {
  .hero-video { display: none; }
}

/* ---------- Slow-link failsafe (no JavaScript needed) ----------
   On a slow connection site.js can arrive seconds after the first paint. The
   loader then lifts and the hero shows 2.2 s after the styles apply, whatever the
   script is doing; content that site.js reveals on scroll shows at 4 s unless
   the script has started (.js-run). site.js takes over as soon as it runs. */
@keyframes failsafe-hide { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@keyframes failsafe-show { to { opacity: 1; transform: none; } }
@keyframes failsafe-wordmark { to { clip-path: inset(0 0 -2% 0); } }
@keyframes failsafe-arrow { to { clip-path: none; } }
.js:not(.is-loaded) .loader { animation: failsafe-hide var(--dur-slow) var(--ease-out) 2.2s forwards; }
.js:not(.is-loaded) .hero-words .w { animation: failsafe-show var(--dur-slow) var(--ease-out) 2.3s forwards; }
.js:not(.is-loaded) .wordmark { animation: failsafe-wordmark var(--dur-sleepy) var(--ease-expo) 2.4s forwards; }
.js:not(.js-run) .reveal, .js:not(.js-run) .big .big-n--accent { animation: failsafe-show var(--dur-slow) var(--ease-out) 4s forwards; }
.js:not(.js-run) .big .big-arrow { animation: failsafe-arrow var(--dur-slow) var(--ease-out) 4s forwards; }
@media (prefers-reduced-motion: reduce) {
  .js:not(.is-loaded) .loader, .js:not(.is-loaded) .hero-words .w, .js:not(.is-loaded) .wordmark,
  .js:not(.js-run) .reveal, .js:not(.js-run) .big .big-n--accent, .js:not(.js-run) .big .big-arrow { animation-duration: 0s; }
}
