/* Hallmark · shape: launch scroll (after lenis.dev, by the owner's request) · genre: editorial · theme: custom · job: join · idea: "the Center introduced the way a launch site introduces a product: one huge word, then the story, then the zoom into an invitation" · vibe: "black stage, cream type, pink light, a red glow"
 * paper: oklch(6% 0.006 20) · accent: oklch(79% 0.12 15) · display: Anuphan 700 · body: Anuphan 400 · hero: OPTIMIZE set across the screen in pink, the full official name in white (English, Thai in brackets), two actions · nav: wordmark left, four links, search, language, menu · footer: the x* close on light paper after the zoom, then a colophon · imagery: member and activity photographs, app screenshots · signature: a Mathematics hand (a pink particle cloud with faint symbols) and an AI hand (a cream lattice with network nodes), jointed rigs whose drifting particles follow on springs, reaching until the fingertips touch as the page scrolls, a current crossing both arms, then fading so the later sections read on plain black; and the OPTIMIZE zoom into the close
 * axes: dark/grotesk-heavy/chromatic-pink · posture: committed (black stage with a red glow, cream only after the zoom) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S4 R4 V4 · weakest: E, the pillars have no pictures of their own, so each carries its newest real paper instead of an illustration */
/* waive F8: three scroll behaviours (opening lift, pinned chapter, the zoom); the owner asked for a lenis.dev-style launch; each has a static end state and stops under reduced motion and below 48rem */
/* waive 19: en dashes only inside date ranges (27–29 กันยายน), set by the site-wide date formatter */
/* waive 2b, 29: the palette and the bottom glow are lenis.dev's, measured, at the owner's explicit request (near-black, one pink accent, red glow) */
/* waive 57: one ambient loop (the stars and the hands' particles shimmer slowly); it stops under reduced motion, in a hidden tab and once the cream close covers the screen */
/* waive 58, 77 on index pages (publications, members, activities, vision, a profile's paper list): they are directories; their density is the content, and each row is scannable */
/* waive 59: bands touch by design; each band carries --section-gap inside it */
/* waive 58 on the home member wheel (EN): the count takes in the names on cards turned out of view sideways; the screen itself holds one large card and a few faint ones */
/* waive 83: the member wheel is the people directory itself (the first eight members after the head, one at a time, ending on a card to all of them), not decoration */
/* waive 58 on profiles: the head is the person's name in both languages and their one role line; the facts follow as a list */
/* waive 44d on activity pages: the title and meta sit fully on the first screen; the cover photograph starts there and runs past the fold */
/* waive 78 on books: each book title is an item title (h2 at --text-title); the page has no section heads above them */
/* waive 77 on privacy: one short notice set at reading measure; it has no visual to give it mass */
/* waive 49b: member names (long Thai names with titles) and paper titles (full journal titles, linked to the DOI) wrap; their length is the content */
/* waive 23 on the opening curtain (.curtain, html.v2.loader-wait): a full pink screen for about three seconds on load, then gone; lenis.dev's own loader, at the owner's request, and it is the inverse of the pink-on-black wordmark it hands over to */
@font-face { font-family: "Anuphan"; src: url("/fonts/anuphan-var.woff2") format("woff2"); font-weight: 100 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jbmono-var.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
:root {
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  /* type: one family for Thai and Latin, mono only for measured values */
  --font-display: "Anuphan", "Noto Sans Thai", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Anuphan", "Noto Sans Thai", ui-sans-serif, system-ui, sans-serif;
  --font-outlier: "JetBrains Mono", ui-monospace, monospace;
  --text-label: 0.9375rem;
  --text-body: 1.125rem;
  --text-lead: clamp(1.25rem, 0.5vw + 1.05rem, 1.5rem);
  --text-title: clamp(1.375rem, 0.7vw + 1.05rem, 1.875rem);
  --text-section: clamp(2.25rem, 3vw + 1.1rem, 4rem);
  --text-display: clamp(2.75rem, 5vw + 0.75rem, 6rem);
  --text-poster: clamp(3.25rem, 10vw, 10.5rem);
  --lh-display: 1.22;   /* Thai marks above and below need the room */
  --lh-body: 1.72;
  --weight-body: 400; --weight-strong: 600;
  /* colour, measured from lenis.dev (2026-10-24): black #000, cream text #efefef, salmon pink #ff98a2, grey #8c8c8c, a deep red glow */
  --color-field: oklch(6% 0.006 20);           /* the black stage */
  --color-field-2: oklch(13% 0.012 20);
  --color-field-3: oklch(20% 0.016 20);
  --color-field-veil: oklch(13% 0.012 20 / 0.55);  /* a see-through band over the stage */
  --color-glow: oklch(30% 0.09 18);            /* the deep red rising from the bottom */
  --color-on-field: oklch(95.5% 0.006 70);     /* cream, lenis #efefef */
  --color-on-field-2: oklch(84% 0.006 70);
  --color-on-field-3: oklch(66% 0.004 70);     /* lenis grey #8c8c8c */
  --color-rule-field: oklch(28% 0.012 20);
  --color-paper: oklch(95% 0.006 70);          /* after the zoom: the cream screen */
  --color-paper-2: oklch(91% 0.008 70);
  --color-paper-3: oklch(86% 0.01 70);
  --color-ink: oklch(10% 0.006 20);
  --color-ink-2: oklch(30% 0.008 20);
  --color-muted: oklch(44% 0.008 20);
  --color-rule: oklch(84% 0.008 70);
  --color-accent: oklch(79% 0.12 15);          /* salmon pink, lenis #ff98a2 */
  --color-accent-hover: oklch(85% 0.1 15);
  --color-accent-ink: oklch(10% 0.006 20);
  --color-accent-text: oklch(50% 0.16 15);     /* pink as text on cream, 4.5:1 */
  --color-focus: oklch(80% 0.14 15);
  --color-focus-paper: oklch(48% 0.17 15);
  --color-scrim: oklch(6% 0.006 20 / 0.96);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --container: 1320px; --gutter: 48px; --gap-columns: 40px; --section-gap: 160px; --masthead: 72px;
  --radius: 0; --rule-hair: 1px;
  --z-raised: 10; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400;
}
@media (max-width: 60rem) { :root { --gutter: 24px; --gap-columns: 24px; --section-gap: 112px; --masthead: 64px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap: 88px; } }
/* base: the Floor's decisions plus the Thai type rules (05-redesign-kit/01-design-rules.md §3) */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-padding-top: calc(var(--masthead) + var(--space-lg)); scrollbar-color: var(--color-muted) var(--color-paper); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-weight: var(--weight-body);
  font-size: var(--text-body); line-height: var(--lh-body); font-synthesis: none; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent-text); }
