/* AME China — "夜航 / Night flight" design system
   Base: night-sky navy. Text: titanium. One accent: the orange trajectory from the AME logo.
   The particle field is the single bold element; everything else stays quiet. */

/* ---------- type system ----------
   Latin and Cyrillic: Inter (text) and Inter Display (headings, figures).
   Chinese: Noto Sans SC / Source Han Sans — Regular for text, Light for headings.
   On Chinese pages Latin letters and digits still come from Inter ("AME Latin" faces cover
   Latin only), while Chinese characters and Chinese punctuation come from Noto Sans SC.
   Two weights per script: Latin 400/500 text, 200/300 display; Chinese 400 text, 300 display. */
@font-face { font-family: "AME Sans"; src: url("/fonts/inter-400.woff?v=8ef3cbdb") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "AME Sans"; src: url("/fonts/inter-500.woff?v=7e057732") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "AME Display"; src: url("/fonts/inter-display-200.woff?v=1fc6d3fb") format("woff"); font-weight: 200; font-display: swap; }
@font-face { font-family: "AME Display"; src: url("/fonts/inter-display-300.woff?v=75ea9a99") format("woff"); font-weight: 300; font-display: swap; }
@font-face { font-family: "AME Latin"; src: url("/fonts/inter-400.woff?v=8ef3cbdb") format("woff"); font-weight: 400; font-display: swap; unicode-range: U+0020-007E, U+00A0-00B6, U+00B8-00FF, U+0100-017F, U+0400-045F, U+2013, U+2022, U+2032-2033, U+20AC, U+2122, U+2190-2193, U+2212, U+2248, U+2264-2265; }
@font-face { font-family: "AME Latin"; src: url("/fonts/inter-500.woff?v=7e057732") format("woff"); font-weight: 500; font-display: swap; unicode-range: U+0020-007E, U+00A0-00B6, U+00B8-00FF, U+0100-017F, U+0400-045F, U+2013, U+2022, U+2032-2033, U+20AC, U+2122, U+2190-2193, U+2212, U+2248, U+2264-2265; }
@font-face { font-family: "AME Latin Display"; src: url("/fonts/inter-display-300.woff?v=75ea9a99") format("woff"); font-weight: 300; font-display: swap; unicode-range: U+0020-007E, U+00A0-00B6, U+00B8-00FF, U+0100-017F, U+0400-045F, U+2013, U+2022, U+2032-2033, U+20AC, U+2122, U+2190-2193, U+2212, U+2248, U+2264-2265; }
@font-face { font-family: "AME Sans SC"; src: url("/fonts/noto-sc-400.woff?v=2a217a12") format("woff"); font-weight: 400; font-display: swap; unicode-range: U+00B7, U+2014-2015, U+2018-201F, U+2026, U+2E80-9FFF, U+F900-FAFF, U+FE30-FE4F, U+FF00-FFEF; }
@font-face { font-family: "AME Display SC"; src: url("/fonts/noto-sc-display-300.woff?v=a00f9bbb") format("woff"); font-weight: 300; font-display: swap; unicode-range: U+00B7, U+2014-2015, U+2018-201F, U+2026, U+2E80-9FFF, U+F900-FAFF, U+FE30-FE4F, U+FF00-FFEF; }

:root {
  --night: #060a12;
  --night-2: #08101b;
  --hangar: #0d1521;
  --hangar-2: #121c2b;
  --rule: #1b2738;
  --rule-strong: #2a3a52;
  --titanium: #e4eaf2;
  --titanium-2: #c3ccd8;
  --haze: #8b98ac;
  --haze-2: #74829a;
  --signal: #4aa8ea;
  --trajectory: #ef5f1f;
  --trajectory-soft: rgba(239, 95, 31, 0.16);

  --sans: "AME Sans", "Helvetica Neue", Arial, sans-serif;
  --display: "AME Display", "AME Sans", "Helvetica Neue", Arial, sans-serif;
  --cjk-fallback: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;

  /* one size scale for the whole site; every font-size below uses these */
  --t-micro: 0.75rem;     /* sources, footnotes */
  --t-small: 0.8125rem;   /* labels, meta, captions */
  --t-ui: 0.875rem;       /* navigation, buttons, secondary text */
  --t-body: 1.0625rem;    /* body text, item titles */
  --t-lead: 1.1875rem;    /* lead paragraphs */
  --t-title: 1.5rem;      /* card and block titles */
  --t-h3: 2rem;           /* figures, sub-section titles */
  --t-h2: clamp(2.25rem, 1.6rem + 2.2vw, 3.25rem);
  --t-h1: clamp(2.75rem, 1.6rem + 4.4vw, 5.25rem);
  --t-hero: clamp(2.1rem, 0.6rem + 3.2vw, 4.1rem);
  --t-stat: clamp(2.2rem, 1rem + 2.6vw, 3.75rem);
  /* older names kept as aliases */
  --step--1: var(--t-small);
  --step-1: var(--t-lead);
  --step-2: var(--t-title);
  --step-3: var(--t-h3);
  --step-4: var(--t-h2);
  --step-5: var(--t-h1);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --measure: 38em;
  --header-h: 72px;
  --util-h: 34px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

:lang(zh) {
  --sans: "AME Latin", "AME Sans SC", var(--cjk-fallback);
  --display: "AME Latin Display", "AME Display SC", "AME Sans SC", var(--cjk-fallback);
  --t-ui: 0.875rem;
  --t-body: 1rem;
  --t-lead: 1.125rem;
  --t-hero: clamp(2.6rem, 0.9rem + 4.4vw, 5.4rem);
  --measure: 34em;
}
/* the language switch shows 中 on every page; it must not pull the Chinese web font onto en/ru pages */
.lang a:lang(zh) { font-family: var(--cjk-fallback); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--night);
  color: var(--titanium);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.62;
  font-feature-settings: "cv11", "ss01";
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
:lang(zh) body, body:lang(zh) { line-height: 1.86; letter-spacing: 0.02em; }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 0.22em; }
a:hover { text-decoration-color: var(--trajectory); }
:focus-visible { outline: 2px solid var(--trajectory); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--trajectory); color: #fff; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 300; margin: 0; line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3, :lang(zh) h4 { letter-spacing: 0.04em; line-height: 1.3; }
.num, .tabular, time { font-variant-numeric: tabular-nums; }
p { margin: 0 0 1em; text-wrap: pretty; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- particle field ---------- */
/* as tall as the large viewport: a phone toolbar showing or hiding never resizes the canvas */
#field { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; }
.vignette {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 70% 40%, transparent 40%, rgba(6, 10, 18, 0.65) 100%),
    linear-gradient(180deg, rgba(6, 10, 18, 0.0) 60%, rgba(6, 10, 18, 0.6) 100%);
}
[data-intensity="low"] .vignette { background: rgba(6, 10, 18, 0.55); }
.page { position: relative; z-index: 1; }
html.is-leaving .page, html.is-leaving #field, html.is-leaving .search-layer { opacity: 0; transition: opacity .2s var(--ease); }
.page, #field { animation: arrive .6s var(--ease) backwards; }
@keyframes arrive { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 1020px) { :root { --util-h: 0px; } }

