/* =============================================================================
   MDH Systems — Defense & Public Safety Division
   styles.css — shared design system
   -----------------------------------------------------------------------------
   Aesthetic: overhead operational map. Deep slate field, signal-amber for
   waypoints / CTAs / emphasis, cartographic teal for line-work and labels.
   Type: Archivo (display), IBM Plex Sans (body), IBM Plex Mono (labels).
   Rebuilt to match the approved v2 previews. No external deps beyond the
   Google Fonts <link> in each page <head>.
   ========================================================================== */

/* -----------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Field / surfaces */
  --field:        #0b0f12;   /* page background — deep slate */
  --field-2:      #0c1216;   /* subtle alt for large blocks */
  --surface:      #10181c;   /* raised sections / cards */
  --surface-2:    #141e23;   /* nested / hover surface */
  --surface-3:    #0e1418;   /* inset media wells */

  /* Line-work */
  --line:         #22323a;   /* standard hairline border */
  --line-soft:    #1a262c;   /* faint divider */
  --line-strong:  #2a383f;   /* emphasized border (brand ring) */

  /* Ink */
  --ink:          #eef1ee;   /* primary text */
  --ink-dim:      #aeb8b3;   /* secondary text */
  --muted:        #74827c;   /* tertiary / captions */
  --faint:        #4a5854;   /* footer legal, watermark */

  /* Signal amber — waypoints, CTAs, emphasis */
  --amber:        #eba23c;
  --amber-bright: #f4b559;
  --amber-deep:   #c9842a;
  --amber-glow:   rgba(235, 162, 60, 0.22);

  /* Cartographic teal — line-work, labels, secondary paths */
  --teal:         #4f9089;
  --teal-bright:  #6fb7ae;
  --teal-dim:     rgba(79, 144, 137, 0.18);

  /* Status */
  --alert:        #d9534f;

  /* Typography */
  --font-display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --font-body:    'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* Rhythm */
  --wrap:         1180px;
  --gutter:       clamp(1.25rem, 4vw, 3rem);
  --radius:       10px;
  --radius-sm:    6px;

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

/* -----------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  background: var(--field);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* faint coordinate-grid wash over the whole field */
  background-image:
    linear-gradient(var(--teal-dim) 1px, transparent 1px),
    linear-gradient(90deg, var(--teal-dim) 1px, transparent 1px);
  background-size: 72px 72px, 72px 72px;
  background-position: center top;
  background-attachment: fixed;
}

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

svg { height: auto; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

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

::selection {
  background: var(--amber);
  color: #10181c;
}

/* Visible keyboard focus everywhere */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Skip link for keyboard / screen-reader users */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--amber);
  color: #10181c;
  padding: 0.6rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* -----------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.section--tight {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.section--field2 {
  background: var(--field-2);
}

.section--surface {
  background: var(--surface);
  border-block: 1px solid var(--line-soft);
}

/* Generic responsive grids */
.grid {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.6rem);
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Two-column hero-style split */
.hero__grid,
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(1rem, 3vw, 2rem);
}

.split--top { align-items: start; }

/* -----------------------------------------------------------------------------
   4. Typography
   -------------------------------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink);
}

h1.display,
.display--xl {
  font-size: clamp(2.4rem, 6.2vw, 4.4rem);
  letter-spacing: -0.02em;
}

h2.display {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
}

h3.display {
  font-size: clamp(1.12rem, 2vw, 1.4rem);
  line-height: 1.12;
}

/* Amber emphasis inside display headings (used via <em>) */
.display em {
  font-style: normal;
  color: var(--amber);
}

/* Eyebrow / kicker label */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal-bright);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}
/* leading tick before eyebrow text */
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--teal);
  opacity: 0.8;
}
.eyebrow--amber { color: var(--amber); }
.eyebrow--amber::before { background: var(--amber-deep); }
.eyebrow--plain::before { display: none; }

.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  color: var(--ink-dim);
  max-width: 62ch;
}

.muted { color: var(--ink-dim); }
.faint { color: var(--muted); }

p + p { margin-top: 0.9rem; }

strong { color: var(--ink); font-weight: 600; }

/* Monospace coordinate / legal note */
.coord {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--muted);
  padding-left: 1rem;
  border-left: 2px solid var(--line-strong);
}

/* Section heading cluster spacing */
.section > .wrap > .eyebrow { margin-bottom: 0.9rem; }

