/* ============================================================
Bible Church Mission — Southern California
Design tokens
============================================================ */
:root {
  color-scheme: light;

  /* Brand */
  --navy-900: #08182e;
  --navy-800: #0b2141;
  --navy-700: #12305a;
  --navy-600: #1b4275;
  --gold-500: #c08a2e; /* fills, rules, borders — non-text use */
  --gold-400: #d9a64a; /* gold text on navy — 8.05:1 */
  --gold-200: #ebd3a0;
  --gold-ink: #8c6114; /* gold TEXT on light surfaces — 5.5:1 on white, 5.1:1 on paper */

  /* Navy-biased cool neutrals */
  --paper: #f5f7fa;
  --surface: #ffffff;
  --surface-alt: #edf1f6;
  --rule: #dce3ec;
  --rule-strong: #c4cedc;
  --ink: #0e1b2c;
  --muted: #556477;
  --muted-soft: #5f6c7e; /* 5.3:1 on white, 5.0:1 on paper */
  --on-navy: #e7edf6;
  --on-navy-soft: #a7b8ce;

  /* Type */
  --display:
    "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:
    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;

  /* Scale */
  --step--1: clamp(0.78rem, 0.76rem + 0.12vw, 0.85rem);
  --step-0: clamp(1rem, 0.97rem + 0.16vw, 1.075rem);
  --step-1: clamp(1.18rem, 1.12rem + 0.3vw, 1.35rem);
  --step-2: clamp(1.45rem, 1.33rem + 0.6vw, 1.85rem);
  --step-3: clamp(1.85rem, 1.6rem + 1.2vw, 2.6rem);
  --step-4: clamp(2.3rem, 1.85rem + 2.2vw, 3.9rem);

  /* Layout */
  --wrap: 1220px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4rem, 8vw, 7.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}
p {
  margin: 0;
  text-wrap: pretty;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Keep in-page anchors clear of the sticky header */
section[id],
div[id],
main[id] {
  scroll-margin-top: 96px;
}
main:focus,
.way:focus {
  outline: none;
}
@media (max-width: 1000px) {
  section[id],
  div[id],
  main[id] {
    scroll-margin-top: 1rem;
  }
}

/* Accessibility helpers ------------------------------------- */
.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;
}
:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 2px;
}
.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 200;
  background: var(--navy-800);
  color: #fff;
  padding: 0.7rem 1.1rem;
  font-size: var(--step--1);
  font-weight: 600;
  transition: top 0.18s ease;
}
.skip:focus {
  top: 0.75rem;
}

/* Shared type devices ---------------------------------------- */
.eyebrow {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.15rem;
}
.eyebrow::before {
  content: "";
  width: 1.9rem;
  height: 2px;
  background: var(--gold-ink);
  flex: none;
}
.eyebrow.on-navy {
  color: var(--gold-400);
}
.eyebrow.on-navy::before {
  background: var(--gold-400);
}

.lede {
  font-size: var(--step-1);
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.6;
}

/* Buttons ---------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.95rem 1.65rem;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn svg {
  width: 0.85em;
  height: 0.85em;
  flex: none;
}
.btn--gold {
  background: var(--gold-500);
  color: #1b1206;
  border-color: var(--gold-500);
}
.btn--gold:hover {
  background: var(--gold-400);
  border-color: var(--gold-400);
}
.btn--navy {
  background: var(--navy-800);
  color: #fff;
  border-color: var(--navy-800);
}
.btn--navy:hover {
  background: var(--navy-700);
  border-color: var(--navy-700);
}
.btn--ghost {
  background: transparent;
  color: var(--on-navy);
  border-color: rgba(167, 184, 206, 0.5);
}
.btn--ghost:hover {
  background: rgba(231, 237, 246, 0.1);
  border-color: var(--on-navy);
}
.btn--outline {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--rule-strong);
}
.btn--outline:hover {
  border-color: var(--navy-800);
  background: var(--surface);
}

/* Text link with gold underline ------------------------------ */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy-700);
  padding-bottom: 0.3rem;
  border-bottom: 2px solid var(--gold-400);
  transition:
    gap 0.18s ease,
    color 0.18s ease;
}
.tlink:hover {
  gap: 0.85rem;
  color: var(--navy-600);
}
.tlink svg {
  width: 0.8em;
  height: 0.8em;
}

