:root {
  --color-bg-dark-deepest: #000000;
  --color-bg-dark-deep: #0a0a0a;
  --color-bg-dark-elevated: #1a1a1a;

  --color-white: #ffffff;
  --color-off-white: #fafafa;
  --color-charcoal-light: #ececec;
  --color-charcoal-mid: #d8d8d8;

  --color-text-on-light: #0a0a0a;
  --color-text-on-light-second: #3a3a3a;
  --color-text-on-light-muted: #5a5a5a;

  --color-text-on-dark: #ffffff;
  --color-text-on-dark-second: #d4d4d4;
  --color-text-on-dark-muted: #9a9a9a;

  --color-red: #e63946;
  --color-red-bright: #ff5a67;
  --color-red-deep: #a4161a;

  --color-gray-light: #c4c4c4;
  --color-gray-mid: #7a7a7a;
  --color-gray-dark: #3a3a3a;

  --color-gold: #c9a227;
  --color-gold-light: #f4d77a;
  --color-gold-dark: #8a6f1a;

  --color-rule-on-light: rgba(10, 10, 10, 0.1);
  --color-rule-on-dark: rgba(255, 255, 255, 0.1);
  --color-rule-red-light: rgba(164, 22, 26, 0.3);
  --color-rule-red-dark: rgba(230, 57, 70, 0.35);
  --color-rule-gold-dark: rgba(201, 162, 39, 0.3);

  --font-serif: "Georgia", "Times New Roman", serif;
  --font-sans: "Helvetica Neue", "Segoe UI", "Inter", Arial, sans-serif;
  --font-mono: "SF Mono", "Consolas", "Courier New", monospace;
  --text-eyebrow: clamp(0.65rem, 1.1vw, 0.78rem);
  --text-body: clamp(0.95rem, 1.4vw, 1.05rem);
  --text-lead: clamp(1.05rem, 1.7vw, 1.2rem);
  --text-h3: clamp(1.2rem, 2.2vw, 1.5rem);
  --text-h2: clamp(1.6rem, 3.5vw, 2.4rem);
  --text-h1: clamp(2.2rem, 5vw, 3.6rem);

  --track-tight: -0.01em;
  --track-wider: 0.12em;
  --track-widest: 0.4em;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: clamp(3rem, 7vw, 6rem);
  --section-pad-y: clamp(3rem, 7vw, 6rem);
  --section-pad-x: clamp(1.25rem, 5vw, 4rem);

  --shadow-card-light:
    0 4px 16px rgba(0, 0, 0, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-card-dark:
    0 4px 12px rgba(0, 0, 0, 0.4),
    0 1px 3px rgba(0, 0, 0, 0.6);
  --shadow-glow-red: 0 0 24px rgba(230, 57, 70, 0.35);
  --shadow-glow-red-light: 0 0 24px rgba(164, 22, 26, 0.18);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.4s var(--ease-out);

  --header-height: clamp(4.3rem, 9vh, 5.9rem);
  --header-sticky-offset: clamp(5.5rem, 9vw, 7rem);
  --header-overlay-top-gap: 0.75rem;
  --header-flag-image: url("images/american-flag-header-light.jpg");
  --header-border: rgba(201, 162, 39, 0.34);
  --header-shadow: 0 0.9rem 2.4rem rgba(0, 0, 0, 0.28);
  --header-shadow-strong: 0 1.15rem 2.8rem rgba(0, 0, 0, 0.34);
  --header-maroon: rgba(78, 10, 10, 0.58);
  --header-navy: rgba(3, 7, 28, 0.9);

  --hero-overlay-left: rgba(1, 7, 18, 0.82);
  --hero-overlay-mid: rgba(3, 10, 24, 0.56);
  --hero-overlay-right: rgba(4, 12, 24, 0.36);

  --card-w: 280px;
  --card-h: 360px;
  --ring-spacing: 1.5;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-sticky-offset) + 0.75rem);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-text-on-light);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.65;
}

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

a {
  color: var(--color-red-deep);
  text-decoration: underline;
}

a:hover,
a:focus {
  text-decoration: none;
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--color-bg-dark-deepest);
  color: #fff;
  padding: var(--space-xs) var(--space-sm);
  z-index: 2000;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 0;
}

.container {
  width: min(92%, 75rem);
  margin-inline: auto;
}

section[id],
footer[id] {
  scroll-margin-top: calc(var(--header-sticky-offset) + 0.75rem);
}

h1, h2, h3 {
  margin: 0 0 var(--space-md);
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: var(--track-tight);
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }

p {
  margin: 0 0 var(--space-sm);
}

.section {
  position: relative;
  padding: var(--section-pad-y) var(--section-pad-x);
  overflow: hidden;
}

.section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section__inner--narrow {
  max-width: 760px;
}

.section--white {
  background: var(--color-white);
  color: var(--color-text-on-light);
}

.section--off-white {
  background: var(--color-off-white);
  color: var(--color-text-on-light);
}

.section--charcoal-light {
  background: var(--color-charcoal-light);
  color: var(--color-text-on-light);
  border-top: 1px solid var(--color-rule-on-light);
  border-bottom: 1px solid var(--color-rule-on-light);
}

.section--dark {
  background: radial-gradient(ellipse at center, var(--color-bg-dark-elevated) 0%, var(--color-bg-dark-deep) 70%, var(--color-bg-dark-deepest) 100%);
  color: var(--color-text-on-dark-second);
  border-top: 1px solid var(--color-rule-red-dark);
  border-bottom: 1px solid var(--color-rule-red-dark);
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.5);
}

