/* ──────────────────────────────────────────────────────────────
   CivicCapstone — Civic Grid design system (shared)
   White + brand-blue palette derived from the C-with-tree logo.
   Institutional, structured, hairline rules.
   ────────────────────────────────────────────────────────────── */
:root {
  /* From logo */
  --navy:        #1c3a5e;   /* the C outline */
  --navy-dark:   #112740;   /* deeper navy ink for headlines */
  --navy-soft:   #2c5285;
  --blue:        #3e85c5;   /* the tree — primary accent */
  --blue-hover:  #2f6ca8;
  --blue-soft:   #e8f1fa;   /* very light blue tint */
  --blue-tint:   #f4f8fc;   /* near-white blue tint for section bands */

  /* Neutrals */
  --bg:        #ffffff;
  --bg-alt:    #f6f8fb;
  --paper:     #ffffff;
  --ink:       var(--navy-dark);
  --text:      #2e3b54;
  --muted:     #6b7895;
  --line:      #e2e8f0;
  --line-soft: #eef2f7;

  /* Type */
  --font-display: "Inter Tight", system-ui, sans-serif;
  --font-body:    "Inter Tight", system-ui, sans-serif;
  --font-serif:   "Instrument Serif", "Times New Roman", serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
}

/* Sections with ids clear the sticky nav when scrolled to */
[id] { scroll-margin-top: 96px; }

/* ── Mono utilities ──────────────────────────────────── */
.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
}
.mono.blue { color: var(--blue); }
.mono.dark { color: var(--ink); }
.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--blue);
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
}
.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.1px;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn.solid {
  background: var(--ink);
  color: #fff;
}
.btn.solid:hover { background: var(--navy); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn.ghost:hover { border-color: var(--ink); }
.btn.blue {
  background: var(--blue);
  color: #fff;
}
.btn.blue:hover { background: var(--blue-hover); }
.btn.inv {
  background: #fff;
  color: var(--ink);
}
.btn .arr { font-size: 11px; opacity: 0.7; }

/* ── Top nav (tabbed feel) ───────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 56px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--ink);
  text-decoration: none;
}
.nav-brand .mk {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-brand .mk img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nav-links {
  display: flex;
  gap: 2px;
  justify-content: center;
  flex-wrap: nowrap;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
  letter-spacing: -0.1px;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover {
  color: var(--ink);
  background: var(--bg-alt);
}
.nav-links a.active {
  color: var(--ink);
  background: var(--blue-soft);
  position: relative;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -10px;
  height: 2px;
  background: var(--blue);
}
.nav-cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  width: 42px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span { left: 11px; top: 50%; transform: translateY(-50%); }
/* before/after are positioned relative to the span, so left:0 keeps them aligned */
.nav-toggle span::before { left: 0; top: -6px; }
.nav-toggle span::after { left: 0; top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
}
.nav-drawer.open { display: block; }
.nav-drawer .nav-drawer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-drawer a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 13px 10px;
  border-bottom: 1px solid var(--line-soft);
}
.nav-drawer a.cta {
  margin-top: 14px;
  border: 0;
  text-align: center;
}

/* ── Page header (used on inner pages) ───────────────── */
.page-header {
  padding: 96px 0 64px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.page-header .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
}
.page-header h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 88px;
  letter-spacing: -3.6px;
  line-height: 0.98;
  margin: 24px 0 0;
  color: var(--ink);
  max-width: 1100px;
}
.page-header h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--blue);
}
.page-header .sub {
  margin-top: 32px;
  font-size: 21px;
  line-height: 1.45;
  color: var(--text);
  max-width: 720px;
}

/* ── Section frame ───────────────────────────────────── */
section.band {
  padding: 112px 0;
  border-bottom: 1px solid var(--line);
}
section.band.tint { background: var(--blue-tint); }
section.band.navy-band {
  background: var(--ink);
  color: #fff;
  border: 0;
}
.sec-head {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "eyebrow note"
    "title   title";
  gap: 22px 48px;
  align-items: start;
  margin-bottom: 48px;
}
.sec-head .label-stack {
  grid-area: eyebrow;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sec-head h2 { grid-area: title; }
.sec-head .note { grid-area: note; }
.sec-head .label-stack .num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -1.8px;
  color: var(--blue);
  line-height: 1;
}
.sec-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 56px;
  letter-spacing: -2px;
  line-height: 1.02;
  color: var(--ink);
}
.sec-head h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--blue);
}
.sec-head .note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  line-height: 1.6;
}
.navy-band .sec-head h2 { color: #fff; }
.navy-band .sec-head h2 em { color: var(--blue); }
.navy-band .sec-head .label-stack .num { color: var(--blue); }
.navy-band .sec-head .note { color: rgba(255,255,255,0.55); }

/* ── Cards ───────────────────────────────────────────── */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card .index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--blue);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

