/* Site styles, "Carbon": a hypercar cockpit / pit wall. The whole site is dark.
   System fonts only; nothing is loaded from outside this file.
   Rules the checks enforce:
   - every colour is one of the tokens below (or a transparent black, white,
     steel or orange made from them);
   - orange is a text colour only on carbon or graphite; anything that puts
     text on orange sets color: var(--carbon);
   - Chinese text is never italic and never letterspaced (see html:lang(zh-Hans)). */

:root {
  color-scheme: dark;
  --carbon: #0D0E10;
  --graphite: #1A1C20;
  --steel: #9AA0AA;
  --soft: #D5D8DD;
  --white: #FFFFFF;
  --orange: #FF5A1F;
  --orange-hi: #FF7442;
  --error: #FF8A80;
  --line: rgba(154, 160, 170, 0.28);
  --line-2: rgba(154, 160, 170, 0.55);
  /* The hero text always sits on at least this much carbon over the photo. */
  --scrim-alpha: 0.88;
  --scrim: rgba(13, 14, 16, var(--scrim-alpha));
  --weave:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.022) 0 2px, transparent 2px 4px),
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.22) 0 2px, transparent 2px 4px);

  --display: "Helvetica Neue", "Arial Black", "Segoe UI", system-ui, sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "PingFang SC", "Microsoft YaHei", monospace;
  --cjk: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  /* Language switches: Chinese pages turn these off (see below). */
  --italic: italic;
  --caps: uppercase;
  --track: 0.18em;
  --track-tight: -0.02em;
  --track-btn: 0.06em;

  --skew: -12deg;
  --unskew: 12deg;
  --c: 18px;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1432px;
  --header-h: 68px;
  --section-pad: clamp(72px, 10vw, 140px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Chinese: one heavy upright face, never italic, never letterspaced, never
   upper-cased. Headings keep the clause-based line breaking (.ph). */
html:lang(zh-Hans) {
  --display: var(--cjk);
  --body: var(--cjk);
  --italic: normal;
  --caps: none;
  --track: 0;
  --track-tight: 0;
  --track-btn: 0;
}
html:lang(zh-Hans) h1, html:lang(zh-Hans) h2, html:lang(zh-Hans) h3,
html:lang(zh-Hans) .hub-centre, html:lang(zh-Hans) .hub-name, html:lang(zh-Hans) .btn,
html:lang(zh-Hans) .wm-zh, html:lang(zh-Hans) .gen-name, html:lang(zh-Hans) .who-name {
  font-style: normal;
  letter-spacing: 0;
  text-transform: none;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
  background: var(--carbon);
}

body {
  margin: 0;
  background: var(--carbon);
  color: var(--white);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html:lang(zh-Hans) body { line-height: 1.8; }

main { display: block; }
main:focus { outline: none; }

img, svg { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 900;
  font-style: var(--italic);
  text-transform: var(--caps);
  letter-spacing: var(--track-tight);
  line-height: 0.96;
  overflow-wrap: break-word;
}
html:lang(zh-Hans) h1, html:lang(zh-Hans) h2, html:lang(zh-Hans) h3 { line-height: 1.22; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--orange); }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3, .h1-line { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
/* Chinese headings: each clause (built by the |phrases filter) stays together,
   so lines break at punctuation rather than mid-word. */
.ph { display: inline-block; }
html:lang(zh-Hans) .h1-line { text-wrap: wrap; }

/* Highlighted words: orange, only ever inside carbon or graphite surfaces. */
.hl { color: var(--orange); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 300;
  padding: 12px 18px;
  background: var(--orange);
  color: var(--carbon);
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ---------- Surfaces ---------- */

.s-carbon { background-color: var(--carbon); color: var(--white); }
.s-graphite { background-color: var(--graphite); background-image: var(--weave); color: var(--white); }
.section { position: relative; padding: var(--section-pad) 0; }

/* Graphite bands open with a slanted cut and a thin orange line. */
.cut {
  --cut-h: 40px;
  --cut-x: 36%;
  --cut-run: calc(var(--cut-h) / 0.2126);
  padding-top: calc(var(--cut-h) + var(--section-pad));
  clip-path: polygon(0 0, var(--cut-x) 0, calc(var(--cut-x) + var(--cut-run)) var(--cut-h), 100% var(--cut-h), 100% 100%, 0 100%);
}
.cut::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(var(--cut-h) + 2px);
  pointer-events: none;
  background: linear-gradient(90deg, var(--line-2) 0, var(--line-2) var(--cut-x), var(--orange) var(--cut-x), var(--orange) calc(var(--cut-x) + var(--cut-run) + 120px), rgba(255, 90, 31, 0) 92%);
  clip-path: polygon(0 0, var(--cut-x) 0, calc(var(--cut-x) + var(--cut-run)) var(--cut-h), 100% var(--cut-h), 100% calc(var(--cut-h) + 1.5px), calc(var(--cut-x) + var(--cut-run) - 0.3px) calc(var(--cut-h) + 1.5px), calc(var(--cut-x) - 0.3px) 1.5px, 0 1.5px);
}
@media (max-width: 700px) {
  .cut { --cut-h: 26px; --cut-x: 20%; }
}

/* Chamfered panel: a 1px edge (steel, or orange for --signal) around a
   graphite fill with the carbon-fibre weave. */
.panel {
  --edge: var(--line-2);
  --fill: var(--graphite);
  position: relative;
  isolation: isolate;
  background: var(--edge);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  background-color: var(--fill);
  background-image: var(--weave);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.panel--signal { --edge: var(--orange); }

/* Instrument ruler: tick marks along the top of a section. */
.ruler {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 14px;
  pointer-events: none;
  opacity: 0.7;
  background:
    repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 16px) 0 0 / 100% 8px no-repeat,
    repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 80px) 0 0 / 100% 14px no-repeat;
}

/* Light streaks (hero, contact). */
.streak { position: absolute; left: 0; right: 0; height: 2px; z-index: -1; pointer-events: none; }
.streak-a {
  background: linear-gradient(90deg, rgba(255, 90, 31, 0) 0%, rgba(255, 90, 31, 0.15) 20%, var(--orange) 62%, rgba(255, 90, 31, 0) 100%);
  box-shadow: 0 0 14px rgba(255, 90, 31, 0.55);
}
.streak-b { height: 1px; left: 30%; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.55) 55%, rgba(255, 255, 255, 0)); }

/* Slanted outlines for small tags that hold text: the slant is drawn by a
   pseudo-element, so the text itself is never sheared (Chinese stays upright). */