.section--dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(60%, 600px);
  height: 1px;
  background: linear-gradient(to right,
    transparent,
    var(--color-gold) 15%,
    var(--color-red) 35%,
    var(--color-red-bright) 50%,
    var(--color-red) 65%,
    var(--color-gold) 85%,
    transparent);
  box-shadow: 0 0 12px rgba(230, 57, 70, 0.5);
}

.section--white::before,
.section--off-white::before,
.section--charcoal-light::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(60%, 600px);
  height: 1px;
  background: linear-gradient(to right,
    transparent,
    var(--color-red-deep) 30%,
    var(--color-red) 50%,
    var(--color-red-deep) 70%,
    transparent);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
  padding: 0 var(--space-sm);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-sans);
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: var(--track-widest);
  text-transform: uppercase;
  margin: 0 0 var(--space-sm);
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: clamp(20px, 4vw, 50px);
  height: 1px;
}

.section--white .eyebrow,
.section--off-white .eyebrow,
.section--charcoal-light .eyebrow {
  color: var(--color-red-deep);
}

.section--white .eyebrow::before,
.section--off-white .eyebrow::before,
.section--charcoal-light .eyebrow::before {
  background: linear-gradient(to right, transparent, var(--color-red-deep));
}

.section--white .eyebrow::after,
.section--off-white .eyebrow::after,
.section--charcoal-light .eyebrow::after {
  background: linear-gradient(to left, transparent, var(--color-red-deep));
}

.section-title {
  font-family: var(--font-serif);
  font-size: var(--text-h2);
  font-style: italic;
  letter-spacing: var(--track-tight);
  line-height: 1.2;
  margin: 0;
  color: var(--color-text-on-light);
}

.section-lead {
  margin: var(--space-md) auto 0;
  max-width: 60ch;
  font-size: var(--text-lead);
  line-height: 1.6;
  color: var(--color-text-on-light-second);
}

.red {
  font-style: italic;
  /* v4 bug fix — the original used `background: linear-gradient(...)` AFTER
     `background-clip: text`, which the shorthand silently resets to its default.
     Using `background-image` (long-hand) preserves the clip. */
  background-image: linear-gradient(135deg, var(--color-red-deep) 0%, var(--color-red) 50%, var(--color-red-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-sans);
  font-size: var(--text-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--track-wider);
  text-decoration: none;
  background: transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.btn--solid {
  color: var(--color-white);
  background: var(--color-red-deep);
  border-color: var(--color-red-deep);
}

.btn--solid:hover,
.btn--solid:focus {
  background: var(--color-red);
  border-color: var(--color-red);
  box-shadow: var(--shadow-glow-red);
  transform: translateY(-1px);
}

.btn--outline {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.06);
}

.btn--outline:hover,
.btn--outline:focus {
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn--header {
  white-space: nowrap;
  padding-inline: 1.1rem;
  border-radius: 3px;
  box-shadow: 0 0.45rem 1rem rgba(0, 0, 0, 0.22);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--header-overlay-top-gap) 0 0;
  color: #ffffff;
  background: transparent;
}

.site-header__inner {
  position: relative;
  isolation: isolate;
  /* NOTE: v4 — removed `overflow: hidden` here so :focus-visible outlines
     on interior controls are not clipped. Decorative overflow is now
     contained on ::before/::after via clip-path below. */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
  padding: 0.8rem 1rem;
  border: 1px solid var(--header-border);
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(4, 7, 16, 0.9), rgba(4, 7, 16, 0.7)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.12), rgba(201, 162, 39, 0.08), rgba(0, 0, 0, 0.12)),
    var(--header-flag-image);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: var(--header-shadow);
}

.site-header__inner::before,
.site-header__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* v4 — clip decorative layers to the rounded-rectangle shape of the header
     so removing overflow:hidden above does not leak the sheen/glow outside. */
  border-radius: inherit;
  -webkit-clip-path: inset(0 round 1rem);
  clip-path: inset(0 round 1rem);
}

.site-header__inner::before {
  z-index: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(201, 162, 39, 0.1), transparent 34%),
    radial-gradient(circle at 82% 24%, rgba(67, 5, 34, 0.34), transparent 28%),
    linear-gradient(120deg, var(--header-maroon), transparent 32%),
    linear-gradient(300deg, var(--header-navy), transparent 35%);
  opacity: 0.9;
}

.site-header__inner::after {
  z-index: 0;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0) 26%,
    rgba(255, 244, 199, 0.1) 40%,
    rgba(255, 255, 255, 0.03) 50%,
    rgba(255, 255, 255, 0) 64%
  );
  mix-blend-mode: screen;
  opacity: 0.45;
  transform: translateX(-12%);
  animation: header-sheen 11s ease-in-out infinite;
}

.site-header__inner > * {
  position: relative;
  z-index: 1;
}

.site-header.is-scrolled .site-header__inner {
  box-shadow: var(--header-shadow-strong);
}

@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
  .site-header__inner {
    -webkit-backdrop-filter: blur(14px) saturate(130%);
    backdrop-filter: blur(14px) saturate(130%);
  }
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 1.2rem + 1vw, 2.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow:
    0 0 0.45rem rgba(0, 0, 0, 0.5),
    0 0 0.8rem rgba(201, 162, 39, 0.16);
}

