/* Top Flight Wash — site styles */
:root {
  --navy: #1240A8;
  --navy-deep: #0B2A75;
  --red: #C0392B;
  --white: #F0F4FA;
  --ice: #E2EAF6;
  --steel: #4A6080;
  --ink: #0A1628;
  --ink-soft: #1B2940;
  --grid: rgba(18, 64, 168, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: #fff; color: var(--ink); font-family: 'Barlow', sans-serif; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.display { font-family: 'Bebas Neue', sans-serif; font-weight: 400; letter-spacing: 0.01em; line-height: 0.92; }
.headline { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.05; }
.label { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; font-size: 11px; color: var(--navy); }
.body { font-family: 'Barlow', sans-serif; font-weight: 400; line-height: 1.65; color: var(--ink-soft); }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; letter-spacing: 0.04em; }

/* -------- Nav -------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,0.78);
  border-bottom: 1px solid rgba(18,64,168,0.08);
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand .lockup { display: flex; flex-direction: column; line-height: 0.95; }
.nav-brand .lockup b, .nav-brand .lockup span { font-family: 'Bebas Neue', sans-serif; font-size: 18px; letter-spacing: 0.04em; white-space: nowrap; }
.nav-brand .lockup b { color: var(--ink); }
.nav-brand .lockup span { color: var(--navy); }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a { font-family: 'Barlow Condensed', sans-serif; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; font-size: 12px; color: var(--ink); transition: color .2s; }
.nav-links a:hover { color: var(--navy); }
.nav-cta {
  background: var(--navy); color: #fff; padding: 10px 18px;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; font-size: 12px;
  display: inline-flex; align-items: center; gap: 8px; transition: background .2s;
}
.nav-cta:hover { background: var(--navy-deep); }

/* -------- Hero -------- */
.hero {
  position: relative; min-height: 100vh;
  padding: 140px 40px 80px;
  display: grid; grid-template-columns: 1fr; align-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(18,64,168,0.05), transparent 60%),
    linear-gradient(180deg, #fff 0%, #fff 60%, var(--white) 100%);
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
}
.hero-meta-top {
  display: flex; gap: 40px; align-items: center; margin-bottom: 60px;
  font-family: 'Barlow Condensed', sans-serif; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--steel);
}
.hero-meta-top .pulse { width: 8px; height: 8px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 0 rgba(46,204,113,.6); animation: pulse 2s infinite; display: inline-block; margin-right: 8px; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46,204,113,.6); }
  70% { box-shadow: 0 0 0 12px rgba(46,204,113,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); }
}
.hero-title { display: flex; flex-direction: column; }
.hero-title .l1 { font-size: clamp(80px, 13vw, 220px); color: var(--ink); }
.hero-title .l2 { font-size: clamp(80px, 13vw, 220px); color: var(--navy); margin-left: 0; }
.hero-sub { margin-top: 28px; font-size: clamp(20px, 2.2vw, 32px); color: var(--steel); max-width: 900px; }
.hero-row {
  margin-top: 80px; display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 24px; align-items: end;
  border-top: 1px solid rgba(18,64,168,0.15); padding-top: 24px;
}
.hero-stat .v { font-family: 'Bebas Neue', sans-serif; font-size: 44px; color: var(--navy); line-height: 1; }
.hero-stat .k { margin-top: 6px; font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: 0.18em; font-size: 11px; color: var(--steel); }
.hero-cta-group { display: flex; gap: 12px; }
.btn-primary { background: var(--navy); color: #fff; padding: 16px 22px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; font-size: 13px; transition: background .2s; display: inline-flex; align-items: center; gap: 10px; }
.btn-primary:hover { background: var(--navy-deep); }
.btn-ghost { color: var(--ink); padding: 16px 22px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; font-size: 13px; border: 1px solid rgba(10,22,40,0.2); transition: all .2s; }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* -------- HUD corner brackets -------- */
.hud-corners { position: absolute; inset: 24px; pointer-events: none; }
.hud-corners::before, .hud-corners::after,
.hud-corners > span:first-child, .hud-corners > span:last-child {
  content: ''; position: absolute; width: 24px; height: 24px; border: 1.5px solid var(--navy); opacity: 0.5;
}
.hud-corners::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hud-corners::after { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hud-corners > span:first-child { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hud-corners > span:last-child { bottom: 0; right: 0; border-left: 0; border-top: 0; }

/* -------- Drone overlay (scroll-tracked) -------- */
.drone-track {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  pointer-events: none; z-index: 30;
}
.drone {
  position: absolute; width: 120px; height: 120px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 18px 18px rgba(18,64,168,0.18));
  transition: filter .3s;
}
.drone .body { animation: hover 2.4s ease-in-out infinite alternate; transform-origin: center; }
@keyframes hover { from { transform: translateY(-3px); } to { transform: translateY(3px); } }
.rotor { transform-origin: center; animation: spin .12s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.contrail-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 29; }

/* -------- Section common -------- */
section { position: relative; padding: 120px 40px; }
.section-head {
  display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: end;
  margin-bottom: 80px;
}
.section-head .num { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; font-size: 11px; color: var(--navy); margin-bottom: 12px; }
.section-head h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(56px, 7vw, 110px); line-height: 0.92; color: var(--ink); }
.section-head h2 .accent { color: var(--navy); }
.section-head .lede { font-size: 20px; color: var(--steel); max-width: 540px; }

/* -------- Capabilities -------- */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(18,64,168,0.12); border: 1px solid rgba(18,64,168,0.12); }
.cap-card { background: #fff; padding: 32px 28px; min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; transition: background .2s; cursor: pointer; }
.cap-card:hover { background: var(--white); }
.cap-card .num { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; letter-spacing: 0.22em; color: var(--navy); }
.cap-card h3 { font-family: 'Bebas Neue', sans-serif; font-size: 36px; margin-top: 16px; color: var(--ink); line-height: 0.95; }
.cap-card p { font-size: 15px; color: var(--steel); margin-top: 14px; }
.cap-card .meta { display: flex; gap: 16px; margin-top: auto; padding-top: 24px; font-family: 'Barlow Condensed', sans-serif; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel); border-top: 1px solid rgba(18,64,168,0.1); }

