/* ============================================================
   Team Walker v1 — editorial nonprofit redesign
   ----------------------------------------------------------
   Editorial-first. Photography-led. Restrained typography.
   ============================================================ */

:root {
  /* Palette — blue-dominant Team Walker -------------------- */
  --ink: #07142A;            /* near-black navy */
  --ink-soft: #102747;       /* mid-deep navy */
  --blue: #1F3C7A;           /* TW signature blue */
  --blue-mid: #2F559F;       /* lighter blue accent */

  --paper: #EEF2F8;          /* pale cool off-white */
  --paper-soft: #F7F9FC;     /* near white, slight blue */
  --paper-strong: #DDE4F0;   /* slightly deeper pale */

  --rule: #C6D4E8;           /* on pale paper */
  --rule-dark: #1A2E55;      /* on ink */
  --muted: #7E8DA8;
  --muted-strong: #4D5F7E;

  --accent: #2A6CFF;         /* vivid cobalt — reserved for action */
  --accent-deep: #1849C7;

  --max: 1320px;
  --pad: clamp(20px, 4vw, 64px);
  --rule-w: 1px;

  /* Type ------------------------------------------------------ */
  --serif: "Newsreader", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01", "ss02";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--ink); color: var(--paper); }

/* ----- Type system ----- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-strong);
}
.eyebrow--light { color: rgba(255,255,255,0.78); }
.eyebrow--accent { color: var(--accent); }

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 72;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--ink);
}

.display em, .display i {
  font-style: italic;
  font-variation-settings: "opsz" 72;
}

h1, h2, h3, h4 { margin: 0; font-weight: 400; }

.h-1 { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 7vw, 110px); line-height: 1.02; letter-spacing: -0.025em; font-variation-settings: "opsz" 72; }
.h-2 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5.2vw, 76px); line-height: 1.04; letter-spacing: -0.022em; font-variation-settings: "opsz" 60; }
.h-3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -0.018em; font-variation-settings: "opsz" 60; }
.h-4 { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -0.012em; font-variation-settings: "opsz" 30; }
.h-5 { font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: -0.005em; }

.lede {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: var(--ink-soft);
  font-variation-settings: "opsz" 24;
}
.lede em { font-style: italic; }

.body-lg { font-size: 18px; line-height: 1.6; color: var(--ink-soft); }
.body-sm { font-size: 14px; line-height: 1.55; color: var(--muted-strong); }

.label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted-strong);
}

/* ----- Layout primitives ----- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(80px, 11vw, 160px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .display, .section--ink h2, .section--ink h3, .section--ink h4 { color: var(--paper); }
.section--ink .lede, .section--ink .body-lg { color: rgba(244, 236, 220, 0.82); }
.section--ink .label, .section--ink .eyebrow { color: rgba(244,236,220,0.62); }
.section--soft { background: var(--paper-soft); }
.section--strong { background: var(--paper-strong); }

.rule { border: 0; height: var(--rule-w); background: var(--rule); margin: 0; }
.section--ink .rule { background: var(--rule-dark); }

/* ----- Buttons / links ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: transparent;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ink);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn--accent {
  background: var(--accent);
  color: #FFF;
  border-color: var(--accent);
}
.btn--accent:hover { background: var(--accent-deep); color: #FFF; border-color: var(--accent-deep); }

.btn--ghost-light { color: var(--paper); border-color: rgba(244,236,220,0.45); }
.btn--ghost-light:hover { background: var(--paper); color: var(--ink); }

.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  color: var(--ink);
  transition: gap 0.18s ease, color 0.18s ease;
}
.link:hover { gap: 14px; color: var(--accent); }
.link--light { color: var(--paper); }
.link--accent { color: var(--accent); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background 0.22s ease, padding 0.22s ease, color 0.22s ease;
  color: var(--paper);
}
.nav.is-scrolled,
.nav.is-light {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  backdrop-filter: saturate(140%) blur(10px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(14,27,51,0.08);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.nav__brand img { height: 38px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
}
.nav__links > a,
.nav__item > a {
  position: relative;
  padding: 6px 0;
  opacity: 0.9;
  transition: opacity 0.16s ease, color 0.16s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav__links > a:hover,
.nav__item > a:hover { opacity: 1; }
.nav__caret {
  font-size: 0.8em;
  opacity: 0.7;
  transition: transform 0.18s ease;
}

/* Dropdown panels --------------------------------------------- */
.nav__item { position: relative; }
.nav__item > a { cursor: pointer; }

.nav__dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  margin-top: 10px;
  min-width: 240px;
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 18px 40px rgba(7, 20, 42, 0.12);
  z-index: 60;
  color: var(--ink);
}
/* Invisible bridge that keeps :hover alive across the 10px gap between
   the parent nav link and the dropdown panel — without it, the menu
   closes the instant the cursor leaves the link. */
