/* Self-hosted fonts (SIL OFL 1.1, licences in ../fonts/OFL-*.txt). Newsreader is a static
   instance (opsz 60, weight 500, roman + italic); Hanken Grotesk is variable 400-600.
   latin + latin-ext only; latin-ext loads only when such characters are on the page. */
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/hanken-grotesk-latin-ext.768af2923e.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/hanken-grotesk-latin.e9201eddf1.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/newsreader-italic-latin-ext.4edfa39b18.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/newsreader-italic-latin.99906c9fbb.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/newsreader-latin-ext.1bdb27541e.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/newsreader-latin.1c72a312cd.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* RSFH public site. Art direction: references/homepage-target.png (WORKSPACE.md D1-D5).
   Tokens from D3, refined in docs/DESIGN_SYSTEM.md. One serif display face (Newsreader 500,
   roman + italic) and one text face (Hanken Grotesk). No framework, no utility classes. */

:root {
  --color-paper: #f6eee3;
  --color-paper-2: #efe4d4;
  --color-ink: #192321;
  --color-forest: #1b2723;
  --color-terracotta: #af553a;
  --color-terracotta-deep: #94452d;
  --color-copper: #a85d48;       /* decorative accents (separators) */
  --color-copper-text: #97503c;  /* copper for text: 5.2:1 on paper, 4.7:1 on paper-2 */
  --color-rule: #b9b6aa;
  --color-rule-soft: #d8d0c2;
  --color-text-muted: #56605b;
  --color-on-dark: #f6eee3;
  --color-on-dark-muted: #cfc6b6;
  --color-focus: #af553a;
  --color-moss: #2e5a45;         /* headings inside pages: 6.9:1 on paper */
  --color-clay-light: #e3a58c;   /* accents and hovers on deep green: 7.4:1 */
  --color-select: #efc9b9;       /* selected text, with the ink: 10.5:1 */

  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-text: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;

  --content-max: 1320px;
  --page-gutter: clamp(18px, 4.75vw, 72px);
  --line-hair: 1px;
  --radius: 2px;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-enter: cubic-bezier(.22, 1, .36, 1);
  --t-in: 150ms;
  --t-out: 120ms;

  --step-hero: clamp(2.6rem, 1.55rem + 4.3vw, 5rem);
  --step-2: clamp(2.05rem, 1.35rem + 2.75vw, 3.6rem);
  --step-3: clamp(1.9rem, 1.3rem + 2.3vw, 3.3rem);
  --step-row: clamp(1.45rem, 1.05rem + 1.55vw, 2.45rem);
  --step-band: clamp(2.1rem, 1.25rem + 3.45vw, 4.2rem);
  --step-lead: clamp(1.06rem, .98rem + .4vw, 1.3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; }
body {
  display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh;
  background: var(--color-paper);
  color: var(--color-ink);
  font: 400 1.0625rem/1.6 var(--font-text);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 500; font-optical-sizing: auto; text-wrap: balance; }
h1 em, h2 em { font-style: italic; }
p { margin: 0; }
::selection { background: var(--color-select); color: var(--color-ink); }
.hero ::selection, .feature ::selection, .page-head ::selection, .site-footer ::selection { background: var(--color-clay-light); color: var(--color-forest); }
ol, ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.hero :focus-visible, .feature__panel :focus-visible, .band :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 0; top: 8px; z-index: 30;
  transform: translateY(-120%);
  background: var(--color-forest); color: var(--color-on-dark);
  padding: 12px 18px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { transform: none; }

.wrap { width: min(100% - 2 * var(--page-gutter), var(--content-max)); margin-inline: auto; }

/* ---------------------------------------------------------------- buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 0 20px;
  border: 1.5px solid transparent; border-radius: var(--radius);
  font: 600 1rem/1.2 var(--font-text); text-decoration: none; letter-spacing: .005em;
  transition: transform var(--t-out) var(--ease), background-color var(--t-out) var(--ease), color var(--t-out) var(--ease);
}
.btn--primary { background: var(--color-terracotta); color: #fff; }
.btn--outline { border-color: currentColor; color: var(--color-ink); background: transparent; }
.btn--on-colour { color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); transition-duration: var(--t-in); }
  .btn--primary:hover { background: var(--color-terracotta-deep); }
  .btn--outline:hover { background: rgba(25, 35, 33, .06); }
  .btn--on-colour:hover { background: rgba(255, 255, 255, .12); }
}
.btn:active { transform: translateY(1px) scale(.985); transition-duration: 90ms; }

.arrow { flex: none; transition: transform var(--t-out) var(--ease); }
a:hover .arrow--out, a:focus-visible .arrow--out { transform: translate(2px, -2px); transition-duration: var(--t-in); }
a:hover .arrow--on, a:focus-visible .arrow--on { transform: translateX(3px); transition-duration: var(--t-in); }

.text-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left calc(100% - 8px) / 100% 1.5px no-repeat;
  padding-bottom: 4px;
}
.text-link--on-dark { color: var(--color-on-dark); }

.eyebrow {
  display: flex; align-items: center; gap: 18px;
  font: 600 .75rem/1.4 var(--font-text); letter-spacing: .22em; text-transform: uppercase;
}
.eyebrow::after { content: ""; flex: 0 0 72px; height: var(--line-hair); background: currentColor; opacity: .7; }

/* ---------------------------------------------------------------- header */
.site-header { background: var(--color-paper); border-bottom: var(--line-hair) solid var(--color-rule-soft); position: relative; z-index: 20; }
.site-header__bar { position: relative; display: flex; align-items: center; gap: clamp(12px, 1.5vw, 24px); min-height: 80px; }
.site-header__id { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 22px); margin-right: auto; }
.brand {
  display: inline-flex; align-items: center; gap: 11px; text-decoration: none;
  font: 700 .9rem/1.08 var(--font-text); letter-spacing: .01em; text-transform: uppercase;
  min-height: 44px; padding-block: 4px;
}
.brand__name { display: flex; flex-direction: column; }
.brand__mark { flex: none; width: 42px; height: auto; }
.brand__line { white-space: nowrap; }
.affiliation {
  border-left: var(--line-hair) solid var(--color-rule);
  padding: 8px 0 8px clamp(12px, 1.4vw, 22px);
  font: italic 500 .95rem/1.2 var(--font-display); color: var(--color-ink);
  white-space: nowrap;
}
.site-nav { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 28px); }
.site-nav__list { display: flex; gap: clamp(12px, 1.4vw, 24px); }
.site-nav__link {
  display: inline-flex; align-items: center; min-height: 44px;
  font: 500 .95rem/1.2 var(--font-text); text-decoration: none; white-space: nowrap;
  background: linear-gradient(currentColor, currentColor) left calc(50% + .8em) / 0 1px no-repeat;
  transition: background-size var(--t-out) var(--ease);
}
.site-nav__link { transition: background-size var(--t-out) var(--ease), color var(--t-out) var(--ease); }
.site-nav__link:hover { background-size: 100% 1px; color: var(--color-terracotta-deep); transition-duration: var(--t-in); }
.site-nav__link[aria-current="page"] { background-size: 100% 2px; }
.site-nav__action { min-height: 44px; padding: 0 14px; font-size: .92rem; white-space: nowrap; flex: none; }
.menu-toggle { display: none; }