:lang(en) { --lh-display: 1.06; --lh-body: 1.6; }
::selection { background: color-mix(in oklab, var(--color-accent) 40%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.paper-band :focus-visible, .search-dialog :focus-visible { outline-color: var(--color-focus-paper); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--weight-strong); line-height: var(--lh-display);
  letter-spacing: 0; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1:lang(en), h2:lang(en), .hero-title:lang(en) { letter-spacing: -0.02em; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
.nw { white-space: nowrap; }  /* a phrase of a display heading (the phrases filter) */
.mono { font-family: var(--font-outlier); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: var(--space-md); top: -100px; z-index: var(--z-modal); padding: var(--space-sm) var(--space-md); background: var(--color-accent); color: var(--color-accent-ink); }
.skip-link:focus-visible { top: var(--space-md); }
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
/* a dark band re-points the ink tokens, so every component inside reads white on black without its own dark rules */
html.v2 { background: radial-gradient(120% 55% at 50% 108%, var(--color-glow), transparent 70%) fixed, var(--color-field); }  /* lenis's red glow on every page */
html.v2 body { background: transparent; }  /* body paints over negative z layers, so it stays clear for the canvas */
/* dark bands are see-through: the fixed hands canvas (js/stage-hands.js) shows behind the whole dark story */
.field { background: transparent; color: var(--color-on-field);
  --color-ink: var(--color-on-field); --color-ink-2: var(--color-on-field-2); --color-muted: var(--color-on-field-3); --color-rule: var(--color-rule-field);
  --color-paper-2: var(--color-field-2); --color-paper-3: var(--color-field-3); --color-accent-text: var(--color-accent); --color-focus-paper: var(--color-focus); }
.field.tint { background: var(--color-field-veil); --color-paper-2: var(--color-field-3); }
.paper-band { background: var(--color-paper); color: var(--color-ink); }
.lead { font-size: var(--text-lead); line-height: 1.6; max-width: 40ch; color: var(--color-ink-2); }
.field .lead { color: var(--color-on-field-2); }
/* controls: one filled primary, one quiet, one text link; all eight states */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: 1px solid transparent;
  border-radius: var(--radius); font-weight: var(--weight-strong); text-decoration: none; cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn-primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn-primary:hover { background: var(--color-accent-hover); }
.btn-quiet { border-color: currentColor; background: transparent; color: inherit; }
.btn-quiet:hover { background: color-mix(in oklab, currentColor 10%, transparent); }
.btn:active { transform: translateY(1px); }
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.55; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.text-link { color: var(--color-accent-text); font-weight: var(--weight-strong); text-decoration-line: underline; }
.text-link:hover { color: var(--color-ink); }
.field .text-link { color: var(--color-accent); }
.field .text-link:hover { color: var(--color-on-field); }
/* chrome: masthead, menu, search dialog, convergence read-out, colophon */
.masthead { position: fixed; inset: 0 0 auto; z-index: var(--z-sticky-nav); height: var(--masthead); display: flex; align-items: center; gap: var(--space-lg);
  padding-inline: var(--gutter); color: var(--color-on-field); transition: background-color var(--dur-short) var(--ease-out); }
.masthead.is-scrolled, .nav-open .masthead { background: var(--color-scrim); box-shadow: 0 var(--rule-hair) 0 var(--color-rule-field); }
.wordmark { display: inline-flex; align-items: center; gap: var(--space-sm); font-weight: var(--weight-strong); font-size: 1.0625rem; text-decoration: none; white-space: nowrap; }
.wordmark-logo { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }
.masthead-nav { margin-inline-start: auto; }
.masthead-nav ul { display: flex; gap: var(--space-lg); }
.masthead-nav a, .menu-panel a { text-decoration: none; color: var(--color-on-field-2); transition: color var(--dur-short) var(--ease-out); }
.masthead-nav a:hover, .masthead-nav a[aria-current="page"], .menu-panel a:hover, .menu-panel a[aria-current="page"] { color: var(--color-on-field); }
.masthead-nav a[aria-current="page"] { text-decoration-line: underline; text-decoration-color: var(--color-accent); }
.masthead-tools { display: flex; align-items: center; gap: var(--space-xs); }
.icon-btn, .menu-btn, .lang-link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 var(--space-sm);
  border: 0; background: transparent; color: var(--color-on-field); text-decoration: none; cursor: pointer; transition: color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.icon-btn:hover, .menu-btn:hover, .lang-link:hover { background: color-mix(in oklab, var(--color-on-field) 10%, transparent); }
.icon-btn:active, .menu-btn:active { transform: translateY(1px); }
.icon-btn .icon { width: 20px; height: 20px; }
.menu-btn { border: 1px solid var(--color-rule-field); }
.menu-panel { position: absolute; inset: var(--masthead) 0 auto; display: none; padding: var(--space-xl) var(--gutter) var(--space-2xl); background: var(--color-field); color: var(--color-on-field); box-shadow: 0 var(--rule-hair) 0 var(--color-rule-field); }
.nav-open .menu-panel { display: block; }
.menu-panel ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: var(--space-md) var(--gap-columns); max-width: var(--container); margin-inline: auto; }
.menu-panel a { font-size: var(--text-title); }
@media (max-width: 60rem) { .masthead-nav { display: none; } .masthead-tools { margin-inline-start: auto; } }
@media (max-width: 30rem) { .masthead { gap: var(--space-xs); } .masthead-tools { gap: 0; } .wordmark span { display: none; } }  /* small phones: the logo alone, so search, language and menu fit */
/* search (app.js) */
.search-dialog { width: min(680px, calc(100% - 2 * var(--space-md))); max-height: min(78vh, 720px); margin: 12vh auto auto; padding: 0; border: 0;
  background: var(--color-paper); color: var(--color-ink); }
.search-dialog::backdrop { background: var(--color-scrim); }
.search-box { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-xs) var(--space-xs) var(--space-xs) var(--space-md); box-shadow: inset 0 calc(-1 * var(--rule-hair)) var(--color-rule); }
.search-box > .icon { color: var(--color-muted); flex-shrink: 0; }
.search-box input { flex: 1; min-width: 0; height: 52px; border: 0; background: transparent; font-size: var(--text-lead); }
.search-box input:focus-visible { outline: none; }
.search-box:focus-within { box-shadow: inset 0 -2px var(--color-focus); }
.search-box .tool-btn { min-width: 44px; min-height: 44px; border: 0; background: transparent; cursor: pointer; }
.search-box .tool-btn:hover { background: var(--color-paper-2); }
.search-hint, .search-empty { padding: var(--space-sm) var(--space-md); color: var(--color-muted); font-size: var(--text-label); }
.search-results { max-height: calc(min(78vh, 720px) - 120px); overflow: auto; padding: 0 var(--space-xs) var(--space-sm); }
.search-results a { display: block; padding: var(--space-sm); text-decoration: none; }
.search-results a:hover, .search-results a[aria-selected="true"] { background: var(--color-paper-2); }
.search-results .k { display: block; font-size: var(--text-label); color: var(--color-accent-text); }
.search-results .t { display: block; font-weight: var(--weight-strong); line-height: 1.5; }
.search-results .s { display: block; font-size: var(--text-label); color: var(--color-muted); }
.search-results mark { background: color-mix(in oklab, var(--color-accent) 45%, transparent); color: inherit; }
@media print { .masthead { display: none; } }
/* the stage: a fixed canvas behind every dark band (js/stage-hands.js), with lenis.dev's deep red glow from the bottom */
.stage { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none;
  background: radial-gradient(120% 55% at 50% 108%, var(--color-glow), transparent 70%); }
/* the hands' names, placed under each forearm by js/stage-hands.js */
.stage-marks { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.stage-label { position: absolute; left: 0; top: 0; opacity: 0; font-size: var(--text-label); color: var(--color-on-field-3); white-space: nowrap; }
/* the pointer ring, after lenis.dev (js/cursor.js): mouse and trackpad only, the system pointer stays */
.cursor-ring { position: fixed; left: 0; top: 0; z-index: calc(var(--z-modal) + 10); width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 2px solid var(--color-accent); border-radius: 50%; opacity: 0; pointer-events: none;
  transition: opacity var(--dur-short) var(--ease-out), scale 600ms var(--ease-out); }
.cursor-ring.is-on { opacity: 0.4; }
.cursor-ring.is-over { scale: 1.5; }
@media (hover: none) { .cursor-ring { display: none; } }
@media print { .stage, .stage-marks, .cursor-ring { display: none; } }
/* colophon */
.colophon { padding-block: var(--space-2xl) var(--space-xl); box-shadow: inset 0 var(--rule-hair) 0 var(--color-rule-field); }
.colophon-grid { display: grid; gap: var(--space-lg); }
.colophon-name { font-size: var(--text-title); font-weight: var(--weight-strong); line-height: 1.35; max-width: 40ch; }
.colophon-links { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); }
.colophon-links a { color: var(--color-on-field-2); text-decoration: none; }
.colophon-links a:hover { color: var(--color-on-field); text-decoration: underline; }
.credit { font-size: var(--text-label); color: var(--color-on-field-2); max-width: 80ch; }
/* the maker card: the website's designer and developer, in every v2 footer */
.maker { position: relative; display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: var(--space-xl); align-items: center;
  max-width: 820px; margin-block: var(--space-xl); padding: var(--space-xl);
  background: var(--color-field-2); }
.maker-photo { display: block; overflow: hidden; }
.maker-img { width: 148px; height: 185px; object-fit: cover; object-position: top; }
.maker-line { font-size: var(--text-label); color: var(--color-on-field-2); }
.maker-line a { color: var(--color-on-field); }
.maker-body { display: grid; gap: var(--space-2xs); min-width: 0; }
.maker-role { margin-top: var(--space-xs); color: var(--color-on-field-2); }
.maker-name { font-family: var(--font-display); font-size: var(--text-title); font-weight: 700; line-height: 1.2; }
.maker-name a { text-decoration: none; }
.maker-name a:hover { color: var(--color-accent); }
.maker-alt { color: var(--color-on-field-2); font-size: var(--text-lead); }
.maker-aff { color: var(--color-on-field-3); }
.maker-stack { margin-top: var(--space-sm); color: var(--color-on-field-2); font-size: var(--text-label); }
.maker-foot { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); margin-top: var(--space-sm); font-size: var(--text-label); color: var(--color-on-field-3); }
.maker-foot a { color: var(--color-on-field); }
@media (max-width: 40rem) { .maker { grid-template-columns: minmax(0, 1fr); padding: var(--space-lg); } .maker-img { width: 120px; height: 150px; } }
/* home landing: x0 → x* */
section[id] { padding-block: var(--section-gap); }
section h2 { font-size: var(--text-section); max-width: 18ch; }
section h2 + .lead { margin-top: var(--space-lg); }
/* 1 · the opening, after lenis.dev: the word across the screen, the name under it, actions on the bottom row */
section.intro { position: relative; padding-block: 0; overflow: clip; }  /* section.intro beats section[id] padding */
.intro-inner { min-height: max(100svh, 640px); display: grid; grid-template-rows: 1fr auto; gap: var(--space-xl);
  padding-top: calc(var(--masthead) + var(--space-lg)); padding-bottom: var(--space-xl); }
