/* ============================================================
   GATELARK — "the page is a flight" landing
   Sky flies from dawn to night as you scroll. Plane + contrail,
   parallax clouds, altimeter HUD, porthole cards, runway finale.
   Type: Unbounded (display) · Outfit (UI) · Space Mono (HUD)
   ============================================================ */

:root {
  --ink: #0a1430;
  --white: #f4f9ff;
  --dim: rgba(244, 249, 255, 0.72);
  --faint: rgba(244, 249, 255, 0.45);
  --coral: #ff7b54;
  --coral-deep: #f4522b;
  --gold: #ffc65c;
  --mint: #8ff0dd;
  --panel: rgba(10, 22, 52, 0.42);
  --panel-line: rgba(244, 249, 255, 0.16);
  --font-display: "Unbounded", sans-serif;
  --font-ui: "Outfit", "Segoe UI", sans-serif;
  --font-hud: "Space Mono", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ui);
  color: var(--white);
  background: #0b1d3a;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--coral); color: #fff; }

a { color: inherit; }
button { font-family: inherit; cursor: pointer; }

/* ---------------- THE SKY (fixed, crossfades by scroll) ---------------- */

.sky { position: fixed; inset: 0; z-index: -3; }

.sky-phase { position: absolute; inset: 0; opacity: 0; transition: opacity 0.2s linear; }

.sky-dawn   { background: linear-gradient(180deg, #1d3765 0%, #4c5c96 42%, #c97b8e 74%, #ffb87c 100%); }
.sky-day    { background: linear-gradient(180deg, #1c63b7 0%, #4f97dd 55%, #a8d4f2 100%); }
.sky-sunset { background: linear-gradient(180deg, #1c2350 0%, #55336e 45%, #c14e6b 75%, #ff8e4f 100%); }
.sky-night  { background: linear-gradient(180deg, #040820 0%, #0b1d3a 60%, #1b3155 100%); }

/* sun & moon */
.sun, .moon {
  position: fixed;
  width: 92px; height: 92px;
  border-radius: 50%;
  z-index: -2;
  pointer-events: none;
}

.sun {
  background: radial-gradient(circle at 38% 35%, #fff3c9, var(--gold) 55%, #ff9a4d 100%);
  box-shadow: 0 0 90px 32px rgba(255, 198, 92, 0.45);
}

.moon {
  width: 64px; height: 64px;
  background: radial-gradient(circle at 62% 38%, #ffffff, #cfd8ea 60%, #9fb0cf);
  box-shadow: 0 0 60px 18px rgba(207, 216, 234, 0.28);
}

.moon::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px; border-radius: 50%;
  left: 14px; top: 26px;
  background: rgba(140, 155, 185, 0.5);
  box-shadow: 22px -14px 0 -3px rgba(140, 155, 185, 0.45), 10px 14px 0 -6px rgba(140, 155, 185, 0.4);
}

/* stars — twinkle in at night */
.stars { position: fixed; inset: 0; z-index: -2; opacity: 0; pointer-events: none; }

.star {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #fff;
  animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle { 0%, 100% { opacity: 0.25; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.15); } }

/* clouds — three parallax layers, drifting */
.clouds { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }

.cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  filter: blur(1px);
  animation: drift linear infinite;
}

.cloud::before, .cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}

.cloud::before { width: 55%; height: 160%; left: 14%; bottom: 18%; }
.cloud::after  { width: 42%; height: 120%; right: 16%; bottom: 24%; }

.cloud.far  { opacity: 0.28; filter: blur(3px); }
.cloud.mid  { opacity: 0.5; filter: blur(1.5px); }
.cloud.near { opacity: 0.85; }

@keyframes drift {
  from { transform: translateX(-30vw); }
  to   { transform: translateX(130vw); }
}

/* ---------------- THE PLANE ---------------- */

/* planes cruise behind the content so they never cover text */
.plane {
  position: fixed;
  top: 0; left: 0;
  z-index: -1;
  width: 74px;
  pointer-events: none;
  will-change: transform;
  filter: drop-shadow(0 6px 14px rgba(4, 10, 32, 0.45));
}

.contrail-dot {
  position: fixed;
  z-index: -1;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  pointer-events: none;
  animation: puff 2.6s ease-out forwards;
}

@keyframes puff {
  0%   { opacity: 0.85; transform: scale(1); }
  100% { opacity: 0; transform: scale(3.4) translateY(6px); }
}

/* ---------------- ALTIMETER HUD ---------------- */

.hud {
  position: fixed;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--font-hud);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--dim);
  text-align: center;
}

.hud .gauge {
  width: 4px;
  height: 220px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
  position: relative;
}

.hud .gauge-fill {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--mint), var(--coral));
  height: 0%;
}

.hud .gauge-plane {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 50%) rotate(-90deg);
  bottom: 0%;
  font-size: 15px;
  color: var(--white);
  transition: bottom 0.1s linear;
}

.hud .alt { color: var(--white); font-size: 12px; white-space: nowrap; }
.hud .phase-label { color: var(--gold); white-space: nowrap; }

/* ---------------- NAV ---------------- */

.top-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.02em;
}

.brand .logo-orb {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(from 210deg, var(--coral), var(--gold), var(--mint), var(--coral));
  font-size: 16px;
  color: var(--ink);
  animation: orbspin 14s linear infinite;
}

.brand .logo-orb span { animation: orbspin 14s linear infinite reverse; }

@keyframes orbspin { to { transform: rotate(360deg); } }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn-coral {
  background: linear-gradient(120deg, var(--coral), var(--coral-deep));
  color: #fff;
  box-shadow: 0 8px 26px -8px rgba(255, 123, 84, 0.7);
}

.btn-coral:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 34px -8px rgba(255, 123, 84, 0.85); }
.btn-coral:active { transform: translateY(0) scale(0.98); }