.card-tag::before, .who-idx::before, .step-num::before, .person-mono::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  box-shadow: inset 0 0 0 1px var(--orange);
  transform: skewX(var(--skew));
}
.who-idx::before { box-shadow: inset 0 0 0 1px var(--line-2); }
.step-num::before { background: var(--carbon); }
.card-tag, .who-idx, .step-num, .person-mono { isolation: isolate; }

/* ---------- Type: labels, headings, intros ---------- */

.sec-head { position: relative; max-width: 980px; margin-bottom: clamp(40px, 6vw, 72px); }

.label {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: var(--track);
  text-transform: var(--caps);
  color: var(--steel);
}
.label::before { content: ""; width: 22px; height: 10px; background: var(--orange); transform: skewX(var(--skew)); flex: none; }
.label::after { content: ""; width: 56px; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); flex: none; }
html:lang(zh-Hans) .label { font-family: var(--cjk); font-size: 14px; font-weight: 600; }

.sec-title {
  font-size: clamp(34px, 1.1rem + 3.4vw, 64px);
  max-width: 19ch;
}
html:lang(zh-Hans) .sec-title { font-size: clamp(30px, 1rem + 3vw, 56px); max-width: 15em; }

.sec-intro {
  margin-top: 24px;
  max-width: 40em;
  font-size: clamp(17px, 0.96rem + 0.25vw, 19px);
  color: var(--steel);
}

/* ---------- Buttons: parallelograms ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border: 0;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 800;
  font-style: var(--italic);
  line-height: 1.15;
  letter-spacing: var(--track-btn);
  text-transform: var(--caps);
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transform: skewX(var(--skew));
  transition: background-color 0.15s, box-shadow 0.15s, color 0.15s;
}
.btn > span { display: inline-flex; align-items: center; gap: 0.7rem; transform: skewX(var(--unskew)); }
html:lang(zh-Hans) .btn { font-size: 16px; font-weight: 700; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 16px; }
.btn-sm { min-height: 42px; padding: 0 17px; font-size: 13px; }
html:lang(zh-Hans) .btn-sm { font-size: 15px; }
.btn-primary { background: var(--orange); color: var(--carbon); }
.btn-primary:hover { background: var(--orange-hi); color: var(--carbon); }
.btn-ghost { background: rgba(13, 14, 16, 0.55); color: var(--white); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--white); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.chev { width: 16px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- Wordmark ---------- */

.wordmark, .menu-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  max-width: 100%;
  color: var(--white);
  text-decoration: none;
}
.wordmark { padding: 8px 0; }
.wm-bar { width: 16px; height: 22px; background: var(--orange); color: var(--carbon); transform: skewX(var(--skew)); flex: none; }
.wm-name {
  font-family: "Helvetica Neue", "Arial Black", "Segoe UI", system-ui, sans-serif;
  font-size: 26px;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  padding-right: 0.08em;
}
.wm-zh {
  flex: none;
  font-family: var(--cjk);
  font-size: 13px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0;
  color: var(--steel);
  white-space: nowrap;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 14, 16, 0.94);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.site-header::after { content: ""; position: absolute; left: 0; bottom: -1px; width: min(240px, 30%); height: 1px; background: var(--orange); }

.header-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
  flex-wrap: nowrap;
}
.header-bar .wordmark { flex: 0 1 auto; margin-right: auto; }

.main-nav { display: none; }
.main-nav ul { display: flex; gap: clamp(16px, 1.7vw, 30px); }
.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: var(--caps);
  white-space: nowrap;
  color: var(--steel);
  text-decoration: none;
}
html:lang(zh-Hans) .main-nav a { font-family: var(--cjk); font-size: 14px; letter-spacing: 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: 8px; width: 0; height: 2px; background: var(--orange); transform: skewX(var(--skew)); transition: width 0.15s; }
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { width: 100%; }

.header-tools { display: flex; align-items: center; gap: 14px; flex: none; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--steel);
}
.lang-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  color: var(--steel);
  text-decoration: none;
}
.lang-switch a:hover { color: var(--white); }
.lang-switch :lang(zh-Hans) { font-family: var(--cjk); letter-spacing: 0; font-size: 13px; }
html:lang(zh-Hans) .lang-switch { letter-spacing: 0; }
.lang-switch .lang-current { color: var(--orange); padding: 0 4px; }
.lang-switch--header { display: none; }

.header-cta { display: none; }
@media (min-width: 440px) {
  .header-cta { display: inline-flex; }
}

.menu-btn, .menu-close {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  background: transparent;
  color: var(--white);
  border: 0;
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: var(--caps);
  cursor: pointer;
  transform: skewX(var(--skew));
}
html:lang(zh-Hans) .menu-btn, html:lang(zh-Hans) .menu-close { font-family: var(--cjk); font-size: 14px; letter-spacing: 0; }
.menu-in { display: inline-flex; align-items: center; gap: 10px; transform: skewX(var(--unskew)); }
.menu-btn:hover, .menu-close:hover, .menu-btn[aria-expanded="true"] { box-shadow: inset 0 0 0 1px var(--orange); }
.menu-icon { display: inline-grid; gap: 4px; width: 18px; }
.menu-icon span { display: block; height: 2px; background: currentColor; }
.menu-icon span:last-child { margin-left: 6px; }
.close-icon { position: relative; width: 16px; height: 16px; }
.close-icon::before, .close-icon::after {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  top: 7px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
}
.close-icon::after { transform: rotate(-45deg); }
html.no-js .menu-btn { display: none; }

/* Menu panel: an in-flow strip without JS, a full-screen overlay with JS. */
.menu-panel { background-color: var(--carbon); background-image: var(--weave); color: var(--white); }
.menu-top { display: none; }
.menu-nav ul { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.menu-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 44px;
  color: var(--white);
  font-family: var(--display);
  font-weight: 900;
  font-style: var(--italic);
  text-transform: var(--caps);
  text-decoration: none;
}
.menu-nav a::before { content: ""; width: 10px; height: 10px; background: var(--orange); transform: skewX(var(--skew)); flex: none; }
.menu-nav a:hover { color: var(--orange); }
.menu-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 8px 0 20px; }
html.no-js .menu-panel { border-top: 1px solid var(--line); border-bottom: 1px solid var(--orange); }
html.no-js .menu-inner { padding-top: 8px; }

html.js .menu-panel { display: none; }
html.js.menu-open .menu-panel {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 200;
  overflow-y: auto;
  overscroll-behavior: contain;
}
html.js.menu-open body { overflow: hidden; }
html.js .menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
  border-bottom: 1px solid var(--line);
}
html.js .menu-nav { padding: clamp(20px, 5vh, 48px) 0 24px; }
html.js .menu-nav ul { display: block; }
html.js .menu-nav li { border-bottom: 1px solid var(--line); }
html.js .menu-nav a {
  display: flex;
  min-height: 64px;
  padding: 8px 0;
  font-size: clamp(26px, 7vw, 46px);
  line-height: 1.05;
  letter-spacing: var(--track-tight);
}
html.js .menu-foot { padding: 12px 0 40px; }

