/* VenturesLab 创业工场, design d12: a two-colour printed annual in soot and the green of the firm's seal. */

@font-face {
  font-family: "EB Garamond";
  src: url(fonts/eb-garamond-normal-latin.woff2) format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "EB Garamond";
  src: url(fonts/eb-garamond-italic-latin.woff2) format("woff2");
  font-weight: 400 800;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f4f4f1;
  --paper-2: #e6e6e1;
  --white: #ffffff;
  --ink: #0f0f0f;
  --muted: #555555;
  --soot: #0f0f0f;
  --on-soot: #ffffff;
  --on-soot-muted: #a8a8a8;
  --seal: #46a629;            /* sampled from the seal in the firm's logo */
  --on-seal: #0f0f0f;

  /* Latin first so English words set in Garamond; each CJK list ends without a generic so the next list is reached. */
  --latin: "EB Garamond", "Garamond";
  --cjk-serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "Noto Serif SC", "SimSun";
  --cjk-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "Noto Sans SC", "WenQuanYi Micro Hei";

  --margin: clamp(20px, 3.4vw, 48px);
  --gutter: clamp(12px, 1.7vw, 24px);
  --section: clamp(96px, 11vw, 176px);

  --step-small: 0.875rem;
  --step-body: 1.125rem;
  --step-lead: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem);
  --step-head: clamp(2rem, 1.3rem + 3vw, 4rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
:root:lang(en) { --step-body: clamp(1.1875rem, 1.1rem + 0.3vw, 1.3125rem); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: var(--step-body);
  font-kerning: normal;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
body { font-family: var(--latin), var(--cjk-serif), var(--cjk-sans), serif; line-height: 1.5; }
html:lang(zh) body { font-family: var(--cjk-sans), sans-serif; line-height: 1.8; letter-spacing: 0.02em; }
/* Chinese headings, statements and quotations in Song, which also sets their quotation marks and figures full-width;
   running text and controls in Hei. */
html:lang(zh) :is(h1, h2, h3, .lead, .hero-standfirst, .hero-lines, blockquote, .questions, .signature, .colophon-name, .tally strong, .places) {
  font-family: var(--cjk-serif), var(--latin), var(--cjk-sans), serif;
}
[lang="en"] { font-family: var(--latin), var(--cjk-serif), var(--cjk-sans), serif; letter-spacing: 0; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: from-font; text-underline-offset: 0.22em; }
a:hover { color: var(--accent-link, inherit); }
:focus-visible { outline: 3px solid var(--seal); outline-offset: 3px; }
::selection { background: var(--seal); color: var(--on-seal); }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
.lead, .hero-lines li { text-wrap: balance; }
/* Short Chinese statements break only at punctuation, so no word is split across their lines. */
html:lang(zh) :is(.hero-lines li, .strategy-head .lead) { word-break: keep-all; overflow-wrap: anywhere; }
p, li { text-wrap: pretty; }
:lang(zh) :is(h1, h2, h3) { letter-spacing: 0.04em; line-height: 1.25; }
:lang(en) :is(h1, h2, h3) { letter-spacing: -0.01em; line-height: 1.1; }

.skip { position: absolute; left: var(--margin); top: -100px; z-index: 10; background: var(--ink); color: var(--white); padding: 12px 18px; }
.skip:focus { top: 12px; }
.no-js .js-only { display: none !important; }

/* ---------- the grid: twelve columns, the axis at the start of column six (about 42%) ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  padding-inline: var(--margin);
}
.grid-sub { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; }

.section-title { font-size: var(--step-head); }
.page-title { font-size: clamp(3.5rem, 1rem + 6.5vw, 8rem); line-height: 1.05; }
.page-title .mask { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.page-title .mask > span { display: block; }
.js .page-title .mask > span { animation: line-rise 900ms var(--ease) 80ms both; }
.js [data-load] { animation: fade-up 760ms var(--ease) both; animation-delay: calc(160ms + var(--d, 0) * 90ms); }
:lang(zh) .page-title { letter-spacing: 0.06em; line-height: 1.1; }
.lead { font-size: var(--step-lead); line-height: 1.6; }
:lang(en) .lead { line-height: 1.4; }

.prose p:empty { display: none; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 1em; }
:lang(zh) .prose { text-align: justify; }
:lang(en) .prose { hyphens: auto; }
.prose a { text-decoration-color: var(--seal); text-decoration-thickness: 2px; }

/* ---------- buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  background: var(--seal); color: var(--on-seal);
  font-size: var(--step-body); letter-spacing: 0.04em; text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 120ms ease;
}
.button:hover { background: var(--ink); color: var(--white); }
.button:active { transform: scale(0.97); }
.button--ink { background: var(--ink); color: var(--white); }
.button--ink:hover { background: var(--seal); color: var(--on-seal); }

/* ---------- masthead ---------- */
.masthead { align-items: center; padding-block: 22px; }
.brand { grid-column: 1 / 6; justify-self: start; display: block; }
.logo { display: block; position: relative; overflow: hidden; width: clamp(150px, 14vw, 200px); aspect-ratio: 660 / 196; }
/* The logo file is a white sheet with the mark in its middle: crop to the mark and let the white take the paper. */
.logo img { position: absolute; max-width: none; width: 121.21%; left: -14.545%; top: -89.796%; mix-blend-mode: multiply; }
.nav { grid-column: 6 / 12; }
.nav ul { display: flex; flex-wrap: wrap; gap: 6px 32px; }
.nav a, .lang { display: inline-block; padding-block: 8px; font-size: var(--step-body); text-decoration: none; }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px; background: var(--seal); transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.lang { grid-column: 12 / 13; justify-self: end; }
.lang:hover { color: var(--seal); }

/* ---------- home: hero ---------- */
.hero { padding-bottom: var(--section); }
.hero-title {
  grid-column: 6 / 13; grid-row: 1;
  min-height: calc(68svh - 168px);
  padding-top: clamp(16px, 3vh, 40px);
  word-break: keep-all;
}
:lang(zh) .hero-title { font-size: clamp(3.5rem, 10.2vw, 10.75rem); line-height: 1.06; letter-spacing: 0.02em; }
:lang(en) .hero-title { font-size: clamp(2.75rem, 5.5vw, 6rem); line-height: 1; letter-spacing: -0.015em; }
.hero-title .line { display: block; }
.hero-title.is-split .line { overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero-title.is-split .line-inner { display: block; animation: line-rise 900ms var(--ease) both; animation-delay: calc(120ms + var(--i) * 110ms); }
@keyframes line-rise { from { transform: translateY(108%); } to { transform: none; } }
.js .hero-talk, .js .hero-wall { animation: fade-up 700ms var(--ease) 560ms both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.hero-talk { grid-column: 1 / 6; grid-row: 1; align-self: start; margin-top: clamp(48px, 20vh, 220px); max-width: 26em; }
.hero-standfirst { font-size: var(--step-lead); line-height: 1.45; }
.hero-lines { margin-top: 28px; }
.hero-lines li { position: relative; padding-left: 1.2em; }
.hero-lines li + li { margin-top: 0.5em; }
.hero-lines li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.45em; height: 0.45em; background: var(--seal); }
.hero-talk .button { margin-top: 40px; }

.hero-wall { grid-column: 1 / -1; grid-row: 2; position: relative; margin: 72px calc(-1 * var(--margin)) 0; }
/* The tally overlaps the band's top-right corner by half its height, over the two flat tiles laid there. */
.tally {
  position: absolute; z-index: 1; right: 0; top: 0; transform: translateY(-50%);
  width: max(calc(200% / 9), 250px); padding: 18px 22px 20px;
  background: var(--seal); color: var(--on-seal); text-decoration: none;
  display: grid; gap: 2px;
  transition: background-color 180ms ease, color 180ms ease;
}
.tally strong { font-size: var(--step-head); font-weight: 400; line-height: 1; }
.tally span { line-height: 1.4; }
.tally:hover { background: var(--ink); color: var(--white); }
.wall { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); }

/* A logo on its ground: light tiles take the logo's white into the tile, dark tiles carry the logos drawn in white. */
.tile, .plate { position: relative; overflow: hidden; }
.tile { aspect-ratio: 1; }
.tile img, .plate img { position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: 70%; max-height: 40%; }
.tile--light, .plate--light { background: var(--paper-2); }
.tile--light img, .plate--light img { mix-blend-mode: multiply; }
.tile--dark, .plate--dark { background: var(--soot); }
.tile--seal, .plate--seal { background: var(--seal); color: var(--on-seal); display: grid; place-items: center; }
.tile-name { padding: 0 8px; text-align: center; line-height: 1.3; }
.plate--seal .tile-name { font-size: var(--step-lead); }

/* ---------- home: the founder's letter ---------- */
.letter { padding-block: var(--section); row-gap: 40px; background: var(--white); }
.letter .section-title { grid-column: 1 / 6; grid-row: 1; }
.letter-portrait { grid-column: 1 / 4; grid-row: 2; align-self: start; position: sticky; top: 32px; }
.letter-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.letter-portrait figcaption, figure figcaption { margin-top: 10px; font-size: var(--step-small); line-height: 1.5; color: var(--muted); }
.letter-body { grid-column: 6 / 12; grid-row: 1 / 3; max-width: 36em; }
:lang(en) .letter-body { max-width: 34em; }
.questions { margin-block: 1.6em; font-size: var(--step-lead); line-height: 1.55; }
:lang(zh) .questions { text-align: left; }
.questions li { position: relative; padding-left: 1.3em; }
.questions li + li { margin-top: 0.7em; }
.questions li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.5em; height: 0.5em; background: var(--seal); }
.questions li p { margin: 0; }
.signature { grid-column: 6 / 12; grid-row: 3; display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); padding-top: 24px; font-size: var(--step-lead); line-height: 1.5; }
/* The firm's seal, cut from its logo and stamped beside the signature. */
.seal { position: relative; flex: none; width: 112px; aspect-ratio: 1; overflow: hidden; transform: rotate(-5deg); }
.seal img { position: absolute; max-width: none; width: 441.99%; left: -57.46%; top: -101.66%; mix-blend-mode: multiply; }

