/* =========================================================================
   John Vrsalovich for FMWD Division 2
   Civic-editorial design system: navy field, paper-sand ground, water accents.
   Display type: Newsreader. Interface type: Public Sans.
   ========================================================================= */

:root {
  --ink: #12222f;
  --ink-soft: #4a5f70;
  --navy-900: #072536;
  --navy-800: #0a3350;
  --navy-700: #10476d;
  --blue-600: #14618f;
  --water: #2f97b8;
  --water-soft: #d9ecf3;
  --sand: #f6f2ea;
  --sand-deep: #ece3d3;
  --gold: #b0812c;
  --line: #dcd5c7;
  --line-cool: #d3e1e9;
  --white: #fff;

  --shell: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(68px, 8vw, 116px);
  --radius: 4px;

  --shadow-sm: 0 2px 10px rgba(7, 37, 54, .07);
  --shadow-md: 0 18px 44px rgba(7, 37, 54, .14);
  --shadow-lg: 0 30px 70px rgba(7, 37, 54, .22);

  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-ui: "Public Sans", "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, blockquote {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.08;
  margin: 0;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--water);
  outline-offset: 3px;
  border-radius: 2px;
}

.shell { width: min(var(--shell), 100% - (var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
section { scroll-margin-top: 84px; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy-900); color: var(--white);
  padding: 12px 18px; font-weight: 600;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- Shared type ------------------------------------------------- */

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin: 0 0 14px;
}
.eyebrow.light { color: var(--water-soft); }

.section-head { max-width: 760px; margin-bottom: clamp(34px, 5vw, 54px); }
.section-head h2 { font-size: clamp(31px, 4.2vw, 50px); color: var(--navy-900); }
.section-sub { color: var(--ink-soft); margin: 20px 0 0; max-width: 68ch; }

.prose { color: var(--ink-soft); }
.prose p { margin: 0 0 18px; }
.prose p:last-child { margin-bottom: 0; }

.note {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  border-left: 3px solid var(--water);
  background: rgba(47, 151, 184, .07);
  padding: 16px 18px;
  margin: 26px 0 0;
}
.note a { color: var(--blue-600); font-weight: 600; }

/* ---------- Buttons ----------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-solid { background: var(--gold); color: #1c1405; box-shadow: var(--shadow-sm); }
.btn-solid:hover { background: #c8952f; }

.btn-outline { border-color: rgba(255, 255, 255, .5); color: var(--white); }
.btn-outline:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); }

.btn-light { background: var(--white); color: var(--navy-800); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); }

/* Compact variant for secondary jump links sitting beside a primary button */
.btn-sm { padding: 11px 18px; font-size: 14px; }

/* ---------- Masthead ---------------------------------------------------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 242, 234, .93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--navy-900);
  text-decoration: none;
}
.brand-mark { width: 27px; height: 27px; color: var(--water); flex: none; }
.brand-text b {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.01em;
}
.brand-text small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.masthead nav { display: flex; align-items: center; gap: 26px; }
.masthead nav a {
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}
.masthead nav a:hover { color: var(--blue-600); border-bottom-color: var(--water); }

.nav-cta {
  background: var(--navy-800);
  color: var(--white) !important;
  padding: 10px 18px !important;
  border-radius: var(--radius);
  border-bottom: 0 !important;
}
.nav-cta:hover { background: var(--navy-700); }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  cursor: pointer;
}
.menu-bars { display: block; width: 20px; }
.menu-bars i {
  display: block;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform .22s ease, opacity .18s ease;
}
.menu-bars i + i { margin-top: 4px; }
.menu-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero -------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% 8%, #10476d 0%, transparent 58%),
    linear-gradient(168deg, #0a3350 0%, #072536 62%, #061e2c 100%);
  color: var(--white);
  padding-block: clamp(52px, 7vw, 96px) clamp(58px, 7vw, 104px);
}

.hero-contours {
  position: absolute;
  inset: -20% -10%;
  background:
    repeating-radial-gradient(ellipse 100% 66% at 74% 22%, rgba(255, 255, 255, .07) 0 1px, transparent 1px 44px),
    repeating-radial-gradient(ellipse 88% 60% at 6% 92%, rgba(47, 151, 184, .3) 0 1px, transparent 1px 34px);
  opacity: .75;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
}

.kicker {
  margin: 0 0 22px;
  font-size: clamp(10.5px, 1.2vw, 12px);
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--water-soft);
}
.kicker span { color: var(--gold); padding: 0 .35em; }

.hero h1 { margin: 0 0 24px; }
.hero-name {
  display: block;
  font-size: clamp(52px, 8.4vw, 104px);
  font-weight: 600;
  line-height: .92;
  letter-spacing: -.04em;
}
.hero-for {
  display: block;
  font-style: italic;
  font-size: clamp(24px, 3.2vw, 38px);
  color: var(--water-soft);
  margin: 4px 0 2px;
  padding-left: .12em;
}
.hero-office {
  display: block;
  font-size: clamp(27px, 4.4vw, 54px);
  font-weight: 500;
  line-height: 1;
  color: var(--white);
}
.hero-office::after {
  content: "";
  display: block;
  width: 88px;
  height: 3px;
  margin-top: 22px;
  background: var(--gold);
}

.hero-lead {
  max-width: 56ch;
  font-size: clamp(16.5px, 1.7vw, 19px);
  color: #cfe0ea;
  margin: 24px 0 0;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 26px; }

.hero-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 13px;
  color: #a9c3d2;
}
.badge {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
}

.hero-portrait {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-portrait img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; object-position: center 22%; }
.hero-portrait figcaption {
  padding: 15px 18px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-soft);
  border-top: 3px solid var(--gold);
}

/* ---------- Credentials strip ------------------------------------------ */

.creds { background: var(--navy-900); color: var(--white); }
.creds-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.cred {
  padding: 26px clamp(18px, 2.4vw, 32px);
  border-right: 1px solid rgba(255, 255, 255, .14);
}
.cred:first-child { padding-left: 0; }
.cred:last-child { border-right: 0; }
.cred b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.3vw, 26px);
  font-weight: 600;
  letter-spacing: -.01em;
}
.cred span { display: block; margin-top: 5px; font-size: 13.5px; color: #a9c3d2; }

/* ---------- About ------------------------------------------------------- */

#about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: minmax(240px, .62fr) 1.38fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.about-media { position: sticky; top: 104px; }

.portrait-card {
  margin: 0;
  background: var(--sand);
  border: 3px solid #000;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transform: rotate(1deg);
}
.portrait-card img { aspect-ratio: 1 / 1; object-fit: cover; }
.portrait-card figcaption { padding: 16px 18px; border-top: 3px solid #000; }
.portrait-card figcaption b { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--navy-900); }
.portrait-card figcaption span { display: block; margin-top: 3px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-600); font-weight: 600; }

