/* ==========================================================================
   Neural Navigator — stylesheet
   Palette sampled directly from the organization's logo:
   navy #001B53 · steel #4C86B4 · sage #86B09B · paper #F4F2ED
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces */
  --paper:        #F4F2ED;   /* exact paper tone of the logo artwork */
  --paper-2:      #EDEAE2;
  --paper-3:      #E3DFD4;
  --navy:         #0B2050;
  --navy-deep:    #061634;
  --navy-600:     #1D3A6B;

  /* Ink */
  --ink:          #16202F;   /* 14.6:1 on paper */
  --ink-soft:     #55606F;   /*  5.7:1 on paper */
  --ink-faint:    #5F6673;   /*  5.2:1 — the quietest tone that still clears AA
                                 for small text; anything lighter fails 4.5:1 */
  --on-dark:      #EFEDE7;
  --on-dark-soft: #A8B4C8;

  /* Brand accents */
  --steel:        #4C86B4;
  /* --steel is a surface color; as small text it only reaches 3.5:1 on
     paper. This darker sibling clears AA on white, paper and paper-2. */
  --steel-text:   #2F6288;
  --sage:         #86B09B;
  --sage-deep:    #3F6B55;
  --clay:         #9E4B29;   /* single warm accent, used sparingly.
                                 5.4:1 on paper, 6.0:1 under white text */

  /* Lines */
  --line:         #D6D1C5;
  --line-strong:  #BDB6A6;
  --line-dark:    #24365F;

  /* Type */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Atkinson Hyperlegible", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Spacious scale (density 3/10) */
  --s1: .5rem;  --s2: 1rem;   --s3: 1.5rem; --s4: 2rem;
  --s5: 3rem;   --s6: 4rem;   --s7: 6rem;   --s8: 8rem;

  /* Tinted surfaces, mixed from the logo's own blues and greens.
     Kept very pale so body text still clears 4.5:1 on top of them. */
  --sage-tint:    #E9F0EC;
  --steel-tint:   #E6EEF4;

  /* Elevation. Shadows are warmed toward the paper (brown-black, not grey) —
     a neutral grey shadow over cream is what makes a page look cheap. */
  --shadow-sm: 0 1px 2px rgba(46,36,24,.05),  0 2px 6px rgba(46,36,24,.055);
  --shadow-md: 0 2px 4px rgba(46,36,24,.06),  0 12px 28px rgba(46,36,24,.09);
  --shadow-lg: 0 4px 10px rgba(6,22,52,.10),  0 18px 40px rgba(6,22,52,.14),
               0 40px 90px rgba(6,22,52,.16);
  /* 1px inset highlight so surfaces read as physical, not drawn */
  --inset-hi: inset 0 1px 0 rgba(255,255,255,.7);

  /* Gradients. Only two exist, both single-family and both taken from the
     logo artwork — never a multi-hue wash. */
  --grad-brand: linear-gradient(100deg, var(--steel), var(--sage));
  --grad-navy:  linear-gradient(158deg, #12295E 0%, var(--navy) 42%, var(--navy-deep) 100%);

  --wrap: 1180px;
  --measure: 68ch;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --dur: 200ms;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* The [hidden] attribute is only display:none in the UA stylesheet, so ANY
   author `display` beats it — .acard, .lib-grid and .lib-tools all set one,
   which silently broke article filtering and left the no-JS toolbar visible.
   Anything toggled via el.hidden depends on this rule holding. */
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;      /* 17px — editorial body */
  line-height: 1.7;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Paper grain. Purely decorative, sits above nothing interactive. */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  opacity: .036;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Grain on dark surfaces ----------
   Navy areas were flat gradients, which is most of why they read as plastic.
   A fine noise overlay gives them tooth. Sits above the fill, below content. */
.section--navy::after,
.panel::after,
.hero-visual::after,
.mission::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .075;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='d'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23d)'/%3E%3C/svg%3E");
}
.section--navy > *, .panel > *, .hero-visual > *, .mission > * { position: relative; z-index: 1; }

/* ---------- Logo watermark ----------
   The mark, very large and very faint, bleeding off a corner. Used sparingly —
   two or three placements across the whole site.

   NOTE: uses ::before, same as .has-rings / .has-nodes. Do not put .has-mark
   on the same element as either of those; pick one texture per surface.
   Paths are relative to THIS stylesheet (assets/css/), hence ../img/. */
.has-mark { position: relative; overflow: hidden; }
.has-mark > * { position: relative; z-index: 1; }
.has-mark::before {
  content: "";
  position: absolute;
  right: -5%; bottom: -20%;
  width: min(46%, 460px); aspect-ratio: 506 / 427;
  background: url("../img/logo-mark.png") no-repeat center / contain;
  opacity: .05;
  pointer-events: none; z-index: 0;
}
.section--navy.has-mark::before, .mission.has-mark::before, .panel.has-mark::before {
  background-image: url("../img/logo-mark-light.png");
  opacity: .07;
}

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -.011em;
  margin: 0 0 var(--s2);
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 5.2vw, 4rem); line-height: 1.06; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); line-height: 1.14; }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.3; font-weight: 500; }
h4 { font-size: 1.0625rem; font-family: var(--sans); font-weight: 700; letter-spacing: 0; }

