/* THOR — Heartland Organization of Rocketry
   Light sky and white, with gold, orange, red, and green accents.
   Barlow and Oswald are SIL OFL. */

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/barlow-400.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow-500.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-600.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-700.woff2") format("woff2");
}

@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/oswald-latin.woff2") format("woff2");
}

:root {
  --ink: #0c2340;
  --charcoal: #1463c9;
  --brown: #d0122d;
  --bark: #c2410c;
  --olive: #0b7a3b;
  --olive-deep: #0b7a3b;
  --sand: #eef6ff;
  --sand-deep: #e3f2fd;
  --cream: #ffffff;
  --khaki: #fff4b0;
  --rust: #ff7a1a;
  --rust-deep: #c2410c;
  --muted: #1e4d7b;
  --sky: #1463c9;
  --line: rgba(12, 35, 64, 0.12);
  --display: "Oswald", "Arial Narrow", "Impact", sans-serif;
  --body: "Barlow", "Segoe UI", "Helvetica Neue", sans-serif;
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--sand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cpath d='M-10 50 C40 20 90 80 190 40' fill='none' stroke='%231463c9' stroke-opacity='0.14' stroke-width='1'/%3E%3Cpath d='M-10 100 C50 70 100 130 190 90' fill='none' stroke='%230b7a3b' stroke-opacity='0.1' stroke-width='1'/%3E%3Cpath d='M-10 150 C30 120 120 170 190 140' fill='none' stroke='%231463c9' stroke-opacity='0.08' stroke-width='1'/%3E%3C/svg%3E");
}

img,
svg {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0.01em;
  margin: 0;
}

p {
  margin: 0 0 0.85rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: #0a4fa3;
  text-underline-offset: 0.16em;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

address {
  font-style: normal;
}

::selection {
  background: #ffe14a;
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px #ffffff;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 80;
  background: var(--cream);
  color: var(--ink);
  padding: 0.5rem 0.75rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.5rem;
}

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

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.kicker {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--rust-deep);
  margin: 0 0 0.45rem;
}

.lede {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.125rem;
}

.fine {
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: 3.5rem 0;
}

.section-head {
  margin-bottom: 1.6rem;
}

.section-head h2,
.block-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.band {
  background: #e7f3ff;
}

.season {
  background: #ffe14a;
  color: var(--ink);
  text-align: center;
  padding: 0.55rem 1rem;
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.86rem;
}

.season a {
  color: #0a4fa3;
}

/* Header ------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--sky);
  border-bottom: 4px solid #ffe14a;
  color: #ffffff;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #ffffff;
  text-decoration: none;
  min-height: 44px;
}

.brand__mark,
.brand__rocket {
  height: 48px;
  width: auto;
  flex: none;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0.18rem;
}

.brand__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand__sub {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--khaki);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.35rem 0.2rem 0.35rem 0.55rem;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-toggle__icon {
  width: 1.1rem;
  height: 2px;
  background: #ffffff;
  box-shadow: 0 -6px 0 #ffffff, 0 6px 0 #ffffff;
}

.nav-toggle[aria-expanded="false"] .nav-toggle__close,
.nav-toggle[aria-expanded="true"] .nav-toggle__open {
  display: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.1rem 0.7rem;
}

.site-nav a {
  color: #ffffff;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 #ffe14a;
}

.site-nav a:hover {
  color: #fff4b0;
}

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

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.55rem 1rem;
  background: #c2410c;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  border: 0;
  cursor: pointer;
}

.button:hover,
button.button:hover {
  background: #0a4fa3;
  color: #ffffff;
}

.button--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.button--ghost:hover {
  background: var(--sky);
  color: #ffffff;
}

.button--dark {
  background: var(--sky);
  color: #ffffff;
}

.button--dark:hover {
  background: #c2410c;
  color: #ffffff;
}

.button--line {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.button--line:hover {
  background: var(--sky);
  color: #ffffff;
}

.hero__actions,
.stack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

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

.hero {
  position: relative;
  background: linear-gradient(180deg, #f7fbff 0%, #d7ecff 100%);
  color: var(--ink);
  overflow: hidden;
}

.hero .kicker,
.page-hero .kicker {
  color: #c2410c;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 2rem 2.5rem;
  align-items: end;
  padding: 3.2rem 0 2.4rem;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(4.2rem, 10vw, 7.2rem);
  text-transform: uppercase;
  line-height: 0.84;
  margin: 0.1rem 0 0.7rem;
}

.hero .deck {
  max-width: 38rem;
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0;
}

.hero__place {
  margin: 0.9rem 0 0;
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: #0a4fa3;
}

.hero-land {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(58%, 640px);
  height: auto;
  pointer-events: none;
  opacity: 0.9;
}

.page-hero {
  background:
    radial-gradient(ellipse 420px 180px at 92% 0%, rgba(255, 225, 74, 0.7), transparent 72%),
    linear-gradient(180deg, #f7fbff 0%, #d7ecff 100%);
  color: var(--ink);
  padding: 2.6rem 0 2.2rem;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  text-transform: uppercase;
  max-width: 18ch;
}

.page-hero .lede {
  color: var(--muted);
  margin-top: 0.8rem;
}

/* Status board ---------------------------------------- */

