/* ==========================================================================
   TEACH TACTICAL — site.css
   Veteran-owned firearms training + outdoor media brand.
   Hand-written. No build step, no framework.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */

:root {
  /* Core palette */
  --black:        #0B0C0B;
  --black-soft:   #121413;
  --gunmetal:     #1C2022;
  --gunmetal-lt:  #2A2F32;
  --od:           #4A5D3A;   /* OD green — fields, rules, non-text */
  --od-lt:        #8FA872;   /* OD green — text-safe on dark (7.0:1) */
  --od-deep:      #2E3A24;
  --stone:        #C9BFA8;   /* warm neutral */
  --stone-dk:     #9A8F79;
  --offwhite:     #F2F0EA;
  --muted:        #A8ACA4;   /* body-muted on dark (9.1:1) */
  --red:          #B01D2E;   /* Marine red — marks & rules only, never text */
  --red-text:     #E9566A;   /* Marine red — text-safe on dark (5.2:1) */

  /* Semantic */
  --bg:           var(--black);
  --fg:           var(--offwhite);
  --rule:         rgba(242, 240, 234, 0.14);
  --rule-strong:  rgba(242, 240, 234, 0.28);

  /* Type */
  --font-display: "Oswald", "Barlow Condensed", "Archivo Narrow",
                  "Helvetica Neue Condensed", "Arial Narrow", "Roboto Condensed",
                  Impact, sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
                  Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono:    ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  /* Rhythm */
  --maxw:         1280px;
  --gutter:       clamp(1.25rem, 4vw, 3.5rem);
  --section-y:    clamp(4rem, 9vw, 8.5rem);
  --radius:       2px;

  /* Motion */
  --ease:         cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */

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

html {
  /* clip (not hidden) so position:sticky still works in the page */
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

hr { border: 0; border-top: 1px solid var(--rule); margin: 0; }

::selection { background: var(--od-lt); color: var(--black); }

:focus-visible {
  outline: 3px solid var(--od-lt);
  outline-offset: 3px;
  border-radius: 1px;
}

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

/* --------------------------------------------------------------------------
   3. UTILITIES
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: 78ch; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.75rem, 6vw, 5rem); }

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

.skip-link {
  position: absolute;
  top: 0; left: 0;
  z-index: 200;
  transform: translateY(-120%);
  background: var(--od-lt);
  color: var(--black);
  padding: 0.75rem 1.25rem;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.18s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

/* Eyebrow / kicker */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--od-lt);
}
.eyebrow::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--rule);
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { display: none; }

.lede {
  font-size: clamp(1.0625rem, 1rem + 0.45vw, 1.3125rem);
  line-height: 1.55;
  color: var(--stone);
  max-width: 60ch;
}

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

/* Display headings */
.h-hero {
  font-size: clamp(3.25rem, 12.5vw, 10.5rem);
  line-height: 0.86;
  letter-spacing: -0.015em;
  font-weight: 700;
}
.h-xl { font-size: clamp(2.5rem, 6.5vw, 5rem); }
.h-lg { font-size: clamp(2rem, 4.6vw, 3.5rem); }
.h-md { font-size: clamp(1.5rem, 2.6vw, 2.125rem); }
.h-sm { font-size: clamp(1.125rem, 1.6vw, 1.375rem); letter-spacing: 0.02em; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.9rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--od-lt);
  border-radius: var(--radius);
  color: var(--offwhite);
  background: transparent;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover, .btn:focus-visible {
  background: var(--od-lt);
  color: var(--black);
  border-color: var(--od-lt);
}
.btn:active { transform: translateY(1px); }

.btn--solid { background: var(--od-lt); color: var(--black); }
.btn--solid:hover, .btn--solid:focus-visible {
  background: var(--offwhite);
  border-color: var(--offwhite);
  color: var(--black);
}

.btn--ghost { border-color: var(--rule-strong); }
.btn--ghost:hover, .btn--ghost:focus-visible {
  background: var(--offwhite);
  border-color: var(--offwhite);
  color: var(--black);
}

.btn__arrow { font-family: var(--font-body); font-size: 1.05em; line-height: 1; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2.25rem;
}