@media (max-width: 74rem) {
  .site-header__bar { flex-wrap: wrap; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
    border: 1.5px solid var(--color-ink); border-radius: var(--radius); background: transparent; color: var(--color-ink);
    font: 600 .95rem/1 var(--font-text); cursor: pointer;
  }
  .menu-toggle__icon, .menu-toggle__icon::before, .menu-toggle__icon::after {
    display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; content: "";
  }
  .menu-toggle__icon::before { position: absolute; top: -6px; }
  .menu-toggle__icon::after { position: absolute; top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon::after { top: 0; transform: rotate(-45deg); }

  .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 24px; }
  .js .site-nav:not(.is-open) { display: none; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list li { border-top: var(--line-hair) solid var(--color-rule-soft); }
  .site-nav__link { display: flex; min-height: 56px; font-size: 1.15rem; background: none; }
  .site-nav__link[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
  .site-nav__action { margin-top: 16px; min-height: 52px; }
}
@media (max-width: 40rem) {
  .affiliation { display: none; }
  .site-header__bar { min-height: 68px; }
  .site-header .brand { gap: 7px; font-size: clamp(.6875rem, 3.2vw, .8125rem); }
  .site-header .brand__mark { width: 32px; }
}

/* ---------------------------------------------------------------- hero */
.hero { position: relative; isolation: isolate; color: var(--color-on-dark); background: var(--color-forest); overflow: hidden; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 62% 50%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  /* subtle graded overlay, not an opaque card (D2 2) */
  background:
    linear-gradient(90deg, rgba(12, 18, 16, .86) 0%, rgba(12, 18, 16, .76) 34%, rgba(12, 18, 16, .34) 58%, rgba(12, 18, 16, 0) 76%),
    linear-gradient(0deg, rgba(12, 18, 16, .38) 0%, rgba(12, 18, 16, 0) 38%);
}
.hero__inner { position: relative; z-index: 1; display: flex; align-items: center; min-height: clamp(560px, 41vw, 700px); padding-block: clamp(56px, 6vw, 96px); }
.hero__text { max-width: 36rem; }
.hero__title { font-size: var(--step-hero); line-height: .98; letter-spacing: -.022em; }
.hero__title em { letter-spacing: -.03em; }
.hero__lead { margin-top: clamp(20px, 2vw, 28px); max-width: 28rem; font-size: var(--step-lead); line-height: 1.45; color: #f1e9dd; }
.hero .btn { margin-top: clamp(24px, 2.6vw, 36px); }

@media (max-width: 64rem) {
  .hero__media img { object-position: 50% 30%; }
  .hero::after {
    background: linear-gradient(0deg, rgba(12, 18, 16, .92) 0%, rgba(12, 18, 16, .80) 40%, rgba(12, 18, 16, .2) 70%, rgba(12, 18, 16, 0) 100%);
  }
  .hero__inner { align-items: flex-end; min-height: min(86svh, 700px); padding-block: 40px 40px; }
}
@media (max-width: 40rem) {
  .hero__inner { min-height: min(86svh, 640px); padding-block: 40px 36px; }
  .hero .btn { width: 100%; }
}

/* one entrance on load, functional and short (D5); none under reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: hero-settle 1.1s var(--ease-enter) both; }
  .hero__text > * { animation: rise .7s var(--ease-enter) both; }
  .hero__text > :nth-child(2) { animation-delay: .12s; }
  .hero__text > :nth-child(3) { animation-delay: .2s; }
}
@keyframes hero-settle { from { transform: scale(1.04); } to { transform: none; } }
/* movement only: the words are readable at every frame, even if the animation never runs
   (background tab, slow device, screenshot tools) */
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }

/* ---------------------------------------------------------------- research + programmes */
.research { padding-block: clamp(56px, 6vw, 96px) clamp(56px, 6.5vw, 100px); }
.research__head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center; column-gap: 24px;
}
.research__head > h2 { grid-column: 1 / span 7; padding-right: 24px; }
.research__head > .research__intro { grid-column: 8 / -1; }
.display-2 { font-size: var(--step-2); line-height: 1.02; letter-spacing: -.018em; }
.research__intro {
  border-left: var(--line-hair) solid var(--color-rule);
  padding: 10px 0 10px clamp(28px, 3.6vw, 56px);
  max-width: 34rem; font-size: 1.0625rem; line-height: 1.6;
}
.programmes { margin-top: clamp(36px, 3.4vw, 52px); border-top: var(--line-hair) solid var(--color-rule); }
.programme { border-bottom: var(--line-hair) solid var(--color-rule); }
.programme__link {
  display: grid; align-items: center;
  grid-template-columns: clamp(52px, 6vw, 92px) minmax(0, 1fr) minmax(15rem, 32%) 48px;
  min-height: clamp(76px, 6.4vw, 96px); padding-block: 14px;
  text-decoration: none;
}
.programme__number { font: 500 clamp(1.25rem, 1rem + .9vw, 1.75rem)/1 var(--font-display); color: var(--color-copper-text); font-variant-numeric: tabular-nums lining-nums; }
.programme__title {
  font: 500 var(--step-row)/1.12 var(--font-display); letter-spacing: -.012em; padding-right: 24px;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; text-decoration-color: transparent;
  transition: text-decoration-color var(--t-out) var(--ease);
}
.programme__link:hover .programme__title { color: var(--color-terracotta-deep); text-decoration-color: currentColor; transition-duration: var(--t-in); }
.programme__themes {
  align-self: stretch; display: flex; flex-wrap: wrap; align-items: center; align-content: center; gap: 2px 10px;
  border-left: var(--line-hair) solid var(--color-rule);
  padding-left: clamp(20px, 2.4vw, 40px);
  font: 600 .75rem/1.55 var(--font-text); letter-spacing: .18em; text-transform: uppercase;
}
/* the separator belongs to the theme before it, so no wrapped line starts with one */
.programme__theme:not(:last-child)::after { content: "·"; margin-left: 10px; color: var(--color-copper); }
.programme__arrow { justify-self: end; display: inline-flex; }
.programme__link:hover .arrow--on, .programme__link:focus-visible .arrow--on { transform: translateX(4px); transition-duration: var(--t-in); }

@media (max-width: 52rem) {
  .research__head { grid-template-columns: 1fr; row-gap: 24px; }
  .research__head > h2, .research__head > .research__intro { grid-column: 1 / -1; }
  .research__intro { border-left: 0; padding: 0; }
  .programme__link { grid-template-columns: 44px minmax(0, 1fr) 32px; grid-template-areas: "num title arrow" ". themes arrow"; row-gap: 8px; padding-block: 20px; }
  .programme__number { grid-area: num; align-self: start; padding-top: .3em; }
  .programme__title { grid-area: title; padding-right: 8px; }
  .programme__themes { grid-area: themes; border-left: 0; padding-left: 0; letter-spacing: .14em; }
  .programme__arrow { grid-area: arrow; }
}

/* ---------------------------------------------------------------- feature split */
/* main is the size container: cqw then means the content width without the scrollbar */
main { flex: 1 0 auto; container-type: inline-size; }
.feature {
  --wrap-w: min(100cqw - 2 * var(--page-gutter), var(--content-max));
  --wrap-l: calc((100cqw - var(--wrap-w)) / 2);
  --line-8: calc(var(--wrap-l) + 7 * ((var(--wrap-w) - 11 * 24px) / 12 + 24px));
  --panel-pad: clamp(40px, 4.4vw, 72px);
  display: grid; grid-template-columns: calc(var(--line-8) - var(--panel-pad)) minmax(0, 1fr);
  background: var(--color-forest); color: var(--color-on-dark);
}
.feature__media { position: relative; min-height: clamp(380px, 35vw, 560px); }
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature__panel {
  display: flex; flex-direction: column; justify-content: center; gap: clamp(18px, 1.8vw, 26px);
  padding: clamp(44px, 5vw, 80px) var(--wrap-l) clamp(44px, 5vw, 80px) var(--panel-pad);
}
.feature__panel > * { max-width: 34rem; }
.feature .eyebrow { color: var(--color-on-dark-muted); }
.display-3 { font-size: var(--step-3); line-height: 1.04; letter-spacing: -.016em; }
.feature__body { color: var(--color-on-dark-muted); font-size: 1.0625rem; line-height: 1.6; }
.feature .text-link { align-self: flex-start; }

@media (max-width: 52rem) {
  .feature { grid-template-columns: 1fr; }
  .feature__media { min-height: 0; aspect-ratio: 16 / 10; }
  .feature__panel { padding: 44px var(--page-gutter) 52px; }
}

/* ---------------------------------------------------------------- terracotta band */
.band { background: var(--color-terracotta); color: #fff; }
.band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; padding-block: clamp(36px, 4vw, 60px); }
.band__title { font-size: var(--step-band); line-height: 1.02; letter-spacing: -.02em; color: #fff; }
@media (max-width: 52rem) {
  .band__inner { flex-direction: column; align-items: flex-start; }
}

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--color-forest); color: var(--color-on-dark); }
.site-footer__grid { display: flex; align-items: center; gap: 24px clamp(32px, 4vw, 64px); padding-block: 36px 28px; }
.brand--footer { gap: 14px; text-transform: none; font: 600 1.2rem/1.12 var(--font-text); letter-spacing: 0; }
.brand--footer .brand__mark { width: 46px; }
.brand--footer .brand__slash { display: none; }
.site-footer__id { padding-right: clamp(32px, 4vw, 64px); border-right: var(--line-hair) solid rgba(246, 238, 227, .28); }
.site-footer__tagline { margin-top: 10px; font: 600 .7rem/1.4 var(--font-text); letter-spacing: .24em; text-transform: uppercase; color: var(--color-on-dark-muted); }
.site-footer__nav ul { display: flex; flex-wrap: wrap; gap: 4px clamp(24px, 3.4vw, 52px); }
.site-footer__nav a, .site-footer__legal a {
  display: inline-flex; align-items: center; min-height: 44px; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left calc(50% + .8em) / 0 1px no-repeat;
  transition: background-size var(--t-out) var(--ease);
}
.site-footer__nav a:hover, .site-footer__legal a:hover { background-size: 100% 1px; color: var(--color-clay-light); transition-duration: var(--t-in); }
.site-footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  border-top: var(--line-hair) solid rgba(246, 238, 227, .2); padding-block: 12px 20px;
  font-size: .875rem; color: var(--color-on-dark-muted);
}
.site-footer__legal ul { display: flex; flex-wrap: wrap; gap: 0 24px; }
@media (max-width: 52rem) {
  .site-footer__grid { flex-direction: column; align-items: flex-start; gap: 18px; padding-block: 28px 22px; }
  .site-footer__id { border-right: 0; padding-right: 0; }
  .site-footer__nav ul { gap: 0 28px; }
}