/* contrail sweep across button on hover */
.btn-coral::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.btn-coral:hover::after { left: 120%; }

.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--panel-line);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn-glass:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-2px); }

.btn-sm { padding: 9px 18px; font-size: 13.5px; }

/* ---------------- SECTIONS / PHASES ---------------- */

/* soft atmospheric shadow keeps white text readable over clouds */
.phase, .top-nav, .footer, .hud {
  text-shadow: 0 1px 3px rgba(6, 14, 34, 0.4), 0 8px 26px rgba(6, 14, 34, 0.3);
}

.phase {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: 110px 30px;
  position: relative;
}

.phase-tag {
  font-family: var(--font-hud);
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.phase-tag::before { content: ""; width: 34px; height: 1px; background: var(--gold); }

h1, h2 { font-family: var(--font-display); font-weight: 600; line-height: 1.14; }

/* ---------------- HERO / BOARDING ---------------- */

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-grid h1 { font-size: clamp(32px, 4.6vw, 58px); margin-bottom: 26px; }

.hero-grid h1 .grad {
  background: linear-gradient(100deg, var(--gold), var(--coral) 55%, var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub { font-size: 18px; color: var(--dim); max-width: 45ch; margin-bottom: 34px; font-weight: 300; }

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.hero-hud-line {
  margin-top: 30px;
  font-family: var(--font-hud);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--faint);
}

/* floating phone mockup */
.phone-float {
  justify-self: center;
  width: 292px;
  height: 596px;
  border-radius: 46px;
  background: #0d1730;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 40px 90px -30px rgba(3, 8, 24, 0.9), inset 0 0 0 7px #060c1e;
  padding: 16px;
  position: relative;
  animation: hover-float 7s ease-in-out infinite;
  transform-style: preserve-3d;
}

@keyframes hover-float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-20px) rotate(-1.2deg); }
}

.phone-float .notch {
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 22px;
  border-radius: 999px;
  background: #060c1e;
  z-index: 3;
}

.phone-float .mock-screen {
  position: absolute;
  inset: 14px;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(180deg, #10254c, #0a1836);
  padding: 56px 16px 16px;
}

.mock-radar {
  width: 118px; height: 118px;
  border-radius: 50%;
  margin: 8px auto 18px;
  border: 1px solid rgba(143, 240, 221, 0.4);
  position: relative;
  background:
    radial-gradient(circle, transparent 58%, rgba(143, 240, 221, 0.07) 59% 60%, transparent 61%),
    radial-gradient(circle, transparent 28%, rgba(143, 240, 221, 0.07) 29% 30%, transparent 31%);
}

.mock-radar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(143, 240, 221, 0.55), transparent 24%);
  animation: sweep 3.4s linear infinite;
}

.mock-radar .blip {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--mint);
  animation: blip 3.4s ease-out infinite;
}

@keyframes sweep { to { transform: rotate(360deg); } }
@keyframes blip { 0%, 12% { opacity: 0; } 20% { opacity: 1; } 70% { opacity: 0.5; } 100% { opacity: 0; } }