.nav__dropdown::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}
.nav__item:hover > .nav__dropdown,
.nav__item:focus-within > .nav__dropdown,
.nav__item.is-open > .nav__dropdown { display: flex; }
.nav__item:hover > a > .nav__caret,
.nav__item.is-open > a > .nav__caret { transform: rotate(180deg); }

.nav__dropdown a {
  padding: 10px 14px;
  border-radius: 3px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background 0.14s ease, color 0.14s ease;
  opacity: 1 !important;
}
.nav__dropdown a:hover { background: var(--paper); color: var(--accent); }

.nav__contact {
  padding: 6px 0;
  opacity: 0.9;
  transition: opacity 0.16s ease;
  font-weight: 500;
}
.nav__contact:hover { opacity: 1; }

.nav__cta { margin-left: 8px; }

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 999px;
  position: relative;
  margin-left: auto;
}
.nav__toggle span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease, top 0.22s ease;
}
.nav__toggle span:nth-child(1) { top: 14px; }
.nav__toggle span:nth-child(2) { top: 19px; }
.nav__toggle span:nth-child(3) { top: 24px; }
.nav.is-open .nav__toggle span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .nav__toggle { display: block; }
  .nav__links, .nav__cta { display: none; }
  .nav.is-open {
    background: var(--paper);
    color: var(--ink);
    min-height: 100vh;
    overflow-y: auto;
  }
  .nav.is-open .nav__inner { align-items: flex-start; flex-direction: column; padding-top: 80px; padding-bottom: 40px; }
  /* Keep the X button anchored top-right where the hamburger lived,
     not at the bottom of the open column. */
  .nav.is-open .nav__toggle {
    position: absolute;
    top: 18px;
    right: var(--pad);
    margin: 0;
    z-index: 2;
  }
  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 24px 0 0;
    width: 100%;
  }
  .nav.is-open .nav__links > a,
  .nav.is-open .nav__item > a,
  .nav.is-open .nav__contact {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 30px;
    line-height: 1.1;
    letter-spacing: -0.018em;
    padding: 14px 0;
    border-bottom: 1px solid rgba(14,27,51,0.08);
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-variation-settings: "opsz" 60;
  }
  .nav.is-open .nav__dropdown {
    position: static;
    margin: 0 0 8px;
    padding: 4px 0 12px;
    border: 0;
    box-shadow: none;
    background: transparent;
    display: none;
  }
  .nav.is-open .nav__item.is-open > .nav__dropdown {
    display: flex;
  }
  .nav.is-open .nav__dropdown a {
    font-family: var(--sans);
    font-size: 15px;
    padding: 8px 0 8px 18px;
    border-bottom: 0;
    color: var(--muted-strong);
  }
  .nav.is-open .nav__dropdown a:hover { color: var(--accent); }
  .nav.is-open .nav__cta { display: inline-flex; margin: 24px 0 0; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  padding-top: 140px;
  overflow: hidden;
}
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(105%) contrast(102%);
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(7,20,42,0.55) 0%,
      rgba(7,20,42,0.35) 30%,
      rgba(7,20,42,0.55) 60%,
      rgba(0,0,0,0.92) 88%,
      rgba(0,0,0,1) 100%),
    radial-gradient(120% 70% at 0% 30%, rgba(7,20,42,0.55), transparent 65%);
}