.status {
  background: var(--cream);
  color: var(--ink);
  padding: 1.1rem 1.1rem 1.15rem;
  border-top: 3px solid var(--rust);
}

.status .kicker {
  margin-bottom: 0.25rem;
}

.status__call {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  text-transform: uppercase;
  line-height: 0.95;
  margin: 0 0 0.85rem;
}

.status__call--go {
  color: var(--olive-deep);
}

.status__call--nogo {
  color: var(--rust-deep);
}

.status__call--standby {
  color: var(--bark);
}

.status__call--none,
.status__call--tbd {
  color: var(--brown);
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 0.8rem;
  margin: 0;
}

.facts div {
  min-width: 0;
}

.facts dt {
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--rust-deep);
}

.facts dd {
  margin: 0.12rem 0 0;
}

/* Cards and grids ------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.card {
  background: rgba(255, 255, 255, 0.78);
  border-top: 3px solid var(--bark);
  padding: 1.1rem 1.1rem 1.2rem;
}

.card--olive {
  border-top-color: var(--olive);
}

.card--rust {
  border-top-color: var(--rust);
}

.card h3 {
  font-size: 1.55rem;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.card a.more {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.card a.more:hover {
  text-decoration: underline;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem 2rem;
  align-items: start;
}

.stack {
  display: grid;
  gap: 0.9rem;
}

.note {
  background: var(--cream);
  border-left: 4px solid var(--bark);
  padding: 0.9rem 1rem;
}

.note--warn {
  border-left-color: #d0122d;
  background: #fff4cc;
}

.note h3,
.note h2 {
  font-size: 1.25rem;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.ids {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  list-style: none;
  margin: 0 0 0.8rem;
}

.ids li {
  background: #ffe14a;
  color: var(--ink);
  min-width: 9rem;
  padding: 0.75rem 0.9rem;
}

.ids span {
  display: block;
  font-family: var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: #0a4fa3;
}

.ids strong {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.8rem;
  letter-spacing: 0.04em;
}

.event-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.event-list li {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.78);
  padding: 0.8rem 0.9rem;
}

.event-list time,
.when {
  font-family: var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rust-deep);
}

.checklist {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
}

.checklist li + li {
  margin-top: 0.35rem;
}

.table-wrap {
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.78);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 36rem;
}

th,
td {
  text-align: left;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--rust-deep);
  background: var(--sand-deep);
}

.tag {
  display: inline-block;
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 0.15rem 0.4rem;
  background: var(--olive);
  color: var(--cream);
}

.tag--past {
  background: var(--bark);
}

.tag--open {
  background: var(--rust-deep);
}

/* FAQ -------------------------------------------------- */

.faq {
  display: grid;
  gap: 0.55rem;
}

.faq details {
  background: rgba(255, 255, 255, 0.82);
  border-top: 3px solid var(--olive);
}

.faq summary {
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.85rem 1rem;
  min-height: 44px;
}

.faq details p,
.faq details ul {
  padding: 0 1rem 1rem;
}

.faq details ul {
  padding-left: 2rem;
}

