/* Republic — design system
   Vintage Americana: film photography, heavy grain, wide display type, flag red. */

:root {
  --ink: #0c0c0b;
  --ink-2: #1a1916;
  --paper: #f2ede3;
  --paper-2: #e8e1d3;
  --line: rgba(12, 12, 11, 0.16);
  --muted: #5c574d;
  --red: #bf0a0a;
  --red-hi: #ff1a1a;
  --navy: #0d1726;
  --on-dark: #f5f1e8;
  --on-dark-muted: rgba(245, 241, 232, 0.72);
  --gold: #c9a35a;

  --display: 'neue-haas-grotesk-display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --body: 'neue-haas-grotesk-text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --body-display: 'neue-haas-grotesk-display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1360px;
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(17px, 1.05vw + 12px, 19px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Film grain over everything */
body::after {
  content: '';
  position: fixed;
  inset: -50%;
  pointer-events: none;
  z-index: 100;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
  will-change: transform;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
@media (prefers-reduced-motion: reduce) { body::after { animation: none; } * { scroll-behavior: auto !important; transition: none !important; } }

img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; }
:focus-visible { outline: 3px solid var(--red-hi); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 820px; }
.section { padding: clamp(64px, 9vw, 128px) 0; }

/* ---------- type ---------- */
.display {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.025em;
  font-size: clamp(32px, 6.4vw, 96px);
  text-wrap: balance;
  overflow-wrap: break-word;
}
.display.mega { font-size: clamp(30px, 6.4vw, 108px); line-height: 0.9; }
@media (max-width: 600px) { .display.mega { font-size: 11.5vw; } }
.display.lg { font-size: clamp(38px, 6vw, 92px); }
.display.md { font-size: clamp(30px, 3.8vw, 58px); line-height: 1; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 20px;
  color: var(--red);
}
.h-sm {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
.arrow { display: inline-block; margin-left: 0.55em; transition: transform 0.25s var(--ease); }
a:hover .arrow { transform: translateX(4px); }
.small { font-size: 15px; color: var(--muted); }
mark.todo { background: #ffe14a; color: #000; font-family: var(--mono); font-size: 0.82em; padding: 0 4px; border-radius: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-height: 44px;
  padding: 0 20px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 13px; }
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--paper); }
.on-dark .btn-primary:hover, .site-header .btn-primary:hover { background: #fff; color: var(--ink); border-color: #fff; }
.on-dark .btn-secondary { color: #fff; border-color: rgba(255, 255, 255, 0.8); }
.on-dark .btn-secondary:hover { background: #fff; color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- header ---------- */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--red); color: #fff; padding: 10px 16px; font-family: var(--mono); }
.skip-link:focus { top: 12px; }
.announce { background: var(--red); color: #fff; text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; }
.announce a { display: block; padding: 9px var(--gutter); text-decoration: none; }
.announce a:hover { text-decoration: underline; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--on-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s, border-color 0.3s;
}
/* Transparent header over photo heroes; turns solid once scrolled or when the mobile menu is open */
.has-photo-hero main { margin-top: calc(-1 * var(--header-h)); }
.has-photo-hero .home-hero { min-height: calc(100vh - 34px); min-height: calc(100svh - 34px); }
.has-photo-hero .home-hero .hero-content { padding-top: calc(var(--header-h) + 72px); }
.has-photo-hero .page-hero .hero-content { padding-top: calc(var(--header-h) + 96px); }
.has-photo-hero .site-header:not(.solid) { background: transparent; border-bottom-color: transparent; }
.has-photo-hero .hero-media::before { content: ''; position: absolute; inset: 0 0 auto; height: 200px; z-index: 1; background: linear-gradient(180deg, rgba(8, 9, 12, 0.55), transparent); pointer-events: none; }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: block; flex: none; }
.logo { height: 34px; width: auto; display: block; }
.logo-word { fill: currentColor; }
.logo-mark { fill: var(--red-hi); }
.logo-inner { fill: var(--ink); }
.site-header .logo-inner, .site-footer .logo-inner { fill: var(--ink); }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-link {
  display: block;
  padding: 10px 12px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--on-dark);
}
.nav-link:hover, .nav-link[aria-current] { color: #fff; box-shadow: inset 0 -2px 0 var(--red-hi); }
.menu-toggle { background: none; border: 0; color: var(--on-dark-muted); padding: 8px 6px 8px 0; margin-left: -6px; cursor: pointer; }
.menu-toggle svg { width: 11px; height: 8px; display: block; transition: transform 0.2s; }
.menu-toggle[aria-expanded='true'] svg { transform: rotate(180deg); }
.menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  min-width: 280px;
  background: var(--ink-2);
  border-top: 3px solid var(--red-hi);
  padding: 14px 0;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.has-menu.open .menu { opacity: 1; visibility: visible; transform: none; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.has-menu.wide .menu { min-width: 560px; left: -40px; }
.has-menu.wide .menu ul { display: grid; grid-template-columns: repeat(3, 1fr); }
.menu a { display: block; padding: 9px 22px; font-family: var(--body); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: var(--on-dark-muted); white-space: nowrap; }
.menu a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.nav-utility { display: flex; align-items: center; gap: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.nav-utility a:not(.btn) { text-decoration: none; color: var(--on-dark-muted); }
.nav-utility a:not(.btn):hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: transform 0.25s, opacity 0.25s; }
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--ink);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 40px;
    overflow-y: auto;
    display: none;
  }
  .primary-nav.open { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .nav-link { flex: 1; padding: 18px 0; font-size: 18px; }
  .nav-link:hover, .nav-link[aria-current] { box-shadow: none; color: var(--red-hi); }
  .menu-toggle { padding: 18px 4px 18px 18px; margin: 0; }
  .menu-toggle svg { width: 14px; height: 10px; }
  .menu, .has-menu.wide .menu { position: static; min-width: 0; width: 100%; box-shadow: none; border: 0; background: none; padding: 0 0 12px; transform: none; display: none; opacity: 1; visibility: visible; }
  .has-menu.open .menu { display: block; }
  .has-menu.wide .menu ul { grid-template-columns: 1fr; }
  .menu a { padding: 10px 0 10px 16px; border-left: 2px solid rgba(255, 255, 255, 0.15); font-size: 13px; }
  .nav-utility { flex-direction: column; align-items: flex-start; gap: 18px; padding-top: 28px; font-size: 14px; }
  .nav-utility .btn { width: 100%; justify-content: center; min-height: 52px; }
}
@media (max-width: 1100px) { body.nav-open { overflow: hidden; } }

/* ---------- heroes ---------- */
.hero-media { position: absolute; inset: 0; overflow: hidden; background: var(--navy); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.photo, .home-hero, .closing.big { position: relative; color: var(--on-dark); isolation: isolate; }
.page-hero.photo .hero-media::after, .home-hero .hero-media::after, .closing.big .hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 9, 12, 0.82) 0%, rgba(8, 9, 12, 0.5) 45%, rgba(8, 9, 12, 0.08) 100%),
    linear-gradient(0deg, rgba(8, 9, 12, 0.55) 0%, transparent 40%);
}
.hero-content, .closing-inner { position: relative; z-index: 1; }
.page-hero.photo { min-height: clamp(460px, 64vh, 680px); display: flex; align-items: flex-end; }
.page-hero.photo.tall { min-height: clamp(520px, 78vh, 820px); }
.page-hero .hero-content { padding-top: 120px; padding-bottom: clamp(48px, 7vw, 96px); }
.page-hero .display { max-width: 15ch; }
.page-hero .lede { max-width: 640px; margin-top: 28px; font-size: clamp(18px, 1.3vw + 10px, 22px); line-height: 1.5; }
.page-hero.photo .lede { color: var(--on-dark); }
.page-hero.photo .eyebrow, .closing .eyebrow { color: #fff; opacity: 0.85; }
.page-hero.plain { background: var(--ink); color: var(--on-dark); padding: clamp(80px, 10vw, 140px) 0 clamp(56px, 7vw, 96px); }
.page-hero.plain .eyebrow { color: var(--red-hi); }
.hero-form { margin-top: 36px; max-width: 640px; }

.home-hero { min-height: calc(100vh - var(--header-h) - 34px); min-height: calc(100svh - var(--header-h) - 34px); display: flex; align-items: center; }
.home-hero .hero-media img { object-position: 70% 40%; }
.home-hero .hero-content { padding-top: 96px; padding-bottom: 120px; }
.home-hero .display span { display: block; }
.home-hero .lede { max-width: 500px; margin-top: 24px; font-size: clamp(16px, 0.6vw + 11px, 18px); line-height: 1.5; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4); }
@media (max-width: 700px) {
  .page-hero.photo .hero-media::after, .home-hero .hero-media::after { background: linear-gradient(0deg, rgba(8, 9, 12, 0.92) 10%, rgba(8, 9, 12, 0.35) 70%, rgba(8, 9, 12, 0.2)); }
  .home-hero { align-items: flex-end; }
  .home-hero .hero-media img { object-position: 78% 40%; }
}


/* ---------- section rows (editorial two-column) ---------- */
.page-body { padding: clamp(32px, 5vw, 64px) 0 clamp(64px, 8vw, 112px); }
.row {
  display: grid;
  grid-template-columns: 72px minmax(0, 4fr) minmax(0, 7fr);
  gap: 24px clamp(24px, 4vw, 64px);
  padding: clamp(36px, 5vw, 64px) 0;
  border-top: 1px solid var(--line);
}
.row-num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--red); padding-top: 8px; }
.row-title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.05; text-wrap: balance; }
.row-body { max-width: 680px; }
.row-body .cta-row { margin-top: 20px; }
@media (max-width: 800px) { .row { grid-template-columns: 1fr; gap: 12px; } .row-num { padding: 0; } }