/* ── Photo placeholders ──────────────────────────────── */
.ph {
  background: repeating-linear-gradient(135deg, var(--blue-soft) 0 14px, #d6e4f1 14px 28px);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}
.ph .lab {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(28,58,94,0.6);
}
.ph.portrait {
  background: repeating-linear-gradient(135deg, #c9d8e8 0 14px, #aac1d8 14px 28px);
}

/* ── Footer ──────────────────────────────────────────── */
footer.f {
  background: var(--ink);
  color: #fff;
  padding: 96px 0 32px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.footer-brand .mk {
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}
.footer-brand .mk img { width: 100%; height: 100%; object-fit: contain; }
.footer-brand .name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.2px;
}
.footer-top .signoff {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -1.2px;
  line-height: 1.15;
  max-width: 360px;
}
.footer-top .signoff em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--blue);
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 18px;
  font-weight: 400;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.footer-col a { color: inherit; text-decoration: none; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* ── Hero ────────────────────────────────────────────── */
.hero { padding: 56px 0 0; }
.hero-top {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 56px;
}
.hero-top .status {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink);
}
.hero-top .meta {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted);
}
.hero-grid {
  display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: flex-end;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 96px; letter-spacing: -4px; line-height: 0.96;
  margin: 0; color: var(--ink);
}
.hero h1 em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  color: var(--blue); letter-spacing: -2px;
}
.hero .deck {
  font-size: 19px; line-height: 1.5; color: var(--text);
  margin: 32px 0 0; max-width: 560px;
}
.hero .hero-ph {
  aspect-ratio: 4 / 5;
  background: #1c3a5e url("/hero.jpg") center 38% / cover no-repeat;
  border-radius: 8px; position: relative; overflow: hidden;
}
.hero .hero-ph::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,34,64,0) 35%, rgba(14,34,64,0.6) 100%);
  pointer-events: none;
}
.hero .hero-ph .lab {
  position: absolute; left: 16px; bottom: 14px; z-index: 1;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.8px; text-transform: uppercase; color: rgba(255,255,255,0.85);
}
.hero .hero-ph .tag {
  position: absolute; right: 16px; top: 16px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: #fff; background: rgba(28,58,94,0.7);
  padding: 6px 10px; border-radius: 3px;
}
.hero-cta-row {
  margin-top: 48px; display: flex; gap: 14px; align-items: center;
}

/* Proof bar */
.proof-bar {
  margin-top: 80px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
}
.proof-bar .cell { display: flex; flex-direction: column; gap: 8px; }
.proof-bar .cell .k {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted);
}
.proof-bar .cell .v {
  font-family: var(--font-display); font-size: 22px;
  font-weight: 500; letter-spacing: -0.5px; color: var(--ink);
}
.proof-bar .cell .v em {
  font-family: var(--font-serif); font-style: italic; color: var(--blue); font-weight: 400;
}

/* ── Prose / two-column intro ────────────────────────── */
.lede-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
}
.lede-grid p {
  margin: 0 0 20px;
  font-size: 18px; line-height: 1.6; color: var(--text);
}
.lede-grid p:last-child { margin-bottom: 0; }
.lede-grid p em {
  font-family: var(--font-serif); font-style: italic; color: var(--blue);
}

/* ── Feature grid (Why Join / Why Partner) ───────────── */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.feature .ic {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--blue-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.feature .ic svg { width: 21px; height: 21px; display: block; }
.feature h3 {
  margin: 6px 0 0;
  font-family: var(--font-display); font-weight: 600;
  font-size: 19px; letter-spacing: -0.4px; color: var(--ink);
}
.feature p {
  margin: 0; font-size: 15px; line-height: 1.55; color: var(--text);
}

/* ── Definition list (What Fellows Work On / Eligibility) ── */
.deflist {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px;
}
.deflist .item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.deflist .item .n {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 1px; color: var(--blue); padding-top: 3px;
  min-width: 26px;
}
.deflist .item p {
  margin: 0; font-size: 16px; line-height: 1.5; color: var(--text);
}
.deflist .item p b {
  color: var(--ink); font-weight: 600;
}

/* ── Timeline (How the program works) ────────────────── */
.timeline {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--line);
}
.timeline.cols-3 { grid-template-columns: repeat(3, 1fr); }
.timeline .step {
  padding: 28px 28px 28px 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.timeline .step:last-child { border-right: 0; }
.timeline .step::before {
  content: '';
  position: absolute; top: -5px; left: 0;
  width: 9px; height: 9px; border-radius: 999px;
  background: var(--blue);
}
.timeline .step .k {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 1.3px; text-transform: uppercase; color: var(--blue);
}
.timeline .step h3 {
  margin: 14px 0 10px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 21px; letter-spacing: -0.5px; color: var(--ink); line-height: 1.1;
}
.timeline .step p {
  margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--text);
}

