/* ============================================================
   Shelton Aviation — raleighexechangar.com
   Tokens, themes, components. Hand-written; no framework.
   ============================================================ */

:root {
  /* brand */
  --navy:   #142853;
  --deep:   #0B1A3A;
  --slate:  #495372;
  --mist:   #919AAC;
  --haze:   #C2CED5;
  --paper:  #F7F8FA;
  --white:  #FEFEFE;
  --beacon: #E4901F;
  --beacon-ink: #1a1206;

  /* semantic (light) */
  --bg:        var(--paper);
  --surface:   var(--white);
  --surface-2: #EEF1F5;
  --ink:       #0F1D3A;
  --ink-2:     var(--slate);
  --ink-3:     #6B7690;
  --rule:      #DCE2EA;
  --rule-2:    var(--haze);
  --band:      var(--navy);
  --band-ink:  #F4F6FA;
  --band-ink-2:#B9C4D6;
  --band-rule: rgba(255,255,255,.14);
  --accent:    var(--beacon);
  --accent-ink:var(--beacon-ink);
  --ok:        #2E8B57;
  --shadow:    0 1px 2px rgba(15,29,58,.06), 0 12px 32px -12px rgba(15,29,58,.18);

  /* type */
  /* Apple look: San Francisco on Apple devices, Inter (closest metric match) everywhere else */
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --body:    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono:    ui-monospace, "SF Mono", "Geist Mono", Menlo, Consolas, monospace;

  /* layout */
  --measure: 1180px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 14px;
  --radius-sm: 8px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:        #0B1426;
    --surface:   #111C33;
    --surface-2: #172441;
    --ink:       #EEF2F8;
    --ink-2:     #B7C2D6;
    --ink-3:     #8A97B0;
    --rule:      #223052;
    --rule-2:    #2C3B5F;
    --band:      #0B1A3A;
    --band-ink:  #F4F6FA;
    --band-ink-2:#B9C4D6;
    --band-rule: rgba(255,255,255,.12);
    --shadow:    0 1px 2px rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg:        #0B1426;
  --surface:   #111C33;
  --surface-2: #172441;
  --ink:       #EEF2F8;
  --ink-2:     #B7C2D6;
  --ink-3:     #8A97B0;
  --rule:      #223052;
  --rule-2:    #2C3B5F;
  --band:      #0B1A3A;
  --band-ink:  #F4F6FA;
  --band-ink-2:#B9C4D6;
  --band-rule: rgba(255,255,255,.12);
  --shadow:    0 1px 2px rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.6);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -0.022em; line-height: 1.07; margin: 0; text-wrap: balance; font-weight: 600; }