.intro-heading { display: grid; grid-template-rows: auto 1fr; gap: var(--space-xl); align-content: start; font-weight: 600; line-height: 1.15; }
.intro-mark { display: flex; justify-content: space-between; margin: 0 -0.03em; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(4rem, 20.5vw, 17rem); line-height: 0.8; letter-spacing: -0.04em; color: var(--color-accent); }
.intro-mark span { display: inline-block; }
.intro-name-block { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-lg) var(--gap-columns); align-items: start; }
.intro-coe { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.5rem, 6vw, 6.5rem); line-height: 0.9; letter-spacing: -0.03em; color: var(--color-on-field); }
.intro-name { display: grid; align-content: start; gap: var(--space-sm); font-size: clamp(1.625rem, 2.3vw + 0.5rem, 3.25rem); line-height: 1.15; font-weight: 600; text-wrap: balance; }
.intro-name-en { letter-spacing: -0.015em; }
.intro-name-th { font-size: 0.6em; font-weight: 400; line-height: 1.55; }
.intro-foot { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-lg) var(--gap-columns); align-items: end; }
.intro-faculty { font-size: var(--text-body); line-height: 1.5; text-wrap: balance; }
.intro .actions { justify-content: flex-end; }
.intro .btn { min-height: 52px; padding: 0 var(--space-xl); font-size: 1.0625rem; }
@media (max-width: 60rem) {
  .intro-name-block { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .intro-foot { grid-template-columns: minmax(0, 1fr); }
  .intro .actions { justify-content: flex-start; }
}
/* 2 · three problems: heading holds, pillars pass */
.chapter-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); }
.chapter-pin { position: sticky; top: calc(var(--masthead) + var(--space-3xl)); align-self: start; }
.chapter-pin h2 { font-size: clamp(3rem, 6.5vw, 7rem); line-height: 1.15; max-width: 8ch; color: var(--color-on-field); }
.chapter-pin h2:lang(en) { line-height: 1; }
.chapter-steps { display: grid; gap: var(--space-4xl); counter-reset: none; }
.pillar { padding-top: var(--space-lg); box-shadow: inset 0 var(--rule-hair) 0 var(--color-rule-field); min-height: 60vh; }
.pillar h3 { font-size: var(--text-section); }
.pillar > p { margin-top: var(--space-md); font-size: var(--text-lead); color: var(--color-on-field-2); max-width: 46ch; }
.topics { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); margin-top: var(--space-lg); color: var(--color-on-field); }
.counts { display: flex; gap: var(--space-2xl); margin-top: var(--space-xl); }
.counts dt { font-size: var(--text-label); color: var(--color-on-field-2); }
.counts dd a { font-family: var(--font-outlier); font-variant-numeric: tabular-nums; font-size: var(--text-section); line-height: 1.1; color: var(--color-on-field);
  text-decoration-line: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.counts dd a:hover { color: var(--color-accent); }
.latest { display: grid; gap: var(--space-2xs); margin-top: var(--space-xl); max-width: 52ch; font-size: var(--text-label); line-height: 1.6; }
.latest > span:first-child { color: var(--color-on-field-2); }
.latest a { font-size: var(--text-body); color: var(--color-on-field); }
.latest em { font-style: normal; color: var(--color-on-field-2); }
@media (max-width: 60rem) { .chapter-grid { grid-template-columns: minmax(0, 1fr); } .chapter-pin { position: static; } .pillar { min-height: 0; } .chapter-steps { gap: var(--space-3xl); } }
/* 3 · the record, drawn to scale */
.charts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2xl) var(--gap-columns); margin-block: var(--space-2xl) var(--space-xl); }
.chart figcaption { font-size: var(--text-label); color: var(--color-muted); margin-bottom: var(--space-md); }
.q-bar { display: flex; height: 120px; }
.q { flex: var(--share) 1 0; display: flex; align-items: flex-end; justify-content: space-between; padding: var(--space-sm) var(--space-md); }
.q1 { background: var(--color-accent); color: var(--color-accent-ink); }
.q2 { background: var(--color-paper-3); color: var(--color-ink); }
.q .mono { font-size: var(--text-title); }
.year-bars { display: grid; gap: var(--space-sm); }
.year-bars li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) 2.5rem; align-items: center; gap: var(--space-md); }
.year-bars .bar { height: 28px; background: var(--color-ink); transform-origin: left; transform: scaleX(var(--v)); }
.year-bars .mono { text-align: end; font-size: var(--text-lead); }
@media (max-width: 60rem) { .charts { grid-template-columns: minmax(0, 1fr); } }
/* 4 · people */
.people { padding-bottom: var(--space-2xl); }
.people-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: end; }
.groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md) var(--gap-columns); margin-top: var(--space-xl); max-width: 32rem; }
.groups div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-md); padding-top: var(--space-xs); box-shadow: inset 0 var(--rule-hair) 0 var(--color-rule); }
.groups a { text-decoration: none; }
.groups a:hover { text-decoration: underline; }
.groups dd { font-size: var(--text-title); }
.leader img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; background: var(--color-paper-2); }
.leader figcaption { display: grid; gap: var(--space-2xs); margin-top: var(--space-md); }
.leader-role { font-size: var(--text-label); color: var(--color-muted); }
.leader-name { font-size: var(--text-title); font-weight: var(--weight-strong); line-height: 1.3; text-decoration: none; }
.leader-name:hover { text-decoration: underline; }
.leader-note { font-size: var(--text-label); color: var(--color-accent-text); }
/* a wheel of portraits, each in a dark mat: a native scroll-snap row centred on one card. js/carousel.js sets each
   card's distance from the middle (--d, and --ad without its sign, at most 1.7), which makes the others smaller,
   fainter and lower, tilted along an arc; js/landing.js turns it a person at a time with the wheel on wide screens
   (snap is off there, so the turn stays smooth) */