.site-header__actions {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.site-menu__toggle {
  position: relative;
  z-index: 25;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 2.9rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(201, 162, 39, 0.84);
  border-radius: 0.5rem;
  background: linear-gradient(180deg, rgba(7, 12, 22, 0.72), rgba(7, 12, 22, 0.86));
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0.4rem 1rem rgba(0, 0, 0, 0.2);
}

.site-menu__toggle-icon {
  position: relative;
  display: inline-flex;
  width: 1.5rem;
  height: 1.1rem;
}

.site-menu__toggle-line,
.site-menu__toggle-line::before,
.site-menu__toggle-line::after {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background-color: currentColor;
  content: "";
  transition: transform 0.24s ease, opacity 0.24s ease, background-color 0.24s ease;
}

.site-menu__toggle-line {
  top: 50%;
  transform: translateY(-50%);
}

.site-menu__toggle-line::before {
  top: -0.42rem;
}

.site-menu__toggle-line::after {
  bottom: -0.42rem;
}

.site-menu__toggle.is-active .site-menu__toggle-line {
  background-color: transparent;
}

.site-menu__toggle.is-active .site-menu__toggle-line::before {
  transform: translateY(0.42rem) rotate(45deg);
}

.site-menu__toggle.is-active .site-menu__toggle-line::after {
  transform: translateY(-0.42rem) rotate(-45deg);
}

.site-menu__toggle-text {
  line-height: 1;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: inline-block;
  padding: 0.68rem 0.9rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.975rem;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(201, 162, 39, 0.42);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.12);
}

.hero {
  background-color: var(--color-bg-dark-deepest);
}

.hero--full {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero__media,
.hero__picture {
  position: absolute;
  inset: 0;
}

.hero__picture,
.hero__image {
  display: block;
  width: 100%;
  height: 100%;
}

/* v4 — two-layer parallax.
   The BACK layer is scaled larger, blurred, and moves at a slower rate
   in the opposite direction to create depth.
   The FRONT layer is sharp and carries the primary Ken Burns motion. */

.hero__picture--back {
  z-index: 0;
}

.hero__picture--front {
  z-index: 1;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  will-change: transform;
}

.hero__image--front {
  transform: scale(1.08);
  transform-origin: 52% 48%;
  filter: saturate(1.06) contrast(1.08) brightness(0.86);
  animation: hero-ken-burns-front 26s ease-in-out infinite alternate;
}

.hero__image--back {
  transform: scale(1.28);
  transform-origin: 48% 52%;
  /* Blur + desaturate so this layer reads as "atmospheric depth" instead of a duplicate */
  filter: saturate(0.85) contrast(0.95) brightness(0.62) blur(8px);
  animation: hero-ken-burns-back 32s ease-in-out infinite alternate-reverse;
  opacity: 0.85;
}

/* Honor reduced-motion: single static frame, no animation */
@media (prefers-reduced-motion: reduce) {
  .hero__image--front,
  .hero__image--back {
    animation: none !important;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, var(--hero-overlay-left) 0%, var(--hero-overlay-mid) 42%, rgba(6, 14, 28, 0.22) 68%, var(--hero-overlay-right) 100%),
    linear-gradient(180deg, rgba(4, 10, 22, 0.28) 0%, rgba(4, 10, 22, 0.12) 22%, rgba(4, 10, 22, 0.08) 55%, rgba(4, 10, 22, 0.46) 100%);
}

.hero__shimmer {
  position: absolute;
  inset: -14% -30%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    118deg,
    rgba(255, 255, 255, 0) 22%,
    rgba(255, 255, 255, 0.02) 34%,
    rgba(255, 235, 183, 0.17) 46%,
    rgba(255, 255, 255, 0.06) 52%,
    rgba(255, 255, 255, 0) 66%
  );
  mix-blend-mode: screen;
  opacity: 0.58;
  transform: translate3d(-10%, 0, 0) rotate(9deg);
  animation: hero-shimmer 15s ease-in-out infinite;
}

/* v4 — secondary, broader light sweep that pulses across the full hero.
   Synced to a different cadence than `.hero__shimmer` so the two never align,
   creating a continuous, organic sense of shifting atmosphere. */
.hero__light-sweep {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 20% 35%,
      rgba(255, 220, 150, 0.14) 0%,
      rgba(255, 220, 150, 0) 60%),
    radial-gradient(ellipse 60% 45% at 82% 68%,
      rgba(164, 22, 26, 0.10) 0%,
      rgba(164, 22, 26, 0) 65%);
  mix-blend-mode: screen;
  animation: hero-light-sweep 20s ease-in-out infinite alternate;
}

@media (prefers-reduced-motion: reduce) {
  .hero__shimmer,
  .hero__light-sweep {
    animation: none !important;
  }
}

.hero__content-wrap {
  position: relative;
  z-index: 4;
  width: 100%;
  padding-top: clamp(9.5rem, 16vh, 12rem);
  padding-bottom: clamp(4.25rem, 10vh, 6.5rem);
}

.hero__content {
  display: flex;
  flex-direction: column;
  max-width: 50rem;
  color: #ffffff;
  text-align: left;
}

.subhead {
  max-width: 40rem;
  font-size: 1.125rem;
}

.hero__heading,
.hero__subhead {
  color: #f8f4eb;
}

.hero__heading {
  max-width: 12ch;
  margin-bottom: 0.85rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3rem, 6vw, 5.45rem);
  line-height: 0.98;
  letter-spacing: var(--track-tight);
  text-wrap: balance;
  text-shadow:
    0 0 0.08rem rgba(255, 244, 199, 0.3),
    0 0 1rem rgba(201, 162, 39, 0.14),
    0 0.2rem 0.8rem rgba(0, 0, 0, 0.5);
}

.hero__subhead {
  max-width: 40rem;
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 1rem + 0.7vw, 1.45rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-on-dark-second);
  text-shadow: 0 0.15rem 0.65rem rgba(0, 0, 0, 0.38);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.card {
  position: relative;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--color-red-deep), var(--color-red), var(--color-red-deep));
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  transform: translateY(-4px);
}

.card:hover::before {
  opacity: 1;
}

.section--white .card,
.section--off-white .card,
.section--charcoal-light .card {
  background: var(--color-white);
  border: 1px solid var(--color-rule-on-light);
  box-shadow: var(--shadow-card-light);
}

