/* Self-hosted fonts: no requests to Google, so visitors aren't tracked */
@font-face { font-family: "Bebas Neue"; src: url(fonts/bebas-neue-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(fonts/montserrat-latin-300-normal.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(fonts/montserrat-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(fonts/montserrat-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(fonts/montserrat-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

/* Palette sampled from the logo */
:root {
  --navy: #0f3456;
  --deep-teal: #113f60;
  --teal: #3e7d8c;
  --seafoam: #a2c5c7;
  --mist: #e8f1f1;
  --gold: #e4a74c;
  --olive-gold: #c39853;
  --cream: #fdfdfb;
  --ink: #1d3346;
  --muted: #4d6475;
  --display: "Bebas Neue", "Oswald", "Arial Narrow", sans-serif;
  --body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.7 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h2, h3 { color: var(--navy); font-family: var(--display); font-weight: 400; letter-spacing: .02em; line-height: 1.05; margin: 0 0 .5em; }
h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h3 { font-size: 1.7rem; }
.eyebrow { margin: 0 0 .4rem; font-weight: 600; font-size: .8rem; letter-spacing: .25em; text-transform: uppercase; background: linear-gradient(90deg, var(--teal), var(--olive-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
section { padding: clamp(64px, 9vw, 112px) 0; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 14px; }

/* Quick exit */
.quick-exit {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  font: 600 .95rem var(--body); color: #fff; background: var(--navy);
  border: 2px solid var(--gold); border-radius: 999px; padding: 12px 20px; cursor: pointer;
  box-shadow: 0 6px 20px rgba(15, 52, 86, .3);
}
.quick-exit:hover { background: var(--deep-teal); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 24px; background: rgba(253, 253, 251, .94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--mist);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { mix-blend-mode: multiply; }
.brand-text { font-family: var(--display); font-size: 1.45rem; color: var(--navy); line-height: 1; }
.brand-text small { display: block; font: 300 .7rem var(--body); letter-spacing: .35em; color: var(--teal); text-transform: uppercase; margin-top: 3px; }
nav { display: flex; gap: 22px; align-items: center; }
nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: .9rem; }
nav a:hover { color: var(--teal); }
.nav-help { background: var(--gold); color: var(--navy) !important; padding: 8px 16px; border-radius: 999px; white-space: nowrap; }
.nav-help:hover { background: var(--olive-gold); }

/* Hero */
.hero { text-align: center; padding: clamp(48px, 8vw, 96px) 16px clamp(72px, 10vw, 120px);
  background: radial-gradient(ellipse at 30% 40%, rgba(162, 197, 199, .25), transparent 60%), var(--cream); }
.hero-logo { width: min(920px, 100%); margin: 0 auto; mix-blend-mode: multiply; }
.hero-lead { max-width: 680px; margin: 2.2rem auto 0; font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); }
.hero-lead em { color: var(--navy); font-weight: 600; }
.hero-actions { margin-top: 2rem; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 14px 28px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--deep-teal); color: #fff; }
.btn-ghost { border: 2px solid var(--teal); color: var(--teal); }
.btn-ghost:hover { background: var(--teal); color: #fff; }

/* Dark band */
.band { background: linear-gradient(160deg, var(--navy), var(--deep-teal) 60%, #1d5a73); color: #e9f2f3; }
.band h2 { color: #fff; }
.band .eyebrow { background: linear-gradient(90deg, var(--seafoam), var(--gold)); -webkit-background-clip: text; background-clip: text; }
.band a { color: var(--gold); }
.band a:hover { color: #fff; }
.band .note { color: var(--seafoam); }
.band-soft { background: var(--mist); color: var(--ink); }
.band-soft h2 { color: var(--navy); }
.band-soft .eyebrow { background: linear-gradient(90deg, var(--teal), var(--olive-gold)); -webkit-background-clip: text; background-clip: text; }
.band-soft a { color: var(--teal); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin: 2rem 0; }
.stat { margin: 0; padding: 28px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(162, 197, 199, .25); }
.stat-num { display: block; font-family: var(--display); font-size: 4rem; line-height: 1; color: var(--gold); }
.stat figcaption { margin-top: .6rem; }
.note { font-size: .92rem; color: var(--muted); max-width: 820px; }
.cite { font-size: .8em; font-weight: 600; text-decoration: none; white-space: nowrap; }

/* Being heard */
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.pull { background: #fff; border-radius: 20px; padding: 36px; border-left: 6px solid var(--gold); box-shadow: 0 10px 30px rgba(15, 52, 86, .08); }
.pull-quote { font-family: var(--display); font-size: 2.6rem; line-height: 1.05; color: var(--navy); margin: 0 0 1.2rem; }
.pull-quote span { color: var(--teal); }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding-left: 30px; position: relative; margin: .5rem 0; font-weight: 600; color: var(--navy); }
.checks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 16px; height: 8px; border-left: 3px solid var(--gold); border-bottom: 3px solid var(--gold); transform: rotate(-45deg); }

/* Paths */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 2rem; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card { background: #fff; border-radius: 16px; padding: 28px; border-top: 5px solid var(--seafoam); }
.card:nth-child(2) { border-top-color: var(--teal); }
.card:nth-child(3) { border-top-color: var(--gold); }
.card:nth-child(4) { border-top-color: var(--navy); }
.card p { margin: 0; color: var(--muted); }

/* Mission */
#mission { text-align: center; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 2.5rem; }
.pillars h3 { color: var(--teal); font-size: 2rem; margin-bottom: .2em; }
.pillars p { margin: 0; font-size: .95rem; color: var(--muted); }

/* Sources */
.sources { counter-reset: src; list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px 32px; }
.sources li { counter-increment: src; position: relative; padding: 14px 0 14px 44px; border-top: 1px solid rgba(162, 197, 199, .25); scroll-margin-top: 90px; }
.sources li::before { content: counter(src); position: absolute; left: 0; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: rgba(228, 167, 76, .18); color: var(--gold); font-weight: 600; font-size: .85rem; display: grid; place-items: center; }
.sources li:target { background: rgba(228, 167, 76, .1); }
.sources a:first-child { font-weight: 600; }
.sources span { display: block; font-size: .88rem; color: var(--seafoam); }

/* Contact */
.contact { background: var(--mist); }
.contact-grid { align-items: start; }
.contact-form { background: #fff; border-radius: 20px; padding: 32px; border-top: 6px solid var(--teal); box-shadow: 0 10px 30px rgba(15, 52, 86, .08); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--navy); font-size: .92rem; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem var(--body); color: var(--ink); background: var(--cream);
  border: 2px solid var(--mist); border-radius: 10px; padding: 12px 14px;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.field [aria-invalid="true"] { border-color: #b4472f; }
.err { margin: 6px 0 0; color: #b4472f; font-size: .85rem; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form button { border: 0; cursor: pointer; font: 600 1rem var(--body); }
.contact-form button:disabled { opacity: .6; cursor: wait; }
.form-status { margin: 14px 0 0; font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: var(--teal); }
.form-status.bad { color: #b4472f; }

/* Help */
.help { background: var(--cream); text-align: center; border-top: 6px solid var(--gold); }
.lines { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 2rem 0; }
.line { display: block; padding: 26px; border-radius: 16px; background: #fff; border: 2px solid var(--mist); text-decoration: none; transition: border-color .15s, transform .15s; }
.line:hover { border-color: var(--teal); transform: translateY(-2px); }
.line-name { display: block; color: var(--muted); font-weight: 600; font-size: .92rem; }
.line-num { display: block; font-family: var(--display); font-size: 2.3rem; color: var(--navy); margin-top: .3rem; }
.small { font-size: .85rem; color: var(--muted); }

/* Footer */
.site-footer { text-align: center; padding: 48px 16px 96px; background: var(--navy); color: var(--seafoam); }
.site-footer img { margin: 0 auto 12px; border-radius: 8px; }
.site-footer p { margin: .4rem 0; }
.site-footer p:first-of-type { font-family: var(--display); font-size: 1.6rem; color: #fff; line-height: 1.2; }
.site-footer p span { font: italic 400 .85rem var(--body); color: var(--seafoam); }
.site-footer .small { color: var(--seafoam); }
kbd { border: 1px solid var(--seafoam); border-radius: 4px; padding: 0 5px; font: inherit; }

@media (max-width: 860px) {
  nav a:not(.nav-help) { display: none; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .pillars { grid-template-columns: 1fr; }
  .sources { grid-template-columns: 1fr; }
  .site-header { padding: 10px 16px; }
}
@media (max-width: 420px) {
  .brand-text { font-size: 1.15rem; }
  .stat-num { font-size: 3.2rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