.carousel { margin-top: var(--space-3xl); }
.carousel-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--space-lg); margin-bottom: var(--space-lg); }
.carousel-rail { flex: 1; max-width: 24rem; height: 2px; background: var(--color-rule-field); overflow: hidden; }
.carousel-rail span { display: block; height: 100%; background: var(--color-accent); transform: scaleX(0); transform-origin: left center; }
.carousel-nav { display: flex; gap: var(--space-xs); }
.carousel-btn { width: 52px; height: 52px; border: 1px solid var(--color-rule); border-radius: 50%; }
.carousel-btn:hover { border-color: var(--color-accent); color: var(--color-accent); background: transparent; }
.carousel-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.carousel-track { --card: min(27rem, 28vw, 50svh); --gap: var(--space-xl); position: relative; display: grid; grid-auto-flow: column;
  grid-auto-columns: var(--card); column-gap: var(--gap); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; padding: var(--space-sm) calc(50% - var(--card) / 2) var(--space-2xl); scrollbar-width: none; }
.motion-on .carousel-track { scroll-snap-type: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.person-card { --d: 0; --ad: 0; scroll-snap-align: center; min-width: 0;
  transform: translateY(calc(var(--ad) * var(--ad) * 0.9rem)) rotate(calc(var(--d) * 3deg)) scale(calc(1 - var(--ad) * 0.13)); }
/* only the portraits fade on either side; the captions keep their contrast, the names in the quieter colour */
.person-card .person-img { opacity: max(0.15, 1 - var(--ad) * 0.6); }
.person-card:not(.is-middle) :is(.person-name, .more-label) { color: var(--color-on-field-2); }
.person-card a { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: var(--space-2xs); height: 100%;
  padding: var(--space-sm) var(--space-sm) var(--space-md); background: var(--color-field-2); color: var(--color-on-field); text-decoration: none; }
.person-card a:hover { box-shadow: inset 0 0 0 1px var(--color-accent); transition: box-shadow var(--dur-short) var(--ease-out); }
.person-card .initials { height: auto; aspect-ratio: 4 / 5; font-size: var(--text-display); background: var(--color-field-3); color: var(--color-on-field-2); }
.person-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; background: var(--color-paper-2); }
.person-name { margin-top: var(--space-sm); font-size: var(--text-lead); font-weight: var(--weight-strong); line-height: 1.35; }
.person-group { font-size: var(--text-label); color: var(--color-muted); }
.person-card a:hover .person-name, .person-card a:focus-visible .person-name { color: var(--color-accent); }
/* the last card: the way on to everyone */
.more-card a { align-content: end; gap: var(--space-sm); padding: var(--space-lg); }
.more-count { font-size: var(--text-poster); line-height: 1; font-variant-numeric: tabular-nums; }
.more-label { display: inline-flex; align-items: center; gap: var(--space-xs); font-size: var(--text-lead); font-weight: var(--weight-strong); }
.more-card a:hover .more-label { color: var(--color-accent); }
@media (max-width: 60rem) { .carousel-track { --card: min(46vw, 50svh); } }
@media (max-width: 40rem) { .carousel-track { --card: 72vw; --gap: var(--space-md); } }
.people > .wrap:last-child { margin-top: var(--space-xl); }
@media (max-width: 60rem) { .people-head { grid-template-columns: minmax(0, 1fr); } .leader { max-width: 26rem; } }
/* 5 · network */
.network-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: center; }
.partners { display: grid; gap: var(--space-sm); margin-top: var(--space-xl); }
.partners li { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: var(--space-md); padding-top: var(--space-sm); box-shadow: inset 0 var(--rule-hair) 0 var(--color-rule-field); }
.country { font-weight: var(--weight-strong); }
.who { color: var(--color-on-field-2); font-size: var(--text-label); line-height: 1.6; }
.org { display: block; }
.network-map { position: relative; }
.network-map img, .network-overlay { width: 100%; height: auto; }
.network-overlay { position: absolute; inset: 0; }
.network-overlay .arc { fill: none; stroke: var(--color-accent); stroke-width: 1.6; }
.network-overlay .pin circle { fill: var(--color-on-field); }
.network-overlay text { fill: var(--color-on-field); font-family: var(--font-body); font-size: 17px; paint-order: stroke; stroke: var(--color-field); stroke-width: 4px; }
.network-overlay .home circle { fill: var(--color-accent); }
.network-overlay .home .pulse { fill: none; stroke: var(--color-accent); stroke-width: 1.5; }
.domestic { margin-top: var(--space-3xl); }
.domestic h3 { font-size: var(--text-title); }
.domestic ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: var(--space-xs) var(--gap-columns); margin-top: var(--space-lg); color: var(--color-on-field-2); }
.domestic .mono { color: var(--color-accent); }
@media (max-width: 60rem) { .network-grid { grid-template-columns: minmax(0, 1fr); } .partners li { grid-template-columns: minmax(0, 1fr); gap: 0; } }
/* 6 · activities, year by year */
.year-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: var(--gap-columns); padding-block: var(--space-xl);
  box-shadow: inset 0 var(--rule-hair) 0 var(--color-rule); }
