/* JetLee brand layer.
   Decisions, reused everywhere:
   - Type: Unbounded (wide, rounded geometric: it echoes cabin windows) for headings, set
     tight and never tracked out; Manrope for text. Sentence case everywhere, no eyebrows.
   - Shape: the cabin window. Rounded rectangles (large radius) for every framed image;
     full-bleed images are never framed.
   - Colour: night-cabin navy, warm ivory text. Coral accent ONLY on the primary action,
     the altitude number and focus rings. Light sand sections (theme-alt) for daytime scenes.
   - Rhythm: generous. One idea per screen; nothing boxed. */

/* ---------- Type ---------- */
h1, h2, h3 { letter-spacing: -0.035em; line-height: 1.02; font-weight: var(--weight-display); text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 1.6rem + 6vw, 7.4rem); max-width: 12ch; }
h2 { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 4.8rem); }
h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); letter-spacing: -0.02em; line-height: 1.12; }
.nowrap { white-space: nowrap; }
.tag { font-size: var(--step--1); color: var(--color-muted); }       /* small sentence-case label, no tracking */

/* ---------- Header + live weather ---------- */
.site-header { gap: var(--space-m); }
/* logo: the client's geometric JL mark (image) + "JetLee" set live in the headline face, so it matches the headlines exactly */
.logo { display: inline-flex; align-items: center; gap: .55rem; color: var(--color-accent); }
.logo-mark { display: block; height: 1.9rem; width: auto; }
.logo-word { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.03em; line-height: 1; }
@media (max-width: 480px) { .logo .logo-word { display: none; } }
.footer-logo { flex-basis: 100%; display: flex; flex-direction: column; align-items: center; gap: .5rem; margin-bottom: var(--space-l); color: var(--color-accent); }
.footer-logo img { width: min(9rem, 40vw); height: auto; }
.footer-word { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); letter-spacing: -0.03em; line-height: 1; }
.footer-tag { color: var(--color-muted); }
.weather { margin: 0 auto 0 var(--space-m); font-size: var(--step--1); color: var(--color-muted);
  font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 700px) { .weather { display: none; } }
.btn { border-radius: 999px; white-space: nowrap; }
@media (max-width: 480px) { .hide-sm { display: none; } .site-header nav { gap: var(--space-s); } }
.btn-small, .request-form .btn { background: var(--color-accent); color: var(--color-on-accent); border-color: var(--color-accent); }

/* ---------- 1 · Wheels up ---------- */
.hero { padding-bottom: clamp(3rem, 8vh, 6rem); }
.hero .lede { max-width: 32ch; }

/* ---------- 2 · What JetLee is ---------- */
.statement-text { font-size: clamp(2rem, 1.1rem + 3.6vw, 4.6rem); line-height: 1.08; max-width: 20ch; }

/* ---------- 3 · The climb (breaker) ---------- */
.climb { position: relative; min-height: 100dvh; display: grid; align-content: center; overflow: clip; isolation: isolate; }
.climb-sky { position: absolute; inset: -10% 0; z-index: -1; }
.climb-sky img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.climb-inner { display: grid; gap: var(--space-m); }
.altitude { font-family: var(--font-display); font-size: clamp(4rem, 1rem + 14vw, 15rem); line-height: .9;
  letter-spacing: -0.05em; color: var(--color-accent); font-variant-numeric: tabular-nums; }
.altitude { font-weight: 800; }
.altitude-num { display: inline-block; }
.climb h2 { max-width: 16ch; }

/* ---------- 4 · Through the window ---------- */
.cabin-window { margin: 0; aspect-ratio: 10 / 13; width: min(100%, calc(min(64dvh, 640px) * 10 / 13)); border-radius: 42% / 32%;   /* the oval-cornered cabin window */
  overflow: hidden; box-shadow: inset 0 0 0 clamp(10px, 1.4vw, 18px) var(--color-surface), 0 30px 80px rgb(0 0 0 / .45);
  background: var(--color-surface); }
.cabin-window { position: relative; }
.cabin-window img, .is-pinned-steps .cabin-window img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; border-radius: inherit; aspect-ratio: auto; margin: 0; }   /* fills the window whatever the photo's shape */
.windows [data-step] { display: grid; gap: var(--space-s); justify-items: start; }
.windows [data-step] h3 { margin-top: var(--space-s); }
.windows [data-step] p { color: var(--color-muted); max-width: 34ch; }

/* ---------- 5 · Weather cut ---------- */
.cut-copy h2 { text-shadow: 0 2px 30px rgb(0 0 0 / .35); }