/* Donor strip at the bottom of the hero, riding the black fade ------- */
.hero__donors {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  z-index: 2;
  padding: 32px var(--pad) 28px;
  color: rgba(255,255,255,0.78);
}
.hero__donors-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
}
.hero__donors-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
}
.hero__donors-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 4vw, 56px);
  align-items: center;
  justify-items: center;
}
.hero__donors-row img {
  max-height: 32px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.hero__donors-row img:hover { opacity: 1; }

@media (max-width: 720px) {
  .hero__donors-inner { grid-template-columns: 1fr; gap: 14px; }
  .hero__donors-row { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .hero__donors-row img { max-height: 22px; }
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(160px, 16vw, 220px); /* clears the donor strip */
}
.hero__eyebrow-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.hero__eyebrow-row::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(244,236,220,0.4);
  max-width: 220px;
}
.hero__title {
  max-width: 16ch;
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 6.6vw, 100px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 72;
}
.hero__title em {
  font-style: italic;
  font-variation-settings: "opsz" 72;
}
.hero__lede {
  max-width: 38ch;
  margin: 28px 0 40px;
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(18px, 1.9vw, 23px);
  line-height: 1.4;
  letter-spacing: -0.008em;
  color: rgba(244,236,220,0.92);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero__since {
  position: absolute;
  right: var(--pad);
  bottom: clamp(48px, 7vw, 96px);
  text-align: right;
  font-family: var(--serif);
  font-weight: 350;
  color: rgba(244,236,220,0.86);
  font-size: 14px;
  line-height: 1.5;
}
.hero__since strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--paper);
}

@media (max-width: 768px) {
  .hero__since { display: none; }
}

/* ============================================================
   STAT STRIP
   ============================================================ */
.stat-strip {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stat-strip__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 36px);
  border-right: 1px solid var(--rule);
}
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-variation-settings: "opsz" 60;
}
.stat__num small {
  font-size: 0.5em;
  vertical-align: 0.6em;
  margin-left: 2px;
  color: var(--muted-strong);
}
.stat__label {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted-strong);
  max-width: 22ch;
}
@media (max-width: 880px) {
  .stat-strip__row { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--rule); }
}

/* ============================================================
   FEATURE SPLIT (alternating editorial blocks)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.split--reverse > *:first-child { order: 2; }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
}
/* Keep Jerry in frame on tight crops — he sits left-of-center in walker-skills-jerry.jpg */
.split__media img[src*="walker-skills-jerry"],
.feature__photo img[src*="walker-skills-jerry"] {
  object-position: 35% center;
}
.split__media--wide img { aspect-ratio: 16 / 11; }
.split__copy { max-width: 56ch; }
.split__eyebrow { margin-bottom: 18px; }
.split__title { margin-bottom: 22px; }
.split__body { margin-bottom: 28px; color: var(--ink-soft); }
.split__body p { margin: 0 0 14px; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse > *:first-child { order: 0; }
}

/* ============================================================
   3 D's — editorial statement
   ============================================================ */
.three-ds {
  text-align: center;
  padding: clamp(96px, 14vw, 200px) 0;
}
.three-ds__eyebrow { margin-bottom: 36px; }
.three-ds__line {
  display: block;
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(56px, 11vw, 156px);
  line-height: 0.94;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 72;
}
.three-ds__line em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "opsz" 72;
}
.three-ds__body {
  max-width: 52ch;
  margin: 44px auto 0;
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.45;
  color: rgba(244,236,220,0.85);
  font-variation-settings: "opsz" 24;
}

/* ============================================================
   PROGRAMS — editorial numbered list
   ============================================================ */
.programs__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(56px, 7vw, 96px);
}
.programs__title { max-width: 18ch; }
.programs__intro { max-width: 44ch; color: var(--ink-soft); }
@media (max-width: 720px) {
  .programs__head { grid-template-columns: 1fr; }
}