/* ============================================================
IMAGE PLACEHOLDERS
Each .ph block below is marked in the HTML with the exact <img>
markup to paste in its place, including the alt text to write.
Rule of thumb for alt: describe what the photo SHOWS and why it
is on the page. If a photo is purely decorative and the nearby
text already says everything, use alt="" (empty, not missing) so
screen readers skip it rather than reading a filename.
============================================================ */
.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Real photographs. Same framing the .ph placeholders had, so you can swap
a placeholder for <img class="media" ...> and nothing else moves.
object-fit:cover crops to fill the frame instead of squashing the photo. */
.media {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: var(--surface-alt);
}
.hero__media .media {
  aspect-ratio: 5/4;
}
.mission__aside .media {
  aspect-ratio: 3/4;
}
.help__media .media {
  aspect-ratio: 5/6;
  object-position: 50% 10%;
}
.post .media {
  aspect-ratio: 16/10;
}
.ph {
  position: relative;
  overflow: hidden;
  background-color: var(--surface-alt);
  background-image: linear-gradient(
    135deg,
    rgba(27, 66, 117, 0.07) 25%,
    transparent 25%,
    transparent 50%,
    rgba(27, 66, 117, 0.07) 50%,
    rgba(27, 66, 117, 0.07) 75%,
    transparent 75%,
    transparent
  );
  background-size: 14px 14px;
  border: 1px solid var(--rule-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph--onnavy {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(167, 184, 206, 0.35);
  background-image: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0.06) 75%,
    transparent 75%,
    transparent
  );
}
.ph__tag {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-700);
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  padding: 0.5rem 0.8rem;
  text-align: center;
  line-height: 1.5;
  max-width: 85%;
}
.ph--onnavy .ph__tag {
  color: var(--on-navy);
  background: rgba(8, 24, 46, 0.8);
  border-color: rgba(167, 184, 206, 0.4);
}

/* ============================================================
Header
============================================================ */
.site-header {
  padding: 10px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(167, 184, 206, 0.16);
  transition: box-shadow 0.2s ease;
}
.site-header[data-scrolled="true"] {
  box-shadow: 0 10px 30px -18px rgba(8, 24, 46, 0.9);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--on-navy);
  margin-right: auto;
}
.brand__mark {
  width: 100px;
  height: 100px;
  flex: none;
  display: block;
}
@media (max-width: 560px) {
  .brand__mark {
    width: 44px;
    height: 44px;
  }
}
.brand__name {
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.01em;
  display: block;
}
.brand__sub {
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--on-navy-soft);
  display: block;
  margin-top: 0.22rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav a {
  text-decoration: none;
  color: var(--on-navy);
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.55rem 0.8rem;
  position: relative;
  white-space: nowrap;
  transition: color 0.16s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.28rem;
  height: 2px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav a:hover {
  color: #fff;
}
.nav a:hover::after {
  transform: scaleX(1);
}
.header-cta {
  margin-left: 0.6rem;
}
/* .nav a is more specific than .btn--gold — restate the button's own colors */
.nav a.btn--gold {
  color: #1b1206;
}
.nav a.btn--gold:hover {
  color: #1b1206;
}
.nav a.btn::after {
  display: none;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(167, 184, 206, 0.4);
  color: var(--on-navy);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: background 0.15s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s ease;
}
.nav-toggle span::before {
  top: -6px;
}
.nav-toggle span::after {
  top: 6px;
}
.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1000px) {
  .nav-toggle {
    display: flex;
  }
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--navy-800);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.5rem;
    border-bottom: 1px solid rgba(167, 184, 206, 0.2);
    display: none;
  }
  .nav[data-open="true"] {
    display: flex;
  }
  .nav a {
    padding: 1.05rem 0.2rem;
    border-bottom: 1px solid rgba(167, 184, 206, 0.14);
    font-size: 0.95rem;
  }
  .nav a::after {
    display: none;
  }
  .header-cta {
    margin: 1rem 0 0;
  }
  .site-header {
    position: relative;
  }
}