/* ---------- 6 · Who flies JetLee ---------- */
.people .stack-inner img { aspect-ratio: 10 / 13; width: auto; max-width: 100%; max-height: 66dvh; justify-self: center;
  border-radius: 42% / 32%; box-shadow: inset 0 0 0 14px var(--color-surface); }   /* portrait cabin-window framing */
.people h3 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3.4rem); max-width: 16ch; }

/* ---------- 7 · Every leg ---------- */
.legs-intro { min-height: 70dvh; display: grid; place-items: center; padding: var(--space-2xl) var(--gutter); text-align: center; }
.fly-sentence { font-size: clamp(2rem, 1.2rem + 3.4vw, 4.6rem); max-width: 18ch; }
.legs { padding-block: var(--space-xl) var(--space-2xl); }
.fly-track { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 700px) { .fly-track { grid-template-columns: repeat(2, 1fr); } }
.fly-cell { margin: 0; }
.legs-note { margin-top: var(--space-l); max-width: 40ch; }

/* ---------- 8 · The fleet ---------- */
.fleet { padding-block: var(--space-xl) var(--space-2xl); overflow: clip; }
.fleet .drift { font-family: var(--font-display); color: color-mix(in srgb, var(--color-fg) 14%, transparent); }
.fleet-list { display: grid; gap: var(--space-xl); }
.aircraft { display: grid; gap: var(--space-s); }
.aircraft img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.aircraft p { color: var(--color-muted); max-width: 40ch; }
@media (min-width: 900px) {
  .fleet-list { grid-template-columns: 1.3fr 1fr; align-items: end; }
  .aircraft:nth-child(2) { margin-top: 30vh; }
  .aircraft:nth-child(3) { grid-column: 1 / -1; width: 72%; justify-self: center; }
}

/* ---------- 9 · Landing ---------- */
.landing { position: relative; min-height: 100dvh; display: grid; align-content: end; overflow: clip; isolation: isolate; color: #fff; }
.landing-layers { position: absolute; inset: 0; z-index: -1; }
.landing-layers img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.landing::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(0 0 0 / .5), transparent 55%); }
.landing-copy { padding-bottom: clamp(3rem, 10vh, 7rem); }
.landing h2 { font-size: clamp(2.6rem, 1.4rem + 5vw, 6.6rem); max-width: 13ch; }

/* ---------- 10 · Request a flight (calm) ---------- */
.request { text-align: center; justify-items: center; gap: var(--space-l); padding-block: var(--space-2xl); }
.request-title { font-size: clamp(2.6rem, 1.4rem + 5vw, 6.6rem); }
.request-form { display: grid; gap: var(--space-s); width: min(100%, 860px); grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); align-items: end; text-align: left; }
.request-form label { display: grid; gap: var(--space-2xs); font-size: var(--step--1); color: var(--color-muted); }
.request-form select, .request-form input { font: inherit; font-size: var(--step-0); color: var(--color-fg); background: var(--color-surface);
  border: 1px solid color-mix(in srgb, var(--color-fg) 18%, transparent); border-radius: 12px; padding: .7em .8em; }
.request-form select:focus-visible, .request-form input:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.request-form .btn { grid-column: 1 / -1; justify-self: center; margin-top: var(--space-s); }
.demo-note { font-size: var(--step--1); color: var(--color-muted); max-width: 46ch; }

/* ---------- Signature: the cabin-window menu ---------- */
.menu-open { overflow: hidden; }
.cabin-menu { position: fixed; inset: 0; z-index: 60; background: var(--color-bg); color: var(--color-fg);
  display: grid; align-content: start; gap: clamp(.4rem, 1.5vh, 1rem);
  /* start just below the render's windows: they end 44.2% down an image drawn at max(0.75vw, 100dvh) tall */
  padding: calc(max(33.2vw, 44.2dvh) + clamp(.8rem, 3vh, 2rem)) var(--gutter) clamp(1.5rem, 4vh, 3rem); overflow-y: auto; isolation: isolate; }
.cabin-menu-title, .cabin-menu-list a { text-shadow: 0 2px 22px rgb(5 10 20 / .55), 0 1px 3px rgb(5 10 20 / .4); }
.cabin-menu[hidden] { display: none; }
.motion .cabin-menu { opacity: 0; transition: opacity .3s ease-out; }
.motion .cabin-menu.is-open { opacity: 1; transition-duration: .45s; }
.cabin-menu-close { position: absolute; top: 1rem; right: var(--gutter); font: inherit; font-weight: var(--weight-strong);
  color: var(--color-fg); background: none; border: 1px solid color-mix(in srgb, var(--color-fg) 30%, transparent);
  border-radius: 999px; padding: .55em 1.1em; cursor: pointer; }