/* ---------- cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 2px; background: var(--line); border: 2px solid var(--line); }
.card-grid.articles { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .card-grid.articles { grid-template-columns: 1fr; } }
.card-grid.programs { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.card { background: var(--paper); }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; transition: background 0.25s; }
.card-link:hover { background: #fff; }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), filter 0.6s; filter: saturate(0.85); }
.card-link:hover .card-media img { transform: scale(1.04); filter: saturate(1); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 28px 28px 32px; }
.card-kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.card-title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 22px; line-height: 1.1; margin-bottom: 14px; }
.card-body p:not(.card-kicker):not(.status) { font-size: 16px; color: var(--muted); }
.card-more { margin-top: auto; padding-top: 12px; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }

/* ---------- home ---------- */
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-body { font-size: clamp(18px, 1.1vw + 10px, 21px); padding-top: 6px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 32px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head .eyebrow { grid-column: 1 / -1; }
.section-head .cta-row { margin: 0; }
@media (max-width: 700px) { .section-head { grid-template-columns: 1fr; } .section-head .cta-row { margin-top: 24px; } }

.areas { background: var(--paper-2); }
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--ink); border: 2px solid var(--ink); }
@media (max-width: 1100px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .area-grid { grid-template-columns: 1fr; } }
.area { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; color: #fff; text-decoration: none; overflow: hidden; isolation: isolate; }
.area-media { position: absolute; inset: 0; z-index: -1; background: var(--navy); }
.area-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); transition: filter 0.6s, transform 0.8s var(--ease); }
.area-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 9, 12, 0.95) 15%, rgba(8, 9, 12, 0.35) 75%); transition: background 0.4s; }
.area:hover .area-media img, .area:focus-visible .area-media img { filter: grayscale(0) contrast(1); transform: scale(1.05); }
.area-body { padding: 28px; }
.area-num { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--red-hi); margin-bottom: 12px; }
.area-title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 21px; line-height: 1.08; margin-bottom: 10px; }
.area p { font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, 0.78); margin: 0; }