p { margin: 0 0 var(--s2); }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--clay); }

strong { font-weight: 700; }
em { font-style: italic; }

.lede {
  font-size: clamp(1.125rem, 1.55vw, 1.3rem);
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 60ch;
}
.measure { max-width: var(--measure); }
.serif-em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--navy-600);
}

/* Mono eyebrow label with a sage tick */
.eyebrow {
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage-deep);
  display: flex; align-items: center; gap: .65rem;
  margin: 0 0 var(--s2);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px;
  background: var(--sage); flex: none;
}
.eyebrow--plain::before { display: none; }
/* On navy, the deep sage collapses to ~2.6:1 — use the light sage (6.5:1). */
.on-dark .eyebrow, .footer .eyebrow, .section--dark .eyebrow { color: var(--sage); }
.section--dark .eyebrow::before { background: var(--sage); }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
@media (min-width: 700px) { .wrap { width: min(100% - 5rem, var(--wrap)); } }

.section { padding-block: clamp(3.5rem, 7vw, var(--s7)); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, var(--s6)); }
.section--paper2 { background: var(--paper-2); }
/* Tinted bands carry a brand-gradient hairline on their top edge, so a change
   of surface reads as a deliberate seam rather than an accident. */
.section--sage  { background: var(--sage-tint);  border-top: 2px solid transparent; border-image: var(--grad-brand) 1; }
.section--steel { background: var(--steel-tint); border-top: 2px solid transparent; border-image: var(--grad-brand) 1; }
.section--dark {
  background: var(--navy);
  color: var(--on-dark-soft);
}
/* Dark band with dimension rather than a flat fill. */
.section--navy {
  background: var(--grad-navy);
  color: var(--on-dark-soft);
}
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.section--navy a { color: #fff; }
.section--navy a:hover { color: var(--sage); }
.section--navy .eyebrow { color: var(--sage); }
.section--navy .eyebrow::before { background: var(--sage); }
.section--navy .head-rule::after { background: rgba(255,255,255,.22); }
.section--navy .head-center p { color: var(--on-dark-soft); }

/* ---------- Logo-derived patterns ----------
   Concentric compass rings and a neural node lattice, drawn as SVG and held
   at very low opacity. They sit behind band backgrounds only — never dense
   enough under body copy to touch the contrast ratio. */
.has-rings::before,
.has-nodes::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.has-rings > *, .has-nodes > * { position: relative; z-index: 1; }

.has-rings::before {
  opacity: .5;
  background:
    repeating-radial-gradient(circle at 88% 12%,
      transparent 0 54px, rgba(11,32,80,.055) 54px 55px);
}
.section--navy.has-rings::before,
.panel.has-rings::before {
  opacity: 1;
  background:
    repeating-radial-gradient(circle at 88% 12%,
      transparent 0 54px, rgba(134,176,155,.10) 54px 55px);
}
/* Irregular node positions on a large tile: a regular dot-grid reads as graph
   paper and gives the repeat away, which is precisely the machine-made look
   we're avoiding. Kept faint enough to be felt rather than seen. */
.has-nodes::before {
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='190' height='190' viewBox='0 0 190 190'%3E%3Cg fill='none' stroke='%230B2050' stroke-opacity='.085' stroke-width='1'%3E%3Cpath d='M22 34 L104 18 L163 71 M22 34 L61 103 L138 152 M163 71 L138 152'/%3E%3C/g%3E%3Cg fill='%230B2050' fill-opacity='.13'%3E%3Ccircle cx='22' cy='34' r='2.6'/%3E%3Ccircle cx='104' cy='18' r='2'/%3E%3Ccircle cx='163' cy='71' r='2.6'/%3E%3Ccircle cx='61' cy='103' r='2'/%3E%3Ccircle cx='138' cy='152' r='2.6'/%3E%3Ccircle cx='31' cy='168' r='1.6'/%3E%3C/g%3E%3C/svg%3E");
}
.section--dark h2, .section--dark h3, .section--dark h1 { color: #fff; }
.section--dark a { color: #fff; }
.section--dark a:hover { color: var(--sage); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.rule--sage { background: var(--sage); opacity: .55; }
.rule--dark { background: var(--line-dark); }

.grid { display: grid; gap: var(--s4); }
@media (min-width: 860px) {
  .grid-2   { grid-template-columns: 1fr 1fr; }
  .grid-3   { grid-template-columns: repeat(3, 1fr); }
  .grid-7-5 { grid-template-columns: 7fr 5fr; gap: var(--s6); }
  .grid-5-7 { grid-template-columns: 5fr 7fr; gap: var(--s6); }
  .grid-4-8 { grid-template-columns: 4fr 8fr; gap: var(--s6); }
}
@media (min-width: 620px) and (max-width: 859px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}

.section-head { margin-bottom: var(--s5); max-width: 62ch; }
.section-head--wide { max-width: none; }

/* Section header with a rule running to the right edge */
.head-rule {
  display: flex; align-items: baseline; gap: var(--s3);
  margin-bottom: var(--s4);
}
.head-rule h2 { margin: 0; flex: none; }
.head-rule::after {
  content: ""; height: 1px; background: var(--line-strong);
  flex: 1 1 auto; transform: translateY(-.35em);
}
.section--dark .head-rule::after { background: var(--line-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .8rem 1.5rem;
  font-family: var(--sans);
  font-size: .95rem; font-weight: 700;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-600); color: #fff; }
.btn--clay { background: var(--clay); color: #fff; }
.btn--clay:hover { background: #853E20; color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--paper-3); color: var(--navy); border-color: var(--navy); }
.btn--onDark { background: transparent; color: #fff; border-color: rgba(255,255,255,.38); }
.btn--onDark:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.btn--sm { min-height: 44px; padding: .55rem 1rem; font-size: .875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); }

/* Text link with arrow */
.arrow-link {
  font-family: var(--sans); font-weight: 700; font-size: .95rem;
  display: inline-flex; align-items: center; gap: .45rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color var(--dur) var(--ease), gap var(--dur) var(--ease);
}
.arrow-link:hover { border-color: var(--clay); gap: .7rem; }
.arrow-link svg { width: 15px; height: 15px; }

/* Placeholder links — set in assets/js/links.js
   Buttons get a visible flag; inline text links get a quieter dotted rule so
   list layouts (footer, nav) don't get shoved around by a floating badge. */

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(244,242,237,.94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s3);
  min-height: 74px;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
.brand img { width: 42px; height: auto; }
.brand__name {
  font-family: var(--sans); font-weight: 700;
  font-size: .95rem; letter-spacing: .01em;
  color: var(--navy); line-height: 1.1;
}
.brand__name span { display: block; font-weight: 400; color: var(--ink-soft); font-size: .78rem; letter-spacing: .04em; }

/* Pill tabs. Always visible at every width — no hamburger anywhere.
   Below 900px the header wraps to two rows and the strip scrolls sideways,
   so the shape of the site stays readable on a phone. */
.tabs {
  display: flex; align-items: center; gap: .3rem;
  overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: none; -ms-overflow-style: none;
  padding: .25rem;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
  flex: none;
  display: inline-flex; align-items: center;
  min-height: 40px; padding: .5rem .95rem;
  font-size: .9rem; white-space: nowrap;
  color: var(--ink); text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.tabs a:hover { background: var(--paper-3); color: var(--navy); }
.tabs a[aria-current="page"] { background: var(--navy); color: #fff; font-weight: 700; }
.tabs a[aria-current="page"]:hover { background: var(--navy-600); color: #fff; }

.header__cta { flex: none; }

@media (max-width: 900px) {
  .header__bar {
    flex-wrap: wrap;
    min-height: 0;
    padding-block: .7rem;
    gap: .5rem var(--s2);
  }
  .brand { order: 1; }
  .header__cta { order: 2; }
  .tabs {
    order: 3;
    width: 100%;
    /* bleed to the screen edges so the scroll feels intentional */
    margin-inline: calc(-1 * var(--s2));
    padding-inline: var(--s2);
    border-top: 1px solid var(--line);
    padding-top: .55rem;
  }
}

@media (max-width: 560px) {
  /* Four readable tabs won't fit a 375px screen, so the strip scrolls and the
     last tab deliberately peeks past the edge as the affordance. Tightened
     here so more of it shows. */
  .tabs a { padding: .5rem .7rem; font-size: .875rem; }
}

/* ---------- Hero ----------
   The split hero gives the headline a narrower column than a full-width one,
   so cap it lower than the global h1 to stop it fragmenting into four lines. */
.hero-split h1 {
  font-size: clamp(2.2rem, 4.1vw, 3.4rem);
  margin-bottom: var(--s3);
}

/* Ledger — a compact spec panel. Deliberately reads like a form. */
.ledger {
  align-self: start;         /* don't stretch to the height of the hero column */
  background: var(--paper-2);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--navy);
  padding: var(--s3);
}
.ledger__head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: var(--s2);
  font-family: var(--mono); font-size: .7rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-soft);
  padding-bottom: .75rem; margin-bottom: .75rem;
  border-bottom: 1px solid var(--line);
}
.ledger__row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: var(--s2);
  padding: .6rem 0;
  border-bottom: 1px dotted var(--line-strong);
  font-size: .9375rem;
}
.ledger__row:last-of-type { border-bottom: 0; }
.ledger__row dt { color: var(--ink-soft); }
.ledger__row dd {
  margin: 0; font-family: var(--mono); font-size: .875rem;
  font-weight: 500; color: var(--navy); text-align: right;
}
.ledger dl { margin: 0; }
.ledger__foot {
  margin-top: var(--s2); padding-top: var(--s2);
  border-top: 1px solid var(--line);
  font-size: .8125rem; color: var(--ink-faint); line-height: 1.55;
}

/* ---------- Stat band ---------- */
.stats { display: grid; gap: var(--s4); }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); gap: var(--s3); } }
.stat { border-top: 2px solid var(--sage); padding-top: var(--s2); }
.stat__num {
  font-family: var(--serif); font-size: clamp(2.1rem, 3.6vw, 3rem);
  line-height: 1; color: var(--navy); font-weight: 400;
  font-variant-numeric: tabular-nums;
  display: block; margin-bottom: .5rem;
}
.section--dark .stat__num { color: #fff; }
.section--dark .stat { border-top-color: var(--sage); }
.stat__label { font-size: .9rem; color: var(--ink-soft); line-height: 1.5; }
.section--dark .stat__label { color: var(--on-dark-soft); }

/* ---------- Editorial numbered list ---------- */
.figures { list-style: none; margin: 0; padding: 0; counter-reset: fig; }
.figures > li {
  counter-increment: fig;
  display: grid; grid-template-columns: 2.6rem 1fr; gap: var(--s2);
  padding: var(--s3) 0;
  border-top: 1px solid var(--line);
}
.figures > li:last-child { border-bottom: 1px solid var(--line); }
.figures > li::before {
  content: counter(fig, decimal-leading-zero);
  font-family: var(--mono); font-size: .8rem; font-weight: 500;
  color: var(--sage-deep); padding-top: .3rem;
  font-variant-numeric: tabular-nums;
}
.figures h3 { margin-bottom: .35rem; }
.figures p { color: var(--ink-soft); font-size: .975rem; margin: 0; max-width: 62ch; }

/* ---------- Editorial column (used for the three branches / tiers) ---------- */
.col-item { border-top: 2px solid var(--navy); padding-top: var(--s2); }
.col-item .eyebrow { margin-bottom: .6rem; }
.col-item h3 { margin-bottom: .5rem; }
.col-item p { color: var(--ink-soft); font-size: .975rem; }
.col-item--sage { border-top-color: var(--sage); }
.col-item--steel { border-top-color: var(--steel); }
.col-item--clay { border-top-color: var(--clay); }

/* ---------- Cards (kept flat + bordered; no drop-shadow "app" look) ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm), var(--inset-hi);
  padding: var(--s3);
  display: flex; flex-direction: column; gap: .75rem;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
a.card:hover { box-shadow: var(--shadow-md), var(--inset-hi); transform: translateY(-2px); }
.card--onPaper2 { background: #fff; }
a.card { text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--navy); background: var(--paper-2); }
a.card:hover h3 { color: var(--clay); }
.card h3 { margin: 0; }
.card p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.card__meta {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-faint);
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
}
.card__meta .dot { width: 3px; height: 3px; background: var(--line-strong); border-radius: 50%; }
.card__thumb {
  aspect-ratio: 16 / 9;
  background: var(--paper-3);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  margin: calc(-1 * var(--s3)) calc(-1 * var(--s3)) 0;
  border-inline: 0; border-top: 0;
  position: relative;
}
.card__thumb .play {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy); display: grid; place-items: center;
}
.card__thumb .play svg { width: 18px; height: 18px; fill: #fff; margin-left: 3px; }

/* Tag pills */
.tag {
  display: inline-block;
  font-family: var(--mono); font-size: .65rem; letter-spacing: .1em;
  text-transform: uppercase;
  padding: .25rem .5rem;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft); border-radius: 2px;
}
.tag--sage { border-color: var(--sage); color: var(--sage-deep); }
.tag--clay { border-color: var(--clay); color: var(--clay); }

/* ---------- Include / exclude lists ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.checklist li {
  display: grid; grid-template-columns: 20px 1fr; gap: .75rem;
  align-items: start; font-size: .975rem;
}
.checklist svg { width: 18px; height: 18px; margin-top: .28rem; flex: none; }
.checklist--yes svg { color: var(--sage-deep); }
.checklist--no svg { color: var(--clay); }
.checklist--no li { color: var(--ink-soft); }

.panel-no {
  background: var(--paper-3);
  border-left: 3px solid var(--clay);
  padding: var(--s3);
}

/* ---------- Prose (articles) ---------- */
.prose { max-width: var(--measure); }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: var(--s5); }
.prose h3 { margin-top: var(--s4); }
.prose > *:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 var(--s2); }
.prose li { margin-bottom: .5rem; }
.prose blockquote {
  margin: var(--s4) 0;
  padding-left: var(--s3);
  border-left: 2px solid var(--sage);
  font-family: var(--serif); font-size: 1.2rem; font-style: italic;
  color: var(--navy-600); line-height: 1.55;
}
.prose figure { margin: var(--s4) 0; }
.prose figcaption {
  font-size: .85rem; color: var(--ink-faint); margin-top: .6rem;
  padding-left: .8rem; border-left: 2px solid var(--line-strong);
}
.prose hr { border: 0; height: 1px; background: var(--line); margin: var(--s5) 0; }

/* ---------- FAQ / disclosure ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: var(--s3) 2.5rem var(--s3) 0;
  position: relative;
  font-family: var(--serif); font-size: 1.2rem; color: var(--navy);
  line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: .4rem; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 1.35rem; color: var(--sage-deep);
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--clay); }
.faq__body { padding: 0 0 var(--s3); max-width: var(--measure); color: var(--ink-soft); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  position: relative;
  padding: 0 0 var(--s4) var(--s4);
  border-left: 1px solid var(--line-strong);
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -6px; top: .45rem;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--line-strong);
}
.timeline li[data-state="done"]::before { background: var(--sage); border-color: var(--sage-deep); }
.timeline li[data-state="active"]::before { background: var(--clay); border-color: var(--clay); }
.timeline__when {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-faint); display: block; margin-bottom: .3rem;
}
.timeline h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.timeline p { color: var(--ink-soft); font-size: .95rem; margin: 0; max-width: 60ch; }

/* ---------- Pull quote / callout ---------- */
.callout {
  border-top: 2px solid var(--navy);
  border-bottom: 1px solid var(--line);
  padding: var(--s3) 0;
}
.callout p {
  font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  line-height: 1.35; color: var(--navy); font-weight: 300;
  max-width: 30ch;
}
.callout cite {
  display: block; margin-top: var(--s2);
  font-family: var(--mono); font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase; font-style: normal; color: var(--ink-soft);
}

/* Note / disclosure box */
.note {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--steel);
  padding: var(--s3);
  font-size: .95rem;
  color: var(--ink-soft);
}
.note strong { color: var(--ink); }
.note--sage { border-left-color: var(--sage-deep); }
.note--clay { border-left-color: var(--clay); }

