/* ==========================================================================
   CSA Africa — design system
   Brand source: the CSA Africa logo (navy #0F1753, slate #313B56, amber #FB9106,
   Africa outline filled with binary "01"). Type, colour and motif all derive
   from it. Restraint is the rule: hierarchy comes from scale, space and
   photography — not decoration.
   ========================================================================== */

/* ---------------------------------------------------------------- 1. tokens */
:root {
  /* brand */
  --navy: #0f1753;
  --navy-deep: #080c2c;
  --slate: #313b56;
  --amber: #fb9106;
  --amber-deep: #c46a00;

  /* surfaces */
  --paper: #fbf9f6;
  --paper-2: #f4f1eb;
  --stone: #ece7de;
  --white: #ffffff;

  /* ink */
  --ink: #14162e;
  --ink-2: #454b66;
  --ink-3: #6b7189;
  --on-dark: #f2f1ee;
  --on-dark-2: #a9aec5;

  /* lines */
  --line: rgba(15, 23, 83, 0.14);
  --line-soft: rgba(15, 23, 83, 0.08);
  --line-dark: rgba(242, 241, 238, 0.18);

  /* type */
  --serif: "IBM Plex Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-display: clamp(2.6rem, min(7.2vw, 12vh), 6.6rem);
  --fs-h1: clamp(2.3rem, 5.2vw, 4.15rem);
  --fs-h2: clamp(1.9rem, 3.7vw, 3.05rem);
  --fs-h3: clamp(1.28rem, 2vw, 1.72rem);
  --fs-lead: clamp(1.06rem, 1.35vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-label: 0.75rem;

  /* rhythm */
  /* Side gutter. The old 1.25rem left content all but flush to the edge on a
     laptop — 20px at 1440. The original site ran a 980px column, so roughly
     230px of air each side; this keeps the wider editorial measure but gives
     the page a real margin to sit in. */
  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  --gap: clamp(1.5rem, 3.2vw, 3rem);
  --section: clamp(4.5rem, 9vw, 9rem);
  --radius: 3px;
  --radius-lg: 5px;

  /* motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------------------------------------------------------------- 2. reset */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.08; letter-spacing: -0.02em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

::selection { background: var(--amber); color: var(--navy); }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 999;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

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

/* ---------------------------------------------------------------- 3. layout */
.shell { width: min(100% - var(--gutter) * 2, 1240px); margin-inline: auto; }
.shell--wide { width: min(100% - var(--gutter) * 2, 1480px); margin-inline: auto; }
.shell--narrow { width: min(100% - var(--gutter) * 2, 780px); margin-inline: auto; }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--flush-top { padding-top: 0; }

.band-dark {
  background: var(--navy);
  color: var(--on-dark);
}
.band-dark h1, .band-dark h2, .band-dark h3 { color: var(--white); }

.band-stone { background: var(--paper-2); }

/* ---------------------------------------------------------------- 4. type */
.display {
  font-family: var(--serif);
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.032em;
}

.h1 { font-family: var(--serif); font-size: var(--fs-h1); font-weight: 400; line-height: 1.03; letter-spacing: -0.028em; }
.h2 { font-family: var(--serif); font-size: var(--fs-h2); font-weight: 400; line-height: 1.08; letter-spacing: -0.024em; }
.h3 { font-family: var(--sans); font-size: var(--fs-h3); font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink-2);
}
.band-dark .lead { color: var(--on-dark-2); }

.prose p { max-width: 68ch; }
.prose p + p { margin-top: 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-deep);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.4rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  flex: none;
}
.band-dark .eyebrow { color: var(--amber); }
.eyebrow--plain::before { display: none; }
@media (max-width: 560px) {
  .eyebrow { font-size: 0.6875rem; letter-spacing: 0.11em; gap: 0.55rem; }
  .eyebrow::before { width: 18px; }
}

.num {
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  color: var(--ink-3);
}

.amber { color: var(--amber-deep); }
.band-dark .amber { color: var(--amber); }

.serif-em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

/* section heading block */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 900px) {
  .sec-head--split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: end;
  }
}

/* ---------------------------------------------------------------- 5. buttons */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn .arw {
  display: inline-block;
  transition: transform 0.35s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover .arw { transform: translateX(4px); }
.btn:active { transform: translateY(0); }

.btn--amber { --btn-bg: var(--amber); --btn-fg: var(--navy); }
.btn--amber:hover { --btn-bg: #ffa32b; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--navy); background: rgba(15, 23, 83, 0.04); }

.btn--on-dark {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn--on-dark:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

.btn--light { --btn-bg: var(--white); --btn-fg: var(--navy); }

/* the INUKA apply CTA once applications close (build.py apply_btn) — a label,
   not a control: no link, no hover lift, no arrow. */
.btn--closed {
  --btn-bg: rgba(15, 23, 83, 0.06);
  --btn-fg: var(--slate);
  border-color: var(--line);
  cursor: default;
}
.btn--closed-on-dark {
  --btn-bg: rgba(255, 255, 255, 0.07);
  --btn-fg: #dcdfec;
  border-color: rgba(255, 255, 255, 0.26);
}
.btn--closed:hover { transform: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* inline text link with underline reveal */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy);
  padding-bottom: 2px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.4s var(--ease-out), color 0.25s var(--ease);
}
.tlink:hover { color: var(--amber-deep); background-size: 0% 1px; }
.band-dark .tlink { color: var(--white); }
.band-dark .tlink:hover { color: var(--amber); }

/* link that underlines in body copy */
.ilink {
  color: inherit;
  border-bottom: 1px solid var(--amber);
  transition: background-color 0.2s var(--ease);
}
.ilink:hover { background: rgba(251, 145, 6, 0.16); }

/* ---------------------------------------------------------------- 6. header */
/* Social strip above the header. Not sticky - see topbar() in build.py. */
.topbar {
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar__in {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  min-height: 38px;
}
.topbar__tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}
.socials--sm a {
  width: 28px;
  height: 28px;
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--on-dark-2);
}
/* The footer's navy-on-paper hover would vanish here, so invert it. */
.socials--sm a:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--navy-deep);
  transform: none;
}
.socials--sm svg { width: 14px; height: 14px; }
@media (max-width: 760px) {
  .topbar__in { justify-content: center; min-height: 44px; }
  .topbar__tag { display: none; }
  /* 28px clears WCAG 2.5.8 but is a mean tap target. On a phone the strip
     holds nothing else, so the icons take the room: 6 x 36 + gaps = 246px,
     inside the 280px a 320px screen leaves after gutters. */
  .socials--sm a { width: 36px; height: 36px; }
  .socials--sm svg { width: 16px; height: 16px; }
}