.programs-band { background: var(--ink); color: var(--on-dark); }
.programs-band .eyebrow { color: var(--red-hi); }
.program-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.program-list :is(a, .unlinked) { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr) 40px; align-items: center; gap: 24px; padding: 28px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); text-decoration: none; transition: padding 0.3s var(--ease), color 0.2s; }
.program-list a:hover { padding-left: 16px; color: #fff; }
.program-name { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 4vw, 56px); line-height: 1; }
.program-desc { color: var(--on-dark-muted); font-size: 17px; }
.program-list .arrow { font-size: 28px; color: var(--red-hi); }
@media (max-width: 760px) { .program-list :is(a, .unlinked) { grid-template-columns: 1fr 32px; } .program-desc { grid-row: 2; grid-column: 1; } }


.closing { background: var(--ink); color: var(--on-dark); padding: clamp(56px, 7vw, 96px) 0; }
.closing .cta-row { margin-top: 0; }
.closing.big { padding: clamp(96px, 14vw, 200px) 0; }
.closing.big .closing-inner > * { max-width: 760px; }
.closing.big p { font-size: clamp(18px, 1.2vw + 10px, 22px); }
.closing.big .display { margin-bottom: 28px; }
.closing.big .cta-row { margin-top: 36px; }

/* ---------- articles & legal ---------- */
.prose { font-size: clamp(18px, 0.6vw + 14px, 20px); line-height: 1.7; }
.prose h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; margin: 2.2em 0 0.8em; }
.prose p.intro { font-size: 1.22em; line-height: 1.55; }
.prose p.intro::first-letter { float: left; font-family: var(--display); font-weight: 700; font-size: 4.2em; line-height: 0.82; margin: 0.06em 0.1em 0 0; color: var(--red); }
.byline { font-family: var(--mono); font-size: 13px; color: var(--muted); padding-bottom: 24px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.back { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.back a { text-decoration: none; color: var(--red); }
.legal { display: grid; grid-template-columns: 260px minmax(0, 760px); gap: clamp(32px, 6vw, 96px); }
.legal .prose h2:first-child { margin-top: 0; }
.toc { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; font-size: 15px; text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--red); }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; } .toc { position: static; } }