/* ---------------------------------------------------------------- simple pages */
.simple { padding-block: clamp(56px, 7vw, 112px); }
.simple__inner { max-width: 46rem; }
.simple__lead { margin-top: 20px; font-size: var(--step-lead); color: var(--color-text-muted); }
.simple__links { margin-top: 32px; display: grid; gap: 4px; }

/* ---------------------------------------------------------------- content pages (P4) */
.legacy-anchor { display: block; position: relative; top: -16px; height: 0; }

/* The title band of every inner page: the homepage's deep green, compact, so the
   breadcrumb, title and lead sit close to the content they introduce. */
.page-head {
  position: relative; background: var(--color-forest); color: var(--color-on-dark);
  padding-block: clamp(10px, 1.2vw, 16px) clamp(26px, 2.8vw, 40px);
}
.page-head::after { /* a terracotta rule closes the band, like the homepage band */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--color-terracotta);
}
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0 6px; font-size: .875rem; color: var(--color-on-dark-muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: rgba(246, 238, 227, .45); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: .2em; text-decoration-color: rgba(246, 238, 227, .5); }
.crumbs a:hover { color: var(--color-clay-light); text-decoration-color: currentColor; }
.page-head__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end;
  margin-top: 2px;
}
.page-head__title { grid-column: 1 / span 7; display: grid; gap: 12px; padding-right: 24px; }
.page-head__title .eyebrow { color: var(--color-clay-light); }
.page-head__lead {
  grid-column: 8 / -1; border-left: var(--line-hair) solid rgba(246, 238, 227, .28);
  padding: 6px 0 6px clamp(24px, 3vw, 44px); font-size: 1.0625rem; line-height: 1.6; max-width: 34rem;
  color: var(--color-on-dark-muted);
}
.page-head :focus-visible { outline-color: #fff; }
@media (max-width: 52rem) {
  .page-head__grid { grid-template-columns: 1fr; row-gap: 14px; }
  .page-head__title, .page-head__lead { grid-column: 1 / -1; padding-right: 0; }
  .page-head__lead { border-left: 0; padding: 0; }
}

.preview-notice {
  margin-top: 20px; padding: 12px 16px; border-left: 3px solid var(--color-terracotta);
  background: var(--color-paper-2); font-size: .95rem;
}

.section-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1.1; letter-spacing: -.012em; margin-bottom: clamp(16px, 2vw, 24px); color: var(--color-moss); }