/* ---------- Page header ---------- */
.page-head {
  padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}
.crumb {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-faint);
  margin-bottom: var(--s2);
}
.crumb a { color: var(--ink-soft); text-decoration: none; }
.crumb a:hover { color: var(--clay); text-decoration: underline; }
.crumb span { margin-inline: .5rem; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deep);
  color: var(--on-dark-soft);
  padding-block: var(--s6) var(--s4);
  font-size: .925rem;
}
.footer h4 {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--sage);
  font-weight: 500; margin-bottom: var(--s2);
}
.footer a { color: var(--on-dark-soft); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; gap: var(--s4); }
@media (min-width: 560px)  { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px)  { .footer__grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; } }
@media (min-width: 1080px) { .footer__grid { grid-template-columns: 1.7fr 1fr 1.15fr 1fr 1fr; } }
.footer__note {
  margin-top: .85rem;
  font-size: .78rem; line-height: 1.5;
  color: #8494AE;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer__brand img { width: 190px; margin-bottom: var(--s2); }
.footer__brand p { color: var(--on-dark-soft); max-width: 34ch; font-size: .9rem; }
.footer__bottom {
  margin-top: var(--s5); padding-top: var(--s3);
  border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3);
  justify-content: space-between; align-items: center;
  font-size: .8125rem; color: #7C8AA3;
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* ==========================================================================
   Content components
   Each block below is deliberately a DIFFERENT shape. Repeating one uniform
   three-across card grid down a whole page is the tell of a templated site,
   so articles, videos and pillars each get their own treatment.
   ========================================================================== */

/* ---------- Eyebrow, pill variant ---------- */
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--sage-deep);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: .4rem .85rem;
  margin-bottom: var(--s3);
}
.eyebrow-pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--sage); flex: none;
}