/* -------- Tagline band -------- */
.tagline-band {
  background: var(--navy); color: #fff; padding: 140px 40px;
  position: relative; overflow: hidden;
}
.tagline-band .bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 80px 80px;
}
.tagline-band h2 { position: relative; font-family: 'Bebas Neue', sans-serif; font-size: clamp(80px, 13vw, 220px); line-height: 0.9; }
.tagline-band h2 .stroke { -webkit-text-stroke: 2px #fff; color: transparent; }
.tagline-band .tag-meta { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 60px; font-family: 'Barlow Condensed', sans-serif; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.tagline-band .tag-meta > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tagline-band .tag-meta b { color: #fff; display: block; font-weight: 700; }
@media (max-width: 900px){ .tagline-band .tag-meta { grid-template-columns: repeat(2, 1fr); } }

/* -------- Process / Mission flow -------- */
.process { background: var(--white); }
.process-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(18,64,168,0.15); margin-top: 40px; }
.process-step { background: var(--white); padding: 36px 28px; position: relative; }
.process-step .step-num { font-family: 'Bebas Neue', sans-serif; font-size: 64px; color: var(--navy); line-height: 1; }
.process-step .step-num::after { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--red); margin-left: 8px; vertical-align: top; margin-top: 12px; }
.process-step h4 { font-family: 'Bebas Neue', sans-serif; font-size: 28px; margin-top: 12px; color: var(--ink); }
.process-step p { font-size: 14px; color: var(--steel); margin-top: 10px; }

/* -------- Squadron -------- */
.squadron { background: #fff; }
.squad-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.squad-card { background: #fff; border: 1px solid rgba(18,64,168,0.12); position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s; cursor: pointer; }
.squad-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(18,64,168,0.3); }
.squad-photo {
  aspect-ratio: 4/5; position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, var(--ice) 0 12px, var(--white) 12px 24px);
  display: flex; align-items: center; justify-content: center;
}
.squad-photo .ph-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.2em; color: var(--steel); text-align: center; line-height: 1.6; }
.squad-photo .corner-tag {
  position: absolute; top: 14px; left: 14px; background: var(--navy); color: #fff;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 10px; letter-spacing: 0.2em; padding: 5px 8px; text-transform: uppercase;
  white-space: nowrap;
}
.squad-photo .corner-id {
  position: absolute; top: 14px; right: 14px; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--ink); background: rgba(255,255,255,0.85); padding: 4px 6px;
}
.squad-info { padding: 20px; border-top: 1px solid rgba(18,64,168,0.12); }
.squad-info .callsign { font-family: 'Bebas Neue', sans-serif; font-size: 30px; color: var(--navy); line-height: 1; }
.squad-info .role { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); margin-top: 8px; }
.squad-info .name { font-family: 'Barlow', sans-serif; font-size: 13px; color: var(--steel); margin-top: 4px; }

/* -------- Showcase / Imagery -------- */
.showcase { padding: 0; }
.showcase-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1px; background: rgba(18,64,168,0.12); }
.showcase-tile { background: #fff; aspect-ratio: 16/10; position: relative; overflow: hidden; }
.showcase-tile.tall { aspect-ratio: auto; height: 100%; min-height: 480px; }
.placeholder {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, var(--ice) 0 16px, var(--white) 16px 32px);
  display: flex; align-items: center; justify-content: center;
}
.placeholder .label-stack { text-align: center; }
.placeholder .label-stack .pl-cat { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; letter-spacing: 0.22em; color: var(--navy); text-transform: uppercase; }
.placeholder .label-stack .pl-name { font-family: 'Bebas Neue', sans-serif; font-size: 32px; color: var(--ink); margin-top: 6px; }
.placeholder .label-stack .pl-spec { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--steel); margin-top: 6px; }
.tile-meta {
  position: absolute; left: 24px; bottom: 24px; right: 24px; display: flex; justify-content: space-between; align-items: end;
  z-index: 2;
}
.tile-meta .ttl { font-family: 'Bebas Neue', sans-serif; font-size: 36px; color: var(--ink); line-height: 1; }
.tile-meta .ssm { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--steel); margin-top: 8px; }
.tile-meta .badge { font-family: 'Barlow Condensed', sans-serif; font-size: 10px; letter-spacing: 0.2em; padding: 4px 8px; background: var(--navy); color: #fff; text-transform: uppercase; }
.tile-corner-l, .tile-corner-r {
  position: absolute; top: 16px; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--steel); z-index: 2;
}
.tile-corner-l { left: 16px; }
.tile-corner-r { right: 16px; }

