/* Key Aviation Consultancy Services: "Blue hour on the airfield". Tokens live in DESIGN.md. */

@font-face { font-family: "Archivo"; src: url("/fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/hanken.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Saira"; src: url("/fonts/saira.woff2") format("woff2"); font-weight: 100 900; font-stretch: 50% 125%; font-display: swap; }
@font-face { font-family: "Big Shoulders Display"; src: url("/fonts/bigshoulders.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/fonts/plex.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/fonts/plex-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --night: #0B1622;
  --night-2: #112233;
  --night-3: #16293C;
  --line: #22384C;
  --haze: #A3B3C2;
  --paper: #EEF1F0;
  --sign: #F5BE1B;
  --sign-ink: #14130F;

  --f-head: "Archivo", "Arial Narrow", sans-serif;
  --head-stretch: 116%;
  --head-weight: 700;
  --head-track: -0.012em;
  --f-body: "Hanken Grotesk", system-ui, sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1320px;
  --pad: clamp(56px, 8vw, 116px);
  --r: 6px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --hdr-h: 84px;
  color-scheme: dark;
}
/* Font options (?hfont= / ?bfont=) */
.hfont-2 { --f-head: "Saira", sans-serif; --head-stretch: 112%; --head-weight: 700; --head-track: -0.01em; }
.hfont-3 { --f-head: "Big Shoulders Display", sans-serif; --head-stretch: 100%; --head-weight: 800; --head-track: 0.005em; }
.bfont-2 { --f-body: "IBM Plex Sans", system-ui, sans-serif; }
.bfont-3 { --f-body: "Figtree", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--night); color: var(--paper);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
main { overflow-x: clip; display: block; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--f-head); font-stretch: var(--head-stretch); font-weight: var(--head-weight); letter-spacing: var(--head-track); line-height: 1.04; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
a, button, input, select, textarea { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
[data-count] { font-variant-numeric: tabular-nums; }
svg { fill: currentColor; }
:focus-visible { outline: 2px solid var(--sign); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10001; background: var(--sign); color: var(--sign-ink); padding: 10px 14px; border-radius: var(--r); font-weight: 600; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--pad) 0; position: relative; }
.h2 { font-size: clamp(32px, 4.1vw, 60px); max-width: 18ch; text-wrap: balance; }
.lead { color: var(--haze); max-width: 56ch; font-size: 18px; }

/* The highlighted word: a yellow airfield direction sign */
.sign {
  display: inline-block; background: var(--sign); color: var(--sign-ink);
  padding: .02em .2em .06em; border-radius: .1em; line-height: 1;
  box-shadow: inset 0 0 0 .045em rgba(20, 19, 15, .9), inset 0 0 0 .075em var(--sign);
}

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--paper); --fill: var(--sign); --fill-fg: var(--sign-ink); --bd: transparent;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--r);
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font-family: var(--f-head); font-stretch: 108%; font-weight: 600; font-size: 15px; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn--sign { --bg: var(--sign); --fg: var(--sign-ink); --fill: var(--paper); --fill-fg: var(--sign-ink); }
.btn--ghost { --bd: rgba(238, 241, 240, .5); --fill: var(--sign); --fill-fg: var(--sign-ink); }
.btn--ink { --bg: var(--sign-ink); --fg: var(--sign); --fill: var(--paper); --fill-fg: var(--sign-ink); }
/* Option 1 hover: the label rolls to a copy while a fill blooms from where the cursor came in */
.btn::before {
  content: ""; position: absolute; z-index: -1; left: var(--mx, 50%); top: var(--my, 50%);
  width: 260%; aspect-ratio: 1; border-radius: 50%; background: var(--fill);
  transform: translate(-50%, -50%) scale(0); transition: transform .6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translate(-50%, -50%) scale(1); }
.btn:hover, .btn:focus-visible { color: var(--fill-fg); border-color: var(--fill); }
.btn__label { position: relative; display: inline-block; overflow: hidden; line-height: 1.3; vertical-align: middle; }
.btn__label > span { display: inline-block; transition: transform .5s var(--ease); }
.btn__label > span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; }
.btn:hover .btn__label > span, .btn:focus-visible .btn__label > span { transform: translateY(-100%); }
.btn { clip-path: inset(0 round var(--r)); }
.btn:active { opacity: .9; }