@media (min-width: 1120px) {
  .main-nav { display: block; margin-left: auto; }
  .header-bar .wordmark { margin-right: 0; }
  .lang-switch--header { display: inline-flex; }
  .menu-btn { display: none; }
  html.js .menu-panel, html.no-js .menu-panel, html.js.menu-open .menu-panel { display: none; }
}
@media (min-width: 1120px) and (max-width: 1279px) {
  .main-nav a { letter-spacing: 0.08em; }
  .main-nav ul { gap: 16px; }
}
@media (max-width: 420px) {
  .header-bar { gap: 10px; }
  .wm-name { font-size: 23px; }
  .header-tools { gap: 10px; }
  .header-cta { padding: 0 12px; font-size: 12px; letter-spacing: calc(var(--track-btn) / 2); }
}

/* ---------- Photos: chamfered frames with HUD brackets ---------- */

.frame { position: relative; }
.shot {
  --c: 22px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background-color: var(--graphite);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.frame-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.5) contrast(1.12) brightness(0.8);
}
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, rgba(13, 14, 16, 0) 45%, rgba(13, 14, 16, 0.75) 100%);
}
.frame::before, .frame::after { content: ""; position: absolute; z-index: 2; width: 18px; height: 18px; pointer-events: none; }
.frame::before { top: -7px; right: -7px; border-top: 1.5px solid var(--orange); border-right: 1.5px solid var(--orange); }
.frame::after { bottom: -7px; left: -7px; border-bottom: 1.5px solid var(--steel); border-left: 1.5px solid var(--steel); }

/* An empty photo setting: a graphite panel with HUD lines, never a broken image. */
.ph-empty {
  position: absolute;
  inset: 0;
  display: block;
  background-color: var(--graphite);
  background-image:
    linear-gradient(var(--line), var(--line)),
    linear-gradient(var(--line), var(--line)),
    var(--weave);
  background-size: 100% 1px, 1px 100%, auto;
  background-position: 0 50%, 50% 0, 0 0;
  background-repeat: no-repeat, no-repeat, repeat;
}
.ph-hud {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34%;
  aspect-ratio: 1;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.ph-hud::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--orange);
  transform: rotate(28deg);
}
.ph-hud::after {
  content: "";
  position: absolute;
  inset: 22%;
  border: 1px dashed var(--line-2);
  border-radius: 50%;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: calc(100svh - var(--header-h));
}
.hero-media { position: absolute; inset: 0 0 auto 0; height: min(620px, 68svh); z-index: -2; }
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 60%;
  filter: saturate(0.6) contrast(1.12) brightness(0.85);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 14, 16, 0.45) 0%, rgba(13, 14, 16, 0) 28%, rgba(13, 14, 16, 0) 62%, rgba(13, 14, 16, 0.85) 84%, var(--carbon) 99%);
}
.hero-media--empty { background-color: var(--graphite); }
.hero .streak-a { top: min(420px, 50svh); }
.hero .streak-b { top: calc(min(420px, 50svh) + 9px); }
.hud { position: absolute; inset: 14px; z-index: -1; pointer-events: none; }
.hud i { position: absolute; width: 22px; height: 22px; border: 0 solid var(--line-2); }
.hud i:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.hud i:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; border-color: var(--orange); }
.hud i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.hud i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

.hero-inner {
  position: relative;
  padding-top: clamp(200px, 40svh, 440px);
  padding-bottom: clamp(40px, 7vw, 88px);
}
.hero-copy { position: relative; display: flex; flex-direction: column; max-width: 640px; }
/* The scrim: every word of the hero copy sits on at least --scrim-alpha of
   carbon, whatever the photo shows. It fades out only outside the text box. */
.hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -40px;
  bottom: -40px;
  left: calc(-1 * var(--gutter) - 40px);
  right: -90px;
  background: linear-gradient(90deg, var(--scrim) 0, var(--scrim) calc(100% - 90px), rgba(13, 14, 16, 0) 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, black 40px, black calc(100% - 40px), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, black 40px, black calc(100% - 40px), transparent 100%);
}