/* Placeholder token — content Ryder still owes us. */
.tbd {
  display: inline-block;
  padding: 0.1em 0.5em;
  font-family: var(--font-mono);
  font-size: 0.78em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  background: rgba(74, 93, 58, 0.28);
  border: 1px dashed rgba(201, 191, 168, 0.45);
  border-radius: var(--radius);
  white-space: nowrap;
}

/* Topographic motif */
.topo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../img/topo.svg");
  background-repeat: repeat;
  background-size: 900px auto;
  opacity: 0.5;
  pointer-events: none;
}
.topo--soft { opacity: 0.28; }

/* --------------------------------------------------------------------------
   4. HEADER + NAV OVERLAY
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 12, 11, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--offwhite);
  white-space: nowrap;
}
.wordmark__mark { color: var(--od-lt); }
.wordmark__dot { color: var(--red-text); }

.header-actions { display: flex; align-items: center; gap: 1.25rem; }

/* Desktop primary nav.
   Every destination used to sit behind the Menu button at ALL widths, so a
   visitor saw no navigation at all until they opened an overlay. On desktop
   the links now sit in the header and the toggle stands down; below 1024px
   the overlay is still the nav. */
.header-nav { display: none; }
.header-nav__link {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  padding-block: 0.35rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.header-nav__link:hover,
.header-nav__link:focus-visible,
.header-nav__link[aria-current="page"] {
  color: var(--offwhite);
  border-bottom-color: var(--od-lt);
}

.header-frosty {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 700px) { .header-frosty { display: none; } }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 1.05rem;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease);
}
.menu-toggle:hover, .menu-toggle:focus-visible {
  background: var(--offwhite);
  color: var(--black);
  border-color: var(--offwhite);
}

.menu-toggle__bars {
  position: relative;
  width: 20px;
  height: 10px;
  flex: 0 0 auto;
}
.menu-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 8.5px; }

@media (min-width: 1024px) {
  .header-nav { display: flex; align-items: center; gap: clamp(1rem, 2.1vw, 2rem); }
  .menu-toggle  { display: none; }
  .header-frosty { display: none; }
}

.nav-overlay[hidden] { display: none; }

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--black);
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: navIn 0.32s var(--ease) both;
}
@keyframes navIn { from { opacity: 0; } to { opacity: 1; } }

.nav-overlay__inner {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding-block: 1.25rem clamp(2rem, 6vw, 4rem);
}

.nav-overlay__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  margin-bottom: clamp(1.5rem, 5vw, 3.5rem);
}

.nav-close {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 1.05rem;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.nav-close:hover, .nav-close:focus-visible {
  background: var(--offwhite); color: var(--black); border-color: var(--offwhite);
}

.nav-overlay__body {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 900px) {
  .nav-overlay__body { grid-template-columns: minmax(0, 1fr); }
}

.nav-list { border-top: 1px solid var(--rule); }

.nav-list__item { border-bottom: 1px solid var(--rule); }

.nav-list__link {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding-block: clamp(0.85rem, 2.2vw, 1.35rem);
  text-decoration: none;
  color: var(--offwhite);
  transition: color 0.2s var(--ease), padding-left 0.25s var(--ease);
}
.nav-list__link:hover, .nav-list__link:focus-visible { color: var(--od-lt); padding-left: 0.5rem; }

.nav-list__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--od-lt);
}

.nav-list__label {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.nav-list__meta {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-list__item--soon .nav-list__link { color: var(--muted); cursor: default; }
.nav-list__item--soon .nav-list__link:hover { color: var(--muted); padding-left: 0; }

.nav-aside { display: grid; gap: 2rem; }

.nav-aside__group { display: grid; gap: 0.6rem; }

.nav-aside__title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--od-lt);
  margin-bottom: 0.35rem;
}

.nav-aside__link {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--stone);
  transition: color 0.18s var(--ease);
}
.nav-aside__link:hover, .nav-aside__link:focus-visible { color: var(--offwhite); }

.nav-frosty {
  margin-top: auto;
  padding-top: clamp(2rem, 6vw, 3.5rem);
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: transparent;
  -webkit-text-stroke: 1px var(--rule-strong);
  line-height: 1;
}