/* index rows share the homepage programme rhythm */
.listing { padding-block: clamp(36px, 4vw, 64px) 0; }
.listing:last-of-type { padding-bottom: clamp(56px, 6vw, 96px); }
.listing__empty { color: var(--color-text-muted); max-width: 40rem; }
.rows { border-top: var(--line-hair) solid var(--color-rule); }
.row { border-bottom: var(--line-hair) solid var(--color-rule); }
.row__link {
  display: grid; align-items: center;
  grid-template-columns: clamp(52px, 6vw, 92px) minmax(0, 1fr) minmax(12rem, 26%) 48px;
  min-height: clamp(84px, 7vw, 112px); padding-block: 18px; text-decoration: none;
}
.row__number { align-self: start; padding-top: .35em; font: 500 clamp(1.25rem, 1rem + .9vw, 1.75rem)/1 var(--font-display); color: var(--color-copper-text); font-variant-numeric: tabular-nums lining-nums; }
.row__number--text { font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); }
.row__main { display: grid; gap: 6px; padding-right: 24px; }
.row__title {
  font: 500 clamp(1.3rem, 1rem + 1.1vw, 2rem)/1.15 var(--font-display); letter-spacing: -.01em;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; text-decoration-color: transparent;
  transition: text-decoration-color var(--t-out) var(--ease);
}
.row__title { transition: text-decoration-color var(--t-out) var(--ease), color var(--t-out) var(--ease); }
.row__link:hover .row__title { color: var(--color-terracotta-deep); text-decoration-color: currentColor; transition-duration: var(--t-in); }
.row__summary { color: var(--color-text-muted); max-width: 44rem; }
.row__meta {
  align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 4px;
  border-left: var(--line-hair) solid var(--color-rule); padding-left: clamp(20px, 2.4vw, 40px);
  font-size: .9rem; color: var(--color-text-muted);
}
.row__label { font: 600 .75rem/1.5 var(--font-text); letter-spacing: .18em; text-transform: uppercase; color: var(--color-ink); }
.row__arrow { justify-self: end; display: inline-flex; }
.row__link:hover .arrow--on, .row__link:focus-visible .arrow--on { transform: translateX(4px); transition-duration: var(--t-in); }

.rows--events .row__link { grid-template-columns: clamp(76px, 8vw, 112px) minmax(0, 1fr) 48px; }
.date-block { align-self: start; display: grid; justify-items: start; line-height: 1; color: var(--color-copper-text); }
.date-block__day { font: 500 clamp(2rem, 1.5rem + 1.6vw, 3rem)/1 var(--font-display); font-variant-numeric: lining-nums; }
.date-block__month, .date-block__year { font: 600 .75rem/1.5 var(--font-text); letter-spacing: .16em; text-transform: uppercase; }
.date-block__month { margin-top: 6px; color: var(--color-ink); }

@media (max-width: 52rem) {
  .row__link { grid-template-columns: 44px minmax(0, 1fr) 32px; grid-template-areas: "num main arrow" ". meta arrow"; row-gap: 10px; padding-block: 20px; }
  .row__number { grid-area: num; }
  .row__main { grid-area: main; padding-right: 8px; }
  .row__meta { grid-area: meta; border-left: 0; padding-left: 0; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: baseline; gap: 4px 14px; }
  .row__arrow { grid-area: arrow; }
  .rows--events .row__link { grid-template-columns: 64px minmax(0, 1fr) 32px; grid-template-areas: "date main arrow"; }
  .rows--events .date-block { grid-area: date; }
}

/* people */
.people-group { padding-block: clamp(36px, 4vw, 64px) 0; }
.people-group:last-of-type { padding-bottom: clamp(56px, 6vw, 96px); }
.people {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr));
  border-top: var(--line-hair) solid var(--color-rule);
}
.person { border-bottom: var(--line-hair) solid var(--color-rule); }
.person__link { display: grid; align-content: start; gap: 4px; padding: 20px 20px 24px 0; text-decoration: none; height: 100%; }
.person__photo, .person__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.person__photo { margin-bottom: 12px; background: var(--color-paper-2); overflow: hidden; }
.person__photo img { transition: transform .5s var(--ease); }
.person__link:hover .person__photo img { transform: scale(1.025); }
.person__name {
  font: 500 1.3rem/1.2 var(--font-display); letter-spacing: -.005em;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; text-decoration-color: transparent;
}
.person__link:hover .person__name { color: var(--color-terracotta-deep); text-decoration-color: currentColor; }
.person__role { font-size: .9rem; color: var(--color-text-muted); line-height: 1.45; }
.monogram {
  display: grid; place-items: center; color: var(--color-copper-text);
  font: italic 500 clamp(2.2rem, 1.6rem + 2vw, 3.4rem)/1 var(--font-display); letter-spacing: .02em;
}

/* detail pages */
.page-head__h1--long { font-size: clamp(1.8rem, 1.3rem + 1.7vw, 2.7rem); line-height: 1.08; }
/* Show posters whole and let the gallery open the full-size file. */
.detail-cover { max-width: 52rem; }
.detail-cover .gallery-link--portrait { width: fit-content; max-width: 100%; }
.detail-cover .gallery-link--portrait img {
  width: auto; max-height: min(62svh, 35rem); object-fit: contain;
}
.detail__image { display: block; margin-bottom: clamp(28px, 3vw, 44px); }
.detail__image img { width: 100%; height: auto; }
.detail {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  padding-block: clamp(36px, 4.5vw, 72px) clamp(56px, 6vw, 96px);
}
.detail__main { grid-column: 1 / span 7; min-width: 0; }
.detail__aside { grid-column: 9 / -1; display: grid; align-content: start; gap: 20px; }
@media (max-width: 52rem) {
  .detail { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .detail__main, .detail__aside { grid-column: 1 / -1; }
  /* a person's photograph and links come before the biography on phones */
  .detail--person .detail__aside { order: -1; }
  .detail--person .detail__portrait { max-width: 12rem; }
}
.detail__portrait, .detail__portrait img { width: 100%; max-width: 20rem; aspect-ratio: 4 / 5; object-fit: cover; }
.detail__portrait { background: var(--color-paper-2); }
/* project logos: a square tile, the logo contained */
.detail__portrait:has(img[src$=".png"]) { max-width: 14rem; aspect-ratio: 1; }
.detail__portrait img[src$=".png"] { object-fit: contain; padding: 14%; aspect-ratio: 1; }
.detail__action { justify-self: start; }

.facts { margin: 0; border-top: var(--line-hair) solid var(--color-rule); }
.facts__row { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 12px; padding-block: 12px; border-bottom: var(--line-hair) solid var(--color-rule-soft); }
.facts dt { font: 600 .75rem/1.9 var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--color-text-muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.facts a { text-underline-offset: .2em; }
.aside-title { font: 600 .75rem/1.4 var(--font-text); letter-spacing: .2em; text-transform: uppercase; margin-top: 8px; }
.related, .downloads { display: grid; border-top: var(--line-hair) solid var(--color-rule); }
.related a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding-block: 8px;
  border-bottom: var(--line-hair) solid var(--color-rule-soft); text-decoration: none;
}
.related a { transition: color var(--t-out) var(--ease); }
.related a:hover { color: var(--color-terracotta-deep); text-decoration: underline; text-underline-offset: .2em; transition-duration: var(--t-in); }
.downloads .text-link {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 4px 12px; width: 100%; padding-block: 10px; min-height: 48px;
  border-bottom: var(--line-hair) solid var(--color-rule-soft);
}
.downloads .text-link:hover { border-bottom-color: var(--color-terracotta-deep); }
.downloads__meta { font-weight: 400; color: var(--color-text-muted); font-size: .875rem; }

/* rich text */
.prose { max-width: 42rem; font-size: 1.0625rem; line-height: 1.7; overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(1.4rem, 1.15rem + .9vw, 1.9rem); line-height: 1.15; letter-spacing: -.01em; margin-top: 1.8em; color: var(--color-moss); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.3rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: none; }
.prose ul li { position: relative; }
.prose ul li::before { content: ""; position: absolute; left: -1.05em; top: .72em; width: 6px; height: 6px; background: var(--color-terracotta); }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .45em; }
.prose a { text-decoration-thickness: 1px; text-underline-offset: .2em; }
/* a list of links (not links inside sentences) gets phone-sized tap targets */
.prose li > a:only-child { display: inline-flex; align-items: center; min-height: 44px; }
.prose li:has(> a:only-child) + li:has(> a:only-child) { margin-top: 0; }
.prose a { transition: color var(--t-out) var(--ease), text-decoration-color var(--t-out) var(--ease); }
.prose a:hover { color: var(--color-terracotta-deep); text-decoration-thickness: 2px; transition-duration: var(--t-in); }
.prose .link-row { display: flex; flex-wrap: wrap; gap: 10px; }
.prose .link-row a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid currentColor; border-radius: var(--radius); text-decoration: none; }
.prose .link-row a:hover { color: var(--color-terracotta-deep); }
.facts a:hover, .crumbs a:hover { text-decoration-thickness: 2px; }
.facts a { transition: color var(--t-out) var(--ease); }
.facts a:hover { color: var(--color-terracotta-deep); }
@media (max-width: 52rem) { .facts dd a { display: inline-flex; align-items: center; min-height: 44px; } }
.prose img { margin-block: 1.5em; }