.announce {
  position: relative;
  z-index: 101;
  background: var(--navy-deep);
  color: var(--on-dark);
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
}
.announce__in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  padding: 0.6rem 0;
  text-align: center;
}
.announce b { color: var(--white); font-weight: 600; }
/* The separators double as the bar's attention cue: a slow amber pulse,
   about 0.55 Hz — well under the three-flashes-per-second threshold, and off
   entirely for anyone who asked for less motion. */
.announce .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--amber);
  flex: none;
  animation: dotPulse 1.9s var(--ease) infinite;
}
.announce__in > .dot:nth-child(4) { animation-delay: 0.95s; }
@keyframes dotPulse {
  0%, 100% { opacity: 0.3; box-shadow: 0 0 0 0 rgba(251, 145, 6, 0); }
  40%      { opacity: 1;   box-shadow: 0 0 0 4px rgba(251, 145, 6, 0.22); }
  70%      { opacity: 1;   box-shadow: 0 0 0 7px rgba(251, 145, 6, 0); }
}
.announce a {
  color: var(--amber);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.announce a:hover { border-color: var(--amber); }
@media (max-width: 760px) {
  .announce__in { font-size: 0.75rem; padding: 0.55rem 0; gap: 0.6rem; }
  .announce .hide-sm { display: none; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 246, 0.86);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line-soft); }

/* Anchor targets stop clear of the sticky header instead of under it. */
:target { scroll-margin-top: clamp(5.5rem, 8vw, 7rem); }
/* except this one: the section's own top padding is already the breathing
   room, so it only has to clear the header rather than double the whitespace */
#testimonials { scroll-margin-top: 1.5rem; }
/* the section takes focus for keyboard users; it must not draw a box for mice */
#testimonials:focus { outline: none; }
#testimonials:focus-visible { outline: 2px solid var(--amber); outline-offset: -4px; }

.site-header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 78px;
}
@media (max-width: 900px) { .site-header__in { height: 68px; } }

.brand { display: flex; align-items: center; gap: 0.7rem; flex: none; }
.brand img { width: 40px; height: auto; }
.brand__txt {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.brand__txt span { display: block; font-weight: 500; color: var(--ink-3); font-size: 0.8125rem; letter-spacing: 0.01em; }
@media (max-width: 400px) { .brand__txt { font-size: 0.875rem; } }

.nav { display: flex; align-items: center; gap: 0.3rem; }
.nav a, .nav__toggle { white-space: nowrap; }
.nav a {
  position: relative;
  padding: 0.55rem 0.85rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--radius);
  transition: color 0.2s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.22rem;
  height: 1.5px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav a:hover { color: var(--navy); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--navy); font-weight: 600; }

.nav__group { position: relative; }
.nav__toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-2);
}
.nav__toggle svg { transition: transform 0.3s var(--ease); }
.nav__group:hover .nav__toggle, .nav__group:focus-within .nav__toggle { color: var(--navy); }
.nav__group:hover .nav__toggle svg, .nav__group:focus-within .nav__toggle svg { transform: rotate(180deg); }

.nav__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 44px -22px rgba(15, 23, 83, 0.4);
  padding: 0.45rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s var(--ease), transform 0.28s var(--ease-out), visibility 0.22s;
}
.nav__group:hover .nav__menu,
.nav__group:focus-within .nav__menu,
.nav__group.is-open .nav__menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__menu a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.7rem;
  font-size: 0.9375rem;
  border-radius: var(--radius);
}
.nav__menu a::after { display: none; }
.nav__menu a:hover { background: var(--paper-2); color: var(--navy); }
.nav__menu a em { font-style: normal; color: var(--ink-3); font-size: 0.8125rem; font-family: var(--mono); }

.header-cta { display: flex; align-items: center; gap: 0.6rem; flex: none; }
.header-cta .btn { padding: 0.72rem 1.15rem; font-size: 0.875rem; }

.burger {
  width: 46px; height: 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  flex: none;
}
/* Six nav items plus both header buttons. Breakpoint measured, not guessed —
   see the note in README. The links tighten in the band just above it rather
   than crowding. */
@media (max-width: 1230px) { .nav, .header-cta .btn--ghost { display: none; } }
@media (min-width: 1231px) and (max-width: 1400px) {
  .nav a, .nav__toggle { padding-inline: 0.62rem; font-size: 0.9rem; }
  .nav { gap: 0.1rem; }
  .nav a::after { left: 0.62rem; right: 0.62rem; }
  .header-cta .btn { padding-inline: 0.95rem; }
}
@media (max-width: 760px) { .header-cta .btn { display: none; } }

/* Sections the phone doesn't need twice.
   At 390px the homepage ran 16 screens deep. Four of its sections are
   reproduced in full elsewhere on the site, so on a phone they are dropped
   and the reader is one tap from each of them:
     why CSA Africa exists     -> about.html      (hero CTA "Read our story")
     what makes us different   -> about.html
     our Python workshops      -> workshops.html  (hero CTA "Explore the workshops")
     past and future workshops -> workshops.html, and every edition is its
                                  own entry under Programmes in the menu
   Kept: the hero, INUKA (an announcement, not a menu section), the impact
   numbers, the testimonials (Alumni Voices in the menu points AT them and
   they live nowhere else), the alumni films, the partners and the closing
   CTA -- about nine screens instead of sixteen.
   Screen only: printing should still produce the whole page. */
@media screen and (max-width: 760px) {
  .wide-only { display: none; }
  /* the founder story is the light band between INUKA and the stats;
     with it gone the two dark bands meet, so mark the join. */
  .band-dark + .band-dark { border-top: 1px solid var(--line-dark); }
}
@media (min-width: 1231px) { .burger { display: none; } }
.burger span {
  display: block;
  width: 19px; height: 1.5px;
  background: var(--navy);
  transition: transform 0.35s var(--ease-out), opacity 0.2s var(--ease);
}
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--paper);
  padding: calc(78px + 2rem) 0 3rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease-out), visibility 0.3s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.drawer__nav { display: flex; flex-direction: column; }