.cabin-menu-close:focus-visible, .cabin-menu-list a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; }

/* The backdrop: the outside of the jet for the landed destination (paint reflection + window views).
   Anchored to the top so the render's windows sit in the upper part at every size; content goes below them.
   Render: 1448x1086, windows end ~44% down its height. */
.cabin-menu-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #0b1220; }
.cabin-menu-bg .bg-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; opacity: 0; }
.cabin-menu-bg .bg-layer.is-front { opacity: 1; }
.motion .cabin-menu-bg .bg-layer { transition: opacity .7s ease-out; }
.cabin-menu-bg::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s ease-out;
  background: linear-gradient(180deg, rgb(11 18 32 / .55), rgb(11 18 32 / .7)); }
.motion .is-spinning .cabin-menu-bg::after { opacity: 1; }        /* the jet holds its breath while the reel spins */

.cabin-menu-list { list-style: none; margin: 0; padding: 0; display: grid; justify-content: center; text-align: center; gap: .1em; }
.cabin-menu-list a { display: inline-flex; align-items: baseline; gap: .6em; text-decoration: none; color: inherit;
  font-family: var(--font-display); font-size: clamp(1.8rem, 1rem + 3.4vw, 4.2rem); letter-spacing: -0.035em; line-height: 1.15;
  opacity: .45; transition: opacity .15s ease-out; }
.cabin-menu-list a.is-current, .cabin-menu-list a:hover, .cabin-menu-list a:focus-visible { opacity: 1; transition-duration: .25s; }
.cabin-menu-list .wx { font-family: var(--font-body); font-size: var(--step--1); letter-spacing: 0; color: var(--color-muted); font-variant-numeric: tabular-nums; }
/* "Where to next?" in the accent script (Caveat, as on Zensia): a handwritten face needs ~1.2x size,
   tight leading and no tracking to sit well above the Unbounded list */
.cabin-menu-title { font-family: var(--font-accent); font-weight: 600; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem);
  line-height: .95; letter-spacing: 0; text-align: center; color: var(--color-fg); margin: 0 0 -.15em; }

/* live weather labels elsewhere */
.wx:empty { display: none; }
.windows h3 .wx { font-family: var(--font-body); font-size: var(--step--1); letter-spacing: 0; color: var(--color-muted); font-weight: 400; margin-left: .4em; }
.demo-note.is-answered { color: var(--color-fg); }
/* the island grows toward the viewer from its own centre (upper right), so open water stays lower-left for the headline */
.landing-island { transform-origin: 66% 32%; }

/* ---------- Slot-machine reel (destinations) ---------- */
.reel { position: relative; width: 100%; overflow: hidden; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent);
          mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); }
.reel .cabin-menu-list { gap: 0; will-change: transform; }
.reel .cabin-menu-list li { display: block; padding-block: .06em; transform-origin: 50% 50%; will-change: opacity, transform; }
.reel .cabin-menu-list a { opacity: 1; transition: none; }          /* the reel sets each row's strength */
.reel-payline { position: absolute; left: 50%; top: 50%; width: min(92%, 760px); height: var(--row, 4rem);
  transform: translate(-50%, -50%); pointer-events: none;
  border-block: 1px solid color-mix(in srgb, var(--color-fg) 16%, transparent); }
.reel.is-dragging { cursor: grabbing; }
.reel a { -webkit-user-drag: none; }

/* ---------- In flight: clouds drift past the jet, the jet floats ----------
   The nose points left (door at the left), so clouds stream left → right, nose to tail.
   Three depths sell the speed: far = small, faint, slow; near = big, blurred, fast and kept to the
   top/bottom edges so they never cross the text. Transform-only keyframes (compositor), running
   only while the menu is shown. Reduced motion: no clouds, no float. */
.sky-drift { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; display: none;
  mix-blend-mode: screen; }   /* the clouds read as reflections sliding across the glossy paint, not stickers on it */
.motion .sky-drift { display: block; }
.cloud { position: absolute; left: 0; max-width: none; height: auto; will-change: transform;
  animation: cloud-drift linear infinite; }
