/* ==========================================================================
   Hope FC Design System
   Brand: crimson red / ink black / white, phoenix crest
   Type: Barlow Condensed (display) + Inter (body)
   ========================================================================== */

:root {
  /* Brand colour */
  --c-red: #D2122A;
  --c-red-dark: #9C0E20;
  --c-red-deep: #6E0917;

  /* Neutrals */
  --c-ink: #0A0A0C;
  --c-ink-soft: #141417;
  --c-ink-line: rgba(255, 255, 255, 0.12);
  --c-paper: #ffffff;
  --c-fog: #F4F4F6;
  --c-fog-line: rgba(10, 10, 12, 0.1);
  --c-text: #17171B;
  --c-text-soft: #55555F;
  --c-text-invert: #F4F4F6;
  --c-text-invert-soft: #B7B7C0;

  /* Type */
  --f-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 10px;
  --header-h: 76px;

  /* Uniform vertical rhythm */
  --space-section: clamp(3.5rem, 8vw, 6.5rem);
  --space-block: clamp(2rem, 4vw, 3rem);
  --space-item: 1.1rem;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
img, picture, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  font-family: var(--f-body);
  background: var(--c-paper);
  color: var(--c-text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:focus-visible {
  outline: 3px solid var(--c-red);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--c-red);
  color: #fff;
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

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

/* ---------- Type scale ---------- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.02;
}

h1 { font-size: clamp(2.6rem, 6.5vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
h4 { font-size: 1.05rem; letter-spacing: 0.04em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-red);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--c-red);
  display: inline-block;
}
.eyebrow.on-dark { color: #fff; }
.eyebrow.on-dark::before { background: var(--c-red); }

/* Uniform heading rhythm: eyebrow, heading, lede always space the same way */
.eyebrow + h1, .eyebrow + h2, .eyebrow + h3 { margin-top: 0.9rem; }
h1 + .lede, h2 + .lede, h3 + .lede { margin-top: var(--space-item); }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--c-text-soft);
  max-width: 60ch;
}
.on-dark .lede, .lede.on-dark { color: var(--c-text-invert-soft); }
.lede + .lede { margin-top: var(--space-item); }

/* ---------- Layout ---------- */
.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 880px; }

.section { padding-block: var(--space-section); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--dark { background: var(--c-ink); color: var(--c-text-invert); }
.section--fog { background: var(--c-fog); }

/* First section under the fixed header on pages without a hero */
.page-top { padding-top: calc(var(--header-h) + clamp(2.5rem, 7vw, 4.5rem)); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: var(--space-block);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--c-red); color: #fff; }
.btn--primary:hover { background: var(--c-red-dark); }

.btn--ghost { border-color: currentColor; color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,0.12); }