.program-row {
  display: grid;
  grid-template-columns: 80px 1.4fr 0.9fr auto;
  gap: 32px;
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--rule);
  transition: padding 0.2s ease;
}
.program-row:last-child { border-bottom: 1px solid var(--rule); }
.program-row:hover { padding-left: 10px; padding-right: 10px; }
.program-row__num {
  font-family: var(--serif);
  font-weight: 350;
  font-size: 24px;
  color: var(--muted);
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 30;
}
.program-row__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.018em;
  font-variation-settings: "opsz" 60;
}
.program-row__meta {
  font-size: 13px;
  color: var(--muted-strong);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.program-row__meta span { display: inline-flex; align-items: center; gap: 8px; }
.program-row__meta span + span::before {
  content: "·";
  margin-right: 14px;
  color: var(--rule);
}
.program-row__arrow {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--muted);
  transition: transform 0.2s ease, color 0.2s ease;
}
.program-row:hover .program-row__arrow {
  transform: translateX(6px);
  color: var(--accent);
}

@media (max-width: 760px) {
  .program-row {
    grid-template-columns: 50px 1fr auto;
    gap: 18px;
    padding: 26px 0;
  }
  .program-row__meta { display: none; }
}

/* ============================================================
   TRADE SCHOOL FEATURE — full-bleed
   ============================================================ */
.feature {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  overflow: hidden;
}
.feature__photo { position: absolute; inset: 0; z-index: 0; }
.feature__photo img { width: 100%; height: 100%; object-fit: cover; }
.feature__veil {
  position: absolute; inset: 0;
  background:
    /* Diagonal — heaviest where the headline & button sit (lower-left) */
    linear-gradient(75deg, rgba(7,20,42,0.88) 0%, rgba(7,20,42,0.65) 45%, rgba(7,20,42,0.4) 80%, rgba(7,20,42,0.3) 100%),
    /* Vertical lift — darkens the bottom band so the perks row reads */
    linear-gradient(0deg, rgba(7,20,42,0.5) 0%, rgba(7,20,42,0.0) 60%);
}
.feature__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 12vw, 160px) var(--pad);
}
.feature__copy { max-width: 58ch; }
.feature__title { margin: 18px 0 24px; }
.feature__perks {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  margin: 32px 0 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(244,236,220,0.25);
}
.feature__perk {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.feature__perk strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 60;
}
.feature__perk span {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,236,220,0.7);
}

/* ============================================================
   EVENTS STRIP
   ============================================================ */
.events__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.events__title { max-width: 14ch; }
.event-list { list-style: none; padding: 0; margin: 0; }
.event-row {
  display: grid;
  grid-template-columns: 110px 140px 1fr 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
}
.event-row:last-child { border-bottom: 1px solid var(--rule); }
.event-row__thumb {
  width: 110px;
  height: 80px;
  border-radius: 3px;
  background-size: cover;
  background-position: center;
  background-color: var(--paper-strong);
  transition: transform 0.25s ease;
}
.event-row:hover .event-row__thumb { transform: scale(1.02); }
/* No-image variant — drop the thumb column */
.event-row--noimg { grid-template-columns: 140px 1fr 1fr auto; }
.event-row__date {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.005em;
  color: var(--ink);
  font-variation-settings: "opsz" 30;
}
.event-row__date small {
  display: block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-strong);
  margin-top: 4px;
}
.event-row__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.1;
  letter-spacing: -0.012em;
  font-variation-settings: "opsz" 60;
}
.event-row__where { color: var(--muted-strong); font-size: 14px; }
.event-row__link { font-size: 28px; color: var(--muted); font-family: var(--serif); transition: color 0.18s ease, transform 0.18s ease; }
.event-row:hover .event-row__link { color: var(--accent); transform: translateX(6px); }

@media (max-width: 820px) {
  .event-row { grid-template-columns: 80px 90px 1fr auto; gap: 16px; }
  .event-row__thumb { width: 80px; height: 60px; }
  .event-row--noimg { grid-template-columns: 90px 1fr auto; }
  .event-row__where { display: none; }
}

/* ============================================================
   PULL QUOTE
   ============================================================ */