.hero-eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  align-self: flex-start;
  gap: 6px 10px;
  margin-bottom: 22px;
  padding: 8px 14px 8px 12px;
  background: var(--carbon);
  box-shadow: inset 3px 0 0 var(--orange), inset 0 0 0 1px var(--line);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: var(--track);
  text-transform: var(--caps);
  color: var(--white);
}
html:lang(zh-Hans) .hero-eyebrow { font-family: var(--cjk); font-size: 14px; }
.hero-tags { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.tag { color: var(--orange); padding: 0 3px; transition: background-color 0.35s, color 0.35s; }
.tag.is-lit { background: var(--orange); color: var(--carbon); }
.tag-sep { color: var(--steel); }

.hero-title {
  font-size: clamp(39px, 0.9rem + 6vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.035em;
}
html:lang(zh-Hans) .hero-title { font-size: clamp(40px, 0.9rem + 5.6vw, 88px); line-height: 1.16; letter-spacing: 0; }
.h1-line { display: block; }
.h1-mark {
  display: inline-block;
  margin-top: 0.12em;
  padding: 0.06em 0.22em 0.03em 0.16em;
  background: var(--orange);
  color: var(--carbon);
  transform: skewX(var(--skew));
  transform-origin: 0 100%;
  white-space: nowrap;
}
.h1-mark > span { display: inline-block; transform: skewX(var(--unskew)); }
html:lang(zh-Hans) .h1-mark { padding: 0.04em 0.2em 0.04em 0.16em; }

.hero-lead { margin-top: 26px; max-width: 36rem; font-size: clamp(17px, 0.95rem + 0.3vw, 19px); line-height: 1.6; color: var(--soft); }
.hero-small {
  margin-top: 18px;
  max-width: 34rem;
  padding-left: 16px;
  border-left: 1px solid var(--orange);
  font-size: 15px;
  line-height: 1.55;
  color: var(--steel);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 18px; margin-top: 30px; padding-left: 7px; }

.hero-frames { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 440px; margin-top: 44px; }
.hero-frames .shot { --c: 14px; }
.frame-cap {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: var(--track);
  text-transform: var(--caps);
  color: var(--steel);
}
html:lang(zh-Hans) .frame-cap { font-size: 13px; }
.frame-cap b { font-weight: 500; color: var(--orange); margin-right: 4px; font-family: var(--mono); }

/* Phones: the buttons come straight under the headline, so the headline and
   the main button share the first screen; the lead follows. */
@media (max-width: 699px) {
  .hero-actions { order: 3; margin-top: 24px; }
  .hero-lead { order: 4; margin-top: 30px; }
  .hero-small { order: 5; }
  .hero-actions .btn { width: calc(100% - 14px); white-space: normal; }
  /* The orange line never wraps (nowrap): cap the size so it is at most the
     text width / 10.5 em wide (it measures about 9.9 em). Never larger than
     the size above; the Chinese title keeps its own, more specific rule. */
  .hero-title { font-size: min(clamp(39px, 0.9rem + 6vw, 92px), calc((100vw - 2 * var(--gutter)) / 10.5)); }
}
@media (min-width: 700px) and (max-width: 899px) {
  .hero-inner { padding-top: clamp(240px, 38svh, 420px); }
}
@media (min-width: 900px) {
  .hero { align-items: center; }
  .hero-media { inset: 0 0 0 32%; height: auto; }
  .hero-img { object-position: 30% 50%; }
  .hero-media::after {
    background:
      linear-gradient(90deg, var(--carbon) 0%, rgba(13, 14, 16, 0.86) 16%, rgba(13, 14, 16, 0.35) 36%, rgba(13, 14, 16, 0) 60%, rgba(13, 14, 16, 0.25) 100%),
      linear-gradient(180deg, rgba(13, 14, 16, 0.35) 0%, rgba(13, 14, 16, 0) 28%, rgba(13, 14, 16, 0) 66%, var(--carbon) 100%);
  }
  .hero .streak-a { top: 69%; }
  .hero .streak-b { top: calc(69% + 9px); }
  .hero-inner { padding-top: clamp(48px, 6vh, 88px); padding-bottom: clamp(48px, 6vh, 88px); }
  .hero-frames {
    position: absolute;
    right: var(--gutter);
    bottom: clamp(48px, 6vh, 88px);
    width: clamp(260px, 26vw, 400px);
    margin: 0;
  }
}
@media (min-width: 900px) and (max-width: 1180px) {
  .hero-copy { max-width: 540px; }
  .hero-frames { width: 260px; }
}
/* Short laptop screens: everything, both buttons included, fits under the header. */
@media (min-width: 900px) and (max-height: 860px) {
  .hero-title { font-size: clamp(39px, 0.6rem + 5.4vw, 84px); }
  .hero-eyebrow { margin-bottom: 16px; }
  .hero-lead { margin-top: 18px; font-size: 17px; }
  .hero-small { margin-top: 12px; font-size: 14px; }
  .hero-actions { margin-top: 22px; }
}

/* ---------- Ticker: a slim telemetry strip ---------- */

.ticker {
  display: block;
  overflow: hidden;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ticker:focus-visible { outline-offset: -4px; }
.ticker-track { display: flex; width: max-content; animation: ticker 110s linear infinite; }
.ticker:hover .ticker-track,
.ticker:focus .ticker-track,
.ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-list { display: flex; flex: none; }
.ticker-list li {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: var(--caps);
  color: var(--soft);
}
html:lang(zh-Hans) .ticker-list li { font-family: var(--cjk); font-size: 14px; letter-spacing: 0; }
.ticker-list li::after {
  content: "";
  width: 14px;
  height: 9px;
  margin: 0 26px;
  background: var(--orange);
  color: var(--carbon);
  transform: skewX(var(--skew));
  flex: none;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- The life ---------- */

.life { isolation: isolate; }
.sec-head--arc { max-width: none; }
.sec-head--arc > :not(.arc) { max-width: min(980px, 62%); }
.arc { display: none; }
@media (max-width: 999px) {
  .sec-head--arc > :not(.arc) { max-width: 980px; }
}
@media (min-width: 1000px) {
  .arc { display: block; position: absolute; right: -2%; top: -36px; width: min(560px, 36%); z-index: -1; opacity: 0.6; pointer-events: none; }
}
.arc path, .arc line { fill: none; }
.arc-ticks { stroke: var(--steel); stroke-width: 18; stroke-dasharray: 2 14; stroke-opacity: 0.7; }
.arc-hair { stroke: var(--steel); stroke-width: 1; stroke-opacity: 0.6; }
.arc-red { stroke: var(--orange); stroke-width: 18; stroke-dasharray: 2 6; }
.arc-inner { stroke: var(--steel); stroke-width: 1; stroke-opacity: 0.35; }
.arc-needle { stroke: var(--orange); stroke-width: 3; }
.arc-pivot { fill: var(--graphite); stroke: var(--steel); stroke-width: 1.5; }

.life-tiles { display: grid; gap: clamp(28px, 3vw, 36px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .life-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.life-tile { --c: 22px; display: flex; flex-direction: column; }
.life-tile .frame { margin: 14px 14px 0; }
.tile-idx {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 3;
  padding: 6px 8px;
  background: rgba(13, 14, 16, 0.85);
  box-shadow: inset 2px 0 0 var(--orange);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--white);
}
.tile-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 24px 24px 28px; }
.life-tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: var(--track);
  text-transform: var(--caps);
  color: var(--orange);
}
html:lang(zh-Hans) .life-tag { font-family: var(--cjk); font-size: 14px; font-weight: 600; }
.life-title { font-size: clamp(23px, 1.1rem + 0.7vw, 28px); line-height: 1.02; }
.life-text { color: var(--steel); }
.life-q {
  position: relative;
  margin-top: auto;
  padding: 16px 0 0 20px;
  border-top: 1px solid var(--line);
  font-size: 17px;
  line-height: 1.45;
  color: var(--white);
}
.life-q::before { content: ""; position: absolute; left: 2px; top: 19px; bottom: 3px; width: 4px; background: var(--orange); transform: skewX(var(--skew)); }
.life-q strong { font-weight: 700; }
@media (min-width: 600px) and (max-width: 899px) {
  .life-tile { display: grid; grid-template-columns: 44% minmax(0, 1fr); align-items: stretch; }
  .life-tile .frame { margin: 14px 0 14px 14px; }
  .life-tile .shot { height: 100%; aspect-ratio: auto; min-height: 220px; }
}

/* ---------- Pass it on: the drive-mode selector ---------- */

.next-grid { display: grid; gap: 0 clamp(28px, 4vw, 64px); }
.next-grid .sec-head { margin-bottom: 0; }
.next .sec-title { max-width: 22ch; }
.next-text { margin-top: 24px; color: var(--soft); }
@media (min-width: 960px) {
  .next-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: end; }
  .next-text { margin-top: 0; }
}
.gears { display: grid; gap: 14px; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0 16px 0 10px; }
@media (min-width: 760px) { .gears { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.gear {
  position: relative;
  min-height: 132px;
  background: rgba(13, 14, 16, 0.55);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transform: skewX(var(--skew));
}
.gear-in { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 20px 24px 22px 30px; transform: skewX(var(--unskew)); }
.gear-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.gen-cap {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: var(--track);
  text-transform: var(--caps);
  color: var(--steel);
}
html:lang(zh-Hans) .gen-cap { font-family: var(--cjk); font-size: 14px; font-weight: 600; }
.lamp { width: 12px; height: 12px; border: 1.5px solid var(--steel); transform: skewX(var(--skew)); flex: none; }
.gen-name {
  font-family: var(--display);
  font-size: clamp(25px, 1.2rem + 1.2vw, 36px);
  font-weight: 900;
  font-style: var(--italic);
  line-height: 1;
  letter-spacing: var(--track-tight);
  text-transform: var(--caps);
  color: var(--white);
}
.gear-pips { display: flex; gap: 5px; margin-top: auto; }
.gear-pips i { width: 18px; height: 4px; background: var(--line-2); transform: skewX(var(--skew)); }
.gen-step--3 .gen-name { color: var(--steel); }
.gen-step--3 { box-shadow: inset 0 0 0 1px var(--line); }
.gear.is-on { background: var(--orange); color: var(--carbon); box-shadow: 0 0 0 1px var(--orange), 0 0 34px rgba(255, 90, 31, 0.28); }
.gear.is-on .gen-cap, .gear.is-on .gen-name { color: var(--carbon); }
.gear.is-on .lamp { background: var(--carbon); border-color: var(--carbon); }
.gear.is-on .gear-pips i { background: rgba(13, 14, 16, 0.85); }
@media (min-width: 760px) {
  .gear:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -19px;
    width: 11px;
    height: 11px;
    border-top: 2px solid var(--orange);
    border-right: 2px solid var(--orange);
    transform: translateY(-50%) skewX(var(--unskew)) rotate(45deg);
  }
}
.gear-rail { display: none; }
@media (min-width: 760px) {
  .gear-rail {
    display: block;
    height: 10px;
    margin: 18px 0 0 10px;
    background:
      linear-gradient(90deg, var(--orange) 0, var(--orange) 33.3%, transparent 33.3%) 0 0 / 100% 2px no-repeat,
      repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 22px) 0 2px / 100% 8px no-repeat;
  }
}
.gen-line {
  margin-top: clamp(44px, 6vw, 72px);
  padding-top: 24px;
  max-width: 30em;
  border-top: 1px solid var(--line);
  font-size: clamp(21px, 1rem + 1vw, 30px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
html:lang(zh-Hans) .gen-line { letter-spacing: 0; line-height: 1.5; }

/* ---------- Sound familiar? (chat) ---------- */

.chat { display: grid; gap: clamp(36px, 5vw, 52px); max-width: 1120px; }
.exchange { display: grid; gap: 18px; }
.msg { min-width: 0; }
.msg--us { margin-left: 10%; }
@media (min-width: 860px) {
  .exchange { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 0 36px; align-items: start; }
  .msg--us { margin-left: 0; margin-top: 52px; }
}
.msg-who {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: var(--track);
  text-transform: var(--caps);
  color: var(--steel);
}
html:lang(zh-Hans) .msg-who { font-family: var(--cjk); font-size: 13px; }
.msg-num { color: var(--orange); font-family: var(--mono); }
.msg-who--brand { justify-content: flex-start; }
.brand-tag {
  display: inline-block;
  padding: 4px 9px;
  box-shadow: inset 2px 0 0 var(--orange), inset 0 0 0 1px var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--orange);
}
.bubble { --c: 14px; padding: 20px 24px; font-size: clamp(17px, 1rem + 0.2vw, 19px); line-height: 1.55; }
html:lang(zh-Hans) .bubble { line-height: 1.8; }
.bubble--you { font-weight: 600; color: var(--white); }
.bubble--us { --edge: var(--orange); color: var(--soft); }

.me-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 16px 0 0 7px;
  padding: 0 18px;
  background: transparent;
  color: var(--white);
  border: 0;
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  font-style: var(--italic);
  letter-spacing: var(--track-btn);
  text-transform: var(--caps);
  cursor: pointer;
  transform: skewX(var(--skew));
  transition: background-color 0.15s, box-shadow 0.15s, color 0.15s;
}
html:lang(zh-Hans) .me-toggle { font-size: 15px; font-weight: 700; font-style: normal; }
.me-in { display: inline-flex; align-items: center; gap: 10px; transform: skewX(var(--unskew)); }
.me-toggle:hover { box-shadow: inset 0 0 0 1px var(--orange); }
.me-toggle[aria-pressed="true"] { background: var(--orange); color: var(--carbon); box-shadow: none; }
.me-toggle[aria-pressed="true"]:hover { background: var(--orange-hi); color: var(--carbon); }
.me-on { display: none; }
.me-toggle[aria-pressed="true"] .me-on { display: inline; }
.me-toggle[aria-pressed="true"] .me-off { display: none; }
.me-tick { position: relative; width: 16px; height: 16px; border: 1.5px solid var(--steel); transform: skewX(var(--skew)); flex: none; }
.me-toggle[aria-pressed="true"] .me-tick { background: var(--carbon); border-color: var(--carbon); }
.me-toggle[aria-pressed="true"] .me-tick::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0;
  width: 5px;
  height: 9px;
  border: solid var(--orange);
  border-width: 0 2px 2px 0;
  transform: skewX(var(--unskew)) rotate(45deg);
}
html.no-js .me-toggle { display: none; }

/* The floating "n on your list" tab. Its text is set by main.js, so the slant
   comes from clip-path rather than a skew. */
.list-pill {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 34px;
  background: var(--orange);
  color: var(--carbon);
  clip-path: polygon(11px 0, 100% 0, calc(100% - 11px) 100%, 0 100%);
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.5));
  font-family: var(--display);
  font-size: 14px;
  font-weight: 800;
  font-style: var(--italic);
  letter-spacing: var(--track-btn);
  text-transform: var(--caps);
  text-decoration: none;
}
html:lang(zh-Hans) .list-pill { font-size: 16px; font-style: normal; }
.list-pill:hover { background: var(--orange-hi); color: var(--carbon); }
.list-pill:focus-visible { outline-offset: -5px; outline-color: var(--carbon); }
.list-pill[hidden] { display: none; }
@media (max-width: 599px) {
  .list-pill { left: 16px; right: 16px; bottom: 16px; }
}