/* ---------- Split hero ---------- */
.hero-split { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 900px) { .hero-split { grid-template-columns: 6.5fr 5fr; gap: var(--s6); } }

.hero-visual {
  background: var(--grad-navy);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3.25rem);
  display: grid; place-items: center;
  position: relative;
  min-height: 300px;
  overflow: hidden;
}
/* Faint compass rings — drawn, not a gradient. */
.hero-visual::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-radial-gradient(circle at 50% 50%,
      transparent 0 38px, rgba(134,176,155,.10) 38px 39px);
  pointer-events: none;
}
.hero-visual img { width: min(72%, 260px); position: relative; }
.hero-visual figcaption {
  position: relative;
  margin-top: var(--s3);
  font-family: var(--mono); font-size: .66rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--sage); text-align: center;
}
/* The motto is a statement, not metadata — the caption's tracked .66rem mono
   undersells it. Higher specificity than the rule above, so that rule stays
   intact for any ordinary caption. */
.hero-visual figcaption.hero-motto {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  letter-spacing: .01em;
  text-transform: none;
  color: var(--on-dark);
  line-height: 1.4;
  text-wrap: balance;
}

/* ---------- Pillars: three unequal columns, staggered ---------- */
.pillars { display: grid; gap: var(--s3); }
@media (min-width: 820px) {
  .pillars { grid-template-columns: 5fr 4.4fr 4fr; align-items: start; }
  .pillars > :nth-child(2) { margin-top: var(--s4); }
  .pillars > :nth-child(3) { margin-top: calc(var(--s4) * 2); }
}
.pillar {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s3);
  background: var(--paper-2);
  box-shadow: var(--shadow-sm), var(--inset-hi);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
  position: relative; overflow: hidden;
}
.pillar:hover { box-shadow: var(--shadow-md), var(--inset-hi); transform: translateY(-2px); }
/* Brand gradient as a thin cap rule — one of only three places it appears. */
.pillar::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad-brand);
}
.pillar--sage  { background: #E7EFEA; border-color: #C9DCD1; }
.pillar--steel { background: #E4EDF4; border-color: #C3D8E7; }
.pillar--clay  { background: #F3E7E1; border-color: #E1C8BA; }
.pillar__no {
  font-family: var(--serif); font-size: 2.8rem; line-height: 1;
  color: var(--navy); display: block; margin-bottom: .5rem;
  font-variant-numeric: tabular-nums;
}
.pillar h3 { margin-bottom: .5rem; }
.pillar p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ---------- Centered section header ---------- */
.head-center { text-align: center; max-width: 46ch; margin: 0 auto var(--s5); }
.head-center .eyebrow { justify-content: center; }
.head-center h2 { margin-bottom: var(--s2); }
.head-center p { color: var(--ink-soft); margin: 0 auto; }
.head-center .arrow-link { margin-top: var(--s3); }

/* ---------- Feature article: wide, horizontal, type-led ---------- */
.feature {
  display: grid; gap: var(--s3);
  border-top: 2px solid var(--navy);
  border-bottom: 1px solid var(--line);
  padding: var(--s4) 0;
  text-decoration: none; color: inherit;
}
@media (min-width: 820px) {
  .feature { grid-template-columns: 7fr 5fr; gap: var(--s6); align-items: start; }
}
.feature h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.12;
  margin: .5rem 0 0;
  transition: color var(--dur) var(--ease);
}
.feature:hover h3 { color: var(--clay); }
.feature p { color: var(--ink-soft); margin: 0; }
.feature__side { display: flex; flex-direction: column; gap: var(--s2); }

/* ---------- Stack list: hairline rows, no boxes ---------- */
.stack { display: grid; }
.stack > * {
  display: grid; gap: .35rem;
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit;
}
.stack > *:first-child { border-top: 1px solid var(--line); }
.stack h3 {
  font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.25;
  margin: 0; transition: color var(--dur) var(--ease);
}
.stack a:hover h3 { color: var(--clay); }
.stack p { color: var(--ink-soft); font-size: .925rem; margin: 0; }

/* ---------- Media row: thumb left, text right ---------- */
.media-row {
  display: grid; gap: var(--s3);
  align-items: center;
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit;
}
@media (min-width: 660px) { .media-row { grid-template-columns: 260px 1fr; gap: var(--s4); } }
.media-row:first-of-type { border-top: 1px solid var(--line); }
.media-row__thumb {
  aspect-ratio: 16 / 9;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.media-row__thumb .play {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.5);
  display: grid; place-items: center;
  transition: background var(--dur) var(--ease);
}
.media-row__thumb .play svg { width: 16px; height: 16px; fill: #fff; margin-left: 3px; }
.media-row:hover .media-row__thumb .play { background: rgba(255,255,255,.3); }

/* Not yet published: keep the card, drop every cue that says "click me". */
.media-row--soon { cursor: default; }
.media-row--soon:hover .media-row__thumb .play { background: rgba(255,255,255,.16); }
.media-row--soon:hover h3 { color: inherit; }
.media-row h3 { font-size: 1.25rem; margin: .35rem 0 .4rem; transition: color var(--dur) var(--ease); }
.media-row:hover h3 { color: var(--clay); }
.media-row p { color: var(--ink-soft); font-size: .925rem; margin: 0; }

/* ---------- Flat CTA panel (replaces the reference's gradient block) ---------- */
.panel {
  background: var(--grad-navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: clamp(2.25rem, 5vw, 4rem);
  color: var(--on-dark-soft);
  display: grid; gap: var(--s3);
  position: relative; overflow: hidden;
}
@media (min-width: 860px) {
  .panel { grid-template-columns: 1.4fr 1fr; gap: var(--s6); align-items: center; }
}
.panel h2 { color: #fff; margin: 0; }
.panel p { margin: 0; max-width: 52ch; }
.panel .btn-row { justify-content: flex-start; }

/* A quiet one-line version for the foot of the home page: donations are a
   plus here, not the point, so this gets a rule and a text button — nothing
   that competes with the chapter CTA above it. */
.support-strip {
  display: grid; gap: var(--s3);
  border-top: 1px solid var(--line);
  padding-top: var(--s4);
}
@media (min-width: 760px) {
  .support-strip {
    grid-template-columns: 1fr auto;
    align-items: center; gap: var(--s5);
  }
}
.support-strip h3 { margin: 0 0 .3rem; font-size: 1.15rem; }
.support-strip p { margin: 0; color: var(--ink-soft); font-size: .925rem; max-width: 58ch; }
.support-strip .btn { justify-self: start; }

/* ---------- Article library: toolbar, grid, cards ----------
   Format borrowed from a reference publications page: a meta strip riding
   above a bordered body, in a three-column grid, with search and counted
   filter chips. Everything below is built from the site's own tokens. */
.lib-tools {
  display: grid; gap: var(--s4);
  padding-bottom: var(--s4);
  margin-bottom: var(--s4);
  border-bottom: 1px solid var(--line);
}

.lib-search { display: grid; gap: .4rem; max-width: 30rem; }
.lib-search label {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-faint);
}
.lib-search input {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: .7rem .9rem; min-height: 48px; width: 100%;
}
.lib-search input::placeholder { color: var(--ink-faint); }
.lib-search input:focus-visible { border-color: var(--steel); }

.lib-facet { display: grid; gap: .55rem; }
.lib-facet__label {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-faint); margin: 0;
}
.lib-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.lib-chip {
  font-family: var(--sans); font-size: .85rem; color: var(--ink-soft);
  background: transparent; border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  padding: .45rem .85rem; min-height: 40px;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.lib-chip:hover { border-color: var(--navy); color: var(--navy); }
.lib-chip[aria-pressed="true"] {
  background: var(--navy); border-color: var(--navy);
  color: #fff; font-weight: 700;
}
.lib-chip__n {
  font-family: var(--mono); font-size: .72rem; margin-left: .4rem;
  color: inherit;
}
/* A facet with nothing behind it stays visible but reads as unavailable. */
.lib-chip[disabled] { opacity: .4; cursor: default; }
.lib-chip[disabled]:hover { border-color: var(--line-strong); color: var(--ink-soft); }

.lib-count {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-faint);
  margin: 0 0 var(--s3); padding-bottom: .5rem;
  border-bottom: 1px solid var(--line);
}

.lib-grid {
  display: grid; gap: var(--s4);
  grid-template-columns: 1fr;
}
@media (min-width: 620px)  { .lib-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .lib-grid { grid-template-columns: repeat(3, 1fr); } }

.acard {
  display: flex; flex-direction: column; gap: .55rem;
  text-decoration: none; color: inherit;
}
/* Reserve two lines so every card body starts at the same height, whatever
   the topic name's length — otherwise the grid's boxes step up and down. */
.acard__meta {
  display: flex; align-items: flex-start; flex-wrap: wrap; gap: .45rem;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-faint);
  margin: 0; min-height: 2.6em; line-height: 1.3;
}
.acard__dot { margin-top: .45em; }
.acard__type { color: var(--steel-text); font-weight: 500; }
.acard__dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--line-strong); flex: none;
}
.acard__body {
  flex: 1;
  display: flex; flex-direction: column; gap: .5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--inset-hi);
  padding: var(--s3);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.acard__body h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.2rem; line-height: 1.25; margin: 0;
  color: var(--navy);
}
.acard__deck { color: var(--ink-soft); font-size: .9rem; margin: 0; }
.acard__status { margin: auto 0 0; }
.acard__cta {
  margin: auto 0 0;
  display: flex; align-items: center; gap: .35rem;
  font-size: .875rem; font-weight: 700; color: var(--clay);
}
.acard__cta svg { width: 15px; height: 15px; }
.acard__time {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .06em;
  color: var(--ink-faint); font-weight: 400; margin-left: auto;
}