/* -----------------------------------------------------------------------------
   5. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 18, 0.82);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  border-bottom: 1px solid var(--line-soft);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.brand__mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}
.brand__name span {
  color: var(--amber);
  margin-inline: 0.12em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav__links a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}
.nav__links a:hover { color: var(--ink); background: var(--surface-2); }
.nav__links a.is-active { color: var(--amber); }

/* CTA pill in nav */
.nav-cta {
  color: #10181c !important;
  background: var(--amber);
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: var(--amber-bright) !important;
  color: #10181c !important;
}

/* Hamburger (mobile) */
.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
}
.nav__toggle svg { width: 22px; height: 22px; }
.nav__toggle:hover { background: var(--surface-2); }

/* -----------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform 0.16s var(--ease), background 0.18s var(--ease),
              box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
  white-space: nowrap;
}

.btn__arrow { transition: transform 0.18s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--amber);
  color: #10181c;
}
.btn--primary:hover {
  background: var(--amber-bright);
  box-shadow: 0 0 26px var(--amber-glow);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--teal);
  background: var(--surface-2);
  transform: translateY(-2px);
}

.btn--block { width: 100%; justify-content: center; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.9rem;
}

/* -----------------------------------------------------------------------------
   7. Hero + operational map card
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
}

/* vignette pulling focus to the hero copy */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 15% 20%,
              rgba(235,162,60,0.06), transparent 55%);
  pointer-events: none;
}

.hero__copy { position: relative; z-index: 1; }

.hero .lead { margin-top: 1.4rem; }

/* The signature overhead map */
.mapcard {
  position: relative;
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(79,144,137,0.05),
              0 24px 60px -30px rgba(0,0,0,0.8);
}

.mapcard svg { width: 100%; height: auto; }

/* Corner readouts on the map */
.mapcard__readout {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--teal-bright);
  text-transform: uppercase;
  background: rgba(11,15,18,0.7);
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.mapcard__readout b { color: var(--amber); font-weight: 600; }
.mapcard__readout--tl { top: 1.1rem; left: 1.1rem; }
.mapcard__readout--br { bottom: 1.1rem; right: 1.1rem; }
.mapcard__readout--tr { top: 1.1rem; right: 1.1rem; }
.mapcard__readout--bl { bottom: 1.1rem; left: 1.1rem; }

/* -----------------------------------------------------------------------------
   8. Cells (feature / mission grids)
   -------------------------------------------------------------------------- */
.cell {
  position: relative;
  padding: 1.6rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease),
              background 0.2s var(--ease);
}
.cell:hover {
  border-color: var(--line-strong);
  background: var(--surface-2);
  transform: translateY(-3px);
}

/* index / label above a cell title */
.cell__no {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-bright);
  display: block;
  margin-bottom: 0.75rem;
}

.cell h3 { margin-bottom: 0.55rem; }
.cell p { color: var(--ink-dim); font-size: 0.94rem; }

.cell__icon {
  width: 40px;
  height: 40px;
  color: var(--amber);
  margin-bottom: 1rem;
}
.cell__icon svg { width: 100%; height: 100%; }

/* Cells sharing a hairline column look (home "who we serve") */
.grid--divided .cell {
  background: transparent;
  border: none;
  border-left: 1px solid var(--line);
  border-radius: 0;
  padding-block: 0.4rem;
}
.grid--divided .cell:hover { transform: none; background: transparent; }
.grid--divided .cell:first-child { border-left: none; }

/* -----------------------------------------------------------------------------
   9. Capability blocks (media + copy + list)
   -------------------------------------------------------------------------- */
.cap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: center;
  padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
  border-top: 1px solid var(--line-soft);
}
.cap:first-of-type { border-top: none; }

.cap__media {
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  overflow: hidden;
}
.cap__media svg { width: 100%; height: auto; }

.cap h3 { margin-bottom: 0.7rem; }
.cap > div > .muted { margin-bottom: 1rem; }

/* Amber-diamond bullet list inside cap + generic content lists */
.cap ul,
.doc-list {
  display: grid;
  gap: 0.55rem;
}
.cap ul li,
.doc-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink-dim);
  font-size: 0.92rem;
  line-height: 1.55;
}
.cap ul li::before,
.doc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  background: var(--amber);
  transform: rotate(45deg);
}

/* alternate the media side on every other cap */
.cap:nth-of-type(even) .cap__media { order: 2; }

/* -----------------------------------------------------------------------------
   10. Proof strip (stat row)
   -------------------------------------------------------------------------- */
.proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.proof__item {
  background: var(--field);
  padding: 1.6rem 1.25rem;
  text-align: center;
}
.proof__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.45rem;
}
.proof__num span { color: var(--amber); }
.proof__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* -----------------------------------------------------------------------------
   11. Threat triad / numbered step blocks (deck: Detect / Decide / Defend)
   -------------------------------------------------------------------------- */