/* Gallery / placeholders ------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.slot {
  background: rgba(255, 255, 255, 0.55);
  border: 1.5px dashed var(--bark);
  min-height: 180px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
}

.slot strong {
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--rust-deep);
}

.slot code {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Docs, maps, forms ------------------------------------ */

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.doc {
  display: block;
  background: #ffffff;
  color: var(--ink);
  text-decoration: none;
  padding: 1rem 1.05rem 1.1rem;
  min-height: 100%;
  border-top: 4px solid var(--sky);
}

.doc:hover {
  background: #e3f2fd;
  color: var(--ink);
}

.doc span {
  display: block;
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: #0a4fa3;
  margin-bottom: 0.35rem;
}

.doc strong {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.embed,
.map {
  width: 100%;
  min-height: 640px;
  border: 0;
  background: var(--cream);
}

.map {
  min-height: 360px;
}

.embed-wrap,
.map-wrap {
  background: #d6ebff;
  padding: 0.4rem;
}

.people {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.person {
  background: rgba(255, 255, 255, 0.82);
  padding: 1rem;
  border-top: 3px solid var(--rust);
}

.person h3 {
  font-size: 1.35rem;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.person p {
  color: var(--muted);
}

.annotated {
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.annotated li {
  background: rgba(255, 255, 255, 0.78);
  padding: 0.85rem 1rem;
}

.annotated h3 {
  font-size: 1.25rem;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.annotated h3 a {
  text-decoration: none;
}

.annotated h3 a:hover {
  text-decoration: underline;
}

form.contact {
  display: grid;
  gap: 0.75rem;
  max-width: 38rem;
}

label {
  display: grid;
  gap: 0.3rem;
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

input,
textarea,
select {
  font: inherit;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--bark);
  padding: 0.55rem 0.65rem;
  width: 100%;
  min-height: 44px;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

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

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

.site-footer {
  background: #e7f3ff;
  color: var(--ink);
  padding: 2.2rem 0 1.4rem;
  border-top: 4px solid var(--sky);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.5rem;
}

.footer-brand {
  font-family: var(--display);
  color: var(--ink);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.25rem;
  margin: 0 0 0.4rem;
}

.footer-label {
  font-family: var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: #0a4fa3;
  margin: 0 0 0.45rem;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.25rem;
}

.site-footer a {
  color: #0a4fa3;
}

.site-footer .fine {
  color: var(--muted);
}

.footer-fine {
  margin-top: 1.4rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(20, 99, 201, 0.2);
  color: var(--muted);
  font-size: 0.92rem;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Narrow ----------------------------------------------- */

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--charcoal);
    border-bottom: 3px solid var(--rust);
    padding: 0.4rem 1rem 0.8rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    z-index: 30;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  }

  .hero__grid,
  .split,
  .cards,
  .doc-grid,
  .people,
  .gallery,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-land {
    width: 100%;
    opacity: 0.35;
  }

  .event-list li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .people {
    grid-template-columns: 1fr 1fr;
  }
}

/* Launch photography and range graphics -------------------- */

.hero--photo {
  color: #ffffff;
  min-height: 38rem;
  background: #0c2340;
}

.hero--photo .hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.hero--photo .hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 28, 64, 0.82) 0%, rgba(8, 28, 64, 0.45) 48%, rgba(8, 28, 64, 0.2) 100%),
    linear-gradient(180deg, rgba(8, 28, 64, 0.15), rgba(8, 28, 64, 0.35));
}

.hero--photo .wrap {
  position: relative;
  z-index: 1;
}

.hero--photo .hero__logo {
  display: block;
  width: min(34rem, 100%);
  height: auto;
  margin: 1.4rem 0 0.2rem;
  filter: drop-shadow(0 10px 18px rgba(8, 28, 64, 0.45));
}

.hero--photo .kicker,
.page-hero--photo .kicker {
  color: #ffe14a;
}

.hero--photo .deck,
.page-hero--photo .lede {
  color: #f4f8ff;
}

.hero--photo .hero__place {
  color: #fff4b0;
}

.hero--photo h1,
.page-hero--photo h1 {
  color: #ffffff;
}

.hero--photo .button--ghost {
  color: #ffffff;
  box-shadow: inset 0 0 0 1.5px #ffffff;
}

.hero--photo .button--ghost:hover {
  background: #ffffff;
  color: #0c2340;
}

.range-board {
  border: 3px solid #0c2340;
  box-shadow: 8px 8px 0 #1463c9;
}

.range-board__tag {
  display: inline-block;
  margin: 0 0 0.35rem;
  padding: 0.15rem 0.45rem;
  background: #0c2340;
  color: #ffe14a;
  font-family: var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  padding: 0.45rem;
  background: #0c2340;
}

.strip a,
.strip figure {
  position: relative;
  display: block;
  margin: 0;
  color: #ffffff;
  text-decoration: none;
  min-height: 14rem;
  overflow: hidden;
}

.strip img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: #d7ecff;
}