a.acard:hover .acard__body {
  border-color: var(--navy);
  box-shadow: var(--shadow-md), var(--inset-hi);
}
a.acard:hover .acard__cta { gap: .6rem; }
a.acard:focus-visible { outline: none; }
a.acard:focus-visible .acard__body {
  outline: 3px solid var(--steel); outline-offset: 3px;
}
/* Not published yet: keep the card, drop every cue that says "click me". */
.acard--soon .acard__body { background: var(--paper-2); }

.lib-empty {
  text-align: center;
  padding: var(--s6) var(--s3);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}
.lib-empty h3 { margin: var(--s3) 0 .4rem; }
.lib-empty p { color: var(--ink-soft); margin: 0 0 var(--s3); }
.lib-empty .btn-row { justify-content: center; }

/* ---------- Form call-to-action ----------
   The forms themselves now live in Google Forms. This block sets expectations
   before the visitor leaves the site: what they'll be asked, how long it takes,
   and a way through that isn't the form at all. */
.form-cta {
  display: grid; gap: var(--s4);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm), var(--inset-hi);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
}
@media (min-width: 820px) {
  .form-cta { grid-template-columns: 1.35fr 1fr; gap: var(--s5); align-items: start; }
}
.form-cta h3 { margin: 0 0 var(--s3); font-size: 1.1rem; }
.form-cta__list { list-style: none; margin: 0 0 var(--s3); padding: 0; display: grid; gap: .55rem; }
.form-cta__list li {
  position: relative; padding-left: 1.15rem;
  font-size: .925rem; color: var(--ink-soft); line-height: 1.55;
}
.form-cta__list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--steel);
}
.form-cta__note { font-size: .8125rem; color: var(--ink-faint); margin: 0; line-height: 1.6; }
.form-cta__action {
  display: grid; gap: var(--s3); justify-items: start;
  border-top: 1px solid var(--line); padding-top: var(--s4);
}
@media (min-width: 820px) {
  .form-cta__action {
    border-top: 0; border-left: 1px solid var(--line);
    padding: 0 0 0 var(--s5);
  }
}
.form-cta__alt { font-size: .8125rem; color: var(--ink-faint); margin: 0; line-height: 1.6; }