.drawer__nav > a, .drawer__sub summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: -0.018em;
  color: var(--navy);
}
@media (max-width: 560px) {
  .drawer__nav > a, .drawer__sub summary { font-size: 1.125rem; padding: 0.85rem 0; }
  .drawer__sub ul a { font-size: 0.9375rem; }
}
.drawer__sub summary { cursor: pointer; list-style: none; }
.drawer__sub summary::-webkit-details-marker { display: none; }
.drawer__sub summary svg { transition: transform 0.3s var(--ease); flex: none; }
.drawer__sub[open] summary svg { transform: rotate(180deg); }
.drawer__sub ul { list-style: none; padding: 0.5rem 0 1rem; }
.drawer__sub ul a {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.6rem 0.25rem;
  font-size: 1rem;
  color: var(--ink-2);
}
.drawer__sub ul a em { font-style: normal; font-family: var(--mono); font-size: 0.8125rem; color: var(--ink-3); }
.drawer__foot { margin-top: 2rem; display: grid; gap: 0.75rem; }
.drawer__foot .btn { justify-content: center; }
.drawer__meta { margin-top: 2rem; font-size: 0.875rem; color: var(--ink-3); }
.drawer__meta a { border-bottom: 1px solid var(--line); }

body.nav-open { overflow: hidden; }

/* ---------------------------------------------------------------- 7. hero */
.hero {
  position: relative;
  isolation: isolate;
  color: var(--white);
  min-height: min(92vh, 880px);
  display: flex;
  align-items: flex-end;
  padding-block: clamp(5rem, 12vw, 8rem) clamp(2rem, 4vw, 3rem);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
/* the poster carries the hero until the film is decoded and playing */
.hero__poster { animation: heroDrift 22s var(--ease) forwards; }
@keyframes heroDrift {
  from { transform: scale(1.075); }
  to { transform: scale(1); }
}
.hero__video {
  opacity: 0;
  transition: opacity 900ms var(--ease);
  pointer-events: none;
}
.hero__video.is-playing { opacity: 1; }
/* Two layers: a vertical one that seats the header and the stats rule, and a
   left-weighted one that buys contrast for the headline. The film is livelier
   than the still, so it gets a lighter mix — the headline side stays as dark.
   Registering the stops lets the mix cross-fade with the film instead of
   snapping; browsers without @property just swap, which is fine. */
@property --v1 { syntax: "<number>"; inherits: false; initial-value: 0.72; }
@property --v2 { syntax: "<number>"; inherits: false; initial-value: 0.34; }
@property --v3 { syntax: "<number>"; inherits: false; initial-value: 0.78; }
@property --v4 { syntax: "<number>"; inherits: false; initial-value: 0.94; }
@property --h1 { syntax: "<number>"; inherits: false; initial-value: 0.7; }
@property --h2 { syntax: "<number>"; inherits: false; initial-value: 0.1; }
.hero__scrim {
  --v1: 0.72; --v2: 0.34; --v3: 0.78; --v4: 0.94;
  --h1: 0.7; --h2: 0.1;
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 12, 44, var(--v1)) 0%, rgba(8, 12, 44, var(--v2)) 34%, rgba(8, 12, 44, var(--v3)) 76%, rgba(8, 12, 44, var(--v4)) 100%),
    linear-gradient(96deg, rgba(15, 23, 83, var(--h1)) 0%, rgba(15, 23, 83, var(--h2)) 62%);
  transition: --v1 900ms var(--ease), --v2 900ms var(--ease), --v3 900ms var(--ease),
              --v4 900ms var(--ease), --h1 900ms var(--ease), --h2 900ms var(--ease);
}
.hero.is-film .hero__scrim {
  --v1: 0.5; --v2: 0.2; --v3: 0.62; --v4: 0.92;
  --h1: 0.74; --h2: 0.06;
}
/* WCAG 2.2.2 — anything that moves for more than five seconds needs a stop.
   Sits in the hero's top-right corner, quiet until hovered or focused. */
/* author display: beats the UA [hidden] rule, so restate it */
.hero__motion[hidden] { display: none; }
.hero__motion {
  position: absolute;
  top: clamp(6rem, 11vw, 8.5rem);
  right: clamp(1rem, 4vw, 2.75rem);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(8, 12, 44, 0.42);
  backdrop-filter: blur(2px);
  color: rgba(255, 255, 255, 0.78);
  font: 500 0.6875rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 200ms var(--ease), border-color 200ms var(--ease), background 200ms var(--ease);
}
.hero__motion span:last-child {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition: max-width 320ms var(--ease), opacity 200ms var(--ease);
}
.hero__motion:hover, .hero__motion:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(8, 12, 44, 0.72);
}
.hero__motion:hover span:last-child,
.hero__motion:focus-visible span:last-child { max-width: 14rem; opacity: 1; }
/* two bars = pause; the pressed=false state swaps to a play triangle */
.hero__motion-ico {
  width: 9px; height: 11px; flex: none;
  border-inline: 3px solid currentColor;
}
.hero__motion[aria-pressed="false"] .hero__motion-ico {
  border: 0;
  width: 0; height: 0;
  border-top: 5.5px solid transparent;
  border-bottom: 5.5px solid transparent;
  border-left: 9px solid currentColor;
}
@media (max-width: 620px) { .hero__motion { top: 1rem; right: 1rem; padding: 0.45rem 0.55rem; } }

/* Short laptop viewports: 1366x768 and 1280x720 leave ~625-673px of page
   below the browser chrome, and the hero is content-driven, so at full spacing
   the call-to-action row landed below the fold. Tighten the vertical rhythm so
   the buttons are always reachable without scrolling; the stats rule stays just
   past the edge as the cue that there is more. */
@media (min-width: 760px) and (max-height: 820px) {
  .hero {
    min-height: 0;
    padding-block: clamp(4.5rem, 9vh, 6rem) clamp(1.25rem, 2.5vh, 2rem);
  }
  .hero__sub { margin-top: clamp(1rem, 2vh, 1.5rem); font-size: 1.02rem; }
  .hero__actions { margin-top: clamp(1.1rem, 2.4vh, 1.75rem); }
  .hero__stats { margin-top: clamp(1.5rem, 3.4vh, 2.5rem); padding-top: 1.1rem; }
}
@media (min-width: 760px) and (max-height: 680px) {
  /* 1280x720 leaves only ~625px; the headline gives back the last few lines */
  :root { --fs-display: clamp(2.45rem, min(7.2vw, 11vh), 6.6rem); }
  .hero { padding-block: clamp(3.5rem, 7vh, 4.75rem) clamp(1rem, 2vh, 1.5rem); }
  .hero__sub { max-width: 46ch; }
  .hero__actions { margin-top: clamp(0.9rem, 2vh, 1.4rem); }
  .hero__stats { margin-top: 1.25rem; padding-top: 0.9rem; }
}
/* a deliberately short desktop window — resized, or a small laptop */
@media (min-width: 760px) and (max-height: 620px) {
  :root { --fs-display: clamp(2.25rem, min(6.6vw, 10vh), 6.6rem); }
  .hero { padding-block: clamp(2.75rem, 6vh, 3.5rem) 0.9rem; }
  .hero__sub { margin-top: 0.85rem; }
  .hero__stats { margin-top: 1rem; padding-top: 0.8rem; }
}
@media (min-width: 760px) and (max-height: 560px) {
  :root { --fs-display: clamp(2.05rem, min(6vw, 9.2vh), 6.6rem); }
  .hero { padding-block: 1.6rem 0.75rem; }
  .hero__sub { margin-top: 0.7rem; font-size: 0.95rem; max-width: 42ch; }
}