h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 700; letter-spacing: -0.028em; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 600; letter-spacing: -0.015em; }
p { margin: 0; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.32rem); line-height: 1.45; letter-spacing: -0.012em; color: var(--ink-2); max-width: 62ch; text-wrap: pretty; font-weight: 400; }
.measure { max-width: 65ch; }
.eyebrow {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); }
.band .eyebrow { color: var(--band-ink-2); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--measure); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--body); font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 16px 24px; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #F0A030; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule-2); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost.on-dark:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #1B3670; }
.btn svg { width: 18px; height: 18px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: #fff;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
.nav-inner { max-width: var(--measure); margin-inline: auto; padding: 14px var(--gutter); display: flex; align-items: center; gap: 24px; }
.nav.solid { background: color-mix(in srgb, var(--surface) 86%, transparent); color: var(--ink); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--rule); }
.brand { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; }
.brand img { height: 34px; width: auto; display: block; }
.brand .logo-color { display: none; }
.nav.solid .brand .logo-white, .nav.open .brand .logo-white { display: none; }
.nav.solid .brand .logo-color, .nav.open .brand .logo-color { display: block; }
.nav.light-start:not(.solid):not(.open) .brand .logo-white { display: none; }
.nav.light-start:not(.solid):not(.open) .brand .logo-color { display: block; }
.nav-links { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.nav-links a { text-decoration: none; font-size: .95rem; font-weight: 500; padding: 8px 12px; border-radius: 999px; opacity: .92; }
.nav-links a:hover { background: rgba(127,127,127,.14); opacity: 1; }
.nav-cta { margin-left: 8px; padding: 11px 18px; font-size: .92rem; }
.nav-toggle { display: none; margin-left: auto; background: transparent; border: 0; color: inherit; width: 44px; height: 44px; border-radius: 999px; cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; }
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: 100%; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px var(--gutter) 16px; background: var(--surface); color: var(--ink); box-shadow: 0 16px 32px -16px rgba(0,0,0,.4); }
  .nav.open .nav-links { display: flex; }
  .nav.open { background: var(--surface); color: var(--ink); }
  .nav-links a { padding: 14px 12px; font-size: 1.05rem; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff; background: var(--deep);
  min-height: min(88vh, 900px); display: grid; align-items: end; overflow: hidden;
}
.hero-media, .hero-media.ph-wrap { position: absolute; inset: 0; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero-media.front img { object-position: 50% 88%; }
.hero-media.ramp img { object-position: 55% 50%; }
.hero-video { opacity: 0; transition: opacity 1.2s ease; }
.hero-video.playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,26,58,.50) 0%, rgba(11,26,58,.04) 28%, rgba(11,26,58,.18) 52%, rgba(11,26,58,.90) 100%),
    linear-gradient(90deg, rgba(11,26,58,.35) 0%, rgba(11,26,58,0) 55%);
}
.hero-inner { position: relative; padding-top: 140px; padding-bottom: clamp(40px, 6vw, 80px); display: grid; gap: 22px; max-width: 820px; }
.hero h1 { color: #fff; }
.hero .lede { color: rgba(255,255,255,.86); }
.hero .eyebrow { color: rgba(255,255,255,.8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* hero option B: still photo (same layout as video, no motion) — nothing extra needed */

/* hero option C: Apple-style framed — centered type on paper, photo in a rounded frame below */
.hero-framed { background: var(--bg); color: var(--ink); padding-top: calc(120px + env(safe-area-inset-top, 0px)); }
.hero-framed .hero-copy { text-align: center; display: grid; justify-items: center; gap: 20px; max-width: 900px; margin-inline: auto; }
.hero-framed h1 { font-size: clamp(2.7rem, 7vw, 5.4rem); letter-spacing: -0.035em; line-height: 1.02; color: var(--ink); }
.hero-framed .lede { text-align: center; max-width: 56ch; font-size: clamp(1.15rem, 1.7vw, 1.45rem); }
.hero-framed .hero-actions { justify-content: center; }
.hero-framed .frame { margin-top: clamp(36px, 5vw, 64px); position: relative; border-radius: clamp(18px, 2.4vw, 32px); overflow: hidden; aspect-ratio: 16 / 8.5; background: var(--deep); box-shadow: 0 40px 90px -40px rgba(11,26,58,.45), 0 1px 0 rgba(11,26,58,.06); }
.hero-framed .frame img, .hero-framed .frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero-framed .frame .tag { position: absolute; left: 18px; bottom: 16px; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(11,26,58,.55); padding: 6px 10px; border-radius: 8px; backdrop-filter: blur(8px); }
@media (max-width: 700px) { .hero-framed .frame { aspect-ratio: 4 / 3; border-radius: 16px; } }
/* on option C the nav starts on a light ground, so use the color logo and ink text from the top */
.nav.light-start { color: var(--ink); }

/* preview-only hero switcher (not shipped in dist) */
.hero-switch { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 92%, transparent); color: #fff; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); font-size: .82rem; backdrop-filter: blur(10px); }
.hero-switch span { padding: 8px 6px 8px 14px; opacity: .7; font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; align-self: center; }
.hero-switch a { color: inherit; text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 600; }
.hero-switch a.on { background: var(--accent); color: var(--accent-ink); }
.hero-switch a:hover:not(.on) { background: rgba(255,255,255,.12); }

/* ---------- specs strip ---------- */
.specs { background: var(--band); color: var(--band-ink); }
.specs-inner { display: grid; grid-template-columns: repeat(5, 1fr); }
.spec { padding: 26px 22px; border-left: 1px solid var(--band-rule); display: grid; gap: 4px; }
.spec:first-child { border-left: 0; }
.spec b { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.spec b sup { font-size: .5em; font-weight: 600; vertical-align: top; margin-left: 2px; }
.spec span { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--band-ink-2); }
@media (max-width: 900px) { .specs-inner { grid-template-columns: repeat(3, 1fr); } .spec:nth-child(4) { border-left: 0; } }
@media (max-width: 560px) { .specs-inner { grid-template-columns: repeat(2, 1fr); } .spec:nth-child(odd) { border-left: 0; } .spec:nth-child(4) { border-left: 1px solid var(--band-rule); } }

/* ---------- split (text + photo) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.flip > .split-media { order: -1; }
.split-copy { display: grid; gap: 18px; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.split-media figcaption { position: absolute; left: 14px; bottom: 14px; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(11,26,58,.55); padding: 6px 10px; border-radius: 6px; backdrop-filter: blur(6px); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > .split-media { order: 0; } }

/* ---------- feature list ---------- */
.feature-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--rule); align-items: start; }
.feature-list li:last-child { border-bottom: 1px solid var(--rule); }
.feature-list svg { width: 22px; height: 22px; color: var(--accent); margin-top: 3px; }
.feature-list b { display: block; font-weight: 600; }
.feature-list span { color: var(--ink-2); font-size: .97rem; }

/* ---------- fit chart ---------- */
.fit { background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.fit-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .fit-grid { grid-template-columns: 1fr; } }
.fit-key { display: grid; gap: 10px; font-family: var(--mono); font-size: .76rem; color: var(--ink-3); letter-spacing: .04em; margin-top: 18px; }
.fit-key div { display: flex; align-items: center; gap: 10px; }
.fit-key i { display: inline-block; width: 28px; height: 10px; border-radius: 3px; }
.fit-key i.span { background: var(--navy); }
.fit-key i.len { background: var(--haze); }
.fit-key i.door { width: 2px; height: 16px; background: var(--accent); border-radius: 0; }
.chart { display: grid; gap: 0; }
.chart-head, .chart-row { display: grid; grid-template-columns: minmax(150px, 1.2fr) minmax(0, 3fr) 96px; gap: 14px; align-items: center; }
.chart-head { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 0 0 12px; border-bottom: 1px solid var(--rule); }
.chart-row { padding: 13px 0; border-bottom: 1px solid var(--rule); }
.chart-row .name b { display: block; font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: -0.012em; }
.chart-row .name span { font-family: var(--mono); font-size: .7rem; color: var(--ink-3); letter-spacing: .06em; }
.bars { position: relative; height: 30px; overflow-x: clip; }
.bars .door { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--accent); }
.bars .door::after { content: attr(data-label); position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; color: var(--accent); white-space: nowrap; }
.bars .span { position: absolute; left: 0; top: 4px; height: 10px; background: var(--navy); border-radius: 3px; }
.bars .len { position: absolute; left: 0; bottom: 4px; height: 6px; background: var(--haze); border-radius: 3px; }
.chart-row .vals { font-family: var(--mono); font-size: .74rem; color: var(--ink-2); text-align: right; line-height: 1.35; font-variant-numeric: tabular-nums; }
.chart-row .vals b { color: var(--ink); font-weight: 600; }
.chart-head + .chart-row { padding-top: 26px; }
.chart-head + .chart-row .bars .door::after { display: block; }
.chart-row:not(.chart-head + .chart-row) .bars .door::after { display: none; }
@media (max-width: 560px) { .chart-head, .chart-row { grid-template-columns: minmax(96px, 1fr) minmax(0, 2fr) auto; gap: 8px; } .chart-row .vals { font-size: .68rem; } }
.fit-note { font-size: .92rem; color: var(--ink-3); margin-top: 18px; max-width: 60ch; }