/* ---------- Support / donate ----------
   Deliberately light: it follows a full navy band on partners.html, and a
   second dark block in a row would read as one long slab. The brand-gradient
   cap is the only ornament — this is a modest ask, not a fundraising page. */
.support {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md), var(--inset-hi);
  padding: clamp(2rem, 4.5vw, 3.5rem);
  overflow: hidden;
  display: grid; gap: var(--s5);
}
.support::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-brand);
}
@media (min-width: 900px) {
  .support { grid-template-columns: 1.25fr .9fr; gap: var(--s6); align-items: start; }
}
.support h2 { margin: 0 0 var(--s3); }
.support__body { color: var(--ink-soft); max-width: 50ch; margin: 0 0 var(--s3); }

/* The one place the site states its status — sited where someone is deciding
   to give, so it functions as a disclosure rather than an apology. */
.support__disclosure {
  border-left: 3px solid var(--clay);
  padding: .55rem 0 .55rem .9rem;
  margin: 0 0 var(--s4);
  font-size: .875rem;
  color: var(--ink-faint);
  max-width: 46ch;
}

.support__aside {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: var(--s4);
}
.support__aside-title {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-faint);
  margin: 0 0 var(--s3);
}
.support__list { list-style: none; margin: 0 0 var(--s3); padding: 0; }
.support__list li {
  display: flex; justify-content: space-between; gap: var(--s2);
  padding: .6rem 0; border-bottom: 1px dotted var(--line-strong);
  font-size: .9rem;
}
.support__list li:last-child { border-bottom: 0; }
.support__list li span:last-child {
  font-family: var(--mono); font-size: .78rem; color: var(--ink-faint);
  white-space: nowrap;
}
.support__note { font-size: .82rem; color: var(--ink-faint); margin: 0; }