.hero .eyebrow { color: var(--amber); }
.hero h1 { text-wrap: balance; }
@media (min-width: 700px) { .hero h1 { max-width: 15ch; } }
.hero__sub {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  max-width: 52ch;
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.84);
}
.hero__actions { margin-top: clamp(1.75rem, 3.5vw, 2.5rem); }

.hero__stats {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 2rem;
}
.hero__stats div { display: flex; flex-direction: column; gap: 0.15rem; }
.hero__stats b {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
}
.hero__stats span {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.5;
}
@media (max-width: 560px) {
  .hero__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .hero__stats b { font-size: 1.6rem; }
  .hero__stats span { font-size: 0.625rem; letter-spacing: 0.1em; }
}

/* compact page hero for interior pages */
.phero {
  position: relative;
  isolation: isolate;
  color: var(--white);
  min-height: clamp(360px, 52vh, 560px);
  display: flex;
  align-items: flex-end;
  padding-block: clamp(4rem, 10vw, 6rem) clamp(2.5rem, 5vw, 3.5rem);
  overflow: hidden;
}
.phero__media { position: absolute; inset: 0; z-index: -2; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 12, 44, 0.66) 0%, rgba(8, 12, 44, 0.42) 30%, rgba(8, 12, 44, 0.86) 72%, rgba(8, 12, 44, 0.95) 100%),
    linear-gradient(92deg, rgba(8, 12, 44, 0.78) 0%, rgba(8, 12, 44, 0.28) 55%, rgba(8, 12, 44, 0.05) 100%);
}
/* A lighter scrim for a hero whose subject is the people in it. The default
   above crushes the INUKA group photo to a mean luminance of 0.015 - the
   sixty faces the picture is about are barely there. This keeps white text
   well clear of AA while letting the photograph read. */
.phero--photo .phero__scrim {
  background:
    linear-gradient(180deg, rgba(8, 12, 44, 0.50) 0%, rgba(8, 12, 44, 0.16) 26%, rgba(8, 12, 44, 0.74) 56%, rgba(8, 12, 44, 0.90) 100%),
    linear-gradient(92deg, rgba(8, 12, 44, 0.72) 0%, rgba(8, 12, 44, 0.26) 58%, rgba(8, 12, 44, 0.04) 100%);
}
/* The credit stays amber, as the rest of the site's eyebrows are. It reads
   because the scrim above is strong where the text sits, not because the
   text was lightened - measured after every change to that scrim. */

.phero h1 { max-width: 18ch; text-wrap: balance; }
.phero__sub { margin-top: 1.25rem; max-width: 58ch; color: rgba(255, 255, 255, 0.84); font-size: var(--fs-lead); }
.phero .eyebrow { color: var(--amber); }

.phero__meta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.phero__meta span { display: flex; align-items: center; gap: 0.55rem; }
.phero__meta span::before { content: ""; width: 5px; height: 5px; background: var(--amber); flex: none; }

/* ---------------------------------------------------------------- 8. editorial split */
.split {
  display: grid;
  gap: clamp(2.25rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--wide-text { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  .split--wide-media { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
  .split--flip .split__media { order: -1; }
  .split--top { align-items: start; }
}

.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius-lg); }

.figure-caption {
  margin-top: 0.85rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* offset frame accent used sparingly */
.framed { position: relative; }
@media (max-width: 720px) { .framed::before { display: none; } }
.framed::before {
  content: "";
  position: absolute;
  inset: auto -14px -14px auto;
  width: 62%;
  height: 62%;
  border-right: 1px solid var(--amber);
  border-bottom: 1px solid var(--amber);
  border-radius: 0 0 var(--radius-lg) 0;
  z-index: -1;
}

/* ---------------------------------------------------------------- 9. pull quote */
.pullquote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.9vw, 2.35rem);
  line-height: 1.24;
  letter-spacing: -0.022em;
  font-style: italic;
  color: var(--navy);
  margin: 0;
  text-wrap: balance;
}
.band-dark .pullquote { color: var(--white); }
.pullquote cite {
  display: block;
  margin-top: 1.5rem;
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.band-dark .pullquote cite { color: var(--on-dark-2); }

/* ---------------------------------------------------------------- 10. numbered list */
.numlist { list-style: none; display: grid; gap: 0; }
@media (min-width: 780px) { .numlist--2 { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 4rem); } }
.numlist li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line-soft);
}
.numlist li:first-child { border-top-color: var(--line); }
@media (min-width: 780px) { .numlist--2 li:nth-child(2) { border-top-color: var(--line); } }
.numlist .n {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--amber-deep);
  padding-top: 0.28rem;
}
.numlist p { font-size: 1.0625rem; line-height: 1.5; color: var(--ink); }
.band-dark .numlist li { border-top-color: var(--line-dark); }
.band-dark .numlist p { color: var(--on-dark); }
.band-dark .numlist .n { color: var(--amber); }