/* -------- Service area -------- */
.service { background: #fff; }
.service-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.service-list { display: flex; flex-direction: column; }
.service-list .row { display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 20px; padding: 22px 0; border-bottom: 1px solid rgba(18,64,168,0.1); transition: padding .2s; }
.service-list .row:hover { padding-left: 12px; }
.service-list .row .dot { width: 8px; height: 8px; background: var(--navy); border-radius: 50%; justify-self: center; }
.service-list .row .city { font-family: 'Bebas Neue', sans-serif; font-size: 28px; color: var(--ink); line-height: 1; }
.service-list .row .state { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; letter-spacing: 0.2em; color: var(--steel); text-transform: uppercase; margin-top: 4px; }
.service-list .row .stat { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--navy); }
.service-map {
  background: var(--white); border: 1px solid rgba(18,64,168,0.12);
  aspect-ratio: 5/4; position: relative; overflow: hidden;
}
.map-svg { width: 100%; height: 100%; }
.map-pin { fill: var(--red); }
.map-pin.hq { fill: var(--navy); }
.map-readout {
  position: absolute; bottom: 16px; left: 16px; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--ink); background: rgba(255,255,255,0.92); padding: 8px 10px; border: 1px solid rgba(18,64,168,0.12);
}

/* -------- CTA Final -------- */
.final { background: var(--ink); color: #fff; padding: 160px 40px; position: relative; overflow: hidden; }
.final .bg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 100px 100px; }
.final-content { position: relative; max-width: 1000px; }
.final h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(64px, 9vw, 160px); line-height: 0.9; }
.final h2 .red { color: var(--red); }
.final p { font-size: 22px; color: rgba(255,255,255,0.7); margin-top: 24px; max-width: 640px; }
.final-cta-row { display: flex; gap: 16px; margin-top: 48px; }
.final .btn-red { background: var(--red); color: #fff; }
.final .btn-red:hover { background: #a02e22; }
.final .btn-light { color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.final .btn-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* -------- Footer -------- */
footer { background: var(--ink); color: rgba(255,255,255,0.6); padding: 40px; border-top: 1px solid rgba(255,255,255,0.08); }
.foot-row { display: flex; justify-content: space-between; gap: 24px; align-items: center; flex-wrap: wrap; }
.foot-meta { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; }
.foot-links { display: flex; gap: 32px; font-family: 'Barlow Condensed', sans-serif; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; }
.foot-links a { transition: color .2s; }
.foot-links a:hover { color: #fff; }

/* -------- Scroll progress -------- */
.scroll-progress {
  position: fixed; left: 0; top: 0; height: 2px; background: var(--navy);
  z-index: 60; width: 0%; transition: width .15s;
}

/* -------- Altitude HUD (left rail) -------- */
.altitude-hud {
  position: fixed; left: 16px; top: 50%; transform: translateY(-50%);
  z-index: 40; pointer-events: none;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--steel);
  display: flex; flex-direction: column; gap: 4px; align-items: flex-start;
  opacity: 0; transition: opacity .4s ease;
}
.altitude-hud.visible { opacity: 1; }
@media (max-width: 1200px) { .altitude-hud { display: none; } }
.altitude-hud .alt-num { font-family: 'Bebas Neue', sans-serif; font-size: 20px; color: var(--navy); letter-spacing: 0.05em; }
.altitude-hud .alt-bar { width: 2px; height: 200px; background: linear-gradient(to bottom, transparent, var(--navy) 20%, var(--navy) 80%, transparent); position: relative; margin: 8px 0; }
.altitude-hud .alt-marker { position: absolute; left: -3px; width: 8px; height: 2px; background: var(--red); transition: top .2s; }

/* -------- Pentagon mark (logo) -------- */
.pentagon { width: 28px; height: 28px; }
.pentagon path { stroke: var(--navy); stroke-width: 1.6; fill: none; }

/* -------- Responsive -------- */
@media (max-width: 1100px) {
  .cap-grid, .squad-grid, .process-row { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid, .service-wrap { grid-template-columns: 1fr; }
  .hero-row { grid-template-columns: repeat(2, 1fr); }
  .section-head { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .cap-grid, .squad-grid, .process-row, .hero-row { grid-template-columns: 1fr; }
  section { padding: 80px 20px; }
  .hero { padding: 120px 20px 60px; }
  .nav { padding: 14px 20px; }
  .altitude-hud { display: none; }
}