/* ---------- amenities ---------- */
.amen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
@media (max-width: 860px) { .amen { grid-template-columns: 1fr; } }
.amen-group { display: grid; gap: 18px; align-content: start; }
.amen-group figure { margin: 0; }
.amen-group img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.amen-group h3 { margin-top: 8px; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(120px, 18vw, 260px); gap: 8px; padding-inline: 8px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 10px; background: var(--surface-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figure:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.gallery figure:nth-child(2) { grid-column: span 2; }
.gallery figure:nth-child(3) { grid-column: span 2; }
.gallery figure:nth-child(4) { grid-column: span 2; }
.gallery figure:nth-child(5) { grid-column: span 2; }
.gallery figure:nth-child(6) { grid-column: span 2; }
.gallery figcaption { position: absolute; left: 10px; bottom: 10px; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(11,26,58,.55); padding: 5px 9px; border-radius: 6px; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; } .gallery figure { grid-column: span 1 !important; grid-row: span 1 !important; } .gallery figure:nth-child(1) { grid-column: span 2 !important; } }

/* ---------- paths ---------- */
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .paths { grid-template-columns: 1fr; } }
.path { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); display: grid; gap: 16px; align-content: start; box-shadow: var(--shadow); }
.path ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--ink-2); font-size: .97rem; }
.path li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.path li svg { width: 18px; height: 18px; color: var(--accent); margin-top: 3px; }
.path .btn { justify-self: start; margin-top: 8px; }

