/* Loaded only on the two bilingual landing pages. */
.flight-opening, .scene {
  background-color: #0b1c27;
  color: white;
}
.flight-opening {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.flight-image, .flight-arrival, .flight-opening::after, .scene-art {
  position: absolute;
  inset: 0;
}
.flight-image, .flight-arrival, .scene-art {
  background-image: var(--photo);
  background-position: var(--position, center);
  background-size: cover;
}
.flight-launch.is-flying { background: #0b1c27; }
.flight-launch.is-flying::after { content: ""; display: block; height: clamp(17rem,72svh,50rem); }
.is-flying .flight-opening { position: sticky; top: 0; }
.flight-launch.is-flying .opening { min-height: 100svh; }
.flight-arrival { opacity: 0; background-position: 64% 61%; }
.flight-opening .flight-image { transform-origin: 80% 34%; }
.flight-opening .flight-image { background-position: center 34%; }
.flight-opening.photo-cockpit .flight-image { background-position: center 68%; }
.flight-opening::after {
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgb(8 23 34 / .73), transparent 23%),
              linear-gradient(0deg, rgb(8 23 34 / .83), transparent 40%),
              linear-gradient(90deg, rgb(8 23 34 / .85), rgb(8 23 34 / .64) 35%, transparent 74%);
}
.flight-opening .opening {
  z-index: 1;
  min-height: max(38rem, 96svh);
  padding-block: calc(var(--bar-height) + 2.7rem) 1rem;
  display: grid;
  align-items: end;
  grid-template-rows: auto 1fr auto;
  gap: clamp(1.25rem,4vh,3rem);
}
.flight-opening .opening-copy { max-width: min(55%,49rem); }
.flight-opening h1 { font-size: clamp(3.2rem,6.3vw,6rem); line-height: .99; }
.flight-opening .opening-copy p { max-width: 43ch; }
.flight-opening .button { background: var(--warm-yellow); color: var(--ink); }
.flight-opening .button:hover { background: #ffe29b; }
.flight-opening .text-action, .opening-foot a { text-decoration-color: var(--warm-yellow); }
.opening-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block-start: .7rem;
  border-top: 1px solid rgb(255 255 255 / .4);
  color: #fff;
  font-size: .88rem;
}
.opening-foot a { display: inline-flex; align-items: center; min-height: 44px; gap: .65rem; }
.opening-foot a::before { content: ""; width: .5rem; height: .5rem; border: solid var(--warm-yellow); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.opening-foot span { text-align: end; }
.motion-toggle:not([hidden]) {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  color: inherit; background: transparent; font: inherit; cursor: pointer;
  min-height: 44px; padding: 0 .4rem; border: 0; margin-inline-end: auto;
}
.motion-toggle::before { content: ""; width: .55rem; height: .65rem; border-inline: 2px solid var(--warm-yellow); }
.motion-toggle[aria-pressed="false"]::before { height: 0; border: .34rem solid transparent; border-left: .55rem solid var(--warm-yellow); border-right: 0; }
.motion-toggle:hover { text-decoration: underline; }
.opening-copy:focus-within { opacity: 1 !important; }
.flight-opening :focus-visible, .flight-story :focus-visible { outline-color: var(--warm-yellow); }

.flight-story { --index-height: 3.75rem; background: var(--ink); color: white; }
.story-index {
  position: sticky;
  top: var(--bar-height);
  z-index: 2;
  background: #102432;
  border-bottom: 1px solid #49606e;
}
.story-index .wrap, .index-links { display: flex; align-items: stretch; }
.story-index .wrap { justify-content: space-between; gap: 1rem; }
.story-index a { display: inline-flex; align-items: center; min-height: var(--index-height); }
.index-title { font-weight: 650; }
.index-links { gap: clamp(1rem,4vw,4rem); }
.index-links a { position: relative; text-decoration: none; gap: .55rem; }
.index-links span { color: var(--warm-yellow); font-variant-numeric: tabular-nums; font-size: .78em; }
.index-links a[aria-current]::after, .index-links a:hover::after {
  content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--warm-yellow);
}
.story-meter {
  position: absolute;
  inset: auto 0 -1px;
  height: 3px;
  background: var(--warm-yellow);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}
.scene-track {
  position: relative;
  isolation: isolate;
  --stage-top: calc(var(--bar-height) + var(--index-height) + 1px);
  --stage-height: calc(100svh - var(--stage-top));
  --stride: 98svh;
}
.scene-stop { scroll-margin-top: var(--index-height); }
.scene-stop:focus { outline: none; }
.scene {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  --veil: linear-gradient(90deg, rgb(7 21 30 / .93), rgb(7 21 30 / .83) 37%, rgb(7 21 30 / .44) 55%, transparent 83%);
}
.scene-art { z-index: -2; }
.scene::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--veil); }
.scene-layout {
  min-height: max(32rem,var(--stage-height));
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
  grid-template-rows: 1fr auto;
  grid-template-areas: "copy spot" "next next";
  align-items: center;
  gap: 1.25rem;
  padding-block: clamp(2rem,6svh,4rem) 1.15rem;
}
.scene-copy { grid-area: copy; }
.scene h2 { max-width: 14ch; font-size: clamp(2.4rem,5.4vw,5.5rem); line-height: .98; text-wrap: balance; }
.scene p { max-width: 40ch; font-size: clamp(1.04rem,1.4vw,1.3rem); margin-block: 1rem; }
.scene-link, .next-chapter { display: inline-flex; gap: .6rem; align-items: center; min-height: 44px; text-decoration-color: var(--warm-yellow); font-weight: 600; }
.scene-link::after { content: ""; width: .52rem; height: .52rem; border: solid var(--warm-yellow); border-width: 2px 2px 0 0; transform: rotate(45deg); }
.next-chapter { grid-area: next; justify-self: end; padding-inline: .85rem; border-radius: 2rem; background: #0c1e2bea; color: white; font-size: .88rem; }
.next-chapter span { color: var(--warm-yellow); }
.spot {
  grid-area: spot; justify-self: center; display: inline-flex; align-items: center;
  min-height: 46px; gap: .5rem; border: 0; padding: 0; background: transparent; color: white;
  font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer;
}
.spot i { display: grid; place-items: center; width: 2rem; height: 2rem; background: #10212ce6; color: var(--warm-yellow); border: 2px solid currentColor; border-radius: 50%; }
.spot i::before, .spot i::after { content: ""; grid-area: 1 / 1; width: .68rem; height: 2px; background: currentColor; }
.spot i::after { transform: rotate(90deg); }
.spot span { position: relative; padding: .23rem .55rem; background: #101f29f4; }
.spot span::before { content: ""; position: absolute; right: 100%; width: .5rem; height: 1px; top: 50%; background: var(--warm-yellow); }
.spot:hover i, .scene-layout:has(.inspection:popover-open) .spot i { background: var(--warm-yellow); color: var(--ink); }
.scene-layout:has(.inspection:popover-open) .spot i::after { transform: none; }
.reel-mount { position: absolute; inset: 0; pointer-events: none; }
.reel-window { position: sticky; top: var(--stage-top); height: var(--stage-height); overflow: clip; pointer-events: auto; }
.reel-film, .scene-reel, .scene-reel .scene { position: absolute; inset: 0; }
.reel-film { overflow: hidden; background: #0b1c27; }
.reel-film .scene-art { z-index: auto; }
.scene-reel .scene { background: transparent; }
.scene-reel .scene[inert] { pointer-events: none; }
.scene-reel .scene::before { display: none; }
.reel-film::after { content: ""; position: absolute; inset: 0; background: var(--veil); }
.scene-arrival { opacity: 0; }
.scene-reel .scene-layout { height: 100%; min-height: 0; }
.has-reel .scene-stop { height: var(--stride); pointer-events: none; }
.has-reel .scene-stop:last-child { height: calc(var(--stage-height) + var(--stride) * .42); }
.inspection {
  position: fixed; width: min(22rem, calc(100vw - 1.5rem)); max-width: none; max-height: none;
  padding: 0; border: 0; overflow: visible; background: transparent; color: var(--ink);
  --pop-room: calc(100dvh - 1.5rem);
}
.inspection::backdrop { background: transparent; }
@supports (position-area: bottom) {
  .inspection { position-area: bottom; position-try-fallbacks: flip-block; margin: .65rem 0; }
}
.inspection[data-placed] {
  position-area: none; position-try-fallbacks: none; margin: 0; inset: auto;
  top: var(--pop-y); left: var(--pop-x);
}
.inspect-body {
  background: #101f29f7; color: var(--paper); padding: 0 .65rem .6rem;
  max-height: var(--pop-room); overflow: auto; overscroll-behavior: contain;
}
.inspect-head { display: flex; align-items: center; justify-content: space-between; gap: .35rem; }
.inspect-head h3 { font-size: 1.12rem; line-height: 1.12; }
.inspect-close {
  flex: 0 0 44px; height: 44px; margin-inline-end: -.45rem; font: 1.45rem/1 system-ui;
  background: transparent; border: 0; color: inherit; cursor: pointer;
}
.inspect-close:hover { color: var(--warm-yellow); }
.view-picker { display: flex; gap: .85rem; margin-block: -.2rem .15rem; }
.view-picker label { position: relative; cursor: pointer; }
.view-picker input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.view-picker span { display: inline-flex; align-items: center; min-height: 44px; font-size: .83rem; color: #d3dee2; }
.view-picker input:checked + span { color: var(--warm-yellow); text-decoration: underline; text-underline-offset: .35em; }
.inspection :focus-visible, .view-picker input:focus-visible + span { outline: 2px solid var(--warm-yellow); outline-offset: 1px; }
.inspection figure { display: none; }
.inspection:has(input[value="0"]:checked) [data-figure="0"],
.inspection:has(input[value="1"]:checked) [data-figure="1"] { display: block; }
.inspection figure img { display: block; width: 100%; height: clamp(6rem,18svh,9rem); object-fit: contain; background: #12232e; border-radius: 0; }
.inspection [data-figure="0"] img { object-fit: cover; object-position: center 62%; }
.inspection figcaption { margin: .45rem 0 0; color: #e2e8eb; font-size: .86rem; line-height: 1.35; }
.scope-mark {
  display: inline-block; flex: 0 0 auto; position: relative; width: 1.75rem; height: 1.75rem;
  border: 1px solid currentColor; border-radius: 50%; color: var(--warm-yellow);
}
.scope-mark::before, .scope-mark::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; transform: translate(-50%, -50%);
}
.scope-mark::before { width: 130%; height: 1px; }
.scope-mark::after { width: 1px; height: 130%; }
.observatory-entry {
  justify-self: start; align-self: start; display: inline-flex; align-items: center; gap: .9rem;
  padding: .55rem 1rem; background: var(--warm-yellow); color: var(--ink); text-decoration: none;
}
.observatory-entry .scope-mark { color: var(--ink); }
.observatory-entry strong, .observatory-entry small { display: block; }
.observatory-entry strong { font-size: 1.2rem; line-height: 1.15; }
.observatory-entry small { font-size: .83rem; margin-top: .13rem; }
.entry-arrow { width: .56rem; height: .56rem; margin-inline: .5rem .15rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.observatory-entry:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.observatory-feature {
  color: white; background-color: var(--ink); background-image: linear-gradient(90deg,#0b1c28e8,#0b1c28d9 48%,#0b1c28c9),var(--photo);
  background-size: cover; background-position: center, center 58%; --line: #ffffff52;
}
.story-observatory { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); align-items: center; gap: clamp(2rem,7vw,7rem); padding-block: clamp(3rem,7vw,7rem); }
.story-observatory .scope-mark { margin: .25rem .25rem 1rem; }
.story-observatory h2 { font-size: clamp(2.25rem,5.7vw,5.2rem); }
.story-observatory p { max-width: 40ch; margin-block: 1rem; }
.story-observatory .text-action, .story-observatory .route-link::after { color: var(--warm-yellow); }
.story-observatory .route-link { min-height: 54px; }
:is(.page-home,.page-creative) .resources { border-top: 1px solid var(--line); }

@media (max-width: 44rem) {
  .flight-opening .opening { min-height: max(33rem,94svh); padding-block: calc(var(--bar-height) + .75rem) .45rem; gap: 1.2rem; }
  .flight-opening .opening-copy { max-width: 32rem; }
  .flight-opening h1 { font-size: clamp(2.55rem,9vw,4.1rem); }
  .flight-opening .flight-image { bottom: 25%; background-position: 93% 18%; }
  .flight-opening.photo-cockpit .flight-image { background-position: 60% 60%; }
  .flight-opening::after {
    background: linear-gradient(180deg, rgb(8 23 34 / .72), transparent 17%, rgb(11 28 39 / .15) 31%, rgb(11 28 39 / .82) 54%, #0b1c27 75%);
  }
  .flight-opening.photo-cockpit::after {
    background: linear-gradient(180deg, rgb(8 23 34 / .72), transparent 17%, rgb(11 28 39 / .52) 32%, rgb(11 28 39 / .86) 53%, #0b1c27 75%);
  }
  .opening-foot { font-size: .8rem; gap: .5rem; }
  .opening-foot > span { max-width: 17ch; }
  .flight-story { --index-height: 3.1rem; }
  .story-index .index-title { display: none; }
  .index-links { width: 100%; justify-content: space-between; gap: .45rem; }
  .index-links a { font-size: .9rem; gap: .3rem; }
  .scene, .reel-film { --veil: linear-gradient(0deg,#091b27, rgb(7 21 30 / .91) 34%, rgb(7 21 30 / .77) 58%, rgb(7 21 30 / .12) 85%); }
  .scene-layout {
    grid-template: "spot" minmax(3.25rem,1fr) "copy" auto "next" auto / 1fr;
    padding-block: 1.5rem .6rem; gap: .5rem;
  }
  .scene h2 { font-size: clamp(2.15rem,8vw,3.6rem); }
  .scene p { font-size: 1.02rem; margin-block: .7rem; }
  .spot { justify-self: end; }
  .flight-arrival { background-position: 63% 45%; }
  .story-observatory { grid-template-columns: 1fr; }
}
@media (min-width: 44.001rem) {
  .spot { transform: translateY(-3rem); }
  .reel-film { --veil: linear-gradient(90deg, rgb(7 21 30 / .92), rgb(7 21 30 / .75) 35%, rgb(7 21 30 / .27) 58%, transparent 82%); }
}
@media (max-height: 32rem) {
  .story-index { position: relative; top: auto; }
  .scene-stop { scroll-margin-block-start: 0; }
}
@media (max-height: 38.99rem) and (min-width: 44rem) {
  .flight-opening .opening { min-height: max(27rem,100svh); padding-block: calc(var(--bar-height) + 1rem) .4rem; gap: .75rem; }
  .flight-opening h1 { font-size: clamp(2.65rem,5.2vw,4.25rem); }
}
@media (forced-colors: active) {
  .flight-opening, .story-index, .scene, .inspection { background: Canvas; color: CanvasText; }
  .flight-image, .flight-arrival, .flight-opening::after, .scene-art, .scene::before { display: none; }
  .index-links a[aria-current] { text-decoration: underline; }
}
