/* HTU. — haoweitu.info
   One stylesheet for every page. Generated pages come from scripts/build_site.py. */

:root {
  --paper: #fff;
  --panel: #f3f3f3;                     /* mount behind posters and covers */
  --ink: #000;
  --ink-2: #707070;
  --rule: rgba(0, 0, 0, .14);
  --accent: var(--ink);
  --g: clamp(16px, 2.2vw, 36px);        /* page margin */
  --gap: clamp(12px, 1.4vw, 24px);      /* column gap */
  --head: 48px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --sans: "Archivo", "Noto Sans TC", "PingFang TC", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .38s; animation-timing-function: var(--ease); }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.5; background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "kern";
}
img, video { display: block; max-width: 100%; height: auto; }
.image-window { display: block; width: 100%; position: relative; overflow: hidden; }
.image-window img { position: absolute; max-width: none; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* language: html[data-lang] decides which half of every pair shows */
html:not([data-lang="zh"]) .zh { display: none !important; }
html[data-lang="zh"] .en { display: none !important; }
html[data-lang="zh"] body { line-height: 1.75; }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: var(--g); top: 8px; z-index: 99; background: var(--ink); color: var(--paper); padding: 6px 10px; transform: translateY(-200%); }
.skip:focus { transform: none; }

/* type: one heavy voice (the HTU. mark), everything else quiet and exact */
.lbl { font-size: 10.5px; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
html[data-lang="zh"] .lbl { letter-spacing: .14em; font-weight: 500; }
.mute { color: var(--ink-2); }
.lede { font-size: clamp(19px, 1.85vw, 28px); line-height: 1.22; letter-spacing: -.014em; font-weight: 400; }
html[data-lang="zh"] .lede { line-height: 1.6; letter-spacing: .03em; font-size: clamp(17px, 1.6vw, 24px); font-weight: 400; }
.title { font-size: clamp(56px, 9vw, 160px); line-height: .82; letter-spacing: -.01em; font-weight: 800; font-stretch: 62%; text-transform: uppercase; }
html[data-lang="zh"] .title .zh { letter-spacing: .06em; font-weight: 300; line-height: 1; text-transform: none; }
.num { font-variant-numeric: tabular-nums; }

/* 12-column grid helper */
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }

/* pictures arrive softly */
.js img.fade { opacity: 0; transition: opacity .8s var(--ease); }
.js img.fade.ld { opacity: 1; }

/* ── header: one quiet line ─────────────────────────── */
.hd {
  position: fixed; inset: 0 0 auto 0; height: var(--head); z-index: 50;
  padding: 0 var(--g); align-items: center; font-size: 16px; background: var(--paper);
}
.hd-logo { grid-column: 1 / 4; font-size: 16px; font-weight: 500; letter-spacing: 0; }
.hd-nav { grid-column: 7 / 11; display: flex; gap: clamp(16px, 2vw, 32px); }
.hd-nav a, .hd-lang button { padding: 6px 0; }
.hd-nav a { color: var(--ink); }
.hd-nav a[aria-current="page"], .hd-nav a:hover { color: var(--ink-2); }
.hd-nav sup { display: none; }
.hd-lang { grid-column: 11 / 13; justify-self: end; display: flex; gap: 6px; align-items: center; }
.hd-lang button { color: var(--ink-2); }
.hd-lang button[aria-pressed="true"], .hd-lang button:hover { color: var(--ink); }

/* ── home: hero mark ────────────────────────────────── */
.hero {
  min-height: 100svh; padding: calc(var(--head) + 4vw) var(--g) var(--g);
  position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between;
}
.hero-top { display: block; }
.hero-intro { position: relative; z-index: 2; width: 65%; max-width: 640px; background: var(--paper); }
.hero-intro b { font-weight: 700; font-stretch: 125%; letter-spacing: -.02em; }
.hero-intro .lede { margin-top: 14px; }
.hero-now { position: relative; z-index: 2; margin: clamp(24px,4vw,70px) 3% 36px auto; width: 37%; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; background: var(--paper); }
.hero-window { grid-column: 1 / -1; margin-bottom: 14px; background: var(--paper); aspect-ratio: 1.42; display: flex; align-items: center; justify-content: center; }
.hero-preview { width: 100%; height: 100%; max-height: 420px; object-fit: contain; }
.hero-now .lbl { grid-column: 1 / -1; margin-bottom: 8px; }
.hero-now-num { font-size: 13px; }
.hero-now-title { font-size: 17px; font-weight: 600; line-height: 1.2; }
.hero-now-disc { grid-column: 2; font-size: 13px; color: var(--ink-2); }
.hero-now:hover .hero-now-title { color: var(--accent); }