.timeline .lead { margin-bottom: var(--space-2xl); }
.year-num { font-family: var(--font-outlier); font-variant-numeric: tabular-nums; font-weight: var(--weight-body); font-size: var(--text-section); line-height: 1; }
.year-count { font-weight: var(--weight-strong); }
.year-items { display: grid; gap: var(--space-md); margin-top: var(--space-md); }
.year-items a { display: block; text-decoration: none; line-height: 1.55; }
.year-items a:hover { text-decoration: underline; }
.year-items time { font-size: var(--text-label); color: var(--color-muted); }
.year-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--color-paper-2); }
.timeline .wrap > p:last-child { margin-top: var(--space-xl); }
@media (max-width: 60rem) { .year-row { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); } }
/* 7 · tools */
.tool-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); margin-top: var(--space-2xl); }
.tool-list li { display: grid; gap: var(--space-sm); align-content: start; }
.tool-list figure { margin-bottom: var(--space-sm); }
.tool-shot { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: var(--color-paper-3); }
.tool-list h3 { font-size: var(--text-title); line-height: 1.35; }
.tool-list p { color: var(--color-ink-2); }
.trl { font-size: var(--text-label); color: var(--color-muted); }
@media (max-width: 60rem) { .tool-list { grid-template-columns: minmax(0, 1fr); } }
/* the ENTER moment: decorative, shown only when landing.js runs the zoom */
.enter { display: none; }
.motion-on .enter { display: block; height: 220vh; background: var(--color-field); }
.enter-pin { height: 100vh; display: grid; place-items: center; overflow: clip; }
.enter-word { font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 16vw, 16rem); line-height: 1; letter-spacing: -0.04em; color: var(--color-paper); white-space: nowrap; will-change: transform; }
/* 8 · x*: the close, on paper after the zoom */
.optimum { padding-top: var(--space-3xl); }
.optimum-word-track { padding-inline: var(--gutter); max-width: var(--container); margin-inline: auto; }
.optimum-word { font-size: var(--text-poster); line-height: var(--lh-display); color: var(--color-ink); }
.optimum-word span { display: block; white-space: nowrap; }
.optimum-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); margin-top: var(--space-3xl); align-items: start; }
.optimum .lead { max-width: 34ch; }
.optimum .actions { margin-top: var(--space-xl); }
.optimum address { display: grid; gap: var(--space-xs); margin-top: var(--space-xl); color: var(--color-ink-2); max-width: 44ch; }
.optimum address a { color: var(--color-ink); }
.film video { width: 100%; aspect-ratio: 16 / 9; background: var(--color-paper-3); }
.film figcaption { margin-top: var(--space-sm); font-size: var(--text-label); color: var(--color-muted); }
@media (max-width: 60rem) { .optimum-grid { grid-template-columns: minmax(0, 1fr); } }
/* motion on load (CSS, runs without JS): the wordmark rises letter by letter, then the name and the actions.
   Scroll motion lives in js/landing.js. All of it stops under reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .intro-mark span { animation: rise 1s var(--ease-out) both; animation-delay: calc(0.1s + var(--i, 0) * 60ms); }
  .intro-coe, .intro-name { animation: rise 0.9s var(--ease-out) 0.55s both; }
  .intro-foot { animation: fade-in 0.8s var(--ease-out) 0.9s both; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(0.4em); } to { opacity: 1; transform: none; } }
/* the opening curtain on the home page, after lenis.dev: a pink screen with OPTIMIZE in black, every other letter on
   the first row (O T M Z) and, once the page has loaded, the rest on a second row below (P I I E). Then the dark page
   rises from the bottom while the second-row letters slide up into the gaps; the page's own wordmark (pink on black)
   moves in step under the curtain, so the edge looks like the letters change colour as it passes. js/landing.js drives
   it and lays the curtain's word exactly over the page's; without the script it lifts by itself (and <noscript> hides
   it); none under reduced motion. */
.curtain-mark, .intro-mark { --row: 0.95em; }  /* how far the second row sits below the first */
.curtain { position: fixed; inset: 0; z-index: var(--z-modal); overflow: clip; background: var(--color-accent); color: var(--color-field);
  clip-path: inset(0 0 0 0); animation: curtain-lift 1.5s var(--ease-out) 6s forwards; }