.cite { margin-top: clamp(32px, 4vw, 48px); padding: 20px 24px; background: var(--color-paper-2); max-width: 42rem; }
.cite__title { font: 600 .75rem/1.4 var(--font-text); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 8px; }
.cite p { font-size: .95rem; overflow-wrap: anywhere; }

.gallery { margin-top: clamp(40px, 5vw, 64px); }
.gallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 12px; }
.gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.partners { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(28px, 3vw, 40px); border-top: 3px solid var(--color-terracotta); }
.partners__kind {
  display: flex; align-items: center; gap: 16px; margin: 28px 0 12px;
  font: 600 .75rem/1.4 var(--font-text); letter-spacing: .2em; text-transform: uppercase; color: var(--color-moss);
}
.partners__kind::after { content: ""; flex: 1; height: var(--line-hair); background: var(--color-rule-soft); }
.partners__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14.5rem), 1fr)); gap: 10px; }
.partner {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  min-height: 76px; padding: 12px 14px; height: 100%;
  background: #fbf7f0; border: var(--line-hair) solid var(--color-rule-soft); border-radius: var(--radius);
  text-decoration: none;
  transition: border-color var(--t-out) var(--ease), transform var(--t-out) var(--ease), box-shadow var(--t-out) var(--ease);
}
a.partner:hover {
  border-color: var(--color-terracotta); transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(25, 35, 33, .08); transition-duration: var(--t-in);
}
.partner__mark {
  display: grid; place-items: center; width: 52px; height: 52px; background: var(--color-paper-2);
  font: italic 500 1.2rem/1 var(--font-display); color: var(--color-copper-text); letter-spacing: .02em; overflow: hidden;
}
.partner__mark img { width: 44px; height: 44px; object-fit: contain; }
.partner__name { font: 500 1.05rem/1.25 var(--font-display); color: var(--color-ink); }
a.partner:hover .partner__name { color: var(--color-terracotta-deep); }
.partner .arrow { color: var(--color-text-muted); }
@media (hover: none) { a.partner:hover { transform: none; box-shadow: none; } }

/* drop cap: the first paragraph of a page's text opens with a large Newsreader
   letter in terracotta, the same face as the headings */
.detail--text .detail__main > .prose > p:first-child::first-letter {
  font-family: var(--font-display); font-weight: 500; color: var(--color-terracotta-deep);
  float: left; font-size: 3.6em; line-height: .86; margin: .07em .12em 0 -.02em;
}
@supports (initial-letter: 3) or (-webkit-initial-letter: 3) {
  .detail--text .detail__main > .prose > p:first-child::first-letter {
    float: none; font-size: inherit; line-height: inherit; margin: 0 .14em 0 0;
    -webkit-initial-letter: 3; initial-letter: 3;
  }
}

/* Instagram posts: a picture when its rights allow, otherwise a text card; always linked and credited */
.insta { margin-top: clamp(40px, 5vw, 64px); }
.insta__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); gap: 12px; }
.updates { padding-block: clamp(32px, 4vw, 56px) clamp(56px, 6vw, 96px); }
.updates .insta__grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.insta-card {
  display: grid; height: 100%; text-decoration: none; background: #fbf7f0;
  border: var(--line-hair) solid var(--color-rule-soft); border-radius: var(--radius); overflow: hidden;
  transition: border-color var(--t-out) var(--ease), transform var(--t-out) var(--ease);
}
a.insta-card:hover { border-color: var(--color-terracotta); transform: translateY(-2px); transition-duration: var(--t-in); }
.insta-card__img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.insta-card__body { display: grid; align-content: start; gap: 8px; padding: 14px 16px 16px; }
.insta-card--text .insta-card__body { border-top: 3px solid var(--color-terracotta); min-height: 12rem; }
.insta-card__meta { font: 600 .72rem/1.4 var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--color-copper-text); }
.insta-card__caption { font-size: .95rem; line-height: 1.5; overflow-wrap: anywhere; }
.insta-card__account { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font-weight: 600; font-size: .9rem; color: var(--color-moss); }
a.insta-card:hover .insta-card__account { color: var(--color-terracotta-deep); }
.insta__more { margin-top: 12px; }
@media (hover: none) { a.insta-card:hover { transform: none; } }