/* ---------- Your wealth hub ---------- */

.band {
  --c: 26px;
  display: grid;
  gap: 18px;
  margin-bottom: clamp(24px, 3vw, 36px);
  padding: clamp(26px, 4vw, 56px);
}
.band-tag {
  justify-self: start;
  margin-left: 4px;
  padding: 7px 14px;
  background: var(--orange);
  color: var(--carbon);
  transform: skewX(var(--skew));
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--track);
  text-transform: var(--caps);
}
.band-tag > span { display: inline-block; transform: skewX(var(--unskew)); }
html:lang(zh-Hans) .band-tag { font-family: var(--cjk); font-size: 14px; }
.band-title { font-size: clamp(32px, 1.2rem + 3vw, 58px); }
.band-text { max-width: 52em; font-size: clamp(17px, 0.98rem + 0.25vw, 19px); color: var(--soft); }
.done-by {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 16px;
}
.done-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: var(--track);
  text-transform: var(--caps);
  color: var(--steel);
}
html:lang(zh-Hans) .done-label { font-family: var(--cjk); font-size: 13px; }
.done-value { font-weight: 700; color: var(--white); }

.cards { display: grid; gap: clamp(24px, 3vw, 32px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { --c: 20px; display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3vw, 34px); }
.card:hover, .card:focus-within { --edge: var(--orange); }
.card-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.card-num {
  font-family: var(--mono);
  font-size: clamp(60px, 6.4vw, 96px);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--steel);
}
@supports (-webkit-text-stroke: 1px black) {
  .card-num { color: transparent; -webkit-text-stroke: 1.5px var(--steel); }
}
.card-tag {
  position: relative;
  padding: 5px 11px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: var(--track);
  text-transform: var(--caps);
  color: var(--orange);
}
html:lang(zh-Hans) .card-tag { font-family: var(--cjk); font-size: 13px; }
.card-title { font-size: clamp(23px, 1.1rem + 0.8vw, 30px); line-height: 1.02; }
.card-text { color: var(--steel); }
.card-bullets { display: grid; gap: 10px; }
.card-bullets li { position: relative; padding-left: 24px; font-size: 16px; font-weight: 600; line-height: 1.45; }
.card-bullets li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 10px; height: 6px; background: var(--orange); transform: skewX(var(--skew)); }
.card .done-by { margin-top: auto; }