.btn--dark { border-color: var(--c-ink); color: var(--c-ink); }
.btn--dark:hover { background: var(--c-ink); color: #fff; }

.btn--sm { padding: 0.6rem 1.15rem; font-size: 0.85rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: var(--space-block);
}
.btn-row--center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background-color: transparent;
  box-shadow: 0 1px 0 transparent;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
/* At rest (top of page, over a hero image) the header shows only a soft
   legibility gradient instead of a solid fill; this layer fades out once
   .is-solid/.menu-open takes over so the two never composite together. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(10,10,12,0.8), rgba(10,10,12,0));
  opacity: 1;
  transition: opacity 0.3s var(--ease);
}
.site-header.is-solid {
  background-color: rgba(10, 10, 12, 0.97);
  box-shadow: 0 1px 0 var(--c-ink-line);
}
.site-header.menu-open {
  background-color: var(--c-ink);
  box-shadow: 0 1px 0 var(--c-ink-line);
}
.site-header.is-solid::before,
.site-header.menu-open::before {
  opacity: 0;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 48px; width: auto; transition: transform .25s var(--ease); }
.brand:hover img { transform: scale(1.06); }

.nav-primary { display: flex; align-items: center; gap: 2.2rem; }
.nav-primary a {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  padding-block: 0.4rem;
}
.nav-primary a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--c-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-primary a:hover::after,
.nav-primary a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 0.9rem; }
.social-links { display: flex; gap: 0.6rem; }
.social-links a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--c-ink-line);
  color: #fff;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.social-links a:hover { background: var(--c-red); border-color: var(--c-red); }
.social-links svg { width: 16px; height: 16px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--c-ink-line);
  color: #fff;
  place-items: center;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: currentColor;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-drawer { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
/* <picture> is a block box with no intrinsic height of its own; without an
   explicit height it shrinks to the img's aspect ratio instead of filling
   this container, which breaks the img's height:100% below. */
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero__media img.obj-top { object-position: center 15%; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(6,6,8,0.94) 0%, rgba(6,6,8,0.55) 42%, rgba(6,6,8,0.15) 68%, rgba(6,6,8,0.55) 100%),
    linear-gradient(to right, rgba(6,6,8,0.35), rgba(6,6,8,0) 55%);
}
.hero__content {
  padding-block: clamp(7rem, 18vw, 10rem) clamp(3rem, 7vw, 4.5rem);
  max-width: 900px;
}
.hero__content h1 { color: #fff; }

/* All interior page heroes share one consistent height */
.hero--page {
  min-height: clamp(420px, 55vh, 640px);
  align-items: flex-end;
}
.hero--page .hero__content { padding-block: calc(var(--header-h) + 3rem) clamp(2.5rem, 6vw, 3.5rem); }

.scroll-cue {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--c-text-invert-soft);
  font-family: var(--f-display);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-cue::after {
  content: "";
  width: 1px; height: 34px;
  background: linear-gradient(to bottom, currentColor, transparent);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: scaleY(0.3); } 40% { opacity: 1; } 100% { opacity: 0; transform: scaleY(1); } }

/* ---------- Stat / honours strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--c-ink-line);
}
.stat-strip__item {
  padding: 2.25rem var(--gutter);
  border-right: 1px solid var(--c-ink-line);
  text-align: center;
}
.stat-strip__item:last-child { border-right: 0; }
.stat-strip__num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--c-red);
  line-height: 1;
}
.stat-strip__label {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text-invert-soft);
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .card-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .card-grid--4 { grid-template-columns: 1fr; } }

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--c-paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-fog-line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.news-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -20px rgba(10,10,12,0.35); }
.news-card__media { aspect-ratio: 4/3; overflow: hidden; background: var(--c-ink); }
.news-card__media picture { display: block; width: 100%; height: 100%; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.06); }
.news-card__body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.65rem; flex: 1; }
.news-card__date { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-red); font-weight: 700; }
.news-card__body h3 { text-transform: none; letter-spacing: 0; }
.news-card__body p { color: var(--c-text-soft); font-size: 0.96rem; }
.news-card__link { margin-top: auto; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--c-ink); display: inline-flex; align-items: center; gap: 0.4rem; }
.news-card__link svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.news-card:hover .news-card__link svg { transform: translateX(4px); }

.people-card {
  background: var(--c-ink-soft);
  border: 1px solid var(--c-ink-line);
  border-radius: var(--radius);
  padding: 1.5rem;
  color: var(--c-text-invert);
}
.people-card__photo {
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  border: 1px solid var(--c-ink-line);
  background:
    linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01) 55%),
    var(--c-ink);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}
.people-card__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.people-card__photo span {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}
.people-card__role { color: var(--c-red); font-family: var(--f-display); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.82rem; }
.people-card h3 { margin-top: 0.35rem; text-transform: none; letter-spacing: 0; font-size: 1.4rem; }
.people-card p { margin-top: 0.75rem; color: var(--c-text-invert-soft); font-size: 0.94rem; }

.pillar-card {
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  background: var(--c-paper);
  border: 1px solid var(--c-fog-line);
}
.pillar-card__num { font-family: var(--f-display); font-weight: 800; color: var(--c-red); font-size: 1rem; letter-spacing: 0.1em; }
.pillar-card h3 { margin-top: 0.75rem; text-transform: none; letter-spacing: 0; }
.pillar-card p { margin-top: 0.6rem; color: var(--c-text-soft); }

/* ---------- Split / feature sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split--top { align-items: start; }
.split__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.split__media picture { display: block; width: 100%; height: 100%; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split--reverse .split__media { order: 2; }

/* Crest variant: transparent logo shown directly on the section background, no box */
.split__media--crest {
  aspect-ratio: auto;
  border-radius: 0;
  overflow: visible;
  display: grid;
  place-items: center;
}
.split__media--crest img {
  width: min(340px, 75%);
  height: auto;
  object-fit: contain;
}