.triad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.4vw, 1.6rem);
  margin-top: 2.4rem;
}
.triad__item {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.6rem;
  overflow: hidden;
}
.triad__item::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 100%;
  background: linear-gradient(var(--amber), var(--amber-deep));
  opacity: 0.85;
}
.triad__no {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--line-strong);
  margin-bottom: 0.75rem;
}
.triad__item h3 { margin-bottom: 0.5rem; }
.triad__item p { color: var(--ink-dim); font-size: 0.94rem; }

/* -----------------------------------------------------------------------------
   12. Catalog tables (training / C-UAS course lists from the brief)
   -------------------------------------------------------------------------- */
.catalog {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 1.8rem;
}
.catalog__row {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 1.5rem;
  padding: 1.15rem 1.4rem;
  border-top: 1px solid var(--line-soft);
  transition: background 0.16s var(--ease);
}
.catalog__row:first-child { border-top: none; }
.catalog__row:hover { background: var(--surface-2); }

.catalog__row--head {
  background: var(--surface);
  border-top: none;
}
.catalog__row--head span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.catalog__course {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--ink);
  line-height: 1.2;
}
.catalog__focus {
  color: var(--ink-dim);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* small amber index badge that can precede a course name */
.catalog__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--amber);
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

/* -----------------------------------------------------------------------------
   13. Deliver / feature icon rows (deck: How We Deliver)
   -------------------------------------------------------------------------- */
.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.35rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.feature:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.feature__glyph {
  flex: none;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 1rem;
}
.feature__glyph svg { width: 20px; height: 20px; }
.feature h3 { margin-bottom: 0.35rem; }
.feature p { color: var(--ink-dim); font-size: 0.9rem; }

/* -----------------------------------------------------------------------------
   14. Roster (audiences we serve — simple marked list)
   -------------------------------------------------------------------------- */
.roster {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 2rem;
  margin-top: 1.8rem;
}
.roster li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--ink-dim);
  border-bottom: 1px solid var(--line-soft);
  padding-block: 0.7rem;
}
.roster li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--teal-bright);
  transform: rotate(45deg);
}

/* -----------------------------------------------------------------------------
   15. Roadmap (deck: Now / Next / Ahead)
   -------------------------------------------------------------------------- */
.roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.4vw, 1.6rem);
  margin-top: 2.4rem;
  position: relative;
}
.roadmap__stage {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.roadmap__phase {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}
.roadmap__phase::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px var(--amber-glow);
}
.roadmap__stage h3 { margin-bottom: 0.5rem; }
.roadmap__stage p { color: var(--ink-dim); font-size: 0.93rem; }

/* -----------------------------------------------------------------------------
   16. Leadership (deck: Who We Are — veteran leaders, no personal contacts)
   -------------------------------------------------------------------------- */
.leaders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.4vw, 1.5rem);
  margin-top: 1.8rem;
}
.leader {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}
.leader__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  text-transform: uppercase;
  color: var(--ink);
}
.leader__role {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-top: 0.3rem;
}
.leader__creds {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.leader__creds span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
}

/* -----------------------------------------------------------------------------
   17. CTA block
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-3) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(235,162,60,0.08), transparent 60%);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  padding: clamp(2rem, 5vw, 3.25rem);
  max-width: 70ch;
}
.cta__inner h2 { margin-bottom: 0.8rem; }
.cta__inner .muted { margin-bottom: 0.5rem; }

/* -----------------------------------------------------------------------------
   18. Contact form (Request a brief — no personal info exposed)
   -------------------------------------------------------------------------- */
.form-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 0.5rem;
}
.field label .req { color: var(--amber); }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.16s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--faint); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber);
}
.field textarea { resize: vertical; min-height: 130px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Direct-contact side panel (org-level, no personal details) */
.contact-aside {
  display: grid;
  gap: 1rem;
  align-content: start;
}
.contact-aside .info {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
}
.contact-aside .info h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 0.4rem;
}
.contact-aside .info p { color: var(--ink-dim); font-size: 0.93rem; }

/* Success / thanks state */
.form-thanks {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}
.form-thanks svg { width: 40px; height: 40px; color: var(--amber); margin: 0 auto 1rem; }
.form-thanks h3 { margin-bottom: 0.5rem; }
.form-thanks.is-shown { display: block; }

/* -----------------------------------------------------------------------------
   19. Page head (interior page hero)
   -------------------------------------------------------------------------- */