/* Block subtitle inside a band */
.block-head {
  margin: 72px 0 28px;
}
.block-head:first-child { margin-top: 0; }
.block-head .kicker {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 1.3px; text-transform: uppercase; color: var(--blue);
}
.block-head h3 {
  margin: 12px 0 0;
  font-family: var(--font-display); font-weight: 600;
  font-size: 30px; letter-spacing: -1px; color: var(--ink);
}
.band-intro {
  font-size: 20px; line-height: 1.5; color: var(--text);
  max-width: 760px; margin: 0 0 8px;
}
.band-intro em {
  font-family: var(--font-serif); font-style: italic; color: var(--blue);
}
.section-cta { margin-top: 56px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Partners carousel (logo strip) ──────────────────── */
.partners {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.partners .label {
  text-align: center;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted);
  margin-bottom: 36px;
}
.partner-track-mask { overflow: hidden; }
.partner-track {
  display: flex; align-items: center; justify-content: center;
  gap: 64px;
  transition: transform 0.4s ease;
}
.partner-logo {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  height: 64px; padding: 0 24px;
}
.partner-logo img {
  height: 48px; width: auto; display: block;
}
.partner-logo .wordmark {
  font-family: var(--font-display); font-weight: 600;
  font-size: 44px; letter-spacing: -2px; color: var(--ink);
}
.partner-logo .wordmark em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--blue);
}

/* ── Photo gallery ───────────────────────────────────── */
.photo-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.photo-grid .ph-item {
  aspect-ratio: 4 / 3;
  border-radius: 8px; overflow: hidden;
  background: #1c3a5e center / cover no-repeat;
  position: relative;
}
.photo-grid .ph-item.tall { aspect-ratio: 3 / 4; }
.photo-grid .ph-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,34,64,0) 60%, rgba(14,34,64,0.45) 100%);
  opacity: 0; transition: opacity 0.25s ease;
}
.photo-grid .ph-item:hover::after { opacity: 1; }

/* ── Testimonials ────────────────────────────────────── */
.quotes-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.quote-card {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 40px 36px 32px; position: relative;
}
.quote-card::before {
  content: '"'; position: absolute; top: 12px; left: 28px;
  font-family: var(--font-serif); font-size: 80px; line-height: 1;
  color: var(--blue);
}
.quote-card blockquote {
  margin: 36px 0 28px;
  font-family: var(--font-display); font-weight: 500;
  font-size: 20px; line-height: 1.45; letter-spacing: -0.3px;
  color: var(--ink);
}
.quote-card .who {
  padding-top: 22px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center;
}
.quote-card .who .name {
  font-family: var(--font-display); font-weight: 600;
  font-size: 15px; letter-spacing: -0.2px; color: var(--ink);
}
.quote-card .who .meta {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--muted); text-align: right;
}

/* ── Team cards (Leadership) ─────────────────────────── */
.team-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.team-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.team-card .portrait {
  aspect-ratio: 1 / 1;
  background: var(--blue-soft);
  background-size: cover; background-position: center;
  position: relative;
}
.team-card .portrait .badge {
  position: absolute; right: 16px; top: 16px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: #fff; background: rgba(28,58,94,0.78);
  padding: 6px 10px; border-radius: 3px;
}
.team-card .body { padding: 32px; }
.team-card .body .role {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 1.3px; text-transform: uppercase; color: var(--blue);
}
.team-card .body h2 {
  margin: 12px 0 18px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 30px; letter-spacing: -1px; color: var(--ink);
}
.team-card .body p {
  margin: 0; font-size: 16px; line-height: 1.6; color: var(--text);
}

/* Generic CTA panel */
.cta-panel {
  background: var(--blue-tint);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  margin-top: 56px;
}
.cta-panel .t h3 {
  margin: 0 0 10px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 26px; letter-spacing: -0.8px; color: var(--ink);
}
.cta-panel .t p {
  margin: 0; font-size: 16px; line-height: 1.55; color: var(--text); max-width: 560px;
}
.cta-panel .t p a { color: var(--blue); text-decoration: none; }