/* ---------- Straight talk: two instrument panels ---------- */

.ledger { display: grid; gap: clamp(24px, 3vw, 36px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ledger-col { --c: 22px; padding: clamp(22px, 2.6vw, 36px); }
.ledger-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.ledger-title { font-size: clamp(26px, 1.2rem + 1.3vw, 38px); }
.lamps { display: flex; gap: 6px; }
.lamps i { width: 16px; height: 8px; border: 1px solid var(--line-2); transform: skewX(var(--skew)); }
.ledger-col--dont .lamps i { background: var(--orange); color: var(--carbon); border-color: var(--orange); }
.ledger-col--do .lamps i { background: var(--white); border-color: var(--white); }
.ledger-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--steel);
  line-height: 1.55;
}
.ledger-list li:last-child { border-bottom: 0; padding-bottom: 2px; }
.ledger-text strong { color: var(--white); font-weight: 700; }
.ind { position: relative; width: 34px; height: 28px; margin-top: 1px; transform: skewX(var(--skew)); }
.ledger-list--dont .ind { box-shadow: inset 0 0 0 1.5px var(--orange); }
.ledger-list--dont .ind::before, .ledger-list--dont .ind::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2.4px;
  background: var(--orange);
  color: var(--carbon);
  transform: translate(-50%, -50%) skewX(var(--unskew)) rotate(45deg);
}
.ledger-list--dont .ind::after { transform: translate(-50%, -50%) skewX(var(--unskew)) rotate(-45deg); }
.ledger-list--do .ind { background: var(--white); }
.ledger-list--do .ind::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 45%;
  width: 6px;
  height: 12px;
  border: solid var(--carbon);
  border-width: 0 2.4px 2.4px 0;
  transform: translate(-50%, -50%) skewX(var(--unskew)) rotate(45deg);
}

/* ---------- Family office check ---------- */

.fo-cards { display: grid; gap: clamp(24px, 3vw, 32px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .fo-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fo-card { --c: 20px; display: grid; align-content: start; gap: 16px; padding: clamp(24px, 3vw, 34px); }
.fo-card p { color: var(--steel); }
.fo-title { font-size: clamp(26px, 1.2rem + 1.2vw, 36px); }
.meter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; max-width: 220px; padding-left: 3px; }
.meter span { height: 12px; box-shadow: inset 0 0 0 1px var(--line-2); transform: skewX(var(--skew)); }
.fo-card--1 .meter span:nth-child(-n+1),
.fo-card--2 .meter span:nth-child(-n+2),
.fo-card--3 .meter span:nth-child(-n+3) { background: var(--orange); color: var(--carbon); box-shadow: none; }
.fo-note { margin-top: clamp(28px, 4vw, 44px); max-width: 46em; font-size: 15px; color: var(--steel); }

/* ---------- How it works: a timing line ---------- */

.steps { --num-h: 40px; position: relative; display: grid; gap: 34px; padding-left: 64px; }
.steps::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 6px;
  bottom: 6px;
  width: 10px;
  background:
    linear-gradient(var(--orange), var(--orange)) 0 0 / 2px 100% no-repeat,
    repeating-linear-gradient(180deg, var(--line-2) 0 1px, transparent 1px 18px) 2px 0 / 8px 100% no-repeat;
}
.step { position: relative; }
.step-num {
  position: absolute;
  left: -64px;
  top: 0;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: var(--num-h);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--orange);
}
.step-title { margin: 4px 0 10px; font-size: clamp(26px, 1.2rem + 1.2vw, 36px); }
.step p { max-width: 30em; color: var(--steel); }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 0; }
  .steps::before {
    left: 0;
    right: 0;
    top: calc(var(--num-h) / 2);
    bottom: auto;
    width: auto;
    height: 10px;
    background:
      linear-gradient(90deg, var(--orange), var(--orange)) 0 0 / 100% 2px no-repeat,
      repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 22px) 0 2px / 100% 8px no-repeat;
  }
  .step-num { position: relative; left: 4px; margin-bottom: 18px; }
}

.paid { --c: 20px; display: grid; gap: 10px; max-width: 820px; margin-top: clamp(44px, 6vw, 72px); padding: clamp(24px, 3vw, 34px); }
.paid-title { font-size: clamp(24px, 1.1rem + 1vw, 32px); }
.paid p { color: var(--soft); }

/* ---------- Who does what: the wheel ---------- */

