/* Virginia Fire Museum
   Shared stylesheet for all five pages.
   Design idea: the engine door. Gold-leaf lettering with a painted shade,
   gold pinstriping, soot black and engine red panels, tread plate underfoot. */

/* Fonts are served from this site (latin subset, variable weight). */
@font-face {
  font-family: "Big Shoulders Display";
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url("fonts/big-shoulders-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Libre Franklin";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/libre-franklin-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --red: #C8102E;
  --red-deep: #9C0C23;
  --gold: #D4A017;
  --gold-hi: #F3D57A;
  --gold-lo: #A97A0A;
  --soot: #111111;
  --soot-2: #1D1C1A;
  --soot-3: #2B2A27;
  --smoke: #F4F1EA;
  --smoke-2: #E7E2D6;
  --chrome: #B9BDC1;
  --chrome-dk: #5F6468;
  --ink: #1B1A18;

  --display: "Big Shoulders Display", "Oswald", "Haettenschweiler", "Impact", "Arial Narrow", sans-serif;
  --body: "Libre Franklin", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --band: clamp(3.5rem, 7vw, 6.5rem);
  --bar: 72px;

  --tread: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cg fill='%23ffffff' fill-opacity='.045'%3E%3Crect x='3' y='5.5' width='10' height='3' rx='1.5' transform='rotate(45 8 7)'/%3E%3Crect x='17' y='19.5' width='10' height='3' rx='1.5' transform='rotate(-45 22 21)'/%3E%3C/g%3E%3C/svg%3E");
  --hatch: repeating-linear-gradient(135deg, rgba(17,17,17,.07) 0 2px, transparent 2px 14px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 1.5rem); }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--smoke);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; max-width: 62ch; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .95; letter-spacing: .01em; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
