/* BridgeForward — design tokens */

:root {
  /* Core palette — navy, one blue, coral for actions only */
  --bf-navy: #1a2b4a;
  --bf-navy-deep: #122038;
  --bf-blue: #2563eb;
  --bf-blue-dark: #1d4ed8;
  --bf-coral: #ff7a59;
  --bf-coral-dark: #e85d3d;

  /* Surfaces */
  --bf-bg: #f8fbff;
  --bf-white: #ffffff;
  --bf-tint: #eef6ff;
  --bf-border: #d9e7f7;

  /* Text */
  --bf-heading: #0f172a;
  --bf-text: #1e293b;
  --bf-muted: #475569;

  /* Type: two families, five sizes */
  --font-display: Georgia, "Times New Roman", Times, serif;
  --font-body: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --text-display: clamp(2.5rem, 4.2vw, 3.25rem);
  --text-h2: clamp(1.75rem, 2.8vw, 2.25rem);
  --text-h3: 1.25rem;
  --text-body: 1rem;
  --text-caption: 0.75rem;

  /* 8px spacing grid */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;

  /* Radius + shadow */
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 24px 48px rgba(26, 43, 74, 0.12);
  --shadow-sm: 0 2px 8px rgba(26, 43, 74, 0.06);
  --shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
  --shadow-lg: var(--shadow-card);
  --transition: 0.25s ease;

  /* Layout */
  --bf-container: 1120px;
  --bf-section: var(--space-7);
  --bf-topbar: 40px;
  --bf-header: 72px;

  /* Aliases for existing rules / inner pages */
  --bf-primary: var(--bf-blue);
  --bf-primary-dark: var(--bf-blue-dark);
  --bf-primary-light: #3b82f6;
  --bf-primary-hover: var(--bf-blue-dark);
  --bf-secondary: var(--bf-blue);
  --bf-accent: var(--bf-coral);
  --bf-accent-dark: var(--bf-coral-dark);
  --bf-bg-light: var(--bf-white);
  --bf-bg-alt: var(--bf-tint);
  --bf-surface: var(--bf-white);
  --bf-ink: var(--bf-text);
  --bf-text-light: var(--bf-muted);
  --bf-footer: var(--bf-navy);
  --bf-footer-dark: var(--bf-navy-deep);
  --bf-border-strong: #b9d2ee;
  --bf-forest: var(--bf-navy);
  --bf-forest-deep: var(--bf-navy-deep);
  --bf-green: var(--bf-blue);
  --bf-green-hover: var(--bf-blue-dark);
  --bf-green-light: var(--bf-tint);
  --bf-gold: var(--bf-coral);
  --bf-gold-soft: var(--bf-blue);
  --bf-coral-hover: var(--bf-coral-dark);
  --bf-violet: var(--bf-blue);
  --bf-amber: var(--bf-blue);
  --bf-radius: var(--radius-lg);
  --bf-radius-sm: var(--radius);
  --shadow-soft: var(--shadow);
  --bf-gradient-primary: none;
  --bf-gradient: none;
  --bf-gradient-cool: none;
  --bf-gradient-warm: none;
  --bf-gradient-hero: var(--bf-bg);
  --bf-gradient-light: var(--bf-tint);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--bf-ink);
  background: var(--bf-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure {
  margin: 0;
}

.container {
  width: min(100% - 2rem, var(--bf-container));
  margin-inline: auto;
}

/* Type */

.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bf-green);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--bf-heading);
}

h1 {
  font-size: clamp(2.35rem, 5vw, 3.75rem);
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
}

h3 {
  font-size: 1.28rem;
}

p {
  margin: 0;
}

.lead {
  margin-top: 1rem;
  max-width: 36rem;
  color: var(--bf-muted);
  font-size: 1.05rem;
}

.text-link {
  color: var(--bf-green);
  font-weight: 650;
}

.text-link:hover {
  color: var(--bf-green-hover);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 650;
  border: 1.5px solid transparent;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--bf-accent);
  color: #fff;
}

.btn-gold:hover {
  background: var(--bf-accent-dark);
  box-shadow: 0 10px 24px rgba(255, 122, 89, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--bf-primary);
  border-color: var(--bf-border-strong);
}

.btn-ghost:hover {
  background: rgba(37, 99, 235, 0.08);
  border-color: var(--bf-primary);
}

.btn-outline {
  background: var(--bf-surface);
  color: var(--bf-ink);
  border-color: var(--bf-border-strong);
}

.btn-outline:hover {
  border-color: var(--bf-green-hover);
  color: var(--bf-green-hover);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Top status bar */

.top-bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 110;
  background: var(--bf-footer-dark);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  word-spacing: 0.06em;
  text-align: center;
  padding: 0.5rem 1rem;
  line-height: 1.4;
}