/* Button option 2: runway-light sheen with a sign-arrow notch */
.btn-2 .btn::before { width: 40%; aspect-ratio: auto; height: 100%; border-radius: 0; left: 0; top: 0; transform: translateX(-160%) skewX(-22deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transition: transform .8s var(--ease); }
.btn-2 .btn:hover::before, .btn-2 .btn:focus-visible::before { transform: translateX(380%) skewX(-22deg); }
.btn-2 .btn--sign:hover, .btn-2 .btn--sign:focus-visible { color: var(--sign-ink); background: #FFD24A; border-color: transparent; }
.btn-2 .btn--ghost:hover, .btn-2 .btn--ghost:focus-visible { color: var(--sign); border-color: var(--sign); }
.btn-2 .btn--ink:hover { color: var(--sign); }
.btn-2 .btn { padding-right: 52px; }
.btn-2 .btn::after { content: ""; position: absolute; right: 18px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: currentColor; clip-path: polygon(0 40%, 55% 40%, 55% 10%, 100% 50%, 55% 90%, 55% 60%, 0 60%); }
.btn-2 .btn:hover .btn__label > span { transform: none; }
.btn-2 .btn__label > span::after { display: none; }

/* Button option 3: location-sign outline that traces round, then fills like a lit sign */
.btn-3 .btn { border-radius: 2px; clip-path: none; outline: 0; }
.btn-3 .btn--sign { --bg: var(--sign-ink); --fg: var(--sign); box-shadow: inset 0 0 0 2px var(--sign); }
.btn-3 .btn--ink { --bg: var(--sign-ink); --fg: var(--sign); }
.btn-3 .btn::before { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; left: 0; top: 0; transform: scaleY(0); transform-origin: 50% 100%; background: var(--sign); transition: transform .5s var(--ease); }
.btn-3 .btn:hover::before, .btn-3 .btn:focus-visible::before { transform: scaleY(1); }
.btn-3 .btn:hover, .btn-3 .btn:focus-visible { color: var(--sign-ink); }
.btn-3 .btn::after { content: ""; position: absolute; inset: 0; pointer-events: none; border: 2px solid var(--sign); clip-path: inset(0 100% 0 0); transition: clip-path .5s var(--ease); }
.btn-3 .btn:hover::after { clip-path: inset(0 0 0 0); }
.btn-3 .btn:hover .btn__label > span, .btn-3 .btn:focus-visible .btn__label > span { transform: none; }
.btn-3 .btn__label > span::after { display: none; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--paper); }
.logo__sign { width: 44px; height: 44px; flex: none; }
.logo__word { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--f-head); font-stretch: 122%; font-weight: 800; font-size: 19px; letter-spacing: .01em; text-transform: uppercase; }
.logo__sub { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--haze); margin-top: 6px; font-weight: 500; }

/* ---------- Header ---------- */
.hdr { position: absolute; inset: 0 0 auto; z-index: 9999; color: var(--paper); }
.hdr__bar { position: relative; height: var(--hdr-h); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); }
.nav { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; gap: clamp(20px, 2.6vw, 40px); }
.nav a { font-family: var(--f-head); font-stretch: 110%; font-weight: 500; font-size: 15px; text-decoration: none; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sign); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .45s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.hdr__cta { min-height: 46px; font-size: 14px; }
.burger { display: none; }