/* ---------------------------------------------------------------- 11. stats band */
.stats-band { position: relative; overflow: hidden; }
.stats-band__binary {
  position: absolute;
  inset: 0;
  background: url("../img/brand/binary-tile.svg") repeat;
  background-size: 165px auto;
  filter: invert(1);
  opacity: 0.06;
  pointer-events: none;
  mask-image: linear-gradient(105deg, #000 0%, transparent 55%);
  -webkit-mask-image: linear-gradient(105deg, #000 0%, transparent 55%);
}
/* Hairlines are drawn per-cell rather than with a gap-background, so a
   part-filled final row never leaves a visible empty block. */
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}
.stat {
  padding: clamp(1.75rem, 3.2vw, 2.75rem) clamp(1.25rem, 2.4vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.stat b {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.2vw, 4.15rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}
.stat span {
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--on-dark-2);
  max-width: 24ch;
}

/* light variant for edition pages */
.stats-grid--light { border-top-color: var(--line); border-left-color: var(--line); }
.stats-grid--light .stat { border-right-color: var(--line); border-bottom-color: var(--line); }
@media (min-width: 560px) { .stats-grid--light { grid-template-columns: repeat(2, 1fr); } }
/* auto-fit needs 180px a column, which is one column on a phone and five
   full rows of it. Two narrower columns halve the band. */
@media (max-width: 559px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 1.4rem 1rem; }
  .stat b { font-size: 2.15rem; }
  .stat span { font-size: 0.8125rem; }
}
@media (min-width: 940px) { .stats-grid--light { grid-template-columns: repeat(4, 1fr); } }
.stats-grid--light .stat b { color: var(--navy); }
.stats-grid--light .stat span { color: var(--ink-2); }

/* ---------------------------------------------------------------- 12. cards */
.card-grid {
  display: grid;
  gap: clamp(1.25rem, 2.4vw, 2rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}
@media (min-width: 620px) { .card-grid--editions { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid--editions { grid-template-columns: repeat(3, 1fr); } }

/* edition card */
.edition {
  position: relative;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  min-height: 340px;
  padding: 1.5rem;
  justify-content: flex-end;
  transition: transform 0.5s var(--ease-out);
}
.edition__img {
  position: absolute; inset: 0; z-index: -2;
}
.edition__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter 0.5s var(--ease);
  filter: saturate(0.85);
}
.edition::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8, 12, 44, 0.15) 0%, rgba(8, 12, 44, 0.55) 52%, rgba(8, 12, 44, 0.92) 100%);
  transition: opacity 0.4s var(--ease);
}
.edition:hover { transform: translateY(-4px); }
.edition:hover .edition__img img { transform: scale(1.055); filter: saturate(1); }
.edition__year {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 3.4vw, 3.1rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
}
.edition__place {
  margin-top: 0.6rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.4;
}
.edition__tag {
  position: absolute;
  top: 1.25rem; left: 1.25rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--amber);
  color: var(--navy);
  padding: 0.32rem 0.6rem;
  border-radius: 2px;
  font-weight: 500;
}
.edition__more {
  margin-top: 1.1rem;
  display: flex; align-items: center; gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}
.edition--soon { background: var(--paper-2); color: var(--navy); border: 1px solid var(--line); }
.edition--soon::after { display: none; }
.edition--soon .edition__place { color: var(--ink-2); }
.edition--soon .edition__more { color: var(--amber-deep); }

/* track card (workshop tracks) */
.tracks { list-style: none; border-top: 1px solid var(--line); }
.tracks li { border-bottom: 1px solid var(--line-soft); }
.tracks a, .tracks .row {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 0.25rem;
  transition: background-color 0.3s var(--ease), padding-left 0.35s var(--ease-out);
}
.tracks li:hover a { background: rgba(15, 23, 83, 0.03); padding-left: 0.75rem; }
.tracks .n { font-family: var(--mono); font-size: 0.75rem; color: var(--amber-deep); letter-spacing: 0.1em; }
.tracks h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }
.band-dark .tracks { border-top-color: var(--line-dark); }
.band-dark .tracks li { border-bottom-color: var(--line-dark); }
.band-dark .tracks .n { color: var(--amber); }

/* timeline */
.timeline {
  list-style: none;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 760px) { .timeline { grid-template-columns: repeat(3, 1fr); } }
.timeline li { background: var(--paper); padding: clamp(1.35rem, 2.4vw, 1.9rem); }
.timeline .n {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-deep);
  display: block;
  margin-bottom: 0.75rem;
}
.timeline h3 { font-size: 1.125rem; margin-bottom: 0.35rem; }
.timeline p { font-size: 0.9375rem; color: var(--ink-2); }
.band-dark .timeline { background: var(--line-dark); border-color: var(--line-dark); }
.band-dark .timeline li { background: var(--navy); }
.band-dark .timeline p { color: var(--on-dark-2); }
.band-dark .timeline .n { color: var(--amber); }

/* support / feature grid */
.feat-grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (min-width: 720px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .feat-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.feat {
  padding: clamp(1.5rem, 2.6vw, 2.15rem) clamp(1.25rem, 2vw, 1.75rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.feat .n {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  color: var(--amber-deep);
  display: block;
  margin-bottom: 1rem;
}
.feat h3 { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.feat p { font-size: 0.9375rem; color: var(--ink-2); }

/* ---------------------------------------------------------------- 13. testimonials */
.quote-feature {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}
@media (min-width: 860px) { .quote-feature { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); } }
.quote-feature__portrait {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--stone);
}
.quote-feature__portrait img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 859px) {
  .quote-feature__portrait { aspect-ratio: 3 / 2; max-width: 260px; }
}

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(88vw, 400px);
  align-items: stretch;        /* every card in a rail is the same height */
  gap: 1.25rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1.25rem;
  padding-bottom: 1.15rem;
  /* the bar is the affordance, so it is drawn to be seen, not hidden away */
  scrollbar-width: thin;
  scrollbar-color: var(--slate) rgba(15, 23, 83, 0.13);
}
.rail::-webkit-scrollbar { height: 9px; }
.rail::-webkit-scrollbar-track { background: rgba(15, 23, 83, 0.13); border-radius: 99px; }
.rail::-webkit-scrollbar-thumb { background: var(--slate); border-radius: 99px; }
.rail::-webkit-scrollbar-thumb:hover { background: var(--navy); }
.rail:focus-visible { outline-offset: 6px; }
.rail > * { scroll-snap-align: start; }

.rail--quotes { grid-auto-columns: min(84vw, 380px); }
.rail--leads  { grid-auto-columns: min(60vw, 244px); }
.rail--people { grid-auto-columns: min(40vw, 178px); gap: clamp(1rem, 2vw, 1.75rem); }
@media (max-width: 640px) {
  .rail--leads  { grid-auto-columns: min(64vw, 220px); }
  .rail--people { grid-auto-columns: min(46vw, 170px); }
}

