/* ==========================================================================
   SHADOWWING ALLIANCE

   Design intent: calm, credible, low-arousal. This site is read by people
   with an active stress response, so it avoids the visual grammar of the
   security industry — no black, no red alerts, no tactical typography, no
   motion that arrives unannounced. Colour comes from the logo: deep navy,
   teal, and a warm gold.

   Type is system serif and sans. No webfont requests, so no third-party
   connection is made from a visitor's device, and no layout shift.
   ========================================================================== */

/* --------------------------------------------------------------- fonts */

/* Self-hosted, not loaded from Google. A visitor's browser makes no request
   to a third party to render this page — on a site read by people whose
   device may be monitored, that is a privacy property, not a performance one.
   It also means font-src can stay 'self' in the Content-Security-Policy.
   Both families are SIL Open Font License 1.1; see static/fonts/OFL.txt. */

@font-face {
  font-family: "Montserrat";
  src: url("/static/fonts/montserrat-var.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("/static/fonts/lato-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("/static/fonts/lato-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("/static/fonts/lato-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-900: #0B1D33;
  --navy-800: #102A47;
  --navy-700: #1A3A5C;
  --navy-600: #2C5077;

  --teal-600: #2C6E7F;
  --teal-500: #3E8E92;
  --teal-300: #8FBFC0;

  --gold-600: #A97C33;
  --gold-500: #C89A4A;
  --gold-300: #E4C88E;

  --ink: #16212E;
  --ink-soft: #4A5967;
  --ink-faint: #74828F;

  --paper: #FFFFFF;
  --wash: #F4F7F8;
  --wash-2: #E8EFF1;
  --line: #DCE5E8;

  --warn-bg: #FFF6E8;
  --warn-line: #E6C48A;
  --urgent-bg: #FBF2F0;
  --urgent-line: #DDB3AA;
  --ok-bg: #EFF6F1;
  --ok-line: #A9CDB6;

  --font-heading: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1140px;
  --measure: 68ch;
  --radius: 10px;
  --radius-lg: 16px;

  --space-xs: 0.5rem;
  --space-s: 0.875rem;
  --space-m: 1.5rem;
  --space-l: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --shadow: 0 1px 2px rgba(11, 29, 51, .06), 0 8px 24px rgba(11, 29, 51, .07);
  --shadow-lg: 0 2px 4px rgba(11, 29, 51, .07), 0 18px 48px rgba(11, 29, 51, .12);
}

/* -------------------------------------------------------------- reset */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy-800);
  line-height: 1.15;
  margin: 0 0 var(--space-s);
  font-weight: 600;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); }
h3 { font-size: 1.22rem; }
h4 { font-size: 1rem; font-family: var(--font-heading); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }

p { margin: 0 0 var(--space-m); }
p:last-child { margin-bottom: 0; }

a { color: var(--teal-600); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--navy-700); }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
  border-radius: 3px;
}

ul, ol { margin: 0 0 var(--space-m); padding-left: 1.15rem; }
li { margin-bottom: .4rem; }

blockquote { margin: 0; }

strong, b { font-weight: 650; }

/* ------------------------------------------------------------ utility */

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.measure { max-width: var(--measure); }
.center { margin-inline: auto; text-align: center; }
.muted { color: var(--ink-faint); }
.mt-xs { margin-top: var(--space-xs); }
.mt-s { margin-top: var(--space-s); }
.mt-l { margin-top: var(--space-l); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy-800); color: #fff; padding: .75rem 1.25rem;
  text-decoration: none; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: #fff; }

.fineprint { font-size: .85rem; color: var(--ink-faint); line-height: 1.55; }
.optional { color: var(--ink-faint); font-weight: 400; }
.hint { display: block; font-size: .875rem; color: var(--ink-faint); margin-bottom: .35rem; }

.eyebrow {
  display: block;
  font-size: .78rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--teal-600);
  margin-bottom: .6rem;
}