/* ---------- header ----------
   Two rows on wide screens: a thin utility row (phone, email, languages) that slides away once
   the page scrolls, and the main bar with the menus and search. */
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--titanium); color: var(--night); padding: 8px 14px; }
.skip:focus { top: 12px; }
.masthead { position: fixed; inset: 0 0 auto 0; z-index: 30; }
.utility { height: var(--util-h); overflow: hidden; background: rgba(6, 10, 18, 0.9); border-bottom: 1px solid var(--rule); font-size: var(--t-small); color: var(--haze); }
.utility-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gutter); }
.utility-contact { margin: 0; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.utility-contact .k { color: var(--haze-2); }
.utility-contact a { color: var(--titanium-2); text-decoration: none; margin-right: 20px; font-variant-numeric: tabular-nums; }
.utility-contact a:hover { color: var(--titanium); }
.lang { display: flex; gap: 2px; }
.lang a { text-decoration: none; font-size: var(--t-small); color: var(--haze); padding: 3px 8px; border-radius: 2px; }
.lang a:hover { color: var(--titanium); }
.lang a[aria-current="true"] { color: var(--titanium); background: var(--hangar-2); }
.mainbar { height: var(--header-h); display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter); background: linear-gradient(180deg, rgba(6, 10, 18, 0.94), rgba(6, 10, 18, 0.0)); transition: background .3s var(--ease); }
.masthead.is-solid .mainbar { background: rgba(6, 10, 18, 0.97); box-shadow: 0 1px 0 var(--rule); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 30px; width: auto; }
.primary { margin-left: auto; height: 100%; }
.nav { list-style: none; margin: 0; padding: 0; display: flex; height: 100%; gap: clamp(14px, 1.8vw, 30px); }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item.is-mega { position: static; }
.nav-link { text-decoration: none; font-size: var(--t-ui); color: var(--titanium-2); padding: 6px 0; position: relative; white-space: nowrap; }
:lang(zh) .nav-link { letter-spacing: 0.06em; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--trajectory); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .nav-link.is-section::after { transform: scaleX(1); }
.nav-link[aria-current="page"], .nav-link.is-section, .nav-item.is-open > .nav-link { color: var(--titanium); }
.nav-caret { position: relative; width: 18px; height: 22px; margin-left: 2px; padding: 0; background: none; border: 0; color: var(--haze); cursor: pointer; }
.nav-caret::before { content: ""; position: absolute; left: 6px; top: 7px; width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); transition: transform .3s var(--ease); }
.nav-item.is-open > .nav-caret::before { transform: translateY(3px) rotate(-135deg); }
.nav-caret:hover { color: var(--titanium); }
.nav-panel { position: absolute; top: 100%; left: -20px; z-index: 2; min-width: 220px; padding: 8px 0; background: #080d16; border: 1px solid var(--rule-strong); border-top: 2px solid var(--trajectory); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s linear .25s; }
.nav-item.is-open > .nav-panel { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.nav-panel ul { list-style: none; margin: 0; padding: 0; }
.nav-panel li a { display: block; padding: 9px 22px; font-size: var(--t-ui); color: var(--titanium-2); text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.nav-panel li a:hover, .nav-panel li a:focus-visible { background: var(--hangar-2); color: var(--titanium); }
.nav-panel--mega { left: 0; right: 0; min-width: 0; padding: 32px 0 36px; border-left: 0; border-right: 0; }
.mega { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 40px); }
.mega-title { font-family: var(--display); font-weight: 300; font-size: var(--t-title); color: var(--titanium); margin: 0 0 10px; }
.mega-lede { font-size: var(--t-small); color: var(--haze); line-height: 1.7; margin: 0 0 16px; max-width: 26em; }
.mega-cat { display: block; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid var(--rule-strong); font-size: var(--t-body); color: var(--titanium); text-decoration: none; transition: border-color .3s var(--ease); }
.mega-cat:hover { border-bottom-color: var(--trajectory); }
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col li a { display: block; padding: 5px 0; font-size: var(--t-small); line-height: 1.5; color: var(--haze); text-decoration: none; }
.mega-col li a:hover { color: var(--titanium); }
.search-btn { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 7px 12px; border: 1px solid var(--rule-strong); border-radius: 2px; color: var(--titanium-2); font-size: var(--t-ui); text-decoration: none; transition: border-color .3s var(--ease), color .3s var(--ease); }
.search-btn:hover { border-color: var(--trajectory); color: var(--titanium); }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: none; border: 0; color: var(--titanium); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.burger { position: relative; display: block; width: 22px; height: 14px; }
.burger i { position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 1px; background: currentColor; transition: top .3s var(--ease), transform .35s var(--ease), opacity .2s; }
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 6px; right: 6px; }
.burger i:nth-child(3) { top: 12px; }
.masthead.is-open .burger i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.masthead.is-open .burger i:nth-child(2) { opacity: 0; }
.masthead.is-open .burger i:nth-child(3) { top: 6px; transform: rotate(-45deg); }
.menu-extra { display: none; }

@media (max-width: 1020px) {
  .utility, .primary { display: none; }
  .search-btn { margin-left: auto; width: 44px; height: 44px; padding: 0; justify-content: center; border: 0; }
  .search-btn .i-search { width: 20px; height: 20px; }
  .search-btn span { display: none; }
  .menu-toggle { display: inline-flex; }
  .mainbar { gap: 2px; padding-right: max(8px, calc(var(--gutter) - 10px)); }
  .masthead.is-open { height: 100dvh; overflow-y: auto; background: rgba(6, 10, 18, 0.985); }
  .masthead.is-open .mainbar { height: auto; flex-wrap: wrap; row-gap: 0; background: none; box-shadow: none; }
  .masthead.is-open .brand { height: var(--header-h); }
  .masthead.is-open .primary { display: block; order: 3; flex-basis: 100%; height: auto; margin: 0; padding: 4px 0 0; }
  .masthead.is-open .nav { flex-direction: column; height: auto; gap: 0; }
  .masthead.is-open .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--rule); }
  .masthead.is-open .nav-link { flex: 1; font-size: var(--t-title); padding: 14px 0; }
  .masthead.is-open .nav-link::after { display: none; }
  .masthead.is-open .nav-caret { width: 44px; height: 44px; }
  .masthead.is-open .nav-caret::before { left: 18px; top: 17px; width: 7px; height: 7px; }
  .masthead.is-open .nav-panel { position: static; display: none; width: 100%; min-width: 0; padding: 0 0 12px; background: none; border: 0; box-shadow: none; visibility: visible; opacity: 1; transform: none; transition: none; }
  .masthead.is-open .nav-item.is-open > .nav-panel { display: block; }
  .masthead.is-open .nav-panel li a, .masthead.is-open .mega-cat { padding: 9px 0 9px 14px; font-size: var(--t-ui); color: var(--titanium-2); border: 0; margin: 0; white-space: normal; }
  .masthead.is-open .mega { display: block; padding: 0; }
  .masthead.is-open .mega-intro, .masthead.is-open .mega-col ul { display: none; }
  .masthead.is-open .menu-extra { display: block; padding: 22px var(--gutter) 48px; }
  .menu-extra .lang { padding: 0 0 18px; }
  .menu-extra .lang a { font-size: var(--t-ui); padding: 8px 12px 8px 0; background: none; }
  .menu-extra .lang a[aria-current="true"] { color: var(--trajectory); }
  .menu-contact { display: grid; gap: 10px; margin: 0; }
  .menu-contact .btn { display: grid; gap: 2px; justify-items: start; padding: 12px 16px; font-size: var(--t-body); font-variant-numeric: tabular-nums; }
  .menu-contact .btn small { font-size: var(--t-small); color: var(--haze); }
  .masthead.is-open .nav-item { animation: menu-in .5s var(--ease) backwards; }
  .masthead.is-open .nav-item:nth-child(2) { animation-delay: .04s; }
  .masthead.is-open .nav-item:nth-child(3) { animation-delay: .08s; }
  .masthead.is-open .nav-item:nth-child(4) { animation-delay: .12s; }
  .masthead.is-open .nav-item:nth-child(5) { animation-delay: .16s; }
  .masthead.is-open .nav-item:nth-child(6) { animation-delay: .2s; }
  .masthead.is-open .nav-item:nth-child(7) { animation-delay: .24s; }
  .masthead.is-open .menu-extra { animation: menu-in .5s var(--ease) .26s backwards; }
  @keyframes menu-in { from { opacity: 0; transform: translateY(10px); } }
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 40px); }
.section { padding: clamp(72px, 12vh, 160px) 0; position: relative; }
.section + .section { border-top: 1px solid var(--rule); }
.kicker { font-size: var(--t-small); color: var(--haze); margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--trajectory); }
.lede { font-size: var(--t-lead); color: var(--titanium-2); max-width: var(--measure); line-height: 1.6; }
:lang(zh) .lede { line-height: 1.9; }
.prose { max-width: var(--measure); color: var(--titanium-2); }
.prose p:last-child { margin-bottom: 0; }
.muted { color: var(--haze); }
.source-note { font-size: var(--t-small); color: var(--haze-2); margin-top: 18px; }
.source-note a { color: var(--haze); }