.top-bar strong {
  color: var(--bf-primary-light);
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0.15em;
}

/* Header — same behavior sitewide */

.site-header {
  position: fixed;
  top: var(--bf-topbar, 2rem);
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 251, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition),
    box-shadow var(--transition);
}

.site-header.is-scrolled,
.site-header.is-solid {
  border-bottom-color: var(--bf-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--bf-header);
  min-height: var(--bf-header);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bf-navy);
  white-space: nowrap;
  flex: 0 1 auto;
  max-width: none;
  min-width: 0;
  height: 100%;
  padding: 0.25rem 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.brand-mark {
  display: block;
  height: 100%;
  width: auto;
  aspect-ratio: 512 / 408;
  object-fit: contain;
  background: none;
  border: 0;
  box-shadow: none;
  filter: none;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1;
  color: var(--bf-navy);
  background: none;
}

.brand-wordmark strong {
  font-weight: 700;
  color: var(--bf-blue);
}

.brand-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  color: var(--bf-navy);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 0.85rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
  flex: 1 1 45%;
  min-width: 0;
}

.nav a {
  color: var(--bf-ink);
  font-size: 0.84rem;
  font-weight: 550;
  white-space: nowrap;
  opacity: 0.78;
  transition: color 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
}

.nav a:hover,
.nav a.is-active {
  opacity: 1;
  color: var(--bf-forest);
}

.nav a.is-active {
  box-shadow: inset 0 -2px 0 var(--bf-primary);
  padding-bottom: 0.15rem;
}

.nav .btn-gold {
  opacity: 1;
  color: #fff;
  min-height: 2.4rem;
  padding: 0.55rem 1.05rem;
  font-size: 0.84rem;
  margin-left: 0.35rem;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  color: var(--bf-ink);
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  margin: 0.28rem auto;
  background: currentColor;
  border-radius: 2px;
}

/* Over dark heroes only: transparent header until scroll */

.site-header.on-hero:not(.is-scrolled) {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

.site-header.on-hero:not(.is-scrolled) .brand-text,
.site-header.on-hero:not(.is-scrolled) .nav a {
  color: var(--bf-heading);
}

.site-header.on-hero:not(.is-scrolled) .nav a {
  opacity: 0.82;
}

.site-header.on-hero:not(.is-scrolled) .nav .btn-gold {
  color: #fff;
  opacity: 1;
}

.site-header.on-hero:not(.is-scrolled) .nav-toggle {
  color: var(--bf-heading);
}

/* Sections */

.section {
  padding: var(--bf-section) 0;
  background: var(--bf-bg);
}

.section-alt {
  background: var(--bf-bg-alt);
}

.section-dark {
  background: var(--bf-footer);
  color: #fff;
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-dark .eyebrow {
  color: var(--bf-primary-light);
}

.section-dark .lead {
  color: rgba(255, 255, 255, 0.78);
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.25rem;
}

.section-head .lead {
  margin-top: 0.9rem;
}

/* Shared tile / card */

.tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bf-surface);
  border: 1px solid var(--bf-border);
  border-radius: var(--bf-radius-sm);
  padding: 1.45rem 1.5rem;
  box-shadow: none;
  transition: border-color 0.35s ease, transform 0.35s ease,
    box-shadow 0.35s ease;
}

.section-alt .tile {
  background: var(--bf-bg-light);
}

.tile:hover {
  border-color: var(--bf-primary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.tile-num {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--bf-blue);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.tile p {
  margin-top: 0.55rem;
  color: var(--bf-muted);
  font-size: 0.95rem;
  flex: 1;
}

.tile .arrow {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--bf-green);
}

.tile-meta {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bf-green);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

/* Hero */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--bf-topbar) + var(--bf-header) + 3rem) 0 3.5rem;
  color: var(--bf-text);
  background: var(--bf-gradient-hero);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 90% 15%, rgba(37, 99, 235, 0.14), transparent 60%),
    radial-gradient(ellipse 45% 40% at 8% 85%, rgba(14, 165, 233, 0.12), transparent 55%);
  pointer-events: none;
  animation: hero-wash 10s ease-in-out infinite alternate;
}

@keyframes hero-wash {
  from {
    opacity: 0.55;
  }
  to {
    opacity: 1;
  }
}

.hero h1,
.hero h2,
.hero h3 {
  color: var(--bf-heading);
}

.hero .eyebrow {
  color: var(--bf-primary);
}