/* ---------- Mission block ----------
   An inset rounded panel rather than a full-bleed band. A full-width dark strip
   mid-page reads as a footer and makes the page look finished; an inset block
   with paper visible above and below cannot. */
.mission {
  background: var(--grad-navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: clamp(2.5rem, 6vw, 5rem);
  color: var(--on-dark-soft);
  position: relative; overflow: hidden;
}
.mission .eyebrow { color: var(--sage); margin-bottom: var(--s3); }
.mission .eyebrow::before { background: var(--sage); }
.mission__statement {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.12;
  letter-spacing: -.015em;
  color: #fff;
  max-width: 20ch;
  margin: 0 0 var(--s4);
  text-wrap: balance;
}
.mission__note { max-width: 56ch; margin: 0; }

/* One deliberate overlap: the hero card crosses into the band below it. */
.hero-overlap { position: relative; z-index: 2; }
@media (min-width: 900px) {
  .hero-overlap { margin-bottom: calc(-1 * var(--s5)); }
}

/* ---------- Editorial depth ---------- */

/* Brand-gradient hairline. The second of the three gradient uses. */
.rule--brand { height: 3px; background: var(--grad-brand); border: 0; border-radius: 2px; }

/* Drop cap on the opening paragraph of an article. */
.prose > p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 3.6em;
  line-height: .82;
  font-weight: 400;
  color: var(--navy);
  float: left;
  padding: .06em .09em 0 0;
}