.quote {
  text-align: center;
  padding: clamp(80px, 11vw, 160px) 0;
}
.quote__mark {
  font-family: var(--serif);
  font-size: 72px;
  line-height: 1;
  color: var(--accent);
  font-variation-settings: "opsz" 72;
  margin-bottom: 20px;
}
.quote__text {
  max-width: 22ch;
  margin: 0 auto;
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 60;
}
.quote__attr {
  margin-top: 36px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted-strong);
}

/* ============================================================
   SPONSOR STRIP  (used on event detail pages)
   ============================================================ */
.sponsor-strip {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(56px, 7vw, 88px) 0;
}
.sponsor-strip__label {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 36px;
}
.sponsor-strip__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(40px, 5vw, 64px) clamp(48px, 6vw, 96px);
  align-items: center;
  justify-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--pad);
}
.sponsor-strip__tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 110px;
}
.sponsor-strip__tile img {
  max-height: 110px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  opacity: 0.92;
  filter: grayscale(0.1) brightness(1.05);
  transition: opacity 0.2s ease, filter 0.2s ease;
}
.sponsor-strip__tile:hover img { opacity: 1; filter: none; }

@media (max-width: 760px) {
  .sponsor-strip__row { grid-template-columns: repeat(2, 1fr); gap: 32px 40px; }
  .sponsor-strip__tile { height: 80px; }
  .sponsor-strip__tile img { max-height: 80px; }
}
@media (max-width: 420px) {
  .sponsor-strip__row { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .sponsor-strip__tile { height: 64px; }
  .sponsor-strip__tile img { max-height: 64px; }
}

/* ============================================================
   PARTNER STRIP
   ============================================================ */
.partners {
  padding: clamp(56px, 7vw, 96px) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.partners__head {
  margin-bottom: 32px;
  text-align: center;
}
.partners__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: center;
}
.partner-slot {
  text-align: center;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  color: var(--muted);
  letter-spacing: -0.005em;
  padding: 18px 8px;
  border: 1px dashed var(--rule);
  border-radius: 4px;
  font-variation-settings: "opsz" 30;
}
@media (max-width: 800px) {
  .partners__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative;
  padding: clamp(96px, 13vw, 180px) 0;
  text-align: center;
  background: var(--ink-soft);
  color: var(--paper);
  overflow: hidden;
}
.cta .display, .cta h1, .cta h2 { color: var(--paper); }
.cta .eyebrow { color: rgba(238,242,248,0.62); }
.cta__title { max-width: 22ch; margin: 0 auto 28px; }
.cta__body {
  max-width: 56ch;
  margin: 0 auto 40px;
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
  color: rgba(244,236,220,0.78);
  font-variation-settings: "opsz" 24;
}
.cta__actions { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(72px, 9vw, 120px) 0 32px;
  border-top: 1px solid var(--rule-dark);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--rule-dark);
}
.footer__brand { display: inline-block; margin-bottom: 28px; }
.footer__brand img { height: 120px; width: auto; }
.footer__about { color: rgba(244,236,220,0.78); font-size: 14px; line-height: 1.6; max-width: 32ch; }
.footer__col h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,236,220,0.55);
  margin-bottom: 20px;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-bottom: 10px; }
.footer__col a {
  font-size: 14px;
  color: rgba(244,236,220,0.85);
  transition: color 0.16s ease;
}
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  font-size: 12px;
  color: rgba(244,236,220,0.55);
  flex-wrap: wrap;
}
.footer__socials { display: flex; gap: 18px; }
.footer__socials a { color: rgba(244,236,220,0.7); }
.footer__socials a:hover { color: var(--accent); }
@media (max-width: 880px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   STANDALONE PAGES — inner page hero (smaller)
   ============================================================ */
.page-hero {
  padding: 200px 0 clamp(48px, 6vw, 96px);
  border-bottom: 1px solid var(--rule);
}
.page-hero__eyebrow { margin-bottom: 22px; }
.page-hero__title { max-width: 22ch; margin: 0 0 24px; }
.page-hero__lede { max-width: 56ch; }

/* ============================================================
   PROSE — inner page body
   ============================================================ */
.prose { max-width: 64ch; }
.prose p { margin: 0 0 1.2em; font-size: 18px; line-height: 1.65; color: var(--ink-soft); }
.prose h2 { margin: 2.4em 0 0.6em; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.018em; }
.prose h3 { margin: 2em 0 0.4em; font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2vw, 26px); }
.prose ul { padding-left: 1.1em; margin: 0 0 1.4em; }
.prose li { margin-bottom: 0.4em; }