/* ---------- home: chapters ---------- */
.chapter { min-height: 100vh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 80px; position: relative; }
.chapter .wrap { position: relative; }
.chapter-copy { grid-column: 1 / span 6; }
.chapter--right .chapter-copy { grid-column: 7 / span 6; }
.chapter h2 { font-size: var(--t-h1); margin-bottom: 28px; }
.chapter .lede + .actions { margin-top: 36px; }
/* 404 keeps the simple chapter layout */
.hero--plain { min-height: 100svh; align-items: flex-end; padding-bottom: clamp(56px, 10vh, 120px); }
.hero--plain h1 { font-size: var(--t-h1); margin-bottom: 24px; }

/* ---------- home: hero ---------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--header-h) + var(--util-h) + 5vh); position: relative; }
.hero-main { flex: 1; display: flex; align-items: center; }
.hero-copy { max-width: min(48rem, 54%); padding-top: 2vh; }
.hero-org { display: flex; align-items: center; gap: 14px; font-size: var(--t-ui); color: var(--titanium-2); margin: 0 0 26px; letter-spacing: 0.02em; }
:lang(zh) .hero-org { letter-spacing: 0.12em; }
.hero-org::before { content: ""; width: 36px; height: 1px; background: var(--trajectory); flex: none; }
.hero h1 { font-size: var(--t-hero); font-weight: 200; line-height: 1.08; margin-bottom: 30px; text-shadow: 0 0 40px rgba(6, 10, 18, 0.85); }
:lang(zh) .hero h1 { font-weight: 300; line-height: 1.18; letter-spacing: 0.04em; }
.hero h1 span { display: block; }
.hero .lede { max-width: 34em; text-shadow: 0 0 24px rgba(6, 10, 18, 0.9); }
.hero .actions { margin-top: 36px; }
.hero-band { position: relative; margin-top: clamp(40px, 7vh, 88px); background: linear-gradient(180deg, rgba(6, 10, 18, 0) 0%, rgba(6, 10, 18, 0.82) 38%); }
.hero-stats { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule-strong); }
.hero-stats li { padding: 24px 24px 20px 0; border-right: 1px solid var(--rule); }
.hero-stats li + li { padding-left: 24px; }
.hero-stats li:last-child { border-right: 0; }
.hero-stats .num { font-family: var(--display); font-weight: 300; font-size: var(--t-stat); line-height: 1; font-variant-numeric: tabular-nums; margin: 0 0 12px; color: var(--titanium); letter-spacing: -0.01em; }
.hero-stats .num small { font-family: var(--sans); font-size: var(--t-ui); font-weight: 400; color: var(--titanium-2); margin: 0 4px; letter-spacing: 0; }
.hero-stats .label { font-size: var(--t-ui); line-height: 1.5; color: var(--haze); margin: 0; max-width: 18em; }
.shape-caption { position: fixed; right: var(--gutter); top: calc(var(--header-h) + var(--util-h) + 14px); z-index: 2; margin: 0; font-size: var(--t-micro); color: var(--haze); opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; text-shadow: 0 0 12px var(--night); }
.shape-caption.is-on { opacity: 1; }
html:not(.has-field) .shape-caption { display: none; }

/* ---------- home: sections ----------
   On wide screens the content of every home section stays in the left seven columns; the right
   five are the particle window (app.js, data-zone="right"), so shapes never sit on images or text. */
.home-sec { position: relative; padding: clamp(96px, 16vh, 180px) 0; }
.home-sec + .home-sec { border-top: 1px solid var(--rule); }
.home-sec > .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 40px); }
.sec-body { grid-column: 1 / span 7; min-width: 0; }
.sec-head { margin-bottom: clamp(36px, 6vh, 64px); }
.sec-head h2, .sec-title { font-size: var(--t-h2); margin-bottom: 22px; }
.sec-head .lede { margin: 0; }
.actions--after { margin-top: 32px; }

.domain-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.domain-cards a { display: flex; flex-direction: column; height: 100%; background: rgba(9, 15, 25, 0.94); text-decoration: none; transition: background .3s var(--ease); }
.domain-cards a:hover { background: rgba(14, 23, 37, 0.98); }
.domain-cards .ph { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--hangar); }
.domain-cards .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.domain-cards .ph.cut img { object-fit: contain; padding: 6%; }
.domain-cards a:hover .ph img { transform: scale(1.04); }
.domain-cards .body { display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 20px; flex: 1; }
.domain-cards h3 { font-size: var(--t-title); }
.domain-cards .lead { color: var(--titanium-2); font-size: var(--t-ui); line-height: 1.65; }
.domain-cards .meta { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: center; color: var(--haze); font-size: var(--t-small); }
.arrow { width: 22px; height: 1px; background: var(--trajectory); position: relative; transition: width .3s var(--ease); }
.arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid var(--trajectory); border-right: 1px solid var(--trajectory); transform: rotate(45deg); }
.domain-cards a:hover .arrow, .quick a:hover .arrow { width: 34px; }

.feature-copy h2 { font-size: var(--t-h2); margin-bottom: 22px; }
.feature-copy .actions { margin-top: 32px; }
.figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 36px 0 0; border-top: 1px solid var(--rule-strong); }
.figures div { padding: 18px 20px 18px 0; border-bottom: 1px solid var(--rule); }
.figures div:nth-child(odd) { border-right: 1px solid var(--rule); }
.figures div:nth-child(even) { padding-left: 20px; }
.figures dt { font-size: var(--t-small); color: var(--haze); margin-bottom: 6px; }
.figures dd { margin: 0; font-family: var(--display); font-size: var(--t-title); font-weight: 300; color: var(--titanium); font-variant-numeric: tabular-nums; }
/* the running machine first, full width; the two site photos below it */
.media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: clamp(44px, 7vh, 80px); align-items: start; }
.media-grid > figure { margin: 0; }
.media-grid > .film { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.media-grid .frame { aspect-ratio: 4 / 3; overflow: hidden; }
.media-grid .frame img { width: 100%; height: 100%; object-fit: cover; }
.media-grid figcaption { font-size: var(--t-small); color: var(--haze); margin-top: 10px; }
.media-grid .film figcaption { margin-top: 0; }
.wide-film .film { margin-top: clamp(44px, 7vh, 80px); }

.partner-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); border-top: 1px solid var(--rule-strong); border-left: 1px solid var(--rule); }
.partner-wall li { padding: 22px 20px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: var(--t-body); color: var(--titanium); background: rgba(6, 10, 18, 0.72); }
:lang(zh) .partner-wall li { letter-spacing: 0.06em; }

.home-join { padding-bottom: clamp(120px, 20vh, 220px); }

/* a section whose side column holds a shape gets room for it */
@media (min-width: 901px) { .section--stage { min-height: 86vh; } }

/* ---------- shape bands (phones) ----------
   On small screens each stage reserves a strip in the page flow; its shape is drawn inside it. */
.shape-band { display: none; }
.shape-band-cap { position: absolute; right: var(--gutter); bottom: 4px; max-width: 72%; margin: 0; font-size: var(--t-micro); line-height: 1.4; text-align: right; color: var(--haze-2); text-shadow: 0 0 10px var(--night); }