.hero .lead {
  color: var(--bf-text-light);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: end;
  width: min(100% - 2rem, var(--bf-container));
  margin-inline: auto;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.5rem, 5.5vw, 4.1rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bf-border);
}

.hero-stats strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
}

.hero-stats span {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bf-text-light);
}

.hero-panel {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--bf-border);
  border-radius: var(--bf-radius);
  padding: 1.4rem 1.5rem;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  color: var(--bf-text);
}

.hero-panel-title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 650;
  margin-bottom: 0.85rem;
}

.hero-panel-title .dot {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: var(--bf-gradient-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
}

.hero-panel li {
  display: flex;
  gap: 0.8rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--bf-border);
  font-size: 0.95rem;
}

.hero-panel li:first-of-type {
  border-top: 0;
}

.hero-panel li em {
  font-style: normal;
  color: var(--bf-primary);
  min-width: 1.5rem;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  width: 1.45rem;
  height: 2.1rem;
  border: 1.5px solid var(--bf-border-strong);
  border-radius: 999px;
  display: grid;
  justify-content: center;
  padding-top: 0.35rem;
}

.scroll-cue i {
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: var(--bf-primary);
  animation: cue 1.6s ease-in-out infinite;
}

@keyframes cue {
  0%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(8px);
  }
}

/* Page hero (inner pages) */

.page-hero {
  padding: calc(var(--bf-topbar) + var(--bf-header) + 3.25rem) 0 3.25rem;
  background: var(--bf-gradient-hero);
  color: var(--bf-text);
}

.page-hero h1 {
  color: var(--bf-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
}

.page-hero .eyebrow {
  color: var(--bf-primary);
}

.page-hero .lead {
  color: var(--bf-text-light);
}

/* Media */

.media {
  border-radius: var(--bf-radius-sm);
  overflow: hidden;
  background: var(--bf-forest);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame {
  aspect-ratio: 4 / 3;
}

.photo-mosaic {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
  grid-template-rows: 190px 190px;
  gap: 0.7rem;
}

.photo-mosaic .media:first-child {
  grid-row: 1 / 3;
}

.photo-mosaic .media {
  position: relative;
}

.photo-mosaic figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 0.7rem 0.9rem;
  background: linear-gradient(transparent, rgba(13, 47, 92, 0.85));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 550;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  margin-top: 2.25rem;
}

.gallery-strip .media {
  aspect-ratio: 1;
  border: 1px solid var(--bf-border);
}

.section-dark .gallery-strip .media {
  border-color: rgba(255, 255, 255, 0.12);
}

.gallery-strip img {
  transition: transform 0.4s ease;
}

.gallery-strip .media:hover img {
  transform: scale(1.03);
}

/* Mission note */

.mission-note {
  margin-top: 1.35rem;
  padding: 1.15rem 1.25rem;
  background: var(--bf-surface);
  border-left: 3px solid var(--bf-primary);
  border-radius: 0 var(--bf-radius-sm) var(--bf-radius-sm) 0;
  font-weight: 550;
}

/* Impact stats */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-card {
  padding: 1.4rem 1.35rem;
  border-radius: var(--bf-radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.stat-card span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

/* Partner badge */

.partner-badge {
  text-align: center;
  padding: 2.25rem 1.75rem;
  border-radius: var(--bf-radius);
  background: var(--bf-forest);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.partner-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 7vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
}

.partner-badge > span {
  display: block;
  margin-top: 0.45rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--bf-primary-light);
}

.partner-quote {
  margin-top: 1.15rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
}

/* Quote band */

.quote-band {
  padding: var(--bf-section) 0;
  background:
    linear-gradient(rgba(13, 47, 92, 0.86), rgba(18, 59, 115, 0.9)),
    url("../images/deliver.jpg") center / cover;
  color: #fff;
  text-align: center;
}

.quote-band .eyebrow {
  color: var(--bf-primary-light);
}

.quote-band blockquote {
  margin: 0 auto;
  max-width: 40rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.15rem);
  font-weight: 500;
  line-height: 1.3;
  font-style: italic;
  color: #fff;
}

/* Testimonials */

.testimonial-card h3 {
  margin: 0.55rem 0 1rem;
}

.testimonial-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--bf-ink);
}

.testimonial-card blockquote + p,
.testimonial-card p + p {
  margin-top: 0.85rem;
}

.testimonial-card cite {
  display: block;
  margin-top: 1.15rem;
  font-style: normal;
  font-size: 0.88rem;
  color: var(--bf-muted);
  font-weight: 550;
}

.video-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  align-items: stretch;
}