.section--white .card:hover,
.section--off-white .card:hover,
.section--charcoal-light .card:hover {
  border-color: rgba(164, 22, 26, 0.35);
  box-shadow: var(--shadow-card-light), var(--shadow-glow-red-light);
}

.card__title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-h3);
  margin: 0 0 var(--space-sm);
  color: var(--color-text-on-light);
}

.card__body {
  line-height: 1.6;
  margin: 0;
  color: var(--color-text-on-light-second);
}

.focus-card,
.step-card {
  display: flex;
  flex-direction: column;
}

.icon-placeholder {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  margin: 0 auto var(--space-sm);
  background: linear-gradient(135deg, rgba(164, 22, 26, 0.08), rgba(230, 57, 70, 0.14));
  border: 1px solid rgba(164, 22, 26, 0.16);
  border-radius: 50%;
}

.step-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto var(--space-sm);
  border-radius: 50%;
  background-color: var(--color-red-deep);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.125rem;
}

.eligibility-note {
  margin-top: var(--space-lg);
  text-align: center;
  font-size: 0.9375rem;
  color: var(--color-text-on-light-muted);
}

.impact-section {
  overflow: hidden;
}

.carousel {
  position: relative;
  width: 100%;
  height: calc(var(--card-h) + 80px);
  margin: var(--space-lg) auto 0;
  perspective: 1200px;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  cursor: grab;
}

.carousel.is-dragging {
  cursor: grabbing;
}

.carousel:focus-visible {
  outline: 2px solid var(--color-red-deep);
  outline-offset: 4px;
  border-radius: 8px;
}

.carousel__stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  will-change: transform;
}

.carousel__card {
  position: absolute;
  width: var(--card-w);
  height: var(--card-h);
  top: calc(var(--card-h) / -2);
  left: calc(var(--card-w) / -2);
  padding: 1.5rem 1.25rem;
  background: linear-gradient(145deg, #ffffff 0%, #f0f0f0 100%);
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backface-visibility: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  pointer-events: none;
  color: var(--color-text-on-light);
}

.carousel__card.is-active {
  border-color: var(--color-red-deep);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.18),
    0 6px 12px rgba(0, 0, 0, 0.08),
    0 0 24px rgba(164, 22, 26, 0.2);
}

.carousel__card.is-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--color-red-deep), var(--color-red), var(--color-red-deep));
  border-radius: 12px 12px 0 0;
}

.carousel__card-eyebrow {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-red-deep);
  margin: 0 0 0.4rem;
}

.carousel__card-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 400;
  color: var(--color-text-on-light);
  margin: 0 0 0.7rem;
  line-height: 1.25;
}

.carousel__card-body {
  font-size: clamp(0.78rem, 1.4vw, 0.9rem);
  color: var(--color-text-on-light-second);
  margin: 0;
  flex: 1;
}

.carousel__card-meta {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-rule-on-light);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-on-light-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.carousel__card-number {
  color: var(--color-red-deep);
  font-weight: 700;
}

.carousel__ground-shadow {
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  max-width: 500px;
  height: 50px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(14px);
  pointer-events: none;
  z-index: 0;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 3vw, 2rem);
  margin-top: clamp(1rem, 3vw, 1.75rem);
  padding: 0 1rem;
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--color-red-deep);
  border-radius: 50%;
  color: var(--color-red-deep);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  font-size: 1.1rem;
  font-family: var(--font-sans);
  flex-shrink: 0;
}

.carousel-arrow:hover,
.carousel-arrow:focus {
  background: var(--color-red-deep);
  color: var(--color-white);
  box-shadow: var(--shadow-glow-red);
  transform: translateY(-2px);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 60vw;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.carousel-dot.is-active {
  background: var(--color-red-deep);
  box-shadow: 0 0 10px rgba(164, 22, 26, 0.5);
  transform: scale(1.3);
}

.carousel-dot:focus-visible,
.carousel-arrow:focus-visible {
  outline: 2px solid var(--color-red-deep);
  outline-offset: 3px;
}

.carousel-hint {
  text-align: center;
  margin: 0.75rem 0 0;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-on-light-muted);
  padding: 0 1rem;
}

.sponsor-section {
  position: relative;
  width: 100%;
  background: radial-gradient(ellipse at center, var(--color-bg-dark-elevated) 0%, var(--color-bg-dark-deep) 70%, #000 100%);
  padding: clamp(2rem, 4vw, 3rem) 0;
  overflow: hidden;
  border-top: 1px solid var(--color-rule-red-dark);
  border-bottom: 1px solid var(--color-rule-red-dark);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6), 0 10px 40px rgba(0, 0, 0, 0.6), inset 0 0 80px rgba(0, 0, 0, 0.5);
}

.sponsor-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(60%, 600px);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-gold) 15%, var(--color-red) 50%, var(--color-gold) 85%, transparent);
  box-shadow: 0 0 12px rgba(230, 57, 70, 0.5);
}

.sponsor-header {
  text-align: center;
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
  padding: 0 1rem;
}

.sponsor-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-sans);
  font-size: clamp(0.65rem, 1.1vw, 0.75rem);
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-red-bright);
  margin: 0;
}

.sponsor-header__eyebrow::before,
.sponsor-header__eyebrow::after {
  content: "";
  width: clamp(20px, 4vw, 50px);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-gold));
}

.sponsor-header__eyebrow::after {
  background: linear-gradient(to left, transparent, var(--color-gold));
}

.sponsor-header__title {
  margin: 0.6rem 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--color-text-on-dark);
}

.sponsor-strip {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: clamp(0.75rem, 1.5vw, 1rem) 0;
}