/* Header option 2: a floating airfield sign bar */
.header-2 .hdr__bar { margin: 18px var(--gutter) 0; height: 68px; padding: 0 12px 0 14px; background: var(--sign-ink); border-radius: 10px; box-shadow: inset 0 0 0 2px var(--sign); }
.header-2 .nav a { color: var(--sign); }
.header-2 .logo__sub { color: #C9B37A; }
.header-2 .logo__sign { width: 40px; height: 40px; }

/* Header option 3: a split taxiway header. Logo in a yellow sign tab, nav as a hairline-ruled strip */
.header-3 .hdr__bar { padding: 0; height: 92px; }
.header-3 .logo { background: var(--sign); color: var(--sign-ink); height: 100%; padding: 0 28px 0 var(--gutter); border-radius: 0 0 14px 0; }
.header-3 .logo__sub { color: rgba(20,19,15,.7); }
.header-3 .logo__sign rect:first-child { fill: var(--sign-ink); }
.header-3 .nav { gap: 0; }
.header-3 .nav a { padding: 10px clamp(14px, 1.6vw, 24px); border-left: 1px solid rgba(238,241,240,.28); }
.header-3 .nav a:last-child { border-right: 1px solid rgba(238,241,240,.28); }
.header-3 .nav a::after { left: clamp(14px, 1.6vw, 24px); right: clamp(14px, 1.6vw, 24px); }
.header-3 .hdr__cta { margin-right: var(--gutter); }

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 9998; background: var(--sign); color: var(--sign-ink);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--hdr-h) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0); visibility: hidden; overscroll-behavior: contain;
  transition: clip-path .7s var(--ease), visibility 0s linear .7s;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a, .menu__foot {
  opacity: 0; transform: translateY(26px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  transition-delay: calc((6 - var(--i)) * 40ms);
}
.menu.is-open .menu__nav a, .menu.is-open .menu__foot { opacity: 1; transform: none; transition-delay: calc(180ms + var(--i) * 60ms); }
.menu__nav a { font-family: var(--f-head); font-stretch: 118%; font-weight: 700; font-size: clamp(32px, 9vw, 52px); line-height: 1.18; text-decoration: none; padding: 4px 0; border-bottom: 2px solid rgba(20,19,15,.14); }
.menu__foot p { max-width: 34ch; font-weight: 500; }
html.menu-open, html.menu-open body { overflow: hidden; }
html.menu-open .hdr .logo { color: var(--sign-ink); }
html.menu-open .hdr .logo__sub { color: rgba(20,19,15,.7); }
html.menu-open .burger span { background: var(--sign-ink); }

/* ---------- Hero (option 1: dusk slideshow) ---------- */
.hero { position: relative; height: 100svh; min-height: 500px; overflow: hidden; background: var(--night); isolation: isolate; }
.hero__media { position: absolute; inset: -6% 0 -14%; z-index: 0; will-change: transform; }
.hero__slides, .slide { position: absolute; inset: 0; }
.slide { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s var(--ease); }
.slide.is-active { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  /* first slide zooms from first paint, before the scripts arrive */
  .hero .slide:first-child { animation: kb 8.1s cubic-bezier(.39, .575, .565, 1) both; }
  .hero.kb-off .slide:first-child { animation: none; }
}
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.2); } }
.slide:nth-child(2) { object-position: 70% 30%; }
.slide:nth-child(3) { object-position: 55% 50%; }
.hero__shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11,22,34,.86) 0%, rgba(11,22,34,.55) 38%, rgba(11,22,34,.05) 72%),
    linear-gradient(0deg, rgba(11,22,34,.92) 0%, rgba(11,22,34,0) 46%),
    linear-gradient(180deg, rgba(11,22,34,.6) 0%, rgba(11,22,34,0) 22%);
}
.hero__taxi { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 34%; z-index: 2; pointer-events: none; overflow: visible; }
.taxi__line { fill: none; stroke: var(--sign); stroke-width: 4; stroke-linecap: round; }
.taxi__edge { fill: none; stroke: rgba(245,190,27,.35); stroke-width: 2; stroke-dasharray: 2 18; stroke-linecap: round; }
.hero__inner { position: absolute; left: 0; right: 0; bottom: clamp(64px, 13svh, 140px); z-index: 3; }
.hero__title { font-size: clamp(36px, min(5.6vw, 9.6svh), 86px); line-height: 1.02; }
.mask { display: block; overflow: hidden; padding: .14em 0 .06em; margin: -.14em 0 -.06em; }
.mask > span { display: inline-block; }
.hero__sub { margin: clamp(14px, 3svh, 26px) 0 clamp(18px, 3.4svh, 30px); max-width: 46ch; font-size: clamp(17px, 1.3vw, 20px); color: #D3DCE4; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__progress { position: absolute; right: var(--gutter); bottom: clamp(28px, 5svh, 48px); z-index: 4; display: flex; gap: 8px; }
.seg { width: 56px; height: 18px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.seg i { display: block; width: 100%; height: 3px; background: rgba(238,241,240,.28); position: relative; overflow: hidden; border-radius: 2px; }
.seg i::after { content: ""; position: absolute; inset: 0; background: var(--sign); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }

/* Hero option 2: tower sandwich (headline behind the control tower) */
.hero--tower .hero__media img, .hero--tower .hero__cut { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 40%; }
.hero--tower .hero__cutwrap { position: absolute; inset: -6% 0 -14%; z-index: 3; pointer-events: none; -webkit-mask: linear-gradient(0deg, transparent 22%, #000 48%); mask: linear-gradient(0deg, transparent 22%, #000 48%); }
.hero--tower .hero__shade { background: linear-gradient(0deg, rgba(11,22,34,.96) 0%, rgba(11,22,34,.55) 34%, rgba(11,22,34,0) 55%), linear-gradient(90deg, rgba(11,22,34,.5), rgba(11,22,34,0) 55%); }
.hero__giant { position: absolute; left: 0; right: 0; top: calc(var(--hdr-h) + 1svh); z-index: 2; text-align: right; padding: 0 var(--gutter); font-family: var(--f-head); font-stretch: 125%; font-weight: 800; font-size: clamp(64px, min(12vw, 19svh), 230px); line-height: .86; letter-spacing: -.02em; color: var(--paper); text-transform: uppercase; }
.hero__giant span { display: block; }
.hero__giant span:last-child { color: var(--sign); }
.hero--tower .hero__inner { z-index: 4; }
.hero--tower .hero__title { font-size: clamp(30px, 3.3vw, 50px); max-width: 22ch; }

/* Hero option 3: panorama seen through a row of cabin windows */
.hero--cabin { background: linear-gradient(180deg, #0E1C2B 0%, var(--night) 100%); display: flex; flex-direction: column; justify-content: center; }
.hero--cabin .hero__inner { position: relative; bottom: auto; padding-top: var(--hdr-h); }
.hero--cabin .hero__title { max-width: none; font-size: clamp(34px, min(4.8vw, 7.2svh), 74px); }
.cabin { position: relative; margin-top: clamp(22px, 4svh, 48px); padding: clamp(14px, 2.4svh, 30px) var(--gutter); background: linear-gradient(180deg, #DFE4E6, #C9D0D4); }
.cabin__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 3vw, 48px); max-width: var(--max); margin: 0 auto; }
.cabin__win { aspect-ratio: 3 / 4; max-height: 31svh; justify-self: center; width: 100%; max-width: 270px; border-radius: 44% / 34%; padding: 10px; background: linear-gradient(180deg, #F4F6F7, #B9C1C6); box-shadow: inset 0 2px 6px rgba(0,0,0,.25); }
.cabin__glass { position: relative; width: 100%; height: 100%; border-radius: 42% / 32%; overflow: hidden; background: #0B1622; box-shadow: inset 0 0 0 3px rgba(11,22,34,.5); }
.cabin__glass img { position: absolute; top: 0; height: 100%; width: auto; max-width: none; object-position: 50% 54%; }

/* ---------- Marquee ---------- */
.marquee { background: var(--sign); color: var(--sign-ink); overflow: hidden; padding: 18px 0; position: relative; z-index: 2; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 34px; padding-right: 34px; flex: none; }
.marquee span { font-family: var(--f-head); font-stretch: 120%; font-weight: 700; font-size: clamp(20px, 2vw, 30px); white-space: nowrap; }
.marquee svg { width: 28px; height: 28px; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.window { margin: 0; justify-self: center; width: min(100%, 420px); }
.window__frame { padding: clamp(14px, 1.6vw, 22px); border-radius: 46% / 34%; background: linear-gradient(160deg, #2A4258 0%, #14273A 45%, #0F1F2F 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 40px 80px -30px rgba(0,0,0,.6); }
.window__pane { position: relative; aspect-ratio: 3 / 4.1; border-radius: 44% / 32%; overflow: hidden; background: var(--night); box-shadow: inset 0 0 0 4px rgba(6,12,19,.7); }
.window__pane img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; object-position: 62% 50%; }
.window__blind { position: absolute; inset: 0; z-index: 2; background: repeating-linear-gradient(180deg, #D9DEE1 0 9px, #CBD1D5 9px 10px); transform: translateY(-4%); box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.window__blind i { position: absolute; left: 50%; bottom: 10px; width: 34%; height: 10px; margin-left: -17%; border-radius: 6px; background: #AEB6BC; box-shadow: inset 0 2px 2px rgba(0,0,0,.18); }
.about__copy > p { color: #CBD5DE; max-width: 58ch; }
.about__copy .h2 { margin-bottom: 28px; }
.quote { margin: 34px 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--sign); }
.quote p { font-family: var(--f-head); font-stretch: 104%; font-weight: 500; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.42; color: var(--paper); margin-bottom: 12px; }
.quote footer { color: var(--haze); font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 8px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.stats dd { margin: 0 0 6px; font-family: var(--f-head); font-stretch: 120%; font-weight: 800; font-size: clamp(36px, 3.6vw, 54px); line-height: 1; color: var(--sign); }
.stats dt { color: var(--haze); font-size: 14px; line-height: 1.45; }

/* ---------- Services (pinned horizontal) ---------- */
.services { position: relative; z-index: 1; background: var(--night); }
.services__pin { height: 100svh; min-height: 520px; display: flex; flex-direction: column; justify-content: center; gap: clamp(22px, 4svh, 44px); overflow: hidden; }
.services__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.services__head .h2 { font-size: clamp(30px, min(4vw, 6.6svh), 58px); }
.services__head p { color: var(--haze); max-width: 36ch; margin: 0; }
.services__viewport { overflow: hidden; padding: 16px 0; }
.services__track { display: flex; gap: clamp(20px, 2.4vw, 36px); width: max-content; padding: 0 var(--gutter); padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2)); will-change: transform; }
.pass {
  --stub: clamp(128px, 12vw, 168px);
  position: relative; flex: none; display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr) var(--stub);
  width: min(880px, 72vw); height: clamp(280px, 56svh, 470px);
  background: var(--paper); color: var(--sign-ink); border-radius: 18px;
  -webkit-mask: radial-gradient(circle 15px at calc(100% - var(--stub)) 0, transparent 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 15px at calc(100% - var(--stub)) 100%, transparent 97%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle 15px at calc(100% - var(--stub)) 0, transparent 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 15px at calc(100% - var(--stub)) 100%, transparent 97%, #000) bottom / 100% 51% no-repeat;
}
.pass__photo { padding: 14px; }
.pass__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.pass__main { padding: clamp(20px, 3svh, 36px) clamp(18px, 2vw, 32px); display: flex; flex-direction: column; justify-content: flex-end; }
.pass__icon { width: 40px; height: 40px; margin-bottom: auto; color: var(--sign-ink); }
.pass__main h3 { font-size: clamp(22px, min(2.1vw, 4.2svh), 32px); margin-bottom: 12px; }
.pass__main p { margin: 0; color: #3A4652; font-size: clamp(15px, min(1.15vw, 2.4svh), 17px); line-height: 1.55; }
.pass__stub { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: clamp(18px, 3svh, 30px) 12px; border-left: 2px dashed rgba(20,19,15,.28); }
.pass__brand { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--f-head); font-stretch: 120%; font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #59636D; }
.pass__code { font-family: var(--f-head); font-stretch: 125%; font-weight: 800; font-size: clamp(26px, min(2.4vw, 5svh), 38px); line-height: 1; background: var(--sign); color: var(--sign-ink); padding: .18em .26em; border-radius: 5px; box-shadow: inset 0 0 0 2px var(--sign-ink), inset 0 0 0 4px var(--sign); }
.pass__link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; text-align: center; line-height: 1.3; text-decoration: none; border-bottom: 2px solid var(--sign); padding-bottom: 2px; }
.pass__link svg { width: 14px; height: 14px; flex: none; }

/* ---------- Who: departure board ---------- */
.who .lead { margin: 22px 0 44px; }
.board { background: #08111B; border-radius: 10px; padding: clamp(10px, 1.6vw, 22px); box-shadow: inset 0 0 0 1px #1C2E40, 0 30px 60px -30px rgba(0,0,0,.7); }
.board__row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr) minmax(0, .55fr); gap: 24px; align-items: center; padding: 16px clamp(8px, 1vw, 14px); border-top: 1px solid #172838; }
.board__row--head { border-top: 0; padding-top: 6px; padding-bottom: 10px; }
.board__row--head span { font-family: var(--f-head); font-stretch: 112%; font-weight: 600; font-size: 13px; color: var(--sign); letter-spacing: .06em; }
.board__who { display: flex; flex-wrap: nowrap; gap: 2px; font-family: var(--f-head); font-stretch: 100%; font-weight: 700; text-transform: uppercase; font-size: clamp(12px, 1.25vw, 19px); }
.flap { display: inline-grid; place-items: center; flex: none; width: 1em; height: 1.5em; background: linear-gradient(180deg, #1A2A3B 0 49%, #0B1520 49% 51%, #15243A 51% 100%); border-radius: 3px; color: #F4F1E6; line-height: 1; }
.flap--space { background: none; width: .5em; }
.board__how { color: #C2CEDA; font-size: 16px; }
.board__status { justify-self: end; font-family: var(--f-head); font-stretch: 112%; font-weight: 600; font-size: 14px; color: var(--sign); white-space: nowrap; }

/* ---------- Reputation ---------- */
.rep .h2 { margin-bottom: clamp(32px, 4vw, 56px); }
.rep__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: clamp(16px, 1.8vw, 24px); }
.rep__big { grid-row: span 2; position: relative; overflow: hidden; border-radius: 14px; min-height: 420px; display: flex; align-items: flex-end; background: var(--night-2); }
.rep__big img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; opacity: .82; }
.rep__big::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,17,27,.95) 0%, rgba(8,17,27,.2) 70%); }
.rep__bigcopy { position: relative; z-index: 1; padding: clamp(24px, 3vw, 44px); }
.rep__num { font-family: var(--f-head); font-stretch: 125%; font-weight: 800; font-size: clamp(88px, 11vw, 168px); line-height: .9; color: var(--sign); margin: 0 0 14px; }
.rep__label { max-width: 34ch; font-size: 18px; color: #DCE3EA; margin: 0; }
.rep__card { border-radius: 14px; background: var(--night-2); padding: clamp(24px, 2.6vw, 38px); box-shadow: inset 0 0 0 1px var(--line); }
.rep__card svg { width: 44px; height: 44px; color: var(--sign); margin-bottom: 22px; }
.rep__card h3 { font-size: clamp(22px, 1.9vw, 28px); margin-bottom: 10px; }
.rep__card p { color: var(--haze); margin: 0; }
.rep__card--sign { background: var(--sign); color: var(--sign-ink); box-shadow: none; }
.rep__card--sign svg { color: var(--sign-ink); }
.rep__card--sign p { color: #3B3520; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: 40px; }
.faq__head .h2 { margin-bottom: 18px; }
.faq__head p { color: var(--haze); max-width: 36ch; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item h3 { font-size: inherit; letter-spacing: 0; }
.faq__item button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; background: none; border: 0; cursor: pointer; text-align: left; font-family: var(--f-head); font-stretch: 108%; font-weight: 600; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.35; color: var(--paper); transition: color .3s var(--ease); }
.faq__item button:hover { color: var(--sign); }
.faq__icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: var(--r); box-shadow: inset 0 0 0 1.5px rgba(238,241,240,.35); transition: background .4s var(--ease), box-shadow .4s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; transition: transform .45s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon { background: var(--sign); box-shadow: none; color: var(--sign-ink); }
.faq__item.is-open .faq__icon::after { transform: rotate(0deg); }
.faq__item.is-open button { color: var(--paper); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { color: #C2CEDA; max-width: 60ch; margin: 0; padding: 0 56px 26px 0; opacity: 0; transform: translateY(-6px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a p { opacity: 1; transform: none; transition-delay: .08s; }

/* ---------- Contact ---------- */
.contact { position: relative; padding: var(--pad) 0; overflow: hidden; isolation: isolate; }
.contact__bg { position: absolute; inset: 0; z-index: -1; }
.contact__bg img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,22,34,.92) 0%, rgba(11,22,34,.72) 50%, rgba(11,22,34,.55) 100%), linear-gradient(0deg, var(--night) 0%, rgba(11,22,34,0) 30%), linear-gradient(180deg, var(--night) 0%, rgba(11,22,34,0) 25%); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.contact__copy .h2 { margin-bottom: 24px; }
.contact__copy > p { color: #CBD5DE; max-width: 46ch; }
.contact__list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 14px; font-family: var(--f-head); font-stretch: 108%; font-weight: 500; }
.contact__list svg { width: 26px; height: 26px; color: var(--sign); }
.form { background: rgba(17,34,51,.94); border-radius: 14px; padding: clamp(22px, 3vw, 40px); box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0,0,0,.7); }
.form__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 14px; font-weight: 600; color: #DCE3EA; }
.field label span { font-weight: 400; color: var(--haze); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--paper); background: #0B1724; border: 1.5px solid #2C445B; border-radius: var(--r); padding: 13px 14px; transition: border-color .3s var(--ease), background .3s var(--ease); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--sign) 50%), linear-gradient(135deg, var(--sign) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sign); background: #0D1B2A; }
.field input[aria-invalid="true"] { border-color: #FF8A6B; }
.form__error { color: #FFB39E; font-size: 15px; }
.form__submit { width: 100%; margin-top: 4px; }
.form__done { margin: 18px 0 0; padding: 14px 16px; border-radius: var(--r); background: rgba(245,190,27,.12); color: var(--paper); box-shadow: inset 0 0 0 1px rgba(245,190,27,.5); }

/* ---------- Footer (option 1) ---------- */
.ftr { background: #08111B; padding: clamp(56px, 7vw, 96px) 0 28px; }
.ftr__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid #1A2B3C; }
.ftr__tag { max-width: 40ch; color: var(--haze); margin: 0; }
.ftr__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 44px 0; }
.ftr__title { font-size: clamp(22px, 1.9vw, 28px); color: var(--sign); margin-bottom: 18px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr li a, .ftr li span { color: #B9C6D2; text-decoration: none; font-size: 15.5px; }
.ftr li a:hover { color: var(--paper); text-decoration: underline; text-decoration-color: var(--sign); text-underline-offset: 4px; }
.ftr__base { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 24px; border-top: 1px solid #1A2B3C; font-size: 14px; color: var(--haze); }
.ftr__base p { margin: 0; }
.ftr__base a[href^="https"] { color: var(--sign); font-weight: 600; text-decoration: none; }
.ftr__up { display: inline-flex; align-items: center; gap: 6px; color: var(--paper); text-decoration: none; font-weight: 600; }
.ftr__up svg { width: 16px; height: 16px; transform: rotate(-45deg); }

/* Footer option 2: runway threshold. Giant wordmark painted over piano-key stripes */
.ftr--runway { background: #08111B; padding-top: 0; overflow: hidden; }
.ftr--runway .rw { position: relative; padding: clamp(56px, 7vw, 96px) 0 clamp(36px, 4vw, 56px); background: #1A2026; }
.ftr--runway .rw__keys { position: absolute; inset: 0; display: flex; justify-content: space-between; padding: 0 3vw; opacity: .9; }
.ftr--runway .rw__keys i { width: 3.4vw; background: #E9ECEB; }
.ftr--runway .rw__word { position: relative; text-align: center; font-family: var(--f-head); font-stretch: 125%; font-weight: 800; font-size: clamp(54px, 12.6vw, 210px); line-height: .88; text-transform: uppercase; letter-spacing: -.02em; color: var(--sign); mix-blend-mode: normal; text-shadow: 0 0 0 transparent; }
.ftr--runway .rw__word span { display: inline-block; background: #1A2026; padding: 0 .12em; }
.ftr--runway .rw__cta { position: relative; display: flex; justify-content: center; margin-top: 30px; }
.ftr--runway .ftr__cols { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); }

/* Footer option 3: departure-board footer */
.ftr--board .fb { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); padding-bottom: 44px; border-bottom: 1px solid #1A2B3C; align-items: center; }
.ftr--board .fb__big { font-family: var(--f-head); font-stretch: 120%; font-weight: 800; font-size: clamp(38px, 5vw, 76px); line-height: .98; margin: 0 0 26px; }
.ftr--board .fb__board { background: #050B12; border-radius: 10px; padding: 14px; box-shadow: inset 0 0 0 1px #1C2E40; }
.ftr--board .fb__row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 8px; border-top: 1px solid #142334; text-decoration: none; color: var(--paper); transition: background .3s var(--ease); border-radius: 4px; }
.ftr--board .fb__row:first-child { border-top: 0; }
.ftr--board .fb__row:hover { background: #0F1D2C; }
.ftr--board .fb__row b { font-family: var(--f-head); font-stretch: 120%; font-weight: 800; background: var(--sign); color: var(--sign-ink); text-align: center; border-radius: 4px; padding: 4px 0; font-size: 15px; }
.ftr--board .fb__row span { font-family: var(--f-head); font-stretch: 108%; font-weight: 600; }
.ftr--board .fb__row em { font-style: normal; color: var(--sign); font-size: 13px; font-family: var(--f-head); font-stretch: 110%; }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); }
.nf h1 { font-size: clamp(40px, 6vw, 84px); margin: 26px 0 16px; }
.nf p { color: var(--haze); max-width: 44ch; margin: 0 auto 30px; }
.nf__code { display: inline-block; font-family: var(--f-head); font-stretch: 125%; font-weight: 800; font-size: clamp(40px, 6vw, 70px); padding: .1em .3em; background: var(--sign-ink); color: var(--sign); border-radius: 10px; box-shadow: inset 0 0 0 4px var(--sign-ink), inset 0 0 0 7px var(--sign); }

/* ---------- First paint before the intro runs ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js:not(.ready) .hero__title .mask > span { transform: translateY(115%); }
  .js:not(.ready) .hero__sub, .js:not(.ready) .hero__ctas, .js:not(.ready) .hdr__bar { opacity: 0; }
}

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 22px; }
  .nav a { font-size: 14px; }
  .hdr__cta { padding: 0 16px; }
}
@media (max-width: 899px) {
  :root { --hdr-h: 72px; }
  .nav, .hdr__cta { display: none; }
  .burger { display: grid; place-items: center; position: relative; width: 48px; height: 48px; margin-right: -8px; background: none; border: 0; cursor: pointer; }
  .burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--paper); border-radius: 2px; transition: transform .5s var(--ease), background .3s; }
  .burger span:first-child { transform: translateY(-5px); }
  .burger span:last-child { transform: translateY(5px); }
  .burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
  .logo__sign { width: 40px; height: 40px; }
  .logo__name { font-size: 17px; }
  .logo__sub { font-size: 10.5px; }

  /* mobile header: in flow, then fixed + hidden, shown only on scroll-up past the hero */
  .hdr.is-fixed { position: fixed; background: var(--night); transform: translate3d(0, calc(-100% - 24px), 0); opacity: 0; pointer-events: none; will-change: transform; }
  .hdr.is-fixed.is-anim { transition: transform .6s var(--ease), opacity .6s var(--ease); }
  .hdr.is-fixed.is-shown { transform: translate3d(0, 0, 0); opacity: 1; pointer-events: auto; }
  .hdr.is-fixed.is-fading { transition: opacity .45s var(--ease); opacity: 0; }
  html.menu-open .hdr.is-fixed { background: transparent; }
  .header-2 .hdr__bar { margin: 12px 12px 0; height: 60px; }
  .header-2 .hdr.is-fixed { background: transparent; }
  .header-3 .hdr__bar { height: 72px; }
  .header-3 .logo { padding-right: 18px; }

  .h2, .hero__title, .lead, .about__copy > p, .services__head p, .faq__head p, .contact__copy > p, .rep__label, .quote p { max-width: none; text-wrap: pretty; }
  .hero__inner { bottom: clamp(52px, 10svh, 96px); }
  .hero__title { font-size: clamp(32px, 8.4vw, 60px); font-stretch: 104%; }
  .hero__shade { background: linear-gradient(0deg, rgba(11,22,34,.95) 0%, rgba(11,22,34,.55) 45%, rgba(11,22,34,.15) 70%), linear-gradient(180deg, rgba(11,22,34,.55) 0%, rgba(11,22,34,0) 20%); }
  .hero__taxi { height: 22%; }
  .hero__progress { left: var(--gutter); right: auto; bottom: 22px; }
  .hero__giant { font-size: clamp(50px, 14.6vw, 120px); font-stretch: 108%; top: 92px; text-align: left; }
  .hero--tower .hero__shade { background: linear-gradient(0deg, rgba(11,22,34,.97) 0%, rgba(11,22,34,.8) 40%, rgba(11,22,34,0) 62%); }
  .hero--tower .hero__media img, .hero--tower .hero__cut { object-position: 82% 40%; }
  .cabin__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cabin__win { max-height: 30svh; }
  .cabin__win:nth-child(n+3) { display: none; }

  .about__grid, .faq__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .window { width: min(78%, 340px); }
  .stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
  .stats dt { font-size: 13px; }
  .faq__head { position: static; }

  .services__pin { justify-content: center; padding: clamp(20px, 4svh, 40px) 0; gap: 0; }
  .services__head { flex-direction: column; align-items: flex-start; gap: 14px; padding-bottom: 50px; }
  .services__head .h2 { font-size: clamp(28px, min(7.6vw, 5.4svh), 44px); }
  .services__head p { max-width: none; }
  .services__track { padding-left: var(--gutter); }
  .pass {
    --cut: 76px;
    grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto auto;
    width: min(86vw, 440px); height: clamp(300px, 56svh, 560px);
    -webkit-mask: radial-gradient(circle 13px at 0 calc(100% - var(--cut)), transparent 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% calc(100% - var(--cut)), transparent 97%, #000) right / 51% 100% no-repeat;
            mask: radial-gradient(circle 13px at 0 calc(100% - var(--cut)), transparent 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% calc(100% - var(--cut)), transparent 97%, #000) right / 51% 100% no-repeat;
  }
  .pass__photo { padding: 10px 10px 0; min-height: 0; }
  .pass__main { padding: 18px 20px 16px; }
  .pass__icon { display: none; }
  .pass__main h3 { font-size: clamp(20px, 5.6vw, 24px); margin-bottom: 8px; }
  .pass__main p { font-size: 15px; }
  .pass__stub { height: var(--cut); flex-direction: row; border-left: 0; border-top: 2px dashed rgba(20,19,15,.28); padding: 0 20px; }
  .pass__brand { writing-mode: horizontal-tb; transform: none; font-size: 11px; }
  .pass__code { font-size: 22px; }
  .pass__link { font-size: 12.5px; }

  .board { padding: 6px 12px; }
  .board__row { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 18px 2px; }
  .board__row--head span:nth-child(n+2) { display: none; }
  .board__how { font-size: 15px; }
  .board__status { display: none; }
  .board__who { font-size: clamp(12px, 3.6vw, 16px); }
  .board__status { font-size: 13px; }

  .rep__grid { grid-template-columns: minmax(0, 1fr); }
  .rep__big { grid-row: auto; min-height: 380px; }

  .form__row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ftr__top { flex-direction: column; gap: 22px; }
  .ftr__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ftr__cols > div:last-child { grid-column: 1 / -1; }
  .ftr__base { flex-direction: column; align-items: flex-start; }
  .ftr--runway .ftr__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ftr--board .fb { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stats div { flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 16px; }
  .stats dd { margin: 0; min-width: 2.6em; }
  .hero__ctas .btn { flex: 1 1 auto; }
}

@media (max-height: 620px) and (min-width: 900px) {
  .cabin__win { max-height: 22svh; }
  .hero--cabin .hero__sub { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .window__blind { transform: translateY(-84%); }
  .services__viewport { overflow-x: auto; }
}