.pagehead {
  padding-block: clamp(2.75rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem);
}
.pagehead h1 { margin-bottom: 1.1rem; max-width: 18ch; }
.pagehead .lead { max-width: 68ch; }

/* -----------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--field-2);
  border-top: 1px solid var(--line-soft);
  margin-top: clamp(2rem, 5vw, 4rem);
}
.footer { padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.5rem; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.footer__brand p {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 34ch;
  margin-top: 1rem;
}
.footer h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 0.9rem;
}
.footer a:not(.brand) {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  padding-block: 0.3rem;
  transition: color 0.16s var(--ease);
}
.footer a:not(.brand):hover { color: var(--amber); }
.footer__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--faint);
}

/* -----------------------------------------------------------------------------
   21. Utilities
   -------------------------------------------------------------------------- */
.u-center      { text-align: center; }
.u-mt-0        { margin-top: 0 !important; }
.u-mt-1        { margin-top: 0.75rem; }
.u-mt-2        { margin-top: 1.5rem; }
.u-mt-3        { margin-top: 2.5rem; }
.u-maxw-sm     { max-width: 46ch; }
.u-maxw-md     { max-width: 58ch; }
.u-nowrap      { white-space: nowrap; }
.u-amber       { color: var(--amber); }
.u-teal        { color: var(--teal-bright); }

/* Section header cluster used across pages */
.sec-head { max-width: 34ch; }
.sec-head h2 { margin-top: 0.2rem; }
.sec-head--wide { max-width: 58ch; }
.sec-head p { margin-top: 0.8rem; }

/* Divider tick row */
.rule {
  height: 1px;
  background: var(--line-soft);
  border: none;
  margin-block: clamp(2rem, 5vw, 3.5rem);
}

/* Legacy placeholder marker (kept defined; not used on the live build) */
.ph {
  color: var(--amber);
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-offset: 3px;
}

/* -----------------------------------------------------------------------------
   22. Motion — scroll reveal + map drawing (honors reduced-motion)
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* topographic contour draw-in */
.contour-draw path {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: draw 2.6s var(--ease) forwards;
}
.contour-draw path:nth-child(2) { animation-delay: 0.15s; }
.contour-draw path:nth-child(3) { animation-delay: 0.30s; }
.contour-draw path:nth-child(4) { animation-delay: 0.45s; }
.contour-draw path:nth-child(5) { animation-delay: 0.60s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* flight search pattern draw-in */
.flightpath {
  animation: draw-path 4s var(--ease) forwards;
}
@keyframes draw-path { to { stroke-dashoffset: 0; } }

/* aircraft riding a path (offset-path where supported) */
.aircraft {
  offset-path: var(--track);
  offset-rotate: auto;
  animation: fly 9s linear infinite;
}
@keyframes fly {
  from { offset-distance: 0%; }
  to   { offset-distance: 100%; }
}

/* subtle pulse for live/alert dots */
@keyframes ring-pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--amber-glow); }
  55%      { box-shadow: 0 0 0 10px rgba(235,162,60,0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .contour-draw path,
  .flightpath { animation: none; stroke-dashoffset: 0; }
  .aircraft { animation: none; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

/* -----------------------------------------------------------------------------
   23. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero__grid,
  .split {
    grid-template-columns: 1fr;
  }
  .hero .mapcard { order: -1; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  /* Mobile navigation drawer */
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    background: rgba(11,15,18,0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 1.5rem;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  }
  .nav__links.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav__links a { padding: 0.85rem 0.5rem; font-size: 0.85rem; }
  .nav-cta { text-align: center; margin-top: 0.4rem; }

  .cap,
  .cap:nth-of-type(even) {
    grid-template-columns: 1fr;
  }
  .cap__media,
  .cap:nth-of-type(even) .cap__media { order: -1; }

  .triad,
  .roadmap { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr; }
  .proof { grid-template-columns: repeat(2, 1fr); }
  .roster { grid-template-columns: 1fr; }
  .leaders { grid-template-columns: 1fr; }
  .catalog__row { grid-template-columns: 1fr; gap: 0.4rem; }
  .catalog__row--head { display: none; }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .grid--4,
  .proof { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* -----------------------------------------------------------------------------
   24. Print (leave-behind friendly)
   -------------------------------------------------------------------------- */
@media print {
  body { background: #fff; color: #000; background-image: none; }
  .site-header, .nav__toggle, .btn, .cta, .form-panel { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  a { color: #000; }
}

/* =============================================================================
   End styles.css
   ========================================================================== */