.curtain.is-driven { animation: none; }
.curtain-inner { padding-top: calc(var(--masthead) + var(--space-lg)); }
.curtain-mark { display: flex; justify-content: space-between; margin: 0 -0.03em;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 20.5vw, 17rem); line-height: 0.8; letter-spacing: -0.04em; }
.curtain-mark > span { display: inline-block; padding-block: 0.12em; margin-block: -0.12em; clip-path: inset(0 -0.3em); }  /* each letter rises from behind its own edge */
.curtain-mark > span > span { display: inline-block; transform: translateY(130%); }
.curtain-mark > .is-first > span { animation: curtain-rise 1.2s var(--ease-out) both; animation-delay: calc(0.15s + var(--i) * 40ms); }
.curtain-mark > .is-late { transform: translateY(var(--row)); }
.curtain-mark > .is-late > span { transition: transform 1.2s var(--ease-out) calc((var(--i) - 1) * 40ms); }
.curtain.is-loaded .is-late > span { transform: none; }
.curtain.is-lifting { clip-path: inset(0 0 100% 0); transition: clip-path 1.6s var(--ease-in-out); }
/* the page's wordmark under the curtain: in place, with its second-row letters down where the curtain's are */
.curtain-on .intro-mark > span { animation: none; }
.curtain-on .intro-mark > .is-late { transform: translateY(var(--row)); }
.curtain.is-lifting .is-late, .curtain-up .intro-mark > .is-late { transform: none; transition: transform 1.5s var(--ease-out) calc(0.5s + (var(--i) - 1) * 38ms); }
.curtain-on :is(.intro-coe, .intro-name) { animation-delay: 1.1s; }
.curtain-on .intro-foot { animation-delay: 1.4s; }
html.v2.loader-wait { overflow: hidden; scrollbar-gutter: stable; background: var(--color-accent); }  /* the gutter matches the curtain and the page does not shift when the scrollbar returns */
.loader-wait :is(.intro-mark span, .intro-coe, .intro-name, .intro-foot) { animation-play-state: paused; }
@keyframes curtain-rise { from { transform: translateY(130%); } to { transform: none; } }
@keyframes curtain-lift { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .curtain { display: none; } }
/* v2 inner pages: the same black stage, cream type and one pink light as the home */
.band { padding-block: var(--space-3xl); }
.band + .band, .page-head + .band { padding-top: 0; }
.band.tint { padding-top: var(--space-3xl); }
.band-title { font-size: var(--text-section); max-width: 22ch; margin-bottom: var(--space-xl); }
.band-title .mono { font-size: 0.5em; color: var(--color-on-field-3); vertical-align: middle; }
.band-lead { margin-top: calc(-1 * var(--space-md)); margin-bottom: var(--space-xl); max-width: 52ch; color: var(--color-on-field-2); font-size: var(--text-lead); }
.muted { color: var(--color-on-field-3); }
.back { margin-top: var(--space-2xl); }
.empty-state { font-variant-numeric: tabular-nums; padding: var(--space-2xl) 0; color: var(--color-on-field-2); font-size: var(--text-lead); }
.source-note { margin-top: var(--space-xl); color: var(--color-on-field-3); font-size: var(--text-label); max-width: 70ch; }
/* page head: a big title over the stage, lenis-sized */
.page-head { padding-top: calc(var(--masthead) + var(--space-3xl)); padding-bottom: var(--space-2xl); }
.crumbs { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-bottom: var(--space-xl); font-size: var(--text-label); color: var(--color-on-field-3); }
.crumbs a { color: var(--color-on-field-2); text-decoration: none; }
.crumbs a:hover { color: var(--color-accent); }
.page-title { font-size: var(--text-poster); line-height: var(--lh-display); max-width: 14ch; }
.page-title:lang(en) { line-height: 1; letter-spacing: -0.03em; }
.page-lead { margin-top: var(--space-lg); max-width: 46ch; font-size: var(--text-lead); line-height: 1.6; color: var(--color-on-field-2); }
.page-stats { display: flex; flex-wrap: wrap; gap: var(--space-md) var(--space-3xl); margin-top: var(--space-2xl); }
.page-stats div { display: grid; gap: var(--space-2xs); }
.page-stats dt { order: 2; font-size: var(--text-label); color: var(--color-on-field-3); }
.page-stats dd { order: 1; font-size: var(--text-section); line-height: 1; color: var(--color-accent); font-variant-numeric: tabular-nums; }
/* filters: a search line and text chips; the active chip is the one pink fill */
.filter-bar { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); padding-bottom: var(--space-lg); box-shadow: inset 0 calc(-1 * var(--rule-hair)) 0 var(--color-rule-field); }
.filter-search { display: flex; align-items: center; gap: var(--space-sm); max-width: 36rem; padding-bottom: var(--space-xs); box-shadow: inset 0 -1px 0 var(--color-rule-field); }
.filter-search:focus-within { box-shadow: inset 0 -2px 0 var(--color-accent); }
.filter-search .icon { color: var(--color-on-field-3); flex-shrink: 0; }
.filter-search input { flex: 1; min-width: 0; min-height: 44px; border: 0; background: transparent; font-size: var(--text-lead); }
.filter-search input:focus-visible { outline: none; }
.filter-search input::placeholder { color: var(--color-on-field-3); }
.chip-group { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.chip-btn { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding: 0 var(--space-md); border: 1px solid var(--color-rule-field);
  background: transparent; color: var(--color-on-field-2); cursor: pointer; transition: color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.chip-btn:hover { color: var(--color-on-field); border-color: var(--color-on-field-3); }
.chip-btn.is-on { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); font-weight: var(--weight-strong); }
.chip-btn .count { font-family: var(--font-outlier); font-size: 0.8125rem; opacity: 0.75; }
.filter-count { font-size: var(--text-label); color: var(--color-on-field-3); }
/* publications: overview charts, then an index of rows */
.overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); }
.chart figcaption { margin-bottom: var(--space-md); font-size: var(--text-label); color: var(--color-on-field-3); }
.q-seg { flex: var(--share) 1 0; display: flex; align-items: flex-end; justify-content: space-between; padding: var(--space-sm); }
.q-seg.q-q1 { background: var(--color-accent); color: var(--color-accent-ink); }
.q-seg.q-q2 { background: var(--color-field-3); }
.area-bars, .rank { display: grid; gap: var(--space-sm); }
.area-bars li { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 2rem; align-items: center; gap: var(--space-sm); font-size: var(--text-label); }
.area-bars .track { height: 8px; background: var(--color-field-3); }
.area-bars .fill { display: block; height: 100%; width: var(--w); background: var(--color-accent); }
.area-bars b, .rank b { text-align: end; font-weight: var(--weight-body); }
.rank { counter-reset: none; }
.rank li { display: flex; justify-content: space-between; gap: var(--space-md); padding-bottom: var(--space-xs); box-shadow: inset 0 -1px 0 var(--color-rule-field); font-size: var(--text-label); }
.rank a { text-decoration: none; }
.rank a:hover { color: var(--color-accent); }
.paper-list { display: grid; }
.paper-row { display: grid; grid-template-columns: 5rem minmax(0, 1fr) minmax(0, 13rem); gap: var(--space-sm) var(--gap-columns); padding-block: var(--space-xl);
  box-shadow: inset 0 var(--rule-hair) 0 var(--color-rule-field); }
