/* ==========================================================================
   SSGAC — single stylesheet
   Direction: 1a. Palette sampled from the SSGAC logo (#106050).
   Sections: 1 tokens · 2 reset · 3 layout · 4 header/nav · 5 type
             6 components · 7 page-specific · 8 footer · 9 responsive
   ========================================================================== */

/* --- 1. TOKENS ----------------------------------------------------------- */

/* The wordmark is set in IBM Plex Sans SemiBold.
   DOWNLOAD REQUIRED: place IBMPlexSans-SemiBold.woff2 in /fonts/
   from https://github.com/IBM/plex/releases (OFL licence, redistributable).
   Until then the wordmark falls back to the system stack, which is fine. */
@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/IBMPlexSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg:        #ffffff;
  --surface:   #f4f6f5;
  --ink:       #16221F;
  --muted:     #59665F;
  --line:      #DBE1DD;
  --accent:    #106050;
  --accent-hi: #0B4A3E;   /* hover — one step darker */
  --on-accent: #ffffff;
  --mark-tile: #106050;
  --mark-ink:  #ffffff;
  --focus:     #106050;

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --font-mark: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1120px;
  --gutter: 24px;
  --radius: 3px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #0F1614;
    --surface:   #17211E;
    --ink:       #E7EEEA;
    --muted:     #9AA8A1;
    --line:      #26312D;
    --accent:    #57B49B;
    --accent-hi: #7FCCB7;
    --on-accent: #0F1614;
    --mark-tile: #57B49B;
    --mark-ink:  #0F1614;
    --focus:     #7FCCB7;
  }
}

/* --- 2. RESET ------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  /* Clears the sticky .pagenav so an anchored heading is never hidden under it.
     Overridden in the 860px block below, where the nav stops being sticky. */
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  text-wrap: pretty;
}

/* Filtered-out rows use the hidden attribute; without this, any element with an
   explicit display (grid/flex) ignores it and stays visible. */
[hidden] { display: none !important; }

img, svg { max-width: 100%; }
img { height: auto; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-hi); }

:where(a, button, summary, input, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

button { font: inherit; color: inherit; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--on-accent);
  padding: 12px 18px; z-index: 100; font-weight: 600;
}
.skip-link:focus { left: 0; }

.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;
}

/* --- 3. LAYOUT ---------------------------------------------------------- */

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