.video-frame {
  position: relative;
  border-radius: var(--bf-radius);
  overflow: hidden;
  min-height: 300px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(18, 59, 115, 0.84), rgba(13, 47, 92, 0.92)),
    url("../images/load.webp") center / cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-frame .play {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--bf-accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin: 0 auto 1rem;
}

.video-testimonial-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

.video-testimonial-row .video-player {
  max-width: none;
  margin: 0;
  width: 100%;
}

/* Testimonials: title + copy live in the left column beside the video */
.testimonials-hero {
  padding: calc(var(--bf-topbar) + var(--bf-header) + var(--space-3)) 0 var(--space-4);
  background: var(--bf-bg);
  color: var(--bf-text);
}

.testimonials-hero-copy {
  max-width: none;
  margin: 0;
}

.testimonials-hero-copy .eyebrow {
  color: var(--bf-primary);
  margin-bottom: 0.5rem;
}

.testimonials-hero-copy h1 {
  color: var(--bf-heading);
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  max-width: 16ch;
}

.testimonials-hero-copy .lead {
  color: var(--bf-text-light);
  margin: 0;
  max-width: 36ch;
}

.page-testimonials #written.section--tight {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

.page-testimonials .section-head--tight {
  margin-bottom: var(--space-3);
}

.page-testimonials .testimonials-grid {
  gap: 0.85rem;
}

.page-testimonials .testimonial-note {
  margin-top: 1rem;
}

.video-player {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bf-navy);
  border: 1px solid var(--bf-border);
  box-shadow: var(--shadow-card);
  max-width: 920px;
  margin-inline: auto;
}

.video-player video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}

.video-player video::-webkit-media-controls-enclosure {
  overflow: hidden;
}

/* Soften download affordances where the browser allows */
.video-player video::-internal-media-controls-download-button,
.video-player video::-webkit-media-controls-download-button {
  display: none !important;
}

.video-side {
  display: grid;
  gap: 0.7rem;
}

.video-side .media {
  aspect-ratio: 16 / 10;
}

/* Press — local news feature */

.page-hero--compact {
  padding-bottom: 1.25rem;
}

.section--tight {
  padding-top: 1.25rem;
}

.press-hero .lead strong {
  color: var(--bf-heading, #0f172a);
  font-weight: 650;
}

.press-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  margin-top: 1.1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bf-muted, #475569);
}