/* ---------- airport ---------- */
.airport { background: var(--band); color: var(--band-ink); }
.airport .lede { color: var(--band-ink-2); }
.airport h2 { color: #fff; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--band-rule); border: 1px solid var(--band-rule); border-radius: var(--radius); overflow: hidden; margin-top: 36px; }
.fact { background: var(--band); padding: 22px 20px; display: grid; gap: 6px; }
.fact b { font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.fact span { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--band-ink-2); }
.fact p { color: var(--band-ink-2); font-size: .92rem; margin-top: 6px; }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.airport-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 40px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--band-ink-2); }
.airport-list li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.airport-list svg { width: 18px; height: 18px; color: var(--accent); margin-top: 4px; }
@media (max-width: 640px) { .airport-list { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact-card { display: grid; gap: 22px; }
.contact-card dl { margin: 0; display: grid; gap: 14px; }
.contact-card dt { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.contact-card dd { margin: 2px 0 0; font-size: 1.05rem; }
.contact-card dd a { text-decoration: none; border-bottom: 1px solid var(--rule-2); }
.contact-card dd a:hover { border-color: var(--ink); }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow); }
.form h3 { font-size: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.field label small { font-weight: 500; color: var(--ink-3); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1px solid var(--rule-2); border-radius: var(--radius-sm); padding: 12px 14px; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: .82rem; color: var(--ink-3); }
.field-unit { position: relative; }
.field-unit input { padding-right: 44px; }
.field-unit::after { content: attr(data-unit); position: absolute; right: 14px; bottom: 13px; font-family: var(--mono); font-size: .78rem; color: var(--ink-3); pointer-events: none; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-foot .fine { font-size: .84rem; color: var(--ink-3); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { display: none; border-radius: var(--radius-sm); padding: 14px 16px; font-size: .95rem; }
.form-status.error { display: block; background: #FBE9E7; color: #7A2E22; border: 1px solid #F1C4BC; }
:root[data-theme="dark"] .form-status.error { background: #3A1E1A; color: #FFD6CF; border-color: #6B3A32; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .form-status.error { background: #3A1E1A; color: #FFD6CF; border-color: #6B3A32; } }
.form-done { display: none; text-align: left; gap: 14px; padding: 8px 0; }
.form.is-done .form-body { display: none; }
.form.is-done .form-done { display: grid; }
.form-done .check { width: 44px; height: 44px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.form-done .check svg { width: 24px; height: 24px; }
.segmented { display: inline-flex; background: var(--surface-2); border-radius: 999px; padding: 4px; gap: 2px; }
.segmented label { position: relative; }
.segmented input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.segmented span { display: inline-block; padding: 9px 16px; border-radius: 999px; font-size: .92rem; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.segmented input:checked + span { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.segmented input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- request pages ---------- */
.page-head { padding-top: calc(110px + env(safe-area-inset-top, 0px)); padding-bottom: clamp(24px, 4vw, 48px); display: grid; gap: 14px; max-width: 760px; }
.request { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: start; padding-bottom: clamp(64px, 9vw, 128px); }
@media (max-width: 900px) { .request { grid-template-columns: 1fr; } }
.rail { display: grid; gap: 22px; position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); }
.rail img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.rail-block { display: grid; gap: 10px; }
.rail-block h3 { font-size: 1.05rem; }
.rail-block ol, .rail-block ul { margin: 0; padding-left: 1.2em; color: var(--ink-2); font-size: .95rem; display: grid; gap: 6px; }
.rail-block p { color: var(--ink-2); font-size: .95rem; }
.rail .eyebrow { margin-bottom: -6px; }

/* ---------- footer ---------- */
.footer { background: var(--deep); color: var(--band-ink-2); padding-block: clamp(40px, 6vw, 72px) calc(28px + env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .brand img { height: 40px; }
.footer .brand .logo-color { display: none; } .footer .brand .logo-white { display: block; }
.footer p { font-size: .95rem; max-width: 40ch; margin-top: 14px; }
.footer h4 { color: #fff; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--band-rule); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; }

/* ---------- photo fallback (until originals are dropped in) ---------- */
img.ph { background: linear-gradient(135deg, #1B3670 0%, #0B1A3A 100%); object-fit: cover; }
img.ph.missing { position: relative; }
.ph-wrap { position: relative; }
.ph-wrap.missing::after { content: attr(data-photo); position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); background: linear-gradient(135deg, #1B3670 0%, #0B1A3A 100%); border-radius: inherit; }
.ph-wrap.missing img { visibility: hidden; }

/* ---------- reveal: page is always at rest; class kept as a hook only ---------- */
.reveal { opacity: 1; transform: none; }


/* ============================================================
   v8 — owner-led revision (Sept 2026)
   ============================================================ */

/* nav: utility link (Overnight) is quieter on desktop */
.nav-util { opacity: .7; font-size: .9rem; }

/* ---------- editorial split hero ---------- */
.hero-split { background: var(--bg); color: var(--ink); padding-top: calc(96px + env(safe-area-inset-top, 0px)); }
.hero-split-inner { display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding-block: clamp(24px, 4vw, 56px) clamp(32px, 5vw, 64px); }
.hero-split .hero-copy { display: grid; gap: 18px; }
.hero-split h1 { font-size: clamp(2.35rem, 4.4vw, 4rem); letter-spacing: -0.03em; line-height: 1.04; color: var(--ink); }
.hero-split .lede { font-size: clamp(1.15rem, 1.6vw, 1.4rem); color: var(--ink); font-weight: 500; }
.hero-split .hero-sub { color: var(--ink-2); font-size: 1.05rem; max-width: 46ch; }
.hero-split .hero-actions { margin-top: 4px; }
.hero-photo { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--surface-2); }
.hero-photo img { width: 100%; height: auto; display: block; aspect-ratio: 2040 / 1140; object-fit: cover; }
@media (max-width: 860px) {
  .hero-split { padding-top: calc(76px + env(safe-area-inset-top, 0px)); }
  .hero-split-inner { grid-template-columns: 1fr; gap: 20px; padding-block: 12px 36px; }
  .hero-split h1 { font-size: clamp(2.25rem, 9.6vw, 2.5rem); }
  .hero-split .lede { font-size: 1.1rem; }
  .hero-split .hero-sub { font-size: .98rem; }
  .hero-split .hero-copy { gap: 12px; }
  .hero-split .hero-actions { gap: 10px; }
  .hero-split .hero-actions .btn-ghost { padding-inline: 14px; }
  .hero-photo img { aspect-ratio: 1800 / 980; }
  .hero-photo { order: 2; }
}

/* ---------- owner story band ---------- */
.story { background: var(--surface); border-block: 1px solid var(--rule); }
.story-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.story-inner h2 { margin-top: 14px; }
.story-copy { display: grid; gap: 14px; color: var(--ink-2); }
.story-copy .lede { color: var(--ink); }
@media (max-width: 860px) { .story-inner { grid-template-columns: 1fr; } }

/* ---------- facility ---------- */
.wide-photo { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow); }
.wide-photo img { width: 100%; height: auto; display: block; aspect-ratio: 2000 / 1142; object-fit: cover; }
.wide-photo figcaption, .exp-photos figcaption, .split-media figcaption { position: absolute; left: 14px; bottom: 14px; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(11,26,58,.55); padding: 6px 10px; border-radius: 6px; backdrop-filter: blur(6px); }
.facts-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; margin-top: 16px; }
.factcard { background: var(--surface); padding: 20px 22px; display: grid; gap: 6px; align-content: start; }
.factcard b { font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.1; }
.factcard span { color: var(--ink-2); font-size: .93rem; }
@media (max-width: 860px) { .facts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .facts-row { grid-template-columns: 1fr; } }
.aside-note { margin-top: 18px; color: var(--ink-2); font-size: .98rem; max-width: 62ch; }

/* ---------- handling ---------- */
.care { background: var(--surface); border-block: 1px solid var(--rule); }
.care .split { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.care .split-media { margin: 0; }
.care .split-media img { width: 100%; display: block; }
.care .split-media img { aspect-ratio: 16 / 11; height: auto; }
.care .split-copy p { color: var(--ink-2); }
.care .split-copy .lede { color: var(--ink); }
.care .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 860px) { .care .split { grid-template-columns: 1fr; } .care .split-media { order: -1; } }

/* ---------- owner experience ---------- */
.exp-photos { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 12px; margin-bottom: 32px; }
.exp-photos figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.exp-photos img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 3; }
@media (max-width: 720px) { .exp-photos { grid-template-columns: 1fr; } }
.exp-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); }
.exp-group h3 { margin-bottom: 12px; font-size: 1.15rem; }
@media (max-width: 720px) { .exp-groups { grid-template-columns: 1fr; } }
.exp-cta { margin-top: 28px; }

/* ---------- small gallery with enlargement ---------- */
.gallery-sm { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.gallery-sm figure { margin: 0; position: relative; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.gallery-sm a { display: block; }
.gallery-sm img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .5s ease; }
.gallery-sm a:hover img, .gallery-sm a:focus-visible img { transform: scale(1.03); }
.gallery-sm figcaption { position: absolute; left: 10px; bottom: 10px; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(11,26,58,.55); padding: 5px 9px; border-radius: 6px; pointer-events: none; }
@media (max-width: 720px) { .gallery-sm { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1400px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(8, 16, 34, .86); }
.lightbox img { max-width: 96vw; max-height: 88vh; width: auto; height: auto; border-radius: 12px; display: block; }
.lightbox-close { position: fixed; top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px; width: 44px; height: 44px; border-radius: 999px; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.lightbox-close:hover { background: rgba(255,255,255,.26); }

/* ---------- aircraft fit tool ---------- */
.fit-tool { display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(18px, 2.5vw, 28px); box-shadow: var(--shadow); }
.fit-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fit-chips button { font: inherit; font-size: .86rem; font-weight: 500; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--rule-2); background: transparent; color: var(--ink-2); cursor: pointer; }
.fit-chips button:hover { border-color: var(--ink-3); color: var(--ink); }
.fit-chips button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.fit-result { display: grid; gap: 12px; padding-top: 6px; }
.fit-empty { color: var(--ink-2); font-size: .98rem; }
.fit-name { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.fit-name b { font-family: var(--display); font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
.fit-name span { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.fit-row { display: grid; grid-template-columns: 92px minmax(0, 1fr) minmax(150px, auto); gap: 12px; align-items: center; }
.fit-lab { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.fit-bar { position: relative; height: 22px; background: var(--surface-2); border-radius: 6px; margin: 14px 0 4px; overflow: visible; }
.fit-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--navy); border-radius: 6px; }
.fit-bar s { position: absolute; top: -5px; bottom: -5px; width: 2px; background: var(--accent); text-decoration: none; }
.fit-bar s::after { content: attr(data-label); position: absolute; top: -17px; right: 5px; font-family: var(--mono); font-size: .62rem; letter-spacing: .06em; color: var(--accent); white-space: nowrap; }
.fit-bar.plain { margin-top: 4px; }
.fit-val { font-variant-numeric: tabular-nums; font-weight: 600; font-size: .98rem; line-height: 1.3; }
.fit-val small { display: block; font-weight: 400; color: var(--ink-3); font-size: .78rem; }
.fit-foot { font-size: .84rem; color: var(--ink-3); }
.fit-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
@media (max-width: 560px) {
  .fit-row { grid-template-columns: 1fr; gap: 4px; }
  .fit-bar { margin: 20px 0 2px; }
}
.fit-grid { align-items: start; }

/* ---------- airport ---------- */
.airport-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.airport .airport-links a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.4); text-decoration: none; }
.airport .airport-links { margin-top: 18px; color: var(--band-ink-2); }
.airport-facts { margin: 0; display: grid; gap: 1px; background: var(--band-rule); border: 1px solid var(--band-rule); border-radius: var(--radius); overflow: hidden; }
.airport-facts > div { background: var(--band); padding: 16px 20px; display: grid; grid-template-columns: 130px 1fr; gap: 12px; }
.airport-facts dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--band-ink-2); padding-top: 3px; }
.airport-facts dd { margin: 0; color: #fff; font-size: .98rem; }
@media (max-width: 860px) { .airport-grid { grid-template-columns: 1fr; } .airport-facts > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- inquiry ---------- */
.segmented.intent { display: flex; flex-wrap: wrap; }
.segmented.intent label { flex: 1 1 auto; }
.segmented.intent span { display: block; text-align: center; white-space: nowrap; }
@media (max-width: 560px) { .segmented.intent { border-radius: 16px; } .segmented.intent label { flex: 1 1 100%; } }
.contact-card p { color: var(--ink-2); }
.contact-card .lede { color: var(--ink); }

/* ---------- overnight utility band ---------- */
.overnight-note { background: var(--surface); border-top: 1px solid var(--rule); padding-block: 28px; }
.overnight-inner { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.overnight-inner h3 { font-size: 1.1rem; margin-bottom: 4px; }
.overnight-inner p { color: var(--ink-2); font-size: .95rem; max-width: 60ch; }

/* ---------- request pages ---------- */
.prefer-visit, .same-day { color: var(--ink-2); font-size: 1rem; }
.prefer-visit a, .same-day a { color: var(--ink); }
.request { grid-template-areas: "form top" "form side"; grid-template-rows: auto 1fr; }
.request form { grid-area: form; }
.rail-top { grid-area: top; position: static; }
.rail-side { grid-area: side; position: sticky; }
@media (max-width: 900px) { .request { grid-template-areas: "top" "form" "side"; grid-template-rows: auto; } .rail-side { position: static; } }
.request > .hint { display: block; }
.checks { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.checks legend { padding: 0; margin-bottom: 8px; font-weight: 600; font-size: .92rem; }
.checks legend small { color: var(--ink-3); font-weight: 400; }
.checks .check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: center; min-height: 44px; padding: 6px 10px; border: 1px solid var(--rule); border-radius: var(--radius-sm); background: var(--surface); font-weight: 500; cursor: pointer; }
.checks .check input { width: 20px; height: 20px; margin: 0; accent-color: var(--navy); }
.checks .check:has(input:checked) { border-color: var(--navy); }
@media (max-width: 560px) { .checks { grid-template-columns: 1fr; } }
.form-body > p.hint { margin-top: -10px; font-size: .88rem; color: var(--ink-3); }

/* segmented controls never break a label mid-phrase; wrap to rows on narrow screens */
.segmented span { white-space: nowrap; }
@media (max-width: 560px) { .segmented { display: flex; flex-wrap: wrap; border-radius: 16px; } .segmented label { flex: 1 1 45%; } .segmented span { display: block; text-align: center; padding-inline: 8px; } }
/* dark-scheme legibility for the fit bars */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fit-bar i, :root:not([data-theme="light"]) .fit-chips button.on { background: #4F74C8; border-color: #4F74C8; } }
:root[data-theme="dark"] .fit-bar i, :root[data-theme="dark"] .fit-chips button.on { background: #4F74C8; border-color: #4F74C8; }

/* quiet staff link in the footer base row (Lease Desk) */
.footer-bottom .staff a { color: inherit; opacity: .42; text-decoration: none; transition: opacity .15s; }
.footer-bottom .staff a:hover,
.footer-bottom .staff a:focus-visible { opacity: .85; text-decoration: underline; }
@media (max-width: 720px) { .footer-bottom .staff { order: 3; width: 100%; } }