.about-copy h2 { font-size: clamp(30px, 4vw, 47px); color: var(--navy-900); margin-bottom: 26px; }

.check-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 13px; }
.check-list li {
  position: relative;
  padding-left: 36px;
  font-size: 16px;
  color: var(--ink);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--water-soft);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 9px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--blue-600);
  border-bottom: 2px solid var(--blue-600);
  transform: rotate(-45deg);
}

/* ---------- Values band ------------------------------------------------- */

.values-band { background: var(--sand-deep); border-block: 1px solid var(--line); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 42px); }
.value svg {
  width: 30px; height: 30px;
  fill: none;
  stroke: var(--blue-600);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.value h3 {
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--navy-900);
  margin: 14px 0 8px;
}
.value p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }

/* ---------- Priorities -------------------------------------------------- */

.priorities { background: var(--white); }

.priority-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(30px, 5vw, 66px);
}
.priority {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.priority-num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.priority h3 { font-size: 22px; color: var(--navy-900); margin-bottom: 10px; }
.priority p { margin: 0; font-size: 15.5px; color: var(--ink-soft); }

/* ---------- Eaton Fire -------------------------------------------------- */

.fire { background: var(--sand); }

.fire-intro {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  margin-bottom: clamp(34px, 5vw, 54px);
}
.fire-intro h2 { font-size: clamp(29px, 3.9vw, 46px); color: var(--navy-900); }

.fire-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 26px); }
.fire-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 26px);
  margin-top: clamp(16px, 2.4vw, 26px);
}

.fire-photo {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.fire-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fire-pair .fire-photo img { aspect-ratio: 3 / 2; }
.fire-photo figcaption {
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}
.tag {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--navy-900);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  vertical-align: 1px;
}