/* --------------------------------------------------------------------------
   5. HERO
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: min(88svh, 900px);
  padding-block: clamp(4rem, 12vw, 7rem) clamp(2.5rem, 6vw, 4rem);
  background:
    radial-gradient(120% 90% at 12% 8%, rgba(74, 93, 58, 0.30) 0%, rgba(74, 93, 58, 0) 58%),
    linear-gradient(178deg, var(--gunmetal) 0%, var(--black) 62%);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}

.hero__inner { position: relative; z-index: 1; width: 100%; }

.hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  font-family: var(--font-mono);
  font-size: clamp(0.6875rem, 0.65rem + 0.15vw, 0.8125rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}
.hero__eyebrow span { display: inline-block; }
.hero__eyebrow .sep { color: var(--od-lt); }

.hero__title { margin-bottom: clamp(1.5rem, 4vw, 2.25rem); }
.hero__title .line { display: block; }
.hero__title .line--out {
  color: transparent;
  -webkit-text-stroke: 2px var(--od-lt);
}

.hero__foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
  border-top: 1px solid var(--rule);
}
@media (max-width: 800px) {
  .hero__foot { grid-template-columns: minmax(0, 1fr); align-items: start; }
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}
.hero__scroll:hover, .hero__scroll:focus-visible { color: var(--offwhite); }

/* Page hero (interior pages) */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(2.5rem, 6vw, 4.5rem);
  background: linear-gradient(178deg, var(--gunmetal) 0%, var(--black) 78%);
  border-bottom: 1px solid var(--rule);
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--od-lt);
  margin-bottom: 1.25rem;
}
.page-hero__title { margin-bottom: 1.5rem; }

/* Split page hero — type left, a tall photograph right. Used where the source
   image is a vertical that would be destroyed by a letterbox crop. */
.page-hero--split .page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) {
  .page-hero--split .page-hero__inner { grid-template-columns: minmax(0, 1fr); }
}

/* The split hero gives the headline only ~48% of the viewport, but .h-hero is
   sized for a full-width line. “Outdoors” at 12.5vw needs 699px in a 612px
   column, so the word ran underneath the photograph. Scale the split-hero
   headline to its own column instead. */
.page-hero--split .page-hero__title { font-size: clamp(2.75rem, 9.5vw, 8rem); }

/* An intentionally empty slot, marked as such rather than quietly hidden. */
.slot-empty {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 3vw, 2rem);
  border: 1px dashed rgba(201, 191, 168, 0.35);
  border-radius: var(--radius);
  background: rgba(28, 32, 34, 0.55);
}
.slot-empty__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--od-lt);
}
.slot-empty p { color: var(--muted); font-size: 0.9375rem; max-width: 42ch; }

/* --------------------------------------------------------------------------
   6. MARQUEE
   -------------------------------------------------------------------------- */

.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 1.15rem;
  background: var(--od-deep);
  border-block: 1px solid rgba(143, 168, 114, 0.35);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.marquee__group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding-inline: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(0.8125rem, 0.78rem + 0.2vw, 0.9375rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--offwhite);
  white-space: nowrap;
}
.marquee__item::after {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--od-lt);
  flex: 0 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee__track { animation: none; }
}

/* --------------------------------------------------------------------------
   7. CREDENTIALS BLOCK
   -------------------------------------------------------------------------- */

.creds {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 900px) { .creds { grid-template-columns: minmax(0, 1fr); } }

.creds__list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.creds__item {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--rule);
}

.creds__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--od-lt);
  padding-top: 0.3em;
}

.creds__label {
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.3125rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
}