.mock-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 12px 14px;
  display: flex;
  gap: 11px;
  align-items: center;
  margin-bottom: 10px;
  opacity: 0;
  animation: mockIn 9s ease infinite;
}

.mock-card:nth-child(3) { animation-delay: 1.1s; }
.mock-card:nth-child(4) { animation-delay: 2.2s; }

@keyframes mockIn {
  0% { opacity: 0; transform: translateY(16px); }
  8%, 88% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: translateY(-8px); }
}

.mock-ava {
  width: 34px; height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  color: #08122b;
  flex-shrink: 0;
}

.mock-card .t1 { font-size: 12.5px; font-weight: 600; }
.mock-card .t2 { font-family: var(--font-hud); font-size: 9px; color: var(--mint); letter-spacing: 0.08em; }

/* scroll invite */
.scroll-invite {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-hud);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--faint);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.scroll-invite .belt { font-size: 18px; animation: bounce-soft 2s ease-in-out infinite; }

@keyframes bounce-soft { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ---------------- TAKEOFF — runway steps ---------------- */

.runway-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  position: relative;
  margin-top: 30px;
}

/* dashed runway line behind the steps */
.runway-steps::before {
  content: "";
  position: absolute;
  top: 34px; left: 6%; right: 6%;
  height: 3px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.5) 0 20px, transparent 20px 38px);
  border-radius: 3px;
}

.rstep { position: relative; padding-top: 76px; }

.rstep .marker {
  position: absolute;
  top: 8px; left: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-hud);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(255, 198, 92, 0.18);
  transition: transform 0.3s ease;
}

.rstep:nth-child(2) .marker { background: var(--coral); color: #fff; box-shadow: 0 0 0 8px rgba(255, 123, 84, 0.18); }
.rstep:nth-child(3) .marker { background: var(--mint); box-shadow: 0 0 0 8px rgba(143, 240, 221, 0.16); }

.rstep:hover .marker { transform: scale(1.14) rotate(-8deg); }

.rstep h3 { font-family: var(--font-display); font-size: 19px; font-weight: 500; margin-bottom: 10px; }
.rstep p { color: var(--dim); font-size: 15px; font-weight: 300; }

/* ---------------- CRUISE — porthole feature cards ---------------- */

.portholes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 34px;
}

.porthole { text-align: center; }