/* ============================================================
   UTILITIES
   ============================================================ */
.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mt-64 { margin-top: 64px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }

/* Subtle entry animation */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.is-in { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE — Mobile + Tablet typography & layout
   ============================================================ */

/* Tablet — keep things from looking cramped between 720–980px ----- */
@media (max-width: 960px) {
  body { font-size: 16px; }
  .section { padding: clamp(64px, 9vw, 110px) 0; }
  .hero__title { font-size: clamp(40px, 7vw, 84px); }
  .h-1 { font-size: clamp(38px, 6.4vw, 80px); }
  .h-2 { font-size: clamp(32px, 5vw, 60px); }
  .h-3 { font-size: clamp(24px, 3.2vw, 38px); }
  .three-ds__line { font-size: clamp(56px, 10vw, 120px); }
}

/* Mobile — under 640px ----------------------------------------- */
@media (max-width: 640px) {
  :root { --pad: 20px; }
  body { font-size: 15px; line-height: 1.55; }

  /* Display type */
  .hero__title {
    font-size: clamp(30px, 9vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    max-width: 100%;
  }
  .h-1 { font-size: clamp(28px, 8.2vw, 42px); line-height: 1.08; }
  .h-2 { font-size: clamp(24px, 7vw, 34px); line-height: 1.1; }
  .h-3 { font-size: clamp(20px, 5.4vw, 26px); line-height: 1.15; }
  .h-4 { font-size: clamp(18px, 4.6vw, 22px); }
  .display { font-size: clamp(28px, 8vw, 44px); line-height: 1.06; }
  .lede { font-size: clamp(16px, 4.4vw, 18px); line-height: 1.45; }
  .hero__lede { font-size: clamp(15px, 4.4vw, 18px); line-height: 1.45; }
  .three-ds__line { font-size: clamp(40px, 12vw, 56px); line-height: 1.02; }
  .three-ds__body { font-size: clamp(15px, 4.2vw, 18px); }
  .quote__text { font-size: clamp(22px, 6.5vw, 32px); line-height: 1.12; }
  .quote__mark { font-size: 48px; }

  /* Section rhythm — tighter */
  .section { padding: 56px 0; }
  .section--tight { padding: 40px 0; }
  .three-ds { padding: 72px 0; }
  .partners, .stat-strip { padding: 32px 0; }
  .cta { padding: 72px 0; }

  /* Hero — more breathing room around donor strip */
  .hero { min-height: 92vh; min-height: 92svh; padding-top: 96px; }
  .hero__inner { padding-bottom: clamp(140px, 26vw, 200px); }
  .hero__donors { padding: 14px var(--pad) 14px; }
  .hero__donors-inner { gap: 10px; }
  .hero__donors-label { font-size: 9px; letter-spacing: 0.18em; }
  .hero__donors-row { gap: 12px; }
  .hero__donors-row img { max-height: 18px; opacity: 0.78; }

  /* Stat strip — 2 columns on mobile */
  .stat-strip__row { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 24px 18px; }
  .stat__num { font-size: clamp(34px, 10vw, 52px); }
  .stat__label { font-size: 12px; }

  /* Page-hero — shorter and lighter */
  .page-hero { padding: 132px 0 36px; }
  .page-hero__title { margin-bottom: 18px; }

  /* About / Walker Skills 3-D's grid on About page */
  .three-cols { grid-template-columns: 1fr !important; gap: 32px !important; }

  /* Programs / Events rows — stack tighter */
  .program-row { padding: 22px 0; gap: 14px; }
  .program-row__num { font-size: 18px; }
  .event-row { padding: 16px 0; }

  /* Footer */
  .footer { padding: 56px 0 24px; }
  .footer__grid { padding-bottom: 40px; gap: 28px; }
  .footer__brand img { height: 88px; }
  .footer__bottom { padding-top: 20px; }

  /* Donate page numbered grid stacks */
  .donate-list { grid-template-columns: 1fr !important; gap: 12px 0 !important; }

  /* Modals + lightbox */
  .modal__card { padding: 32px 20px 24px; max-height: 92vh; }
  .lightbox { padding: 16px; }
  .lightbox__nav { width: 38px; height: 38px; }
}

/* Very small phones */
@media (max-width: 380px) {
  .hero__title { font-size: clamp(26px, 8.4vw, 36px); }
  .h-1 { font-size: clamp(26px, 8vw, 38px); }
  .three-ds__line { font-size: clamp(36px, 11vw, 48px); }
  .stat__num { font-size: clamp(30px, 9vw, 44px); }
}

/* ============================================================
   APPLY MODAL  — Smiley-style picker
   ============================================================ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(7, 20, 42, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.is-open { display: flex; animation: modal-fade 0.22s ease; }
@keyframes modal-fade { from { opacity: 0 } to { opacity: 1 } }

.modal__card {
  background: var(--paper-soft);
  color: var(--ink);
  max-width: 560px;
  width: 100%;
  padding: 48px 40px 40px;
  border-radius: 6px;
  position: relative;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
  max-height: 90vh;
  overflow-y: auto;
}
.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.modal__close:hover { background: var(--paper-strong); border-color: var(--muted); }

.modal__eyebrow { color: var(--accent); margin-bottom: 14px; }
.modal__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3.6vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  font-variation-settings: "opsz" 60;
}
.modal__sub {
  color: var(--muted-strong);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 28px;
}

.modal__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal__option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.modal__option:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  background: #fff;
}
.modal__option-num {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--muted);
  width: 28px;
  flex-shrink: 0;
  font-variation-settings: "opsz" 30;
}
.modal__option-text { flex: 1; }
.modal__option-text strong {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
}
.modal__option-text span {
  font-size: 13px;
  color: var(--muted-strong);
  line-height: 1.4;
}
.modal__option-arrow {
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

body.modal-open { overflow: hidden; }

@media (max-width: 520px) {
  .modal__card { padding: 32px 24px 28px; }
  .modal__option { padding: 12px 14px; gap: 12px; }
}

/* ============================================================
   ROW CTA pill (used on Trade rows)
   ============================================================ */
.row-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #FFF;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.18s ease, transform 0.18s ease;
}
.program-row:hover .row-cta { background: var(--accent-deep); transform: translateX(4px); }

/* ============================================================
   FORMS — apply / contact / general
   ============================================================ */
.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 640px;
}
.form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form__field > label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted-strong);
}
.form__field > label sup {
  color: var(--accent);
  margin-left: 2px;
  font-size: 11px;
  vertical-align: top;
}
.form__field input,
.form__field select,
.form__field textarea {
  padding: 14px 16px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 15px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  width: 100%;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(42, 108, 255, 0.14);
}
.form__field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.5;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }

.form__hint {
  font-size: 12px;
  color: var(--muted-strong);
  margin-top: -2px;
}
.form__success {
  background: var(--paper-strong);
  border-left: 3px solid var(--accent);
  padding: 28px 32px;
  border-radius: 2px;
  display: none;
}
.form__success.is-visible { display: block; }
.form__success h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 8px;
  font-variation-settings: "opsz" 30;
}
.form__success p { margin: 0; color: var(--muted-strong); }

/* ============================================================
   STAFF GRID  (Our Team page)
   ============================================================ */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  border-top: 1px solid var(--rule);
  padding-top: 40px;
}
.staff-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 0;
}
.staff-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--paper-strong);
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  font-variation-settings: "opsz" 30;
}
.staff-card__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--ink);
  font-variation-settings: "opsz" 30;
}
.staff-card__title {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted-strong);
  line-height: 1.4;
}

.board-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.board-list li {
  padding: 14px 0;
  border-top: 1px solid var(--rule-dark);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: -0.005em;
  color: var(--paper);
  font-variation-settings: "opsz" 30;
}
.board-list li:last-child { border-bottom: 1px solid var(--rule-dark); }

@media (max-width: 880px) {
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .board-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 520px) {
  .staff-grid { grid-template-columns: 1fr; gap: 8px; }
}