.lede {
  font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* Draft-only marker for an unresolved input. */
.ph {
  background: #FFE9C7;
  color: #7A4B00;
  padding: 0 .3em;
  border-radius: 3px;
  font-weight: 600;
}

.draft-banner {
  background: #7A4B00; color: #FFF3DE; text-align: center;
  padding: .5rem 1rem; font-size: .82rem; letter-spacing: .01em;
}
.draft-banner b { color: #fff; }

/* --------------------------------------------------------- quick exit */

/* Always reachable, never in the way of the content. Sits above every other
   layer, including the mobile menu, because it is the one control that must
   work at any moment. */
.quick-exit {
  position: fixed;
  top: .75rem;
  right: .75rem;
  z-index: 300;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem .95rem;
  background: var(--navy-800);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.quick-exit:hover { background: var(--navy-900); color: #fff; }
.quick-exit__x { font-size: 1.15em; line-height: 1; opacity: .8; }

/* On a phone the header is already full at 375px, and there is no room beside
   it for the pill. Bottom-right keeps it permanently visible, out of the
   header's way, and closer to the thumb than the top corner is. */
@media (max-width: 991px) {
  .quick-exit {
    top: auto;
    bottom: 1rem;
    right: .75rem;
    padding: .6rem 1rem;
    box-shadow: var(--shadow-lg);
  }
}

/* ------------------------------------------------------------- header */

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex; align-items: center; gap: var(--space-m);
  min-height: 74px;
}

.brandmark {
  display: flex; align-items: center; gap: .6rem;
  text-decoration: none; color: var(--navy-800); flex: 0 0 auto;
}
.brandmark__emblem { width: 44px; height: 44px; object-fit: contain; }
.brandmark__text { display: flex; flex-direction: column; line-height: 1.15; }
.brandmark__text b { font-family: var(--font-heading); font-size: 1.08rem; font-weight: 600; }
.brandmark__text span { font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-faint); }

.nav { display: none; gap: 1.35rem; margin-left: auto; }
.nav__link {
  color: var(--ink-soft); text-decoration: none; font-size: .95rem; font-weight: 500;
  padding: .35rem 0; border-bottom: 2px solid transparent;
}
.nav__link:hover { color: var(--navy-800); border-bottom-color: var(--teal-300); }
.nav__link[aria-current="page"] { color: var(--navy-800); border-bottom-color: var(--gold-500); }

.header__actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }

.menu-toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  padding: .5rem .8rem; font: inherit; font-size: .9rem; color: var(--navy-800);
  cursor: pointer;
}
.menu-toggle__bars { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor;
}
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }

.header__actions .btn { display: none; }