.tcard {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease-out);
}
.tcard:hover { border-color: var(--line); transform: translateY(-3px); }
.tcard blockquote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  flex: 1;                     /* footer sits on the card's floor, so every
                                  portrait in the row lines up */
}
.tcard blockquote::before {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--amber);
  margin-bottom: 1rem;
}
.tcard footer { display: flex; align-items: center; gap: 0.85rem; }
.tcard img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  background: var(--stone);
}
.tcard .who { font-weight: 600; font-size: 0.9375rem; line-height: 1.25; }
.tcard .cohort { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em; color: var(--ink-3); text-transform: uppercase; }

.rail-controls { display: flex; gap: 0.5rem; }
/* Count on the left, arrows on the right, sitting directly on top of the rail
   they drive — so it is obvious both what scrolls and how far it goes. */
.rail-head[hidden] { display: none; }
.rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}
.rail-head .num { margin: 0; }
@media (max-width: 560px) {
  .rail-head { gap: 0.75rem; flex-wrap: nowrap; }
  .rail-head .num { font-size: 0.6875rem; letter-spacing: 0.08em; }
  .rail-hint { display: none; }   /* the arrows beside it say the same thing */
  .rail-btn { width: 40px; height: 40px; }
}
.rail-btn[hidden] { display: none; }
.rail-btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), opacity 0.25s var(--ease);
}
.rail-btn:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.rail-btn[disabled] { opacity: 0.3; pointer-events: none; }

/* ---------------------------------------------------------------- 14. video */
.video-grid {
  display: grid;
  gap: clamp(1.25rem, 2.4vw, 1.75rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.vfacade {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-deep);
  display: block;
  isolation: isolate;
}
.vfacade__hit { position: absolute; inset: 0; display: block; }
.vfacade img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out), opacity 0.4s var(--ease);
}
.vfacade::after {
  content: "";
  position: absolute; inset: 0;
  /* weighted to the bottom strip, where the title sits — the photograph
     itself stays clear rather than being veiled top to bottom */
  background: linear-gradient(180deg, rgba(8, 12, 44, 0) 0%, rgba(8, 12, 44, 0.04) 42%,
                              rgba(8, 12, 44, 0.55) 78%, rgba(8, 12, 44, 0.94) 100%);
  transition: opacity 0.35s var(--ease);
}
.vfacade:hover img { transform: scale(1.04); }
.vfacade:hover::after { opacity: 0.85; }
/* no title to carry, so the photograph needs no scrim beyond a faint seat */
.vfacade--plain::after {
  background: linear-gradient(180deg, rgba(8, 12, 44, 0) 0%, rgba(8, 12, 44, 0) 55%,
                              rgba(8, 12, 44, 0.16) 100%);
}
.vfacade__play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: rgba(251, 145, 6, 0.95);
  color: var(--navy);
  display: grid; place-items: center;
  transition: transform 0.4s var(--ease-out), background-color 0.3s var(--ease);
}
.vfacade:hover .vfacade__play { transform: translate(-50%, -50%) scale(1.08); background: var(--amber); }
.vfacade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.vfacade__label {
  position: absolute;
  left: 1rem; right: 1rem; bottom: 0.9rem;
  z-index: 2;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: rgba(255, 255, 255, 0.95);
  text-align: left;
  text-shadow: 0 1px 12px rgba(8, 12, 44, 0.6);
}
.vfacade[data-playing] .vfacade__hit,
.vfacade[data-playing] .vfacade__label,
.vfacade[data-playing] .vfacade__play,
.vfacade[data-playing]::after { display: none; }

/* ---------------------------------------------------------------- 15. partners */
/* Two rows drifting in opposite directions, inside the content column so the
   logos share the left edge of every other section. */
.partner-wall {
  display: grid;
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
  border-block: 1px solid var(--line-soft);
  padding-block: clamp(2.25rem, 4.5vw, 3.25rem);
}
.marquee {
  overflow: hidden;
  /* fade the ends so logos arrive and leave instead of being cut off */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: clamp(2.25rem, 5vw, 4.5rem);
  padding-right: clamp(2.25rem, 5vw, 4.5rem);   /* keeps the seam evenly spaced */
  animation: marquee 42s linear infinite;
  will-change: transform;
}
.marquee--reverse .marquee__track { animation-direction: reverse; }
/* -25% == exactly one of the four sets, given padding-right equals the gap */
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-25%, 0, 0); }
}
/* let people stop it to read a logo */
.partner-wall:hover .marquee__track,
.partner-wall:focus-within .marquee__track { animation-play-state: paused; }

.partner { display: grid; place-items: center; flex: none; }
.partner img {
  max-height: 56px;
  width: auto;
  max-width: 165px;
  object-fit: contain;      /* the logos keep their own colours */
}
@media (max-width: 560px) {
  .marquee__track { gap: 2rem; padding-right: 2rem; animation-duration: 32s; }
  .partner img { max-height: 38px; max-width: 124px; }
}

/* ---------------------------------------------------------------- 16. people */
.person { display: flex; flex-direction: column; gap: 0.85rem; }
.person__img {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--stone);
}
.person__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out), filter 0.5s var(--ease);
  filter: saturate(0.9);
}
.person:hover .person__img img { transform: scale(1.04); filter: saturate(1); }
.person h3 { font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.008em; }
.person p { font-size: 0.8125rem; color: var(--ink-3); margin: 0.25rem 0 0; line-height: 1.4; }
.person .org { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.08em; color: var(--ink-3); }

.lead-card { display: flex; flex-direction: column; gap: 1.1rem; }
.lead-card__img {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--stone);
}
.lead-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.lead-card:hover .lead-card__img img { transform: scale(1.035); }
.lead-card h3 { font-size: 1.0625rem; }
.lead-card .role { color: var(--amber-deep); font-size: 0.875rem; font-weight: 600; margin-top: 0.3rem; }
.lead-card .org { display: block; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em; color: var(--ink-3); margin-top: 0.45rem; text-transform: uppercase; }

.li-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.7rem;
  font-size: 0.8125rem;
  color: var(--ink-3);
  transition: color 0.25s var(--ease);
}
.lead-card:hover .li-badge, .person:hover .li-badge { color: var(--navy); }