.sponsor-strip::before,
.sponsor-strip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(60px, 12vw, 180px);
  z-index: 2;
  pointer-events: none;
}

.sponsor-strip::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg-dark-deep), transparent);
}

.sponsor-strip::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg-dark-deep), transparent);
}

.sponsor-track {
  display: flex;
  width: max-content;
  animation: sponsor-scroll 140s linear infinite;
  will-change: transform;
}

.sponsor-track:hover {
  animation-play-state: paused;
}

.sponsor-item {
  flex: 0 0 auto;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  height: clamp(40px, 6vw, 56px);
  padding: 0 clamp(1.5rem, 3.5vw, 2.75rem);
  color: var(--color-text-on-dark-second);
  font-family: var(--font-sans);
  font-size: clamp(0.78rem, 1.5vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.4s ease, transform 0.4s ease, text-shadow 0.4s ease;
}

.sponsor-item::after {
  content: "";
  position: absolute;
  right: 0;
  top: 25%;
  bottom: 25%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(230, 57, 70, 0.3) 50%, transparent);
}

.sponsor-item::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-red);
  box-shadow: 0 0 10px currentColor, 0 0 2px currentColor;
  flex-shrink: 0;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.sponsor-item:hover {
  color: var(--color-text-on-dark);
  transform: translateY(-2px);
  text-shadow: 0 0 20px rgba(255, 90, 103, 0.4);
}

.sponsor-item:hover::before {
  transform: scale(1.4);
  box-shadow: 0 0 16px currentColor, 0 0 4px currentColor;
}

.site-footer {
  background-color: var(--color-bg-dark-deepest);
  color: #ffffff;
  padding: 3rem 0;
  font-size: 0.875rem;
}

.site-footer a {
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: var(--space-md);
}