/* ---------- Division 2 -------------------------------------------------- */

.division {
  background:
    radial-gradient(90% 70% at 88% 6%, #10476d 0%, transparent 60%),
    var(--navy-900);
  color: var(--white);
}
.division-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: start;
}
.division h2 { font-size: clamp(30px, 4vw, 47px); color: var(--white); }
.division-lead { color: #c6dbe6; max-width: 52ch; margin: 20px 0 28px; }

.agencies { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 26px; }
.agencies div {
  padding: 17px 18px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius);
}
.agencies span {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
}
.agencies small { display: block; margin-top: 3px; font-size: 12.5px; color: #a9c3d2; }

.text-link {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 3px;
}
.text-link:hover { color: var(--water-soft); }
.text-link.on-light { color: var(--blue-600); }
.text-link.on-light:hover { color: var(--navy-800); }

.map-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.map-card figcaption {
  padding: 13px 16px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

/* ---------- Pull quote -------------------------------------------------- */

.pullquote {
  background: var(--water-soft);
  padding-block: clamp(56px, 7vw, 96px);
  text-align: center;
}
.pullquote blockquote {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(24px, 3.5vw, 42px);
  line-height: 1.2;
  color: var(--navy-900);
  text-wrap: balance;
}
.pullquote blockquote::before { content: "\201C"; }
.pullquote blockquote::after { content: "\201D"; }
.pullquote cite {
  display: block;
  margin-top: 22px;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-600);
}

/* ---------- Endorsements ------------------------------------------------ */

.endorsements { background: var(--white); }
.endorsements .section-head { margin-left: auto; margin-right: auto; text-align: center; }
.endorsements .section-sub { margin-left: auto; margin-right: auto; }

.endorsement-list {
  list-style: none;
  max-width: 640px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}
.endorsement-list li { padding: 16px 0; border-top: 1px solid var(--line); }
.endorsement-list li:first-child { border-top: 0; padding-top: 0; }
.endorsement-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--navy-900);
}
.endorsement-list span {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.endorsement-quoted p {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.4;
  color: var(--navy-800);
  margin: 0 0 12px;
}
.endorser-photo {
  display: block;
  width: 100px;
  height: 100px;
  margin: 0 auto 16px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--line);
}

/* Featured organizational endorsement -- pinned above the endorsement list.
   The supplied Beautiful Altadena banner is a full-color illustration with its own cream
   sky and dark green footer band, so it needs no panel, card, or backing behind it. It
   shows edge to edge at up to 720px wide, with a slight rounding to match the page's
   corner radius. */
.endorsement-featured {
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 66px);
  text-align: center;
}

.featured-lead {
  margin: 0 0 clamp(8px, 1.2vw, 14px);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.featured-org {
  display: block;
  margin: 0 auto;
}
.org-logo-img {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius);
}

/* ---------- Endorsement submission -------------------------------------- */

.endorse-invite {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-top: clamp(48px, 6vw, 84px);
  padding-top: clamp(40px, 5vw, 66px);
  border-top: 2px solid var(--gold);
  scroll-margin-top: 84px;
}
.endorse-copy h3 {
  font-size: clamp(27px, 3.5vw, 40px);
  color: var(--navy-900);
  margin-bottom: 16px;
}
.endorse-copy > p { color: var(--ink-soft); margin: 0; }

.endorse-steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 20px; }
.endorse-steps li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.endorse-step-num {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1.2;
  padding-top: 1px;
}
.endorse-steps strong { display: block; font-size: 15px; color: var(--navy-900); }
.endorse-steps p { margin: 3px 0 0; font-size: 15px; color: var(--ink-soft); }

.field-help { margin: 2px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.field input[type="file"] { padding: 10px 12px; font-size: 14.5px; background: var(--sand); }
.field input[type="file"]::file-selector-button {
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  margin-right: 12px;
  padding: 7px 12px;
  color: var(--navy-800);
  background: var(--white);
  border: 1px solid #c3cfd8;
  border-radius: var(--radius);
  cursor: pointer;
}

.consent-field {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px 18px;
  background: rgba(47, 151, 184, .07);
  border-left: 3px solid var(--water);
}
.consent-field input {
  width: 18px; height: 18px;
  margin: 2px 0 0;
  accent-color: var(--blue-600);
  flex: none;
}
.consent-field label {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.consent-field input:focus-visible { outline: 2px solid var(--water); outline-offset: 2px; }

/* ---------- Support form ------------------------------------------------ */

.support { background: var(--sand-deep); border-top: 1px solid var(--line); }
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.support-copy h2 { font-size: clamp(29px, 3.9vw, 46px); color: var(--navy-900); margin-bottom: 18px; }
.support-copy p { color: var(--ink-soft); margin: 0; }
.support-points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.support-points li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--ink-soft);
}
.support-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
}

