/* ============================================================
   WheaTech — shared design system
   ============================================================ */
:root{
  --bg:#0B0B0A;
  --bg-2:#111310;
  --panel:#15171400;
  --ink:#F4F2EA;
  --ink-2:#B5B1A4;
  --ink-3:#8A8578;
  --rule:#242621;
  --rule-2:#33362F;

  --gold:#F07A1A;
  --gold-hi:#FF9440;
  --orange:#F07A1A;
  --navy:#0C1826;

  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
  --disp:"WheaTech Display","Arial Narrow","PingFang SC","Hiragino Sans GB","Microsoft YaHei",var(--sans);
  --serif:"Iowan Old Style","Palatino Linotype","Songti SC","Source Han Serif SC",Georgia,serif;
  /* Latin-only, and it must have a real italic. Noto Serif SC does not ship
     one, so the moment --serif pointed at it under html[lang^="zh"] the
     hero's italic line started being slanted by the browser instead of
     drawn — visibly worse, and only on the Chinese page. This variable is
     deliberately not overridden there. */
  --serif-i:"Iowan Old Style","Palatino Linotype",Georgia,"Times New Roman",serif;
  --mono:ui-monospace,"SF Mono",Menlo,Consolas,monospace;

  /* Three sizes of subhead, because there used to be thirteen. Every h3 on the
     site now picks one of these rather than inventing its own value a half
     pixel away from the last one. Chinese takes one step down across the board
     — the glyphs carry more ink at the same size. */
  --h3-s:20px;                       /* dense card grids */
  --h3-m:clamp(19px,2.1vw,23px);     /* subheads inside prose */
  --h3-l:clamp(21px,2.5vw,28px);     /* the heading of a split column */

  /* One vertical rhythm. Sections are --sec; the few that carry less weight are
     --sec-s. Nothing declares its own padding on top of these. */
  --sec:clamp(56px,8vw,110px);
  --sec-s:clamp(44px,6vw,80px);

  --max:1200px;
  --pad:clamp(20px,4vw,48px);
}
html[lang^="zh"]{--h3-s:18px;--h3-m:clamp(18px,2vw,22px);--h3-l:clamp(20px,2.4vw,26px);
  /* One family for both scripts. Songti SC stays as the macOS fallback for
     the seconds before the webfont lands. */
  --serif:"WheaTech Serif SC","Songti SC","Source Han Serif SC",Georgia,serif}

/* Archivo — Omnibus-Type, SIL Open Font License 1.1, bundled at
   assets/font/OFL-Archivo.txt. Self-hosted: the site takes no external dependency at
   runtime, and a webfont from someone else's CDN would be exactly that.
   Subset to Latin, Latin-Ext and typographic punctuation, and instanced to a
   single semi-condensed width — 128 KB of variable font down to 40 KB.

   Why a webfont at all: --disp used to name "Helvetica Neue Condensed", which
   is installed on no machine we could find, so it fell through to Arial Narrow
   on Mac and Windows and to a plain system sans on Android — 21% wider, not
   condensed at all, and with no weight above regular. The site's headings are
   its identity; they now render the same everywhere. */
@font-face{
  font-family:"WheaTech Display";
  src:url(font/wheatech-disp.woff2?v=341796a2) format("woff2");
  font-weight:400 900;font-style:normal;font-display:swap;
  unicode-range:U+0000-024F,U+2000-206F,U+20A0-20BF,U+2122,U+2212;
}

/* Noto Serif SC — Google/Adobe, SIL Open Font License 1.1, bundled at
   assets/font/OFL-NotoSerifSC.txt. Subset to the Chinese characters that
   actually appear in a heading, plus Latin and punctuation, and instanced to
   wght 400–600: 24 MB down to 122 KB. Recut instructions live beside it.

   Why: --serif named Songti SC, which ships on macOS and nowhere else. On
   Windows the whole stack missed and Chinese headings fell through to the
   generic serif — SimSun, a bitmap-era face that frays at display sizes — and
   most of the people who read the site in 中文 are on Windows. Worse, the Latin
   inside those headings came from Iowan Old Style, a warm humanist serif
   sitting directly against a rigid Ming face: two traditions on one line, with
   different stroke weights and different optical sizes. Noto Serif SC draws
   both scripts as one family, so a line like "Irwindale 工厂" finally matches
   itself. Loaded only where it is named — under html[lang^="zh"] — so English
   and Spanish visitors never fetch it. */
