:root {
  --navy: #0E244F;
  --ink: #24303F;
  --steel: #5A6472;
  --paper: #FCFCFA;
  --hairline: #D8DDE4;
  --wash: #F2F4F7;
  --go: #2E7D4F;
  --hold: #B07A1E;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Barlow', -apple-system, 'Segoe UI', sans-serif;
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.eyebrow {
  font-family: 'Barlow Semi Condensed', 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 10px;
}

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--hairline);
  background: var(--paper);
}
.site-header .bar {
  max-width: 1060px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.site-header .brand img { height: 40px; width: auto; display: block; }
.site-nav { display: flex; gap: 22px; flex-wrap: wrap; margin-right: auto; }
.site-nav a {
  font-family: 'Barlow Semi Condensed', 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px dashed transparent;
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--navy); border-bottom-color: var(--navy); outline: none; }
.site-nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--navy); }
.btn {
  display: inline-block;
  font-family: 'Barlow Semi Condensed', 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 20px;
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
  cursor: pointer;
}
.btn:hover, .btn:focus-visible { background: var(--navy); color: var(--paper); outline: none; }
.btn.solid { background: var(--navy); color: var(--paper); }
.btn.solid:hover, .btn.solid:focus-visible { background: var(--ink); border-color: var(--ink); }
.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Layout ---------- */
main { flex: 1; }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }
.section { padding: 56px 0; }
.section + .section { border-top: 1px solid var(--hairline); }
h1 { font-size: 34px; font-weight: 600; color: var(--navy); margin: 0 0 12px; line-height: 1.2; }
h2 { font-size: 24px; font-weight: 600; color: var(--navy); margin: 0 0 14px; }
h3 { font-size: 18px; font-weight: 600; color: var(--navy); margin: 0 0 8px; }
p { line-height: 1.65; }
.lede { font-size: 19px; line-height: 1.55; max-width: 58ch; }
.muted { color: var(--steel); }
.note {
  background: var(--wash);
  border-left: 3px solid var(--navy);
  padding: 14px 18px;
  font-size: 15px;
  line-height: 1.6;
  max-width: 66ch;
}

/* Signature route line */
.route { display: block; width: min(380px, 82%); margin: 26px 0 30px; overflow: visible; }
.route.center { margin-left: auto; margin-right: auto; }
.route .lane { stroke: var(--navy); stroke-width: 2; stroke-dasharray: 10 8; fill: none; }
.route .head { fill: var(--navy); }
@media (prefers-reduced-motion: no-preference) {
  .route .lane { animation: travel 2.4s linear infinite; }
  @keyframes travel { to { stroke-dashoffset: -36; } }
}

/* Card grids */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  border: 1px solid var(--hairline);
  padding: 24px 22px;
  background: #fff;
}
.card .tag {
  font-family: 'Barlow Semi Condensed', 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  display: block;
  margin-bottom: 6px;
}
.spec-list { list-style: none; margin: 0; padding: 0; }
.spec-list li { padding: 12px 0; border-bottom: 1px dashed var(--hairline); line-height: 1.55; }
.spec-list li:last-child { border-bottom: none; }
.spec-list strong { color: var(--navy); }

/* Operating-standards strip (spec-sheet look) */
.std-grid {
  display: grid;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.std { background: #fff; padding: 20px 18px; }
.std .code {
  font-family: 'Barlow Semi Condensed', 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
}
.std h3 {
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.std p { font-size: 14.5px; line-height: 1.55; margin: 0; }
.std-foot { font-size: 13px; color: var(--steel); margin-top: 12px; max-width: 72ch; }

/* Status pills */
.pill {
  display: inline-block;
  font-family: 'Barlow Semi Condensed', 'Barlow', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 10px;
  border: 1px solid currentColor;
  border-radius: 2px;
}
.pill.now { color: var(--go); }
.pill.planned { color: var(--hold); }

/* Forms */
label {
  display: block;
  font-family: 'Barlow Semi Condensed', 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 18px 0 6px;
}
input, textarea, select {
  width: 100%;
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--hairline);
  padding: 11px 13px;
}
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--hairline);
  text-align: center;
  padding: 26px 24px 32px;
  font-size: 13.5px;
  color: var(--steel);
  line-height: 1.8;
}
.site-footer a { color: var(--steel); text-decoration: underline; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--navy); outline: none; }
.site-footer .authority {
  font-family: 'Barlow Semi Condensed', 'Barlow', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
}

@media (max-width: 640px) {
  h1 { font-size: 28px; }
  .site-header .bar { gap: 14px; }
  .site-nav { gap: 14px; }
}

/* ---------- Scroll reveal ---------- */
/* Hiding rules are scoped under .js-reveal, which is added by script, so
   content stays visible if JavaScript does not run. */

html { scroll-behavior: smooth; }

.js-reveal .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 700ms cubic-bezier(.22,.61,.36,1),
    transform 700ms cubic-bezier(.22,.61,.36,1);
}

.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js-reveal .reveal .card,
.js-reveal .reveal .std,
.js-reveal .reveal .spec-list li,
.js-reveal .reveal .contact-col {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 600ms cubic-bezier(.22,.61,.36,1),
    transform 600ms cubic-bezier(.22,.61,.36,1);
}

.js-reveal .reveal.is-visible .card,
.js-reveal .reveal.is-visible .std,
.js-reveal .reveal.is-visible .spec-list li,
.js-reveal .reveal.is-visible .contact-col {
  opacity: 1;
  transform: none;
}

.js-reveal .reveal.is-visible .card:nth-child(1),
.js-reveal .reveal.is-visible .std:nth-child(1),
.js-reveal .reveal.is-visible .spec-list li:nth-child(1),
.js-reveal .reveal.is-visible .contact-col:nth-child(1) { transition-delay: 80ms; }

.js-reveal .reveal.is-visible .card:nth-child(2),
.js-reveal .reveal.is-visible .std:nth-child(2),
.js-reveal .reveal.is-visible .spec-list li:nth-child(2),
.js-reveal .reveal.is-visible .contact-col:nth-child(2) { transition-delay: 160ms; }

.js-reveal .reveal.is-visible .card:nth-child(3),
.js-reveal .reveal.is-visible .std:nth-child(3),
.js-reveal .reveal.is-visible .spec-list li:nth-child(3),
.js-reveal .reveal.is-visible .contact-col:nth-child(3) { transition-delay: 240ms; }

.js-reveal .reveal.is-visible .card:nth-child(4),
.js-reveal .reveal.is-visible .std:nth-child(4),
.js-reveal .reveal.is-visible .spec-list li:nth-child(4) { transition-delay: 320ms; }

.js-reveal .reveal.is-visible .spec-list li:nth-child(5) { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-reveal .reveal,
  .js-reveal .reveal .card,
  .js-reveal .reveal .std,
  .js-reveal .reveal .spec-list li,
  .js-reveal .reveal .contact-col {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