.footer-grid h3 {
  color: #ffffff;
  font-style: normal;
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid li + li {
  margin-top: 0.375rem;
}

.footer-bottom {
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

.site-menu__toggle:hover,
.site-menu__toggle:focus,
.btn:focus,
.site-nav a:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

@keyframes header-sheen {
  0% {
    transform: translateX(-16%);
    opacity: 0.24;
  }
  50% {
    transform: translateX(8%);
    opacity: 0.46;
  }
  100% {
    transform: translateX(20%);
    opacity: 0.22;
  }
}

/* =========================================================
   v4 HERO KEYFRAMES
   - Desktop uses TWO layers (front + back) moving at different
     rates / opposite reverse direction for parallax depth.
   - Mobile uses ONE layer with a wider scale range, longer cycle,
     and a tiny rotation to make the motion clearly more noticeable
     while staying within the "authentic, not theatrical" constraint.
   ========================================================= */

/* Front (sharp) layer — desktop */
@keyframes hero-ken-burns-front {
  0% {
    transform: scale(1.06) translate3d(0, 0, 0) rotate(0deg);
  }
  100% {
    transform: scale(1.22) translate3d(-2.8%, -1.8%, 0) rotate(0.35deg);
  }
}

/* Back (blurred, atmospheric) layer — desktop, moves slower & opposite */
@keyframes hero-ken-burns-back {
  0% {
    transform: scale(1.28) translate3d(0, 0, 0) rotate(0deg);
  }
  100% {
    transform: scale(1.40) translate3d(2.4%, 1.2%, 0) rotate(-0.25deg);
  }
}

/* Mobile — option A: dialed-up single-layer Ken Burns */
@keyframes hero-ken-burns-mobile {
  0% {
    transform: scale(1.06) translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: scale(1.18) translate3d(-1.1%, -1.6%, 0) rotate(0.25deg);
  }
  100% {
    transform: scale(1.28) translate3d(-1.8%, -2.6%, 0) rotate(0.4deg);
  }
}

/* Secondary atmospheric light sweep (both desktop and mobile) */
@keyframes hero-light-sweep {
  0% {
    opacity: 0.65;
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  100% {
    opacity: 0.95;
    transform: translate3d(2%, 1%, 0) scale(1.04);
  }
}

@keyframes hero-shimmer {
  0% {
    transform: translate3d(-12%, 0, 0) rotate(9deg);
    opacity: 0.3;
  }
  50% {
    transform: translate3d(6%, -1%, 0) rotate(9deg);
    opacity: 0.62;
  }
  100% {
    transform: translate3d(18%, -2%, 0) rotate(9deg);
    opacity: 0.32;
  }
}


.sponsor-item--logo {
  min-height: clamp(48px, 6vw, 62px);
  padding-inline: clamp(1.25rem, 3vw, 2.25rem);
}

.sponsor-item--logo::before {
  display: none;
}

.sponsor-item__logo {
  display: block;
  width: auto;
  max-width: clamp(92px, 16vw, 230px);
  max-height: 2.8rem;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 0 0.85rem rgba(0, 0, 0, 0.22));
}

.sponsor-item__logo--accs {
  max-height: 2.2rem;
}

.sponsor-item__logo--uwa {
  max-height: 1.55rem;
}

.sponsor-item__logo--wccs {
  max-height: 2.6rem;
}

.sponsor-item__logo--tuskegee {
  max-height: 2.45rem;
}

.sponsor-item__logo--usrc {
  max-height: 2.5rem;
}

/* =========================================================
   v4 SPONSOR BRAND TREATMENTS
   ------------------------------------------------------------
   Colors for universities + named nonprofits are verified against
   their published brand guidelines. See the v4 changelog/sponsor
   audit table for sources. Organizations without a public brand
   guide get a themed grouping (civic, industry, workforce, etc.)
   rather than invented brand colors.
   ========================================================= */

/* --- Civic / government (neutral light blue-gray) --- */
.brand-civic {
  color: #e7ebf2;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.brand-civic::before {
  background: #c8d6ea;
  box-shadow: 0 0 10px rgba(200, 214, 234, 0.52), 0 0 2px rgba(200, 214, 234, 0.65);
}

/* --- University of Alabama (VERIFIED: crimson #9E1B32, PMS 201 C) --- */
.brand-ua {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: none;
  font-family: var(--font-serif);
}
.brand-ua::before {
  background: #9e1b32;
  box-shadow: 0 0 12px rgba(158, 27, 50, 0.72), 0 0 3px rgba(255, 255, 255, 0.2);
}
.brand-ua:hover {
  text-shadow: 0 0 20px rgba(158, 27, 50, 0.45);
}

/* --- Department of Veterans Affairs (VERIFIED: PMS 281 navy, PMS 200 red).
       NOTE: the VA seal itself is federally restricted (38 CFR §1.9) and is
       not reproduced here — text treatment only, with navy + red indicator. --- */
.brand-va {
  color: #f3f6fb;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.brand-va::before {
  background: linear-gradient(135deg, #0a3161 0%, #0a3161 55%, #ba0c2f 55%, #ba0c2f 100%);
  box-shadow: 0 0 12px rgba(10, 49, 97, 0.72), 0 0 3px rgba(186, 12, 47, 0.4);
}
.brand-va:hover {
  text-shadow: 0 0 20px rgba(10, 49, 97, 0.55);
}

/* --- STEM groupings (Alabama STEM Council, UWA Black Belt STEM) --- */
.brand-stem {
  color: #edf4ff;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.brand-stem::before {
  background: #3bb4b4;
  box-shadow: 0 0 12px rgba(59, 180, 180, 0.72), 0 0 3px rgba(255, 255, 255, 0.18);
}

/* --- No Kid Hungry (VERIFIED: orange #F26722, PMS 166 C) --- */
.brand-nokid {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: none;
}
.brand-nokid::before {
  background: #f26722;
  box-shadow: 0 0 12px rgba(242, 103, 34, 0.72), 0 0 3px rgba(255, 255, 255, 0.2);
}
.brand-nokid:hover {
  text-shadow: 0 0 20px rgba(242, 103, 34, 0.45);
}

/* --- NCCER (closest-match: warm construction-safety amber;
       NCCER's current identity uses warm/amber tones but no public hex
       is published — this is a themed closest match, not a verified brand color). --- */
.brand-nccer {
  color: #ffeadf;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.brand-nccer::before {
  background: #e87722;
  box-shadow: 0 0 12px rgba(232, 119, 34, 0.72), 0 0 3px rgba(255, 255, 255, 0.18);
}

/* --- 4-H / Sumter County Extension (VERIFIED: 4-H green ~#2E8540) --- */
.brand-4h {
  color: #eefbe6;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.brand-4h::before {
  background: #2e8540;
  box-shadow: 0 0 12px rgba(46, 133, 64, 0.72), 0 0 3px rgba(255, 255, 255, 0.18);
}

/* --- Easterseals (closest-match: Easterseals uses a vibrant blue-purple
       on public materials; national brand guide is not publicly published.
       Themed closest match — replace with official hex if client provides it). --- */
.brand-easterseals {
  color: #f3efff;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.brand-easterseals::before {
  background: #6a3fa0;
  box-shadow: 0 0 12px rgba(106, 63, 160, 0.72), 0 0 3px rgba(255, 255, 255, 0.18);
}

/* --- Workforce development (Paths for Success, Skills for Success, WOW, RAISE) --- */
.brand-workforce {
  color: #fff0df;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.brand-workforce::before {
  background: #d68a3a;
  box-shadow: 0 0 10px rgba(214, 138, 58, 0.6), 0 0 2px rgba(255, 255, 255, 0.18);
}

/* --- Skilled trades (general trade orgs without a single brand) --- */
.brand-trades {
  color: #fff5e8;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.brand-trades::before {
  background: #c26f17;
  box-shadow: 0 0 10px rgba(194, 111, 23, 0.66), 0 0 2px rgba(255, 255, 255, 0.18);
}

/* --- Industry / commerce (York Industrial Board, CICT) --- */
.brand-industry {
  color: #e9f1fa;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.brand-industry::before {
  background: #4f7a9e;
  box-shadow: 0 0 10px rgba(79, 122, 158, 0.58), 0 0 2px rgba(255, 255, 255, 0.18);
}

/* --- Medical / health training --- */
.brand-medical {
  color: #ecf7f6;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.brand-medical::before {
  background: #0f7374;
  box-shadow: 0 0 10px rgba(15, 115, 116, 0.64), 0 0 2px rgba(255, 255, 255, 0.18);
}

/* --- Agriculture (Tombigbee RC&D) --- */
.brand-agri {
  color: #eef8e7;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.brand-agri::before {
  background: #4f7a1f;
  box-shadow: 0 0 10px rgba(79, 122, 31, 0.66), 0 0 2px rgba(255, 255, 255, 0.18);
}

/* --- Community / diversity (Equiticity, Cahaba Diversity Center) --- */
.brand-community {
  color: #f5edff;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.brand-community::before {
  background: #8a4fc4;
  box-shadow: 0 0 10px rgba(138, 79, 196, 0.64), 0 0 2px rgba(255, 255, 255, 0.18);
}

/* --- Food / hunger relief (West AL Food Bank — differentiated from No Kid Hungry) --- */
.brand-food {
  color: #fff3e0;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.brand-food::before {
  background: #c44a1a;
  box-shadow: 0 0 10px rgba(196, 74, 26, 0.66), 0 0 2px rgba(255, 255, 255, 0.18);
}

/* --- Arts (Coleman Center for the Arts) --- */
.brand-arts {
  color: #fff2eb;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.brand-arts::before {
  background: #b45a8a;
  box-shadow: 0 0 10px rgba(180, 90, 138, 0.6), 0 0 2px rgba(255, 255, 255, 0.18);
}

/* Shared logo-card hover lift */
.brand-uwa:hover,
.brand-accs:hover,
.brand-wccs:hover,
.brand-tuskegee:hover,
.brand-usrc:hover {
  transform: translateY(-2px);
}

@media (max-width: 48rem) {
  .sponsor-item {
    letter-spacing: 0.1em;
    padding-inline: 1.15rem;
  }

  .sponsor-item__logo {
    max-width: 8.5rem;
  }

  .sponsor-item__logo--uwa {
    max-height: 1.25rem;
  }

  .sponsor-item__logo--wccs {
    max-height: 2.2rem;
  }
}

@keyframes sponsor-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 64rem) {
  .site-header__actions {
    gap: 0.75rem;
  }

  .site-nav a {
    padding-inline: 0.7rem;
  }

  .btn--header {
    padding-inline: 0.95rem;
  }
}

@media (max-width: 640px) {
  :root {
    --card-w: 240px;
    --card-h: 360px;
    --ring-spacing: 1.18;
  }

  .carousel__card,
  .carousel__card > div,
  .carousel__card-meta,
  .carousel__card-meta > span {
    min-width: 0;
  }

  .carousel__card {
    padding: 1.25rem 1rem;
  }

  .carousel__card-eyebrow,
  .carousel__card-title,
  .carousel__card-body,
  .carousel__card-meta span {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
  }

  .carousel__card-body {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .carousel__card-meta {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    justify-content: start;
    gap: 0.45rem;
    font-size: 0.58rem;
    letter-spacing: 0.13em;
  }

  .carousel__card-number {
    justify-self: start;
  }
}

@media (max-width: 380px) {
  :root {
    --card-w: 220px;
    --card-h: 390px;
    --ring-spacing: 1.12;
  }
}

@media (max-width: 48rem) {
  .site-header {
    padding-top: 0.5rem;
  }

  .site-header__inner {
    align-items: center;
    min-height: auto;
    padding: 0.65rem 0.75rem;
    overflow: visible;
  }

  .site-logo {
    font-size: clamp(1.35rem, 5.4vw, 1.8rem);
  }

  .js .site-menu__toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .js .site-header__actions[hidden] {
    display: none !important;
  }

  .js .site-header__actions {
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 0;
    right: 0;
    z-index: 20;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 0.9rem;
    border: 1px solid var(--header-border);
    border-radius: 1rem;
    background:
      linear-gradient(160deg, rgba(5, 8, 18, 0.96), rgba(10, 8, 16, 0.94)),
      var(--header-flag-image);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.3);
  }

  .js .site-header__actions.is-open {
    display: flex;
  }

  .site-nav,
  .site-nav ul {
    width: 100%;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
  }

  .site-nav a,
  .btn--header {
    width: 100%;
    text-align: center;
  }

  .site-nav a {
    border-radius: 0.6rem;
    padding-block: 0.85rem;
  }

  .hero--full {
    min-height: 86vh;
    min-height: 86svh;
  }

  /* v4 — on mobile we use a single layer (option A).
     Hide the parallax back layer and apply the dialed-up mobile Ken Burns
     to the front layer only. */
  .hero__picture--back {
    display: none;
  }

  .hero__image--front {
    object-position: center 38%;
    transform-origin: 52% 46%;
    animation: hero-ken-burns-mobile 20s ease-in-out infinite alternate;
  }

  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(3, 9, 20, 0.48) 0%, rgba(3, 9, 20, 0.28) 22%, rgba(3, 9, 20, 0.28) 48%, rgba(3, 9, 20, 0.72) 100%),
      linear-gradient(90deg, rgba(2, 8, 18, 0.76) 0%, rgba(2, 8, 18, 0.34) 100%);
  }

  .hero__shimmer {
    inset: -20% -35%;
    opacity: 0.44;
  }

  .hero__content-wrap {
    padding-top: 4.25rem;
    padding-bottom: 3rem;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__heading {
    max-width: 10ch;
    font-size: clamp(2.55rem, 11vw, 4rem);
  }

  .hero__subhead {
    max-width: 27rem;
    font-size: clamp(1.02rem, 4.4vw, 1.28rem);
  }

  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  .carousel-controls {
    gap: 0.75rem;
  }

  .carousel-dots {
    max-width: 45vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-header__inner::after,
  .hero__image,
  .hero__image--front,
  .hero__image--back,
  .hero__shimmer,
  .hero__light-sweep,
  .sponsor-track,
  .funnel__bar-fill {
    animation: none !important;
    transform: none !important;
  }

  .btn,
  .site-nav a,
  .site-menu__toggle-line,
  .site-menu__toggle-line::before,
  .site-menu__toggle-line::after,
  .card,
  .carousel-arrow,
  .carousel-dot {
    transition: none !important;
  }
}

/* =========================================================
   v4 SCREEN-READER-ONLY UTILITY
   Standard pattern (MDN "hiding content visually").
   ========================================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   v4 CONTENT-VISIBILITY for below-the-fold sections
   Skips rendering work for offscreen sections until needed,
   reducing initial paint time. `contain-intrinsic-size` gives
   the browser a size estimate so the scrollbar stays stable.
   ========================================================= */
.content-below {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

/* =========================================================
   v4 FOOTER — semantic cleanup
   Donor privacy paragraph was previously inside a list item;
   it is now a <p> inside .footer-legal. This gives it the same
   visual rhythm as the rest of the footer columns.
   ========================================================= */
.footer-legal p {
  margin: 0 0 0.75rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
}

.footer-legal p:last-child {
  margin-bottom: 0;
}

.footer-legal strong {
  color: #ffffff;
}

/* =========================================================
   v4 FUNNEL CHART — "Mission Status" impact section
   ------------------------------------------------------------
   Four programs, each with three stages: Recruited → Credentialed
   → Employment Rate. Bar widths are driven by CSS custom
   properties (--ratio-recruited, --ratio-credentialed) written
   inline on each .funnel element, so the HTML stays declarative
   and the animation is driven by a single class toggle.
   ========================================================= */

.funnel-chart {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.funnel {
  position: relative;
  padding: 1.5rem 1.5rem 1.75rem;
  background: var(--color-white);
  border: 1px solid var(--color-rule-on-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card-light);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.funnel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--color-red-deep), var(--color-red), var(--color-red-deep));
  opacity: 0;
  transition: opacity var(--transition);
}

.funnel:hover {
  transform: translateY(-3px);
  border-color: rgba(164, 22, 26, 0.35);
  box-shadow: var(--shadow-card-light), var(--shadow-glow-red-light);
}

.funnel:hover::before,
.funnel.is-visible::before {
  opacity: 1;
}

.funnel__header {
  margin-bottom: 1.25rem;
}

.funnel__title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  color: var(--color-text-on-light);
  margin: 0 0 0.3rem;
  line-height: 1.2;
}

.funnel__sub {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-on-light-muted);
  line-height: 1.5;
}