@font-face{
  font-family:"WheaTech Serif SC";
  src:url(font/wheatech-serif-sc.woff2?v=0d72478d) format("woff2");
  font-weight:400 600;font-style:normal;font-display:swap;
}
*{box-sizing:border-box}
/* The bar is sticky, so an anchor jump lands the target's top edge at y=0 —
   underneath it. Every in-page link on the site was doing that: #solutions,
   #formats, #program, #rsvp, #recruiting, and the skip link that keyboard users
   hit first. scroll-padding moves the browser's idea of "the top" down past the
   bar; scroll-margin does the same for the elements themselves, which is what
   :target and find-on-page honour. */
:root{--nav-h:62px}
@media (max-width:900px){:root{--nav-h:73px}}
@media (max-width:760px){:root{--nav-h:61px}}
@media (max-width:340px){:root{--nav-h:111px}}   /* the bar wraps to two rows here */
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;
  scroll-padding-block-start:calc(var(--nav-h) + 12px)}
main section[id],main header[id],[id]:target{scroll-margin-block-start:calc(var(--nav-h) + 12px)}

/* Cross-document view transitions. The site is six static pages that link to
   each other constantly, and every one of those links was a white reload. This
   turns them into a short cross-fade with the bar held still, which is the
   whole of what a static multi-page site needs to stop feeling like 2012.
   No JavaScript, and a browser without it simply navigates as before.

   Only .nav is named. A view-transition-name has to be unique in the document
   and there are two .logo elements per page — one in the bar, one in the
   footer — so naming the logo would collide and make the browser skip the
   transition entirely, which is worse than not trying. */
@view-transition{navigation:auto}
.nav{view-transition-name:sitenav}
@media (prefers-reduced-motion:no-preference){
  ::view-transition-old(root),::view-transition-new(root){animation-duration:160ms}
}
@media (prefers-reduced-motion:reduce){
  ::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}
}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font-family:var(--sans);font-size:16px;line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
/* height:auto is not cosmetic here. Every <img> carries width/height attributes
   so the browser can reserve the right box before the file arrives — but those
   attributes are presentational hints for the CSS width and height properties,
   so max-width:100% shrank the width while the height stayed pinned at the
   file's own pixel height. Twenty-five photographs across all six pages were
   rendering metres tall: the Sam's Club poster came out 541×1800 where it
   should be 541×406. Anything that needs a fixed height sets one of its own and
   wins on specificity, the nav logo included. */
img{max-width:100%;height:auto;display:block}
a{color:inherit}

.wrap{max-width:var(--max);margin:0 auto;padding-left:var(--pad);padding-right:var(--pad)}

/* ---------- nav ---------- */
.nav{position:sticky;top:0;z-index:60;background:color-mix(in srgb,var(--bg) 88%,transparent);
  backdrop-filter:saturate(1.5) blur(14px);border-bottom:1px solid var(--rule)}
.nav-in{max-width:var(--max);margin:0 auto;padding:14px var(--pad);display:flex;align-items:center;gap:26px}
/* The registered figurative mark. Shapes and spacing are the filed artwork —
   only the wordmark is recoloured white for dark backgrounds, which is inside
   the palette William authorised (orange / yellow / black / greyscale). */