.band { padding: 48px 0; }
.band--tint { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band--tight { padding: 32px 0; }

/* Label column + content, the direction's signature grid */
.split {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cols-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

.stack { display: flex; flex-direction: column; gap: 16px; }
.stack--sm { gap: 8px; }
.stack--lg { gap: 28px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* --- 4. HEADER AND NAV -------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: relative;
}

.site-header__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

.lockup { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.lockup:hover { color: var(--ink); }
.lockup__mark { flex: 0 0 auto; display: block; }
.lockup__text { display: flex; flex-direction: column; gap: 1px; }
.lockup__name {
  font-family: var(--font-mark);
  font-size: 20px; font-weight: 600; line-height: 1.1;
}
.lockup__full {
  font-size: 9.5px; letter-spacing: 0.085em; text-transform: uppercase;
  color: var(--muted); line-height: 1.25;
}

.nav { margin-left: auto; }
.nav__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 22px;
}
.nav__link {
  display: inline-block;
  font-size: 15px; font-weight: 500;
  color: var(--ink); text-decoration: none;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav__link:hover { color: var(--accent); }
.nav__link[aria-current="page"] { color: var(--accent); font-weight: 600; border-bottom-color: var(--accent); }

/* External-link marker.
   IMPORTANT: put .ext on an INLINE text element only (a plain <a>, or the
   .resource__name / .steps__name span inside a grid link). On a grid or flex
   container the generated arrow becomes a layout item on its own row. */
.ext::after { content: " \2197"; font-size: 0.85em; }

/* Dropdown: hover on desktop, click-to-open via [data-open] for keyboard */
.nav__item--has-menu { position: relative; }
.nav__toggle {
  background: none; border: 0; cursor: pointer; padding: 6px 0;
  font-size: 15px; font-weight: 500; color: var(--ink);
  display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 2px solid transparent;
}
.nav__toggle:hover { color: var(--accent); }
.nav__toggle[aria-expanded="true"] { color: var(--accent); }
.nav__caret { font-size: 10px; opacity: 0.6; }
.nav__menu {
  list-style: none; margin: 0; padding: 8px 0 8px;
  position: absolute; top: 100%; left: -14px;
  padding-top: 14px; margin-top: -8px;
  min-width: 250px; z-index: 50;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  display: none;
}
.nav__toggle[aria-expanded="true"] + .nav__menu { display: block; }
.nav__menu a {
  display: block; padding: 9px 18px;
  font-size: 15px; color: var(--ink); text-decoration: none;
}
.nav__menu a:hover { background: var(--surface); color: var(--accent); }

.nav__burger {
  display: none;
  margin-left: auto;
  background: none; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 9px 12px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  align-items: center; gap: 8px;
}

.breadcrumb {
  font-size: 14px; color: var(--muted);
  padding-top: 20px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb__sep { opacity: 0.5; padding: 0 4px; }

/* --- 5. TYPE ------------------------------------------------------------ */

h1, h2, h3, h4 { margin: 0; letter-spacing: -0.012em; line-height: 1.2; font-weight: 700; }
h1 { font-size: 38px; line-height: 1.15; letter-spacing: -0.015em; }
h2 { font-size: 24px; }
h3 { font-size: 19px; }
h4 { font-size: 16px; }
p  { margin: 0; }

.lede { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 64ch; }
.prose { max-width: 72ch; display: flex; flex-direction: column; gap: 16px; }
.prose p { line-height: 1.65; }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
}
.eyebrow--muted { color: var(--muted); }

.meta { font-size: 14px; color: var(--muted); }
.small { font-size: 14px; }
.muted { color: var(--muted); }
.nums { font-variant-numeric: tabular-nums; }

/* --- 6. COMPONENTS ------------------------------------------------------ */

.btn {
  display: inline-block;
  font-size: 15px; font-weight: 600;
  padding: 12px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hi); color: var(--on-accent); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--bg); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn:active { transform: translateY(1px); }
/* A placeholder where a link will go once the file exists. Deliberately not a
   link: nothing focusable, nothing to click, no false affordance. */
.btn--pending {
  border-style: dashed; border-color: var(--line);
  color: var(--muted); background: var(--bg); cursor: default;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--bg);
  display: flex; flex-direction: column; gap: 9px;
}
.card--tint { background: var(--surface); }
.card--step { border-top: 3px solid var(--accent); }
.card__heading { font-size: 19px; font-weight: 700; letter-spacing: -0.012em; line-height: 1.2; }
.card__links { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; font-size: 14px; font-weight: 600; }

/* Statistic table — plain editable text, never animated */
.statlist { display: flex; flex-direction: column; }
.statlist__row {
  display: flex; align-items: baseline; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.statlist__row:last-of-type { border-bottom: 0; }
.statlist__n { font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; }
.statlist__label { font-size: 15px; color: var(--muted); }

.statgrid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.statgrid__cell { padding: 22px 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.statgrid__cell:last-child { border-right: 0; }
.statgrid__n { font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.statgrid__n--sm { font-size: 20px; line-height: 1.25; }
.statgrid__label { font-size: 14px; color: var(--muted); }
.statgrid__note { grid-column: 1 / -1; border-top: 1px solid var(--line); padding: 10px 24px; font-size: 13px; color: var(--muted); }

/* Rule-separated list: initiatives, resources, publications */
.ruled { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.ruled__item { padding: 15px 0; border-bottom: 1px solid var(--line); }

.tickitem { border-top: 2px solid var(--accent); padding-top: 12px; font-size: 16px; line-height: 1.5; }

/* Promo: text block with a trailing call to action */
.promo {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px; align-items: center;
}

/* Figure + label row, used for the PGI hero counts */
.figrow {
  display: grid; grid-template-columns: 92px minmax(0, 1fr);
  gap: 20px; align-items: baseline;
}

/* Note rule under a card's content */
.card__note { border-top: 1px solid var(--line); padding-top: 12px; }

.resource {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px; align-items: center;
  padding: 15px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
}
.resource:hover { color: var(--ink); }
.resource:hover .resource__name { color: var(--accent); text-decoration: underline; }
.resource__name { font-size: 16px; font-weight: 600; }
.resource__desc { font-size: 14px; color: var(--muted); }
.resource__kind {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
}

/* Numbered access path */
.steps { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.steps__head { background: var(--accent); color: var(--on-accent); padding: 15px 22px; font-size: 16px; font-weight: 700; }
.steps__item {
  display: grid; grid-template-columns: 26px minmax(0, 1fr);
  gap: 14px; padding: 15px 22px;
  border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
}
.steps__item:last-child { border-bottom: 0; }
.steps__item:hover { background: var(--surface); color: var(--ink); }
.steps__n { font-size: 13px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.steps__name { font-size: 15.5px; font-weight: 600; display: block; }
.steps__desc { font-size: 13.5px; color: var(--muted); }
.steps__item--optional { background: var(--surface); }
.steps__item--optional .steps__n { color: var(--muted); }

/* Copy-to-clipboard citation */
.citation { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.citation__bar {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.citation__label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.citation__copy {
  margin-left: auto; font-size: 13px; font-weight: 600;
  padding: 6px 12px; border: 1px solid var(--line);
  background: var(--bg); color: var(--accent);
  border-radius: var(--radius); cursor: pointer;
}
.citation__copy:hover { border-color: var(--accent); }
.citation__text {
  margin: 0; padding: 16px;
  font-family: var(--font-mono); font-size: 13px; line-height: 1.65;
  white-space: pre-wrap; word-break: break-word;
}

/* Disclosure — works without JS via <details> */
.disclosure { border: 1px solid var(--line); border-radius: var(--radius); }
.disclosure > summary {
  padding: 20px 24px; cursor: pointer;
  display: flex; align-items: center; gap: 16px;
  list-style: none;
}
.disclosure > summary::-webkit-details-marker { display: none; }
.disclosure__title { font-size: 18px; font-weight: 700; display: block; }
.disclosure__sub { font-size: 14.5px; color: var(--muted); }
.disclosure__sign { margin-left: auto; font-size: 22px; color: var(--accent); line-height: 1; }
.disclosure[open] .disclosure__sign--plus { display: none; }
.disclosure:not([open]) .disclosure__sign--minus { display: none; }
.disclosure__body {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 24px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px;
}

/* Editorial note — visible only to the maintainer in source; styled in case
   it is ever left in place. Remove the element to remove the note. */
.todo-note {
  background: #FFF8E6; border: 1px solid #E8D9A8; color: #4A3E1A;
  border-radius: var(--radius); padding: 14px 18px; font-size: 14px; line-height: 1.6;
}

/* --- 7. PAGE-SPECIFIC -------------------------------------------------- */

.hero { padding: 24px 0 44px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.hero__grid--wide { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }

/* Publications */
.pub {
  display: grid; grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 20px; align-items: start;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.pub__year { font-size: 14px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.pub__title { font-size: 16px; line-height: 1.5; }
.pub__venue { font-size: 14px; color: var(--muted); }
.pub__links { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13.5px; font-weight: 600; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filters__btn {
  font-size: 14px; font-weight: 600;
  padding: 7px 14px; border: 1px solid var(--line);
  background: var(--bg); color: var(--ink);
  border-radius: 999px; cursor: pointer;
}
.filters__btn:hover { border-color: var(--accent); color: var(--accent); }
.filters__btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* Team */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.person { display: flex; gap: 14px; align-items: flex-start; }
.person__avatar {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 16px; font-weight: 700; color: var(--accent);
  overflow: hidden;
}
.person__avatar img { width: 100%; height: 100%; object-fit: cover; }
.person__name { font-size: 16px; font-weight: 600; }
.person__name a { color: var(--ink); text-decoration: none; }
.person__name a:hover { color: var(--accent); text-decoration: underline; }
.person__affil { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.person__field { font-size: 13.5px; color: var(--accent); font-weight: 600; }

.namelist {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px 24px; font-size: 15px;
}

/* Events archive */
.eventlist { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.event {
  display: grid; grid-template-columns: 230px minmax(0, 1fr);
  gap: 28px; padding: 20px 0; border-bottom: 1px solid var(--line);
}
.event__when { display: flex; flex-direction: column; gap: 3px; }
.event__date { font-size: 14.5px; font-weight: 700; }
.event__place { font-size: 14px; color: var(--muted); }
.event__title { font-size: 18px; line-height: 1.35; }
.event__title a { color: var(--ink); text-decoration: none; }
.event__title a:hover { color: var(--accent); text-decoration: underline; }
.event__sponsor { font-size: 14px; color: var(--muted); }
.event__links { display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; font-weight: 600; padding-top: 2px; }

/* A link known to be broken or insecure — flagged, not hidden */
.deadlink { color: var(--muted); text-decoration: line-through; }
.deadlink::after { content: " (link broken)"; font-size: 0.85em; text-decoration: none; display: inline-block; }

/* Empty state for a section that is legitimately empty sometimes */
.empty-state {
  font-size: 15.5px; color: var(--muted);
  border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 22px 24px; background: var(--bg); max-width: 76ch;
}

/* Featured FAQ — the one item on the page that outranks the list */
.featured {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  border: 1px solid var(--line); border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 32px;
}
.featured__body { display: flex; flex-direction: column; gap: 16px; }
.featured__title { font-size: 28px; letter-spacing: -0.015em; }
.featured__body .lede { font-size: 17.5px; color: var(--ink); }
.featured__body p { color: var(--muted); line-height: 1.65; }
.featured__meta {
  display: flex; flex-direction: column; gap: 20px;
  padding-left: 40px; border-left: 1px solid var(--line);
}

/* FAQ entries */
.faq { margin-bottom: 12px; }
.faq__body {
  border-top: 1px solid var(--line); background: var(--surface);
  padding: 22px 24px;
  display: flex; flex-direction: column; gap: 18px;
}
.faq__sections {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.faq__sections li {
  font-size: 13.5px; padding: 5px 12px;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 999px;
}

/* Contact form */
.form { display: flex; flex-direction: column; gap: 18px; max-width: 560px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 14.5px; font-weight: 600; }
.field__input {
  font: inherit; font-size: 16px;
  padding: 11px 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg); color: var(--ink);
  width: 100%;
}
.field__input:focus { border-color: var(--accent); }
.field__input--area { resize: vertical; min-height: 140px; line-height: 1.55; }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: 14.5px; margin: 0; }
.form__status[data-state="ok"] { color: var(--accent); font-weight: 600; }
.form__status[data-state="error"] { color: #B3261E; font-weight: 600; }

/* Participating-cohorts list and search */
.cohort-search__label { font-size: 15px; font-weight: 600; }
.cohort-search {
  font: inherit; font-size: 16px;
  padding: 11px 14px; max-width: 420px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg); color: var(--ink);
}
.cohort-search:focus { border-color: var(--accent); }
.cohortlist {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px; border-top: 1px solid var(--line);
}
.cohort {
  display: grid; grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px; align-items: baseline;
  padding: 11px 0; border-bottom: 1px solid var(--line);
}
.cohort__abbr { font-size: 14.5px; font-weight: 700; }
.cohort__name { font-size: 14.5px; color: var(--muted); }
.cohort__name a { color: var(--muted); }
.cohort__name a:hover { color: var(--accent); }

/* Dataset entry on the data-access page */
.dataset { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.dataset:last-child { border-bottom: 0; padding-bottom: 0; }

/* News list */
.newslist { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.newsitem {
  display: grid; grid-template-columns: 190px minmax(0, 1fr);
  gap: 28px; padding: 20px 0; border-bottom: 1px solid var(--line);
}
.newsitem__date { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.newsitem__title { font-size: 18px; line-height: 1.35; font-weight: 700; }
.newsitem__title a { color: var(--ink); text-decoration: none; }
.newsitem__title a:hover { color: var(--accent); text-decoration: underline; }
.newsitem__outlet {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
}

/* Pull quote — for long block quotations inside news items */
.pullquote {
  margin: 6px 0 0; padding: 4px 0 4px 20px;
  border-left: 3px solid var(--accent);
  font-size: 16px; line-height: 1.65; color: var(--ink);
  max-width: 72ch;
}
.pullquote p { margin: 0; }

/* Sticky in-page nav for long pages */
.pagenav {
  position: sticky; top: 0; z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.pagenav__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px 18px;
  font-size: 14px;
}
.pagenav a { color: var(--muted); text-decoration: none; }
.pagenav a:hover { color: var(--accent); text-decoration: underline; }

/* --- 8. FOOTER --------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: #ffffff;
  padding: 44px 0;
  margin-top: 56px;
}
.site-footer a { color: rgba(255, 255, 255, 0.88); text-decoration: none; }
.site-footer a:hover { color: #ffffff; text-decoration: underline; }
.site-footer__cols { display: flex; flex-wrap: wrap; gap: 40px; font-size: 14px; }
.site-footer__col { display: flex; flex-direction: column; gap: 7px; }
.site-footer__col > strong { font-size: 14px; }
.site-footer__col--end { margin-left: auto; }
.site-footer__funders {
  font-size: 13px; line-height: 1.7;
  color: rgba(255, 255, 255, 0.66);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 20px; margin-top: 26px;
  max-width: 100ch;
}
.site-footer__legal { font-size: 13px; color: rgba(255, 255, 255, 0.66); margin-top: 18px; }

/* --- 9. RESPONSIVE ----------------------------------------------------- */

@media (max-width: 1000px) {
  .cols-4, .statgrid, .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .statgrid__cell:nth-child(2) { border-right: 0; }
  .namelist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cohortlist { grid-template-columns: minmax(0, 1fr); }
  .split { grid-template-columns: 180px minmax(0, 1fr); gap: 32px; }
  .hero__grid, .hero__grid--wide { gap: 36px; }
  .newsitem { grid-template-columns: 150px minmax(0, 1fr); gap: 20px; }
  .event { grid-template-columns: 180px minmax(0, 1fr); gap: 20px; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 24px; }
  .pagenav { position: static; }

  .nav__burger { display: inline-flex; }
  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0; z-index: 60;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    padding: 8px var(--gutter) 20px;
  }
  .nav[data-open="true"] { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link, .nav__toggle { display: flex; width: 100%; padding: 14px 0; font-size: 16px; border-bottom: 0; }
  .nav__link[aria-current="page"] { border-bottom: 0; }
  .nav__toggle { justify-content: space-between; }
  .nav__menu {
    position: static; display: none; border: 0; box-shadow: none;
    min-width: 0; padding: 0 0 10px 0; margin-top: 0; background: transparent;
  }
  .nav__menu a { padding: 11px 0 11px 16px; border-left: 2px solid var(--line); }

  h1 { font-size: 31px; }
  h2 { font-size: 22px; }
  .lede { font-size: 17px; }

  .hero__grid, .hero__grid--wide, .split, .cols-2, .cols-3, .promo, .form__row, .featured { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .featured { padding: 24px; }
  .featured__title { font-size: 24px; }
  .featured__meta { padding-left: 0; border-left: 0; padding-top: 24px; border-top: 1px solid var(--line); }
  .form__row { gap: 18px; }
  .promo { gap: 20px; }
  .split { gap: 20px; }
  .disclosure__body { grid-template-columns: minmax(0, 1fr); }
  .site-footer__col--end { margin-left: 0; }
}

@media (max-width: 600px) {
  :root { --gutter: 18px; }
  body { font-size: 16.5px; }
  h1 { font-size: 27px; }

  .cols-4, .statgrid, .people { grid-template-columns: minmax(0, 1fr); }
  .statgrid__cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .statgrid__cell:last-of-type { border-bottom: 0; }
  .namelist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cohort { grid-template-columns: minmax(0, 1fr); gap: 2px; }

  /* Publication and news entries stack: date becomes a label above the title */
  .pub { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .newsitem, .event { grid-template-columns: minmax(0, 1fr); gap: 10px; }

  .resource { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .resource__kind { justify-self: start; }

  .lockup__full { display: none; }
  .figrow { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; }
  .site-footer__cols { flex-direction: column; gap: 26px; }
  .btn { width: 100%; text-align: center; }
  .row > .btn { width: auto; }
}

@media print {
  .site-header, .pagenav, .nav, .filters, .citation__copy { display: none; }
  body { font-size: 11pt; color: #000; background: #fff; }
  a::after { content: " (" attr(href) ")"; font-size: 9pt; word-break: break-all; }
}

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