.paper-year { font-size: var(--text-lead); color: var(--color-on-field-3); }
.paper-title { font-size: var(--text-title); line-height: 1.35; letter-spacing: -0.005em; }
.paper-title a { text-decoration: none; }
.paper-title a:hover { color: var(--color-accent); }
.paper-authors { margin-top: var(--space-sm); color: var(--color-on-field-2); line-height: 1.6; }
.paper-authors .member-author { color: var(--color-on-field); text-decoration-color: var(--color-accent); }
.paper-journal { margin-top: var(--space-2xs); color: var(--color-on-field-3); }
.paper-journal em { font-style: normal; color: var(--color-on-field-2); }
.paper-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs) var(--space-lg); margin-top: var(--space-md); }
.act { min-height: 44px; padding: 0; border: 0; background: none; color: var(--color-accent); font-weight: var(--weight-strong); text-decoration: underline; text-underline-offset: 0.25em; cursor: pointer; }
.act:hover { color: var(--color-on-field); }
.paper-note { font-size: var(--text-label); color: var(--color-on-field-3); }
.paper-meta { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-xs); font-size: var(--text-label); }
.q-badge { padding: 0.25em 0.6em; font-weight: var(--weight-strong); }
.q-q1 { background: var(--color-accent); color: var(--color-accent-ink); }
.q-q2 { background: var(--color-field-3); }
.pillar-label { color: var(--color-on-field-2); }
.sdg { font-size: 0.8125rem; color: var(--color-on-field-3); }
@media (max-width: 60rem) {
  .overview { grid-template-columns: minmax(0, 1fr); }
  .paper-row { grid-template-columns: minmax(0, 1fr); }
  .paper-meta { flex-direction: row; flex-wrap: wrap; order: -1; }
  .paper-year { order: -2; }
}
/* members */
.group { margin-bottom: var(--space-2xl); }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2xs) var(--space-lg); margin-bottom: var(--space-xl); }
.group-title { font-size: var(--text-section); }
.group-count { color: var(--color-on-field-3); }
.people-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2xl) var(--space-lg); }
.people-grid.is-lead { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 52rem; }
.person-tile a { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); text-decoration: none; overflow-wrap: anywhere; }
.person-photo { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--color-field-2); }
.person-photo .person-img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.initials { display: grid; place-items: center; height: 100%; font-family: var(--font-display); font-size: 3rem; color: var(--color-on-field-3); }
.person-tile .person-name { margin-top: var(--space-sm); font-size: var(--text-lead); font-weight: var(--weight-strong); line-height: 1.35; }
.person-tile a:hover .person-name { color: var(--color-accent); }
.person-role { color: var(--color-accent); font-size: var(--text-label); }
.person-aff { color: var(--color-on-field-3); font-size: var(--text-label); line-height: 1.55; }
.person-tags { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-md); font-size: var(--text-label); color: var(--color-on-field-2); }
@media (max-width: 60rem) { .people-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .people-grid, .people-grid.is-lead { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--space-md); } }
/* member profile */
.profile { padding-top: calc(var(--masthead) + var(--space-2xl)); padding-bottom: var(--space-3xl); }
.profile-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-lg) var(--gap-columns); align-items: end; }
.profile-grid .crumbs { grid-column: 1 / -1; margin-bottom: 0; }
.profile-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--color-field-2); }
.profile-img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.profile-group { margin-top: var(--space-sm); color: var(--color-on-field-2); }
.profile-name { margin-top: var(--space-sm); font-size: var(--text-display); line-height: 1.15; max-width: 14ch; }
.profile-alt { margin-top: var(--space-sm); font-size: var(--text-lead); color: var(--color-on-field-2); }
.facts { display: grid; gap: var(--space-sm); margin-top: var(--space-xl); max-width: 40rem; }
.facts div { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: var(--space-md); padding-top: var(--space-sm); box-shadow: inset 0 var(--rule-hair) 0 var(--color-rule-field); }
.facts dt { color: var(--color-on-field-3); font-size: var(--text-label); }
.profile-note { margin-top: var(--space-lg); }
.profile-note a { color: var(--color-accent); }
.profile .actions { margin-top: var(--space-xl); }
@media (max-width: 40rem) { .profile-name, .page-title { font-size: clamp(2rem, 9.5vw, 3.25rem); } }  /* sized so the longest unbroken Thai phrase fits a phone */
@media (max-width: 60rem) { .profile-grid { grid-template-columns: minmax(0, 1fr); } .profile-photo { max-width: 26rem; } .facts div { grid-template-columns: minmax(0, 1fr); gap: 0; } }
/* activities */
.year-block { margin-bottom: var(--space-3xl); }
.year-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2xs) var(--space-lg); margin-bottom: var(--space-xl); }
.year-title { font-size: var(--text-poster); line-height: 1; font-variant-numeric: tabular-nums; }
.year-count { color: var(--color-on-field-3); }
.event-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2xl) var(--space-lg); }
.event-tile a { display: grid; gap: var(--space-xs); text-decoration: none; }
.event-photo { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--color-field-2); }
.event-img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-long) var(--ease-out); }
.event-tile a:hover .event-img { transform: scale(1.04); }
.event-meta { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-md); margin-top: var(--space-xs); font-size: var(--text-label); color: var(--color-on-field-3); }
.event-type { color: var(--color-accent); }
.event-title { font-size: var(--text-lead); font-weight: var(--weight-strong); line-height: 1.45; }
.event-tile a:hover .event-title { color: var(--color-accent); }
.event-place { font-size: var(--text-label); color: var(--color-on-field-3); }
@media (max-width: 60rem) { .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60rem) and (max-width: 75rem) { .event-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .event-grid { grid-template-columns: minmax(0, 1fr); } }
/* an activity: head, cover, prose, gallery, pager */
.article-head { padding-top: calc(var(--masthead) + var(--space-2xl)); }
.article-title { margin-top: var(--space-md); font-size: var(--text-section); line-height: 1.25; max-width: 26ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-xl); margin-top: var(--space-lg); color: var(--color-on-field-2); }
.article-cover { margin-top: var(--space-2xl); }
.cover-img { width: 100%; max-height: 60vh; object-fit: cover; }
.article-band { padding-top: var(--space-3xl); }
.article-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); gap: var(--gap-columns); }
.prose { max-width: 68ch; font-size: 1.1875rem; }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose li { color: var(--color-on-field-2); line-height: 1.85; }
.prose ul, .prose ol { padding-left: 1.4em; list-style: revert; }
.prose a { color: var(--color-accent); }
.prose b, .prose strong { color: var(--color-on-field); }
.prose .prose-h { margin-top: 2em; font-size: var(--text-title); }
.article-lead { font-size: var(--text-lead); color: var(--color-on-field) !important; line-height: 1.7 !important; }
.side-title { font-size: var(--text-label); color: var(--color-on-field-3); font-weight: var(--weight-body); margin-bottom: var(--space-sm); }
.article-side .actions { flex-direction: column; align-items: stretch; }
.gallery-section { margin-top: var(--space-3xl); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-sm); }
.gallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.gallery-img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-long) var(--ease-out); }
.gallery a:hover .gallery-img { transform: scale(1.05); }
.pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); margin-top: var(--space-3xl); }
.pager-link { display: grid; gap: var(--space-xs); padding-top: var(--space-md); box-shadow: inset 0 var(--rule-hair) 0 var(--color-rule-field); text-decoration: none; }
.pager-link small { font-size: var(--text-label); color: var(--color-on-field-3); }
.pager-link span { font-weight: var(--weight-strong); line-height: 1.45; }
.pager-link:hover span { color: var(--color-accent); }
.pager-link.is-next { text-align: end; }
@media (max-width: 60rem) { .article-grid { grid-template-columns: minmax(0, 1fr); } .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lightbox { width: min(1200px, 100% - 2 * var(--space-md)); max-height: 92vh; padding: var(--space-xl) var(--space-3xl); border: 0; background: var(--color-field); color: var(--color-on-field); }
.lightbox::backdrop { background: var(--color-scrim); }
.lightbox figure img { max-width: 100%; max-height: 76vh; margin-inline: auto; object-fit: contain; }
.lightbox figcaption { margin-top: var(--space-sm); text-align: center; color: var(--color-on-field-2); font-size: var(--text-label); }
.lb-close { position: absolute; top: var(--space-xs); right: var(--space-xs); }
.lb-prev, .lb-next { position: absolute; top: 50%; translate: 0 -50%; }
.lb-prev { left: var(--space-xs); }
.lb-next { right: var(--space-xs); }
/* vision */
.statement p { font-family: var(--font-display); font-size: clamp(2rem, 3.6vw + 0.5rem, 4.5rem); font-weight: var(--weight-strong); line-height: 1.3; max-width: 32ch; }
.statement { margin: 0; padding-left: var(--space-xl); box-shadow: inset 3px 0 0 var(--color-accent); }
.goals { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: var(--space-2xl) var(--gap-columns); }
.goals div { display: grid; gap: var(--space-xs); padding-top: var(--space-md); box-shadow: inset 0 var(--rule-hair) 0 var(--color-rule-field); }
.goals dt { font-size: clamp(2rem, 2vw + 1.1rem, 3rem); line-height: 1; color: var(--color-on-field); overflow-wrap: anywhere; }
.goals dd { display: grid; gap: var(--space-2xs); }
.goals dd span { color: var(--color-on-field-2); font-size: var(--text-label); line-height: 1.6; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3xl) var(--gap-columns); }
.lined-list { display: grid; gap: 0; }
.lined-list li { padding-block: var(--space-md); box-shadow: inset 0 var(--rule-hair) 0 var(--color-rule-field); color: var(--color-on-field-2); line-height: 1.7; }
.steps { display: grid; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: var(--space-md); padding-block: var(--space-md); box-shadow: inset 0 var(--rule-hair) 0 var(--color-rule-field); color: var(--color-on-field-2); line-height: 1.7; }
.steps li::before { content: counter(step); font-family: var(--font-outlier); color: var(--color-accent); }
.pillar-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); }
.pillar-col h3 { font-size: var(--text-title); }
.pillar-col p { margin-top: var(--space-sm); color: var(--color-on-field-2); }
.pillar-col ul { display: grid; gap: var(--space-2xs); margin-top: var(--space-md); color: var(--color-on-field-3); font-size: var(--text-label); }
@media (max-width: 60rem) { .two-col, .pillar-cols { grid-template-columns: minmax(0, 1fr); } }
/* innovations */
.innov-list { display: grid; gap: var(--space-4xl); }
.innov { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-xl) var(--gap-columns); align-items: start; }
.innov:nth-child(even) .innov-shot { order: 2; }
.innov-shot { display: block; overflow: hidden; background: var(--color-field-2); }
.shot-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform var(--dur-long) var(--ease-out); }
.innov-shot:hover .shot-img { transform: scale(1.02); }
.innov-tags { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-md); margin-top: var(--space-xs); font-size: var(--text-label); color: var(--color-on-field-2); }
.innov-title { margin-top: var(--space-md); font-size: var(--text-section); line-height: 1.2; }
.innov-sub { margin-top: var(--space-sm); color: var(--color-on-field); font-size: var(--text-lead); }
.innov-text { margin-top: var(--space-md); color: var(--color-on-field-2); line-height: 1.75; }
.tech { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-md); margin-top: var(--space-md); font-size: 0.875rem; color: var(--color-on-field-3); }
.innov-impact { margin-top: var(--space-md); color: var(--color-on-field-2); }
.innov .lined-list { margin-top: var(--space-md); }
.innov .actions { margin-top: var(--space-xl); align-items: center; }
.url-label { font-size: 0.875rem; color: var(--color-on-field-3); }
@media (max-width: 60rem) { .innov { grid-template-columns: minmax(0, 1fr); } .innov:nth-child(even) .innov-shot { order: 0; } }
/* books */
.book-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3xl) var(--gap-columns); }
.book { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--space-lg); align-items: start; }
.book-cover { position: relative; display: block; }
.book-img { width: 100%; }
.cover-note { position: absolute; inset: auto 0 0; padding: var(--space-xs); background: var(--color-scrim); font-size: var(--text-label); }
.book-title { font-size: var(--text-title); line-height: 1.35; }
.book-author { margin-top: var(--space-sm); color: var(--color-accent); font-size: var(--text-label); }
.book-text { margin-top: var(--space-md); color: var(--color-on-field-2); line-height: 1.7; font-size: var(--text-label); }
.book .actions { margin-top: var(--space-lg); }
.file-meta, .book-status { margin-top: var(--space-sm); font-size: var(--text-label); color: var(--color-on-field-3); }
@media (max-width: 60rem) { .book-list { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 40rem) { .book { grid-template-columns: minmax(0, 1fr); } .book-cover { max-width: 16rem; } }
/* announcements */
.notice + .notice { margin-top: var(--space-3xl); }
.notice-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-lg) var(--gap-columns); align-items: end; padding-bottom: var(--space-xl); }
.notice-meta { display: flex; gap: var(--space-md); margin-block: var(--space-xs) var(--space-sm); font-size: var(--text-label); color: var(--color-on-field-3); }
.notice-title { margin-top: var(--space-sm); font-size: var(--text-section); line-height: 1.2; }
.notice-text { margin-top: var(--space-md); max-width: 60ch; color: var(--color-on-field-2); }
.file-group { margin-top: var(--space-xl); }
.file-group-title { font-size: var(--text-lead); margin-bottom: var(--space-sm); }
.file-list a { display: grid; grid-template-columns: 4rem minmax(0, 1fr) auto 20px; gap: var(--space-md); align-items: center; min-height: 52px;
  box-shadow: inset 0 var(--rule-hair) 0 var(--color-rule-field); text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.file-list a:hover { color: var(--color-accent); }
.file-type { font-size: var(--text-label); font-weight: var(--weight-strong); color: var(--color-on-field-2); }
.file-size { font-size: 0.8125rem; color: var(--color-on-field-3); }
@media (max-width: 40rem) { .notice-head { grid-template-columns: minmax(0, 1fr); } .file-list a { grid-template-columns: 3rem minmax(0, 1fr) 20px; } .file-size { display: none; } }
/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl) var(--gap-columns); margin-bottom: var(--space-4xl); }
.contact-list { display: grid; }
.contact-list div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: var(--space-md); padding-block: var(--space-lg); box-shadow: inset 0 var(--rule-hair) 0 var(--color-rule-field); }
.contact-list dt { color: var(--color-on-field-3); font-size: var(--text-label); }
.contact-list dd { display: grid; gap: var(--space-2xs); line-height: 1.7; }
.contact-list dd span { color: var(--color-on-field-3); font-size: var(--text-label); }
.big-link { font-size: var(--text-title); font-weight: var(--weight-strong); text-decoration: none; }
.big-link:hover { color: var(--color-accent); }
.collab { padding: var(--space-xl); background: var(--color-field-2); align-self: start; }
@media (max-width: 24rem) { .collab { padding: var(--space-lg) var(--space-md); } .collab .btn { padding-inline: var(--space-md); } }
.collab .band-title { font-size: var(--text-title); margin-bottom: var(--space-md); }
.collab .actions { margin-block: var(--space-lg) var(--space-sm); }
.contact-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
.contact-people li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--space-lg); align-items: center; }
.cp-photo img { width: 96px; height: 120px; object-fit: cover; object-position: top; }
.contact-people div { display: grid; gap: var(--space-2xs); }
.cp-name { font-size: var(--text-lead); font-weight: var(--weight-strong); text-decoration: none; }
.cp-name:hover { color: var(--color-accent); }
.contact-people span { color: var(--color-on-field-3); font-size: var(--text-label); }
@media (max-width: 60rem) { .contact-grid, .contact-people { grid-template-columns: minmax(0, 1fr); } .contact-list div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); } }