/* contact form */
.contact-form { position: relative; display: grid; gap: 22px; max-width: 42rem; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; }
.field__optional { font-weight: 400; color: var(--color-text-muted); }
.field__hint { font-size: .9rem; color: var(--color-text-muted); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid var(--color-ink); border-radius: var(--radius);
  background: #fffaf3; color: var(--color-ink); font: inherit;
}
.field textarea { min-height: 10rem; resize: vertical; }
.field [aria-invalid="true"] { border-color: #a3301b; box-shadow: inset 4px 0 0 #a3301b; }
.field__error { color: #a3301b; font-weight: 600; font-size: .95rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 40rem) { .field-row { grid-template-columns: 1fr; } }
.field--check { grid-template-columns: 24px minmax(0, 1fr); align-items: start; column-gap: 12px; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--color-terracotta); }
.field--check label { font-weight: 400; }
.field--check .field__error { grid-column: 2; }
.field--trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { min-height: 65px; }
.contact-form .btn { justify-self: start; }
.form-status { padding: 14px 16px; border-left: 3px solid; font-weight: 600; }
.form-status a { margin-left: 4px; }
.form-status--success { border-color: #2f6b45; background: #e7efe3; }
.form-status--error { border-color: #a3301b; background: #f6e3dc; }
.form-note { color: var(--color-text-muted); }
.form-note--closed { padding: 16px 18px; background: var(--color-paper-2); color: var(--color-ink); max-width: 42rem; }
.contact__body { margin-top: clamp(32px, 4vw, 56px); }

/* search */
.search { padding-block: clamp(32px, 4vw, 56px) clamp(56px, 6vw, 96px); }
.search__form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; max-width: 42rem; }
.search__form label { font-weight: 600; }
.search__row { display: flex; gap: 12px; }
.search__row input {
  flex: 1; min-width: 0; min-height: 52px; padding: 10px 14px; border: 1.5px solid var(--color-ink); border-radius: var(--radius);
  background: #fffaf3; color: var(--color-ink); font: inherit; font-size: 1.1rem;
}
.search__status { margin-block: 20px 12px; color: var(--color-text-muted); min-height: 1.6em; }
.search:has(.search__status:empty) { padding-bottom: clamp(24px, 4vw, 56px); }
.search__status:empty { margin: 0; min-height: 0; }
.search__results:empty { border: 0; }
.search__results .search__link { grid-template-columns: clamp(110px, 12vw, 150px) minmax(0, 1fr); }
.search__kind { align-self: start; padding-top: .55em; color: var(--color-copper-text); }
@media (max-width: 52rem) {
  .search__results .search__link { grid-template-columns: 1fr; grid-template-areas: none; row-gap: 6px; }
  .search__kind { padding-top: 0; }
}

/* ---------------------------------------------------------------- page change, reveals, back to top */
/* Moving between pages: the new page wipes in diagonally behind a slightly
   ragged, hand-drawn edge while the header stays put (cross-document View
   Transitions; browsers without them simply change page). */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: none; }
::view-transition-new(root) { animation: page-wipe 460ms cubic-bezier(.65, 0, .35, 1) both; }
::view-transition-group(site-header) { animation-duration: 0s; }
@keyframes page-wipe {
  from { clip-path: polygon(0% 0%, -16% 0%, -10.8% 1.2%, -14.4% -6.4%, -6.4% -2.4%, -11% -11%, -3.4% -7.4%, -7.4% -15.4%, .2% -11.8%, 0% -16%); }
  to   { clip-path: polygon(0% 0%, 216% 0%, 192.2% 30.2%, 159.6% 51.6%, 138.6% 84.6%, 105% 105%, 83.6% 137.6%, 50.6% 158.6%, 29.2% 191.2%, 0% 216%); }
}

/* Sections below the first screen fade in once as they arrive (site.js marks
   them; without script, or with reduced motion, nothing is ever hidden). */
@media screen and (prefers-reduced-motion: no-preference) {
  .reveal-in { animation: section-fade 640ms var(--ease); }
}
@keyframes section-fade { from { opacity: .75; } to { opacity: 1; } }

/* Back to the top: a square whose outline fills as the page is read. */
.to-top {
  position: fixed; z-index: 40; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 52px; height: 52px; padding: 0;
  background: var(--color-paper); color: var(--color-ink); border: 0; border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(25, 35, 33, .12); cursor: pointer;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity 200ms var(--ease), transform 200ms var(--ease), background-color var(--t-out) var(--ease), color var(--t-out) var(--ease);
}
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.to-top__track { fill: none; stroke: var(--color-rule); stroke-width: 1.5; }
.to-top__bar { fill: none; stroke: var(--color-terracotta); stroke-width: 3; stroke-dasharray: 100; stroke-dashoffset: 100; }
.to-top__arrow { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  .to-top:hover { background: var(--color-forest); color: var(--color-on-dark); transition-duration: var(--t-in); }
}
.to-top:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  /* a slow idle nudge, the arrow saying "up" now and then */
  .to-top.is-shown .to-top__arrow { animation: to-top-nudge 3.2s ease-in-out 1.5s 3; } /* three nudges, then rest (WCAG 2.2.2) */
  .to-top:hover .to-top__arrow { animation-play-state: paused; }
}
@keyframes to-top-nudge { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(-3px); } 90% { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

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

/* ---------------------------------------------------------------- editorial sections, people directory and manifesto */
.band__inner--text { align-items: flex-end; }
.band__words { max-width: 44rem; display: grid; gap: 14px; }
.band__body { color: rgba(255, 255, 255, .9); font-size: 1.0625rem; line-height: 1.6; }
.band__body p { margin: 0; }
.band__body p + p { margin-top: .75em; }
.band__actions { display: flex; flex-wrap: wrap; gap: 10px 12px; justify-content: flex-end; }
@media (max-width: 52rem) { .band__inner--text { flex-direction: column; align-items: flex-start; } .band__actions { justify-content: flex-start; } }

.sec { padding-block: clamp(32px, 4vw, 64px); }
.sec + .sec { border-top: var(--line-hair) solid var(--color-rule-soft); }
.sec:has(.section-disclosure) { border-top: 0; padding-top: 0; }
.sec__body + * { margin-top: clamp(24px, 3vw, 36px); }
.sec__actions { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 24px; }

.contact__sections { padding-bottom: clamp(36px, 4.5vw, 72px); }
.editorial-section { margin-top: clamp(32px, 4vw, 56px); }

/* About story: two-column hairline-ruled editorial ledger. */
.manifesto { margin: 0; border-top: var(--line-hair) solid var(--color-rule); }
.manifesto__row {
  display: grid; grid-template-columns: minmax(14rem, 1fr) minmax(0, 2.2fr);
  gap: 10px clamp(20px, 4vw, 56px); padding-block: clamp(18px, 2.2vw, 28px);
  border-bottom: var(--line-hair) solid var(--color-rule-soft); align-items: baseline;
}
.manifesto__term {
  font: 500 clamp(1.25rem, 1.1rem + .55vw, 1.65rem)/1.2 var(--font-display);
  color: var(--color-moss); text-wrap: balance;
}
.manifesto__body { margin: 0; font-size: 1.03125rem; }
.manifesto__body p { margin: 0; }
.manifesto__body p + p { margin-top: .75em; }
@media (max-width: 48rem) {
  .manifesto__row { grid-template-columns: minmax(0, 1fr); }
}

/* Archived notice & structured citation blocks. */
.archived-notice {
  background: var(--color-paper-2); border-left: 3px solid var(--color-copper-text);
  padding: clamp(16px, 2vw, 24px) clamp(18px, 2.4vw, 28px); max-width: 46rem;
}
.archived-notice__title { font-size: 1.25rem; color: var(--color-moss); margin: 0 0 4px; }
.archived-notice__meta { font-size: .9rem; color: var(--color-text-muted); margin: 0 0 12px; }
.citation-section { border-top: var(--line-hair) solid var(--color-rule); padding-top: clamp(24px, 3vw, 36px); }
.citation-section .eyebrow { margin-bottom: 10px; }
.citation-text {
  background: var(--color-paper-2); border-left: 3px solid var(--color-moss);
  padding: 16px 20px; font-size: .975rem; line-height: 1.65; overflow-wrap: anywhere;
  max-width: 50rem;
}

/* People directory: clean links to canonical profiles (zero duplicated bios). */
.people--directory { gap: clamp(20px, 2.6vw, 34px) clamp(16px, 2.4vw, 32px); }
.person--directory { min-width: 0; }
.person--directory .person__link { padding: 0; height: 100%; align-content: start; gap: 4px; }
.person__summary {
  display: block; margin-top: 6px; font-size: .9375rem; line-height: 1.5;
  color: var(--color-text-muted); text-wrap: pretty;
}
.people--preview { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.people--preview .person__photo { max-width: 17rem; }
.people--preview .person__photo img { aspect-ratio: 4 / 5; object-fit: cover; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(20px, 2.4vw, 32px); }
.filter { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: var(--line-hair) solid var(--color-rule); border-radius: 999px; text-decoration: none; font: inherit; font-size: .9375rem; color: inherit; background: transparent; cursor: pointer; }
.filter:hover { border-color: var(--color-terracotta); color: var(--color-terracotta-deep); }
.filter--on { background: var(--color-forest); border-color: var(--color-forest); color: var(--color-on-dark); }
.filters:not([data-ready]), .row[hidden] { display: none; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.stats__item { border-top: 2px solid var(--color-terracotta); padding-top: 16px; display: grid; gap: 6px; }
.stats__number { font: 500 clamp(2.4rem, 1.8rem + 2.4vw, 3.6rem)/1 var(--font-display); color: var(--color-moss); font-variant-numeric: tabular-nums lining-nums; }
.stats__label { color: var(--color-text-muted); }

/* The search control stays in the header when the menu collapses. */
.site-search {
  display: inline-grid; flex: 0 0 44px; place-items: center;
  min-height: 44px; color: var(--color-ink);
}
.site-search:hover, .site-search[aria-current="page"] { color: var(--color-terracotta-deep); }
.site-search__icon { position: relative; width: 14px; height: 14px; margin: -3px 3px 0 0; border: 1.5px solid currentColor; border-radius: 50%; }
.site-search__icon::after { content: ""; position: absolute; right: -5px; bottom: -3px; width: 6px; height: 1.5px; background: currentColor; transform: rotate(45deg); }
@media (max-width: 68.74rem) {
  .site-header__bar { column-gap: 8px; }
}
@media (max-width: 40rem) {
  .site-header__bar { column-gap: 6px; }
  .menu-toggle { padding-inline: 11px; }
}
@media (max-width: 24rem) {
  .site-header__bar { column-gap: 5px; }
  .site-header .brand__mark { width: 30px; }
  .menu-toggle { padding-inline: 12px; }
  .menu-toggle__label { display: none; }
}

/* Home: the same programme rows and forest split, with evidence close at hand. */
.hero__partner { display: none; }
@media (max-width: 52rem) {
  .hero__partner { display: inline-flex; margin-left: 0; align-self: start; }
}
.research:has(.research-partners) { padding-bottom: clamp(30px, 4vw, 60px); }
.research-partners {
  display: grid; gap: clamp(8px, 1vw, 14px);
  margin-top: clamp(22px, 2.7vw, 38px);
  padding: clamp(14px, 2vw, 26px) clamp(16px, 2.35vw, 34px) clamp(18px, 2.25vw, 30px);
  background: var(--color-paper-2);
}
.research-partners__heading { color: var(--color-moss); font-size: clamp(1.3rem, 1.22rem + .55vw, 1.75rem); line-height: 1.1; }
.research-partners__heading a { display: inline-flex; gap: 12px; align-items: center; min-height: 44px; text-decoration-color: var(--color-rule); text-underline-offset: .16em; }
.research-partners__heading a:hover { color: var(--color-terracotta-deep); text-decoration-color: currentColor; }
.research-partners ul {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px clamp(12px, 2vw, 28px);
  border-top: var(--line-hair) solid var(--color-rule-soft); padding-top: clamp(12px, 1.25vw, 18px);
}
.research-partners li { color: var(--color-ink); font-size: .9375rem; font-weight: 600; line-height: 1.35; }
.spotlight { padding-block: clamp(36px, 5vw, 76px); background: var(--color-paper-2); }
.spotlight__inner { display: grid; gap: 24px clamp(28px, 7vw, 108px); align-items: start; }
.spotlight--image .spotlight__inner { grid-template-columns: 1fr 1fr; }
.spotlight__text { display: grid; gap: 12px; justify-items: start; max-width: 44rem; }
.spotlight .eyebrow, .spotlight__date { color: var(--color-copper-text); }
.spotlight__date { font-size: .875rem; font-weight: 600; }
.spotlight__title { max-width: 19ch; color: var(--color-moss); font-size: clamp(1.95rem, 1.3rem + 1.8vw, 3.3rem); line-height: 1.06; text-wrap: pretty; }

.spotlight__media {
  display: grid; align-items: center; background: var(--color-paper); padding: 8px;
  border: var(--line-hair) solid var(--color-rule-soft);
}
.spotlight__image img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; }
.spotlight__image.gallery-link--portrait img { height: clamp(13rem, 26vw, 23rem); }
.editorial-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; }
@media (max-width: 70rem) {
  .research-partners ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 52rem) {
  .spotlight--image .spotlight__inner { grid-template-columns: minmax(0, 1fr); }
  .research-partners ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spotlight__image img { max-height: 19rem; }
}

/* Index and resource navigation. */
.section-nav { border-bottom: var(--line-hair) solid var(--color-rule-soft); }
.section-nav ul { display: flex; flex-wrap: wrap; gap: 0 clamp(16px, 3vw, 42px); padding-block: 6px; }
.section-nav a {
  display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: .9375rem;
  color: var(--color-moss); text-decoration-color: var(--color-rule); text-underline-offset: .24em;
}
.section-nav a:hover { color: var(--color-terracotta-deep); text-decoration-color: currentColor; }
:where(main [id]) { scroll-margin-top: 16px; }
.row--publication .row__link { grid-template-columns: clamp(76px, 9vw, 130px) minmax(0, 1fr) minmax(12rem, 26%) 48px; }
.row--publication .row__number { line-height: 1.15; }
.row--with-action { position: relative; padding-bottom: 6px; }
.row__action { margin: -6px 0 0 clamp(76px, 9vw, 130px); color: var(--color-terracotta-deep); }
.spotlight + .event-archive { padding-top: clamp(28px, 4vw, 52px); }
.event-schedule { padding-block: clamp(28px, 4vw, 52px) 0; }
.archive-subtitle { margin-bottom: 12px; font-size: 1.35rem; color: var(--color-moss); }
.rows--events + .archive-subtitle, .archive-note { margin-top: 28px; }
.archive-note { color: var(--color-text-muted); font-size: .95rem; }
@media (max-width: 52rem) {
  .row--publication .row__link { grid-template-columns: 64px minmax(0, 1fr) 24px; }
  .row__action { margin-left: 64px; }
}

/* The document and the verified project facts appear before the full article. */
.detail-overview { padding-block: clamp(20px, 3vw, 36px); border-bottom: var(--line-hair) solid var(--color-rule-soft); }
.detail-overview__facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 14px clamp(14px, 4vw, 50px); margin: 0;
}
.detail-overview__facts dt {
  color: var(--color-copper-text); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
}
.detail-overview__facts dd { margin: 2px 0 0; line-height: 1.45; overflow-wrap: anywhere; }
.detail-overview__facts a { text-decoration-color: var(--color-rule); text-underline-offset: .18em; }
.detail-overview__facts a:hover { color: var(--color-terracotta-deep); text-decoration-color: currentColor; }
.detail-overview__actions { gap: 8px 12px; }
.detail-overview__facts + .detail-overview__actions { margin-top: 18px; }
.detail--about { display: block; padding-block: clamp(24px, 3vw, 42px) 0; }
.detail--about .editorial-section:first-of-type { margin-top: 0; }
.detail--about .editorial-section + .editorial-section { margin-top: clamp(30px, 4vw, 56px); }
.detail--about + .partners { margin-top: clamp(30px, 4vw, 56px); border-top: var(--line-hair) solid var(--color-rule); }
.about-after { padding-bottom: clamp(40px, 5vw, 72px); }
.about-after .editorial-section:first-child { margin-top: clamp(24px, 3vw, 40px); }
.detail:not(:has(.detail__aside)) .detail__main { grid-column-end: -1; }
.detail:has(> .detail__main:empty):not(:has(.detail__aside)) { display: none; }
.detail-overview + .detail:not(.detail--about) { padding-top: clamp(24px, 3vw, 42px); }
.topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px clamp(18px, 3vw, 40px); }
.topics > li { padding-top: 12px; border-top: var(--line-hair) solid var(--color-rule); }
.topics h3 { margin-bottom: 6px; color: var(--color-moss); font-size: clamp(1.25rem, 1.1rem + .5vw, 1.65rem); line-height: 1.15; text-wrap: pretty; }
.topics .prose { font-size: 1rem; }
.topics .text-link { margin-top: 4px; }
.section-disclosure { padding-block: 8px; border-block: var(--line-hair) solid var(--color-rule-soft); }
.section-disclosure summary { cursor: pointer; padding-block: 12px; min-height: 44px; color: var(--color-moss); font-weight: 600; }
.section-disclosure .sec__body, .section-disclosure__context { margin-block: 6px 14px; }
.section-disclosure__context { color: var(--color-text-muted); }
[data-archived-registration] { color: var(--color-text-muted); }
@media (max-width: 52rem) {
  .detail-overview__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-overview--publication .detail-overview__facts { grid-template-columns: minmax(0, 1fr); }
  .detail-overview--event .detail-overview__facts > :nth-child(3) { grid-column: 1 / -1; }
  .topics { grid-template-columns: minmax(0, 1fr); }
}