/* ── Alumni filter + grid ────────────────────────────── */
.filter-bar {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 48px;
}
.filter-btn {
  font-family: var(--font-display); font-size: 13.5px; font-weight: 500;
  letter-spacing: -0.1px;
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--text);
  cursor: pointer; transition: all 0.15s;
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.active {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.fellows-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.fellow-card {
  display: flex; flex-direction: column; gap: 16px;
}
.fellow-card .avatar {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  background: var(--blue-soft);
  background-size: cover; background-position: center top;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.fellow-card .avatar svg { width: 46%; height: 46%; color: #b6cbe0; }
.fellow-card .name {
  font-family: var(--font-display); font-weight: 600;
  font-size: 17px; letter-spacing: -0.3px; color: var(--ink);
}
.fellow-card .meta {
  margin-top: 4px;
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 1.1px; text-transform: uppercase; color: var(--muted);
}
.fellow-card .meta .col {
  display: block; margin-top: 5px; color: var(--blue); letter-spacing: 0.6px;
}
.fellow-card[hidden] { display: none; }

/* ── Read More (toggle + expandable cards) ───────────── */
.toggle-bar {
  display: inline-flex; gap: 4px; padding: 4px;
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: 999px; margin-bottom: 48px;
}
.toggle-bar button {
  font-family: var(--font-display); font-size: 13.5px; font-weight: 500;
  padding: 10px 22px; border-radius: 999px;
  border: 0; background: transparent; color: var(--text); cursor: pointer;
  transition: all 0.15s;
}
.toggle-bar button.active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(17,39,64,0.1); }

.pub-panel[hidden] { display: none; }
.pub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.pub-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.pub-card .pub-summary {
  list-style: none; cursor: pointer;
  padding: 28px 30px;
  display: flex; flex-direction: column; gap: 14px;
}
.pub-card .pub-summary::-webkit-details-marker { display: none; }
.pub-card .tagrow {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--blue);
}
.pub-card .tagrow .chev { color: var(--muted); transition: transform 0.2s; }
.pub-card[open] .tagrow .chev { transform: rotate(90deg); }
.pub-card h3 {
  margin: 0;
  font-family: var(--font-display); font-weight: 600;
  font-size: 22px; letter-spacing: -0.6px; line-height: 1.2; color: var(--ink);
}
.pub-card .byline {
  font-size: 14px; color: var(--muted);
}
.pub-card .pub-body {
  padding: 0 30px 28px;
}
.pub-card .pub-body p {
  margin: 0 0 20px; font-size: 15.5px; line-height: 1.6; color: var(--text);
}

/* ── FAQ (Become a Partner) ──────────────────────────── */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none; cursor: pointer;
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 19px; letter-spacing: -0.4px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm {
  flex: 0 0 auto; width: 22px; height: 22px; position: relative;
}
.faq summary .pm::before,
.faq summary .pm::after {
  content: ''; position: absolute; background: var(--blue);
  left: 50%; top: 50%; transform: translate(-50%, -50%);
}
.faq summary .pm::before { width: 14px; height: 2px; }
.faq summary .pm::after { width: 2px; height: 14px; transition: transform 0.2s; }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) scaleY(0); }
.faq details p {
  margin: 0; padding: 0 0 28px; max-width: 760px;
  font-size: 16px; line-height: 1.6; color: var(--text);
}