.strip span {
  position: absolute;
  left: 0.6rem;
  bottom: 0.6rem;
  background: #ffe14a;
  color: #0c2340;
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
}

.flight-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.letters {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.8rem 0;
}

.letters li,
.swatch {
  min-width: 2.4rem;
  min-height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 1rem;
  color: #ffffff;
}

.letters .is-low,
.swatch.is-low { background: #1463c9; }
.letters .is-mid,
.swatch.is-mid { background: #0b7a3b; }
.letters .is-high,
.swatch.is-high { background: #c2410c; }

.swatch {
  width: 0.85rem;
  min-width: 0.85rem;
  min-height: 0.85rem;
  margin: 0 0.2rem 0 0.55rem;
  vertical-align: middle;
}

.ladder {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  margin: 0.7rem 0 0.4rem;
}

.ladder li {
  display: grid;
  grid-template-columns: 3.8rem 1fr;
  gap: 0.55rem;
  align-items: center;
  background: #ffffff;
  border-left: 6px solid #1463c9;
  padding: 0.45rem 0.6rem;
}

.ladder li:nth-child(2) { border-left-color: #0b7a3b; }
.ladder li:nth-child(3) { border-left-color: #c2410c; }
.ladder li:nth-child(4) { border-left-color: #d0122d; }

.ladder strong {
  font-family: var(--display);
  font-size: 1.35rem;
  color: #0a4fa3;
}

.altimeter {
  background: #ffffff;
  border-top: 6px solid #1463c9;
  padding: 0.9rem 1rem 1rem;
}

.altimeter__read {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 0.9;
  margin: 0.2rem 0 0.45rem;
  color: #0c2340;
}

.altimeter__read span {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: #c2410c;
}

.altimeter__rail {
  height: 0.7rem;
  background: #e3f2fd;
  margin-bottom: 0.7rem;
}

.altimeter__rail span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #1463c9, #ffe14a 70%, #c2410c);
}

.page-hero--photo {
  position: relative;
  color: #ffffff;
  min-height: 22rem;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0c2340;
  padding: 0;
}

.page-hero--photo .page-hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}

.page-hero--photo .page-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 28, 64, 0.05) 20%, rgba(8, 28, 64, 0.78));
}

.page-hero--photo .wrap {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 1.6rem;
}

@media (max-width: 980px) {
  .flight-row {
    grid-template-columns: 1fr;
  }

  .hero--photo {
    min-height: 0;
  }

}

@media (max-width: 560px) {
  .facts,
  .people,
  .gallery {
    grid-template-columns: 1fr;
  }

  .wrap {
    width: min(1120px, calc(100% - 1.25rem));
  }
}

.gliders {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.gliders figure,
.field-shot {
  margin: 0;
  background: #ffffff;
}

.gliders img,
.field-shot img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 38rem;
  object-fit: cover;
  object-position: center 22%;
}

.gliders figcaption,
.field-shot figcaption {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.membership-photo {
  max-width: 28rem;
}

.field-shot {
  border-top: 4px solid #1463c9;
  padding-top: 0.45rem;
}

.field-shot img {
  max-height: 38rem;
  object-fit: cover;
  object-position: center 22%;
}

@media (max-width: 980px) {
  .gliders {
    grid-template-columns: 1fr;
  }

  .strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hero--panel .hero__layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.6rem 0 2.2rem;
}

.hero--panel .hero__logo {
  width: min(28rem, 100%);
  height: auto;
  margin: 0 auto;
}

.hero--panel .hero__copy {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero--panel .deck {
  margin-inline: auto;
}

.hero--panel .hero__actions {
  justify-content: flex-start;
  width: 100%;
  max-width: 40rem;
}

.hero--panel .range-board {
  width: 100%;
  max-width: 40rem;
  text-align: left;
}

.page-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
}

.page-with-photo {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.45fr);
  gap: 1.2rem;
  align-items: end;
}

.page-photo {
  margin: 0;
}

@media (max-width: 980px) {
  .page-with-photo {
    grid-template-columns: 1fr;
  }

  .page-photo {
    max-width: 16rem;
  }
}

/* Smaller homepage photos */
.strip {
  padding: 0.45rem max(0.45rem, calc((100% - 48rem) / 2));
}
.strip a,
.strip figure {
  min-height: 0;
}

/* Mission header and points over the photo row */
.mission-strip {
  background: #0c2340;
  color: #ffffff;
  padding-top: 1.6rem;
}
.mission-head {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1rem 0.9rem;
  text-align: center;
}
.mission-head .block-title {
  color: #ffffff;
  margin: 0 0 0.4rem;
}
.mission-head p {
  margin: 0;
  color: #d7ecff;
}
.mission-head .block-title + p + .block-title {
  margin-top: 1.15rem;
}
.mission-head p.mission-do {
  font-size: clamp(1.18rem, 2.5vw, 1.32rem);
  line-height: 1.5;
}
.strip figure {
  position: relative;
}
.strip figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem 0.75rem 0.8rem;
  background: linear-gradient(to top, rgba(8, 24, 48, 0.92), rgba(8, 24, 48, 0.6) 60%, rgba(8, 24, 48, 0));
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.35;
}
.strip figcaption strong {
  display: block;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffe14a;
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}
@media (max-width: 560px) {
  .strip figcaption { font-size: 0.75rem; padding: 1.8rem 0.45rem 0.5rem; }
  .strip figcaption strong { font-size: 0.9rem; }
}