.mobile-menu { display: none; border-top: 1px solid var(--line); background: #fff; padding: var(--space-m) 0 var(--space-l); }
.mobile-menu[data-open="true"] { display: block; }
.mobile-menu ul { list-style: none; padding: 0; margin: 0 0 var(--space-m); }
.mobile-menu li { margin: 0; border-bottom: 1px solid var(--line); }
.mobile-menu a { display: block; padding: .85rem 0; text-decoration: none; color: var(--navy-800); font-size: 1.05rem; }

@media (min-width: 992px) {
  .nav { display: flex; }
  /* Reserve the top-right corner for the fixed quick-exit pill, which is the
     only element allowed to sit over the header. */
  .header__actions { margin-left: 0; padding-right: 8.5rem; }
  .header__actions .btn { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ------------------------------------------------------------ buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8rem 1.5rem;
  border: 1px solid transparent; border-radius: var(--radius);
  font: inherit; font-size: .97rem; font-weight: 600; line-height: 1.25;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn__label { display: inline-block; }

.btn--primary { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.btn--primary:hover { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

.btn--ghost { background: transparent; color: var(--navy-800); border-color: var(--line); }
.btn--ghost:hover { background: var(--wash); border-color: var(--teal-300); color: var(--navy-800); }

.btn--block { width: 100%; }

/* A control with nowhere to go. Never dressed as a live button. */
.btn--unresolved {
  background: repeating-linear-gradient(45deg, #FFF3DE, #FFF3DE 8px, #FFE9C7 8px, #FFE9C7 16px);
  color: #7A4B00; border: 1px dashed #B98A3E; cursor: not-allowed; font-weight: 600;
}

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: var(--space-m); }

.on-ink .btn--primary { background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500); }
.on-ink .btn--primary:hover { background: var(--gold-300); border-color: var(--gold-300); color: var(--navy-900); }
.on-ink .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .38); }
.on-ink .btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* ----------------------------------------------------------- sections */

.section { padding: var(--space-2xl) 0; }
.section + .section { border-top: 1px solid transparent; }
/* Follows a hero, which already carries its own bottom space. */
.section--tight { padding: 0 0 var(--space-l); }

.section--wash { background: var(--wash); }
.section--ink { background: var(--navy-800); }

.on-ink, .on-ink h1, .on-ink h2, .on-ink h3 { color: #fff; }
.on-ink .lede, .on-ink p { color: rgba(255, 255, 255, .82); }
.on-ink .eyebrow { color: var(--gold-300); }
.on-ink a { color: var(--gold-300); }
.on-ink a:hover { color: #fff; }
.on-ink .fineprint { color: rgba(255, 255, 255, .6); }

.section__head { margin-bottom: var(--space-l); max-width: 72ch; }

/* --------------------------------------------------------------- hero */

.hero { padding: var(--space-xl) 0 var(--space-l); }
.hero__inner { max-width: 62ch; }

.hero--home { padding-top: var(--space-l); padding-bottom: var(--space-xl); }
.hero__split { display: grid; gap: var(--space-l); align-items: center; }
.hero__art { display: none; }
.hero__art img { margin-inline: auto; max-width: 380px; }

@media (min-width: 900px) {
  .hero__split { grid-template-columns: 1.35fr 1fr; gap: var(--space-xl); }
  .hero__art { display: block; }
}

/* --------------------------------------------------------------- grid */

.grid { display: grid; gap: var(--space-m); list-style: none; padding: 0; margin: 0; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }

@media (min-width: 700px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-m);
  margin: 0;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--ink-soft); margin-bottom: 0; }
.card__foot { margin-top: var(--space-m); }

.section--wash .card { background: var(--paper); border-color: var(--wash-2); }
.on-ink .card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); }
.on-ink .card p { color: rgba(255, 255, 255, .78); }

.split { display: grid; gap: var(--space-l); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1.5fr; gap: var(--space-xl); }
  .split--even { grid-template-columns: 1fr 1fr; }
}

.panel {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: var(--space-m);
}
.panel--accent { border-color: var(--teal-300); background: #F6FBFB; }
.panel h3 { margin-bottom: var(--space-s); }

/* --------------------------------------------------------------- lists */

.marked { list-style: none; padding: 0; margin: 0; }
.marked li {
  position: relative; padding-left: 1.7rem; margin-bottom: .8rem;
  color: var(--ink-soft);
}
.marked li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: .55rem; height: .55rem; border-radius: 2px;
  background: var(--gold-500); transform: rotate(45deg);
}
.marked strong { display: block; color: var(--ink); }
.marked--links li::before { background: var(--teal-500); }
.marked--links a { font-size: 1.05rem; }
.on-ink .marked li { color: rgba(255, 255, 255, .82); }
.on-ink .marked strong { color: #fff; }

@media (min-width: 800px) {
  .marked--two { columns: 2; column-gap: var(--space-l); }
  .marked--two li { break-inside: avoid; }
}

.process { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: var(--space-m); }
.process li {
  counter-increment: step; position: relative;
  padding-left: 3.25rem; margin: 0;
}
.process li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wash-2); color: var(--navy-800);
  font-weight: 700; font-size: .95rem;
}
.process b { display: block; font-size: 1.1rem; font-family: var(--font-heading); font-weight: 600; margin-bottom: .2rem; }
.process span { color: var(--ink-soft); }
.on-ink .process li::before { background: var(--gold-500); color: var(--navy-900); }
.on-ink .process span { color: rgba(255, 255, 255, .8); }

@media (min-width: 800px) {
  .process { grid-template-columns: repeat(2, 1fr); gap: var(--space-l); }
}

/* -------------------------------------------------------- safety block */