.funnel__stages {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.funnel__stage {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "label value"
    "bar bar";
  row-gap: 0.3rem;
  column-gap: 0.6rem;
  align-items: baseline;
}

.funnel__stage-label {
  grid-area: label;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-red-deep);
}

.funnel__stage-value {
  grid-area: value;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 400;
  color: var(--color-text-on-light);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.funnel__stage-value--percent {
  color: var(--color-red-deep);
  display: inline-flex;
  align-items: baseline;
}

.funnel__unit {
  font-size: 0.7em;
  font-style: normal;
  margin-left: 0.12em;
  color: inherit;
}

.funnel__bar {
  grid-area: bar;
  position: relative;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.06);
  overflow: hidden;
}

.funnel__bar-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--color-red-deep) 0%,
    var(--color-red) 50%,
    var(--color-red-deep) 100%);
  /* The target width comes from --ratio-* properties on .funnel.
     The bar is kept at 0 width until the chart enters the viewport,
     at which point .is-visible triggers the animation. */
  transition: width 1.2s var(--ease-out);
  transition-delay: 0.15s;
}

/* Credentialed fill is narrower to visually show the conversion */
.funnel__stage--credentialed .funnel__bar-fill {
  background: linear-gradient(
    90deg,
    rgba(164, 22, 26, 0.85) 0%,
    rgba(230, 57, 70, 0.95) 100%);
  transition-delay: 0.35s;
}