.pullquote {
  margin: var(--s5) 0;
  padding: var(--s3) 0;
  border-top: 3px solid transparent;
  border-image: var(--grad-brand) 1;
  border-bottom: 1px solid var(--line);
}
.pullquote p {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(1.35rem, 2.6vw, 1.95rem); line-height: 1.3;
  color: var(--navy); max-width: 32ch; margin: 0;
}

/* Timeline-style update entries for the news page. */
.updates { display: grid; gap: 0; }
.update {
  display: grid; gap: var(--s2);
  padding: var(--s4) 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 760px) { .update { grid-template-columns: 8rem 1fr; gap: var(--s4); } }
.update:first-child { border-top: 1px solid var(--line); }
.update__date {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--sage-deep);
  padding-top: .35rem;
}
.update h3 { margin-bottom: .4rem; }
.update p { color: var(--ink-soft); margin: 0; max-width: 62ch; }

/* Honest empty state — used where we have nothing real to show yet. */
.empty {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper-2);
  padding: clamp(2rem, 4vw, 3.25rem);
  text-align: center;
}
.empty__mark { width: 54px; margin: 0 auto var(--s3); opacity: .35; }
.empty h3 { margin-bottom: .6rem; }
.empty p { color: var(--ink-soft); max-width: 48ch; margin: 0 auto; }
.empty .btn-row { justify-content: center; margin-top: var(--s3); }

/* Resource link list — external, with a persistent outbound marker. */
.reslist { display: grid; gap: 0; }
.reslist a {
  display: grid; gap: .3rem;
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit;
}
.reslist a:first-child { border-top: 1px solid var(--line); }
.reslist h3 {
  display: flex; align-items: baseline; gap: .5rem;
  margin: 0; font-size: 1.15rem;
  transition: color var(--dur) var(--ease);
}
.reslist a:hover h3 { color: var(--clay); }
.reslist h3 svg { width: 13px; height: 13px; flex: none; opacity: .55; }
.reslist p { color: var(--ink-soft); font-size: .925rem; margin: 0; }

/* ---------- Accessibility ---------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff;
  padding: .8rem 1.2rem; font-weight: 700; text-decoration: none;
}
.skip:focus { left: .5rem; top: .5rem; }

:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--steel);
  outline-offset: 2px;
  border-radius: 2px;
}
.section--dark :where(a, button):focus-visible,
.footer :where(a, button):focus-visible { outline-color: var(--sage); }

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

/* ---------- Motion ---------- */
/* Scoped to .js so that if scripting is unavailable or main.js throws, this
   content renders normally instead of staying invisible forever. */
.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.is-in { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- Print ---------- */
@media print {
  .header, .footer, body::before { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  a { text-decoration: underline; }
}
