:root {
  --ink: #0b1016;
  --ink-2: #111921;
  --paper: #f2f4f1;
  --muted: rgba(242, 244, 241, 0.74);
  --faint: rgba(242, 244, 241, 0.5);
  --line: rgba(242, 244, 241, 0.2);
  --accent: #c6ec5c;
  --accent-ink: #12180a;
  --r-card: 16px;
  --gutter: clamp(16px, 4vw, 56px);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --display: 'Archivo', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-stretch: 100%;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
html { scrollbar-color: rgba(242,244,241,.35) var(--ink); }

/* ---------- layers ---------- */
#sky { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; background: linear-gradient(#2463b8, #c2d9ef 62%, #7896b8); }
.grain {
  position: fixed; inset: -50%; z-index: 3; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cloud-intro {
  position: fixed; inset: 0; z-index: 20; pointer-events: none;
  background: radial-gradient(120% 90% at 60% 55%, #ffffff 0%, #eef4fa 45%, #dce8f3 100%);
  transition: opacity 1.8s var(--ease-out), filter 1.8s var(--ease-out);
}
.cloud-intro.out { opacity: 0; filter: blur(30px); }
main, .footer, .nav { position: relative; z-index: 2; }
/* the aircraft re-drawn above the hero copy so it flies in front of the glass card */
#front { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 5; pointer-events: none; opacity: 0; }
/* over the sky: deep navy type; dark glass panels flip back to light type */
main, .nav { --paper: #0b1d36; --muted: rgba(11, 29, 54, 0.8); --faint: rgba(11, 29, 54, 0.62); --line: rgba(11, 29, 54, 0.2); color: var(--paper); }


/* ---------- type ---------- */
.display, .display-2, .brand, .voyager-word, .figure span, .track b {
  font-family: var(--display);
  font-stretch: 125%;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.display { font-size: clamp(2.7rem, 7.2vw, 6rem); font-weight: 560; line-height: 0.98; }
.display-2 { font-size: clamp(2.1rem, 4.6vw, 4.1rem); font-weight: 560; line-height: 1.02; }
.lede { font-size: clamp(1.02rem, 1.3vw, 1.2rem); color: var(--muted); max-width: 40ch; line-height: 1.5; }
.brand { font-weight: 760; font-size: 1.02rem; letter-spacing: 0.24em; font-stretch: 125%; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: 52px; padding: 0 26px; border-radius: 999px; white-space: nowrap;
  font-weight: 600; font-size: .98rem; letter-spacing: .01em; font-stretch: 110%;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
  user-select: none;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: #0b1d36; color: #fff; }
.footer .btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { border: 1px solid rgba(11,29,54,.35); color: #0b1d36; background: rgba(255,255,255,.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-sm { height: 40px; padding: 0 18px; font-size: .9rem; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: #17345c; }
  .footer .btn-primary:hover { background: #d6f57a; }
  .btn-ghost:hover { border-color: #0b1d36; background: rgba(255,255,255,.7); }
}
span.btn { cursor: default; }
span.btn:active { transform: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10; height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  transition: background-color 300ms ease, backdrop-filter 300ms ease, transform 400ms var(--ease-out);
}
.nav.scrolled { background: rgba(255,255,255,.55); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
.nav.hide { transform: translateY(-100%); }
.nav-links { display: flex; gap: clamp(18px, 2.4vw, 36px); font-size: .93rem; font-weight: 500; color: var(--muted); }
.nav-end { display: flex; align-items: center; gap: 20px; }
.lang { display: flex; gap: 10px; font-family: var(--mono); font-size: .8rem; color: var(--faint); }
.lang b { color: var(--paper); font-weight: 500; }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: flex-end; padding: 96px var(--gutter) clamp(40px, 8vh, 88px); position: relative; }
.hero::before {
  display: none; content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 60% at 12% 92%, rgba(255,255,255,.55), rgba(255,255,255,0) 70%);
}
.hero-copy { position: relative; max-width: 760px; }
.hero .display { text-shadow: 0 1px 30px rgba(255,255,255,.5); }
.hero .lede { margin-top: 22px; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ---------- anatomy ---------- */
.anatomy { position: relative; height: 520vh; }
.anatomy-sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: flex-end; padding: 96px var(--gutter) clamp(36px, 8vh, 84px); pointer-events: none; }
.anatomy-sticky::before { display: none; content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.55), rgba(255,255,255,0) 46%); }
.anatomy-panel { position: relative; display: flex; gap: 28px; align-items: stretch; }
.rail { width: 2px; background: var(--line); border-radius: 2px; position: relative; overflow: hidden; }
.rail i { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: #0b1d36; transform-origin: top; transform: scaleY(0); }
.anatomy-panel { flex-direction: row-reverse; }
.steps { position: relative; width: min(440px, 80vw); min-height: 270px; }
.step { position: absolute; left: 0; bottom: 0; width: 100%; opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out), filter 500ms var(--ease-out); }
.step.is-on { opacity: 1; transform: none; filter: none; }
.step-title { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-weight: 500; font-size: .86rem; letter-spacing: .14em; text-transform: uppercase; color: var(--paper); }
.step-title::before { content: ''; width: 18px; height: 3px; border-radius: 2px; background: #7fb52a; }
.figure { display: flex; align-items: baseline; gap: 12px; margin: 10px 0 14px; }
.figure span { font-size: clamp(3.6rem, 8vw, 6rem); font-weight: 520; line-height: .95; font-variant-numeric: tabular-nums; }
.figure small { font-family: var(--mono); font-size: 1rem; color: var(--muted); }
.step > p:last-child { color: var(--muted); max-width: 36ch; }
.anchor { position: absolute; left: 0; width: 1px; height: 1px; }
.anchor[data-anchor="nose"] { top: 0; }
.anchor[data-anchor="cabin"] { top: 140vh; }
.anchor[data-anchor="wing"] { top: 280vh; }
.anchor[data-anchor="tail"] { top: 420vh; }

/* ---------- night ---------- */
.night { min-height: 170vh; display: flex; align-items: center; justify-content: flex-end; padding: 0 var(--gutter); }
.night-copy { max-width: 500px; position: sticky; top: 28vh; align-self: flex-start; margin-top: 40vh; }
.night-copy p { margin-top: 20px; color: var(--muted); max-width: 44ch; font-size: 1.08rem; }
.night-copy em { font-style: italic; color: var(--paper); }

/* ---------- firsts ---------- */
.firsts { position: relative; }
.firsts-pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 6vh, 64px); overflow: hidden; }
.firsts-title { padding: 0 var(--gutter); }
.track { list-style: none; display: flex; gap: clamp(14px, 1.6vw, 22px); padding: 0 var(--gutter); width: max-content; }
.track li {
  width: clamp(260px, 24vw, 340px); min-height: 280px; padding: 26px 26px 28px; border-radius: var(--r-card);
  background: rgba(11,29,54,.72); border: 1px solid rgba(242,244,241,.14);
  backdrop-filter: blur(18px) saturate(130%); -webkit-backdrop-filter: blur(18px) saturate(130%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 24px 60px -30px rgba(0,0,0,.6);
  display: flex; flex-direction: column;
}
.track b { font-size: clamp(2.6rem, 4vw, 3.4rem); font-weight: 300; line-height: 1; color: var(--paper); font-variant-numeric: tabular-nums; }
.track h3 { margin-top: auto; padding-top: 40px; font-size: 1.22rem; font-weight: 650; font-stretch: 112%; }
.track p { margin-top: 8px; color: var(--muted); font-size: .97rem; line-height: 1.45; }

/* ---------- fleet ---------- */
.fleet { position: relative; min-height: 100vh; padding: 120px var(--gutter) 56px; display: grid; grid-template-columns: 1fr 380px; grid-template-rows: auto 1fr auto; gap: 24px; }
.fleet-head { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 24px; position: relative; z-index: 2; }

.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(11,29,54,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); width: max-content; max-width: 100%; overflow-x: auto; }
.tabs button { height: 42px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: .93rem; color: var(--muted); white-space: nowrap; transition: background-color 220ms ease, color 220ms ease, transform 160ms var(--ease-out); }
.tabs button:active { transform: scale(0.97); }
.tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .tabs button[aria-selected="false"]:hover { color: var(--paper); } }
.fleet-stage { grid-column: 1; grid-row: 2; min-height: 46vh; cursor: grab; touch-action: pan-y; }
.fleet-stage:active { cursor: grabbing; }
.spec-card {
  grid-column: 2; grid-row: 2; align-self: end; position: relative; z-index: 2;
  padding: 26px; border-radius: var(--r-card); background: rgba(11,29,54,.8); border: 1px solid rgba(242,244,241,.12);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 30px 70px -36px rgba(12,20,30,.7);
}
.spec { animation: specIn 420ms var(--ease-out); }
@keyframes specIn { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } }
.spec-line { color: var(--paper); font-size: 1.02rem; line-height: 1.45; }
.spec dl { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.spec dt { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.spec dd { font-size: 1.28rem; font-weight: 600; font-stretch: 112%; margin-top: 4px; font-variant-numeric: tabular-nums; }
.drag-hint { margin-top: 18px; font-family: var(--mono); font-size: .76rem; color: var(--faint); }
.more-fleet { grid-column: 1 / -1; grid-row: 3; list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; position: relative; z-index: 2; }
.more-fleet li { padding: 16px 18px; border-radius: 12px; background: rgba(11,29,54,.7); border: 1px solid rgba(242,244,241,.1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.more-fleet b { display: block; font-weight: 650; font-stretch: 112%; font-size: 1rem; }
.more-fleet span { font-size: .84rem; color: var(--faint); }

/* ---------- voyager ---------- */
.voyager { min-height: 120vh; display: flex; align-items: center; padding: 120px var(--gutter); }
.voyager-grid { width: 100%; display: grid; grid-template-columns: 1fr; gap: 28px; }
.voyager-word { white-space: nowrap; font-size: clamp(3.2rem, 12vw, 13rem); font-weight: 760; line-height: .86; letter-spacing: -0.05em; text-transform: uppercase; color: #fff; opacity: .96; text-shadow: 0 10px 60px rgba(11,29,54,.18); }
.voyager-copy { justify-self: end; max-width: 460px; padding: 26px; border-radius: var(--r-card); background: rgba(11,29,54,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.voyager-copy .lede { color: var(--paper); max-width: 36ch; }
.voyager-facts { display: grid; gap: 14px; width: 100%; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.voyager-facts div { display: flex; justify-content: space-between; gap: 18px; }
.voyager-facts dt { font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); padding-top: 3px; }
.voyager-facts dd { font-weight: 600; text-align: right; }

/* ---------- quote ---------- */
.quote { min-height: 90vh; display: flex; align-items: center; justify-content: center; padding: 80px var(--gutter); text-align: center; }
.quote figure { max-width: 980px; }
.quote blockquote { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 440; line-height: 1.24; font-stretch: 108%; letter-spacing: -0.015em; text-wrap: balance; }
.quote figcaption { margin-top: 30px; display: flex; flex-direction: column; gap: 2px; }
.quote figcaption span { color: var(--muted); font-size: .92rem; }

/* ---------- contact ---------- */
.contact { min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px var(--gutter) 96px; position: relative; }
.contact::before { display: none; content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(255,255,255,.6), rgba(255,255,255,0) 60%); pointer-events: none; }
.contact > * { position: relative; }
.contact .display { max-width: 12ch; }
.contact .lede { margin-top: 22px; }

/* ---------- footer ---------- */
.footer { background: var(--ink); padding: 72px var(--gutter) 32px; border-top: 1px solid rgba(242,244,241,.08); }
.footer-top { display: grid; grid-template-columns: 1.2fr 1.6fr 1.1fr; gap: 48px; }
.footer address { font-style: normal; color: var(--muted); margin-top: 22px; line-height: 1.6; }
.rotax { margin-top: 18px; color: var(--faint); font-size: .88rem; max-width: 34ch; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h4 { font-family: var(--mono); font-weight: 500; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.footer-cols span { display: block; color: var(--muted); font-size: .95rem; padding: 4px 0; }
.newsletter label { font-weight: 650; font-stretch: 112%; font-size: 1.1rem; }
.nl-row { display: flex; gap: 8px; margin-top: 14px; }
.nl-row input {
  flex: 1; min-width: 0; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(242,244,241,.28);
  background: rgba(242,244,241,.04); color: var(--paper); font: inherit; font-size: .95rem; caret-color: var(--accent);
  transition: border-color 200ms ease;
}
.nl-row input::placeholder { color: rgba(242,244,241,.55); }
.nl-row input:focus { outline: none; border-color: var(--accent); }
.nl-row input[aria-invalid="true"] { border-color: #ff8a7a; }
.nl-msg { min-height: 1.4em; margin-top: 10px; font-size: .88rem; color: var(--muted); }
.nl-msg.err { color: #ffa597; }
.nl-msg.ok { color: var(--accent); }
.footer-bottom { margin-top: 64px; padding-top: 22px; border-top: 1px solid rgba(242,244,241,.08); display: flex; gap: 24px; flex-wrap: wrap; font-size: .85rem; color: var(--faint); }
.footer-bottom a { margin-left: auto; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .more-fleet { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .newsletter { grid-column: 1 / -1; max-width: 480px; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .nav { height: 60px; }
  .lang { display: none; }
  .hero { padding-bottom: 36px; }
  .hero::before { background: linear-gradient(to top, rgba(255,255,255,.7), rgba(255,255,255,0) 62%); }
  .cta-row .btn { flex: 1 1 auto; }
  .anatomy-sticky { padding-bottom: 28px; }
  .anatomy-sticky::before { background: linear-gradient(to top, rgba(255,255,255,.72), rgba(255,255,255,0) 55%); }
  .anatomy-panel { gap: 16px; }
  .steps { width: calc(100vw - 2 * var(--gutter) - 18px); min-height: 230px; }
  .night { min-height: 150vh; }
  .night-copy { margin-top: 30vh; top: auto; position: relative; padding: 24px; border-radius: var(--r-card); background: rgba(255,255,255,.5); }
  .track li { width: 78vw; min-height: 250px; }
  .fleet { grid-template-columns: 1fr; grid-template-rows: auto minmax(42vh, 1fr) auto auto; padding-top: 96px; }
  .fleet-stage { grid-column: 1; grid-row: 2; }
  .tabs { width: 100%; }
  .tabs button { flex: 1; padding: 0 10px; font-size: .84rem; }
  .spec-card { grid-column: 1; grid-row: 3; }
  .more-fleet { grid-row: 4; grid-template-columns: 1fr 1fr; }
  .voyager-copy { justify-self: stretch; }
  .footer-top, .footer-cols { grid-template-columns: 1fr; }
  .footer-cols { gap: 28px; }
  .footer-bottom a { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .cloud-intro { transition: opacity .4s ease; filter: none !important; }
  .step { transition: opacity .3s ease; transform: none; filter: none; }
  .spec { animation: none; }
}

/* ---------- frosted glass: every text block floats on its own pane ---------- */
:root {
  --glass-bg: linear-gradient(135deg, rgba(255,255,255,.58), rgba(255,255,255,.34));
  --glass-border: rgba(255,255,255,.7);
  --glass-shadow: 0 30px 70px -30px rgba(18,52,104,.42), inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(255,255,255,.25);
  --glass-blur: blur(26px) saturate(170%);
}
.glass, .track li, .spec-card, .more-fleet li, .voyager-copy, .tabs {
  background: var(--glass-bg) !important;
  border: 1px solid var(--glass-border) !important;
  box-shadow: var(--glass-shadow) !important;
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.glass { border-radius: 24px; padding: clamp(22px, 3vw, 38px); }
.hero-copy.glass { max-width: 640px; }
.anatomy-panel.glass { padding: 30px 34px; }
.anatomy-panel .steps { width: min(400px, 74vw); }
.night-copy.glass { max-width: 520px; }
.firsts-head { padding: 0 var(--gutter); }
.firsts-title.glass { display: inline-block; padding: 18px 28px; }
.glass-title { display: inline-block; align-self: flex-start; padding: 16px 26px !important; }
.quote figure.glass { padding: clamp(28px, 4vw, 54px); }
.contact-card.glass { max-width: 720px; }
.contact-card .lede { margin-top: 18px; }
.tabs button { color: var(--muted); }
.tabs button[aria-selected="true"] { background: #0b1d36; color: #fff; }
@media (hover: hover) and (pointer: fine) { .tabs button[aria-selected="false"]:hover { color: var(--paper); } }
.btn-ghost { background: rgba(255,255,255,.55); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .track li, .spec-card, .more-fleet li, .voyager-copy, .tabs { background: rgba(244,248,252,.94) !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .track li, .spec-card, .more-fleet li, .voyager-copy, .tabs { background: rgba(244,248,252,.96) !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (max-width: 767px) {
  .glass { border-radius: 20px; padding: 20px; }
  .hero-copy.glass, .contact-card.glass { width: 100%; }
  .anatomy-panel.glass { padding: 20px 22px; width: 100%; }
  .anatomy-panel .steps { width: 100%; }
  .night-copy.glass { margin-top: 30vh; }
}