.mark { display: block; position: relative; width: 100%; margin: clamp(56px,8vh,110px) 0 24px; isolation: isolate; overflow: clip; background: var(--paper); }
.mark-type { display: block; width: max-content; font-size: 33vw; font-weight: 850; font-stretch: 100%; letter-spacing: -.06em; line-height: .84; color: var(--ink); }
.mark-point { display: inline-block; width: .115em; height: .115em; margin-left: .025em; background: currentColor; vertical-align: .008em; }
.ground-lens { position: absolute; left: 43%; top: 18%; width: 15vw; height: 15vw; border-radius: 50%; background: #fff; mix-blend-mode: difference; pointer-events: none; transition: left .35s var(--ease), top .35s var(--ease); }
.hero-bar > .lbl { grid-column: 1 / 7; }
.hero-bar { position: relative; z-index: 3; align-items: center; font-size: 13px; margin-top: 46px; }
.hero-down { grid-column: 9 / 13; justify-self: end; display: inline-flex; gap: 8px; }
.hero-down:hover { color: var(--accent); }
.home-note { padding: clamp(64px,8vw,120px) var(--g) 0; align-items: end; row-gap: 24px; }
.home-note p { grid-column: 1 / 7; max-width: 30em; font-size: clamp(18px,1.8vw,26px); line-height: 1.35; }
.home-note a { grid-column: 9 / 13; justify-self: end; font-size: 15px; }
.home-note a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Articles and a talk: one quiet reading window, then one film. */
.home-features { padding: 0 var(--g); }
.home-feature { margin-top: clamp(80px,10vw,150px); padding-top: 22px; border-top: 1px solid var(--ink); align-items: start; row-gap: 30px; scroll-margin-top: 70px; }
.feature-copy { grid-column: 1 / 4; padding-right: 12px; }
.feature-copy h2 { margin: 20px 0 16px; font-size: clamp(24px,2.4vw,34px); line-height: 1.2; font-weight: 500; letter-spacing: -.025em; }
.feature-copy p { max-width: 24em; font-size: 16px; line-height: 1.6; }
.feature-hint { display: block; margin-top: 36px; color: var(--ink-2); font-size: 12px; }
.press-reader, .home-talk { grid-column: 5 / 13; min-width: 0; }
.press-reader { grid-column: 6 / 12; justify-self: center; width: min(100%,480px); border: 1px solid #c7c7c7; border-radius: 13px; overflow: hidden; box-shadow: 0 12px 36px rgba(0,0,0,.055); }
.press-browserbar { display: flex; align-items: center; gap: 16px; padding: 12px 14px; background: #ededed; border-bottom: 1px solid var(--rule); }
.browser-dots { display: flex; gap: 5px; }
.browser-dots i { display: block; width: 7px; height: 7px; border: 1px solid #aaa; border-radius: 50%; }
.press-browserbar > a { flex: 1; display: flex; justify-content: space-between; gap: 12px; border-radius: 5px; padding: 4px 10px; background: #fff; font-family: var(--mono); font-size: 10px; color: #555; }
.press-choices { display: flex; padding: 0 20px; gap: 24px; border-bottom: 1px solid var(--rule); }
.press-choices a { padding: 14px 0 12px; color: var(--ink-2); font-size: 14px; border-bottom: 2px solid transparent; }
.press-choices a[aria-current="true"] { color: var(--ink); border-bottom-color: currentColor; }
.press-scroll { position: relative; height: clamp(520px,66vh,700px); overflow-y: auto; scroll-behavior: smooth; scrollbar-width: thin; }
.press-article { min-height: 100%; border-bottom: 1px solid var(--rule); }
.press-article:last-child { border-bottom: 0; }
.press-shot { display: block; background: var(--panel); }
.press-shot img { width: 100%; height: auto; }
.press-caption { padding: clamp(20px,3vw,40px); }
.press-caption h3 { margin: 14px 0; max-width: 28em; font-size: clamp(21px,2vw,28px); line-height: 1.25; font-weight: 500; letter-spacing: -.015em; }
.press-caption p { max-width: 42em; font-size: 16px; line-height: 1.6; }
.press-caption > a { display: inline-block; margin-top: 24px; font-size: 14px; border-bottom: 1px solid; }
.press-foot { border-top: 1px solid var(--rule); padding: 10px 20px; color: var(--ink-2); font-size: 11px; }
.home-talk .video-btn, .home-talk iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.home-talk .video-btn span { bottom: 18px; left: 20px; font-size: 15px; }
.talk-source { display: inline-block; margin-top: 12px; font-size: 13px; }
.talk-source:hover { text-decoration: underline; }

/* A small desktop of independent reading windows. */
.home-desktop { position: fixed; inset: calc(var(--head) + 10px) var(--g) 56px; z-index: 30; pointer-events: none; }
.desktop-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-block: 18px; border-top: 1px solid var(--ink); }
.desktop-toolbar h2 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.desktop-toolbar p { margin-top: 8px; font-size: 12px; color: var(--ink-2); }
.window-dock { position: fixed; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 2; display: flex; gap: 8px 20px; max-width: calc(100% - 24px); padding: 6px 20px; border: 1px solid var(--rule); border-radius: 24px; background: #fffffff2; box-shadow: 0 4px 18px #0000000a; font-size: 12px; white-space: nowrap; pointer-events: auto; }
.window-dock button { border-bottom: 1px solid var(--ink); padding-block: 5px; }
.window-dock button[aria-pressed="false"] { color: var(--ink-2); border-bottom-style: dashed; }
.window-workspace { position: absolute; inset: 0; width: 100%; height: 100%; isolation: isolate; }
.floating-window { position: absolute; display: flex; flex-direction: column; min-width: 0; border: 1px solid #bcbcbc; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 10px 28px #00000018; pointer-events: auto; }
.floating-window[hidden] { display: none !important; }
.window-titlebar { display: flex; flex: 0 0 40px; align-items: center; justify-content: space-between; gap: 10px; padding-left: 14px; background: #ededed; cursor: grab; user-select: none; touch-action: none; }
.window-titlebar:active { cursor: grabbing; }
.window-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 500; }
.window-controls { display: flex; height: 40px; }
.window-controls button, .window-controls a { display: grid; place-items: center; width: 34px; font-family: Arial,sans-serif; font-size: 19px; line-height: 1; cursor: pointer; }
.window-controls button:hover, .window-controls a:hover { background: #d9d9d9; }
.window-controls [data-window-close]:hover { background: #111; color: #fff; }
.window-address { flex: 0 0 auto; display: flex; justify-content: space-between; padding: 7px 13px; border-block: 1px solid var(--rule); color: #666; font-family: var(--mono); font-size: 10px; }
.window-content { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.window-shots { display: block; }
.window-shots img { width: 100%; height: auto; }
.window-article-copy { padding: 22px 20px 36px; }
.window-article-copy h3 { margin-bottom: 16px; font-size: 22px; line-height: 1.2; font-weight: 500; }
.window-article-copy p { font-size: 14px; line-height: 1.65; }
.window-article-copy > a { display: inline-block; margin-top: 20px; border-bottom: 1px solid; font-size: 12px; }
.window-resize { position: absolute; right: 0; bottom: 0; width: 22px; height: 22px; cursor: nwse-resize; touch-action: none; background: linear-gradient(135deg,transparent 45%,#aaa 47%,#aaa 50%,transparent 52%,transparent 62%,#aaa 64%,#aaa 67%,transparent 69%) no-repeat 6px 6px / 12px 12px; }
.window-workspace.is-manipulating iframe { pointer-events: none; }
.youtube-masthead { display: flex; align-items: center; gap: 5px; padding: 14px 16px; }
.youtube-masthead b { font-size: 21px; font-family: Arial,sans-serif; letter-spacing: -1px; }
.youtube-symbol { display: inline-block; border-radius: 6px; background: #f03; color: #fff; font-size: 12px; line-height: 20px; width: 28px; text-align: center; }
.youtube-player { background: #000; aspect-ratio: 16 / 9; }
.youtube-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.youtube-details { padding: 20px 16px 32px; }
.youtube-details h3 { margin: 10px 0; font-size: 20px; line-height: 1.25; font-weight: 600; }
.youtube-details .youtube-byline { font-size: 13px; margin-bottom: 22px; }
.youtube-details p { font-size: 14px; line-height: 1.6; }
.youtube-details > a { display: inline-block; margin-top: 20px; font-size: 12px; border-bottom: 1px solid; }

/* ── section headings ───────────────────────────────── */
.sec { padding: clamp(64px, 11vw, 160px) var(--g) 0; }
.sec-hd { align-items: end; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.sec-hd > :first-child { grid-column: 1 / 4; }
.sec-hd > :nth-child(2) { grid-column: 4 / 10; }
.sec-hd > :last-child:not(:first-child) { grid-column: 10 / 13; justify-self: end; }
.sec-hd a:hover { color: var(--accent); }

/* Unequal columns give each medium its own pace. */
.story-stage { position: relative; display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); column-gap: var(--gap); align-items: start; padding-top: 64px; margin-top: clamp(64px,8vw,120px); isolation: isolate; }
.story-title { position: absolute; z-index: -1; top: 0; left: 0; font-size: clamp(24px,2.8vw,42px); line-height: 1.1; font-weight: 500; letter-spacing: -.03em; }
html[data-lang="zh"] .story-title { letter-spacing: .02em; font-size: clamp(24px,2.5vw,36px); }
.story-note { grid-column: 2 / 5; margin-top: 8vw; padding: 0; background: var(--paper); font-size: clamp(18px,1.5vw,23px); line-height: 1.18; letter-spacing: -.025em; }
.story-work { display: block; position: relative; z-index: 1; grid-column: 7 / 12; background: var(--paper); }
.story-work img { width: 100%; height: auto; }
.story-caption { padding: 14px 0; display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; }
.story-caption h3 { font-size: clamp(18px,1.7vw,25px); font-weight: 500; line-height: 1.15; letter-spacing: -.025em; }
.story-caption > p { grid-column: 1 / -1; font-size: clamp(15px,1.2vw,18px); line-height: 1.45; max-width: 30em; }
.story-caption > .mono { grid-column: 1 / -1; }
.story-caption > span[aria-hidden] { font-size: 24px; }
.story-work:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.story-form .story-note { grid-column: 9 / 13; grid-row: 1; margin-top: 2vw; }
.story-form .story-work { grid-column: 2 / 8; grid-row: 1; }
.story-form .story-work:last-child { grid-column: 8 / 13; grid-row: 2; margin-top: -5vw; }
.story-print { margin-top: 40px; }
.story-space .story-note { grid-column: 1 / 4; margin-top: 9vw; }
.story-space .story-work { grid-column: 5 / 13; }
.research-stage h2 { font-size: clamp(30px,4vw,60px); line-height: 1.05; letter-spacing: -.035em; font-weight: 500; margin: 22px 0 36px; }
.research-grid { position: relative; align-items: end; row-gap: 28px; }
.research-picture { grid-column: 1 / 8; }
.research-copy { grid-column: 9 / 13; }
.research-copy h3 { font-size: clamp(20px,2vw,30px); font-weight: 500; line-height: 1.15; margin-bottom: 20px; }
.research-copy p { font-size: 15px; line-height: 1.5; margin-bottom: 20px; }
.text-link { text-decoration: underline; text-underline-offset: 4px; }

/* ── index list (home + work list view) ─────────────── */
.idx-row { border-bottom: 1px solid var(--rule); }
.idx-row a {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  align-items: baseline; padding: clamp(12px, 1.3vw, 18px) 0; position: relative;
}
.idx-num { grid-column: 1 / 2; font-size: 13px; }
.idx-title {
  grid-column: 2 / 8; font-size: clamp(16px, 1.4vw, 21px); line-height: 1.2; font-weight: 480;
  letter-spacing: -.015em; font-stretch: 100%;
  transition: font-stretch .45s var(--ease), font-weight .45s var(--ease), color .2s;
}
.idx-disc { grid-column: 8 / 10; font-size: 13px; }
.idx-client { grid-column: 10 / 12; font-size: 13px; color: var(--ink-2); }
.idx-year { grid-column: 12 / 13; justify-self: end; font-size: 13px; }
.idx-row a::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 9px; height: 9px; margin-top: -4px; border-radius: 50%;
  background: var(--accent); transform: scale(0); transition: transform .3s var(--ease);
}
.idx-row a:hover .idx-title, .idx-row a:focus-visible .idx-title { font-stretch: 125%; font-weight: 700; }
.idx-row a:hover::before, .idx-row a:focus-visible::before { transform: scale(1); }
.idx-row a:hover .idx-num { opacity: 0; }

/* cursor preview */
.peek {
  position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
  width: clamp(200px, 21vw, 340px); opacity: 0; transition: opacity .18s;
  will-change: transform;
}
.peek.on { opacity: 1; }
.peek img { width: 100%; height: auto; box-shadow: 0 18px 50px -20px rgba(0,0,0,.35); }

/* ── home: about teaser ─────────────────────────────── */
.teaser { padding-top: clamp(28px, 4vw, 56px); row-gap: 40px; }
.teaser-text { grid-column: 1 / 9; font-size: clamp(22px, 2.5vw, 38px); line-height: 1.14; letter-spacing: -.025em; font-weight: 430; }
html[data-lang="zh"] .teaser-text { line-height: 1.55; letter-spacing: .02em; font-size: clamp(19px, 2.1vw, 32px); }
.teaser-text em { font-style: normal; font-stretch: 125%; font-weight: 720; }
.teaser-more { grid-column: 10 / 13; align-self: end; justify-self: end; font-size: 15px; display: inline-flex; gap: 8px; border-bottom: 1px solid; padding-bottom: 2px; }
.teaser-more:hover { color: var(--accent); }
.facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); border-top: 1px solid var(--rule); }
.fact { padding-top: 16px; padding-right: 12px; }
.fact-big { display: flex; align-items: baseline; gap: .3em; font-size: clamp(28px, 3vw, 46px); line-height: 1; font-weight: 820; font-stretch: 125%; letter-spacing: -.04em; margin-bottom: 14px; }
.fact p { font-size: 13px; line-height: 1.45; max-width: 22em; color: #33332f; }
.fact-big small { font-size: 11px; font-weight: 500; font-stretch: 100%; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }

/* ── footer: one quiet line ─────────────────────────── */
.ft { display: flex; flex-wrap: wrap; gap: 10px 32px; align-items: baseline; padding: clamp(120px, 14vw, 220px) var(--g) var(--g); font-size: 16px; }
.ft > a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.ft-links { display: flex; gap: 18px; }
.ft-links a:hover, .ft > a:hover { color: var(--ink-2); }
.ft-clock { display: flex; gap: 18px; color: var(--ink-2); }
.ft > span:last-child { margin-left: auto; color: var(--ink-2); }

/* ── work page: rows, each with a small strip of pictures ── */
.page { padding: calc(var(--head) + clamp(24px, 4vw, 64px)) var(--g) 0; }
.w-header { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.w-hd { font-size: clamp(42px,6vw,90px); line-height: 1; font-weight: 500; letter-spacing: -.045em; max-width: 8em; }
.w-intro { font-size: clamp(15px,1.3vw,20px); line-height: 1.4; padding-bottom: 6px; }
html[data-lang="zh"] .w-hd .zh { letter-spacing: 0; font-weight: 400; }
.w-tools { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: clamp(32px, 4vw, 64px); padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.motion-toggle { margin-left: auto; }
.w-tools button { color: var(--ink-2); }
.w-tools button:hover, .w-tools button[aria-pressed="true"] { color: var(--ink); }
.w-tools button[data-filter][aria-pressed="true"]::before { content: "→ "; }
.w-view { display: flex; gap: 20px; justify-content: flex-end; margin-top: 42px; }
.w-view button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.w-view + .w-tools { margin-top: 20px; }
.w-list { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); column-gap: var(--gap); row-gap: clamp(72px,10vw,160px); padding-top: 80px; align-items: start; }
.w-row { position: relative; grid-column: 1 / 8; }
.w-row:nth-child(6n + 2) { grid-column: 9 / 13; margin-top: 30%; }
.w-row:nth-child(6n + 3) { grid-column: 2 / 6; }
.w-row:nth-child(6n + 4) { grid-column: 7 / 13; margin-top: 20%; }
.w-row:nth-child(6n + 5) { grid-column: 1 / 6; }
.w-row:nth-child(6n + 6) { grid-column: 8 / 13; margin-top: 15%; }
.w-list[data-filtered="true"] .w-row { grid-column: span 6; margin-top: 0; }
.w-row[hidden] { display: none; }
.w-row a { position: relative; display: block; }
.w-cover { position: relative; z-index: 1; }
.w-cover img { width: 100%; }
.w-number { display: block; font-size: 12px; line-height: 1; color: var(--ink-2); margin-bottom: 10px; }
.w-text { display: block; margin-top: 12px; padding-right: 24px; }
.w-title { display: block; font-size: clamp(18px,1.7vw,25px); line-height: 1.15; letter-spacing: -.012em; }
.w-arrow { position: absolute; bottom: 0; right: 0; font-size: 24px; }
.w-strip { display: none; }
.w-list[data-view="index"] { display: block; padding-top: 0; }
.w-list[data-view="index"] .w-row { margin: 0; border-bottom: 1px solid var(--ink); }
.w-list[data-view="index"] .w-row a { display: grid; grid-template-columns: 1fr 1.6fr; column-gap: 32px; padding: 14px 0; }
.w-list[data-view="index"] .w-cover, .w-list[data-view="index"] .w-number, .w-list[data-view="index"] .w-arrow { display: none; }
.w-list[data-view="index"] .w-text { grid-column: 1; grid-row: 1; margin: 0; }
.w-list[data-view="index"] .w-strip { grid-column: 2; grid-row: 1; display: flex; gap: 8px; align-items: center; }
.w-strip > span { min-width: 0; }
.w-list[data-view="index"] .w-strip { width: var(--group-width,100%); justify-self: end; justify-content: flex-end; }
.w-list[data-view="index"] .w-strip[data-count="1"] { max-width: var(--group-max,300px); }
.w-strip img { width: 100%; }
.w-strip video { width: 100%; height: auto; }
.w-row { scroll-margin-top: 112px; }
.w-tags { display: block; margin-top: 6px; }
.w-thumbs { display: flex; gap: 8px; width: 100%; align-items: center; }
.w-thumbs img { flex-basis: 0; min-width: 0; width: 0; height: auto; }
.w-row a:hover .w-title { color: var(--ink-2); }

/* small grey monospaced labels, used for tags and captions */
.mono { font-family: var(--mono); font-size: 12px; line-height: 1.5; color: var(--ink-2); letter-spacing: 0; }
html[data-lang="zh"] .mono { font-family: var(--sans); font-size: 12.5px; letter-spacing: .04em; }

/* ── project page: title, one picture, text, then the rest, centred ── */
.p-head { align-items: baseline; row-gap: 8px; }
.p-title { grid-column: 1 / 10; font-size: clamp(32px,3.8vw,58px); line-height: 1.05; font-weight: 500; letter-spacing: -.045em; text-wrap: balance; }
html[data-lang="zh"] .p-title .zh { letter-spacing: .02em; }
.p-tags { grid-column: 10 / 13; justify-self: end; text-align: right; }
.p-figs { display: flex; flex-direction: column; align-items: center; gap: clamp(72px, 9vw, 150px); margin-top: clamp(56px, 7vw, 120px); }
.p-fig { width: 52%; }
.p-fig.tall { width: 30%; }
.p-fig.wide { width: 68%; }
.p-lead .p-fig { width: 82%; }
.p-lead .p-fig.tall { width: 48%; }
.p-lead .p-fig.wide { width: 100%; }
.p-lead { align-items: flex-end; margin-top: 44px; }
.p-figs:not(.p-lead) { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); column-gap: var(--gap); align-items: start; }
.p-figs:not(.p-lead) .p-fig { grid-column: 1 / 8; width: 100%; }
.p-figs:not(.p-lead) .p-fig:nth-child(even) { grid-column: 9 / 13; margin-top: 22%; }
.p-figs:not(.p-lead) .p-fig.wide { grid-column: 1 / -1; margin-top: 0; }
.p-fig img, .p-fig video { width: 100%; height: auto; }
.p-fig figcaption { margin-top: 10px; }
.p-text { margin-top: clamp(72px, 9vw, 150px); align-items: start; row-gap: 48px; }
.p-body { grid-column: 1 / 8; }
.p-body p { font-size: clamp(22px,2vw,30px); line-height: 1.3; letter-spacing: -.015em; text-indent: 2em; }
.p-body p:first-child, .p-body p.zh:first-of-type { text-indent: 6em; }
html[data-lang="zh"] .p-body p { font-size: clamp(19px,1.7vw,25px); line-height: 1.7; letter-spacing: .02em; text-indent: 2em; text-align: justify; }
.p-side { grid-column: 9 / 13; font-size: 13px; line-height: 1.5; }
.p-meta div { margin-bottom: 14px; }
.p-meta dt, .side-block h2 { font-size: 13px; font-weight: 600; }
.side-block { margin-top: 14px; }
.side-block h2 { margin-bottom: 2px; }
.side-block .rec li { display: grid; grid-template-columns: 3.2em minmax(0, 1fr); }
.side-block .yr { color: var(--ink-2); }
.side-block a { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.side-block a:hover { color: var(--ink-2); }
.films { display: flex; flex-direction: column; align-items: center; gap: clamp(72px, 9vw, 150px); margin-top: clamp(72px, 9vw, 150px); }
.film { width: 52%; }
.film video, .film iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; background: #000; border: 0; display: block; }
.film-play { display: block; width: 100%; aspect-ratio: 16 / 9; position: relative; background: #000 center / cover; color: #fff; }
.film-btn { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: #fff; }
.film-btn::after { content: ""; position: absolute; left: 40%; top: 32%; width: 28%; height: 36%; background: #000; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.film-label { position: absolute; left: 14px; bottom: 10px; font-size: 13px; text-align: left; }
.film-label .mute { color: rgba(255,255,255,.7); }
.p-next { display: flex; justify-content: center; gap: 28px; margin-top: clamp(110px, 13vw, 200px); font-size: 16px; }
.p-next a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.p-next a:hover { color: var(--ink-2); }

/* Each case has an explicit sequence in content/project-layouts.json. */
.case-lead { margin: 48px auto 0; }
.layout-wide, .layout-pair, .layout-three, .layout-four { width: 100%; max-width: 1100px; margin-inline: auto; }
.layout-book { width: 100%; max-width: 620px; margin-inline: auto; }
.layout-poster { width: 100%; max-width: 560px; margin-inline: auto; }
.case-section { margin-top: clamp(64px,8vw,116px); }
.case-copy { max-width: 1100px; margin: 0 auto 28px; display: grid; grid-template-columns: 1fr 2fr; gap: 20px 36px; align-items: start; }
.case-copy h2 { font-size: clamp(21px,2vw,28px); font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }
.case-copy p { max-width: 40em; font-size: 17px; line-height: 1.55; }
html[data-lang="zh"] .case-copy p { line-height: 1.8; }
.case-media { display: grid; gap: 32px 20px; align-items: start; }
.case-media.layout-pair { grid-template-columns: repeat(2,minmax(0,1fr)); }
.case-media.layout-three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.case-media.layout-four { grid-template-columns: repeat(4,minmax(0,1fr)); }
.case-figure { min-width: 0; width: 100%; }
.case-figure img, .case-figure video { width: 100%; height: auto; }
.case-figure figcaption, .film figcaption { margin-top: 10px; }
.case-section .films { margin: 0 auto; max-width: 1100px; gap: 32px; }
.case-section .film { width: 100%; }
.case-lead + .p-text { max-width: 1100px; margin-inline: auto; }

/* ── about page ─────────────────────────────────────── */
.ab-top { row-gap: 32px; align-items: start; }
.ab-portrait { grid-column: 1 / 4; }
.ab-portrait img { width: 100%; filter: grayscale(1) contrast(1.05); transition: filter .6s; }
.ab-portrait:hover img { filter: none; }
.ab-portrait figcaption { margin-top: 8px; }
.ab-lede { grid-column: 5 / 13; }
.ab-lede strong { font-weight: 560; font-stretch: 112%; }
.ab-facts { margin-top: clamp(40px, 6vw, 88px); border-top: 1px solid var(--ink); padding-top: 12px; row-gap: 18px; }
.ab-facts div { grid-column: span 3; }
.ab-facts dd { font-size: 15px; line-height: 1.35; margin-top: 4px; }
.ab-facts a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule); }
.ab-bio { padding-top: clamp(48px, 7vw, 104px); row-gap: 32px; }
.ab-bio-text { grid-column: 5 / 13; columns: 2 20em; column-gap: var(--gap); }
.ab-bio-text p { font-size: 15px; line-height: 1.6; break-inside: avoid; margin-bottom: 1em; }
html[data-lang="zh"] .ab-bio-text p { line-height: 1.95; letter-spacing: .03em; text-align: justify; }
.ab-bio-text strong { font-weight: 650; }
.ab-video { grid-column: 1 / 4; }
.video-btn { display: block; width: 100%; position: relative; aspect-ratio: 16 / 9; background: var(--ink) center / cover; color: #fff; text-align: left; }
.video-btn span { position: absolute; left: 12px; bottom: 10px; font-size: 13px; }
.video-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(0,0,0,.5)); }
.video-btn span { z-index: 1; }
.ab-video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }

.list-sec { padding-top: clamp(80px, 11vw, 160px); }
.list-sec > .sec-hd { margin-bottom: 0; }
.group { padding-top: 34px; }
.group-hd { grid-column: 1 / 4; position: sticky; top: calc(var(--head) + 12px); align-self: start; padding-right: 12px; }
.group-hd p { margin-top: 6px; font-size: 13px; color: var(--ink-2); }
.rows { grid-column: 4 / 13; }
.row { border-top: 1px solid var(--rule); }
.row:last-child { border-bottom: 1px solid var(--rule); }
.row-line { display: grid; grid-template-columns: 6.5em minmax(0, 1fr) minmax(0, 13em) 1.2em; column-gap: var(--gap); padding: 11px 0; align-items: baseline; font-size: 14px; line-height: 1.4; }
.row-yr { color: var(--ink-2); }
.row-main b { font-weight: 600; }
.row-main a, .row-main b a { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.row-main a:hover { color: var(--accent); text-decoration-color: currentColor; }
.row-sub { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.row-res { font-size: 13px; }
.row details > summary { list-style: none; cursor: pointer; }
.row details > summary::-webkit-details-marker { display: none; }
.row-tog { justify-self: end; width: 12px; height: 12px; position: relative; }
.row-tog::before, .row-tog::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .3s var(--ease); }
.row-tog::after { transform: rotate(90deg); }
.row details[open] .row-tog::after { transform: rotate(0); }
.row details summary:hover .row-main b { color: var(--accent); }
.row-more { padding: 0 0 16px calc(6.5em + var(--gap)); }
.row-more li { display: grid; grid-template-columns: 4em minmax(0, 1fr) minmax(0, 13em); column-gap: var(--gap); font-size: 13px; padding: 3px 0; }
.row-more li a { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.row-more li a:hover { color: var(--accent); }
.row-pics { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.row-pics img { height: 140px; width: auto; }
.clients { grid-column: 4 / 13; display: flex; flex-wrap: wrap; gap: 0 .3em; font-size: clamp(24px, 3vw, 46px); line-height: 1.15; letter-spacing: -.02em; font-weight: 450; }
.clients li { white-space: nowrap; }
.clients li::after { content: ","; }
.clients li:last-child::after { content: "."; }
.clients small { font-size: 11px; letter-spacing: .05em; text-transform: uppercase; vertical-align: .9em; margin-left: .25em; color: var(--ink-2); font-weight: 500; }
.links { grid-column: 4 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); }
.links a { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-top: 1px solid var(--rule); font-size: 14px; }
.links a span:last-child { color: var(--ink-2); }
.links a:hover span { color: var(--accent); }

/* ── 404 ── */
.lost { min-height: 100svh; display: grid; place-content: center; text-align: center; gap: 18px; padding: var(--g); }
.lost a { text-decoration: underline; text-underline-offset: 4px; }

/* ── reveal on scroll ── */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* ── tablet ── */
@media (max-width: 1024px) {
  .hero-intro { grid-column: 1 / 10; }
  .hero-now { grid-column: 1 / 13; grid-row: 2; }
  .idx-title { grid-column: 2 / 9; }
  .idx-disc { grid-column: 9 / 12; }
  .idx-client { display: none; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .ab-facts div { grid-column: span 6; }
  .p-body { grid-column: 1 / 10; }
  .p-side { grid-column: 1 / 10; }
  .p-fig { width: 70%; }
  .p-fig.tall { width: 44%; }
  .p-fig.wide, .film { width: 82%; }
  .links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── phone ── */
@media (max-width: 720px) {
  body { font-size: 15px; }
  .hd-logo { grid-column: 1 / 4; }
  .hd-nav { grid-column: 4 / 11; gap: 14px; }
  .hd-lang { grid-column: 11 / 13; }
  .hd-lang .sep, .hd-lang .full { display: none; }
  .hero { padding-top: calc(var(--head) + 28px); }
  .hero-intro { margin-left: 0; width: 84%; padding: 0 0 12px; font-size: 17px; }
  .hero-now { width: 80%; margin: 34vw 0 24px auto; }
  .hero .mark { margin-top: 70px; }
  .home-note p, .home-note a { grid-column: 1 / -1; justify-self: start; }
  .feature-copy, .press-reader, .home-talk { grid-column: 1 / -1; }
  .desktop-toolbar { flex-direction: column; align-items: start; gap: 16px; }
  .window-dock { gap: 8px 16px; font-size: 11px; }
  .feature-copy { padding-right: 0; }
  .feature-copy h2 { margin-top: 14px; }
  .feature-hint { margin-top: 14px; }
  .press-choices { gap: 20px; padding-inline: 14px; }
  .press-choices a { font-size: 13px; }
  .press-scroll { height: 560px; max-height: 68svh; }
  .press-foot { padding-inline: 14px; font-size: 10px; }
  .hero-down { grid-column: 7 / -1; justify-self: end; }
  .story-stage { padding-top: 46px; margin-top: 56px; row-gap: 24px; }
  .story-title { font-size: 28px; }
  .story-stage .story-note { grid-column: 1 / 10; grid-row: auto; margin: 0; padding: 12px 0; font-size: 21px; }
  .story-stage .story-work { grid-column: 1 / -1; grid-row: auto; margin: 0; }
  .story-form .story-work:last-child { grid-column: 3 / -1; grid-row: auto; margin: 10px 0 0; }
  .story-print .story-work { grid-column: 3 / -1; }
  .research-copy { grid-column: 3 / -1; }
  .research-picture { grid-column: 1 / -1; }
  .sec-hd > :first-child { grid-column: 1 / 7; }
  .sec-hd > :nth-child(2) { display: none; }
  .sec-hd > :last-child:not(:first-child) { grid-column: 7 / 13; }
  .idx-num { grid-column: 1 / 3; }
  .idx-title { grid-column: 3 / 13; }
  .idx-disc { grid-column: 3 / 11; margin-top: 4px; color: var(--ink-2); }
  .idx-year { grid-column: 11 / 13; }
  .teaser-text, .teaser-more { grid-column: 1 / -1; justify-self: start; }
  .fact-big { font-size: 32px; }
  .ft > span:last-child { margin-left: 0; }
  .w-header { display: block; }
  .w-intro { margin: 28px 0 0 25%; }
  .w-list { padding-top: 48px; row-gap: 64px; }
  .w-list .w-row, .w-list[data-filtered="true"] .w-row { grid-column: 1 / -1; margin-top: 0; }
  .w-list .w-row:nth-child(even) { grid-column: 3 / -1; }
  .w-list[data-view="index"] .w-row a { grid-template-columns: 1fr; gap: 16px; }
  .w-list[data-view="index"] .w-strip { grid-column: 1; grid-row: 2; }
  .w-list[data-view="index"] .w-strip { width: 100%; }
  .w-thumbs { height: auto; }
  .p-title, .p-tags { grid-column: 1 / -1; justify-self: start; text-align: left; }
  .p-body, .p-side { grid-column: 1 / -1; }
  .p-fig, .p-fig.wide, .film, .p-lead .p-fig { width: 100%; }
  .p-fig.tall, .p-lead .p-fig.tall { width: 86%; }
  .p-figs:not(.p-lead) .p-fig { grid-column: 1 / -1; }
  .p-figs:not(.p-lead) .p-fig:nth-child(even) { grid-column: 3 / -1; margin-top: 0; }
  .case-copy { grid-template-columns: 1fr; gap: 12px; }
  .case-media.layout-pair, .case-media.layout-three { grid-template-columns: 1fr; }
  .case-media.layout-three .case-figure { max-width: 560px; margin-inline: auto; }
  .case-media.layout-four { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .case-lead { margin-top: 32px; }
  .ab-facts div { grid-column: span 6; }
  .ab-portrait { grid-column: 1 / 7; }
  .ab-lede, .ab-bio-text, .ab-video { grid-column: 1 / -1; }
  .group-hd { grid-column: 1 / -1; position: static; margin-bottom: 14px; }
  .rows, .clients, .links { grid-column: 1 / -1; }
  .clients li { max-width: 100%; white-space: normal; }
  .row-line { grid-template-columns: 4.6em minmax(0, 1fr) 1em; }
  .row-res { grid-column: 2 / 3; grid-row: 2; color: var(--ink-2); }
  .row-tog { grid-column: 3; grid-row: 1; }
  .row-more { padding-left: 0; }
  .row-more li { grid-template-columns: 3.6em minmax(0, 1fr); }
  .row-more li > :last-child { grid-column: 2; color: var(--ink-2); }
  .links { grid-template-columns: 1fr; }
}

@media (hover: none) { .peek { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* ── about: portrait, practice and a readable record ── */
.ab-editorial { padding-top: calc(var(--head) + 32px); }
.ab-page-nav { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; border-bottom: 1px solid var(--ink); padding-bottom: 14px; }
.ab-page-nav > div { display: flex; gap: clamp(16px, 2.5vw, 38px); font-size: 12px; }
.ab-page-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ab-profile { padding: clamp(40px, 5vw, 76px) 0 clamp(64px, 8vw, 116px); align-items: start; }
.ab-editorial section[id] { scroll-margin-top: calc(var(--head) + 24px); }
.ab-profile-aside { grid-column: 1 / 4; padding-top: 7px; }
.ab-profile-aside figure { max-width: 310px; }
.ab-profile-aside img { width: 100%; }
.ab-profile-aside figcaption { font-size: 11px; line-height: 1.65; padding-top: 13px; display: flex; flex-direction: column; gap: 3px; }
.ab-profile-aside figcaption > span { color: var(--ink-2); }
.ab-profile-aside a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ab-profile-copy { grid-column: 5 / -1; max-width: 860px; }
.ab-profile h1 { font-weight: 500; font-size: clamp(34px, 4vw, 60px); letter-spacing: -.035em; line-height: 1.1; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: baseline; }
.ab-profile h1 > span { font-size: .48em; font-weight: 400; letter-spacing: .04em; }
.ab-intro { font-size: clamp(22px, 2.1vw, 31px); line-height: 1.4; letter-spacing: -.015em; margin-top: 30px; max-width: 29em; }
html[data-lang="zh"] .ab-intro { font-size: clamp(21px, 1.85vw, 28px); line-height: 1.65; letter-spacing: .015em; max-width: 29em; }
.ab-practice-copy { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; margin-top: 36px; }
.ab-practice-copy h2 { margin-bottom: 12px; }
.ab-practice-copy p { font-size: 15px; line-height: 1.7; }
html[data-lang="zh"] .ab-practice-copy p { line-height: 1.95; }
.ab-disclosure { border-bottom: 1px solid var(--rule); }
.ab-disclosure > summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; list-style: none; cursor: pointer; padding: 18px 0; font-size: 13px; }
.ab-disclosure > summary::-webkit-details-marker { display: none; }
.ab-disclosure > summary:hover { color: var(--ink-2); }
.ab-plus { width: 12px; height: 12px; position: relative; flex: 0 0 12px; }
.ab-plus::before, .ab-plus::after { content: ""; position: absolute; height: 1px; width: 100%; top: 50%; left: 0; background: currentColor; }
.ab-plus::after { transform: rotate(90deg); }
.ab-disclosure[open] > summary .ab-plus::after { transform: none; }
.ab-disclosure-body { padding: 10px 0 24px; }
.ab-full-bio { margin-top: 28px; border-top: 1px solid var(--rule); }
.ab-full-bio .ab-disclosure-body { max-width: 42em; }
.ab-full-bio p { font-size: 15px; line-height: 1.8; margin-bottom: 1.1em; }
.ab-full-bio strong { font-weight: 500; }
.ab-section { padding: 24px 0 clamp(64px, 8vw, 112px); border-top: 1px solid var(--ink); align-items: start; }
.ab-section-heading { grid-column: 1 / 4; align-self: start; position: sticky; top: calc(var(--head) + 24px); padding-right: 18px; }
.ab-section-heading h2 { font-size: clamp(19px, 1.8vw, 26px); line-height: 1.25; font-weight: 400; letter-spacing: -.02em; }
html[data-lang="zh"] .ab-section-heading h2 { letter-spacing: .01em; }
.ab-section-heading p { font-size: 12px; line-height: 1.65; max-width: 18em; margin-top: 12px; }
.ab-section-content { grid-column: 5 / -1; min-width: 0; }
.ab-talk { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: start; }
.ab-talk-player { min-width: 0; }
.ab-talk-player iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.ab-talk .video-btn { overflow: hidden; }
.ab-talk .video-btn .ab-play { font-size: 11px; display: flex; align-items: center; gap: 6px; }
.ab-talk .video-btn .ab-play > span { position: static; font-size: inherit; }
.ab-talk-copy h3 { font-size: clamp(18px, 1.6vw, 23px); line-height: 1.25; font-weight: 450; letter-spacing: -.018em; margin: 12px 0 18px; }
.ab-talk-copy > p:not(.lbl) { font-size: 14px; line-height: 1.75; }
.ab-text-link { display: inline-block; margin-top: 16px; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.ab-client-section { margin-top: 48px; border-top: 1px solid var(--rule); padding-top: 18px; }
.ab-client-section h3 { font-size: 15px; font-weight: 500; }
.ab-credit { font-size: 11px; color: var(--ink-2); margin-top: 4px; }
.ab-client-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px 18px; margin-top: 22px; font-size: 14px; line-height: 1.45; }
.ab-client-list a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--rule); }
.ab-record { border-bottom: 1px solid var(--rule); font-size: 18px; line-height: 1.4; }
.ab-record-line { display: grid; grid-template-columns: 5em minmax(0,1fr) 12px; gap: 24px; padding: 18px 0; }
.ab-record:first-child .ab-record-line { padding-top: 0; }
.ab-record-line > .num { font-size: 12px; padding-top: 5px; }
.ab-record summary { list-style: none; cursor: pointer; }
.ab-record summary::-webkit-details-marker { display: none; }
.ab-record .row-tog { margin-top: 7px; }
.ab-record .row-pics { padding: 0 0 18px; margin-left: calc(5em + 24px); }
.ab-record-result { display: block; color: var(--ink-2); font-size: 12px; margin-top: 5px; }
.ab-record a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ab-record a > span[aria-hidden] { display: inline-block; font-size: 13px; vertical-align: top; }
.ab-archive-group + .ab-archive-group { margin-top: 36px; }
.ab-archive-group > h3 { font-size: 16px; font-weight: 500; margin-bottom: 16px; }
.ab-editorial .row-line { grid-template-columns: 5em minmax(0,1fr) 1em; font-size: 14px; padding: 15px 0; }
.ab-editorial .row-main b { font-weight: 450; }
.ab-editorial .row-res { grid-column: 2; grid-row: 2; color: var(--ink-2); padding-top: 3px; font-size: 12px; }
.ab-editorial .row-tog { grid-column: 3; grid-row: 1; }
.ab-editorial .row-sub { font-size: 12px; margin-top: 5px; }
.ab-editorial .row-more { padding-left: calc(5em + var(--gap)); }
.ab-editorial .row-more li { grid-template-columns: 3.5em minmax(0,1fr); row-gap: 2px; padding: 8px 0; }
.ab-editorial .row-more li > :last-child { grid-column: 2; font-size: 11px; color: var(--ink-2); }
.ab-editorial .row-pics img { height: auto; max-height: 280px; max-width: 100%; object-fit: contain; object-position: left top; }
.ab-editorial .row-pics a { display: block; max-width: 100%; }
.ab-editorial .row-more li.row-subitem { display: block; }
.ab-editorial .row-subitem-line { display: grid; grid-template-columns: 3.5em minmax(0,1fr) 12px; gap: 4px 12px; }
.ab-editorial .row-subitem-line > :nth-child(3) { grid-column: 2; grid-row: 2; color: var(--ink-2); font-size: 11px; }
.ab-editorial .row-subitem-line .row-tog { grid-column: 3; grid-row: 1; }
.about .peek { width: clamp(220px,25vw,340px); }
.about .peek img { max-height: min(440px,70vh); object-fit: contain; }
.ab-press-features { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
.ab-press-link { position: relative; padding: 0 24px 30px 0; display: flex; flex-direction: column; gap: 22px; border-bottom: 1px solid var(--rule); }
.ab-press-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; }
.ab-press-meta .num { color: var(--ink-2); }
.ab-press-title { font-size: 21px; line-height: 1.45; letter-spacing: -.018em; }
.ab-press-link:hover .ab-press-title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.ab-out { position: absolute; bottom: 28px; right: 0; font-size: 18px; }
.ab-link-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px 28px; }
.ab-link-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; }
.ab-link-list a span { color: var(--ink-2); }
.ab-link-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ab-elsewhere { padding-bottom: 24px; }
@media (max-width: 1100px) {
  .ab-practice-copy { grid-template-columns: 1fr; gap: 24px; }
  .ab-talk { grid-template-columns: 1fr; }
  .ab-talk-player { max-width: 500px; }
  .ab-talk-copy { max-width: 38em; }
  .ab-client-list, .ab-link-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .ab-editorial { padding-top: calc(var(--head) + 24px); }
  .ab-page-nav { align-items: center; gap: 12px; }
  .ab-page-nav > .lbl { font-size: 9px; white-space: nowrap; }
  .ab-page-nav > div { gap: 14px; font-size: 11px; }
  .ab-profile { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); padding-top: 30px; gap: 28px 20px; }
  .ab-profile-copy { display: contents; }
  .ab-profile-aside { grid-column: 1; grid-row: 2; padding-top: 0; }
  .ab-profile-aside figure { max-width: none; }
  .ab-profile-aside figcaption { font-size: 10px; padding-top: 10px; overflow-wrap: anywhere; }
  .ab-profile h1 { grid-column: 1 / -1; grid-row: 1; font-size: clamp(32px, 8.2vw, 46px); gap: 8px 18px; }
  .ab-intro { grid-column: 2; grid-row: 2; font-size: 22px; margin: 0; align-self: start; }
  html[data-lang="zh"] .ab-intro { font-size: 20px; }
  .ab-practice-copy { grid-column: 1 / -1; grid-row: 3; margin-top: 4px; }
  .ab-full-bio { grid-column: 1 / -1; grid-row: 4; margin-top: 0; }
  .ab-practice-copy p { font-size: 14px; }
  .ab-section { display: block; padding-top: 20px; }
  .ab-section-heading { position: static; margin-bottom: 30px; padding: 0; }
  .ab-section-heading h2 { font-size: 23px; }
  .ab-section-heading p { max-width: none; margin-top: 8px; }
  .ab-talk { gap: 20px; }
  .ab-talk-player { max-width: none; }
  .ab-talk-copy h3 { font-size: 23px; }
  .ab-client-list { font-size: 13px; }
  .ab-record { font-size: 16px; }
  .ab-record-line { grid-template-columns: 3.5em minmax(0,1fr) 12px; gap: 12px; }
  .ab-record .row-pics { margin-left: 0; }
  .ab-editorial .row-line { grid-template-columns: 4.4em minmax(0,1fr) 1em; gap: 5px 10px; font-size: 13px; }
  .ab-editorial .row-more { padding-left: 0; }
  .ab-press-features { grid-template-columns: 1fr; gap: 24px; }
  .ab-press-link { gap: 14px; padding-bottom: 24px; }
  .ab-press-title { font-size: 22px; }
  .ab-link-list { gap: 16px 24px; }
}
@media (min-width: 721px) {
  .case-media.equal-height { grid-template-columns: var(--case-columns); }
}