.safety-note {
  display: flex; gap: var(--space-s); align-items: flex-start;
  background: var(--warn-bg); border: 1px solid var(--warn-line);
  border-radius: var(--radius-lg); padding: var(--space-m);
}
.safety-note p { margin: 0; color: #6B4A12; font-size: .96rem; }
.safety-note__icon { font-size: 1.3rem; line-height: 1.2; color: #A97C33; }

.notice {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--space-m); background: var(--wash);
}
.notice h2 { font-size: 1.35rem; }
.notice--warn { background: var(--warn-bg); border-color: var(--warn-line); }
.notice--urgent { background: var(--urgent-bg); border-color: var(--urgent-line); }
.notice--urgent h2 { color: #7A2F20; }

.callout {
  border-left: 4px solid var(--gold-500);
  background: var(--wash);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--space-m) var(--space-m) var(--space-m) var(--space-l);
}
.callout h2, .callout h3 { font-size: 1.25rem; }

/* Crisis hotlines */

.crisis-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-m); }
@media (min-width: 700px) { .crisis-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .crisis-grid { grid-template-columns: repeat(4, 1fr); } }

.crisis {
  margin: 0; padding: var(--space-m);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.crisis__name { font-weight: 650; margin-bottom: .35rem; font-size: .98rem; }
.crisis__name a { color: var(--navy-800); text-decoration: none; }
.crisis__name a:hover { text-decoration: underline; }
.crisis__num { margin: 0 0 .35rem; font-family: var(--font-heading); font-size: 1.4rem; }
.crisis__num a { color: var(--teal-600); text-decoration: none; font-weight: 600; }
.crisis__detail { font-size: .875rem; color: var(--ink-faint); margin: 0; }

.on-ink .crisis { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18); }
.on-ink .crisis__name a { color: #fff; }
.on-ink .crisis__num a { color: var(--gold-300); }
.on-ink .crisis__detail { color: rgba(255, 255, 255, .68); }

.crisis-strip { background: var(--navy-900); color: rgba(255, 255, 255, .9); font-size: .92rem; }
.crisis-strip p { margin: 0; padding: .85rem 0; }
.crisis-strip b { color: #fff; }
.crisis-strip a { color: var(--gold-300); }
.crisis-strip__more { margin-left: .35rem; white-space: nowrap; }

/* -------------------------------------------------------------- tracks */

.tracks { display: grid; gap: var(--space-l); margin-top: var(--space-l); }

.track {
  display: grid; gap: var(--space-m);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--space-l);
  background: var(--paper);
}
@media (min-width: 900px) {
  .track { grid-template-columns: 1fr 1.4fr; gap: var(--space-xl); }
}
.track__num {
  display: inline-block; font-size: .74rem; letter-spacing: .13em; text-transform: uppercase;
  font-weight: 700; color: var(--gold-600); margin-bottom: .5rem;
}
.track__summary { color: var(--ink-soft); margin-bottom: .5rem; }
.track__format {
  display: inline-block; font-size: .82rem; color: var(--teal-600);
  background: #F1F8F8; border: 1px solid var(--teal-300);
  border-radius: 999px; padding: .2rem .7rem; margin: 0;
}
.track__body h4 { margin-bottom: .6rem; }
.track__note {
  margin-top: var(--space-m); padding-top: var(--space-m);
  border-top: 1px solid var(--line);
  font-size: .93rem; color: var(--ink-faint);
}

.track-minis { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-m); }
@media (min-width: 700px) { .track-minis { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .track-minis { grid-template-columns: repeat(4, 1fr); } }
.track-mini {
  margin: 0; padding: var(--space-m);
  border-top: 3px solid var(--gold-500); background: var(--wash);
  border-radius: 0 0 var(--radius) var(--radius);
}
.track-mini__num { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--gold-600); }
.track-mini h3 { font-size: 1.08rem; margin: .3rem 0 .4rem; }
.track-mini p { font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* --------------------------------------------------------------- paths */

.paths { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-m); }
@media (min-width: 700px) { .paths { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .paths { grid-template-columns: repeat(4, 1fr); } }
.path { margin: 0; padding: var(--space-m); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.path h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.path h3 a { text-decoration: none; color: var(--navy-800); }
.path h3 a:hover { color: var(--teal-600); text-decoration: underline; }
.path p { font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* -------------------------------------------------------------- people */

.people { display: grid; gap: var(--space-l); }
.person { display: grid; gap: var(--space-m); align-items: start; }
@media (min-width: 700px) { .person { grid-template-columns: 200px 1fr; gap: var(--space-l); } }

.person__pic img, .vacancy-mark {
  width: 100%; max-width: 200px; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius-lg);
}
.vacancy-mark {
  display: grid; place-items: center;
  background: var(--wash-2); color: var(--ink-faint);
  font-family: var(--font-heading); font-size: 3.5rem;
}
.person__role { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 650; color: var(--teal-600); margin-bottom: .75rem; }
.person__role--open { color: var(--gold-600); }
.person--vacant .person__body h3 { color: var(--ink-soft); }
.vacancy-note {
  font-size: .93rem; color: #6B4A12; background: var(--warn-bg);
  border-left: 3px solid var(--warn-line); padding: .7rem var(--space-s); border-radius: 0 var(--radius) var(--radius) 0;
}

.img-missing {
  display: grid; place-items: center; aspect-ratio: 1;
  background: repeating-linear-gradient(45deg, #F4F7F8, #F4F7F8 10px, #E8EFF1 10px, #E8EFF1 20px);
  border: 1px dashed var(--ink-faint); border-radius: var(--radius-lg);
  color: var(--ink-faint); font-size: .72rem; letter-spacing: .1em; text-align: center; padding: 1rem;
}

/* ---------------------------------------------------------- governance */

.facts { display: grid; gap: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.fact { display: grid; gap: .15rem; padding: .9rem var(--space-m); border-bottom: 1px solid var(--line); }
.fact:last-child { border-bottom: none; }
.fact:nth-child(odd) { background: var(--wash); }
.fact dt { font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
.fact dd { margin: 0; font-weight: 550; color: var(--navy-800); }
@media (min-width: 700px) {
  .fact { grid-template-columns: 260px 1fr; align-items: baseline; gap: var(--space-m); }
}
.pending { color: var(--gold-600); font-weight: 600; font-style: italic; }

.mission {
  font-family: var(--font-heading); font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem);
  line-height: 1.4; color: var(--navy-800);
  border-left: 4px solid var(--gold-500); padding-left: var(--space-m); margin-bottom: var(--space-m);
}

.phases { list-style: none; counter-reset: phase; padding: 0; margin: 0; display: grid; gap: var(--space-m); }
@media (min-width: 800px) { .phases { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .phases { grid-template-columns: repeat(4, 1fr); } }
.phase {
  margin: 0; padding: var(--space-m);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-lg);
}
.phase h3 { font-size: 1.08rem; margin: .5rem 0 .4rem; }
.phase p { font-size: .92rem; }
.phase__badge {
  display: inline-block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 700; padding: .2rem .6rem; border-radius: 999px;
  background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .8);
}
.phase--in_progress { border-color: var(--gold-500); }
.phase--in_progress .phase__badge { background: var(--gold-500); color: var(--navy-900); }
.phase--next .phase__badge { background: rgba(143, 191, 192, .3); color: #fff; }

/* ------------------------------------------------------------- donate */

.allocs, .concretes, .stat-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-m); }
@media (min-width: 800px) {
  .allocs { grid-template-columns: repeat(3, 1fr); }
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
}
.alloc { margin: 0; padding: var(--space-m); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.alloc__value { display: block; font-family: var(--font-heading); font-size: 2.6rem; line-height: 1; color: var(--gold-600); margin-bottom: .5rem; }
.alloc h3 { font-size: 1.05rem; }
.alloc p { font-size: .93rem; color: var(--ink-soft); margin: 0; }

.concrete { display: flex; gap: var(--space-m); align-items: baseline; margin: 0; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.concrete__amount { font-family: var(--font-heading); font-size: 1.5rem; color: var(--gold-600); min-width: 5.5rem; }

.stat { margin: 0; padding: var(--space-m); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.stat__value { display: block; font-family: var(--font-heading); font-size: 2.8rem; line-height: 1; color: var(--navy-800); margin-bottom: .4rem; }
.stat__label { display: block; color: var(--ink-soft); margin-bottom: .5rem; }
.stat__source { display: block; font-size: .8rem; color: var(--ink-faint); }

.local { margin: 0; padding: var(--space-m); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.local h3 { font-size: 1.05rem; }
.local p { font-size: .92rem; color: var(--ink-soft); }
.local__contact { margin: 0; font-weight: 600; }

/* --------------------------------------------------------------- forms */

.form { margin-top: var(--space-l); max-width: 760px; }
.form__grid { display: grid; gap: var(--space-m); }
@media (min-width: 700px) { .form__grid { grid-template-columns: repeat(2, 1fr); } }

.field { display: flex; flex-direction: column; }
.field--span { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; margin-bottom: .35rem; color: var(--navy-800); }

.input, .select, .textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: .7rem .85rem; width: 100%;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--teal-500); }
.textarea { resize: vertical; min-height: 7rem; }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: #B4574A; }

.field__error { font-size: .85rem; color: #B4574A; min-height: 0; margin-top: .25rem; }
.field__error[data-shown] { min-height: 1.2rem; }

.fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-s) var(--space-m) var(--space-m); }
.fieldset legend { font-weight: 600; font-size: .95rem; padding: 0 .4rem; color: var(--navy-800); }
.check-grid { display: grid; gap: .5rem; }
@media (min-width: 600px) { .check-grid { grid-template-columns: repeat(2, 1fr); } }
.check { display: flex; align-items: flex-start; gap: .55rem; }
.check input { margin-top: .3rem; flex: 0 0 auto; }
.check label { font-weight: 400; margin: 0; font-size: .95rem; }

.hp { position: absolute; left: -9999px; }

.form__status:empty { display: none; }
.status-msg { margin-top: var(--space-m); padding: var(--space-s) var(--space-m); border-radius: var(--radius); border: 1px solid; }
.status-msg p { margin: 0; }
.status-msg--success { background: var(--ok-bg); border-color: var(--ok-line); color: #1F5334; }
.status-msg--error { background: var(--urgent-bg); border-color: var(--urgent-line); color: #7A2F20; }
.status-msg--test { background: var(--warn-bg); border-color: var(--warn-line); color: #6B4A12; }

.on-ink .form label, .on-ink .fieldset legend { color: #fff; }
.section--wash .form label { color: var(--navy-800); }

.contact-email { font-size: 1.2rem; font-weight: 600; }

/* ------------------------------------------------------------- closing */

.closing { max-width: 60ch; }

/* --------------------------------------------------------------- legal */

.legal .legal__section { margin-bottom: var(--space-l); }
.legal h2 { font-size: 1.3rem; margin-top: var(--space-l); }
.legal p { color: var(--ink-soft); }

/* -------------------------------------------------------------- footer */

.footer { background: var(--navy-800); padding: var(--space-xl) 0 var(--space-l); }
.footer__top { display: grid; gap: var(--space-l); }
@media (min-width: 800px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--space-l); } }

.footer__mark { display: flex; align-items: center; gap: .75rem; margin-bottom: var(--space-m); }
.footer__mark img {
  width: 56px; height: 56px; object-fit: contain; flex: 0 0 auto;
  /* The emblem's own navy would vanish here; a light plate gives it a ground. */
  background: rgba(255, 255, 255, .92);
  border-radius: 50%; padding: 5px;
}
.footer__mark span { font-family: var(--font-heading); font-size: 1.25rem; color: #fff; line-height: 1.15; }
.footer__tagline { font-family: var(--font-heading); font-size: 1.1rem; color: #fff !important; margin-bottom: var(--space-m); }
.footer h3 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-300); font-family: var(--font-body); margin-bottom: .8rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .5rem; }
.footer a { color: rgba(255, 255, 255, .82); text-decoration: none; font-size: .95rem; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer p { font-size: .95rem; margin-bottom: .5rem; }

.social-row { display: flex; gap: var(--space-m); margin-top: var(--space-s) !important; }
.social-row li { margin: 0; }

.footer__bottom {
  margin-top: var(--space-xl); padding-top: var(--space-m);
  border-top: 1px solid rgba(255, 255, 255, .16);
  display: grid; gap: .5rem;
}
.footer__bottom p { font-size: .85rem; color: rgba(255, 255, 255, .62); margin: 0; }
.footer__legal-links a { font-size: .85rem; }

/* A route to us that does not depend on the form processor. Deliberately
   plain and always visible, not an error-state afterthought. */
.direct-email {
  margin: 0 0 var(--space-m);
  padding: .7rem var(--space-m);
  background: var(--wash);
  border-left: 3px solid var(--teal-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .95rem;
}