.creds__note {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   8. METRICS  (no photography behind — must stay legible + businesslike)
   -------------------------------------------------------------------------- */

.metrics {
  background: var(--gunmetal);
  border-block: 1px solid var(--rule);
}

.metrics__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (max-width: 950px) { .metrics__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .metrics__grid { grid-template-columns: minmax(0, 1fr); } }

.metric {
  background: var(--gunmetal);
  padding: clamp(1.5rem, 3.5vw, 2.5rem) clamp(1.25rem, 2.5vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.metric__value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: var(--offwhite);
  font-variant-numeric: tabular-nums;
}

.metric__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}

.metric__rule { width: 34px; height: 2px; background: var(--red); }

/* --------------------------------------------------------------------------
   9. PARTNERS  (no photography behind — logo tiles must never collapse)
   -------------------------------------------------------------------------- */

.partners { background: var(--black-soft); border-bottom: 1px solid var(--rule); }

.partners__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (max-width: 1000px) { .partners__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .partners__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.partner {
  /* Deliberately height-driven by content + padding, never aspect-ratio.
     Aspect-ratio tiles rendered as tall empty boxes on narrow screens. */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(1.5rem, 3vw, 2.25rem) 1rem;
  min-height: 116px;
  background: var(--black-soft);
  text-decoration: none;
  transition: background-color 0.2s var(--ease);
}
.partner:hover, .partner:focus-visible { background: var(--gunmetal); }

.partner__name {
  font-family: var(--font-display);
  font-size: clamp(0.9375rem, 0.9rem + 0.3vw, 1.125rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  line-height: 1.25;
}
.partner:hover .partner__name, .partner:focus-visible .partner__name { color: var(--offwhite); }

/* Partner logo plates. Supplied marks are dark artwork on white, so they ship
   on their own light plate rather than being recoloured — the brands stay
   correct and the marks stay legible on the near-black tile. All four are
   normalised to the same optical height so no one logo dominates the row. */
.partner__logo {
  display: block;
  width: 100%;
  max-width: 168px;
  height: auto;
  border-radius: 2px;
}
@media (max-width: 620px) { .partner__logo { max-width: 140px; } }

/* --------------------------------------------------------------------------
   10. PILLARS — TRAIN • HUNT • EXPLORE
   -------------------------------------------------------------------------- */

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: clamp(2rem, 5vw, 3.5rem);
}
@media (max-width: 880px) { .pillars__grid { grid-template-columns: minmax(0, 1fr); } }

.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  background: var(--gunmetal);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease),
              background-color 0.22s var(--ease);
}
.pillar:hover, .pillar:focus-visible {
  border-color: var(--od-lt);
  transform: translateY(-4px);
  background: var(--gunmetal-lt);
}

.pillar__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--od-lt);
}
.pillar__title { font-size: clamp(1.75rem, 3vw, 2.375rem); }
.pillar__body { color: var(--muted); font-size: 0.9375rem; }
.pillar__more {
  margin-top: auto;
  padding-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--od-lt);
}

/* --------------------------------------------------------------------------
   11. FULL-BLEED PHOTO BANDS
   -------------------------------------------------------------------------- */

.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--black);
  border-block: 1px solid var(--rule);
}

.band__media { position: relative; }

.band__media img {
  width: 100%;
  height: clamp(280px, 46vw, 620px);
  object-fit: cover;
  object-position: center 45%;
  filter: saturate(0.82) contrast(1.04);
}

.band__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11, 12, 11, 0.94) 0%,
    rgba(11, 12, 11, 0.55) 42%,
    rgba(11, 12, 11, 0.22) 100%
  );
}

.band__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding-block: clamp(1.75rem, 4vw, 3rem);
}

.band__caption .eyebrow { margin-bottom: 0.85rem; }

.band__title {
  font-size: clamp(1.75rem, 4.6vw, 3.5rem);
  max-width: 20ch;
}

.band__sub {
  margin-top: 0.85rem;
  max-width: 52ch;
  color: var(--stone);
  font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
}

/* --------------------------------------------------------------------------
   12. SPLIT (image + copy)
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

.split--reverse .split__media { order: 2; }
@media (max-width: 900px) { .split--reverse .split__media { order: 0; } }

.split__media { position: relative; }

.figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gunmetal);
}
.figure img { width: 100%; display: block; }

/* Aspect-honest crops. Each ratio matches the ratio the source file is
   actually processed to, so the browser never stretches or re-crops a photo.
     --vertical  2:3   full-kit-gas-mask-desert (native 1020x2208 phone frame)
     --tall      4:5   precision-rifle-tripod-hay, ghillie-closeup
     --square    1:1   kneeling-radio-field, crew-served-valley
     --classic   4:3   aircraft-ramp-flag
     --landscape 3:2   beach-aav                                              */
.figure--vertical  img { aspect-ratio: 2 / 3;  object-fit: cover; object-position: center 42%; }
.figure--tall      img { aspect-ratio: 4 / 5;  object-fit: cover; object-position: center 45%; }
.figure--square    img { aspect-ratio: 1 / 1;  object-fit: cover; object-position: center; }
.figure--classic   img { aspect-ratio: 4 / 3;  object-fit: cover; object-position: center 45%; }
.figure--landscape img { aspect-ratio: 3 / 2;  object-fit: cover; object-position: center 45%; }
.figure--wide      img { aspect-ratio: 16 / 9; object-fit: cover; object-position: center 45%; }