.press-pub {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  background: var(--bf-navy, #1a2b4a);
  color: #fff;
  letter-spacing: 0.12em;
}

.press-pub-sep {
  opacity: 0.45;
}

.press-news {
  padding-top: 0.5rem;
}

.press-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.press-year {
  color: var(--bf-blue, #2563eb);
}

.press-source {
  color: var(--bf-muted, #475569);
}

.press-cta {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--bf-blue, #2563eb);
  text-decoration: none;
}

.press-feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-lg, 20px);
  overflow: hidden;
  background: var(--bf-navy, #1a2b4a);
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-card, 0 12px 40px rgba(26, 43, 74, 0.16));
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.press-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(26, 43, 74, 0.22);
}

.press-feature-media {
  margin: 0;
  min-height: 280px;
  overflow: hidden;
}

.press-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.press-feature:hover .press-feature-media img {
  transform: scale(1.04);
}

.press-feature-copy {
  padding: clamp(1.5rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.press-feature-copy .press-year,
.press-feature-copy .press-source {
  color: rgba(255, 255, 255, 0.78);
}

.press-feature-copy h2 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  line-height: 1.2;
}

.press-feature-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  max-width: 36ch;
}

.press-feature-copy .press-cta {
  color: #ffb4a2;
  margin-top: 1.15rem;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.press-story {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--bf-border, #d9e7f7);
  border-radius: var(--radius-lg, 20px);
  background: #fff;
  overflow: hidden;
  height: 100%;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.press-story:hover {
  border-color: #c7dbf5;
  box-shadow: var(--shadow-card, 0 12px 32px rgba(26, 43, 74, 0.1));
}

.press-story-media {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bf-tint, #eef6ff);
}

.press-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.press-story:hover .press-story-media img {
  transform: scale(1.04);
}

.press-story-body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.press-story-body h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--bf-heading, #0f172a);
}

.press-story-body p {
  margin: 0;
  color: var(--bf-muted, #475569);
  font-size: 0.92rem;
  flex: 1;
}

.press-story-body .press-cta {
  margin-top: 0.9rem;
}

.press-note {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--bf-border, #d9e7f7);
  border-radius: var(--radius-lg, 20px);
  background: #fff;
}

.press-note img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.press-note p {
  margin: 0;
  color: var(--bf-muted, #475569);
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .press-feature {
    grid-template-columns: 1fr;
  }

  .press-feature-media {
    min-height: 220px;
    aspect-ratio: 16 / 9;
  }

  .press-grid {
    grid-template-columns: 1fr;
  }
}

/* Legacy year-item (other pages if any) */
.year-rail {
  display: grid;
  gap: 0.65rem;
}

.year-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.9rem 1.1rem;
  height: auto;
}

.year-item .year {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--bf-blue, #2563eb);
}

.muted-note {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  background: var(--bf-green-light);
  border-radius: var(--bf-radius-sm);
  color: var(--bf-ink);
  font-size: 0.95rem;
  border: 1px solid rgba(74, 104, 245, 0.15);
}

/* Donate */

.donate-card {
  background: var(--bf-surface);
  color: var(--bf-ink);
  border-radius: var(--bf-radius);
  padding: 1.6rem;
  text-align: center;
  border: 1px solid var(--bf-border);
}

.donate-card img {
  margin: 0 auto 0.85rem;
  max-width: 170px;
}

.donate-card p {
  color: var(--bf-muted);
  font-size: 0.9rem;
}

/* About prose */

.prose {
  max-width: 40rem;
}

.prose p {
  color: var(--bf-muted);
}

.prose p + p {
  margin-top: 1.1rem;
}

/* Footer */

.site-footer {
  background: var(--bf-footer-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 1.75rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.footer-brand-logo {
  width: auto;
  max-width: min(50vw, 100%);
  height: 6.25rem;
  display: block;
  margin-bottom: 0.35rem;
  object-fit: contain;
}

.footer-tag {
  margin-top: 0.55rem;
  max-width: 22rem;
  font-size: 0.92rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  align-items: start;
}

.footer-nav a {
  opacity: 0.8;
}

.footer-nav a:hover {
  opacity: 1;
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Reveal + motion — handled by GSAP when available; see end of file */

.stat-card strong,
.partner-badge strong,
.hero-stats strong {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: inherit;
}

.section-dark .stat-card strong,
.partner-badge strong {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #fff;
}

.media img,
.gallery-strip img,
.media-frame img {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.media:hover img,
.gallery-strip figure:hover img,
.media-frame:hover img {
  transform: scale(1.03);
}

.gallery-strip figure,
.media-frame,
.media {
  overflow: hidden;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.testimonials-grid .testimonial-featured {
  grid-column: 1 / -1;
}

.testimonial-note {
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: var(--bf-muted);
  max-width: 48rem;
}

.gradient-bar {
  height: 3px;
  width: 4.5rem;
  border-radius: 999px;
  background: var(--bf-blue);
  margin: 0.85rem 0 0;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-fade,
  .reveal-left,
  .reveal-scale,
  .page-enter,
  .hero-anim > *,
  .hero-panel.hero-panel-enter,
  .page-hero .container,
  .hero::before,
  .btn,
  .tile,
  .media img,
  .gallery-strip img,
  .media-frame img {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Responsive */

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: calc(var(--bf-topbar) + var(--bf-header)) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.15rem 1.25rem;
    background: var(--bf-bg);
    border-bottom: 1px solid var(--bf-border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    color: var(--bf-ink);
    opacity: 1;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--bf-border);
  }

  .nav .btn-gold {
    margin: 0.85rem 0 0;
    justify-content: center;
  }

  .site-header.on-hero:not(.is-scrolled) .nav {
    background: var(--bf-bg);
  }

  .site-header.on-hero:not(.is-scrolled) .nav a {
    color: var(--bf-ink);
  }

  .hero-grid,
  .grid-2,
  .video-grid,
  .video-testimonial-row,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-hero-copy {
    margin-bottom: var(--space-2);
  }

  .testimonials-hero-copy h1 {
    max-width: none;
  }

  .testimonials-hero {
    padding-bottom: var(--space-3);
  }

  .hero {
    align-items: center;
    padding-top: calc(var(--bf-topbar) + var(--bf-header) + 2rem);
  }

  .hero h1 {
    max-width: none;
  }

  .stat-grid,
  .grid-3,
  .grid-4,
  .gallery-strip {
    grid-template-columns: 1fr 1fr;
  }

  .photo-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 150px 150px;
  }

  .photo-mosaic .media:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: start;
  }

  .year-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .stat-grid,
  .grid-3,
  .grid-4,
  .gallery-strip {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 961px) and (max-width: 1100px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav {
    gap: 0.15rem 0.65rem;
  }

  .nav a {
    font-size: 0.8rem;
  }
}


/* ========== Redesign system overlays ========== */

body {
  font-size: var(--text-body);
  color: var(--bf-text);
  background: var(--bf-bg);
}

.eyebrow {
  margin: 0 0 var(--space-2);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bf-blue);
  opacity: 0.6;
}

h1 {
  font-size: var(--text-display);
  color: var(--bf-heading);
  line-height: 1.12;
}

h2 {
  font-size: var(--text-h2);
  color: var(--bf-heading);
}

h3 {
  font-size: var(--text-h3);
  color: var(--bf-heading);
}

.lead {
  margin-top: var(--space-3);
  max-width: 34rem;
  color: var(--bf-muted);
  font-size: var(--text-body);
  line-height: 1.65;
}

.btn {
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  transition: transform var(--transition), background var(--transition),
    color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--bf-coral);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 122, 89, 0.25);
}

.btn-gold:hover {
  background: var(--bf-coral-dark);
  box-shadow: 0 12px 28px rgba(255, 122, 89, 0.32);
}

.btn-ghost,
.btn-outline {
  background: var(--bf-white);
  color: var(--bf-navy);
  border-color: var(--bf-border);
  min-height: 48px;
  padding: 12px 24px;
}

.btn-ghost:hover,
.btn-outline:hover {
  border-color: var(--bf-blue);
  color: var(--bf-blue-dark);
  background: var(--bf-white);
  box-shadow: var(--shadow-sm);
}

.top-bar {
  background: var(--bf-navy);
  min-height: var(--bf-topbar);
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  white-space: normal;
  overflow: visible;
  padding: 0.45rem var(--space-3);
  font-size: var(--text-caption);
  letter-spacing: 0.01em;
  word-spacing: 0.08em;
  line-height: 1.35;
}

.top-bar-link {
  color: inherit;
  margin: 0 0.15em;
}

.top-bar-link strong {
  color: var(--bf-coral);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0;
}

.site-header {
  top: var(--bf-topbar);
  background: rgba(248, 251, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition),
    box-shadow var(--transition);
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(248, 251, 255, 0.88);
  border-bottom-color: var(--bf-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: var(--bf-header);
  min-height: var(--bf-header);
}

.brand {
  flex: 0 1 auto;
  max-width: none;
  min-width: 0;
  height: 100%;
  align-self: stretch;
  padding: 0.25rem 0;
  background: none;
  box-shadow: none;
}

.brand-mark {
  height: 100%;
  width: auto;
  background: none;
  border: 0;
  box-shadow: none;
  filter: none;
}

.brand-wordmark {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.site-header.is-scrolled,
.site-header.is-solid {
  --bf-header: 64px;
}

.site-header.on-hero:not(.is-scrolled) .brand-wordmark {
  color: var(--bf-navy);
}

.nav a {
  position: relative;
  color: var(--bf-text);
  opacity: 0.8;
  padding-bottom: 4px;
  box-shadow: none !important;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--bf-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav a:hover,
.nav a.is-active {
  opacity: 1;
  color: var(--bf-navy);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.nav .btn-gold::after {
  display: none;
}

.nav .btn-gold {
  color: #fff;
  opacity: 1;
  margin-left: 0.35rem;
  box-shadow: 0 8px 20px rgba(255, 122, 89, 0.25);
}

.site-header.on-hero:not(.is-scrolled) {
  background: rgba(248, 251, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header.on-hero:not(.is-scrolled) .nav a {
  color: var(--bf-text);
}

.site-header.on-hero:not(.is-scrolled) .nav .btn-gold {
  color: #fff;
}

.site-header.on-hero:not(.is-scrolled) .nav-toggle {
  color: var(--bf-navy);
}

.section {
  padding: var(--space-7) 0;
  background: var(--bf-white);
}

.section-alt {
  background: var(--bf-tint);
}

.section-dark,
.cta-moment {
  background: var(--bf-navy);
  color: #fff;
}

.section-dark .eyebrow,
.cta-moment .eyebrow {
  color: #93c5fd;
  opacity: 0.85;
}

.section-dark h2,
.cta-moment h2,
.section-dark h3 {
  color: #fff;
}

.section-dark .lead,
.cta-moment .lead {
  color: rgba(255, 255, 255, 0.78);
}

.section-head {
  max-width: 40rem;
  margin-bottom: var(--space-5);
}

.section-head h2 {
  margin-top: var(--space-2);
}

/* Hero */
.hero {
  min-height: auto;
  align-items: center;
  padding: calc(var(--bf-topbar) + var(--bf-header) + var(--space-6)) 0 var(--space-6);
  color: var(--bf-text);
  background: var(--bf-bg);
}

.hero::before {
  display: none;
}

.hero-grid {
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
}

.hero h1 {
  max-width: 11.5ch;
  font-size: var(--text-display);
  color: var(--bf-heading);
}

.hero .eyebrow {
  opacity: 0.6;
}

.hero .lead {
  color: var(--bf-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.hero-actions .btn {
  min-height: 48px;
  padding: 12px 24px;
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.hero-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  min-height: 420px;
  box-shadow: var(--shadow-card);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-panel {
  position: absolute;
  left: var(--space-3);
  right: var(--space-3);
  bottom: var(--space-3);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--bf-border);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
  color: var(--bf-text);
}

.hero-panel-title {
  font-weight: 650;
  margin-bottom: var(--space-2);
  color: var(--bf-heading);
}

.care-list {
  display: grid;
  gap: 12px;
}

.care-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  font-size: 0.95rem;
  color: var(--bf-text);
}

.care-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--bf-blue);
  display: grid;
  place-items: center;
}

.care-icon svg {
  width: 22px;
  height: 22px;
}

.scroll-cue {
  display: none;
}

/* Stats band */
.stats-band {
  background: var(--bf-white);
  border-top: 1px solid var(--bf-border);
  border-bottom: 1px solid var(--bf-border);
  padding: var(--space-5) 0;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 1;
  color: var(--bf-heading);
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  margin-top: var(--space-1);
  font-size: var(--text-caption);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bf-muted);
  font-weight: 600;
}

/* How it works / steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--bf-border);
  background: var(--bf-white);
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
  color: inherit;
  text-decoration: none;
  height: 100%;
  overflow: hidden;
}

.step-card.has-media {
  padding: 0;
  gap: 0;
}

.step-card-media {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bf-tint);
}

.step-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.step-card:hover .step-card-media img {
  transform: scale(1.04);
}

.step-card-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4);
  flex: 1;
}

.step-card:hover {
  box-shadow: var(--shadow-card);
  border-color: #c7dbf5;
}

@media (hover: hover) and (pointer: coarse) {
  .step-card:hover {
    transform: translateY(-3px);
  }
}

.step-icon {
  width: 40px;
  height: 40px;
  color: var(--bf-blue);
  display: grid;
  place-items: start;
}

.step-icon svg {
  width: 28px;
  height: 28px;
}

.step-card h3 {
  margin: 0;
}

.step-card p {
  color: var(--bf-muted);
  font-size: 0.95rem;
  flex: 1;
}

.step-card .arrow {
  margin-top: var(--space-2);
  color: var(--bf-blue);
  font-weight: 600;
  font-size: 0.9rem;
}

.gallery-strip--dense {
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.gallery-strip--dense .media {
  aspect-ratio: 1;
  min-height: 0;
}

.gallery-strip--cards {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-strip--cards .media {
  aspect-ratio: 1;
}

/* Quote + photo */
.quote-photo {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-4);
  align-items: stretch;
}

.quote-photo-media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 360px;
  box-shadow: var(--shadow-card);
}

.quote-photo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-photo-card {
  margin: 0;
  background: var(--bf-white);
  border: 1px solid var(--bf-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.quote-photo-card p {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.35;
  color: var(--bf-heading);
  font-style: italic;
}

.quote-photo-card cite {
  margin-top: var(--space-3);
  font-style: normal;
  font-size: var(--text-caption);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bf-muted);
  font-weight: 600;
}

/* Partners */
.partners-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
}

.partner-logo {
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: var(--space-3);
  border: 1px solid var(--bf-border);
  border-radius: var(--radius);
  background: var(--bf-white);
  text-align: center;
  filter: grayscale(1);
  opacity: 0.78;
  transition: filter var(--transition), opacity var(--transition),
    transform var(--transition), box-shadow var(--transition);
}

.partner-logo img {
  width: auto;
  max-width: 100%;
  height: 48px;
  object-fit: contain;
}

.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.partner-card-logo {
  display: grid;
  place-items: center;
  min-height: 72px;
  margin-bottom: var(--space-2);
  padding: var(--space-2);
  background: var(--bf-bg);
  border-radius: var(--radius);
}

.partner-card-logo img {
  width: auto;
  max-width: 100%;
  height: 48px;
  object-fit: contain;
}

/* Navy CTA moment */
.cta-moment {
  padding: var(--space-7) 0;
}

.cta-moment-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-5);
  align-items: center;
}

.cta-moment h2 {
  max-width: 14ch;
  font-size: var(--text-display);
}

.cta-moment .donate-card {
  box-shadow: var(--shadow-card);
}

.footer-brand {
  background: none;
  color: #fff;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.footer-brand-logo {
  width: auto;
  max-width: min(50vw, 100%);
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 3px 14px rgba(0, 0, 0, 0.28));
}

.tile,
.media,
.media-frame,
.donate-card,
.hero-photo,
.hero-panel,
.quote-photo-media,
.quote-photo-card,
.step-card,
.partner-logo {
  border-radius: var(--radius-lg);
}

.tile {
  border-radius: var(--radius);
}

/* Live-site style motion (GSAP + ScrollTrigger) */
.hero-media,
.hero-photo {
  overflow: hidden;
}

.hero-media img,
.hero-photo img {
  will-change: transform;
  transform-origin: center center;
}

.magnetic {
  display: inline-flex;
  will-change: transform;
}

.journey-track {
  height: 2px;
  margin: 0 0 var(--space-4);
  background: rgba(37, 99, 235, 0.14);
  overflow: hidden;
  border-radius: 999px;
}

.journey-track span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--bf-blue, #2563eb), var(--bf-coral, #ff7a59));
}

.step-card,
.testimonial-card,
.partner-card,
.donate-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-fade,
.reveal {
  will-change: opacity, transform;
  opacity: 1;
  transform: none;
}

.js-animations-ready .reveal-up,
.js-animations-ready .reveal {
  opacity: 0;
  transform: translateY(34px);
}

.js-animations-ready .reveal-left {
  opacity: 0;
  transform: translateX(-38px);
}

.js-animations-ready .reveal-right {
  opacity: 0;
  transform: translateX(38px);
}

.js-animations-ready .reveal-scale {
  opacity: 0;
  transform: scale(0.96);
}

.js-animations-ready .reveal-fade {
  opacity: 0;
  transform: none;
}

.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible,
.reveal-fade.is-visible,
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .reveal-fade,
  .reveal,
  .js-animations-ready .reveal-up,
  .js-animations-ready .reveal-left,
  .js-animations-ready .reveal-right,
  .js-animations-ready .reveal-scale,
  .js-animations-ready .reveal-fade,
  .js-animations-ready .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* SEO / LLM-citable entity summary — visible but quiet */
.seo-entity {
  padding: 0.65rem 0;
  background: var(--bf-tint, #eef6ff);
  border-bottom: 1px solid var(--bf-border, #d9e7f7);
  font-size: 0.92rem;
  color: var(--bf-muted, #475569);
  line-height: 1.45;
}

.seo-entity p {
  margin: 0;
  max-width: 72ch;
}

.seo-entity strong {
  color: var(--bf-heading, #0f172a);
  font-weight: 650;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 48rem;
}

.faq-item {
  border: 1px solid var(--bf-border, #d9e7f7);
  border-radius: var(--radius, 16px);
  background: var(--bf-white, #fff);
  padding: 0.85rem 1.1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--bf-heading, #0f172a);
  list-style-position: outside;
}

.faq-item p {
  margin: 0.75rem 0 0.25rem;
  color: var(--bf-muted, #475569);
  max-width: 60ch;
}

.page-hero {
  background: var(--bf-bg);
  padding: calc(var(--bf-topbar) + var(--bf-header) + var(--space-5)) 0 var(--space-5);
}

.page-hero--compact {
  padding-top: calc(var(--bf-topbar) + var(--bf-header) + var(--space-3));
  padding-bottom: 1rem;
}

.section--tight {
  padding-top: 1rem;
  padding-bottom: var(--space-5);
}

.page-hero h1 {
  font-size: var(--text-display);
}

@media (max-width: 960px) {
  .hero-grid,
  .quote-photo,
  .cta-moment-inner,
  .steps-grid,
  .stats-row,
  .partners-row {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .hero-photo {
    min-height: 320px;
  }

  .hero h1 {
    max-width: none;
  }

  .partners-row {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-strip--dense,
  .gallery-strip--cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .top-bar {
    white-space: nowrap;
    font-size: 0.7rem;
  }
}

@media (max-width: 560px) {
  .partners-row {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .gallery-strip--dense {
    grid-template-columns: 1fr 1fr;
  }
}

/* Logo scales with --bf-header; only nav height changes by breakpoint */
@media (max-width: 960px) {
  :root {
    --bf-header: 64px;
  }

  .site-header.is-scrolled,
  .site-header.is-solid {
    --bf-header: 56px;
  }

  .brand-wordmark {
    font-size: 1.05rem;
  }

  .footer-brand-logo {
    height: 64px;
    width: auto;
    max-width: min(55vw, 100%);
  }
}

@media (max-width: 560px) {
  :root {
    --bf-header: 56px;
  }

  .site-header.is-scrolled,
  .site-header.is-solid {
    --bf-header: 52px;
  }

  .brand-wordmark {
    font-size: 0.98rem;
  }

  .footer-brand-logo {
    height: 56px;
  }
}