/* ============================================================
Hero
============================================================ */
.hero {
  background: var(--navy-900);
  color: var(--on-navy);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    70% 90% at 12% 0%,
    rgba(27, 66, 117, 0.55) 0%,
    transparent 62%
  );
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.hero__title {
  font-size: clamp(2rem, 1.5rem + 1.9vw, 3.15rem);
  color: #fff;
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1.04;
  margin-bottom: 1.5rem;
}
.hero__title em {
  font-style: normal;
  color: var(--gold-400);
}
.hero__text {
  color: var(--on-navy-soft);
  font-size: var(--step-1);
  max-width: 46ch;
  line-height: 1.6;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.25rem;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(167, 184, 206, 0.22);
  font-size: var(--step--1);
  color: var(--on-navy-soft);
}
.hero__meta strong {
  color: var(--on-navy);
  font-weight: 600;
}

.hero__media {
  position: relative;
}
.hero__media .ph {
  aspect-ratio: 4/5;
}
.hero__badge {
  position: absolute;
  left: -1.5rem;
  bottom: 2.25rem;
  background: var(--gold-500);
  color: #1b1206;
  padding: 1.1rem 1.4rem;
  max-width: 15rem;
}
.hero__badge span {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.72;
}
.hero__badge p {
  font-family: var(--display);
  font-size: 1.08rem;
  line-height: 1.25;
  margin-top: 0.35rem;
  font-weight: 500;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero__media {
    order: -1;
  }
  .hero__media .ph,
  .hero__media .media {
    aspect-ratio: 16/10;
  }
  .hero__badge {
    left: 0;
    bottom: -1rem;
    max-width: none;
    display: none;
  }
}

/* ============================================================
Mission
============================================================ */
.section {
  padding-block: var(--section-y);
}
.section--white {
  background: var(--surface);
}
.section--alt {
  background: var(--paper);
}

.mission {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.mission__statement {
  font-family: var(--display);
  font-size: var(--step-3);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 1.75rem;
}
.mission__statement b {
  font-weight: 500;
  color: var(--navy-600);
  font-style: italic;
}
.mission__body {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  color: var(--muted);
  max-width: 60ch;
}
.mission__aside .ph {
  aspect-ratio: 3/4;
}
.mission__cite {
  margin-top: 1.25rem;
  font-size: var(--step--1);
  color: var(--muted-soft);
  border-left: 2px solid var(--gold-400);
  padding-left: 0.9rem;
  line-height: 1.55;
}
@media (max-width: 860px) {
  .mission {
    grid-template-columns: 1fr;
  }
  .mission__aside {
    order: 2;
  }
  .mission__aside .ph,
  .mission__aside .media {
    aspect-ratio: 16/9;
  }
}

/* ============================================================
Work / ministries
============================================================ */
.section-head {
  max-width: 56ch;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}
.section-head h2 {
  font-size: var(--step-3);
  margin-bottom: 1rem;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.card {
  background: var(--surface);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: background-color 0.2s ease;
}
.card:hover {
  background: var(--paper);
}
.card__icon {
  width: 34px;
  height: 34px;
  color: var(--gold-500);
}
.card h3 {
  font-size: var(--step-1);
  font-weight: 600;
  letter-spacing: -0.005em;
}
.card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.62;
}
.card__link {
  margin-top: auto;
  padding-top: 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-600);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: gap 0.18s ease;
}
.card__link:hover {
  gap: 0.8rem;
}
.card__link svg {
  width: 0.75em;
  height: 0.75em;
}