.porthole .window {
  width: 100%;
  aspect-ratio: 3 / 3.9;
  border-radius: 46% / 34%;
  background: linear-gradient(180deg, #dff1ff 0%, #9cc8ee 55%, #f8c98d 100%);
  border: 10px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    inset 0 0 0 6px rgba(180, 205, 230, 0.55),
    inset 0 -14px 30px rgba(9, 24, 56, 0.18),
    0 26px 50px -22px rgba(3, 10, 28, 0.75);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.porthole:nth-child(2) .window { background: linear-gradient(180deg, #ffd9b8 0%, #f39aa2 55%, #7a6ab8 100%); }
.porthole:nth-child(3) .window { background: linear-gradient(180deg, #0e1c42 0%, #27406e 60%, #4a6a99 100%); }
.porthole:nth-child(4) .window { background: linear-gradient(180deg, #bfe8e0 0%, #7fc9d8 55%, #3f7ea8 100%); }

.porthole:hover .window { transform: translateY(-10px) scale(1.03); }

/* tiny cloud drifting inside the window */
.porthole .window::before {
  content: "";
  position: absolute;
  top: 30%;
  left: -46%;
  width: 46px; height: 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 14px -7px 0 -2px rgba(255,255,255,0.7);
  animation: drift-mini 9s linear infinite;
}

@keyframes drift-mini { to { left: 130%; } }

/* tiny plane flies through the window on hover */
.porthole .window::after {
  content: "✈";
  position: absolute;
  top: 52%;
  left: -20%;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.95);
  opacity: 0;
  transform: rotate(12deg);
}

.porthole:hover .window::after { animation: flythrough 1.2s ease-in-out; }

@keyframes flythrough {
  0%   { opacity: 0; left: -20%; top: 60%; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { opacity: 0; left: 108%; top: 34%; }
}

.porthole .window .ic { font-size: 44px; filter: drop-shadow(0 8px 14px rgba(4, 12, 30, 0.4)); z-index: 1; }

.porthole h3 { font-family: var(--font-display); font-weight: 500; font-size: 16px; margin: 18px 0 8px; }
.porthole p { font-size: 13.5px; color: var(--dim); font-weight: 300; padding: 0 6px; }

/* ---------------- CREW — safety demonstration card ---------------- */

.crew-panel {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  backdrop-filter: blur(14px);
  border-radius: 34px;
  padding: 52px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.crew-panel h2 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 16px; }
.crew-panel .lede { color: var(--dim); font-weight: 300; font-size: 16px; }

.belt-icon {
  font-size: 42px;
  display: inline-block;
  margin-bottom: 20px;
  animation: swing 4s ease-in-out infinite;
  transform-origin: top center;
}

@keyframes swing { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }

.crew-rules { display: grid; gap: 4px; }

.crew-rule {
  display: flex;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
  align-items: flex-start;
  transition: transform 0.25s ease;
}

.crew-rule:hover { transform: translateX(8px); }
.crew-rule:last-child { border-bottom: none; }

.crew-rule .n {
  font-family: var(--font-hud);
  color: var(--mint);
  font-size: 13px;
  min-width: 26px;
  padding-top: 3px;
}

.crew-rule h4 { font-size: 16px; font-weight: 600; margin-bottom: 3px; }
.crew-rule p { font-size: 14px; color: var(--dim); font-weight: 300; }

/* ---------------- DESCENT — FAQ as luggage tags ---------------- */

.tags { max-width: 780px; }

.tag-faq {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  margin-bottom: 14px;
  overflow: hidden;
  position: relative;
  padding-left: 26px;
}

/* luggage-tag hole */
.tag-faq::before {
  content: "";
  position: absolute;
  left: 10px; top: 26px;
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.tag-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 19px 22px;
  font-weight: 600;
  font-size: 16.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.tag-faq summary::-webkit-details-marker { display: none; }

.tag-faq summary .arr { color: var(--gold); transition: transform 0.3s ease; font-size: 13px; }
.tag-faq[open] summary .arr { transform: rotate(90deg); }

.tag-faq .ans { padding: 0 22px 20px; color: var(--dim); font-weight: 300; font-size: 15px; max-width: 62ch; }

/* ---------------- LANDING — runway finale ---------------- */

.finale { text-align: center; align-items: center; }

.finale h2 { font-size: clamp(26px, 4vw, 46px); max-width: 20ch; margin: 0 auto 30px; }

.runway {
  margin: 46px auto 0;
  width: min(460px, 82vw);
  height: 150px;
  position: relative;
  perspective: 300px;
}

.runway .strip-road {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 32, 60, 0.0), rgba(16, 26, 52, 0.85));
  clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
  border-radius: 6px;
}

.runway .centerline {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 5px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(180deg, rgba(255,255,255,0.75) 0 14px, transparent 14px 30px);
  animation: approach 1.1s linear infinite;
}

@keyframes approach { from { background-position-y: 0; } to { background-position-y: 30px; } }

.rlight {
  position: absolute;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px 3px rgba(255, 198, 92, 0.65);
  animation: rblink 1.6s ease-in-out infinite;
}

.rlight.red { background: var(--coral); box-shadow: 0 0 12px 3px rgba(255, 123, 84, 0.65); }

@keyframes rblink { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

/* ---------------- FOOTER ---------------- */

.footer {
  text-align: center;
  padding: 40px 24px 60px;
  font-family: var(--font-hud);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--faint);
}

/* ---------------- reveal on scroll ---------------- */

.rv { opacity: 0; transform: translateY(34px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: 0.1s; }
.rv.d2 { transition-delay: 0.2s; }
.rv.d3 { transition-delay: 0.3s; }

/* ---------------- responsive ---------------- */

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-grid .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .phone-float { display: none; }
  .runway-steps { grid-template-columns: 1fr; gap: 40px; }
  .runway-steps::before { display: none; }
  .portholes { grid-template-columns: repeat(2, 1fr); }
  .crew-panel { grid-template-columns: 1fr; padding: 34px 26px; }
  .hud { display: none; }
  .phase { padding: 90px 22px; }
}

/* phones: portholes become a swipe-snap carousel */
.swipe-hint {
  display: none;
  font-family: var(--font-hud);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--faint);
  text-align: center;
  margin-top: 14px;
}

@media (max-width: 640px) {
  .portholes {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 18px;
    margin: 30px -22px 0;      /* bleed to the screen edges */
    padding: 6px 22px 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .portholes::-webkit-scrollbar { display: none; }
  .porthole { flex: 0 0 72%; scroll-snap-align: center; }
  .swipe-hint { display: block; animation: hintNudge 2.4s ease-in-out infinite; }
}

@keyframes hintNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .plane, .contrail-dot { display: none; }
}