/* ---------- Quote ---------- */
.quote-block {
  position: relative;
  padding-left: clamp(1.5rem, 4vw, 3rem);
  border-left: 4px solid var(--c-red);
  margin-top: var(--space-block);
}
.quote-block p {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.3;
}
.quote-block cite {
  display: block;
  margin-top: 1.25rem;
  font-style: normal;
  font-weight: 700;
  font-size: 0.95rem;
}
.quote-block cite span {
  display: block;
  font-weight: 500;
  color: var(--c-text-soft);
  font-size: 0.85rem;
}
.on-dark.quote-block cite span { color: var(--c-text-invert-soft); }

/* ---------- Timeline ---------- */
.timeline { border-left: 2px solid var(--c-ink-line); margin-left: 0.6rem; }
.timeline__item { position: relative; padding: 0 0 2.75rem 2.25rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -7px; top: 0.3rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--c-red);
  box-shadow: 0 0 0 4px var(--c-ink);
}
.timeline__date { font-family: var(--f-display); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--c-red); font-size: 0.85rem; }
.timeline__item h3 { margin-top: 0.4rem; text-transform: none; letter-spacing: 0; font-size: 1.25rem; }
.timeline__item p { margin-top: 0.5rem; color: var(--c-text-invert-soft); max-width: 60ch; }

/* ---------- Tables (fixtures/results) ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--c-fog-line); border-radius: var(--radius); }
table.results { width: 100%; border-collapse: collapse; min-width: 640px; }
table.results th, table.results td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--c-fog-line); font-size: 0.95rem; }
table.results thead th { font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.78rem; color: var(--c-text-soft); background: var(--c-fog); }
table.results tbody tr:last-child td { border-bottom: 0; }
table.results tbody tr:hover { background: var(--c-fog); }
.result-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 2.6rem; padding: 0.2rem 0.5rem; border-radius: 6px; font-family: var(--f-display); font-weight: 700; }
.result-pill--win { background: rgba(20,140,80,0.12); color: #147c4f; }
.result-pill--draw { background: rgba(140,140,150,0.15); color: #5a5a63; }
.badge-final { display: inline-block; margin-left: 0.5rem; padding: 0.15rem 0.55rem; border-radius: 999px; background: var(--c-red); color: #fff; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; }

/* ---------- Notice / empty states ---------- */
.notice-card {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--radius);
  background: var(--c-ink);
  color: #fff;
  background-image: radial-gradient(circle at 100% 0%, rgba(210,18,42,0.35), transparent 55%);
}
.notice-card h3 { text-transform: none; letter-spacing: 0; font-size: 1.5rem; margin-top: 0.75rem; }
.notice-card p { color: var(--c-text-invert-soft); margin-top: 0.5rem; max-width: 46ch; }

/* ---------- Article pages ---------- */
.article-meta { margin-top: 1rem; color: var(--c-text-soft); font-weight: 600; }
.article-media {
  margin-top: var(--space-block);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 560px;
}
.article-media img { width: 100%; height: auto; }
.prose {
  margin-top: var(--space-block);
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  line-height: 1.75;
}
.prose p + p { margin-top: 1.4em; }
.prose a { color: var(--c-red); font-weight: 600; }
.prose a:hover { text-decoration: underline; }
.note { margin-top: var(--space-block); font-size: 0.85rem; color: var(--c-text-soft); }