/* --- Founder block ------------------------------------------------------
   The one civilian, face-on photograph of Ryder gets the wider column and a
   sticky frame on desktop. It is the single most important image on the site
   and must never be reduced to an inline thumbnail. */
.founder {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 900px) { .founder { grid-template-columns: minmax(0, 1fr); } }

@media (min-width: 901px) {
  .founder__media { position: sticky; top: 104px; }
}

.founder__media .figure { border-color: var(--rule-strong); }

.founder__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(143, 168, 114, 0.5);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--od-lt);
}

.gallery-mixed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
  align-items: start;
}
@media (max-width: 700px) { .gallery-mixed { grid-template-columns: minmax(0, 1fr); } }

.figure__caption {
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--black-soft);
}

/* --------------------------------------------------------------------------
   13. COURSES
   -------------------------------------------------------------------------- */

.courses__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}
@media (max-width: 1000px) { .courses__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px)  { .courses__grid { grid-template-columns: minmax(0, 1fr); } }

.course {
  display: flex;
  flex-direction: column;
  background: var(--gunmetal);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: border-color 0.22s var(--ease), background-color 0.22s var(--ease);
}
.course:hover { border-color: rgba(143, 168, 114, 0.55); background: var(--gunmetal-lt); }

.course__index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--od-lt);
  margin-bottom: 1.1rem;
}

.course__name {
  font-size: clamp(1.375rem, 1.25rem + 0.6vw, 1.75rem);
  margin-bottom: 0.5rem;
}

.course__subtitle {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.1rem;
}

.course__desc {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 1.6rem;
}

.course__specs {
  margin-top: auto;
  border-top: 1px solid var(--rule);
}

.course__spec {
  display: grid;
  grid-template-columns: 6.75rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: baseline;
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--rule);
}
.course__spec:last-child { border-bottom: 0; }

.course__spec dt {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--od-lt);
}
.course__spec dd {
  margin: 0;
  font-size: 0.875rem;
  color: var(--offwhite);
}

/* Full-width feature card — the advanced flagship offering. */
.course--feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  padding: 0;
  overflow: hidden;
  border-color: rgba(143, 168, 114, 0.4);
  background: linear-gradient(150deg, var(--gunmetal-lt) 0%, var(--gunmetal) 60%);
}
@media (max-width: 900px) { .course--feature { grid-template-columns: minmax(0, 1fr); } }

.course--feature .course__media { position: relative; background: var(--black); }

@media (min-width: 901px) {
  /* Absolute fill so the photo covers the whole column however tall the text
     column ends up. height:100% on a stretched grid item leaves a gap. */
  .course--feature .course__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
  }
}
@media (max-width: 900px) {
  /* Source is a 4:5 vertical. A 1:1 centre crop keeps the rifle and tripod head
     whole without turning the card into a full-screen-tall photo on a phone. */
  .course--feature .course__media img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 55%;
  }
}

.course__flag {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: 0.4rem 0.85rem;
  background: var(--red);
  color: var(--offwhite);
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: var(--radius);
}

.course--feature .course__body {
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  display: flex;
  flex-direction: column;
}

.course__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.course__topic {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
}

.course--feature .course__specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.25rem, 3vw, 2.5rem);
}
@media (max-width: 560px) {
  .course--feature .course__specs { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   14. APPROACH (training) — vertical photo + statement
   -------------------------------------------------------------------------- */

.approach {
  background: var(--black-soft);
  border-block: 1px solid var(--rule);
}

.approach__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 900px) { .approach__grid { grid-template-columns: minmax(0, 1fr); } }

.approach__title { margin-bottom: 1.75rem; }

.approach__list { display: grid; gap: 1.25rem; margin-top: 2rem; }

.approach__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}
.approach__item::before {
  content: "";
  width: 8px; height: 8px;
  margin-top: 0.55em;
  background: var(--od-lt);
  flex: 0 0 auto;
}
.approach__item p { color: var(--muted); font-size: 0.9375rem; }
.approach__item strong { color: var(--offwhite); display: block; margin-bottom: 0.2rem; }