/* Employment rate row has no bar; the pill does the job */
.funnel__stage--emp-rate {
  grid-template-areas:
    "label value";
  padding-top: 0.3rem;
  margin-top: 0.2rem;
  border-top: 1px solid var(--color-rule-on-light);
}

/* ===== When the chart is visible, fill the bars ===== */
.funnel.is-visible .funnel__stage--recruited .funnel__bar-fill {
  width: calc(var(--ratio-recruited, 1) * 100%);
}

.funnel.is-visible .funnel__stage--credentialed .funnel__bar-fill {
  width: calc(var(--ratio-credentialed, 0) * 100%);
}

/* Reduced-motion: snap straight to the final state, no animation */
@media (prefers-reduced-motion: reduce) {
  .funnel__bar-fill {
    transition: none !important;
  }
  .funnel .funnel__stage--recruited .funnel__bar-fill {
    width: calc(var(--ratio-recruited, 1) * 100%);
  }
  .funnel .funnel__stage--credentialed .funnel__bar-fill {
    width: calc(var(--ratio-credentialed, 0) * 100%);
  }
}

/* =========================================================
   v4 IMPACT ASIDE — companion panel for programs that do not
   fit the Recruited/Credentialed/Rate shape
   (Commercial Construction + Soft Skills).
   ========================================================= */

.impact-aside {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.impact-aside__card {
  position: relative;
  padding: 1.5rem 1.5rem 1.75rem;
  background: var(--color-off-white);
  border: 1px solid var(--color-rule-on-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card-light);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.impact-aside__card:hover {
  transform: translateY(-3px);
  border-color: rgba(164, 22, 26, 0.35);
  box-shadow: var(--shadow-card-light), var(--shadow-glow-red-light);
}

.impact-aside__eyebrow {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-red-deep);
}

.impact-aside__title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin: 0 0 0.5rem;
  color: var(--color-text-on-light);
}

.impact-aside__stat {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 0.25rem 0 0.75rem;
}

.impact-aside__count {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2rem, 4.4vw, 3rem);
  color: var(--color-red-deep);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.impact-aside__stat-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-text-on-light-muted);
}

.impact-aside__stat--curriculum {
  align-items: center;
}

.impact-aside__list {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem 0.75rem;
}

.impact-aside__list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: var(--color-text-on-light-second);
  line-height: 1.4;
}

.impact-aside__list li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--color-red-deep);
  box-shadow: 0 0 0.4rem rgba(164, 22, 26, 0.35);
}

/* Single-column list on narrow screens — two columns squeeze too tight */
@media (max-width: 30rem) {
  .impact-aside__list {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   v4 HERO MOBILE — ensure light-sweep and overlay still work
   with parallax back layer hidden
   ========================================================= */
@media (max-width: 48rem) {
  .hero__light-sweep {
    opacity: 0.8;
  }
}