/* Leadership keeps portraits. Project teams use clean hairline directory rows. */
.people--leaders { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.people--leaders .person__photo { max-width: 22rem; }
.people--roster {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 3vw, 48px);
}
.people--roster .person--directory {
  border-top: var(--line-hair) solid var(--color-rule-soft);
  padding-block: 14px;
}
.people--roster .person__link {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 24px;
  grid-template-areas: "photo name arrow" "photo role arrow" "photo summary arrow";
  column-gap: 14px; align-content: start; align-items: start; min-height: 68px; padding: 0;
}
.people--roster .person__photo { grid-area: photo; margin: 0; }
.people--roster .person__photo, .people--roster .person__photo img { aspect-ratio: 1; }
.people--roster .person__photo.monogram { font-size: 1.5rem; }
.people--roster .person__name { grid-area: name; align-self: end; }
.people--roster .person__role { grid-area: role; align-self: start; }
.people--roster .person__summary {
  grid-area: summary; margin-top: 4px; color: var(--color-text-muted); font-size: .88rem; line-height: 1.45;
}
.people--roster .person__arrow {
  grid-area: arrow; align-self: center; color: var(--color-copper-text);
  transition: transform var(--t-out) var(--ease), color var(--t-out) var(--ease);
}
.people--roster .person__link:hover .person__arrow {
  transform: translateX(4px); color: var(--color-terracotta-deep); transition-duration: var(--t-in);
}
@media (max-width: 48rem) {
  .people--leaders, .people--preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people--roster { grid-template-columns: minmax(0, 1fr); }
}

