/* 05 Night cockpit — dark panel, amber and green readouts, monospace data */
:root {
  --bg: #0a0e13;
  --panel: #111820;
  --line: #233040;
  --text: #e4eaf0;
  --muted: #8b99a8;
  --amber: #ffb224;
  --green: #4fdc8a;
  --mono: "JetBrains Mono", "SF Mono", Menlo, monospace;
  --sans: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 5vw, 64px);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; padding: 0; }
.mono { font-family: var(--mono); }
.amber { color: var(--amber); }
.green { color: var(--green); }

/* Top bar */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 32px; height: 58px; padding: 0 var(--pad); background: rgba(10, 14, 19, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; }
.top a { text-decoration: none; }
.brand { font-weight: 700; display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand i { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.nav { display: flex; gap: 26px; color: var(--muted); }
.nav a:hover { color: var(--text); }
.call { color: var(--amber); border: 1px solid var(--amber); padding: 6px 14px; border-radius: 3px; }
.call:hover { background: var(--amber); color: var(--bg); }

/* Hero */
.hero { position: relative; min-height: min(760px, calc(100vh - 58px)); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; filter: saturate(.55) brightness(.5) contrast(1.1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,14,19,.94) 0%, rgba(10,14,19,.7) 45%, rgba(10,14,19,.15) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(10,14,19,0) 30%); }
.hero-in { position: relative; z-index: 1; padding: 80px var(--pad) 48px; max-width: 760px; }
.hero .mono { font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; }
h1 { font-weight: 700; font-size: clamp(48px, 8.4vw, 112px); line-height: .98; letter-spacing: -0.03em; margin: 18px 0 22px; }
.lede { font-size: 19px; color: #c2ccd6; max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { font-family: var(--mono); font-size: 14.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; padding: 14px 22px; border-radius: 3px; background: var(--amber); color: var(--bg); border: 1px solid var(--amber); }
.btn:hover { background: #ffc552; }
.btn.ghost { background: transparent; color: var(--text); border-color: #5a6b7d; }
.btn.ghost:hover { border-color: var(--text); background: transparent; }
.readout { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); background: rgba(17, 24, 32, .82); }
.readout div { padding: 18px var(--pad) 18px 24px; border-left: 1px solid var(--line); }
.readout div:first-child { border-left: 0; padding-left: var(--pad); }
.readout dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.readout dd { margin: 4px 0 0; font-size: 15.5px; font-weight: 500; }

/* Sections */
.sec { padding: clamp(64px, 9vw, 112px) var(--pad); border-bottom: 1px solid var(--line); }
.tag { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
h2 { font-weight: 700; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 40px; }
h3 { font-weight: 700; font-size: 25px; line-height: 1.15; letter-spacing: -0.01em; }
h4 { font-weight: 700; font-size: 18px; margin-bottom: 10px; }

/* Ops panels */
.ops { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ops article { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 26px 24px 22px; display: flex; flex-direction: column; }
.ops .mono.amber { font-size: 12.5px; letter-spacing: .18em; margin-bottom: 14px; }
.ops h3 + p { color: var(--muted); margin: 10px 0 22px; }
.fig { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 17px; font-weight: 700; color: var(--green); }
.checks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 48px; }
.checks li { font-size: 14px; color: var(--muted); padding: 7px 0 7px 24px; border-top: 1px solid var(--line); position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 2px; color: var(--green); }

/* Fleet board */
.board { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); overflow: hidden; }
.brow { display: grid; grid-template-columns: 1.5fr .6fr 1.5fr 1.2fr .9fr 1.1fr; gap: 12px; padding: 15px 24px; border-top: 1px solid var(--line); font-size: 15px; align-items: baseline; }
.brow:first-child { border-top: 0; }
.bhead { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: #0d131a; }
.brow .ac { font-weight: 700; font-size: 17px; letter-spacing: .04em; }
.brow .amber { font-weight: 700; font-size: 17px; }
.brow:not(.bhead):hover { background: #16202b; }
.dim { color: #5f6d7c; }
.note { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* Crew */
.crew { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.crew h2 { margin-bottom: 24px; }
.crew p { color: #c2ccd6; }
.crew p + p { margin-top: 14px; }
.frames { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.frames img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); filter: saturate(.8); }
.frames figcaption { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 8px; }

/* Briefing */
.brief { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 6px; }
.brief div { padding: 24px; border-left: 1px solid var(--line); }
.brief div:first-child { border-left: 0; }
.brief h4 { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.brief p { color: var(--muted); font-size: 16px; }

/* Contact */
.contact { padding: clamp(64px, 9vw, 112px) var(--pad) 32px; }
.freq { display: block; width: fit-content; font-family: var(--mono); font-weight: 700; font-size: clamp(40px, 10vw, 136px); line-height: 1; letter-spacing: -0.04em; color: var(--amber); text-decoration: none; text-shadow: 0 0 34px rgba(255, 178, 36, .35); margin: 8px 0 48px; }
.freq:hover { color: #ffc552; }
.cgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; border-top: 1px solid var(--line); padding-top: 24px; font-size: 14.5px; line-height: 1.8; }
.cgrid span { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.cgrid a { text-underline-offset: 4px; }
.cgrid a:hover { color: var(--amber); }
.copy { margin-top: 56px; font-size: 12.5px; color: var(--muted); }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

@media (max-width: 900px) {
  .nav { display: none; }
  .ops, .crew { grid-template-columns: 1fr; }
  .checks, .brief, .readout { grid-template-columns: repeat(2, 1fr); }
  .readout div { border-left: 0; padding: 14px var(--pad); border-top: 1px solid var(--line); }
  .readout div:nth-child(-n+2) { border-top: 0; }
  .brief div { border-left: 0; border-top: 1px solid var(--line); }
  .brief div:nth-child(-n+2) { border-top: 0; }
  .brief div:nth-child(even) { border-left: 1px solid var(--line); }
  .bhead { display: none; }
  .brow { grid-template-columns: 1fr auto; gap: 2px 12px; padding: 16px 18px; }
  .brow > :nth-child(2), .brow > :nth-child(3) { display: none; }
  .brow > :nth-child(4) { grid-column: 1; grid-row: 2; color: var(--muted); font-size: 13.5px; }
  .brow > :nth-child(5) { grid-column: 2; grid-row: 1; text-align: right; }
  .brow > :nth-child(6) { grid-column: 2; grid-row: 2; text-align: right; font-size: 13px; }
  .cgrid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .checks, .brief { grid-template-columns: 1fr; }
  .brief div:nth-child(even) { border-left: 0; }
  .brief div:nth-child(2) { border-top: 1px solid var(--line); }
  .top { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Plane logo */
.brand img { width: 68px; height: auto; }
.hero-plane { width: 190px; height: auto; margin-bottom: 26px; filter: drop-shadow(0 0 22px rgba(255, 196, 40, .35)); }
@media (max-width: 520px) { .brand img { width: 52px; } }

.call, .brand { white-space: nowrap; }
@media (max-width: 420px) { .top { font-size: 12px; letter-spacing: .04em; } .call { padding: 6px 10px; } }