/* Five-photo mission row, full width, centered captions */
.mission-strip .strip{grid-template-columns:repeat(5,minmax(0,1fr));padding:0.45rem;}
.strip figcaption{text-align:center;}
@media(max-width:760px){.mission-strip .strip{grid-template-columns:repeat(3,minmax(0,1fr));}.mission-strip .strip figure:first-child,.mission-strip .strip figure:last-child{display:none;}}

/* Facebook link in the top bar */
.site-nav a.nav-fb{display:inline-flex;align-items:center;gap:0.3rem;background:#1877f2;color:#fff;padding:0.2rem 0.55rem;border-radius:999px;}
.site-nav a.nav-fb:hover,.site-nav a.nav-fb:focus{background:#0c5ed1;color:#fff;}

/* Brand pinned to the far left of the banner */
.site-header .header-bar{max-width:none;width:100%;padding-left:0.75rem;padding-right:1rem;margin:0;}
.site-header .brand{margin-right:auto;gap:0.5rem;}
.site-header .brand__sub{line-height:1.15;}
.site-header .site-nav{margin-left:1rem;}

/* Scrolling welcome banner */
.season--scroll{overflow:hidden;padding:0.55rem 0;white-space:nowrap;}
.season__track{display:flex;width:max-content;animation:season-scroll 38s linear infinite;}
.season--scroll:hover .season__track{animation-play-state:paused;}
.season__group{display:flex;flex:none;}
.season__group span{padding:0 1.4rem;}
.season__star{color:#0a4fa3;}
@keyframes season-scroll{from{transform:translateX(0);}to{transform:translateX(-50%);}}
@media (prefers-reduced-motion: reduce){.season__track{animation:none;}}

/* HPR Motor Finder callout -------------------------------- */
.finder {
  background: var(--sand);
  border: 1px solid var(--line);
  border-left: 6px solid #ffe14a;
  padding: 1.15rem 1.25rem 1.3rem;
}
.finder h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  text-transform: uppercase;
  margin: 0 0 0.45rem;
}
.finder p {
  margin: 0;
  max-width: 44rem;
}
.finder .stack-actions {
  margin-top: 0.9rem;
}