@keyframes cloud-drift { from { transform: translate3d(-105%, 0, 0); } to { transform: translate3d(100vw, 0, 0); } }
.cloud.far  { width: 24vw; opacity: .45; animation-duration: 34s; }
.cloud.mid  { width: 46vw; opacity: .55; animation-duration: 18s; }   /* pre-smeared horizontally: speed blur */
.cloud.near { width: 90vw; opacity: .6;  animation-duration: 8.5s; }   /* heavy speed smear, edges only */
.c-a { top: 3%;  animation-delay: -6s; }
.c-b { top: 27%; animation-delay: -30s; }
.c-c { top: 12%; animation-delay: -4s; }
.c-d { top: 33%; animation-delay: -16s; }
.c-e { top: -16%; animation-delay: -2s; }
.c-f { top: 86%; animation-delay: -7.5s; }
/* the jet rides the air: a slow bob and the faintest roll */
.motion .cabin-menu.is-open .cabin-menu-bg { animation: jet-float 8s ease-in-out infinite alternate; transform-origin: 50% 40%; }
@keyframes jet-float { from { transform: translate3d(0, -0.6%, 0) rotate(-0.25deg) scale(1.03); }
                       to   { transform: translate3d(0, 0.6%, 0) rotate(0.25deg) scale(1.03); } }

/* ---------- More speed ---------- */
/* the bright cues stay strong over the windows and fade behind the menu text, so it holds contrast every frame */
.bright-lane { position: absolute; inset: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 0 34%, rgb(0 0 0 / .18) 46% 94%, rgb(0 0 0 / .5));
          mask-image: linear-gradient(#000 0 34%, rgb(0 0 0 / .18) 46% 94%, rgb(0 0 0 / .5)); }
/* 1. a cloud bank we glide through: waits off-screen, then drifts across the whole frame in ~3.4s, fading in and out */
.cloud.burst { width: 170vw; top: -30%; opacity: 0; animation: cloud-burst 17s linear infinite; animation-delay: -12s; }
@keyframes cloud-burst {
  0%, 80% { transform: translate3d(-105%, 0, 0); opacity: 0; }
  80.01%  { transform: translate3d(-105%, 0, 0); opacity: 0; animation-timing-function: cubic-bezier(.33, 0, .67, 1); }
  85%     { opacity: .7; }  95% { opacity: .7; }
  100%    { transform: translate3d(100vw, 0, 0); opacity: 0; } }
/* 2. sun glints sliding along the curved paint, nose → tail */
.glint { position: absolute; top: -20%; left: 0; width: 22vw; height: 140%; transform: translate3d(-40vw, 0, 0) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgb(255 236 210 / .22) 45%, rgb(255 246 230 / .38) 50%, rgb(255 236 210 / .22) 55%, transparent);
  animation: glint-sweep 5.5s cubic-bezier(.45, 0, .55, 1) infinite; will-change: transform; }
.glint.g2 { width: 9vw; animation-duration: 5.5s; animation-delay: -1.1s; opacity: .7; }
@keyframes glint-sweep { 0% { transform: translate3d(-40vw, 0, 0) skewX(-18deg); } 55%, 100% { transform: translate3d(130vw, 0, 0) skewX(-18deg); } }
/* 3. air streaks skimming the skin */
.streak { position: absolute; left: 0; height: 2px; width: 34vw; border-radius: 2px; opacity: 0; --o: .32;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / .9), transparent);
  animation: streak-zip linear infinite; will-change: transform, opacity; }
@keyframes streak-zip { 0% { transform: translate3d(-40vw, 0, 0); opacity: 0; } 15%, 85% { opacity: var(--o); }
  100% { transform: translate3d(110vw, 0, 0); opacity: 0; } }
/* two speeds only (thin = farther = slower), so the air reads as one steady flow */
.s1 { top: 9%;  animation-duration: 2.2s; animation-delay: -.4s; }
.s2 { top: 18%; animation-duration: 3s;   animation-delay: -1.9s; width: 22vw; --o: .22; }
.s3 { top: 49%; animation-duration: 2.2s; animation-delay: -1.5s; width: 40vw; }
.s4 { top: 63%; animation-duration: 3s;   animation-delay: -.7s; width: 28vw; --o: .26; }
.s5 { top: 78%; animation-duration: 2.2s; animation-delay: -.9s; }
.s6 { top: 92%; animation-duration: 3s;   animation-delay: -2.6s; width: 46vw; --o: .24; }
/* 4. engine hum: a tiny high-frequency shimmer on the jet, under the slow float */
.motion .cabin-menu.is-open .cabin-menu-bg .bg-layer { animation: engine-hum 1.8s ease-in-out infinite alternate; }
@keyframes engine-hum { from { transform: translate3d(-.4px, .5px, 0); } to { transform: translate3d(.4px, -.5px, 0); } }
