:root {
  --ink: #f3f6f8;
  --muted: #b9c6cf;
  --night: #06121c;
  --teal: #2aa6a0;
  --orange: #f08a24;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 16px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }

/* Top bar */
.bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: calc(12px + env(safe-area-inset-top, 0px)) var(--gutter) 12px;
  background: linear-gradient(to bottom, rgba(6, 18, 28, 0.78), rgba(6, 18, 28, 0));
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 700 1.05rem/1 var(--display);
  font-stretch: 112%;
  letter-spacing: 0.12em;
}
.brand img { border-radius: 6px; display: block; }
.brand em { font-style: normal; font-weight: 400; color: var(--muted); }
.bar nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 26px); }
.bar nav a {
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.bar nav a:hover, .bar nav a:focus-visible { color: var(--ink); }
.bar nav a.cta {
  color: #10202b;
  background: var(--orange);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
}
@media (max-width: 760px) {
  .bar nav a:not(.cta) { display: none; }
}
@media (max-width: 420px) {
  .bar { gap: 8px; }
  .brand { gap: 7px; font-size: 0.85rem; letter-spacing: 0.08em; }
  .brand img { width: 30px; height: 30px; }
  .bar nav a.cta { font-size: 0.78rem; padding: 9px 12px; }
}

/* Film */
.film { position: relative; height: 1100vh; }
.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--night) center / cover no-repeat url("assets/k1.jpg");
  perspective: 1200px;
}
#screen { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
@media (max-width: 760px) and (orientation: portrait) {
  .stage { background-size: contain; background-position: center 30%; }
}
.shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(6, 18, 28, 0.72), rgba(6, 18, 28, 0) 46%),
    radial-gradient(120% 90% at 50% 50%, rgba(6, 18, 28, 0) 55%, rgba(6, 18, 28, 0.55) 100%);
}

/* Scenes: each block of copy flies in from far away, holds, then passes the camera. */
.scene {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(56px, 11vh, 120px);
  max-width: 560px;
  opacity: 0;
  visibility: hidden;
  transform-origin: 50% 60%;
  will-change: transform, opacity, filter;
  text-shadow: 0 2px 24px rgba(3, 10, 16, 0.85), 0 1px 2px rgba(3, 10, 16, 0.9);
}
.scene.is-right { left: auto; }
.scene.is-center {
  left: 50%;
  right: auto;
  width: min(760px, calc(100% - 2 * var(--gutter)));
  max-width: none;
  margin-left: calc(min(760px, 100% - 2 * var(--gutter)) / -2);
  text-align: center;
}
.scene.is-top { bottom: auto; top: clamp(84px, 15vh, 150px); }
.scene::before {
  content: "";
  position: absolute;
  inset: -28px -32px;
  z-index: -1;
  border-radius: 24px;
  background: radial-gradient(closest-side, rgba(6, 18, 28, 0.62), rgba(6, 18, 28, 0));
}
.eyebrow {
  margin: 0 0 12px;
  font: 600 0.78rem/1.2 var(--body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
}
h1, h2 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 108%;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.scene p { margin: 0 0 14px; font-size: clamp(1rem, 1.25vw, 1.15rem); color: var(--ink); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.35rem) !important; color: var(--muted) !important; }
.scene ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.scene li {
  position: relative;
  padding-left: 22px;
  font-size: 0.98rem;
  color: var(--muted);
}
.scene li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 2px;
  background: var(--teal);
}
.cue {
  margin-top: 28px !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted) !important;
}
.cue span {
  display: block;
  width: 1px;
  height: 34px;
  margin: 0 auto 10px;
  background: linear-gradient(var(--orange), transparent);
  animation: drop 1.8s ease-in-out infinite;
}
@keyframes drop {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
.actions { margin: 22px 0 18px !important; }
.button {
  display: inline-block;
  padding: 15px 28px;
  border-radius: 999px;
  background: var(--orange);
  color: #10202b;
  font-weight: 600;
  text-decoration: none;
  text-shadow: none;
}
.button:hover, .button:focus-visible { background: #ffa446; }
address { font-style: normal; font-size: 0.95rem; color: var(--muted); line-height: 1.7; }
address a { color: var(--ink); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
}
.progress i { display: block; height: 100%; width: 0; background: var(--orange); }

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 22px var(--gutter) calc(22px + env(safe-area-inset-bottom, 0px));
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.foot p { margin: 0; }

/* Small screens: keep copy low and compact so the picture stays visible. */
@media (max-width: 640px) {
  .scene, .scene.is-right { left: var(--gutter); right: var(--gutter); max-width: none; }
  .scene.is-center { left: var(--gutter); right: var(--gutter); width: auto; margin-left: 0; }
  .scene ul { display: none; }
  .scene.is-top { top: clamp(76px, 12vh, 110px); }
}

/* Reduced motion, or no script: a plain page of stills with all the copy. */
.static .film { height: auto; }
.static .stage { position: static; height: auto; overflow: visible; background: none; perspective: none; }
.static #screen, .static .shade, .static .progress, .static .cue { display: none; }
.static .scene, .static .scene.is-center, .static .scene.is-right {
  position: relative;
  inset: auto;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  margin: 0;
  width: auto;
  max-width: none;
  opacity: 1;
  visibility: visible;
  transform: none;
  filter: none;
  text-align: left;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px var(--gutter) 56px;
  background: var(--night) center / cover no-repeat;
}
.static .scene::before { inset: 0; border-radius: 0; background: linear-gradient(to top, rgba(6, 18, 28, 0.9), rgba(6, 18, 28, 0.15) 70%); }
.static .scene > * { max-width: 620px; }
.static #hero, .static #air { background-image: url("assets/k1.jpg"); }
.static #handling { background-image: url("assets/k2.jpg"); }
.static #crew { background-image: url("assets/k3b.jpg"); }
.static #flight { background-image: url("assets/k4.jpg"); }
.static #network { background-image: url("assets/k5.jpg"); }
.static #contact { background-image: url("assets/k6.jpg"); }

/* Quote form */
.quote { background: #0a1c29; border-top: 1px solid rgba(255, 255, 255, 0.08); scroll-margin-top: 0; }
.quote-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 120px) var(--gutter) clamp(56px, 8vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 860px) { .quote-inner { grid-template-columns: minmax(0, 1fr); } }
.quote-intro p { color: var(--muted); }
.quote-intro a { color: var(--ink); overflow-wrap: anywhere; }
.quote-direct { font-size: 0.95rem; }
.quote-form-container { min-width: 0; }
.quote-form-link { margin: 0 0 16px; color: var(--muted); font-size: 0.9rem; }
.quote-form-link a { color: var(--ink); }
.quote-form-embed { display: block; width: 100%; height: 2100px; border: 0; border-radius: 12px; background: #f0ebf8; }
@media (max-width: 640px) { .quote-form-embed { height: 2350px; } }

/* Company facts, below the film */
.facts { background: #081824; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.facts-inner { max-width: 1120px; margin: 0 auto; padding: clamp(56px, 9vw, 110px) var(--gutter); }
.facts h2 { max-width: 16em; margin-bottom: 36px; }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 40px; }
.facts h3 {
  margin: 0 0 10px;
  font: 600 0.8rem/1.2 var(--body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}
.facts p { margin: 0; color: var(--muted); line-height: 1.7; overflow-wrap: anywhere; }
.facts a { color: var(--ink); }

/* Careers page */
.page { max-width: 760px; margin: 0 auto; padding: 140px var(--gutter) 80px; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page p { color: var(--muted); font-size: 1.05rem; }
.page p strong { color: var(--ink); }