h1 { font-size: clamp(3rem, 7.2vw, 6.25rem); font-weight: 900; }
h2 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1; letter-spacing: .02em; }
h4 { font-size: 1.25rem; letter-spacing: .03em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.band--smoke :focus-visible, .band--paper :focus-visible { outline-color: var(--red); }

.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--soot); padding: .75rem 1rem; z-index: 100; font-weight: 700; }
.skip:focus { left: 0; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Gold-leaf lettering with a painted shade, as on an engine door */
.leaf { color: var(--gold); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .leaf {
    background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 55%, var(--gold-lo) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(.04em .045em 0 var(--shade, var(--red)));
    padding-bottom: .06em;
  }
}
.shade-black { --shade: #000; }

/* Pinstripe: thick line, thin line, the way a striper finishes a panel */
.stripe { height: 9px; border-top: 4px solid var(--gold); border-bottom: 1px solid var(--gold); }
.stripe--short { width: 96px; margin: 1.1rem 0 1.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  padding: .85rem 1.5rem .8rem;
  border: 2px solid var(--red);
  border-radius: 3px;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  box-shadow: 4px 4px 0 #000;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 #000; }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--soot); }
.btn--gold:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
.btn--line { background: transparent; border-color: currentColor; color: inherit; box-shadow: none; }
.btn--line:hover { background: rgba(255,255,255,.12); border-color: currentColor; }
.band--smoke .btn--line:hover, .band--paper .btn--line:hover { background: rgba(17,17,17,.08); }
.band--red .btn { box-shadow: 4px 4px 0 rgba(0,0,0,.55); }
.btn--sm { font-size: 1.05rem; padding: .6rem 1.1rem .55rem; box-shadow: none; }
.btns { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; }
.btns--center { justify-content: center; }

.textlink { font-weight: 600; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.band--soot .textlink, .site-footer .textlink { text-decoration-color: var(--gold); }
.textlink:hover { color: var(--red); }
.band--soot .textlink:hover, .site-footer .textlink:hover, .band--red .textlink:hover { color: var(--gold-hi); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--soot);
  color: #fff;
  border-bottom: 4px solid var(--gold);
  box-shadow: 0 5px 0 var(--soot), 0 6px 0 var(--gold);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; height: var(--bar); }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; align-self: flex-start; }
.brand img { width: 98px; height: 98px; object-fit: contain; margin-top: 6px; filter: drop-shadow(0 3px 6px rgba(0,0,0,.6)); }
.brand span { font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: .95; text-transform: uppercase; letter-spacing: .04em; align-self: center; margin-top: -26px; }
.brand span b { display: block; color: var(--gold); font-weight: 800; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.site-nav ul { display: flex; gap: clamp(1rem, 2.2vw, 2rem); list-style: none; margin: 0; padding: 0; }
.site-nav li a {
  font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; padding: .5rem 0; border-bottom: 3px solid transparent;
}
.site-nav li a:hover { border-bottom-color: var(--chrome-dk); }
.site-nav li a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }
.nav-toggle { display: none; }

@media (max-width: 940px) {
  :root { --bar: 64px; }
  .brand img { width: 80px; height: 80px; }
  .brand span { margin-top: -18px; font-size: 1.15rem; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: .6rem; margin-left: auto;
    background: none; border: 2px solid var(--gold); border-radius: 3px; color: #fff;
    font-family: var(--display); font-weight: 800; font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase;
    padding: .5rem .8rem; cursor: pointer;
  }
  .nav-toggle i { width: 20px; height: 2px; background: var(--gold); box-shadow: 0 -6px 0 var(--gold), 0 6px 0 var(--gold); }
  .site-header .wrap { flex-wrap: wrap; height: auto; min-height: var(--bar); }
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 1.75rem 0 1.25rem; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li a { display: block; font-size: 1.6rem; padding: .7rem 0; border-bottom: 1px solid var(--soot-3); }
  .site-nav li a[aria-current="page"] { border-bottom-color: var(--soot-3); }
  .site-nav .btn { margin-top: 1.25rem; text-align: center; font-size: 1.3rem; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
  html:not(.js) .nav-toggle { display: none; }
}

/* ---------- Bands ---------- */
.band { padding-block: var(--band); }
.band--smoke { background: var(--smoke); }
.band--paper { background: #fff; }
.band--soot { background: var(--soot) var(--tread); color: #fff; }
.band--red { background: var(--red); color: #fff; }
.band--red .leaf { --shade: #000; background-image: linear-gradient(180deg, #FBE9A9, #F1C54B); }
.band--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.band--smoke h2, .band--paper h2 { color: var(--soot); }
.band--smoke h2 em, .band--paper h2 em { font-style: normal; color: var(--red); }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; }
.head { margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.head p { margin-top: 1rem; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Page title (inner pages) ---------- */
.page-title { background: var(--soot) var(--tread); color: #fff; padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.page-title p { margin-top: 1.25rem; color: #E9E5DB; }

/* ---------- Photos and placeholders ---------- */
.photo { margin: 0; position: relative; background: var(--soot); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--bw img { filter: grayscale(1) contrast(1.08); }
.photo--framed { border: 4px solid var(--gold); outline: 1px solid var(--gold); outline-offset: 5px; margin: 6px; }
.band--smoke .photo--framed, .band--paper .photo--framed { border-color: var(--soot); outline-color: var(--red); }
.photo figcaption { font-size: .85rem; padding: .6rem .8rem; background: var(--soot); color: var(--chrome); }

/* A placeholder is meant to be seen for what it is. */
.ph {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem;
  aspect-ratio: 4 / 3;
  padding: 1.25rem;
  text-align: center;
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--soot);
  background: var(--hatch), linear-gradient(160deg, #D5D8DA, var(--chrome));
  border: 2px dashed var(--chrome-dk);
}
.ph span { font-family: var(--display); font-weight: 800; font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; background: var(--soot); color: var(--gold); padding: .3rem .6rem .25rem; line-height: 1; }
.ph b { font-weight: 600; font-size: .95rem; line-height: 1.3; max-width: 28ch; }
.ph--wide { aspect-ratio: 16 / 9; }
.ph--tall { aspect-ratio: 3 / 4; }
.ph--square { aspect-ratio: 1; }
.ph--logo { aspect-ratio: 3 / 2; background: var(--hatch), #fff; }
.ph--map { aspect-ratio: auto; min-height: 340px; height: 100%; }

/* ---------- Home hero ---------- */
/* The photo stays clear so the water arc reads. The lettering runs along
   the bottom edge, the way a department name runs along the body of a rig. */
.hero { background: var(--soot); color: #fff; }
.hero__pic { position: relative; height: min(80vh, 58vw, 1000px); min-height: 440px; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero__slide { position: absolute; inset: 0; opacity: 0; }
.hero__slide.is-active { opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .hero__slide { transition: opacity 1.2s ease; } }
.hero__ctrls { position: absolute; z-index: 2; top: 1rem; right: clamp(1rem, 3vw, 2rem); display: flex; gap: .5rem; }
.hero__ctrls[hidden] { display: none; }
.hero__btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 2px solid rgba(255,255,255,.85); border-radius: 50%; background: rgba(17,17,17,.72); color: #fff; cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
.hero__btn:hover { background: var(--red); border-color: #fff; }
.hero__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.hero__btn .i-play { fill: currentColor; stroke: none; display: none; }
.is-paused .hero__btn .i-play { display: inline; }
.is-paused .hero__btn .i-pause { display: none; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.hero__pic::after { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; background: linear-gradient(180deg, rgba(17,17,17,0), rgba(17,17,17,.82) 70%, var(--soot)); }
.hero__copy { position: relative; margin-top: -5.25rem; padding-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.hero h1 { font-size: min(5.4vw, 4.8rem); }
.hero__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2.5rem; margin-top: 1.1rem; }
.hero__sub { font-size: clamp(1.15rem, 1.7vw, 1.45rem); font-weight: 500; margin: 0; }
.hero .btns { margin-top: 0; }
@media (max-width: 820px) {
  .hero__pic { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .hero__img { object-position: 50% 50%; }
  .hero__copy { margin-top: -2.25rem; }
  .hero h1 { font-size: clamp(2.9rem, 12.5vw, 4.5rem); white-space: normal; }
  .hero h1 span { display: block; }
}

/* Load-in: the lettering goes on, then the shade. One moment, then stillness. */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero__copy > :nth-child(2) { animation-delay: .12s; }
  .hero__copy > :nth-child(3) { animation-delay: .22s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* ---------- Announcement ---------- */
.announce { background: var(--red); color: #fff; border-block: 4px solid var(--gold); }
.announce .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 2.5rem; padding-block: 1.6rem; }
.announce h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 900; }
.announce p { margin: 0; font-size: 1.15rem; font-weight: 500; flex: 1 1 18rem; max-width: none; }

/* ---------- Stats ---------- */
/* Columns size to their figures, so a long number is never cut off. */
.stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 1.75rem clamp(1rem, 3vw, 3rem); margin: 0; }
.stats div { display: flex; flex-direction: column; padding-left: clamp(1rem, 3vw, 3rem); border-left: 1px solid var(--soot-3); }
.stats div:first-child { border-left: 0; padding-left: 0; }
.stats dt { font-family: var(--display); font-weight: 900; font-size: clamp(2.1rem, 5.2vw, 4.75rem); line-height: .9; white-space: nowrap; width: max-content; padding-right: .06em; }
.stats dd { margin: .5rem 0 0; font-weight: 600; font-size: 1.05rem; color: #E9E5DB; }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; }
  .stats div { padding-left: 1rem; }
  .stats div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stats dt { font-size: clamp(2rem, 10.5vw, 3.5rem); }
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
@media (max-width: 940px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid { grid-template-columns: minmax(0, 1fr); } }

.rig { background: #fff; border: 2px solid var(--soot); display: flex; flex-direction: column; position: relative; }
.rig__body { padding: 1.25rem 1.25rem 1.4rem; border-top: 4px solid var(--red); display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.rig__body p { font-size: .98rem; margin: 0; }
.rig dl { margin: .35rem 0 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .3rem 1rem; font-size: .95rem; }
.rig dt { color: var(--chrome-dk); font-weight: 600; }
.rig dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.rig[hidden] { display: none; }

.status { align-self: flex-start; font-family: var(--display); font-weight: 800; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1; padding: .35rem .6rem .3rem; border: 2px solid var(--soot); }
.status--runs { background: var(--red); border-color: var(--red); color: #fff; }
.status--display { background: var(--gold); border-color: var(--gold); color: var(--soot); }
.status--restoration { background: var(--hatch), #fff; color: var(--soot); }

.filters { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: 1.75rem; }
.filters button {
  font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1;
  padding: .65rem 1rem .6rem; background: transparent; color: var(--soot); border: 2px solid var(--soot); border-radius: 3px; cursor: pointer;
}
.filters button:hover { background: var(--smoke-2); }
.filters button[aria-pressed="true"] { background: var(--soot); color: var(--gold); }
.filters p { margin: 0 0 0 auto; font-size: .95rem; font-weight: 600; color: var(--chrome-dk); }

/* Panel cards on dark or red bands */
.panel { border: 2px solid var(--gold); outline: 1px solid var(--gold); outline-offset: -8px; padding: 2rem 1.75rem; background: rgba(0,0,0,.28); }
.panel h3 { color: var(--gold); margin-bottom: .75rem; }
.panel p { font-size: 1rem; }
.band--smoke .panel, .band--paper .panel { background: var(--soot); color: #fff; }

/* ---------- Callout ---------- */
.callout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: center; }
.callout h2 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 900; }
.callout .btns { margin-top: 1.5rem; }
@media (max-width: 820px) { .callout { grid-template-columns: 1fr; } }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: none; }
.timeline li { position: relative; padding: 2.75rem 1.5rem 0 0; }
.timeline li::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 9px; border-top: 4px solid var(--gold); border-bottom: 1px solid var(--gold); }
.timeline li::after { content: ""; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--red); border: 4px solid var(--gold); box-shadow: 0 0 0 4px var(--soot); }
.timeline li:last-child::after { background: var(--gold); border-color: var(--red); }
.timeline time, .timeline .when { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: .95; text-transform: uppercase; }
.timeline h3 { margin: .6rem 0 .5rem; color: #fff; }
.timeline p { font-size: 1rem; color: #E9E5DB; }
@media (max-width: 1000px) {
  .timeline { grid-template-columns: minmax(0, 1fr); }
  .timeline li { padding: 0 0 2.5rem 3rem; }
  .timeline li::before { left: 9px; right: auto; top: 0; bottom: 0; width: 9px; height: auto; border: 0; border-left: 4px solid var(--gold); border-right: 1px solid var(--gold); }
  .timeline li:last-child { padding-bottom: 0; }
}

/* ---------- Crew rows (Our Story) ---------- */
.crew { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.75rem, 5vw, 4.5rem); align-items: center; }
.crew + .crew { margin-top: clamp(3rem, 6vw, 5rem); }
.crew:nth-of-type(even) .crew__pic { order: 2; }
@media (max-width: 820px) { .crew { grid-template-columns: 1fr; } .crew:nth-of-type(even) .crew__pic { order: 0; } }

.logo-wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
@media (max-width: 940px) { .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Shop strip and gallery ---------- */
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.strip .photo { aspect-ratio: 1; border: 2px solid var(--gold); }
@media (max-width: 760px) { .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.masonry { columns: 4 150px; column-gap: 1rem; }
.masonry > * { break-inside: avoid; margin: 0 0 1rem; }
.masonry .photo img { height: auto; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.25rem; min-width: 0; }
.field { min-width: 0; }
.form--card { background: #fff; border: 2px solid var(--soot); border-top: 8px solid var(--red); padding: clamp(1.5rem, 3vw, 2.5rem); }
.field { display: grid; gap: .4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
label, legend { font-weight: 700; font-size: .98rem; padding: 0; }
.opt { font-weight: 400; color: var(--chrome-dk); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 2px solid var(--soot); border-radius: 3px; padding: .7rem .85rem; min-height: 3rem;
}
textarea { min-height: 9rem; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--soot); }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: .5rem; }
.choices { display: flex; flex-wrap: wrap; gap: .6rem 1.75rem; }
.check { display: flex; align-items: flex-start; gap: .6rem; font-weight: 500; }
.check input { width: 1.25rem; height: 1.25rem; margin: .15rem 0 0; accent-color: var(--red); flex: none; }
.form .btn { justify-self: start; }
.form-status { margin: 0; font-weight: 600; padding: .85rem 1rem; border-left: 4px solid var(--gold); background: var(--smoke); }
.form-status:empty { display: none; }
.note { border: 2px solid var(--soot); background: var(--soot); color: #fff; padding: 1.5rem; }
.note strong { color: var(--gold); }

.signup { display: flex; flex-wrap: wrap; gap: .75rem; align-items: stretch; }
.signup input { flex: 1 1 15rem; }
.signup .btn { box-shadow: none; }
.signup + .form-status { margin-top: .75rem; }

/* ---------- Contact cards ---------- */
.contact-card { background: #fff; border: 2px solid var(--soot); border-left: 10px solid var(--red); padding: 1.75rem; }
.contact-card:nth-child(2) { border-left-color: var(--gold); }
.contact-card h3 { margin-bottom: .6rem; }
.contact-card a { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: .02em; text-decoration-color: var(--red); text-underline-offset: 5px; word-break: break-word; }
address { font-style: normal; }
.addr { font-family: var(--display); font-weight: 800; font-size: clamp(1.75rem, 3vw, 2.4rem); line-height: 1.05; text-transform: uppercase; letter-spacing: .02em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--soot) var(--tread); color: #E9E5DB; border-top: 4px solid var(--gold); box-shadow: inset 0 5px 0 var(--soot), inset 0 6px 0 var(--gold); padding: clamp(3rem, 6vw, 4.5rem) 0 1.75rem; }
.site-footer .wrap > div:first-child { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.3fr); gap: 2.5rem clamp(2rem, 5vw, 4.5rem); }
.site-footer img { width: 150px; height: auto; }
.site-footer h2 { font-size: 1.5rem; color: var(--gold); margin-bottom: .9rem; letter-spacing: .04em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer address { margin-bottom: 1rem; }
.site-footer label { display: block; margin-bottom: .5rem; font-weight: 500; }
.site-footer input { border-color: var(--chrome); }
.site-footer .form-status { background: var(--soot-2); color: #fff; }
.fineprint { margin-top: 2.75rem; padding-top: 1.25rem; border-top: 1px solid var(--soot-3); display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; font-size: .92rem; }
.fineprint p { margin: 0; max-width: none; }
.fineprint strong { color: var(--gold); }
@media (max-width: 860px) { .site-footer .wrap > div:first-child { grid-template-columns: 1fr; } .site-footer img { width: 120px; } }

/* ---------- Very narrow phones ---------- */
@media (max-width: 380px) {
  .brand span { display: none; }
  h1 { font-size: 2.6rem; }
  .hero h1 { font-size: 2.6rem; }
  .ph span { font-size: .9rem; letter-spacing: .04em; }
}
.split > *, .callout > *, .crew > * { min-width: 0; }
.addr, .contact-card a { overflow-wrap: anywhere; }

/* ---------- Round 2: real photographs ---------- */
.rig__pic { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soot); border-bottom: 2px solid var(--soot); }
.rig__pic img { width: 100%; height: 100%; object-fit: cover; }
.rig__body .status { order: -1; }
.rig__sub { font-weight: 600; }
.photo--43 { aspect-ratio: 4 / 3; }
.photo--45 { aspect-ratio: 4 / 5; }
.photo--framed figcaption { background: var(--soot); color: #E9E5DB; }
.statement { max-width: 46rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.tags { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1; padding: .45rem .7rem .4rem; border: 1px solid var(--gold); color: var(--gold-hi); }
.soon { display: inline-block; font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1; background: var(--soot); color: var(--gold); padding: .5rem .8rem .45rem; margin-top: 1rem; }

/* ---------- Round 3: grand opening, news, mail forms, tap targets ---------- */
.pill { display: inline-block; font-family: var(--display); font-weight: 800; font-size: clamp(1.05rem, 1.6vw, 1.3rem); letter-spacing: .05em; text-transform: uppercase; line-height: 1.1; text-decoration: none; color: #fff; background: var(--red); border: 2px solid var(--gold); padding: .6rem .9rem .5rem; margin-bottom: .9rem; min-height: 44px; }
.pill:hover { background: var(--red-deep); }
.hero__copy { margin-top: -8.5rem; }
@media (max-width: 820px) { .hero__copy { margin-top: -2.25rem; } }

.facts { margin: 1.5rem 0 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .9rem 1.5rem; align-items: baseline; }
.facts dt { font-weight: 600; color: var(--chrome); }
.facts dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.05; text-transform: uppercase; letter-spacing: .02em; }
@media (max-width: 480px) { .facts { grid-template-columns: minmax(0, 1fr); gap: .15rem; } .facts dd { margin-bottom: .9rem; } }

.latest { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.latest li { border-top: 4px solid var(--gold); padding-top: 1.1rem; position: relative; }
.latest li::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 1px solid var(--gold); }
.latest time, .post time { display: block; font-weight: 600; font-size: .95rem; color: var(--gold-hi); margin-bottom: .5rem; }
.latest h3 a { text-decoration: none; }
.latest h3 a:hover { color: var(--gold-hi); }
.latest p { margin-top: .6rem; font-size: 1rem; color: #E9E5DB; }
@media (max-width: 820px) { .latest { grid-template-columns: minmax(0, 1fr); } }

.feed { list-style: none; margin: 0; padding: 0; }
.post { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 1.5rem clamp(1.5rem, 4vw, 3.5rem); align-items: start; padding-block: clamp(1.75rem, 3.5vw, 2.75rem); border-top: 2px solid var(--soot); }
.post:first-child { border-top: 0; padding-top: 0; }
.post--plain { grid-template-columns: minmax(0, 1fr); }
.post time { color: var(--red); }
.post h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); margin-bottom: .75rem; }
.post .photo { aspect-ratio: 4 / 3; border: 2px solid var(--soot); }
.post--lead { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.post--lead h2 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); }
.post--lead .photo { aspect-ratio: 3 / 2; }
@media (max-width: 760px) { .post, .post--lead { grid-template-columns: minmax(0, 1fr); } .post .photo { order: -1; } }

.form-hint { margin: 0; font-size: .92rem; color: var(--chrome-dk); }
.site-footer .form-hint { color: var(--chrome); margin-top: .6rem; }
.form-status a { text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Tap targets: nothing a thumb has to hit is under 44px tall. */
.btn, .filters button, .nav-toggle { min-height: 44px; }
.btn { display: inline-flex; align-items: center; justify-content: center; }
.site-footer ul { gap: 0; }
.site-footer ul a, .fact-link { display: inline-flex; align-items: center; min-height: 44px; }
.check { min-height: 44px; align-items: center; }
.check input { margin: 0; }
.contact-card a { display: inline-flex; align-items: center; min-height: 44px; }
.brand { min-height: 44px; }

/* Round 4: map, leadership, financials, supporters */
.map { display: block; width: 100%; min-height: 340px; height: 100%; border: 3px solid var(--soot); background: #ddd; }
.person h3 { margin-top: 1rem; }
.person .role { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--red); margin-top: .25rem; }
.bio-ph { margin-top: .6rem; font-style: italic; color: #5a564e; }

/* Wrapping: no orphan words */
h1, h2, h3, .lede, .page-title p, .head p, .announce p, figcaption { text-wrap: balance; }
p, li, dd, address { text-wrap: pretty; }
.sponsor a, .sponsor { display: flex; flex-direction: column; align-items: center; gap: .6rem; text-align: center; text-decoration: none; color: inherit; }
.sponsor img { box-sizing: border-box; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; padding: .75rem; border: 1px solid var(--smoke-2); }
.sponsor a:hover img, .sponsor a:focus-visible img { border-color: var(--red); }
.sponsor span { font-size: .85rem; font-weight: 600; line-height: 1.25; }
.sponsor a:hover span { color: var(--red); text-decoration: underline; }
.facts--plain dt { color: #5a564e; }
.facts--plain dd { font-family: inherit; text-transform: none; letter-spacing: 0; font-size: 1.05rem; font-weight: 600; line-height: 1.4; }
.page-title--photo { position: relative; overflow: hidden; }
.page-title--photo::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; aspect-ratio: 3 / 2; background: url("img/our-story-banner.jpg") center / contain no-repeat; background-image: image-set(url("img/r/our-story-banner-1920.avif") type("image/avif"), url("img/our-story-banner.jpg") type("image/jpeg")); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%); mask-image: linear-gradient(90deg, transparent 0%, #000 40%); opacity: .75; pointer-events: none; }
.page-title--photo .wrap { position: relative; z-index: 1; }
@media (max-width: 700px) { .page-title--photo::after { opacity: .3; } }

/* Board strip + initials avatars (swap for headshots when they arrive) */
.avatar { display: grid; place-items: center; width: 96px; aspect-ratio: 1; border-radius: 50%; background: var(--soot) var(--tread); border: 3px solid var(--gold); box-shadow: 0 0 0 3px var(--red); color: var(--gold); font-family: var(--display); font-weight: 800; font-size: 2rem; letter-spacing: .04em; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--lg { width: min(220px, 70%); font-size: 4.5rem; margin: 0 auto; }
.person { text-align: center; }
.board-strip { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
.board-strip a { display: flex; flex-direction: column; align-items: center; gap: .35rem; text-align: center; text-decoration: none; color: inherit; padding: .5rem; border-radius: 6px; }
.board-strip .avatar { margin-bottom: .5rem; transition: transform .2s ease, box-shadow .2s ease; }
.board-strip a:hover .avatar, .board-strip a:focus-visible .avatar { transform: translateY(-3px); box-shadow: 0 0 0 3px var(--red), 0 8px 18px rgba(0,0,0,.25); }
.board-strip b { font-weight: 700; line-height: 1.2; }
.board-strip a:hover b { color: var(--red); text-decoration: underline; }
.board-strip small { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--red); font-size: .85rem; }
@media (max-width: 760px) { .board-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 420px) { .board-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .avatar { width: 80px; font-size: 1.7rem; } }
@media (prefers-reduced-motion: reduce) { .board-strip .avatar { transition: none; } }
/* Center a short last row (5 people = 3 + 2) */
.grid.people, .board-strip { display: flex; flex-wrap: wrap; justify-content: center; }
.grid.people > li { flex: 0 1 calc((100% - 2 * clamp(1.25rem, 2.5vw, 2rem)) / 3); }
@media (max-width: 940px) { .grid.people > li { flex-basis: calc((100% - clamp(1.25rem, 2.5vw, 2rem)) / 2); } }
@media (max-width: 600px) { .grid.people > li { flex-basis: 100%; } }
.board-strip > li { flex: 0 1 calc((100% - 4 * 1.5rem) / 5); }
@media (max-width: 760px) { .board-strip > li { flex-basis: calc((100% - 2 * 1.5rem) / 3); } }
@media (max-width: 420px) { .board-strip > li { flex-basis: calc((100% - 1.5rem) / 2); } }

/* WCAG 2.5.8: native radios and checkboxes at the 24px minimum target */
input[type="radio"], input[type="checkbox"] { width: 24px; height: 24px; }
picture { display: contents; }
/* Donate + privacy pages */
.give [hidden] { display: none; }
.give h2 { margin: 0; }
.give__note:empty { display: none; }
.give__note { margin: 0; font-weight: 600; padding: .85rem 1rem; border-left: 4px solid var(--gold); background: var(--smoke); }
.give__error { display: none; margin: 0; font-weight: 600; color: var(--red); }
.give input:is(:user-invalid, [aria-invalid="true"]) { border-color: var(--red); outline: 2px solid var(--red); outline-offset: 0; }
.give input:is(:user-invalid, [aria-invalid="true"]) + .give__error { display: block; }
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.75rem; }
.prose p { margin-top: .9rem; }
.prose .note { margin-bottom: 1rem; }