/* --------------------------------------------------------------------------
   15. CTA
   -------------------------------------------------------------------------- */

.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(160deg, var(--od-deep) 0%, var(--black) 72%);
  border-block: 1px solid var(--rule);
}
.cta__inner { position: relative; z-index: 1; }
.cta__title { margin-bottom: 1.5rem; max-width: 18ch; }

/* --------------------------------------------------------------------------
   16. GENERIC CONTENT BLOCKS
   -------------------------------------------------------------------------- */

.prose p { color: var(--stone); }
.prose p + p { margin-top: 0; }

.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.card {
  background: var(--gunmetal);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.card__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--od-lt);
}
.card p { color: var(--muted); font-size: 0.9375rem; }

.gallery-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
  /* Figures here mix ratios (16/9 beside 1/1). Stretching the short one left a
     tall empty bordered box under it, which read as a missing photo. */
  align-items: start;
}
@media (max-width: 700px) { .gallery-2 { grid-template-columns: minmax(0, 1fr); } }

/* Definition rows (contact / media kit facts) */
.factlist { border-top: 1px solid var(--rule); }
.factlist__row {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
@media (max-width: 620px) {
  .factlist__row { grid-template-columns: minmax(0, 1fr); gap: 0.35rem; }
}
.factlist__row dt {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--od-lt);
}
.factlist__row dd { margin: 0; color: var(--offwhite); }

/* Social links */
.socials { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.social {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.15rem;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--offwhite);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease);
}
.social:hover, .social:focus-visible {
  background: var(--offwhite); color: var(--black); border-color: var(--offwhite);
}
.social__handle { font-family: var(--font-mono); font-size: 0.6875rem; color: var(--muted); }
.social:hover .social__handle, .social:focus-visible .social__handle { color: var(--gunmetal); }

/* --------------------------------------------------------------------------
   16b. FORM
   -------------------------------------------------------------------------- */

.form {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  background: var(--gunmetal);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.form__row { display: grid; gap: 0.5rem; }

.form__row--split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (max-width: 620px) { .form__row--split { grid-template-columns: minmax(0, 1fr); } }

.form label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--od-lt);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--offwhite);
  background: var(--black-soft);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
}
.form textarea { min-height: 140px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: #7E837C; }

.form__note {
  padding: 0.9rem 1.1rem;
  border: 1px dashed rgba(201, 191, 168, 0.45);
  border-radius: var(--radius);
  background: rgba(74, 93, 58, 0.18);
  font-size: 0.875rem;
  color: var(--stone);
}

.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   17. FOOTER
   -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--black);
  border-top: 1px solid var(--rule);
  padding-block: clamp(3rem, 7vw, 5rem) 2rem;
}

.site-footer__inner { position: relative; z-index: 1; }

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 950px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
}

.footer-col__title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--od-lt);
  margin-bottom: 1.1rem;
}

.footer-col ul { display: grid; gap: 0.6rem; }

.footer-col a {
  font-size: 0.9375rem;
  color: var(--stone);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}
.footer-col a:hover, .footer-col a:focus-visible { color: var(--offwhite); }

.footer-brand__blurb {
  margin-top: 1rem;
  max-width: 34ch;
  color: var(--muted);
  font-size: 0.9375rem;
}

.footer-frosty {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--od-lt);
}

.site-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.site-footer__bar a { color: var(--muted); text-decoration: none; }
.site-footer__bar a:hover, .site-footer__bar a:focus-visible { color: var(--offwhite); }

/* --------------------------------------------------------------------------
   18. 404
   -------------------------------------------------------------------------- */

.error-page {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: min(78svh, 760px);
  padding-block: clamp(3rem, 8vw, 6rem);
  background: linear-gradient(178deg, var(--gunmetal) 0%, var(--black) 70%);
}
.error-page__inner { position: relative; z-index: 1; }
.error-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 22vw, 15rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 2px var(--od-lt);
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   19. REVEAL
   -------------------------------------------------------------------------- */

/* Reveal-on-scroll is opt-IN, never opt-out. The hidden state is scoped to
   .js-reveal, which JS only sets once it has confirmed IntersectionObserver is
   available and motion is not reduced. If the script fails to load, throws, or
   the observer never fires, nothing is ever hidden in the first place. */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); }
.js-reveal .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
}