/* ============================================================
Strategy principles
============================================================ */
.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.principle {
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule-strong);
}
.principle__n {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-ink);
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 0.6rem;
}
.principle h3 {
  font-size: var(--step-1);
  font-weight: 600;
  margin-bottom: 0.45rem;
}
.principle p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.grid-cards--5 {
  grid-template-columns: repeat(6, 1fr);
}
.grid-cards--5 .card {
  grid-column: span 2;
}
.grid-cards--5 .card:nth-child(4),
.grid-cards--5 .card:nth-child(5) {
  grid-column: span 3;
}
@media (max-width: 900px) {
  .grid-cards--5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-cards--5 .card,
  .grid-cards--5 .card:nth-child(4),
  .grid-cards--5 .card:nth-child(5) {
    grid-column: span 1;
  }
}
@media (max-width: 560px) {
  .grid-cards--5 {
    grid-template-columns: 1fr;
  }
}
.source-note {
  margin-top: 1.5rem;
  font-size: var(--step--1);
  color: var(--muted);
}
.source-note a {
  color: var(--navy-700);
  text-underline-offset: 3px;
}

.giving-box {
  margin-top: 1.75rem;
  border-left: 3px solid var(--gold-500);
  padding: 1rem 0 1rem 1.15rem;
  background: var(--surface);
}
.giving-box__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 0.5rem;
}
.giving-box address {
  font-style: normal;
  line-height: 1.65;
  color: var(--ink);
}
.help__title {
  font-size: var(--step-3);
  margin-bottom: 1.5rem;
}