/* ---------- events / subscribe / contact ---------- */
.empty-state { border: 2px dashed var(--line); padding: clamp(32px, 5vw, 64px); margin-bottom: clamp(48px, 6vw, 80px); max-width: 880px; }
.empty-state h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 3vw, 42px); line-height: 1.05; margin-bottom: 20px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 64px); }
.two-col > div, .three-col > div { border-top: 3px solid var(--ink); padding-top: 28px; }
@media (max-width: 860px) { .two-col, .three-col { grid-template-columns: 1fr; } }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 96px); }
.contact-aside .aside-block { border-top: 3px solid var(--ink); padding-top: 24px; margin-bottom: 40px; }
.contact-aside p { font-size: 16px; color: var(--muted); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- get involved ---------- */
.involve { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.involve:first-child { border-top: 0; padding-top: 0; }
.involve:not(.has-form) .involve-text { grid-column: 1 / -1; max-width: 760px; }
.involve h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.02; margin-bottom: 20px; }
.involve .row-num { margin-bottom: 16px; }
.involve-form { background: #fff; padding: clamp(24px, 3vw, 40px); border-top: 4px solid var(--red); }
@media (max-width: 900px) { .involve { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.form { display: grid; gap: 20px; }
.form-intro { font-size: 17px; margin: 0; }
.field { display: grid; gap: 8px; }
.field[hidden] { display: none; }
.field label { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.optional { color: var(--muted); text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid rgba(12, 12, 11, 0.35);
  border-radius: 0;
  padding: 13px 14px;
  min-height: 52px;
  appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23bf0a0a' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(209, 10, 10, 0.25); }
.field [aria-invalid='true'] { border-color: var(--red); }
.field-error { margin: 0; font-family: var(--mono); font-size: 12px; color: var(--red); min-height: 0; }
.field-error:empty { display: none; }
.form-helper, .form-privacy { font-size: 14px; color: var(--muted); margin: 0; }
.form-privacy a { color: inherit; }
.form button[type='submit'] { justify-self: start; }
.form button[disabled] { opacity: 0.6; cursor: progress; }
.form-status:empty { display: none; }
.form-status { padding: 18px 20px; border-left: 4px solid var(--ink); background: var(--paper-2); font-size: 16px; }
.form-status.error { border-color: var(--red); }
.form-status strong { display: block; font-family: var(--display); font-weight: 700; text-transform: uppercase; margin-bottom: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-newsletter .newsletter-fields { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.form-newsletter .newsletter-fields .field { flex: 1 1 220px; }
.form-newsletter .newsletter-fields .btn { min-height: 52px; }
.page-hero .form-newsletter label, .site-footer .form-newsletter label { color: var(--on-dark-muted); }
.page-hero .form-newsletter input, .site-footer .form-newsletter input { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.page-hero .form-privacy, .site-footer .form-privacy { color: var(--on-dark-muted); }
.page-hero .form-status, .site-footer .form-status { background: rgba(255, 255, 255, 0.08); border-color: #fff; color: #fff; }
.page-hero .form-status.error, .site-footer .form-status.error { border-color: var(--red-hi); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding: clamp(64px, 8vw, 112px) 0 32px; border-top: 6px solid var(--red); }
.site-footer .eyebrow { color: var(--red-hi); }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.footer-brand .logo { height: 44px; margin-bottom: 28px; }
.footer-brand p { font-size: clamp(19px, 1.4vw, 24px); line-height: 1.4; max-width: 30ch; }
.footer-subscribe p { color: var(--on-dark-muted); font-size: 16px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 48px 0; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols a { display: inline-block; padding: 5px 0; font-size: 16px; text-decoration: none; color: var(--on-dark-muted); }
.footer-cols a:hover { color: #fff; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted); }
.footer-base p { margin: 0; }
.footer-motto { color: var(--red-hi); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; } .footer-cols { grid-template-columns: 1fr 1fr; } }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

b, strong { font-weight: 700; }
.footer-brand p, .page-hero .lede, .home-hero .lede, .split-body, .prose p.intro { font-family: var(--body-display); font-weight: 500; }

/* Header nav: one type style for every item */
.nav-link, .nav-utility a, .nav-utility .btn { font-family: var(--body); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.nav-utility a:not(.btn) { color: var(--on-dark); }
.nav-utility .btn { min-height: 38px; padding: 0 16px; }
@media (max-width: 1100px) { .nav-link { font-size: 16px; } .nav-utility a, .nav-utility .btn { font-size: 13px; } .nav-utility .btn { min-height: 52px; } }

/* Areas of work, focus lists, section intros */
.section-intro { max-width: 680px; margin: -16px 0 clamp(32px, 4vw, 48px); font-size: clamp(18px, 1.1vw + 10px, 21px); }
.area-grid .area { min-height: 340px; }
.focus-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.focus-list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 500; font-size: 20px; }
.focus-list li::first-letter { text-transform: uppercase; }
.card-grid.programs { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .card-grid.programs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .card-grid.programs { grid-template-columns: 1fr; } }

/* Footer: the 13 stars, turning slowly */
.footer-stars { display: flex; justify-content: center; padding: 8px 0 40px; }
.star-ring { width: clamp(104px, 11vw, 148px); height: auto; fill: var(--on-dark); animation: star-ring-turn 80s linear infinite; }
@keyframes star-ring-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .star-ring { animation: none; } }

/* Visual review fixes */
.program-list .arrow { margin-left: 0; text-align: right; }
@media (max-width: 760px) { .program-list :is(a, .unlinked) { gap: 8px 12px; } }
@media (max-width: 560px) { .area-grid .area { min-height: 250px; } .area-body { padding: 20px; } }

/* Article blocks from the admin */
.prose blockquote { margin: 1.6em 0; padding-left: 24px; border-left: 4px solid var(--red); font-family: var(--body-display); font-weight: 500; font-size: 1.15em; line-height: 1.4; }
.prose h3 { font-family: var(--display); font-weight: 700; font-size: 1.1em; margin: 1.8em 0 0.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }
.story-inline { margin: 2em 0; }
.story-inline img { width: 100%; height: auto; }
.story-inline figcaption { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 10px; }
.correction { margin-top: 32px; padding: 16px 20px; background: #fff; border-left: 4px solid var(--ink); font-size: 16px; }
.preview-bar { padding: 8px var(--gutter); background: #ffe14a; color: #000; text-align: center; font-family: var(--mono); font-size: 12px; }

/* ---------- shared section layouts ---------- */
.feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--paper-2); }
.feature.dark { background: var(--ink); color: var(--on-dark); }
.feature.dark .eyebrow { color: var(--red-hi); }
.feature.dark p { color: var(--on-dark-muted); }
.feature-media { position: relative; min-height: clamp(320px, 42vw, 640px); background: var(--navy); overflow: hidden; }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-body { align-self: center; padding: clamp(40px, 6vw, 96px) clamp(16px, 6vw, 96px); max-width: 760px; }
.feature-body .display { margin-bottom: 24px; }
.feature-body .cta-row { margin-top: 28px; }
.feature.flip .feature-media { order: 2; }
.feature .focus-list { margin-top: 8px; }
@media (max-width: 900px) { .feature { grid-template-columns: minmax(0, 1fr); } .feature.flip .feature-media { order: 0; } .feature-media { min-height: 0; aspect-ratio: 16 / 10; } }

.statement { padding: clamp(64px, 9vw, 136px) 0; }
.statement.ink { background: var(--ink); color: var(--on-dark); }
.statement.red { background: var(--red); color: #fff; }
.statement.ink .eyebrow { color: var(--red-hi); }
.statement.red .eyebrow { color: #fff; }
.statement-text { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 4.2vw, 62px); line-height: 1.08; letter-spacing: -0.02em; max-width: 22em; margin: 0; text-wrap: balance; }
.statement-text.long { font-size: clamp(24px, 2.8vw, 42px); line-height: 1.16; max-width: 30em; }
.statement-detail { max-width: 62ch; margin-top: 28px; font-size: clamp(17px, 1.1vw + 8px, 20px); }
.statement.ink .statement-detail { color: var(--on-dark-muted); }
.statement .cta-row { margin-top: 32px; }
.statement.red .btn-primary { background: #fff; color: var(--red); border-color: #fff; }

.figures { padding: clamp(48px, 6vw, 88px) 0; border-bottom: 1px solid var(--line); }
.figures.dark { background: var(--ink); color: var(--on-dark); border: 0; }
.figure-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px clamp(24px, 4vw, 64px); margin: 0; }
.figure-grid > div { display: flex; flex-direction: column; border-top: 3px solid currentColor; padding-top: 16px; }
.figure-grid dt { order: 2; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 18px; line-height: 1.15; }
.figure-grid dd { order: 3; margin: 8px 0 0; font-size: 16px; color: var(--muted); }
.figures.dark .figure-grid dd { color: var(--on-dark-muted); }
.figure-grid dd.figure-num { order: 1; margin: 0 0 8px; font-family: var(--display); font-weight: 700; font-size: clamp(56px, 7vw, 104px); line-height: 0.95; letter-spacing: -0.03em; color: var(--red); }
.figures.dark .figure-grid dd.figure-num { color: var(--red-hi); }

.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: var(--ink); border: 2px solid var(--ink); }
.mosaic-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px; color: #fff; text-decoration: none; overflow: hidden; isolation: isolate; }
.mosaic-tile.lead { grid-column: span 2; grid-row: span 2; }
.mosaic-media { position: absolute; inset: 0; z-index: -1; background: var(--navy); }
.mosaic-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.mosaic-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 9, 12, 0.96) 25%, rgba(8, 9, 12, 0.3) 85%); }
.mosaic-tile:hover .mosaic-media img, .mosaic-tile:focus-visible .mosaic-media img { transform: scale(1.04); }
.mosaic-body { padding: clamp(20px, 2vw, 28px); }
.mosaic-kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #ff8a8a; margin-bottom: 10px; }
.mosaic-tile :is(h2, h3) { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 21px; line-height: 1.08; margin-bottom: 10px; }
.mosaic-tile.lead :is(h2, h3) { font-size: clamp(28px, 3.4vw, 48px); line-height: 1; }
.mosaic-tile p { font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, 0.82); margin-bottom: 12px; }
.mosaic-tile.lead > .mosaic-body > p:not(.mosaic-kicker) { font-size: 18px; max-width: 34em; }
.mosaic-tile .card-more { color: #fff; padding-top: 0; }
/* Tile counts that wouldn't fill the grid: one tile goes wide so there is never a hole */
.mosaic.count-4 .mosaic-tile:nth-child(2) { grid-column: span 2; }
.mosaic.count-6 .mosaic-tile:last-child { grid-column: 1 / -1; min-height: 240px; }
@media (max-width: 1000px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaic-tile.lead { grid-row: auto; }
}
@media (max-width: 600px) {
  .mosaic { grid-template-columns: minmax(0, 1fr); }
  .mosaic-tile.lead, .mosaic.count-4 .mosaic-tile:nth-child(2), .mosaic.count-6 .mosaic-tile:last-child { grid-column: auto; }
  .mosaic-tile { min-height: 280px; }
}

.name-row { padding: clamp(32px, 4vw, 56px) 0; border-bottom: 1px solid var(--line); }
.name-row ul { list-style: none; display: flex; flex-wrap: wrap; gap: 12px clamp(24px, 4vw, 56px); margin: 0; padding: 0; font-family: var(--display); font-weight: 700; font-size: 20px; }

.focus-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 2px; background: var(--line); border: 2px solid var(--line); }
.focus-grid li { background: var(--paper); padding: 28px; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 20px; line-height: 1.12; }
.focus-grid span { display: block; font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: 0.12em; color: var(--red); margin-bottom: 24px; }
.section-tint { background: var(--paper-2); }

/* Division tiles: three across when there are 3 or 6 */
.area-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .area-grid.three { grid-template-columns: repeat(2, 1fr); } .area-grid.three .area:nth-child(3n):last-child { grid-column: span 2; } }
@media (max-width: 560px) { .area-grid.three { grid-template-columns: 1fr; } .area-grid.three .area:nth-child(3n):last-child { grid-column: auto; } }

/* Events */
.event-card { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); padding: clamp(28px, 4vw, 48px) 0; border-top: 3px solid var(--ink); }
.event-when { font-family: var(--mono); font-size: 13px; color: var(--red); margin-bottom: 10px; }
.event-title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.05; margin-bottom: 12px; }
.event-where { font-weight: 500; margin-bottom: 10px; }
.event-desc { white-space: pre-line; }
.rsvp-form { background: #fff; padding: 22px; border-top: 4px solid var(--red); align-self: start; gap: 14px; }
@media (max-width: 800px) { .event-card { grid-template-columns: minmax(0, 1fr); } }

/* Page header with copy beside a photo */
.page-hero-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--paper-2); }
.split-copy { align-self: center; padding: clamp(48px, 7vw, 112px) clamp(16px, 5vw, 80px) clamp(48px, 7vw, 112px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.split-copy .display { font-size: clamp(36px, 5vw, 76px); margin-bottom: 20px; }
.split-copy .lede { max-width: 34em; }
.split-copy .cta-row { margin-top: 24px; }
.split-photo { position: relative; min-height: clamp(280px, 36vw, 560px); background: var(--navy); overflow: hidden; }
.split-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .page-hero-split { grid-template-columns: minmax(0, 1fr); } .split-copy { padding: 40px var(--gutter); } .split-photo { min-height: 0; aspect-ratio: 16 / 9; } }
.plain-link { text-decoration: none; }
.plain-link:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
/* A list of any length, with no empty cells showing at the end */
.card-grid.articles.open { gap: clamp(16px, 2vw, 24px); background: none; border: 0; }
.card-grid.articles.open .card { border: 2px solid var(--line); }
@media (min-width: 901px) { .card-grid.articles.two { grid-template-columns: repeat(2, 1fr); } }

/* Foundation Get Involved */
.path-band { background: var(--ink); color: var(--on-dark); }
/* Each item spans four shared rows (number, title, text, arrow) so every row lines up across the columns. */
.path-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.path-grid li { display: grid; grid-row: span 4; grid-template-rows: subgrid; }
.path-grid a { grid-row: span 4; display: grid; grid-template-rows: subgrid; row-gap: 14px; padding: clamp(32px, 4vw, 48px) clamp(20px, 2.4vw, 36px); border-left: 1px solid rgba(255, 255, 255, 0.14); border-top: 3px solid transparent; text-decoration: none; transition: background 0.2s, border-color 0.2s; }
.path-grid li:first-child a { border-left: 0; padding-left: 0; }
.path-grid a:hover, .path-grid a:focus-visible { border-top-color: var(--red-hi); background: rgba(255, 255, 255, 0.03); }
.path-num { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; color: var(--red-hi); }
.path-title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.12; align-self: start; }
.path-text { font-size: 15px; line-height: 1.5; color: var(--on-dark-muted); align-self: start; }
.path-go { font-size: 18px; color: var(--red-hi); align-self: end; transition: transform 0.2s; }
.path-grid a:hover .path-go { transform: translateY(3px); }
@media (max-width: 1000px) {
  .path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path-grid li:nth-child(odd) a { border-left: 0; padding-left: 0; }
  .path-grid li:nth-child(n + 3) a { border-top-color: rgba(255, 255, 255, 0.14); border-top-width: 1px; }
}
@media (max-width: 600px) {
  .path-grid { grid-template-columns: 1fr; }
  .path-grid li a { border-left: 0; padding: 24px 0; row-gap: 8px; }
  .path-grid li + li a { border-top: 1px solid rgba(255, 255, 255, 0.14); }
  .path-go { display: none; }
}
.involve { scroll-margin-top: calc(var(--header-h) + 16px); }
@media (min-width: 901px) { .involve.has-form .involve-text { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }

/* Program pages */
.area-grid.five { grid-template-columns: repeat(5, 1fr); }
.area-grid.five .area { min-height: 360px; }
@media (max-width: 1100px) { .area-grid.five { grid-template-columns: repeat(2, 1fr); } .area-grid.five .area:last-child { grid-column: span 2; } }
@media (max-width: 560px) { .area-grid.five { grid-template-columns: 1fr; } .area-grid.five .area:last-child { grid-column: auto; } }
.program-cards .area { cursor: default; }
.program-cards .area-title { font-size: 22px; }
.closing .eyebrow { color: var(--red-hi); }
.closing-note { margin-top: 28px; font-size: 14px !important; color: var(--on-dark-muted); max-width: 52ch; }
.area-grid.five .area-title { font-size: clamp(16px, 1.25vw, 19px); }
.area-grid.five .area-body { padding: 22px; }

/* Subject pages: key questions and program links */
.questions-band { background: var(--ink); color: var(--on-dark); padding: clamp(64px, 8vw, 120px) 0; }
.questions-band .eyebrow { color: var(--red-hi); margin-bottom: clamp(24px, 3vw, 40px); }
.question-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.question-list li { border-top: 2px solid var(--red); padding-top: 20px; }
.question-list span { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--on-dark-muted); margin-bottom: 14px; }
.question-list p { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(22px, 1.9vw, 30px); line-height: 1.18; letter-spacing: -0.01em; color: #fff; }
@media (max-width: 900px) { .question-list { grid-template-columns: 1fr; } }
.program-links { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); }
.program-links a { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.program-links strong { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 18px; }
.program-links span:not(.arrow) { grid-column: 1; color: var(--muted, #5c574d); font-size: 16px; }
.program-links .arrow { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--red); transition: transform 0.3s; }
.program-links a:hover .arrow, .program-links a:focus-visible .arrow { transform: translateX(4px); }
.program-links a:hover strong { color: var(--red); }

/* Events: the upcoming list's empty state as a card */
.events-section .empty-state { border: 0; border-top: 4px solid var(--red); background: var(--paper-2); padding: clamp(28px, 4vw, 48px); max-width: 820px; }
.events-section .empty-state h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 2vw, 30px); line-height: 1.1; margin-bottom: 14px; }
.events-section { padding-bottom: clamp(48px, 6vw, 80px); }
.events-section .empty-state { max-width: none; }

/* Get Involved: each form on its own full-width band, alternating tone. */
.involve-band { border-top: 1px solid var(--line); }
.involve-band.tint { background: var(--paper-2); }
.involve-band .involve, .involve-band .involve:first-child { border-top: 0; padding: clamp(64px, 7vw, 112px) 0; }
.involve-media { margin-top: 32px; aspect-ratio: 4 / 3; overflow: hidden; }
.involve-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.contact-form.involve-form h2 { margin-bottom: 20px; }
.display .line { display: block; }
