:root {
  --slate: #1F2A33;      /* hangar slate */
  --slate-2: #2C3B47;
  --aluminum: #D9DDE0;
  --paper: #FAFBFA;
  --yellow: #F2B705;     /* taxiway marking yellow */
  --sky: #3D6B8C;
  --ink: #1F2A33;
  --muted: #55626C;
  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--paper); }
img { max-width: 100%; }
a { color: var(--sky); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; margin: 0 0 .5em; letter-spacing: .005em; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.5rem; font-weight: 600; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); color: var(--slate); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--slate); color: var(--paper); border-bottom: 3px solid var(--yellow); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { color: var(--paper); text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--display); font-size: 1.6rem; font-weight: 700; }
.brand-sub { font-family: var(--display); font-size: .95rem; color: var(--aluminum); font-weight: 500; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--paper); text-decoration: none; font-family: var(--display); font-size: 1.15rem; font-weight: 500; }
.nav a:hover { color: var(--yellow); }
.nav .nav-call { background: var(--yellow); color: var(--slate); padding: 6px 14px; font-weight: 700; }
.nav .nav-call:hover { color: var(--slate); background: #FFD033; }
.nav-toggle { display: none; background: none; border: 2px solid var(--aluminum); color: var(--paper); font-family: var(--display); font-size: 1.1rem; padding: 4px 14px; cursor: pointer; }

/* Hero: runway 21 threshold */
.hero { position: relative; overflow: hidden; background: #3A444C; color: var(--paper); padding: 96px 0 104px; }
.hero::before { /* asphalt texture */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px), radial-gradient(rgba(0,0,0,.18) 1px, transparent 1px);
  background-size: 5px 5px, 7px 7px; background-position: 0 0, 2px 3px;
}
.threshold { position: absolute; right: -2%; top: 0; bottom: 0; width: 46%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; opacity: .9; }
.piano { display: flex; gap: 14px; }
.piano i { display: block; width: 18px; height: 110px; background: rgba(250,251,250,.85); }
.rwy-num { font-family: var(--display); font-weight: 700; font-size: clamp(10rem, 24vw, 20rem); line-height: .8; color: rgba(250,251,250,.88); transform: scaleY(1.35); transform-origin: top; letter-spacing: .04em; }
.hero-copy { position: relative; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); max-width: 13ch; }
.lede { max-width: 54ch; font-size: 1.2rem; color: #E8ECEE; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* Buttons */
.btn { display: inline-block; font-family: var(--display); font-size: 1.25rem; font-weight: 600; padding: 12px 26px; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--yellow); color: var(--slate); }
.btn-primary:hover { background: #FFD033; }
.btn-ghost { border-color: var(--paper); color: var(--paper); }
.btn-ghost:hover { background: var(--paper); color: var(--slate); }
.btn-ghost-dark { border-color: var(--slate); color: var(--slate); margin-top: 8px; }
.btn-ghost-dark:hover { background: var(--slate); color: var(--paper); }

/* Facts strip */
.facts { background: var(--yellow); color: var(--slate); }
.facts-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts-row div { padding: 18px 20px; border-left: 2px solid var(--slate); display: flex; flex-direction: column; }
.facts-row div:first-child { border-left: 0; padding-left: 0; }
.facts strong { font-family: var(--display); font-size: 1.35rem; line-height: 1.1; }
.facts span { font-size: .95rem; }

/* Sections */
.section { padding: 88px 0; }
.section-intro { max-width: 60ch; color: var(--muted); font-size: 1.15rem; margin-bottom: 40px; }
.section-dark { background: var(--slate); color: var(--paper); }
.section-dark a { color: var(--yellow); }
.section-alt { background: var(--aluminum); }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.split p { max-width: 60ch; }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--slate); }
.svc { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--aluminum); }
.svc:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--aluminum); }
.svc p { margin: 0; color: var(--muted); }

/* Avionics panel list styled like a placard */
.panel-list { list-style: none; margin: 0; padding: 0; border: 2px solid var(--aluminum); }
.panel-list li { font-family: var(--display); font-size: 1.3rem; padding: 14px 20px; border-bottom: 1px solid var(--slate-2); background: var(--slate-2); }
.panel-list li:nth-child(odd) { background: #26343F; }
.panel-list li:last-child { border-bottom: 0; }

.quote { margin: 0; padding: 28px 32px; background: var(--slate); color: var(--paper); border-left: 8px solid var(--yellow); }
.quote p { font-size: 1.3rem; line-height: 1.5; margin: 0 0 12px; }
.quote cite { font-family: var(--display); font-style: normal; font-size: 1.1rem; color: var(--aluminum); }

/* Contact */
.contact-list { display: grid; grid-template-columns: 110px 1fr; gap: 8px 16px; margin: 0 0 24px; }
.contact-list dt { font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.contact-list dd { margin: 0; }
.contact-list a { color: var(--slate); font-weight: 600; }

.form { background: var(--paper); padding: 32px; border-top: 6px solid var(--slate); }
.form label { display: block; font-family: var(--display); font-size: 1.1rem; font-weight: 600; margin-bottom: 16px; }
.form input, .form textarea { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; font: inherit; font-family: var(--body); font-weight: 400; font-size: 1rem; border: 2px solid #B9C0C5; background: #fff; color: var(--ink); }
.form input:focus, .form textarea:focus { border-color: var(--slate); }
.form .hp { position: absolute; left: -9999px; }
.form-status { padding: 12px 14px; margin-bottom: 16px; font-weight: 600; }
.form-status.ok { background: #DDEFD9; border-left: 6px solid #2F7A3A; }
.form-status.err { background: #F7DEDA; border-left: 6px solid #A3332A; }

/* Footer */
.site-footer { background: var(--slate); color: var(--aluminum); padding: 28px 0; font-size: .95rem; }
.site-footer a { color: var(--aluminum); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-row p { margin: 0; }

/* Responsive */
@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc, .svc:not(:nth-child(3n+1)) { padding: 24px 20px 28px 0; border-left: 0; }
  .svc:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--aluminum); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .threshold { width: 60%; right: -18%; opacity: .35; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--slate); border-bottom: 3px solid var(--yellow); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 24px; border-top: 1px solid var(--slate-2); }
  .nav .nav-call { text-align: center; margin: 12px 24px; }
  .site-header { position: sticky; }
  .header-row { position: relative; }
  .facts-row { grid-template-columns: 1fr; }
  .facts-row div, .facts-row div:first-child { border-left: 0; padding: 12px 0; border-top: 1px solid rgba(31,42,51,.3); }
  .facts-row div:first-child { border-top: 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc:nth-child(even) { padding-left: 0; border-left: 0; }
  .hero { padding: 64px 0 72px; }
  .threshold { width: 90%; right: -40%; opacity: .22; }
  .form { padding: 22px; }
  .brand-name { font-size: 1.35rem; }
  .brand-sub { font-size: .85rem; }
  .contact-list { grid-template-columns: 90px 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