.reslist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.res {
  background: var(--surface);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: background-color 0.2s ease;
}
.res:hover {
  background: var(--paper);
}
.res:hover h3 {
  color: var(--navy-600);
}
.res__type {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.res h3 {
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.3;
}
.res p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.panel {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
.panel__lede {
  color: var(--muted);
  margin-bottom: 1.25rem;
  font-size: 0.96rem;
}
.namelist,
.linklist {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.namelist li {
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule);
}
.namelist li:last-child {
  border-bottom: 0;
}
.linklist a {
  color: var(--navy-700);
  font-weight: 600;
  text-underline-offset: 3px;
}
.linklist a:hover {
  color: var(--navy-600);
}
@media (max-width: 760px) {
  .twocol {
    grid-template-columns: 1fr;
  }
}

.quoteband {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  max-width: 62rem;
}
.quoteband__q {
  margin: 0;
}
.quoteband__q p {
  font-family: var(--display);
  font-size: var(--step-3);
  line-height: 1.28;
  color: #fff;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.quoteband__cite {
  margin-top: 1.5rem;
  font-size: var(--step--1);
  color: var(--on-navy-soft);
  letter-spacing: 0.02em;
}
.signup__addr {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(167, 184, 206, 0.25);
  font-size: var(--step--1);
  color: var(--on-navy-soft);
}

/* ============================================================
Stats band (retired — no verified figures published)
============================================================ */
.band {
  background: var(--navy-800);
  color: var(--on-navy);
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.stat {
  border-top: 2px solid var(--gold-500);
  padding-top: 1.15rem;
}
.stat__num {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
  display: block;
  letter-spacing: -0.02em;
}
.stat__num small {
  font-size: 0.5em;
  color: var(--gold-400);
  margin-left: 0.06em;
}
.stat__label {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--on-navy-soft);
  line-height: 1.45;
}
.stats__note {
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  font-size: var(--step--1);
  color: var(--on-navy-soft);
  opacity: 0.8;
  max-width: 70ch;
  margin: 0;
}

/* ============================================================
Pathway / steps
============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule-strong);
}
.step__n {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-ink);
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 0.7rem;
}
.step h3 {
  font-size: var(--step-1);
  font-weight: 600;
  margin-bottom: 0.55rem;
}
.step p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ============================================================
Help / involvement split
============================================================ */
.help {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.help__media .ph {
  aspect-ratio: 5/4;
}
.ways {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
  border-top: 1px solid var(--rule-strong);
}
.way {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--rule-strong);
  align-items: start;
}
.way__icon {
  width: 26px;
  height: 26px;
  color: var(--navy-600);
  margin-top: 0.2rem;
}
.way h3 {
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  font-family: var(--sans);
  letter-spacing: 0;
}
.way p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
}
@media (max-width: 860px) {
  .help {
    grid-template-columns: 1fr;
  }
  .help__media .ph,
  .help__media .media {
    aspect-ratio: 16/9;
  }
}

/* ============================================================
News
============================================================ */
.news-head {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.news-head h2 {
  font-size: var(--step-3);
}
.news {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.25rem);
}
.post {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  text-decoration: none;
  color: inherit;
}
.post .ph {
  aspect-ratio: 16/10;
  transition: border-color 0.2s ease;
}
.post:hover .ph {
  border-color: var(--navy-600);
}
.post .post__meta {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-ink);
  line-height: 1.5;
}
.post .post__meta span {
  color: var(--muted-soft);
  white-space: nowrap;
  font-weight: 600;
}
.post h3 {
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.28;
}
.post:hover h3 {
  color: var(--navy-600);
}
.post p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* ============================================================
Contact form
============================================================ */
.signup {
  background: var(--navy-900);
  color: var(--on-navy);
  position: relative;
  overflow: hidden;
}
.signup::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    60% 100% at 85% 30%,
    rgba(192, 138, 46, 0.25) 0%,
    transparent 65%
  );
}
.signup__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.signup h2 {
  font-size: var(--step-3);
  color: #fff;
  margin-bottom: 1rem;
}
.signup p {
  color: var(--on-navy-soft);
  max-width: 48ch;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.field label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--on-navy);
}
.form input[aria-invalid="true"],
.form textarea[aria-invalid="true"] {
  border-color: #f0a9a9;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form button[aria-busy="true"] {
  opacity: 0.7;
  cursor: progress;
}
.form button[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}
.form__row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.form input,
.form textarea {
  width: 100%;
  min-width: 0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(167, 184, 206, 0.4);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 0.95rem 1.1rem;
}
.form__row input {
  flex: 1 1 15rem;
  width: auto;
}
.form textarea {
  min-height: 9rem;
  resize: vertical;
  line-height: 1.55;
}
.form input::placeholder {
  color: var(--on-navy-soft);
  opacity: 0.75;
}
.form input:focus,
.form textarea:focus {
  border-color: var(--gold-400);
  background: rgba(255, 255, 255, 0.1);
}
.form small {
  font-size: 0.78rem;
  color: var(--on-navy-soft);
  opacity: 0.8;
}
.form__status {
  font-size: 0.85rem;
  color: var(--gold-200);
  min-height: 1.2em;
}
@media (max-width: 860px) {
  .signup__inner {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
Footer
============================================================ */
.site-footer {
  background: var(--navy-900);
  color: var(--on-navy-soft);
  border-top: 1px solid rgba(167, 184, 206, 0.16);
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.footer-brand .brand {
  margin-bottom: 1.15rem;
}
.footer-brand p {
  max-width: 34ch;
  line-height: 1.65;
}
.footer-col h3 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-navy);
  margin-bottom: 1.1rem;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-col a {
  text-decoration: none;
  transition: color 0.16s ease;
}
.footer-col a:hover {
  color: #fff;
}
.footer-col address {
  font-style: normal;
  line-height: 1.7;
}
.socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.socials a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(167, 184, 206, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    border-color 0.16s ease,
    color 0.16s ease;
}
.socials a:hover {
  border-color: var(--gold-400);
  color: var(--gold-400);
}
.socials svg {
  width: 16px;
  height: 16px;
}
.footer-base {
  border-top: 1px solid rgba(167, 184, 206, 0.16);
  padding-block: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}
.footer-base ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}
.footer-base a {
  text-decoration: none;
}
.footer-base a:hover {
  color: #fff;
}
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
Scroll reveal
============================================================ */
/* Hidden only when JS is running — content stays visible if scripts fail. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:hover {
    transform: none;
  }
}