/* ---------------------------------------------------------------- 17. gallery */
.gallery {
  columns: 4 240px;
  column-gap: 12px;
}
@media (max-width: 640px) { .gallery { columns: 2 140px; column-gap: 8px; } }
.gallery button {
  display: block;
  width: 100%;
  margin: 0 0 12px;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--stone);
  break-inside: avoid;
  position: relative;
  line-height: 0;
}
@media (max-width: 640px) { .gallery button { margin-bottom: 8px; } }
.gallery img {
  width: 100%;
  transition: transform 0.7s var(--ease-out), filter 0.4s var(--ease);
}
.gallery button::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(15, 23, 83, 0);
  transition: background-color 0.35s var(--ease);
}
.gallery button:hover img { transform: scale(1.04); }
.gallery button:hover::after { background: rgba(15, 23, 83, 0.18); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 12, 44, 0.96);
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: var(--radius);
  object-fit: contain;
}
.lightbox__bar {
  position: absolute;
  left: 0; right: 0; bottom: clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}
.lightbox__btn {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: var(--white);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.6); }
.lightbox__close {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
}

/* ---------------------------------------------------------------- 18. news */
.news-list { border-top: 1px solid var(--line); }
.news-item {
  display: grid;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(1.75rem, 3.2vw, 2.75rem);
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
}
@media (min-width: 820px) {
  .news-item { grid-template-columns: 6.5rem minmax(0, 1fr) minmax(0, 360px); }
  /* alternate which side the photograph sits on without shrinking it */
  .news-item--flip { grid-template-columns: 6.5rem minmax(0, 360px) minmax(0, 1fr); }
  .news-item--flip .news-item__img { grid-column: 2; grid-row: 1; }
  .news-item--flip > :nth-child(2) { grid-column: 3; grid-row: 1; }
}
.news-item__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--stone);
}
.news-item__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-out), filter 0.5s var(--ease);
  filter: saturate(0.9);
}
.news-item:hover .news-item__img img { transform: scale(1.045); filter: saturate(1); }
.news-item h3 { font-family: var(--serif); font-size: clamp(1.3rem, 2.1vw, 1.85rem); font-weight: 400; letter-spacing: -0.022em; }
.news-item p { margin-top: 0.7rem; color: var(--ink-2); font-size: 0.9688rem; }
.news-item .src { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber-deep); }
/* One action for a web article, three for a hosted PDF - so they wrap as a
   row rather than each claiming its own top margin. */
.news-item__acts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-top: 1rem; }
.news-item__acts .tlink { margin-top: 0; white-space: nowrap; }
.tlink--quiet { font-weight: 500; font-size: 0.875rem; color: var(--ink-2); }
.tlink--quiet:hover { color: var(--navy); }
.tlink--quiet .mono { font-family: var(--mono); font-size: 0.75rem; opacity: 0.75; }

/* ---------------------------------------------------------------- 19. forms */
.form { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form--2 { grid-template-columns: 1fr 1fr; } .form--2 .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 0.45rem; }
.field label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.field input, .field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 0.95rem;
  width: 100%;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(15, 23, 83, 0.1);
}
.field input::placeholder, .field textarea::placeholder { color: #9aa0b4; }
.form__note { font-size: 0.8125rem; color: var(--ink-3); }

.inline-form { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.inline-form input { flex: 1 1 220px; }

/* ---------------------------------------------------------------- 20. CTA band */
.cta-band {
  position: relative;
  isolation: isolate;
  color: var(--white);
  padding-block: clamp(4.5rem, 9vw, 8rem);
  overflow: hidden;
}
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.cta-band::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8, 12, 44, 0.7) 0%, rgba(8, 12, 44, 0.88) 100%);
}
.cta-band h2 { max-width: 16ch; text-wrap: balance; }
.cta-band .lead { color: rgba(255, 255, 255, 0.8); max-width: 46ch; margin-top: 1.1rem; }
.cta-band .btn-row { margin-top: 2.25rem; }

/* ---------------------------------------------------------------- 21. footer */
.site-footer {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding-block: clamp(3.5rem, 6vw, 5.5rem) 2rem;
}
.footer-grid {
  display: grid;
  gap: clamp(2.25rem, 4vw, 3.5rem);
}
@media (min-width: 880px) {
  .footer-grid { grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 0.7fr)); }
}
.footer-brand { display: flex; align-items: flex-start; gap: 0.85rem; }
.footer-brand img { width: 56px; height: auto; flex: none; }
.footer-brand strong { display: block; font-size: 1rem; letter-spacing: -0.015em; color: var(--navy); }
.footer-about { margin-top: 1.25rem; font-size: 0.9375rem; color: var(--ink-2); max-width: 40ch; }
.footer-mail {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.1rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy);
  border-bottom: 1px solid var(--amber);
  padding-bottom: 2px;
}
.footer-mail:hover { color: var(--amber-deep); }

.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; display: grid; gap: 0.55rem; }
.footer-col a {
  font-size: 0.9375rem;
  color: var(--ink-2);
  transition: color 0.2s var(--ease), padding-left 0.3s var(--ease-out);
}
.footer-col a:hover { color: var(--navy); padding-left: 4px; }

.socials { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-2);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.35s var(--ease-out);
}
.socials a:hover { background: var(--navy); border-color: var(--navy); color: var(--white); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }

.footer-base {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--ink-3);
}
.footer-base .mono { font-family: var(--mono); letter-spacing: 0.06em; }

/* ---------------------------------------------------------------- 22. misc */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}
.tag {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 0.4rem 0.85rem;
  color: var(--ink-2);
}
.band-dark .tag { border-color: var(--line-dark); color: var(--on-dark-2); }

.checklist { list-style: none; display: grid; gap: 0.9rem; }
.checklist li {
  display: grid;
  grid-template-columns: 1.35rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  font-size: 1.0313rem;
  line-height: 1.5;
}
.checklist li::before {
  content: "";
  width: 9px; height: 9px;
  margin-top: 0.52rem;
  background: var(--amber);
  transform: rotate(45deg);
  flex: none;
}
.band-dark .checklist li { color: var(--on-dark); }

.detail-list { list-style: none; display: grid; gap: 0; }
.detail-list li {
  display: grid;
  gap: 0.25rem 1.5rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line-dark);
}
@media (min-width: 520px) { .detail-list li { grid-template-columns: 9.5rem minmax(0, 1fr); align-items: baseline; } }
.detail-list dt, .detail-list .k {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}
.detail-list .v { font-size: 1.0313rem; color: var(--white); }

.speaker {
  display: grid;
  gap: 1.25rem;
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
}
@media (min-width: 820px) { .speaker { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); } }
.speaker__name { font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.9rem); font-weight: 400; letter-spacing: -0.022em; }
.speaker__role { margin-top: 0.5rem; font-size: 0.875rem; color: var(--amber-deep); font-weight: 600; line-height: 1.45; }