/* ============================================================
   FAQ accordion (Family Corner)
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}
.faq {
  border-bottom: 1px solid var(--rule);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 0;
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  gap: 20px;
  align-items: baseline;
  transition: color 0.16s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq[open] summary { color: var(--ink); }

.faq__num {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--muted);
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 30;
}
.faq__q {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: inherit;
  font-variation-settings: "opsz" 60;
}
.faq__icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--muted-strong);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.2s ease;
}
.faq[open] .faq__icon { transform: rotate(45deg); background: var(--ink); color: var(--paper); border-color: var(--ink); }

.faq__a {
  padding: 0 60px 32px 80px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.6;
  max-width: 70ch;
}

@media (max-width: 640px) {
  .faq summary { grid-template-columns: 40px 1fr 32px; gap: 12px; padding: 20px 0; }
  .faq__num { font-size: 14px; }
  .faq__a { padding: 0 0 24px 52px; }
}

/* ============================================================
   PROGRAM FACTS  (program detail pages)
   ============================================================ */
.program-facts {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.program-fact {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.program-fact__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted-strong);
}
.program-fact__value {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
}
@media (max-width: 640px) {
  .program-fact { grid-template-columns: 1fr; gap: 6px; }
}

/* ============================================================
   PHOTO GALLERY  (event detail pages)
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery--two { grid-template-columns: repeat(2, 1fr); }
.gallery__tile {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--paper-strong);
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
}
.gallery__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery__tile:hover img { transform: scale(1.03); }

@media (max-width: 720px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}
@media (max-width: 420px) {
  .gallery { grid-template-columns: 1fr; }
}

/* Featured first tile (spans 2x2 in 3-col grid) */
.gallery__tile--feature {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
@media (max-width: 720px) {
  .gallery__tile--feature { grid-column: span 2; grid-row: auto; aspect-ratio: 16/10; }
}

/* ============================================================
   LIGHTBOX  (full-screen photo + video overlay)
   ============================================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(7, 20, 42, 0.92);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.lightbox.is-open { display: flex; animation: modal-fade 0.22s ease; }
.lightbox__close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  background: transparent;
  color: #fff;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lightbox__close:hover { background: rgba(255,255,255,0.12); }
.lightbox__content {
  max-width: min(1100px, 96vw);
  max-height: 86vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__content img {
  max-width: 100%;
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
}
.lightbox__content iframe {
  width: min(960px, 92vw);
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 2px;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(7,20,42,0.6);
  color: #fff;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox__nav:hover { background: rgba(7,20,42,0.85); border-color: rgba(255,255,255,0.6); }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }

/* ============================================================
   HERO VIDEO + FOX FEATURE LIGHTBOX TRIGGER
   ============================================================ */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__feature {
  position: absolute;
  right: var(--pad);
  /* Sit above the donor strip, well clear of it */
  bottom: 160px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px 12px 12px;
  background: rgba(7,20,42,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}
.hero__feature:hover { background: rgba(7,20,42,0.78); transform: translateY(-1px); }
.hero__feature-play {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 14px;
  padding-left: 3px;
}
.hero__feature-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  padding-right: 6px;
}
.hero__feature-text small {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}
.hero__feature-text strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: -0.005em;
  font-variation-settings: "opsz" 30;
}

@media (max-width: 720px) {
  /* Compact pill at top-right of hero, clear of the headline + donor strip */
  .hero__feature {
    bottom: auto;
    top: 96px;
    right: 16px;
    left: auto;
    transform: none;
    padding: 6px 12px 6px 6px;
    gap: 10px;
  }
  .hero__feature:hover { transform: translateY(-1px); }
  .hero__feature-play { width: 30px; height: 30px; font-size: 10px; }
  .hero__feature-text small { font-size: 9px; letter-spacing: 0.16em; }
  .hero__feature-text strong { font-size: 12px; }
}
/* On very small phones, hide entirely — the video lives on the Media page too */
@media (max-width: 480px) {
  .hero__feature { display: none; }
}