.signup {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.field { display: grid; gap: 6px; }
.field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy-800);
}
.field label span { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--ink-soft); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 13px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #c3cfd8;
  border-radius: var(--radius);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--water);
  box-shadow: 0 0 0 3px rgba(47, 151, 184, .18);
  outline: none;
}
.field input:user-invalid { border-color: #b4472f; }

.signup .btn { width: 100%; }
.form-fine { margin: 0; font-size: 12.5px; color: var(--ink-soft); text-align: center; }
.hp-field { position: absolute; left: -9999px; }

/* ---------- Contact ----------------------------------------------------- */

.contact {
  background: var(--blue-600);
  color: var(--white);
  padding-block: clamp(46px, 6vw, 72px);
}
.contact-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.contact h2 { font-size: clamp(27px, 3.4vw, 40px); color: var(--white); }
.contact-email { margin: 14px 0 0; color: #dcedf5; }
.contact-email a { font-weight: 700; color: var(--white); text-underline-offset: 4px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ------------------------------------------------------ */

.site-footer { background: var(--navy-900); color: #b7cddb; padding-block: 46px 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 72px);
}
.footer-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
}
.footer-tag { margin: 8px 0 18px; font-size: 14px; color: #a9c3d2; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-nav a { font-size: 13.5px; font-weight: 600; color: var(--white); text-decoration: none; }
.footer-nav a:hover { color: var(--water); }
.disclaimer { font-size: 12.5px; line-height: 1.6; }
.disclaimer p { margin: 0 0 9px; }
.disclaimer strong { color: #d7e6ef; }

/* ---------- Thank-you page --------------------------------------------- */

.thanks {
  min-height: 62vh;
  display: grid;
  place-items: center;
  padding-block: clamp(60px, 9vw, 120px);
  background:
    radial-gradient(110% 80% at 76% 10%, #10476d 0%, transparent 58%),
    linear-gradient(168deg, #0a3350 0%, #072536 100%);
  color: var(--white);
  text-align: center;
}
.thanks h1 { font-size: clamp(34px, 5.4vw, 62px); margin-bottom: 18px; }
.thanks p { max-width: 56ch; margin: 0 auto 12px; color: #cfe0ea; }
.thanks p a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.thanks .btn { margin-top: 26px; }
.thanks-mark {
  width: 54px; height: 54px;
  margin: 0 auto 26px;
  color: var(--gold);
}

/* ---------- Motion ------------------------------------------------------ */

.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, .68, .36, 1);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Responsive -------------------------------------------------- */

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-portrait { max-width: 460px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { position: static; }
  .portrait-card { max-width: 340px; }
  .division-grid { grid-template-columns: 1fr; }
  .map-card { max-width: 760px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .endorse-invite { grid-template-columns: 1fr; }
  .fire-intro { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .masthead nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 22px;
    background: var(--sand);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .masthead nav.is-open { display: flex; }
  .masthead nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .masthead nav a:hover { border-bottom-color: var(--line); }
  .nav-cta { margin-top: 14px; text-align: center; }

  .creds-grid { grid-template-columns: 1fr; }
  .cred { padding-inline: 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .cred:last-child { border-bottom: 0; }

  .priority-list { grid-template-columns: 1fr; }
  .fire-strip { grid-template-columns: 1fr 1fr; }
  .fire-strip .fire-photo:last-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .portrait-card { transform: none; max-width: none; }
  .values-grid { grid-template-columns: 1fr; gap: 26px; }
  .agencies { grid-template-columns: 1fr; }
  .fire-pair, .fire-strip { grid-template-columns: 1fr; }
  .fire-strip .fire-photo:last-child { grid-column: auto; }
  .hero-actions .btn, .contact-actions .btn { width: 100%; }
  .hero-actions .btn-sm { width: auto; flex: 1 1 44%; }
  .contact-actions { width: 100%; }
}