/* ---------- home: sayings on the soot page ---------- */
.sayings { background: var(--soot); color: var(--on-soot); padding-block: var(--section); row-gap: clamp(48px, 5vw, 80px); --accent-link: var(--seal); }
.sayings .section-title { grid-column: 1 / 5; grid-row: 1; align-self: start; }
.saying { grid-column: 6 / 12; grid-row: var(--row); }
.saying p { font-size: var(--step-lead); line-height: 1.75; }
:lang(en) .saying p { line-height: 1.45; }
.saying-figure { grid-row: var(--row); align-self: end; }
.saying-figure figcaption { color: var(--on-soot-muted); }
.odds { grid-column: 2 / 5; max-width: 220px; }
.odds rect.o100 { fill: rgb(255 255 255 / 0.16); }
.odds rect.o10 { fill: rgb(255 255 255 / 0.62); }
.odds rect.o1 { fill: var(--seal); }
.horse { grid-column: 1 / 5; }
.horse-frame { overflow: hidden; }
.horse-frame img { width: 100%; transform: scale(1.08); }

/* ---------- home: strategy and the BP draft ---------- */
.strategy { align-items: start; }
.strategy-head { grid-column: 8 / 13; grid-row: 1; padding-top: var(--section); }
.strategy-head .lead { margin-top: 28px; }
.draft-hint { margin-top: 20px; color: var(--muted); }
.points { grid-column: 8 / 13; grid-row: 2; padding-bottom: var(--section); }
.point { padding-top: clamp(64px, 9vh, 104px); }
.point h3 { font-size: var(--step-lead); }
.point p { margin-top: 16px; max-width: 30em; }
.control { margin: 28px 0 0; padding: 0; border: 0; min-width: 0; }
.control legend, .control > label { display: block; padding: 0; margin-bottom: 12px; font-size: var(--step-small); color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: flex; align-items: center; min-height: 44px; padding: 0 18px; background: var(--paper-2); transition: background-color 160ms ease, color 160ms ease, transform 120ms ease; }
.chip:hover span { background: #d6d6d0; }
.chip input:checked + span { background: var(--ink); color: var(--white); }
.chip input:active + span { transform: scale(0.96); }
.chip input:focus-visible + span { outline: 3px solid var(--seal); outline-offset: 3px; }
.control input[type="text"] { width: 100%; min-height: 48px; padding: 10px 14px; border: 0; border-radius: 0; background: var(--paper-2); color: var(--ink); font: inherit; }

.draft-field {
  grid-column: 1 / 7; grid-row: 1 / 3; align-self: stretch;
  margin-left: calc(-1 * var(--margin));
  background: var(--seal);
  padding: var(--section) 32px;
}
/* The draft stays in view beside the four points while they scroll past. */
.draft { position: sticky; top: max(32px, calc(50svh - 16rem)); width: min(440px, 100%); margin-inline: auto; background: var(--white); line-height: 1.6; }
:lang(zh) .draft { line-height: 1.75; }
.draft-row { display: grid; grid-template-columns: 4.5em 1fr; align-items: center; gap: 12px; padding: 10px 22px; min-height: 48px; background: var(--paper); }
.draft-row + .draft-row { margin-top: 2px; }
.draft-row > :first-child { color: var(--muted); font-size: var(--step-small); }
.draft-subject { display: flex; align-items: center; min-width: 0; }
.draft-subject .js-only { display: flex; align-items: center; flex: 1; min-width: 0; }
.draft-sep { white-space: pre; }
.draft-subject input { flex: 1; min-width: 0; min-height: 36px; padding: 4px 8px; margin-left: 4px; border: 0; border-radius: 0; background: var(--white); font: inherit; color: var(--ink); }
.draft-body { padding: 20px 22px 4px; min-height: 13em; }
.draft-body p + p { margin-top: 0.6em; }
.draft-body p { transition: background-color 600ms ease; }
.draft-body p.is-new { background: rgb(70 166 41 / 0.22); transition: none; }
.draft .button { margin: 16px 22px 0; }
.draft-note { padding: 12px 22px 20px; font-size: var(--step-small); color: var(--muted); }

/* ---------- portfolio ---------- */
.pf-head { padding-block: clamp(32px, 5vw, 72px) var(--section); row-gap: 40px; }
.pf-head { align-items: start; }
.pf-head .page-title { grid-column: 1 / 6; grid-row: 1; }
.pf-intro { grid-column: 1 / 6; grid-row: 2; }
.pf-index { grid-column: 6 / 13; grid-row: 1 / 3; padding-top: 0.6em; }
.pf-index ul { columns: 3; column-gap: var(--gutter); }
.pf-index li { break-inside: avoid; padding-block: 3px; }
.pf-index a { text-decoration: none; }
.pf-index a:hover { color: var(--seal); text-decoration: underline; }
.pf-list {
  display: grid; grid-template-columns: 1fr 1fr;
  column-gap: clamp(32px, 4.5vw, 72px); row-gap: clamp(56px, 6vw, 88px);
  padding: 0 var(--margin) var(--section);
}
.company { display: grid; grid-template-columns: clamp(140px, 14vw, 200px) minmax(0, 1fr); column-gap: var(--gutter); align-items: start; scroll-margin-top: 24px; }
.plate { aspect-ratio: 1; }
.plate img { max-width: 72%; max-height: 44%; }
.company h2 { font-size: var(--step-lead); }
.company .prose { margin-top: 12px; }

/* ---------- team ---------- */
.team-head { padding-block: clamp(32px, 5vw, 72px) clamp(48px, 6vw, 96px); }
.team-head .page-title { grid-column: 1 / -1; }
.member { padding-bottom: var(--section); row-gap: 28px; align-items: start; grid-template-rows: auto 1fr; }
.member--dark { background: var(--soot); color: var(--on-soot); padding-top: var(--section); --accent-link: var(--seal); }
.member-portrait { grid-column: 1 / 5; grid-row: 1 / 3; position: sticky; top: 32px; overflow: hidden; }
.member-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.member-name { grid-column: 6 / 12; grid-row: 1; font-size: var(--step-head); }
.member-bio { grid-column: 6 / 12; grid-row: 2; max-width: 36em; }

/* ---------- contact ---------- */
.contact-head { padding-block: clamp(32px, 5vw, 72px) clamp(72px, 7vw, 112px); row-gap: 48px; }
.contact-head { align-items: start; }
.contact-head .page-title { grid-column: 1 / 6; grid-row: 1; }
.contact-intro { grid-column: 1 / 6; grid-row: 2; }
.reach { padding-top: 0.6em; }
.reach h2 { font-size: var(--step-lead); }
.reach-wechat { grid-column: 6 / 9; grid-row: 1 / 3; }
.reach-email { grid-column: 9 / 13; grid-row: 1 / 3; }
.reach-wechat img { width: 200px; margin-top: 18px; }
.reach-value { margin-top: 14px; font-size: var(--step-lead); overflow-wrap: anywhere; }
.reach-email .button { margin-top: 24px; }
.offices { padding-block: clamp(72px, 7vw, 112px) var(--section); row-gap: clamp(56px, 6vw, 88px); background: var(--white); }
.offices .section-title { grid-column: 1 / -1; }
.office { align-items: start; grid-template-rows: auto 1fr; scroll-margin-top: 24px; }
.office-picture { grid-column: 1 / 5; grid-row: 1 / 3; }
.office-picture img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.office h3 { grid-column: 6 / 12; grid-row: 1; font-size: var(--step-head); }
.office-lines { grid-column: 6 / 12; grid-row: 2; margin-top: 16px; font-size: var(--step-lead); line-height: 1.6; overflow-wrap: anywhere; }

/* ---------- colophon ---------- */
.colophon { background: var(--soot); color: var(--on-soot); padding-block: clamp(72px, 9vw, 140px) 40px; --accent-link: var(--seal); }
.colophon .grid { row-gap: 24px; }
.colophon-name { grid-column: 1 / -1; line-height: 1; margin-bottom: clamp(32px, 5vw, 72px); white-space: nowrap; }
:lang(zh) .colophon-name { font-size: min(23vw, 22rem); letter-spacing: 0.02em; margin-left: -0.04em; }
:lang(en) .colophon-name { font-size: min(17vw, 16rem); letter-spacing: -0.02em; margin-left: -0.05em; }
.places { grid-column: 1 / 6; font-size: var(--step-lead); line-height: 1.6; }
.places a { color: var(--seal); text-decoration: none; }
.places a:hover { color: var(--on-soot); }
.colophon-links { grid-column: span 3; line-height: 1.5; }
.colophon-links:first-of-type { grid-column: 7 / 10; }
.colophon-links li + li { margin-top: 8px; }
.colophon-links a { text-decoration: none; }
.colophon-links a:hover { text-decoration: underline; }
.legal { grid-column: 1 / 7; margin-top: 56px; font-size: var(--step-small); color: var(--on-soot-muted); }
.to-top { grid-column: 7 / 13; justify-self: end; margin-top: 56px; font-size: var(--step-small); }

/* ---------- entrances ---------- */
.will-reveal [data-r] { transition: opacity 760ms var(--ease), transform 760ms var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.will-reveal:not(.is-in) [data-r] { opacity: 0; transform: translateY(26px); }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .horse-frame img { animation: drift linear both; animation-timeline: view(); }
    .member-portrait img { animation: settle linear both; animation-timeline: view(); animation-range: cover 0% cover 60%; }
    /* Portfolio logos settle into their plates as they scroll in; nothing is hidden on the way. */
    .plate img { animation: settle-in linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
    @keyframes settle-in { from { transform: translateY(18%) scale(0.9); } to { transform: none; } }
    @keyframes settle { from { transform: scale(1.08); } to { transform: none; } }
    @keyframes drift { from { transform: scale(1.14) translateY(-5%); } to { transform: scale(1.14) translateY(5%); } }
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title.is-split .line-inner, .js .hero-talk, .js .hero-wall, .js .page-title .mask > span, .js [data-load] { animation: none; }
  .will-reveal [data-r] { transition: opacity 400ms ease; transform: none !important; }
  .button, .chip span, .tally { transition: none; }
}

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  /* Below desktop the hero stacks: the headline across the page, then the standfirst, then the band. */
  .hero-title { grid-column: 1 / -1; min-height: 0; padding-top: 32px; }
  :lang(zh) .hero-title { font-size: 13vw; }
  :lang(en) .hero-title { font-size: 8.4vw; }
  .hero-talk { grid-column: 1 / 10; grid-row: 2; margin-top: 40px; max-width: none; }
  .hero-wall { grid-row: 3; margin-top: 104px; }
  .letter-portrait { grid-column: 1 / 5; }
  .strategy-head, .points { grid-column: 7 / 13; }
  .pf-index ul { columns: 2; }
  .pf-list { grid-template-columns: 1fr; }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .masthead { padding-block: 16px 8px; row-gap: 4px; }
  .brand { grid-column: 1 / 5; }
  .lang { grid-column: 5 / 7; }
  .nav { grid-column: 1 / -1; grid-row: 2; }
  .nav ul { gap: 2px 22px; }

  .hero { padding-bottom: 72px; }
  .hero-title { grid-column: 1 / -1; min-height: 0; padding-top: 28px; }
  :lang(zh) .hero-title { font-size: 15vw; }
  :lang(en) .hero-title { font-size: 9.6vw; }
  .hero-talk { grid-column: 1 / -1; grid-row: 2; margin-top: 28px; max-width: none; }
  .hero-talk .button { display: flex; width: 100%; margin-top: 28px; }
  .hero-wall { grid-column: 1 / -1; grid-row: 3; margin-top: 88px; }
  /* A phone shows the band's first six rows of three; the tally links to all of them. */
  .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wall li:nth-child(n + 19) { display: none; }
  .tally { width: calc(200% / 3); }

  .letter { row-gap: 28px; }
  .letter .section-title { grid-column: 1 / -1; }
  .letter-portrait { grid-column: 3 / -1; grid-row: 2; position: static; }
  .letter-body { grid-column: 1 / -1; grid-row: 3; }
  .signature { grid-column: 1 / -1; grid-row: 4; }
  .seal { width: 88px; }

    .sayings .section-title { grid-column: 1 / -1; grid-row: auto; position: static; }
  .saying { grid-column: 1 / -1; grid-row: auto; }
  .saying-figure { grid-row: auto; }
  .odds { grid-column: 1 / 4; }
  .horse { grid-column: 3 / -1; }

  .points { padding-bottom: 72px; }
  .strategy-head { grid-column: 1 / -1; grid-row: 1; padding-top: var(--section); padding-bottom: 32px; }
  .draft-field { grid-column: 1 / -1; grid-row: 2; align-self: start; position: sticky; top: 0; z-index: 2; height: 42svh; margin-inline: calc(-1 * var(--margin)); padding: 16px var(--margin); overflow: hidden; }
  .draft-field { height: 46svh; }
  /* On a phone the draft keeps its send button in view and scrolls its letter inside. */
  .draft { position: static; display: flex; flex-direction: column; height: 100%; }
  .draft-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
  .draft .button { margin: 10px 16px 0; min-height: 46px; }
  .draft-note { padding: 8px 16px 12px; }
  .draft-row { padding: 8px 16px; }
  .draft-body { padding: 14px 16px 4px; min-height: 0; }
  .points { grid-column: 1 / -1; grid-row: 3; }
  .point { min-height: 0; padding-top: 56px; }

  .pf-head .page-title, .contact-head .page-title { grid-column: 1 / -1; grid-row: 1; }
  .pf-intro, .contact-intro { grid-column: 1 / -1; grid-row: 2; }
  .pf-index { grid-column: 1 / -1; grid-row: 3; padding-top: 0; }
  .reach { padding-top: 0; }
  .company { grid-template-columns: 1fr; }
  .plate { aspect-ratio: 5 / 2; }
  .plate img { max-width: 56%; }
  .company-text { margin-top: 20px; }

  .member-name { grid-column: 1 / -1; grid-row: 1; }
  .member-portrait { grid-column: 4 / -1; grid-row: 2; position: static; }
  .member-bio { grid-column: 1 / -1; grid-row: 3; }

  .reach-wechat { grid-column: 1 / -1; grid-row: 3; }
  .reach-email { grid-column: 1 / -1; grid-row: 4; }
  .office h3 { grid-column: 1 / -1; grid-row: 1; }
  .office-picture { grid-column: 1 / -1; grid-row: 2; margin-top: 20px; }
  .office-lines { grid-column: 1 / -1; grid-row: 3; }

  .places { grid-column: 1 / -1; }
  .colophon-links:first-of-type { grid-column: 1 / 3; margin-top: 24px; }
  .colophon-links { grid-column: 3 / -1; margin-top: 24px; }
  .legal { grid-column: 1 / -1; }
  .to-top { grid-column: 1 / -1; justify-self: start; margin-top: 0; }
}