/* ── Tablet / small-desktop tweaks ─────────────────── */
@media (max-width: 1180px) {
  .nav-links a { padding: 8px 9px; font-size: 13px; }
  .nav-inner { gap: 20px; }
}
@media (max-width: 1080px) {
  .wrap { padding: 0 36px; }
  .footer-inner { padding: 0 36px; }
  .hero h1 { font-size: 76px; letter-spacing: -3px; }
  .sec-head h2 { font-size: 44px; letter-spacing: -1.4px; }
  .sec-head { gap: 18px 32px; }
  .page-header h1 { font-size: 64px; letter-spacing: -2.4px; }
  section.band { padding: 88px 0; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .fellows-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Collapse nav to drawer ──────────────────────────── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-inner { grid-template-columns: 1fr auto; padding: 16px 36px; gap: 16px; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn { white-space: nowrap; }
  .nav-cta .btn.solid { display: none; }
}

/* ── Mobile ────────────────────────────────────────── */
@media (max-width: 760px) {
  .wrap { padding: 0 22px; }
  .footer-inner { padding: 0 22px; }

  .btn { white-space: normal; padding: 11px 16px; font-size: 13px; }

  /* Nav stays one line and compact on phones */
  .nav-inner { padding: 14px 22px; gap: 12px; }
  .nav-brand { font-size: 15px; gap: 9px; }
  .nav-brand .mk { width: 26px; height: 26px; }
  .nav-cta .btn { white-space: nowrap; padding: 9px 13px; font-size: 12.5px; gap: 6px; }
  .nav-cta .btn .arr { display: none; }

  .hero { padding: 28px 0 0; }
  .hero-top {
    flex-direction: column; align-items: flex-start; gap: 10px;
    padding-bottom: 18px; margin-bottom: 32px;
  }
  .hero-top .status, .hero-top .meta { font-size: 10.5px; letter-spacing: 1.2px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; align-items: stretch; }
  .hero h1 { font-size: 48px; letter-spacing: -2px; line-height: 1; }
  .hero h1 em { letter-spacing: -1.4px; }
  .hero .deck { font-size: 16px; margin-top: 20px; max-width: none; }
  .hero .hero-ph { aspect-ratio: 4 / 5; }
  .hero-cta-row { margin-top: 28px; flex-wrap: wrap; gap: 10px; }
  .hero-cta-row .btn { flex: 1 1 auto; justify-content: center; }

  .proof-bar { margin-top: 40px; grid-template-columns: 1fr 1fr; gap: 22px; padding: 22px 0; }
  .proof-bar .cell .v { font-size: 17px; }
  .proof-bar .cell .k { font-size: 9.5px; }

  section.band { padding: 64px 0; }
  .sec-head { grid-template-columns: 1fr; grid-template-areas: "eyebrow" "title"; gap: 14px; margin-bottom: 32px; justify-items: center; text-align: center; }
  .sec-head .label-stack { flex-direction: row; align-items: center; justify-content: center; gap: 18px; }
  .sec-head h2 { font-size: clamp(23px, 7vw, 32px); letter-spacing: -1.2px; line-height: 1.05; }
  .sec-head .note { display: none; }
  .block-head { text-align: center; }
  .page-header { text-align: center; }
  .page-header .sub { margin-left: auto; margin-right: auto; }

  .page-header { padding: 48px 0 36px; }
  .page-header h1 { font-size: 44px; letter-spacing: -1.8px; line-height: 1.02; }
  .page-header .sub { font-size: 17px; margin-top: 22px; }

  .lede-grid { grid-template-columns: 1fr; gap: 0; }
  .lede-grid p { font-size: 16px; }

  .feature-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature { padding: 24px; }

  .deflist { grid-template-columns: 1fr; gap: 0; }
  .deflist .item { padding: 18px 0; }

  .timeline, .timeline.cols-3 { grid-template-columns: 1fr; border-top: 0; }
  .timeline .step {
    border-right: 0; border-left: 2px solid var(--line);
    padding: 8px 0 28px 24px; margin-left: 4px;
  }
  .timeline .step::before { left: -5px; top: 4px; }

  .block-head { margin: 48px 0 22px; }
  .block-head h3 { font-size: 24px; }

  .partner-track { gap: 32px; }
  .partner-logo .wordmark { font-size: 34px; }

  .quotes-grid { grid-template-columns: 1fr; }
  .quote-card { padding: 36px 24px 24px; }
  .quote-card::before { font-size: 64px; top: 8px; left: 22px; }
  .quote-card blockquote { font-size: 18px; margin: 24px 0 20px; line-height: 1.42; }
  .quote-card .who { grid-template-columns: 1fr; gap: 6px; padding-top: 18px; }
  .quote-card .who .meta { text-align: left; }

  .team-grid { grid-template-columns: 1fr; gap: 22px; }
  .team-card .body { padding: 26px; }
  .team-card .body h2 { font-size: 26px; }

  .cta-panel { flex-direction: column; align-items: flex-start; padding: 32px; gap: 22px; }

  .fellows-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .photo-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pub-grid { grid-template-columns: 1fr; }

  .cta-panel .t h3 { font-size: 22px; }
  .faq summary { font-size: 17px; }

  footer.f { padding: 56px 0 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 22px; padding-bottom: 32px; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
  .footer-top .signoff { font-size: 24px; letter-spacing: -0.8px; max-width: none; }
  .footer-bottom { margin-top: 22px; flex-direction: column; gap: 8px; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 40px; letter-spacing: -1.6px; }
}