.logo{display:flex;align-items:center;text-decoration:none;flex:none}
.logo img{height:26px;width:auto;display:block}
footer .logo img{height:30px}
@media (max-width:640px){.logo img{height:22px}}
.nav-links{display:flex;gap:22px;margin-left:auto;align-items:center}
.nav-links a{text-decoration:none;font-size:14px;color:var(--ink-2);transition:color .18s;white-space:nowrap}
.nav-links a:hover,.nav-links a.on{color:var(--ink)}
.lang{display:flex;border:1px solid var(--rule-2);border-radius:7px;overflow:hidden;flex:none}
.lang button{appearance:none;border:0;background:transparent;color:var(--ink-3);font:inherit;font-size:12.5px;
  padding:5px 11px;cursor:pointer;border-right:1px solid var(--rule-2);transition:.18s;white-space:nowrap}
.lang button:last-child{border-right:0}
.lang button[aria-pressed="true"]{background:var(--gold);color:#171308;font-weight:700}

/* A contact action that never scrolls away. On narrow screens the label goes and
   the arrow stays — it is still the same target, just smaller. */
.nav-cta{display:inline-flex;align-items:center;gap:8px;flex:none;text-decoration:none;
  background:var(--gold);color:#171308;font-size:13px;font-weight:700;
  padding:9px 16px;border-radius:100px;transition:.18s;white-space:nowrap}
.nav-cta:hover{filter:brightness(1.08)}
.nav-cta i{font-style:normal;font-size:11px;opacity:.75}
/* The label goes off screen but must stay in the accessibility tree: the arrow
   beside it is aria-hidden, so display:none here left the site's only standing
   conversion target with no accessible name at all on every phone. */
@media (max-width:1120px){
  .nav-cta span{position:absolute;width:1px;height:1px;margin:-1px;padding:0;
    overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
  .nav-cta{padding:9px 12px}
}
.burger{display:none;margin-left:auto;background:none;border:0;color:var(--ink);font-size:22px;cursor:pointer;padding:4px 8px}

/* ---------- type ---------- */
.eyebrow{font-size:11.5px;letter-spacing:.26em;text-transform:uppercase;color:var(--gold);font-weight:700}
h1.display{font-family:var(--disp);font-weight:800;letter-spacing:-.015em;line-height:.98;
  font-size:clamp(38px,7.4vw,86px);margin:18px 0 0;text-transform:uppercase}
h2.sec{font-family:var(--disp);font-weight:800;letter-spacing:-.01em;line-height:1.05;
  font-size:clamp(28px,4.4vw,48px);margin:0 0 6px;text-transform:uppercase}
.sec-sub{color:var(--ink-3);font-size:14px;letter-spacing:.14em;text-transform:uppercase;margin-bottom:34px}
h3{font-size:var(--h3-s);margin:0 0 10px;font-weight:700;letter-spacing:-.005em}
p{margin:0 0 15px}
.lead{font-size:clamp(16px,1.7vw,19px);color:var(--ink-2);line-height:1.72;max-width:64ch}
.gold{color:var(--gold)}
.rule{height:1px;background:var(--rule);border:0;margin:0}

/* ---------- section ---------- */
section{padding:var(--sec) 0}
section.tight{padding:var(--sec-s) 0}
/* Two plain dark sections running together read as one long slab. A shift to
   --bg-2 is barely a shade, and it is enough to make them two. (Not .band —
   that name is already a bordered pull-quote on three pages.) */
section.shade{background:var(--bg-2)}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;gap:9px;text-decoration:none;font-weight:700;font-size:14.5px;
  padding:14px 30px;border-radius:100px;transition:.2s;border:1px solid transparent;cursor:pointer;font-family:var(--sans)}
.btn-p{background:var(--gold);color:#171308}
.btn-p:hover{background:var(--gold-hi);transform:translateY(-1px)}
.btn-g{border-color:var(--rule-2);color:var(--ink)}
.btn-g:hover{border-color:var(--gold);color:var(--gold);transform:translateY(-1px)}
.btns{display:flex;gap:12px;flex-wrap:wrap;margin-top:32px}

/* ---------- media: image frame + floating card ----------
   .ph is the slot a real photograph drops into. Until the shoot lands it
   renders as a deliberate warm panel rather than an empty grey box, so the
   page reads as designed at every stage. Swap by adding <img> inside .frame. */
.ph{position:relative;width:100%;height:100%;min-height:260px;border-radius:20px;overflow:hidden;
  background:
    radial-gradient(115% 90% at 16% 8%, rgba(240,122,26,.34) 0%, transparent 56%),
    radial-gradient(95% 85% at 92% 88%, rgba(255,176,64,.15) 0%, transparent 62%),
    linear-gradient(148deg,#221D15 0%,#15170F 52%,#0D0E0C 100%);
}
.ph::after{content:"";position:absolute;inset:0;opacity:.42;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E")}
/* per-slot variation so a grid of placeholders doesn't look like one tile repeated.
   Brightness/saturation only — hue-rotate pushed the warm palette toward olive. */
.ph-b{filter:brightness(1.08)}
.ph-c{filter:saturate(.8) brightness(.94)}
.ph-d{filter:saturate(1.12) brightness(1.02)}
.ph-e{filter:saturate(.7) brightness(.9)}
.ph-f{filter:saturate(1.1)}
.ph-g{filter:saturate(.85) brightness(.96)}

.frame{position:relative;min-height:clamp(300px,40vw,460px)}
.frame .ph,.frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:20px}
.float-card{position:absolute;left:-30px;bottom:28px;max-width:340px;z-index:3;
  /* 半透明，让底图透出来 —— 全不透明时这张卡像贴上去的，不像浮在画面上 */
  background:color-mix(in srgb,#0B0C0A 62%,transparent);backdrop-filter:blur(16px) saturate(1.4);
  border:1px solid rgba(255,255,255,.14);border-radius:20px;padding:22px 24px;
  box-shadow:0 26px 64px rgba(0,0,0,.5)}
.float-card.float-r{left:auto;right:-30px}
.float-card h4{margin:0 0 9px;font-size:15.5px;font-weight:700;letter-spacing:-.005em;color:var(--ink);
  text-transform:none;line-height:1.35}
.float-card h4{text-shadow:0 1px 10px rgba(0,0,0,.7)}
.float-card p{margin:0;font-size:13.5px;color:var(--ink-2);line-height:1.62;
  text-shadow:0 1px 10px rgba(0,0,0,.7)}

/* ---------- grids ---------- */
.g2{display:grid;grid-template-columns:1fr 1fr;gap:clamp(20px,3vw,44px)}
.g3{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(16px,2.4vw,28px)}
.g4{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(14px,2vw,22px)}

/* ---------- cards ---------- */
.card{border:1px solid var(--rule);border-radius:12px;padding:26px;background:linear-gradient(160deg,#141612,#0E0F0D)}
.card.acc{border-top:2px solid var(--gold)}
.card h3{font-size:var(--h3-s)}
.card p{font-size:14.5px;color:var(--ink-2);margin-bottom:0}

/* ---------- stats ---------- */
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1px;background:var(--rule);
  border:1px solid var(--rule);border-radius:12px;overflow:hidden}
.stat{background:var(--bg);padding:22px}
.stat b{display:block;font-family:var(--disp);font-size:clamp(26px,3.6vw,40px);color:var(--gold);line-height:1;letter-spacing:-.01em}
.stat span{display:block;font-size:12.5px;color:var(--ink-3);margin-top:9px;line-height:1.5}

/* ---------- footer ---------- */
footer{border-top:1px solid var(--rule);padding:clamp(40px,5vw,62px) 0 34px;background:var(--bg-2)}
.foot-g{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:34px;margin-bottom:34px}
footer h4{font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--ink-3);margin:0 0 14px;font-weight:700}
footer ul{list-style:none;padding:0;margin:0}
footer li{margin-bottom:9px}
footer a{color:var(--ink-2);text-decoration:none;font-size:14.5px;transition:color .18s}
footer a:hover{color:var(--gold)}
.foot-bot{border-top:1px solid var(--rule);padding-top:22px;font-size:12.5px;color:var(--ink-3);
  display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap}

/* ---------- utility ---------- */
.center{text-align:center}
.mt0{margin-top:0}
[data-i18n]:empty{min-height:1em}
.hide{display:none!important}

@media (max-width:1100px){
  .g4{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:900px){
  .g2,.g3,.g4{grid-template-columns:1fr}
  .foot-g{grid-template-columns:1fr;gap:26px}
  .float-card,.float-card.float-r{left:16px;right:16px;max-width:none;bottom:16px}
  /* Anchored to the bar rather than to a hard 60px, so shrinking the bar for
     phones cannot leave a strip of page showing between the two. */
  /* Bounded, so a long menu on a short screen (landscape, or a phone with a large
     text size) scrolls inside itself instead of pushing off the bottom. That also
     makes it a real scroll container, which is the only condition under which
     overscroll-behavior does anything — on a plain absolutely-positioned div the
     property is inert. Y axis only: containing both axes interferes with the
     iPhone edge-swipe back gesture. */
  .nav-links{position:absolute;top:100%;left:0;right:0;background:var(--bg-2);flex-direction:column;
    align-items:flex-start;padding:14px var(--pad) 20px;border-bottom:1px solid var(--rule);display:none;
    max-block-size:calc(100dvh - var(--nav-h) - 8px);overflow-y:auto;overscroll-behavior-y:contain}
  .nav-links.open{display:flex}
  .burger{display:block}
  .lang{margin-left:auto}

  /* The header row is logo + burger + language + Contact. At 375px those add up
     to more than the viewport and the Contact button — the only standing
     conversion target on the site — was rendered past the right edge where
     nobody could see or tap it. Tighten the gaps and the language pills so all
     four fit, and give the burger a 44px target since it is the sole way to
     reach the nav on a phone. */
  .nav-in{gap:10px;padding-left:16px;padding-right:16px}
  .burger{margin-left:0;padding:10px;font-size:20px;line-height:1;min-width:44px;min-height:44px}
  .lang button{padding:7px 9px;font-size:12px}
  .nav-cta{padding:11px 13px;flex:none}
}
@media (max-width:380px){
  .logo img{height:20px}
  .lang button{padding:7px 7px}
}

/* ---------- read-aloud control ----------
   A floating pill, low enough not to fight the content, high enough to find.
   Hidden from print. */
.tts{position:fixed;right:clamp(14px,2.4vw,28px);bottom:clamp(14px,2.4vw,28px);z-index:80;
  display:flex;align-items:stretch;gap:1px;border-radius:100px;overflow:hidden;
  border:1px solid var(--rule-2);background:color-mix(in srgb,#0B0C0A 90%,transparent);
  backdrop-filter:blur(16px) saturate(1.4);box-shadow:0 14px 40px rgba(0,0,0,.5)}
.tts button{appearance:none;border:0;background:transparent;color:var(--ink);font:inherit;
  font-size:13.5px;font-weight:700;cursor:pointer;transition:.18s;white-space:nowrap}
.tts-main{display:flex;align-items:center;gap:10px;padding:12px 20px}
.tts-main:hover{color:var(--gold)}
.tts-stop{padding:12px 16px;color:var(--ink-3);border-left:1px solid var(--rule-2);font-size:13px;display:none}
.tts-stop:hover{color:var(--ink)}
.tts[data-state="playing"] .tts-stop,.tts[data-state="paused"] .tts-stop{display:block}
.tts[data-state="playing"]{border-color:var(--gold)}

.tts-ico{display:flex;align-items:flex-end;gap:2.5px;height:14px}
.tts-ico i{display:block;width:2.5px;height:5px;border-radius:2px;background:var(--gold);
  transition:height .2s}
.tts[data-state="playing"] .tts-ico i{animation:tts-eq .9s ease-in-out infinite}
.tts[data-state="playing"] .tts-ico i:nth-child(2){animation-delay:.15s}
.tts[data-state="playing"] .tts-ico i:nth-child(3){animation-delay:.3s}
@keyframes tts-eq{0%,100%{height:4px}50%{height:14px}}
@media (prefers-reduced-motion:reduce){.tts-ico i{animation:none!important}}

/* the block currently being read */
.tts-on{box-shadow:inset 3px 0 0 var(--gold);background:color-mix(in srgb,var(--gold) 9%,transparent);
  border-radius:6px;transition:background .25s}
.light .tts-on{background:color-mix(in srgb,#B8791F 12%,transparent);box-shadow:inset 3px 0 0 #B8791F}





/* ---------- collapsed-nav page map ----------
   A quiet index, not a card grid. The first version was five large boxes with
   no label, dropped in without introduction — it read as something that had
   fallen into the page rather than part of it. A hairline, the word the footer
   already uses over this same list, and small pills that wrap: about half the
   height, and it now reads as "the rest of the site is over here". */
.pagemap{display:none}
@media (max-width:900px){
  .pagemap{display:block;max-width:var(--max);margin:0 auto;
    padding:0 var(--pad) var(--sec-s)}
  .pagemap>div{display:flex;flex-wrap:wrap;gap:8px;padding-top:16px;
    border-top:1px solid var(--rule)}
  .pagemap-k{font-size:11px;letter-spacing:.22em;text-transform:uppercase;
    color:var(--ink-3);font-weight:700;margin:0 0 12px}
  .pagemap a{display:inline-flex;align-items:center;min-height:44px;padding:0 15px;
    border:1px solid var(--rule-2);border-radius:100px;text-decoration:none;
    font-size:14px;font-weight:700;color:var(--ink-2);white-space:nowrap;
    transition:border-color .18s,color .18s}
  .pagemap a:active{border-color:var(--gold);color:var(--gold)}
}

/* ---------- phone ----------
   Everything below was measured on a 390×844 viewport — what an iPhone 14/15
   reports — and fixes something that only goes wrong at that width. The desktop
   rules above are untouched. */
@media (max-width:760px){

  /* Touch targets. Apple asks for 44×44 and the reason is physical: a fingertip
     covers about that much. The language switcher was 33–43px wide and 34 tall,
     and it is the first thing a visitor who wants 中文 reaches for on an English
     page. The seven nav links inside the open menu were 24px tall and stacked,
     which is a mis-tap generator. */
  .lang button{padding:11px 13px;min-height:44px;font-size:13px}
  .nav-links a{display:flex;align-items:center;width:100%;min-height:44px;font-size:15px}
  /* 44 tall, but NOT 44 wide. The bar holds logo + burger + three language pills
     + Contact, and at 390px forcing a min-width here pushed Contact 12px past
     the right edge — the same failure the gap tightening above was written to
     fix. Height is the dimension a thumb misses on; width here is 44 already
     once the arrow and its padding are counted. */
  .nav-cta{min-height:44px;justify-content:center}
  .nav-in{gap:8px}
  .logo img{height:20px}
  .tab{min-height:44px}
  /* The mark is 20px tall by design; the link around it does not have to be. */
  .logo{min-height:44px;align-items:center}
  /* Standalone links only — the footer column list and the two mail addresses.
     An <a> inside a sentence keeps its line height; stretching those would open
     gaps in the middle of a paragraph. */
  .foot-mail,.foot-mail2,footer .foot-g ul a,
  .rlink,.pmail{display:flex;align-items:center;min-height:44px}
  /* Left alone on purpose: an <a> sitting inside a sentence keeps its line
     height. Stretching those would tear a hole in the paragraph. */

  /* A sticky bar costs its height on every screen for the whole visit. 73px was
     the desktop padding carried across; 44 (the Contact target) + 14 is the
     floor once the targets above are honoured. */
  .nav-in{padding-top:7px;padding-bottom:7px}

  /* Section headings land at 24–28px here and nearly all of them wrap to two
     lines. line-height 1.05 is right for 48px display type and cramped the
     moment the lines stack — descenders run into the line below. */
  h2.sec{line-height:1.18}
  h1.display{line-height:1.06}

  /* Card copy. 14px reads fine on a 27-inch monitor and asks to be squinted at
     on a phone. Raised here only — the desktop measure stays as designed.
     The html prefix is not decoration: each page defines these rules in its own
     inline <style>, which loads after this file and would otherwise win. */
  html .pil p, html .pcard p, html .step p, html .qa p, html .form-c p,
  html .tri p, html .fs p, html .person p, html .org p, html .next p,
  html .plist li, html .spk-b li{font-size:15.5px;line-height:1.7}
  html .fig span, html .chain span, html .slot .t, html .mkt-t span,
  html footer .foot-addr, html footer .foot-inv p{font-size:14.5px}

  /* iPhone reserves roughly 34px at the bottom for the home indicator. Anything
     sitting in it competes with a system gesture: the user aims at the button,
     the phone goes to the home screen. */
  .tts{bottom:calc(clamp(14px,2.4vw,28px) + env(safe-area-inset-bottom,0px))}
  footer{padding-bottom:calc(34px + env(safe-area-inset-bottom,0px))}

  /* The read-aloud pill measured 179px — 46% of the screen — parked over the
     bottom-right corner for the entire scroll. Icon only on a phone; listen.js
     copies the label into aria-label, so the accessible name survives. */
  .tts-label{display:none}
  .tts-main{padding:0;width:44px;height:44px;justify-content:center;gap:0}
  .tts-stop{padding:0 14px}

  /* Figure beside caption works at 1100px and starves the caption at 350: the
     number took 40px and left 184, which broke the line every eight characters. */
  .chain li{grid-template-columns:1fr;gap:5px}
}

/* Narrow Android — 360px is the single most common phone width outside iPhone.
   The bar carries logo + burger + three language pills + Contact, and this block
   sits after the older max-width:380px rules, so the roomier padding set above
   was overriding them and pushing Contact off the right edge again. Everything
   here trades width, never the 44px height a thumb actually misses on. */
@media (max-width:400px){
  .nav-in{gap:6px;padding-left:14px;padding-right:14px}
  .lang button{padding:11px 5px;font-size:12px;min-width:34px}
  .burger{min-width:40px;padding:10px 6px}
  .nav-cta{padding:11px 10px}
  .logo img{height:19px}
}

/* Below about 340px the bar simply cannot hold five elements on one line at any
   padding — an iPhone SE (1st gen) has 292px of usable width and the pieces need
   312. Rather than cram or hide the language switcher, let it drop to a full
   width row of its own, where each pill becomes the largest target on the page. */
@media (max-width:340px){
  .nav-in{flex-wrap:wrap;row-gap:6px}
  .lang{order:9;width:100%;margin-left:0}
  .lang button{flex:1;min-width:0}
}

@media print{.tts{display:none}}
@media (max-width:520px){.tts-main{padding:11px 16px;font-size:12.5px}}

/* keyboard users should be able to jump the nav */
.skip{position:absolute;left:-9999px;top:0;z-index:200;background:var(--gold);color:#171308;
  padding:12px 20px;border-radius:0 0 10px 0;font-weight:700;font-size:14px;text-decoration:none}
.skip:focus{left:0}

/* ============================================================
   CJK typography corrections
   The display stack is condensed for Latin (Helvetica Neue Condensed /
   Arial Narrow) but falls back to PingFang / Source Han for Chinese, which
   is NOT condensed and fills the full em square. The same px therefore reads
   far larger and heavier in Chinese. Everything below is a zh-only climb-down
   in size, plus the line-breaking rules Chinese needs and Latin does not.
   ============================================================ */

/* headings inherited the 1.7 body leading — far too loose for a heading */
h3{line-height:1.38}
h1,h2,h3,h4,.script,.mis-line,.vis-line{text-wrap:balance}
p,.lead{text-wrap:pretty}

html[lang^="zh"]{
  /* 禁则处理: never start a line with ，。、）」etc., and never break inside a word */
  line-break:strict;
  word-break:normal;
  overflow-wrap:normal;
}
html[lang^="zh"] h1,
html[lang^="zh"] h2.sec{letter-spacing:0}

/* Chinese display type goes serif.
   The Latin display stack is condensed and industrial, which is right for
   English — it looks like a spec sheet, which is the point. Chinese gets none
   of that: the condensed faces have no CJK glyphs, so every Chinese heading was
   falling through to a generic PingFang bold. Songti / Source Han Serif carries
   the same weight of voice for Chinese that the condensed sans carries for
   Latin, and it is the register this brand actually speaks in. */
html[lang^="zh"] h1,
html[lang^="zh"] h2.sec,
html[lang^="zh"] .fdr-t h2,
html[lang^="zh"] .mis-line,
html[lang^="zh"] .vis-line,
html[lang^="zh"] .hr-punch,
html[lang^="zh"] .punch{font-family:var(--serif);font-weight:600}
html[lang^="zh"] h2.sec{text-transform:none}

html[lang^="zh"] h2.sec{font-size:clamp(25px,3.4vw,38px);line-height:1.28}
html[lang^="zh"] .hero h1{font-size:clamp(27px,3.6vw,44px);line-height:1.24}
html[lang^="zh"] .sub h1{font-size:clamp(26px,3.4vw,40px);line-height:1.26}
html[lang^="zh"] .mis-line,
html[lang^="zh"] .vis-line{font-size:clamp(21px,2.8vw,34px);line-height:1.38}
html[lang^="zh"] .hr-punch{font-size:clamp(17px,2vw,23px);line-height:1.6}
html[lang^="zh"] .punch{font-size:clamp(16px,1.8vw,21px);line-height:1.65}
html[lang^="zh"] .claim p,
html[lang^="zh"] .band p{font-size:clamp(19px,2.2vw,26px);line-height:1.45}
html[lang^="zh"] h3{line-height:1.45}
html[lang^="zh"] .strip-t h3,
html[lang^="zh"] .crisp-t h3,
html[lang^="zh"] .split-t h3{line-height:1.4}
html[lang^="zh"] .step h3,
html[lang^="zh"] .qa h3,
html[lang^="zh"] .pcard h3,
html[lang^="zh"] .pil h3,
html[lang^="zh"] .tri h3,
html[lang^="zh"] .fu h3{line-height:1.5}
/* wide tracking is a Latin device; on CJK it just prises the characters apart */
html[lang^="zh"] .eyebrow{letter-spacing:.13em}
html[lang^="zh"] .sec-sub{letter-spacing:.05em;font-size:13px}
html[lang^="zh"] .case-tag,
html[lang^="zh"] .badge,
html[lang^="zh"] .lbl-sm,
html[lang^="zh"] .lbl-ev{letter-spacing:.1em}
html[lang^="zh"] .fig span,
html[lang^="zh"] .chain span{line-height:1.7}

/* Spanish runs ~20% longer than English; let long compounds break rather
   than push a card wider than its column. Small type only — a word split
   across two lines of 50px display type reads as a defect, not a wrap. */
html[lang="es"] h3,
html[lang="es"] .plist li,
html[lang="es"] .fig span{hyphens:auto}
html[lang="es"] h1,
html[lang="es"] h2.sec{hyphens:manual}
html[lang="es"] h2.sec{font-size:clamp(25px,3.8vw,42px)}
html[lang="es"] .hero h1{font-size:clamp(30px,4.2vw,50px)}
html[lang="es"] .sub h1{font-size:clamp(29px,4.3vw,52px)}

/* A CJK headline that already carries a hand-placed <br> must not also be
   re-balanced by the browser — that is what strands a single character on
   its own line. Let the author's break stand and give it room. */
html[lang^="zh"] .hero h1,
html[lang^="zh"] .sub h1{max-width:none;text-wrap:normal}
html[lang^="zh"] h2.sec,
html[lang^="zh"] .mis-line,
html[lang^="zh"] .vis-line{text-wrap:normal}