@media (max-width: 900px) {
  .shape-band { display: block; position: relative; height: var(--band, 34svh); min-height: 200px; max-height: 360px; pointer-events: none; }
  html.no-field .shape-band { display: none; }
  .shape-caption { display: none; }
  .hero .shape-band { --band: 38svh; max-height: 400px; }
  .page-head .shape-band { --band: 30svh; max-height: 300px; }

  .hero { min-height: 0; padding-top: var(--header-h); }
  .hero-main { padding-top: 8px; }
  .hero-copy { max-width: none; padding-top: 0; }
  .hero-band { margin-top: 48px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stats li, .hero-stats li + li { padding: 18px 14px 16px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .hero-stats li:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--rule); }

  .home-sec { padding: 8px 0 clamp(64px, 10vh, 96px); }
  .home-sec > .wrap { display: block; }
  .sec-head h2, .sec-title, .feature-copy h2 { font-size: var(--t-h2); margin-bottom: 18px; }
  .sec-head { margin-bottom: 32px; }
  .media-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
  .wide-film .film { margin-top: 36px; }
  .home-join { padding-bottom: 96px; }

  .page-head:has(> .shape-band) { padding-top: calc(var(--header-h) + 4px); }
  html.no-field .page-head:has(> .shape-band) { padding-top: calc(var(--header-h) + 48px); }
  html.no-field .hero { padding-top: calc(var(--header-h) + 48px); }
  .section--stage { padding-top: 12px; }
  .section--stage .shape-band { margin-bottom: 20px; }
}
@media (max-width: 560px) {
  .domain-cards { grid-template-columns: 1fr; }
  .figures { grid-template-columns: 1fr; }
  .figures div:nth-child(odd) { border-right: 0; }
  .figures div:nth-child(even) { padding-left: 0; }
  .partner-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-wall li { padding: 16px 14px; font-size: var(--t-ui); }
}

.actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; padding: 13px 22px; border: 1px solid var(--rule-strong); color: var(--titanium); font-size: var(--t-ui); border-radius: 2px; position: relative; overflow: hidden; isolation: isolate; transition: border-color .35s var(--ease), color .35s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--trajectory-soft); transform: scaleX(0); transform-origin: left center; transition: transform .5s var(--ease); }
.btn:hover { border-color: var(--trajectory); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn--primary { background: var(--trajectory); border-color: var(--trajectory); color: #fff; }
.btn--primary::before { background: rgba(255, 255, 255, 0.16); }
.btn:active { transform: translateY(1px); }
.link-quiet { color: var(--titanium-2); font-size: var(--t-ui); text-decoration: none; background: linear-gradient(var(--trajectory), var(--trajectory)) left bottom / 0 1px no-repeat; padding-bottom: 2px; transition: background-size .45s var(--ease), color .3s; }
.link-quiet:hover { color: var(--titanium); background-size: 100% 1px; }

/* facts log */
.log { list-style: none; margin: 48px 0 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.log li { display: grid; grid-template-columns: minmax(7.5em, 0.9fr) 2fr minmax(9em, 1fr); gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.log .v { font-family: var(--display); font-size: var(--t-h3); font-weight: 300; font-variant-numeric: tabular-nums; color: var(--titanium); line-height: 1.1; }
.log .k { color: var(--titanium-2); }
.log .s { font-size: var(--t-micro); color: var(--haze-2); text-align: right; }
@media (max-width: 760px) { .log li { grid-template-columns: 1fr; gap: 4px; } .log .s { text-align: left; } }

/* timeline */
.timeline { list-style: none; margin: 40px 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 5.5em; top: 6px; bottom: 6px; width: 1px; background: var(--rule-strong); }
.timeline li { display: grid; grid-template-columns: 5.5em 1fr; gap: 28px; padding: 10px 0 18px; position: relative; }
.timeline li::after { content: ""; position: absolute; left: calc(5.5em - 3px); top: 19px; width: 7px; height: 7px; border-radius: 50%; background: var(--night); border: 1px solid var(--trajectory); }
.timeline time { font-variant-numeric: tabular-nums; color: var(--haze); font-size: var(--t-ui); padding-top: 3px; }
.timeline p { margin: 0; color: var(--titanium-2); padding-left: 10px; }

/* film strip (video chapter) */
.film { position: relative; margin: 40px 0 0; border: 1px solid var(--rule-strong); background: #000; aspect-ratio: 16 / 9; overflow: hidden; }
.film video { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.film figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px; font-size: var(--t-small); color: var(--titanium-2); background: linear-gradient(transparent, rgba(0,0,0,0.7)); }

/* ---------- inner pages ---------- */
.page-head { padding: calc(var(--header-h) + var(--util-h) + clamp(56px, 12vh, 132px)) 0 clamp(48px, 8vh, 96px); position: relative; }
.page-head h1 { font-size: var(--t-h1); max-width: 14em; margin-bottom: 26px; }
.page-head--compact h1 { font-size: var(--t-h2); }
@media (min-width: 901px) { .page-head:not(.page-head--compact) .wrap > * { max-width: 58%; } }
.crumbs { font-size: var(--t-small); color: var(--haze); margin-bottom: 28px; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.crumbs a { color: var(--haze); text-decoration: none; }
.crumbs a:hover { color: var(--titanium); }
.crumbs span[aria-hidden] { color: var(--haze-2); }

.subnav { position: sticky; top: var(--header-h); z-index: 5; background: rgba(6, 10, 18, 0.98); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.subnav ul { position: relative; list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.subnav a { display: block; padding: 14px 0; font-size: var(--t-ui); color: var(--haze); text-decoration: none; white-space: nowrap; border-bottom: 1px solid transparent; }
.subnav a:hover, .subnav a.is-active { color: var(--titanium); border-bottom-color: var(--trajectory); }

.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 40px); row-gap: 32px; }
.split > .side { grid-column: 1 / span 4; }
.split > .main { grid-column: 5 / span 8; }
.split h2 { font-size: var(--t-h2); }
.side h2 { position: sticky; top: calc(var(--header-h) + 72px); }
@media (max-width: 900px) { .split > .side, .split > .main { grid-column: 1 / -1; } .side h2 { position: static; } }

/* category index rows */
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.index li { border-bottom: 1px solid var(--rule); }
.index a { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: clamp(16px, 3vw, 44px); align-items: center; padding: 22px 0; text-decoration: none; transition: background .3s var(--ease); }
.index a:hover { background: linear-gradient(90deg, var(--trajectory-soft), transparent 60%); }
.index .thumb { width: 160px; height: 110px; display: flex; align-items: center; justify-content: center; }
.index .thumb img { max-height: 110px; width: auto; object-fit: contain; }
.index .thumb.photo img { width: 160px; height: 110px; object-fit: cover; }
.index h3 { font-size: var(--t-title); margin-bottom: 8px; }
.index p { margin: 0; color: var(--haze); font-size: var(--t-ui); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 46em; }
.index .go { color: var(--haze); font-size: var(--t-small); white-space: nowrap; }
.index a:hover .go { color: var(--trajectory); }
@media (max-width: 700px) { .index a { grid-template-columns: 96px 1fr; } .index .thumb { width: 96px; height: 72px; } .index .thumb img { max-height: 72px; } .index .go { display: none; } }

/* category overview (four domains) */
.domains { list-style: none; margin: 0; padding: 0; }
.domains li { border-top: 1px solid var(--rule-strong); }
.domains li:last-child { border-bottom: 1px solid var(--rule-strong); }
.domains a { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) auto; gap: clamp(16px, 3vw, 48px); align-items: baseline; padding: clamp(28px, 4vw, 48px) 0; text-decoration: none; }
.domains .n { color: var(--haze-2); font-variant-numeric: tabular-nums; font-size: var(--t-ui); }
.domains h3 { font-size: var(--t-h2); }
.domains p { margin: 0; color: var(--haze); }
.domains .count { color: var(--haze); font-size: var(--t-small); white-space: nowrap; }
.domains a:hover h3 { color: #fff; }
.domains a:hover .count { color: var(--trajectory); }
@media (max-width: 800px) { .domains a { grid-template-columns: 1fr; gap: 10px; } .domains .n { display: none; } }

/* product detail */
.product-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 40px); align-items: end; }
.product-hero .copy { grid-column: 1 / span 6; }
.product-hero .stage { grid-column: 7 / span 6; }
@media (max-width: 900px) { .product-hero .copy, .product-hero .stage { grid-column: 1 / -1; } .product-hero .stage { margin-top: 40px; } }
.stage { position: relative; }
.stage .main-img { width: 100%; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; position: relative; }
.stage .main-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.stage .main-img.photo img { width: 100%; height: 100%; object-fit: cover; }
.stage .main-img.cut { background: radial-gradient(60% 55% at 50% 55%, rgba(74, 168, 234, 0.10), transparent 70%); }
.stage figcaption { font-size: var(--t-small); color: var(--haze); margin-top: 12px; min-height: 1.6em; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.thumbs button { width: 84px; height: 64px; padding: 4px; background: var(--hangar); border: 1px solid var(--rule); border-radius: 2px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.thumbs button img { max-width: 100%; max-height: 100%; object-fit: contain; }
.thumbs button[aria-pressed="true"] { border-color: var(--trajectory); }

.spec { width: 100%; border-collapse: collapse; font-size: var(--t-ui); font-variant-numeric: tabular-nums; }
.spec caption { text-align: left; color: var(--haze); font-size: var(--t-small); padding-bottom: 12px; caption-side: top; }
.spec th, .spec td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.spec thead th { color: var(--haze); font-weight: 400; font-size: var(--t-small); border-bottom-color: var(--rule-strong); }
.spec tbody th { font-weight: 400; color: var(--titanium-2); width: 42%; }
.spec td { color: var(--titanium); }
.spec--axes td, .spec--axes tbody th { width: auto; }
.table-scroll { overflow-x: auto; }
.chips { list-style: none; margin: 0; padding: 0; columns: 2 18em; column-gap: 40px; }
.chips li { padding: 10px 0; border-bottom: 1px solid var(--rule); color: var(--titanium-2); break-inside: avoid; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.gallery figure { margin: 0; }
.gallery .frame { aspect-ratio: 4 / 3; background: var(--hangar); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gallery .frame img { width: 100%; height: 100%; object-fit: cover; }
.gallery .frame.cut img { object-fit: contain; padding: 12px; }
.gallery figcaption { font-size: var(--t-ui); color: var(--haze); margin-top: 10px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule-strong); }
.pager a { padding: 28px 0; text-decoration: none; display: block; }
.pager a + a { text-align: right; border-left: 1px solid var(--rule); padding-left: 24px; }
.pager small { display: block; color: var(--haze); font-size: var(--t-small); margin-bottom: 6px; }
.pager span { font-family: var(--display); font-size: var(--t-title); }

/* particle image (for weak photos) */
.pimage { position: relative; width: 100%; aspect-ratio: 4 / 3; }
.pimage canvas { width: 100%; height: 100%; }

/* news */
.newslist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.newslist li { border-bottom: 1px solid var(--rule); }
.newslist a { display: grid; grid-template-columns: 8.5em minmax(0, 1fr) 150px; gap: clamp(16px, 3vw, 40px); align-items: center; padding: 22px 0; text-decoration: none; }
.newslist time { color: var(--haze); font-variant-numeric: tabular-nums; font-size: var(--t-ui); }
.newslist h3 { font-size: var(--t-body); font-family: var(--sans); font-weight: 500; line-height: 1.5; }
.newslist .ph { width: 150px; aspect-ratio: 3 / 2; overflow: hidden; background: var(--hangar); }
.newslist .ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); }
.newslist a:hover h3 { color: #fff; text-decoration: underline; text-decoration-color: var(--trajectory); }
@media (max-width: 700px) { .newslist a { grid-template-columns: 1fr; gap: 6px; } .newslist .ph { display: none; } }
.year-group h2 { font-size: var(--t-h3); color: var(--haze); margin: 56px 0 16px; }
.article { max-width: 46rem; }
.article p { color: var(--titanium-2); }
.article figure { margin: 36px 0; }
.article figure img { width: 100%; height: auto; }
.article figcaption { font-size: var(--t-small); color: var(--haze); margin-top: 8px; }
.article .poster img { max-width: 560px; margin: 0 auto; }
.translator-note { font-size: var(--t-small); color: var(--haze); border-left: 2px solid var(--trajectory); padding: 4px 0 4px 14px; margin: 0 0 32px; }

/* people */
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 40px 28px; }
.people li { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start; }
.people .face { width: 72px; height: 92px; overflow: hidden; background: var(--hangar); }
.people .face img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.25) contrast(1.02); }
.people h3 { font-family: var(--sans); font-weight: 500; font-size: var(--t-body); margin-bottom: 4px; }
.people .role { color: var(--titanium-2); font-size: var(--t-ui); margin: 0 0 6px; }
.people .fields { color: var(--haze); font-size: var(--t-small); margin: 0; line-height: 1.6; }

.photo-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 32px; }
.photo-row figure { margin: 0; }
.photo-row img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.photo-row figcaption { font-size: var(--t-small); color: var(--haze); margin-top: 8px; }

/* honours */
.honours { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.honours li { display: grid; grid-template-columns: 5em 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.honours time { color: var(--haze); font-variant-numeric: tabular-nums; }
.partners { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.partners li { border: 1px solid var(--rule-strong); padding: 8px 14px; font-size: var(--t-ui); color: var(--titanium-2); border-radius: 2px; }

/* careers */
.jobs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.jobs a { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--rule); text-decoration: none; align-items: baseline; }
.jobs h3 { font-family: var(--sans); font-weight: 500; font-size: var(--t-body); }
.jobs .meta { color: var(--haze); font-size: var(--t-ui); }
.jobs a:hover h3 { color: #fff; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); margin: 0 0 40px; }
.facts div { padding: 16px 20px 16px 0; }
.facts dt { font-size: var(--t-micro); color: var(--haze); }
.facts dd { margin: 4px 0 0; color: var(--titanium); }

/* contact */
.contact-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.contact-lines li { display: grid; grid-template-columns: 7em 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.contact-lines span { color: var(--haze); font-size: var(--t-ui); }
.contact-lines a, .contact-lines strong { font-family: var(--display); font-size: var(--t-title); font-weight: 300; text-decoration: none; }
.contact-lines .contact-address { font-size: var(--t-lead); }
@media (max-width: 560px) { .contact-lines li { grid-template-columns: 1fr; gap: 4px; } }

/* footer */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--rule); background: rgba(6, 10, 18, 0.96); padding: 64px 0 36px; font-size: var(--t-ui); color: var(--haze); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.footer-org img { height: 26px; width: auto; margin-bottom: 18px; }
.footer-name { color: var(--titanium-2); margin: 0 0 16px; }
.footer-contact { margin: 0; display: grid; gap: 6px; }
.footer-contact div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 12px; }
:lang(zh) .footer-contact div { grid-template-columns: 4.5em minmax(0, 1fr); }
.footer-contact dt { color: var(--haze-2); }
.footer-contact dd { margin: 0; }
.footer-actions { display: none; }
.footer-col summary { list-style: none; }
.footer-col summary::-webkit-details-marker { display: none; }
@media (min-width: 701px) { .footer-col summary { pointer-events: none; } }
.footer h2 { font-family: var(--sans); font-size: var(--t-small); font-weight: 500; color: var(--titanium-2); margin-bottom: 14px; letter-spacing: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0 0 8px; }
.footer a { text-decoration: none; color: var(--haze); }
.footer .btn { color: var(--titanium); }
.footer .btn--primary, .footer .btn--primary:hover { color: #fff; }
.footer a:hover { color: var(--titanium); }
.footer .base { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; font-size: var(--t-small); color: var(--haze-2); }
.footer .base p { margin: 0; }
.base-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-org { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* small screens */
@media (max-width: 900px) {
  .chapter-copy, .chapter--right .chapter-copy { grid-column: 1 / -1; }
  .chapter { min-height: auto; padding: 120px 0 96px; }
  .hero--plain { min-height: 100svh; padding-top: var(--header-h); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- type roles (used by templates instead of inline sizes) ---------- */
.t-h2 { font-size: var(--t-h2); margin-bottom: 20px; }
.t-h3 { font-size: var(--t-h3); margin-bottom: 28px; }
.t-title { font-size: var(--t-title); margin-bottom: 12px; }
.t-item { font-family: var(--sans); font-size: var(--t-body); font-weight: 500; letter-spacing: 0; margin-bottom: 8px; }
.t-small { font-size: var(--t-ui); }
/* Chinese has one text weight: medium Latin next to regular Chinese would look uneven */
:lang(zh) .t-item, :lang(zh) .people h3, :lang(zh) .footer h2, :lang(zh) .newslist h3, :lang(zh) .jobs h3 { font-weight: 400; }

/* ---------- leader (人才与文化) ---------- */
.leader { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 72px); padding: 44px 0 48px; margin: 0 0 64px; border-top: 1px solid var(--trajectory); border-bottom: 1px solid var(--rule-strong); }
.leader-id { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 26px; align-items: end; align-self: start; }
.leader .face { width: 124px; height: 174px; overflow: hidden; background: var(--hangar); }
.leader .face img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.2) contrast(1.02); }
.leader-title { display: flex; align-items: center; gap: 12px; font-size: var(--t-small); color: var(--titanium-2); margin: 0 0 10px; }
.leader-title::before { content: ""; width: 24px; height: 1px; background: var(--trajectory); }
.leader-name { font-size: var(--t-h2); margin: 0 0 10px; }
.leader .role { color: var(--haze); font-size: var(--t-ui); margin: 0; }
.leader-leads { font-size: var(--t-lead); color: var(--titanium); margin: 0 0 20px; max-width: 34em; }
.leader-fields { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.leader-fields li { border: 1px solid var(--rule-strong); padding: 6px 12px; font-size: var(--t-ui); color: var(--titanium-2); border-radius: 2px; }
.leader-quote { margin: 0; padding: 2px 0 2px 22px; border-left: 2px solid var(--trajectory); }
.leader-quote-text { font-family: var(--display); font-size: var(--t-title); font-weight: 300; line-height: 1.5; color: var(--titanium); margin: 0 0 12px; }
.leader-quote footer { font-size: var(--t-small); color: var(--haze); }
.leader-quote footer a { color: inherit; }
@media (max-width: 900px) { .leader { grid-template-columns: 1fr; } }

/* ---------- motion details ---------- */
html { scroll-behavior: smooth; }

/* reading progress: a hairline along the top edge of the window */
.progress { position: fixed; left: 0; right: 0; top: 0; z-index: 40; height: 2px; background: var(--trajectory); transform: scaleX(var(--p, 0)); transform-origin: left center; opacity: .9; pointer-events: none; }

/* header steps aside while reading down, returns when scrolling up */
.masthead { transition: transform .45s var(--ease); }
.masthead.is-solid { transform: translateY(calc(-1 * var(--util-h))); }
html.head-away .masthead:not(.is-open) { transform: translateY(-100%); }
.subnav { transition: top .45s var(--ease); }
html.head-away .subnav { top: 0; }

/* entrances: titles and lead text rise in once; list items follow one after another.
   The same two selector lists are in app.js (REVEAL_ONE, REVEAL_GROUP) — keep them in step. */
:is(.page-head .crumbs, .page-head h1, .page-head .lede, .product-hero .stage, .sec-head > *, .sec-title, .feature-copy > *, .split > .side h2, .t-h2, .leader, .hero-copy > *, .home-join .sec-body > *, .wide-film, .year-group h2, .sub-title), :is(.hero-stats > li, .domain-cards > li, .media-grid > *, .partner-wall > li, .newslist > li, .people > li, .index > li, .domains > li, .jobs > li, .gallery > figure, .figures > div, .timeline > li, .leader-fields > li, .honours > li, .contact-lines > li, .log > li, .pillars > li, .quick > li, .visit > div, .related > li) { transition: opacity .8s var(--ease), transform .8s var(--ease), background .35s var(--ease); transition-delay: var(--d, 0s); }
html.js:not(.no-reveal) :is(.page-head .crumbs, .page-head h1, .page-head .lede, .product-hero .stage, .sec-head > *, .sec-title, .feature-copy > *, .split > .side h2, .t-h2, .leader, .hero-copy > *, .home-join .sec-body > *, .wide-film, .year-group h2, .sub-title):not(.is-in) { opacity: 0; transform: translateY(18px); }
html.js:not(.no-reveal) :is(.hero-stats > li, .domain-cards > li, .media-grid > *, .partner-wall > li, .newslist > li, .people > li, .index > li, .domains > li, .jobs > li, .gallery > figure, .figures > div, .timeline > li, .leader-fields > li, .honours > li, .contact-lines > li, .log > li, .pillars > li, .quick > li, .visit > div, .related > li):not(.is-in) { opacity: 0; transform: translateY(12px); }

/* images fade in as they arrive */
html.js:not(.no-reveal) img[loading="lazy"]:not(.is-loaded) { opacity: 0; }
img[loading="lazy"] { transition: opacity .7s var(--ease); }
.stage .main-img img { transition: opacity .35s var(--ease); }
.stage .main-img img.is-swapping { opacity: 0; }

/* timeline lights up as you scroll through it */
.timeline::after { content: ""; position: absolute; left: 5.5em; top: 6px; width: 1px; height: calc((100% - 12px) * var(--tp, 0)); background: var(--trajectory); }
.timeline li::after { transition: background .4s var(--ease), box-shadow .4s var(--ease); }
.timeline li.is-passed::after { background: var(--trajectory); box-shadow: 0 0 0 4px var(--trajectory-soft); }
.timeline li p, .timeline li time { transition: color .4s var(--ease); }
.timeline li.is-passed time { color: var(--titanium-2); }

/* list hovers */
.partner-wall li { position: relative; }
.partner-wall li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--trajectory); transform: scaleY(0); transform-origin: bottom; transition: transform .4s var(--ease); }
.partner-wall li:hover { background: rgba(14, 23, 37, 0.95); }
.partner-wall li:hover::before { transform: scaleY(1); }
.newslist h3, .jobs h3, .index h3, .domains h3 { transition: color .3s var(--ease), transform .4s var(--ease); }
.newslist a:hover h3, .jobs a:hover h3, .index a:hover h3 { transform: translateX(6px); }
.index .thumb img { transition: transform .6s var(--ease); }
.index a:hover .thumb img { transform: scale(1.05); }
.people li .face img, .leader .face img { transition: filter .5s var(--ease); }
.people li:hover .face img { filter: none; }
.thumbs button { transition: border-color .3s var(--ease), transform .3s var(--ease); }
.thumbs button:hover { transform: translateY(-2px); border-color: var(--rule-strong); }
.film video { transition: opacity .6s var(--ease); }
.subnav a { transition: color .3s var(--ease), border-color .3s var(--ease); }
.footer a { transition: color .3s var(--ease); }
.footer a:hover { color: var(--titanium); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :is(.page-head .crumbs, .page-head h1, .page-head .lede, .product-hero .stage, .sec-head > *, .sec-title, .feature-copy > *, .split > .side h2, .t-h2, .leader, .hero-copy > *, .home-join .sec-body > *, .wide-film, .year-group h2, .sub-title), :is(.hero-stats > li, .domain-cards > li, .media-grid > *, .partner-wall > li, .newslist > li, .people > li, .index > li, .domains > li, .jobs > li, .gallery > figure, .figures > div, .timeline > li, .leader-fields > li, .honours > li, .contact-lines > li, .log > li, .pillars > li, .quick > li, .visit > div, .related > li), img[loading="lazy"] { opacity: 1 !important; transform: none !important; }
}

/* ---------- home: about, quick links, visit; product enquiry ---------- */
.pillars { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule-strong); }
.pillars li { padding: 20px 20px 4px 0; }
.pillars li + li { padding-left: 20px; border-left: 1px solid var(--rule); }
.pillars h3 { font-size: var(--t-title); margin-bottom: 10px; }
.pillars p { font-size: var(--t-ui); color: var(--haze); line-height: 1.75; margin: 0; }
.sub-title { font-size: var(--t-title); margin: clamp(48px, 7vh, 72px) 0 0; }
.sub-title + .timeline { margin-top: 28px; }
.quick { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.quick a { position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px 22px 20px; background: rgba(9, 15, 25, 0.94); text-decoration: none; transition: background .3s var(--ease); }
.quick a:hover { background: rgba(14, 23, 37, 0.98); }
.q-k { font-family: var(--display); font-weight: 300; font-size: var(--t-title); color: var(--titanium); padding-right: 40px; }
.q-v { font-size: var(--t-ui); color: var(--haze); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.quick .arrow { position: absolute; right: 22px; top: 36px; }
.visit { margin: 22px 0 0; border-top: 1px solid var(--rule-strong); }
.visit div { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.visit dt { color: var(--haze); font-size: var(--t-ui); }
.visit dd { margin: 0; color: var(--titanium); }
.visit dd .muted { display: block; font-size: var(--t-small); margin-top: 4px; }
.visit a { text-decoration: none; }
.visit a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--trajectory); }
.visit--compact { max-width: 34em; margin-top: 18px; }
.related { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.related a { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px; border: 1px solid var(--rule); background: rgba(9, 15, 25, 0.6); color: var(--titanium-2); font-size: var(--t-ui); line-height: 1.5; text-decoration: none; transition: border-color .3s var(--ease), color .3s var(--ease); }
.related a:hover { border-color: var(--trajectory); color: var(--titanium); }
.related .thumb { width: 88px; height: 64px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--hangar); }
.related .thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.related .thumb.photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  .pillars li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .quick { grid-template-columns: 1fr; }
  .visit div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- search ---------- */
body.search-open { overflow: hidden; }
.search-layer { position: fixed; inset: 0; z-index: 60; overflow-y: auto; background: rgba(3, 6, 11, 0.82); }
.search-layer[hidden] { display: none; }
.search-panel { background: var(--night-2); border-bottom: 1px solid var(--rule-strong); border-top: 2px solid var(--trajectory); padding: 26px 0 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); animation: drop .32s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-10px); } }
.search-form { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--rule-strong); }
.search-form .i-search { flex: none; width: 22px; height: 22px; color: var(--haze); }
.search-input { flex: 1; min-width: 0; padding: 6px 0; background: none; border: 0; outline: none; color: var(--titanium); font: inherit; font-family: var(--display); font-weight: 300; font-size: var(--t-title); -webkit-appearance: none; appearance: none; }
.search-input::placeholder { color: var(--haze-2); }
.search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-close { flex: none; background: none; border: 1px solid var(--rule-strong); border-radius: 2px; color: var(--titanium-2); font: inherit; font-size: var(--t-small); padding: 6px 12px; cursor: pointer; }
.search-close:hover { border-color: var(--trajectory); color: var(--titanium); }
.search-form--page { max-width: 48rem; margin-top: 8px; padding: 6px 6px 6px 16px; border: 1px solid var(--rule-strong); border-radius: 2px; background: rgba(9, 15, 25, 0.8); }
.search-form--page:focus-within { border-color: var(--trajectory); }
.search-form--page .btn { padding: 11px 20px; }
.search-results { max-height: min(62vh, 640px); overflow-y: auto; overscroll-behavior: contain; }
.search-results--page { max-height: none; overflow: visible; max-width: 60rem; }
.sr-meta { margin: 16px 0 0; font-size: var(--t-small); color: var(--haze); }
.sr-group { margin-top: 20px; }
.sr-group h3 { display: flex; justify-content: space-between; margin: 0 0 6px; font-family: var(--sans); font-weight: 400; font-size: var(--t-small); letter-spacing: 0; color: var(--haze); }
.sr-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.sr-item a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; padding: 12px 14px; border-bottom: 1px solid var(--rule); border-left: 2px solid transparent; text-decoration: none; }
.sr-item a:hover, .sr-item a[aria-selected="true"] { background: var(--hangar); border-left-color: var(--trajectory); }
.sr-t { color: var(--titanium); font-size: var(--t-body); line-height: 1.5; }
.sr-s { color: var(--haze); font-size: var(--t-small); text-align: right; white-space: nowrap; }
.sr-s span + span { margin-left: 14px; }
.sr-x { grid-column: 1 / -1; color: var(--haze); font-size: var(--t-small); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search-results mark { background: rgba(239, 95, 31, 0.24); color: inherit; border-radius: 1px; }
.sr-more { display: inline-block; margin-top: 16px; }
.sr-empty { margin: 22px 0 0; color: var(--haze); }
.sr-suggest { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sr-suggest a { display: block; padding: 7px 12px; border: 1px solid var(--rule-strong); border-radius: 2px; font-size: var(--t-ui); color: var(--titanium-2); text-decoration: none; }
.sr-suggest a:hover { border-color: var(--trajectory); color: var(--titanium); }
.search-keys { margin: 16px 0 0; font-size: var(--t-micro); color: var(--haze-2); }
@media (max-width: 700px) {
  .search-keys { display: none; }
  .sr-item a { grid-template-columns: 1fr; }
  .sr-s { text-align: left; }
  .search-form--page .btn { display: none; }
}

/* ---------- phones (≤ 700 px) ----------
   A layout designed for the hand rather than a narrowed desktop page: a compact type scale,
   one column with even spacing, swipeable card rows, stacked spec tables, chip sub-navigation,
   larger touch targets and a folded footer. Particles stay in their shape bands. */
@media (max-width: 700px) {
  :root {
    --header-h: 60px;
    --gutter: 20px;
    --t-body: 1rem;
    --t-lead: 1.0625rem;
    --t-title: 1.25rem;
    --t-h3: 1.5rem;
    --t-h2: 1.75rem;
    --t-h1: 2.125rem;
    --t-hero: 2.125rem;
    --t-stat: 2rem;
  }
  :lang(zh) { --t-body: 1rem; --t-lead: 1.0625rem; --t-hero: 2.375rem; }
  :lang(ru) { --t-h1: 1.875rem; --t-hero: 1.875rem; }
  .wrap { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
  body { line-height: 1.65; }
  :lang(zh) body, body:lang(zh) { line-height: 1.8; }
  h1, h2 { overflow-wrap: break-word; }
  :lang(ru) h1, :lang(ru) h2, :lang(ru) h3, :lang(en) h1 { hyphens: auto; -webkit-hyphens: auto; }
  h3 { text-wrap: pretty; }
  .lede { line-height: 1.65; }
  :lang(zh) .lede { line-height: 1.85; }

  /* header */
  .brand img { height: 26px; }
  .masthead.is-solid .mainbar { background: rgba(6, 10, 18, 0.96); }
  .masthead.is-open .nav-link { font-size: var(--t-title); padding: 13px 0; }
  .masthead.is-open .menu-extra { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
  .masthead.is-open { background: var(--night); }
  .menu-contact .btn { justify-content: start; }

  /* rhythm */
  .section { padding: 56px 0; }
  .split { row-gap: 22px; }
  .split h2, .t-h2 { font-size: var(--t-h2); margin-bottom: 0; }
  .t-h3 { margin-bottom: 20px; }
  .kicker { margin-bottom: 12px; }
  .page-head { padding: calc(var(--header-h) + 36px) 0 40px; }
  .page-head h1 { margin-bottom: 18px; }
  .crumbs { margin-bottom: 18px; gap: 4px 8px; }
  .home-sec { padding: 4px 0 64px; }
  .sec-head { margin-bottom: 26px; }
  .sec-head h2, .sec-title, .feature-copy h2 { margin-bottom: 14px; }
  .sub-title { margin-top: 44px; }

  /* shape bands: a little shorter so text arrives sooner */
  .shape-band { --band: 30svh; min-height: 180px; max-height: 280px; }
  .hero .shape-band { --band: 36svh; max-height: 340px; }
  .page-head .shape-band { --band: 26svh; max-height: 240px; }
  .page-head:has(> .shape-band) { padding-top: var(--header-h); }

  /* buttons: thumb-sized */
  .btn { min-height: 48px; justify-content: center; padding: 12px 20px; }
  .hero .actions, .feature-copy .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .feature-copy .actions .link-quiet { grid-column: 1 / -1; justify-self: start; margin-top: 6px; }
  .actions--after .btn { width: 100%; }

  /* hero */
  .hero-org { margin-bottom: 16px; gap: 10px; font-size: var(--t-small); }
  .hero-org::before { width: 24px; }
  .hero h1 { margin-bottom: 18px; }
  .hero .actions { margin-top: 26px; }
  .hero-band { margin-top: 36px; }
  .hero-stats li, .hero-stats li + li { padding: 16px 12px 14px 0; }
  .hero-stats li:nth-child(even) { padding-left: 14px; }
  .hero-stats .num { margin-bottom: 8px; }
  .hero-stats .label { font-size: var(--t-small); }

  /* swipeable rows: domain cards on the home page, product images */
  .domain-cards, .gallery {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%;
    gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
    background: none; border: 0; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .domain-cards::-webkit-scrollbar, .gallery::-webkit-scrollbar, .thumbs::-webkit-scrollbar, .subnav ul::-webkit-scrollbar { display: none; }
  .domain-cards > li, .gallery > figure { scroll-snap-align: start; min-width: 0; }
  .gallery:has(> figure:only-child) { grid-auto-columns: 100%; }
  .domain-cards a { border: 1px solid var(--rule); }
  .domain-cards .body { padding: 18px 18px 16px; gap: 10px; }
  .domain-cards .lead { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .gallery figcaption { font-size: var(--t-small); }

  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 26px; }
  .figures div:nth-child(odd) { border-right: 1px solid var(--rule); }
  .figures div, .figures div:nth-child(even) { padding: 14px 12px 14px 0; }
  .figures div:nth-child(even) { padding-left: 14px; }
  .figures dd { font-size: var(--t-title); }
  .media-grid { gap: 14px; margin-top: 32px; }

  /* video: caption under the picture so it never sits on the player controls */
  .film { aspect-ratio: auto; overflow: visible; background: none; border: 0; margin-top: 28px; }
  .film video { aspect-ratio: 16 / 9; height: auto; border: 1px solid var(--rule-strong); background: #000; }
  .film figcaption, .media-grid .film figcaption { position: static; padding: 10px 0 0; background: none; color: var(--haze); }

  .partner-wall li { padding: 14px 12px; font-size: var(--t-ui); line-height: 1.5; }
  .pillars li { padding: 18px 0 16px; }
  .pillars h3 { font-size: var(--t-title); margin-bottom: 6px; }
  .quick a { padding: 18px 18px 16px; }
  .quick .arrow { top: 30px; right: 18px; }

  /* sub-navigation: a row of chips */
  .subnav ul { gap: 8px; padding: 10px 0; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .subnav li:last-child { padding-right: 32px; }
  .subnav a { padding: 7px 14px; border: 1px solid var(--rule-strong); border-radius: 999px; font-size: var(--t-small); line-height: 1.4; }
  .subnav a:hover, .subnav a.is-active { border-color: var(--trajectory); background: var(--trajectory-soft); color: var(--titanium); }

  /* lists */
  .index a { grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding: 16px 0; align-items: center; }
  .index .thumb { width: 92px; height: 72px; background: var(--hangar); }
  .index .thumb img { max-width: 84px; max-height: 64px; }
  .index .thumb.photo img { width: 92px; height: 72px; }
  .index h3 { font-family: var(--sans); font-size: var(--t-body); font-weight: 500; line-height: 1.45; letter-spacing: 0; margin-bottom: 4px; }
  :lang(zh) .index h3 { font-weight: 400; letter-spacing: 0.02em; }
  .index p { font-size: var(--t-small); line-height: 1.6; }
  .domains a { gap: 8px; padding: 22px 0; }
  .domains h3 { font-size: var(--t-h3); }
  .domains p { font-size: var(--t-ui); }

  .newslist a { grid-template-columns: minmax(0, 1fr) 92px; grid-template-areas: "t ph" "h ph"; gap: 4px 16px; padding: 16px 0; align-items: start; }
  .newslist time { grid-area: t; font-size: var(--t-small); }
  .newslist h3 { grid-area: h; line-height: 1.5; }
  .newslist .ph { display: block; grid-area: ph; width: 92px; align-self: center; }
  .newslist .ph:empty { visibility: hidden; }
  .newslist a:hover h3, .jobs a:hover h3, .index a:hover h3 { transform: none; }
  .year-group h2 { margin: 40px 0 10px; }

  .jobs a { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 16px 0; }
  .jobs .meta:last-child { display: none; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .people { grid-template-columns: 1fr; gap: 26px; }
  .people li { grid-template-columns: 64px 1fr; gap: 14px; }
  .people .face { width: 64px; height: 82px; }
  .leader { padding: 32px 0; margin-bottom: 44px; gap: 24px; }
  .leader-id { grid-template-columns: 96px minmax(0, 1fr); gap: 18px; }
  .leader .face { width: 96px; height: 134px; }
  .leader-quote-text { font-size: var(--t-lead); }

  .timeline::before, .timeline::after { left: 4.2em; }
  .timeline li { grid-template-columns: 4.2em 1fr; gap: 18px; padding: 8px 0 14px; }
  .timeline li::after { left: calc(4.2em - 3px); top: 16px; }
  .timeline p { padding-left: 6px; }
  .honours li { grid-template-columns: 3.6em 1fr; gap: 14px; padding: 14px 0; }
  .chips { columns: 1; }
  .chips li { padding: 9px 0; }

  /* product */
  .product-hero .stage { margin-top: 24px; }
  .thumbs { flex-wrap: nowrap; overflow-x: auto; margin: 12px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter); scrollbar-width: none; }
  .thumbs button { flex: none; width: 72px; height: 56px; }
  .pager { grid-template-columns: 1fr; }
  .pager a { padding: 20px 0; }
  .pager a + a { text-align: left; border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; }
  .related { grid-template-columns: 1fr; }

  /* spec tables: label above value; wide axis tables scroll with the axis name pinned */
  .spec:not(.spec--axes), .spec:not(.spec--axes) tbody { display: block; }
  .spec:not(.spec--axes) caption { display: block; }
  .spec:not(.spec--axes) tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .spec:not(.spec--axes) th, .spec:not(.spec--axes) td { display: block; width: auto; padding: 0; border: 0; }
  .spec:not(.spec--axes) tbody th { font-size: var(--t-small); color: var(--haze); margin-bottom: 2px; }
  .spec--axes { min-width: 540px; font-size: var(--t-small); }
  .spec--axes th:first-child { position: sticky; left: 0; z-index: 1; background: var(--night); padding-right: 12px; }
  .spec--axes th, .spec--axes td { padding: 10px 12px 10px 0; }

  .article figure { margin: 26px 0; }
  .contact-lines li { padding: 16px 0; }
  .grid > * { grid-column: 1 / -1 !important; }

  /* footer: contact first, the site map folds */
  .footer { padding: 44px 0 calc(24px + env(safe-area-inset-bottom)); }
  .footer-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-org { padding-bottom: 28px; }
  .footer-contact div, :lang(zh) .footer-contact div { grid-template-columns: 4.5em minmax(0, 1fr); }
  :lang(ru) .footer-contact div { grid-template-columns: 7.5em minmax(0, 1fr); }
  .footer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0 0; }
  .footer-col { border-top: 1px solid var(--rule); }
  .footer-col:last-child { border-bottom: 1px solid var(--rule); }
  .footer-col summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .footer-col summary h2 { margin: 0; font-size: var(--t-ui); }
  .footer-col summary::after { content: ""; width: 7px; height: 7px; margin-right: 6px; border-right: 1px solid var(--haze); border-bottom: 1px solid var(--haze); transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease); }
  .footer-col details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
  .footer-col ul { columns: 2; column-gap: 16px; padding: 2px 0 14px; }
  .footer-col li { margin: 0; break-inside: avoid; }
  .footer-col li a { display: block; padding: 7px 0; }
  .footer .base { margin-top: 24px; padding-top: 0; border-top: 0; flex-direction: column; gap: 14px; }
  .base-links { gap: 4px 18px; }
  .base-links a { padding: 6px 0; }
}

/* the smallest phones (≤ 360 px) */
@media (max-width: 360px) {
  :root { --gutter: 16px; --t-h2: 1.625rem; --t-h1: 1.875rem; --t-hero: 1.875rem; }
  :lang(zh) { --t-hero: 2.125rem; }
  :lang(ru) { --t-h1: 1.75rem; --t-hero: 1.75rem; }
  .hero .actions, .feature-copy .actions { grid-template-columns: 1fr; }
  .index a { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; }
  .index .thumb, .index .thumb.photo img { width: 76px; height: 60px; }
  .index .thumb img { max-width: 70px; max-height: 54px; }
  .newslist a { grid-template-columns: minmax(0, 1fr) 76px; }
  .newslist .ph { width: 76px; }
}