/* Speaker portraits, cropped from the event's announcement cards. Round,
   because the cards framed them in circles and a square crop of a circular
   frame shows its corners. object-fit keeps faces from stretching at any
   size; the source files are already square, so it never has to crop. */
.speaker__pic {
  width: clamp(92px, 12vw, 132px);
  aspect-ratio: 1;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--stone);
}
.speaker__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }

.person__pic {
  width: 64px;
  aspect-ratio: 1;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--stone);
}
.person__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Two people have no portrait. Rather than invent a placeholder initial,
   their card reserves the same space, so every name in a row still sits on
   one line. */
.person:not(.person--pic) { padding-top: calc(clamp(1.1rem, 2.2vw, 1.5rem) + 64px + 0.85rem); }

/* A long biography, collapsed to its opening lines with a fade and a
   toggle. The clamp is applied by JavaScript, not here: without it the text
   would be cut off with no way to open it. main.js also retires the button
   when a bio is short enough to fit, the same way the rails retire their
   arrows rather than leave a control that does nothing. */
.bio { position: relative; }
.bio--clamped .bio__text {
  max-height: var(--bio-max, 10.5em);
  overflow: hidden;
}
.bio--clamped .bio__text::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: calc(var(--bio-max, 10.5em) - 3.2em);
  height: 3.2em;
  background: linear-gradient(to bottom, rgba(244, 241, 235, 0), var(--paper-2));
  pointer-events: none;
}
.bio--open .bio__text { max-height: none; }
.bio--open .bio__text::after { display: none; }
.bio__more {
  display: none;
  margin-top: 0.9rem;
  padding: 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.bio--enhanced .bio__more { display: inline-block; }
.bio__more::after { content: " +"; }
.bio--open .bio__more::after { content: " \2212"; }
.bio__more:hover { color: var(--navy); border-color: var(--navy); }
.bio__more:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .bio__text { transition: max-height 0.35s var(--ease); }
}

/* The roster: name and role always visible, biography on demand. Sixteen
   full bios stacked is a wall of text on a page whose job is to say what
   happened. Auto-fit so it is 1 column on a phone and 3 on a desktop without
   naming a single breakpoint. */
/* The roster is a rail, not a grid. Seventeen cards laid out four across ran
   five rows deep and swamped the page; the site already answers this for the
   14 testimonials and 22 volunteers, and the answer is a scroller with a
   count, arrows and a scrollbar drawn to be seen. Everyone stays reachable -
   nothing is hidden behind a "show more". */
.rail--roster { grid-auto-columns: min(78vw, 270px); }
@media (min-width: 900px)  { .rail--roster { grid-auto-columns: 260px; } }
@media (max-width: 480px)  { .rail--roster { grid-auto-columns: min(84vw, 250px); } }
.person {
  border: 1px solid var(--line);
  background: var(--white);
  padding: clamp(1.1rem, 2.2vw, 1.5rem);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}
/* the disclosure sits on the card's floor - see the margin-top below */
.person__name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.person__role {
  margin-top: 0.4rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--amber-deep);
  font-weight: 600;
}
/* auto, not a fixed gap: in a rail every card is the same height, so this
   drops each disclosure to the floor and they line up across the row.
   padding-top keeps it off the role text on a short card. */
.person__more { margin-top: auto; padding-top: 0.9rem; }
.person__more summary {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  list-style: none;
}
.person__more summary::-webkit-details-marker { display: none; }
.person__more summary::after {
  content: "+";
  font-size: 0.9rem;
  line-height: 1;
  transition: transform 0.2s var(--ease);
}
.person__more[open] summary::after { content: "\2212"; }
.person__more summary:hover { color: var(--navy); }
.person__more summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.person__more p {
  margin-top: 0.8rem;
  font-size: 0.9063rem;
  line-height: 1.6;
  color: var(--ink-2);
}

/* "Completed" beside the partner line in the hero. */
.chip {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  margin-right: 0.5rem;
  border: 1px solid var(--amber);
  border-radius: 999px;
  color: var(--amber);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
}
/* On a narrow hero the chip and the partner credit fight for one short
   column. .eyebrow is a flex row, so the break has to come from the text
   taking a full line of its own - display:block on the chip does nothing
   inside a flex container. */
@media (max-width: 620px) {
  .eyebrow { flex-wrap: wrap; }
  .eyebrow__txt { flex: 1 0 100%; }
}

.facts { list-style: none; display: grid; gap: 0.55rem; }
.facts li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.9063rem;
  color: var(--ink-2);
}
.facts li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--amber);
}

/* Panels: the head states the session, the body what each voice was asked to
   speak to. Single column on a phone, two from 900px. */
.panels { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 1100px) { .panels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.panel {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-top: 3px solid var(--amber);
  background: var(--white);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.panel__n {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-deep);
}
.panel__title {
  margin-top: 0.75rem;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.022em;
}
.panel__blurb { margin-top: 0.6rem; color: var(--ink-2); font-size: 0.9688rem; }
.panel__meta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}
.panel__meta .panel__modrole { flex: 1 1 100%; opacity: 0.8; }
.panel__body { margin-top: 1.5rem; display: grid; gap: 1.1rem; }
.panel__voice { border-top: 1px solid var(--line-soft); padding-top: 1.1rem; }
.panel__voice h4 { font-size: 0.9375rem; font-weight: 700; letter-spacing: -0.01em; }
.panel__voice p { margin-top: 0.35rem; font-size: 0.9375rem; color: var(--ink-2); }
.panel__closing {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.0313rem;
  line-height: 1.5;
}
.panel__closing span {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-deep);
}

.hl-list { list-style: none; display: grid; gap: 0; counter-reset: hl; }
.hl-list li {
  counter-increment: hl;
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  font-size: 1.0313rem;
  line-height: 1.55;
  color: var(--ink);
}
.hl-list li::before {
  content: "0" counter(hl);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--amber-deep);
  padding-top: 0.3rem;
}

/* ---------------------------------------------------------------- 23. motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__poster { animation: none; }
  .announce .dot { animation: none; opacity: 1; box-shadow: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; width: 100%; flex-wrap: wrap;
                    justify-content: center; padding-right: 0; }
  .marquee__track .partner[aria-hidden] { display: none; }
}

/* ---------------------------------------------------------------- 24. print */
@media print {
  .site-header, .topbar, .announce, .drawer, .cta-band, .socials, .rail-controls { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .phero { color: #000; min-height: auto; }
  .hero__media, .phero__media, .hero__scrim, .phero__scrim, .hero__motion { display: none; }
}