/* Email and social links lead the contact page in either form state. */
.contact-layout {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 22px clamp(20px, 7vw, 104px); align-items: start; padding-block: clamp(28px, 5vw, 72px);
}
.contact-layout--form .contact-message { grid-row: 1 / span 2; grid-column: 2; }
.contact-channel { display: grid; justify-items: start; align-content: start; gap: 12px; }
.contact-channel .section-title { margin-bottom: 4px; }
.contact-channel__meta { display: grid; gap: 10px; margin: 4px 0 0; }
.contact-channel__meta dt {
  color: var(--color-copper-text); font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
}
.contact-channel__meta dd { margin: 2px 0 0; color: var(--color-ink); overflow-wrap: anywhere; }
.contact-channel__meta a { text-decoration-color: var(--color-rule); text-underline-offset: .18em; }
.contact-channel__meta a:hover { color: var(--color-terracotta-deep); text-decoration-color: currentColor; }
.contact-channel__follow { margin-top: 10px; color: var(--color-moss); font-size: 1.25rem; line-height: 1.1; }
.contact-channel__follow + .contact-social { margin-top: -6px; }
.contact-social { display: flex; flex-wrap: wrap; gap: 0 16px; }
.contact__body { margin-top: 0; }
.contact-copy h3:first-child { margin-top: 0; }
.contact-copy .editorial-section { margin-top: 22px; }
@media (max-width: 52rem) {
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-layout--form .contact-message { grid-row: auto; grid-column: 1; }
}

/* Image links work as ordinary links until the native gallery is available. */
.gallery-link, .gallery-link picture { display: block; }
.gallery-link { position: relative; cursor: zoom-in; }
.gallery-link__zoom {
  position: absolute; bottom: 8px; right: 8px; display: grid; place-items: center;
  width: 34px; height: 34px; background: var(--color-paper); color: var(--color-ink);
  border: var(--line-hair) solid var(--color-rule-soft); border-radius: var(--radius);
}
.gallery-link:hover .gallery-link__zoom, .gallery-link:focus-visible .gallery-link__zoom {
  background: var(--color-forest); color: var(--color-on-dark);
}
.gallery__item.gallery-link--portrait img { object-fit: contain; background: var(--color-paper-2); }
.gallery-viewer {
  width: min(66rem, calc(100% - 20px)); max-height: calc(100dvh - 20px); padding: clamp(10px, 2vw, 22px);
  background: var(--color-paper); color: var(--color-ink); border: var(--line-hair) solid var(--color-rule);
}
.gallery-viewer::backdrop { background: rgb(22 33 29 / .92); }
.gallery-viewer__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gallery-viewer__bar[hidden] { display: none; }
.gallery-viewer__bar h2 { font-size: clamp(1.15rem, 1rem + 1.1vw, 1.6rem); }
.gallery-viewer__bar button { min-height: 44px; padding-inline: clamp(10px, 2vw, 20px); cursor: pointer; }
.gallery-viewer figure { margin: 10px 0; }
.gallery-viewer img { width: 100%; max-height: min(65dvh, calc(100dvh - 184px)); height: auto; object-fit: contain; background: var(--color-paper-2); }
.gallery-viewer figcaption { margin-top: 6px; color: var(--color-text-muted); font-size: .9rem; }
html:has(.gallery-viewer[open]) { overflow: hidden; }