/* ---------- Contact ---------- */
.address-lg { font-style: normal; margin-top: var(--space-block); font-size: 1.05rem; line-height: 1.8; }
.subhead {
  margin-top: var(--space-block);
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  color: var(--c-text-soft);
}
.subhead + .lede { margin-top: 0.6rem; }
.map-embed {
  margin-top: var(--space-block);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-fog-line);
}
.map-embed iframe { display: block; width: 100%; height: 320px; border: 0; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr 1fr; margin-top: var(--space-block); }
.form-grid .field--full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em; }
.field input, .field textarea, .field select {
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1.5px solid var(--c-fog-line);
  background: var(--c-fog);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--c-red);
  background: #fff;
  outline: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.hp-field { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-ink); color: var(--c-text-invert); }
.footer-top { padding-block: clamp(3rem, 6vw, 4.5rem); display: grid; gap: 2.5rem; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; }
.footer-brand img { height: 56px; margin-bottom: 1rem; }
.footer-brand p { color: var(--c-text-invert-soft); max-width: 32ch; font-size: 0.94rem; margin-bottom: 1.25rem; }
.footer-col h4 { color: #fff; margin-bottom: 1.1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { color: var(--c-text-invert-soft); font-size: 0.94rem; transition: color .2s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-col address { font-style: normal; color: var(--c-text-invert-soft); font-size: 0.94rem; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid var(--c-ink-line);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--c-text-invert-soft);
}
.footer-bottom nav { display: flex; gap: 1.5rem; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom__right { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.footer-credit { color: var(--c-text-invert-soft); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Utilities ---------- */
.center-text { text-align: center; }
.center-text .lede { margin-inline: auto; }
.mt-lg { margin-top: var(--space-block); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .nav-primary { display: none; }
  .nav-toggle { display: grid; }
  .header-actions .social-links { display: none; }

  .nav-drawer {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 90;
    background: var(--c-ink);
    display: flex;
    flex-direction: column;
    padding: 1.5rem var(--gutter) 3rem;
    overflow-y: auto;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .nav-drawer.is-open {
    opacity: 1;
    transform: none;
    visibility: visible;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav-drawer a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--f-display);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #fff;
    padding-block: 1.05rem;
    border-bottom: 1px solid var(--c-ink-line);
    min-height: 48px;
  }
  .nav-drawer a::after {
    content: "\2192";
    font-family: var(--f-body);
    font-size: 1rem;
    color: var(--c-text-invert-soft);
    transition: color .2s var(--ease), transform .2s var(--ease);
  }
  .nav-drawer a:hover::after { color: var(--c-red); transform: translateX(3px); }
  .nav-drawer a[aria-current="page"] {
    color: var(--c-red);
    border-bottom-color: var(--c-red);
  }
  .nav-drawer a[aria-current="page"]::after { color: var(--c-red); }
  .nav-drawer .social-links { margin-top: 2rem; }
  .nav-drawer .social-links a {
    display: grid;
    place-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    min-height: 0;
    padding: 0;
    border: 1px solid var(--c-ink-line);
  }
  .nav-drawer .social-links a::after { content: none; }

  .split { grid-template-columns: 1fr; }
  .split__media, .split--reverse .split__media { order: -1; }
  .split__media:not(.split__media--crest) { aspect-ratio: 16/10; }
  .split__media--crest { padding-block: 1rem; }

  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip__item:nth-child(2) { border-right: 0; }
  .stat-strip__item:nth-child(n+3) { border-top: 1px solid var(--c-ink-line); }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { justify-content: center; }
  .notice-card { flex-direction: column; align-items: flex-start; }
  /* Stacked full-width buttons push into the scroll cue's space on short screens */
  .scroll-cue { display: none; }
}