.hub { margin: 0 0 clamp(48px, 6vw, 80px); }
.hub-svg { display: block; width: 100%; height: auto; overflow: visible; }
.hub-svg--wide { display: none; max-width: 1240px; margin: 0 auto; }
.hub-svg--compact { max-width: 420px; margin: 0 auto; }
@media (min-width: 900px) {
  .hub-svg--wide { display: block; }
  .hub-svg--compact { display: none; }
}
.wheel circle, .hub-dot { vector-effect: non-scaling-stroke; }
.tyre { fill: none; stroke: rgba(0, 0, 0, 0.75); stroke-width: 36; }
.tyre-edge { fill: none; stroke: var(--steel); stroke-opacity: 0.45; stroke-width: 1; }
.tyre-tread { fill: none; stroke: var(--steel); stroke-opacity: 0.12; stroke-width: 22; stroke-dasharray: 3 9; vector-effect: none; }
.rim { fill: var(--carbon); stroke: var(--steel); stroke-width: 1.6; }
.rim-ticks { fill: none; stroke: var(--steel); stroke-opacity: 0.55; stroke-width: 10; stroke-dasharray: 1.5 19.44; vector-effect: none; }
.rim-in { fill: none; stroke: var(--steel); stroke-opacity: 0.3; stroke-width: 1; }
.disc { fill: var(--graphite); stroke: var(--steel); stroke-opacity: 0.3; stroke-width: 1; }
.disc-holes { fill: none; stroke: var(--steel); stroke-opacity: 0.22; stroke-width: 6; stroke-dasharray: 5 13; vector-effect: none; }
.caliper { fill: none; stroke: var(--orange); stroke-width: 24; stroke-dasharray: 112 1233; vector-effect: none; }
.spoke { fill: var(--graphite); stroke: var(--steel); stroke-width: 1.6; stroke-linejoin: miter; }
.cap { fill: var(--graphite); stroke: var(--steel); stroke-width: 1.6; }
.cap-in { fill: var(--carbon); stroke: var(--orange); stroke-width: 1.4; }
.cap-ticks { fill: none; stroke: var(--steel); stroke-opacity: 0.5; stroke-width: 3; stroke-dasharray: 1 9.26; vector-effect: none; }
.hub-dot { fill: var(--carbon); stroke: var(--orange); stroke-width: 2; }
.hub-num { fill: var(--white); font-family: var(--mono); font-weight: 700; }
.hub-lead { stroke: var(--line-2); stroke-width: 1; }
.hub-pin { fill: var(--orange); color: var(--carbon); }
.hub-name-num { fill: var(--orange); font-family: var(--mono); font-weight: 600; letter-spacing: 0.08em; }
.hub-name { fill: var(--white); font-family: var(--display); font-weight: 800; font-style: var(--italic); text-transform: var(--caps); letter-spacing: 0.01em; }
.hub-centre { fill: var(--white); font-family: var(--display); font-weight: 900; font-style: var(--italic); text-transform: var(--caps); letter-spacing: var(--track-tight); }
.hub-tag { fill: var(--orange); color: var(--carbon); }
.hub-tag-text { fill: var(--carbon); font-family: var(--mono); font-weight: 600; letter-spacing: 0.12em; text-transform: var(--caps); }
html:lang(zh-Hans) .hub-tag-text { font-family: var(--cjk); letter-spacing: 0; }

.who-list { border-bottom: 1px solid var(--line); }
.who-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 6px 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.who-idx {
  display: inline-grid;
  place-items: center;
  position: relative;
  width: 42px;
  height: 30px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
}
.who-row--us .who-idx { background: var(--orange); color: var(--carbon); width: 22px; height: 12px; margin: 9px 0 0 10px; transform: skewX(var(--skew)); }
.who-row--us .who-idx::before { display: none; }
.who-name {
  font-family: var(--display);
  font-size: clamp(21px, 1.1rem + 0.8vw, 28px);
  font-weight: 900;
  font-style: var(--italic);
  line-height: 1.1;
  letter-spacing: var(--track-tight);
  text-transform: var(--caps);
}
html:lang(zh-Hans) .who-name { line-height: 1.35; }
.who-text { grid-column: 2; color: var(--steel); }
.us-tag {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  padding: 4px 10px;
  background: var(--orange);
  color: var(--carbon);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: var(--caps);
}
html:lang(zh-Hans) .us-tag { font-family: var(--cjk); font-size: 13px; letter-spacing: 0; }
.who-row--us .who-text { color: var(--white); }
@media (min-width: 800px) {
  .who-row { grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.3fr); align-items: center; padding: 24px 0; }
  .who-text { grid-column: 3; }
}

/* ---------- Team (only when site.json lists people) ---------- */

.team { border-top: 1px solid var(--line); }
.team-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.person { --c: 18px; display: grid; gap: 10px; align-content: start; padding: 26px; }
.person-photo { width: 96px; height: 96px; object-fit: cover; filter: saturate(0.5) contrast(1.12) brightness(0.85); }
.person-mono {
  display: inline-grid;
  place-items: center;
  width: 72px;
  position: relative;
  height: 56px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 20px;
  color: var(--orange);
}
.person-name { font-size: 24px; }
.person-role { font-family: var(--mono); font-size: 13px; color: var(--steel); }
.person-bio { color: var(--steel); }

/* ---------- Contact ---------- */

.contact { isolation: isolate; overflow: hidden; }
.contact .streak-a { top: clamp(120px, 14vw, 220px); }
.contact .streak-b { top: calc(clamp(120px, 14vw, 220px) + 9px); }
.contact-title { font-size: clamp(56px, 1.6rem + 8vw, 150px); line-height: 0.88; letter-spacing: -0.045em; }
html:lang(zh-Hans) .contact-title { font-size: clamp(48px, 1.4rem + 6.4vw, 120px); line-height: 1.1; letter-spacing: 0; }
.sec-head--contact .sec-intro { color: var(--soft); font-size: clamp(18px, 1rem + 0.4vw, 22px); }

.contact-grid { display: grid; gap: clamp(32px, 4vw, 56px); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }

.enquiry {
  --c: 24px;
  display: grid;
  gap: 22px 20px;
  grid-template-columns: minmax(0, 1fr);
  padding: clamp(22px, 4vw, 44px);
}
@media (min-width: 640px) { .enquiry { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 8px; min-width: 0; }
.field--full, .form-required-note { grid-column: 1 / -1; }
.form-required-note { font-size: 14px; color: var(--steel); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.field > label, .field legend { padding: 0; font-size: 15px; font-weight: 600; color: var(--white); }
.field legend { margin-bottom: 12px; }
.req { color: var(--orange); }

.enquiry input[type="text"],
.enquiry input[type="email"],
.enquiry textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  font: inherit;
  font-size: 17px;
  line-height: 1.4;
  color: var(--white);
  background: var(--carbon);
  border: 1px solid var(--steel);
  border-radius: 0;
  appearance: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.enquiry textarea { min-height: 140px; resize: vertical; }
.enquiry input[type="text"]:focus,
.enquiry input[type="email"]:focus,
.enquiry textarea:focus { border-color: var(--orange); box-shadow: inset 3px 0 0 var(--orange); outline: none; }
.enquiry input:focus-visible, .enquiry textarea:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.enquiry [aria-invalid="true"] { border-color: var(--error); }
.field-error { font-size: 15px; font-weight: 600; color: var(--error); }
.field-error[hidden] { display: none; }

.choices { display: flex; flex-wrap: wrap; gap: 10px 12px; padding-left: 5px; }
.choice { position: relative; display: inline-flex; cursor: pointer; }
.choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.choice-face {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--white);
  transform: skewX(var(--skew));
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  transition: background-color 0.15s, box-shadow 0.15s, color 0.15s;
}
.choice-in { display: inline-flex; align-items: center; gap: 9px; transform: skewX(var(--unskew)); }
.choice:hover .choice-face { box-shadow: inset 0 0 0 1px var(--orange); }
.choice input:checked + .choice-face { background: var(--orange); color: var(--carbon); box-shadow: none; }
.choice input:focus-visible + .choice-face { outline: 2px solid var(--orange); outline-offset: 3px; }
.chip-tick { position: relative; width: 14px; height: 14px; border: 1.5px solid var(--steel); flex: none; }
.choice input:checked + .choice-face .chip-tick { background: var(--carbon); border-color: var(--carbon); }
.choice input:checked + .choice-face .chip-tick::after {
  content: "";
  position: absolute;
  left: 3px;
  top: -1px;
  width: 5px;
  height: 9px;
  border: solid var(--orange);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.choices--chips .choice-face { padding: 9px 16px; white-space: normal; }

[data-handle][hidden] { display: none; }

.field--check { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 4px 14px; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--orange); }
.field--check label { font-size: 15px; font-weight: 400; color: var(--soft); }
.field--check label a { color: var(--white); }
.field--check .field-error { grid-column: 2; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 6px; padding-left: 7px; }
.form-status { font-weight: 600; font-size: 16px; color: var(--white); }
.form-status:empty { display: none; }
.form-status[data-state="error"] { color: var(--error); }
.form-note, .form-safety { margin-top: 18px; max-width: 46em; font-size: 15px; color: var(--steel); }
.form-safety { padding-left: 14px; border-left: 1px solid var(--orange); color: var(--soft); }

.contact-aside { --c: 20px; padding: clamp(24px, 3vw, 34px); }
.aside-title { margin-bottom: 18px; font-size: clamp(22px, 1rem + 0.9vw, 28px); }
.aside-row { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); }
.aside-row dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: var(--track);
  text-transform: var(--caps);
  color: var(--steel);
}
html:lang(zh-Hans) .aside-row dt { font-family: var(--cjk); font-size: 13px; }
.aside-row dd { font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.aside-row a { display: inline-flex; align-items: center; min-height: 44px; color: var(--orange); }

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  padding: clamp(48px, 6vw, 80px) 0 40px;
  background: var(--carbon);
  color: var(--white);
  border-top: 1px solid var(--line);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.wordmark--footer .wm-name { font-size: clamp(34px, 1.4rem + 2.6vw, 56px); }
.wordmark--footer .wm-bar { width: 22px; height: 32px; }
.footer-tagline {
  margin-top: 12px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 900;
  font-style: var(--italic);
  letter-spacing: 0.01em;
  text-transform: var(--caps);
}
html:lang(zh-Hans) .footer-tagline { font-style: normal; letter-spacing: 0; }
.footer-side { display: grid; gap: 8px; align-content: start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); }
.footer-bottom { display: grid; gap: 14px; padding-top: 26px; }
.footer-notice { max-width: 70em; font-size: 14px; line-height: 1.65; color: var(--steel); }
html:lang(zh-Hans) .footer-notice { line-height: 1.85; }
.company-line, .copyright { font-family: var(--mono); font-size: 12px; color: var(--steel); }

/* ---------- Legal page ---------- */

.legal { position: relative; padding: clamp(56px, 8vw, 120px) 0 clamp(72px, 9vw, 136px); }
.legal-head { margin-bottom: clamp(36px, 5vw, 64px); }
.legal-h1 { font-size: clamp(42px, 1.4rem + 5.4vw, 104px); line-height: 0.92; letter-spacing: -0.035em; }
html:lang(zh-Hans) .legal-h1 { line-height: 1.15; letter-spacing: 0; }
.legal-sec {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px 32px;
  max-width: 1040px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.legal-num { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--orange); }
.legal-body { display: grid; gap: 12px; max-width: 46em; }
.legal-body h2 { font-size: clamp(22px, 1.1rem + 0.9vw, 30px); line-height: 1.05; }
.legal-body p { color: var(--soft); }
.legal-body a { color: var(--white); font-weight: 600; }
.legal-list { display: grid; gap: 14px; }
.legal-list dt { font-weight: 700; color: var(--white); }
.legal-list dd { color: var(--steel); }
@media (min-width: 760px) {
  .legal-sec { grid-template-columns: 80px minmax(0, 1fr); }
  .legal-num { padding-top: 0.5em; }
}

/* ---------- Motion (only ever started by main.js; the resting state is final) ---------- */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  html.js .is-revealing { animation: reveal 0.62s var(--ease) var(--reveal-delay, 0ms) backwards; }
  html.js .hero.is-playing .streak-a { animation: streak 1.4s var(--ease) 200ms backwards; }
  html.js .hero.is-playing .streak-b { animation: streak 1.4s var(--ease) 420ms backwards; }
  html.js .hub.is-drawing .spoke { animation: spoke-in 0.6s var(--ease) backwards; }
  html.js .hub.is-drawing .spoke:nth-child(2) { animation-delay: 80ms; }
  html.js .hub.is-drawing .spoke:nth-child(3) { animation-delay: 160ms; }
  html.js .hub.is-drawing .spoke:nth-child(4) { animation-delay: 240ms; }
  html.js .hub.is-drawing .spoke:nth-child(5) { animation-delay: 320ms; }
  html.js .hub.is-drawing .spoke:nth-child(6) { animation-delay: 400ms; }
  html.js .hub.is-drawing .caliper { animation: caliper 1.2s var(--ease) 300ms backwards; }
}
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } }
@keyframes streak { from { opacity: 0; transform: translateX(-40%); } }
@keyframes spoke-in { from { opacity: 0.15; } }
@keyframes caliper { from { stroke-dasharray: 0 1345; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ticker { overflow: visible; }
  .ticker-track { width: auto; padding: 0 var(--gutter); }
  .ticker-list { flex-wrap: wrap; row-gap: 8px; }
  .ticker-list li { white-space: normal; }
  .ticker-list--copy { display: none; }
}
