@font-face { font-family: "Great Vibes"; src: url("../fonts/great-vibes-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --night: #0d0806;
  --cream: #f6ead8;
  --cream-dim: rgba(246, 234, 216, 0.72);
  --zest: #ff9a3c;
  --peach: #ffb98a;
  --burnt: #c8561c;
  --dusty: #8fa3b8;
  --glass: rgba(255, 236, 214, 0.12);
  --glass-line: rgba(255, 220, 180, 0.28);
  --ease-cine: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--night); color: var(--cream); }
body { font-family: "Cormorant", Georgia, serif; overflow: hidden; -webkit-font-smoothing: antialiased; }
@media (hover: hover) and (pointer: fine) { body, a, button { cursor: none; } }

.hero { position: fixed; inset: 0; overflow: hidden; background: var(--night); }

/* stage = the picture box. JS sizes it to cover the screen with overscan. */
.stage { position: absolute; left: 50%; top: 50%; will-change: transform; transition: opacity 0.4s ease; }
.hero[data-state="loading"] .stage { opacity: 0; }
.layer { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none;
         user-select: none; -webkit-user-drag: none; will-change: transform, opacity; transform-origin: 50.29% 47.33%; }
.sky          { z-index: 1; }
.scene        { z-index: 2; }
.mist         { z-index: 3; mix-blend-mode: screen; }
.flames       { z-index: 3; }
.sparkles     { z-index: 3; }
/* front corners scale about the corner of the original framing (see INNER in hero.js) */
.front-band   { z-index: 4; transform-origin: 50% 94.5%; }
.front-bl     { z-index: 4; transform-origin: 7% 94.5%; }
.front-br     { z-index: 4; transform-origin: 93% 94.5%; }
.front-tl     { z-index: 5; transform-origin: 7% 8.5%; }
.front-tr     { z-index: 5; transform-origin: 93% 8.5%; }

@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); } 50% { opacity: 0.95; transform: scale(1) rotate(25deg); } }

/* soft darkening on the left so the words read */
.shade { position: absolute; inset: 0; z-index: 9; pointer-events: none; opacity: 0; transition: opacity 1.2s ease;
         background: radial-gradient(ellipse 55% 70% at 14% 55%, rgba(8, 4, 2, 0.62), rgba(8, 4, 2, 0) 70%); }

.ui { position: absolute; z-index: 12; opacity: 0; transform: translateY(14px);
      transition: opacity 1s ease, transform 1s var(--ease-cine); }
.hero[data-state="idle"] .ui, .hero[data-state="idle"] .shade { opacity: 1; transform: none; }
.hero[data-state="intro"] .intro.show, .hero[data-state="intro"] .shade.show { opacity: 1; transform: none; }

/* Top nav: round dark-glass icons, the same as the library's corner buttons. On hover the icon
   fills with ember (like "Through the pages") and its name drops down below it with a small bounce. */
.nav { top: clamp(18px, 3.4vh, 34px); left: 50%; transform: translate(-50%, -10px); display: flex; gap: 12px; align-items: center; }
.hero[data-state="idle"] .nav { transform: translate(-50%, 0); }
.ib {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%;
  border: 0; cursor: pointer; color: #fffaf0; text-decoration: none;
  background: radial-gradient(circle at 50% 35%, rgba(40, 22, 12, 0.55), rgba(13, 8, 6, 0.8));
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 0 0 1px rgba(255, 200, 140, 0.35) inset, 0 4px 14px rgba(0, 0, 0, 0.5);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.ib svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ib:hover, .ib:focus-visible {
  outline: none;
  background: radial-gradient(circle at 50% 30%, #f2a45a, #d0682a 55%, #8a3a14 100%);
  box-shadow: 0 0 0 1px rgba(255, 210, 160, 0.6) inset, 0 0 22px rgba(230, 120, 40, 0.55), 0 6px 16px rgba(0, 0, 0, 0.5);
}
.ib .tip {
  position: absolute; top: calc(100% + 8px); left: 50%; translate: -50% -6px; scale: 0.9;
  padding: 7px 12px 8px; border-radius: 8px; white-space: nowrap; pointer-events: none;
  font: italic 600 16px/1 "Cormorant", Georgia, serif; letter-spacing: 0.01em; color: #fff4e2;
  background: linear-gradient(180deg, #d97632, #a84c1c);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45); text-shadow: 0 1px 2px rgba(60, 20, 0, 0.6);
  opacity: 0; transition: opacity 0.25s ease, translate 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55), scale 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.ib .tip::before {
  content: ""; position: absolute; top: -4px; left: 50%; width: 9px; height: 9px; translate: -50% 0; rotate: 45deg;
  background: #d97632;
}
.ib:hover .tip, .ib:focus-visible .tip { opacity: 1; translate: -50% 0; scale: 1; }
@media (prefers-reduced-motion: reduce) { .ib .tip { transition: opacity 0.2s ease; } }
/* Touch screens have no hover: no names popping up after a tap */
/* icon labels switched off (Mark, 2026-10-26); aria-label still names each icon */
.ib .tip { display: none; }

.intro { left: clamp(20px, 6vw, 110px); top: 29vh; }
/* title cascades down and right, ending at the bottom left of the portal */
.title-zesty { padding-left: 5vw; }
/* "Library" steps right, but always stops ~32px short of the portal's left edge ("Library" is about 2.9em wide) */
.title-lib { padding-left: max(0px, min(16vw, calc(var(--hole-left, 100vw) - clamp(20px, 6vw, 110px) - 2.9em - 32px))); }
/* Straight to the library sits below the books */
.cta-low { left: 50%; top: min(calc(var(--books-foot, 86vh) + 14px), calc(100% - 44px)); translate: -50% 0; }
/* buttons sit below the portal, above the books */
.cta { left: 50%; top: calc(var(--portal-foot, 64vh) + 34px); translate: -50% 0; display: flex; flex-direction: column; align-items: center; }
.eyebrow { margin: 0 0 6px; font-style: italic; font-size: clamp(19px, 1.8vw, 27px); color: var(--peach); letter-spacing: 0.02em; }
.title { margin: 0; line-height: 0.9; font-weight: 400; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.55); }
.title span { display: block; }
.title-the, .title-lib { font-size: clamp(46px, 6.6vw, 110px); letter-spacing: -0.01em; color: var(--cream); }
.title-the { font-style: italic; font-size: clamp(32px, 3.8vw, 62px); opacity: 0.9; }
.title-zesty { font-family: "Great Vibes", cursive; color: var(--zest); font-size: clamp(84px, 12vw, 200px);
               line-height: 0.82; margin: -0.1em 0 0.12em -0.04em; position: relative; }
/* "Zesty" writes itself in like ink from a quill, then keeps a soft candle glow.
   The padding gives the glow room inside the mask; the negative margin keeps the layout the same. */
.zesty-word { display: inline-block; position: relative; }
/* extra bottom padding: the mask only covers the padding box, and the "y" tail hangs well below the line */
.zesty-ink { display: inline-block; padding: 0.12em 0.2em 0.5em; margin: -0.12em -0.2em -0.5em;
             text-shadow: 0 0 32px rgba(255, 140, 50, 0.45), 0 2px 18px rgba(0, 0, 0, 0.5); }
.intro.show .zesty-ink { will-change: mask-position; animation: zesty-write 2.4s cubic-bezier(0.4, 0, 0.25, 1) 0.35s backwards, zesty-glow 5.5s ease-in-out 2.6s infinite; }
/* the mask only lives inside the animation, so once the word is written nothing clips its glow */
@keyframes zesty-write {
  from, to { -webkit-mask-image: linear-gradient(100deg, #000 45%, transparent 55%); mask-image: linear-gradient(100deg, #000 45%, transparent 55%);
             -webkit-mask-size: 200% 100%; mask-size: 200% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
  from { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  to   { -webkit-mask-position: 0 0; mask-position: 0 0; }
}
/* the glowing nib that leads the ink across the word (outside the mask, so it shows) */
.zesty-nib { position: absolute; left: 0; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
                    background: #fff3e0; box-shadow: 0 0 10px 4px rgba(255, 196, 120, 0.9), 0 0 28px 10px rgba(255, 140, 50, 0.6);
                    opacity: 0; pointer-events: none; }
/* one smooth glide across, with the same easing as the ink, plus a gentle up-and-down wave on top */
.intro.show .zesty-nib { animation: zesty-nib 2.4s cubic-bezier(0.4, 0, 0.25, 1) 0.35s, zesty-nib-wave 0.6s ease-in-out 0.35s 4 alternate; }
@keyframes zesty-nib {
  0%   { left: 2%;  opacity: 0; }
  6%   { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: 98%; opacity: 0; }
}
@keyframes zesty-nib-wave { from { translate: 0 0.12em; } to { translate: 0 -0.12em; } }
/* candle glow: slow, a little uneven, never off */
@keyframes zesty-glow {
  0%, 100% { text-shadow: 0 0 32px rgba(255, 140, 50, 0.45), 0 2px 18px rgba(0, 0, 0, 0.5); }
  18%      { text-shadow: 0 0 40px rgba(255, 150, 60, 0.62), 0 2px 18px rgba(0, 0, 0, 0.5); }
  31%      { text-shadow: 0 0 30px rgba(255, 135, 45, 0.4),  0 2px 18px rgba(0, 0, 0, 0.5); }
  52%      { text-shadow: 0 0 46px rgba(255, 160, 70, 0.7),  0 2px 18px rgba(0, 0, 0, 0.5); }
  70%      { text-shadow: 0 0 34px rgba(255, 140, 50, 0.5),  0 2px 18px rgba(0, 0, 0, 0.5); }
}
/* fireflies that now and then drift up off the letters (added by hero.js) */
.zesty-ember { position: absolute; width: 4px; height: 4px; margin: -2px; border-radius: 50%; pointer-events: none;
               background: #ffe2b8; box-shadow: 0 0 6px 2px rgba(255, 170, 80, 0.85), 0 0 16px 5px rgba(255, 130, 40, 0.4);
               animation: zesty-ember var(--t, 3.4s) ease-out forwards; }
@keyframes zesty-ember {
  0%   { opacity: 0; transform: translate(0, 0) scale(0.6); }
  15%  { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx, 20px), var(--dy, -70px)) scale(1); }
}

.enter { font: italic 600 19px/1 "Cormorant", Georgia, serif; letter-spacing: 0.01em; color: var(--night);
         background: linear-gradient(180deg, #ffc48f, var(--zest)); border: 0; border-radius: 999px; padding: 17px 30px 16px;
         display: inline-flex; align-items: center; gap: 12px;
         box-shadow: 0 0 0 1px rgba(255, 210, 160, 0.5) inset, 0 10px 40px rgba(255, 130, 40, 0.38);
         transition: transform 0.4s var(--ease-pop), box-shadow 0.4s ease; }
.enter:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 0 0 1px rgba(255,220,180,.7) inset, 0 16px 56px rgba(255, 130, 40, 0.6); }
.enter:focus-visible { outline: 2px solid var(--cream); outline-offset: 4px; }
.enter[disabled] { opacity: 0.5; pointer-events: none; }
.enter-star { font-size: 14px; animation: spin 6s linear infinite; }
/* Step into wonder: a zest circle (same orange as "Zesty") inside a thin ring, arrow pulsing up at the portal */
.enter-ring { position: relative; width: 106px; height: 106px; border-radius: 50%; padding: 0; cursor: pointer;
              display: grid; place-content: center; justify-items: center; gap: 5px;
              font: italic 700 17px/1.05 "Cormorant", Georgia, serif; letter-spacing: 0.01em; color: #fff4e2;
              text-shadow: 0 1px 3px rgba(60, 20, 0, 0.6);
              /* ember: deep burnt orange like the candles and poppies, not a flat bright disc */
              background: radial-gradient(circle at 50% 30%, #f2a45a, #d0682a 55%, #8a3a14 100%); border: 0;
              box-shadow: 0 0 0 1px rgba(255, 200, 140, 0.45) inset, 0 0 30px rgba(230, 120, 40, 0.45), 0 8px 26px rgba(0, 0, 0, 0.45);
              transition: transform 0.4s var(--ease-pop), box-shadow 0.4s ease; }
.enter-ring::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid rgba(255, 154, 60, 0.55);
                      transition: inset 0.4s var(--ease-pop), border-color 0.3s ease; pointer-events: none; }
.enter-label { width: 84px; text-align: center; }
.enter-arrow { font-size: 17px; line-height: 1; color: #fff4e2; animation: arrow-up 1.8s ease-in-out infinite; }
@keyframes arrow-up { 0%, 100% { transform: translateY(3px); opacity: 0.55; } 50% { transform: translateY(-5px); opacity: 1; } }
.enter-ring:hover, .hero.over-portal .enter-ring { transform: scale(1.06);
              box-shadow: 0 0 0 1px rgba(255, 210, 160, 0.65) inset, 0 0 48px rgba(230, 120, 40, 0.65), 0 10px 30px rgba(0, 0, 0, 0.5); }
.enter-ring:hover::before, .hero.over-portal .enter-ring::before { inset: -14px; border-color: var(--zest); }
.enter-ring:focus-visible { outline: 2px solid var(--cream); outline-offset: 16px; }
/* Same voice as the library's back links, with the hand-drawn straight arrow pointing on */
.straight { display: flex; align-items: center; gap: 8px; margin-top: 0; padding: 6px 4px; background: none; border: 0; cursor: pointer;
            font: italic 500 21px/1 "Cormorant", Georgia, serif; letter-spacing: 0.01em; color: #fffaf0;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95), 0 0 14px rgba(0, 0, 0, 0.9), 0 0 4px rgba(0, 0, 0, 0.8);
            transition: color 0.3s ease; }
.straight::after { content: ""; flex: none; width: 34px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 16' fill='none' stroke='%23fffaf0' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 8.7C9 8.1 16 9 23 8.3 28 7.9 32 8.2 35.8 8'/%3E%3Cpath d='M29.6 2.6 36 8 29.1 13.3'/%3E%3C/svg%3E") center / contain no-repeat;
                   filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, 0.9)); transition: translate 0.3s var(--ease-pop); }
.straight:hover { color: #ffd9a8; }
.straight:hover::after { translate: 4px 0; }
.straight:focus-visible { outline: 2px solid var(--cream); outline-offset: 4px; }
.night-fade { position: fixed; inset: 0; z-index: 999; background: var(--night); opacity: 0; pointer-events: none;
              transition: opacity 0.9s ease; }
.night-fade.on { opacity: 1; pointer-events: auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* after Enter */
.arrival { position: absolute; z-index: 14; inset: 0; display: grid; place-content: center; text-align: center; gap: 10px;
           opacity: 0; pointer-events: none; transition: opacity 0.8s ease; }
.hero[data-state="arrived"] .arrival { opacity: 1; pointer-events: auto; }
.arrival-k { margin: 0; font-family: "Great Vibes", cursive; font-size: clamp(44px, 6vw, 84px); color: var(--night);
             text-shadow: 0 0 40px rgba(255, 240, 220, 0.8); }
.arrival-v { margin: 0 0 22px; font-size: clamp(19px, 1.8vw, 24px); color: #3a1d0c; line-height: 1.4; }
.enter-back { justify-self: center; background: rgba(13, 8, 6, 0.85); color: var(--cream); box-shadow: none; }

/* loader */
.loader { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; color: var(--zest); font-size: 28px;
          transition: opacity 0.5s ease; pointer-events: none; }
.loader span { animation: twinkle 1.4s ease-in-out infinite; }
.hero:not([data-state="loading"]):not([data-state="closed"]) .loader { opacity: 0; }

/* custom cursor */
.cursor { position: fixed; z-index: 999; left: 0; top: 0; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
          border: 1.5px solid #fff; mix-blend-mode: difference; pointer-events: none; opacity: 0;
          transition: width 0.3s var(--ease-pop), height 0.3s var(--ease-pop), margin 0.3s var(--ease-pop), opacity 0.3s; }
.cursor.on { opacity: 1; }
.cursor.big { width: 50px; height: 50px; margin: -25px 0 0 -25px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* phones */
@media (max-width: 760px) {
  .nav { gap: 8px; }
  .ib { width: 40px; height: 40px; }
  .ib svg { width: 18px; height: 18px; }
  .intro { left: 20px; right: 20px; top: auto; bottom: 28px; translate: none; max-width: none; text-align: center; }
  .straight { margin-left: auto; margin-right: auto; font-size: 19px; white-space: nowrap; }
  .title-zesty, .title-lib { padding-left: 0; }
  .intro { bottom: 216px; }
  .cta { top: auto; bottom: 80px; }
  .cta-low { top: auto; bottom: 20px; }
  .shade { background: linear-gradient(0deg, rgba(8,4,2,0.82), rgba(8,4,2,0) 58%); }
}

@media (prefers-reduced-motion: reduce) {
  .enter-star, .enter-arrow, .loader span { animation: none; }
  .intro.show .zesty-ink, .intro.show .zesty-nib { animation: none; }
  .zesty-ember { display: none; }
}

/* flight film (working copy): scroll-scrubbed canvas over the hero */
.flight { position: fixed; inset: 0; z-index: 30; overflow-y: auto; overscroll-behavior: contain; background: var(--night);
          opacity: 0; transition: opacity 0.6s ease; outline: none; }
.flight.on { opacity: 1; }
/* no scrollbar: it left a dark strip down the right of the film (the gold bar shows progress) */
.flight { scrollbar-width: none; }
.flight::-webkit-scrollbar { display: none; }
.flight-track { height: 1300vh; }                         /* overridden by VH_PER_SECOND in js/flight.js */
.flight-stage { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; }
.flight-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* The film's end crossfades into the library page (js/flight.js skips it for every other page change) */
@view-transition { navigation: auto; }
::view-transition-group(root) { animation-duration: 0.35s; }
.flight-hint { position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%); margin: 0;
               font-size: 15px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--cream);
               text-shadow: 0 2px 12px rgba(0,0,0,.6); transition: opacity 0.5s ease; }
.flight-hint.gone { opacity: 0; }
/* story line: one poetic line per land, faded by film position (js/flight.js LINES) */
.flight-line { position: absolute; margin: 0; max-width: min(42vw, 620px);
               font-style: italic; font-size: clamp(30px, 3.8vw, 58px); line-height: 1.15; color: var(--cream);
               text-shadow: 0 2px 6px rgba(0,0,0,.8), 0 0 40px rgba(0,0,0,.7); opacity: 0;
               text-wrap: balance;   /* two even lines, never one word left alone */
               pointer-events: none; will-change: opacity, transform; }
.flight-line[data-pos="bl"] { left: 7vw; bottom: 14vh; }
.flight-line[data-pos="tl"] { left: 7vw; top: 14vh; }
/* bright sky (dragon scene): dark ink with a warm glow instead of cream */
.flight-line[data-tone="dark"] { color: var(--night); text-shadow: 0 0 18px rgba(255,236,210,.9), 0 0 42px rgba(255,220,180,.7); }
.flight-line[data-pos="tr"] { right: 7vw; top: 14vh; text-align: right; }
.flight-line[data-pos="br"] { right: 7vw; bottom: 14vh; text-align: right; }
.flight-line[data-pos="tc"], .flight-line[data-pos="bc"] { left: 0; right: 0; margin-inline: auto; max-width: min(90vw, 900px); text-align: center; }
.flight-line[data-pos="tc"] { top: 14vh; }
.flight-line[data-pos="bc"] { bottom: 12vh; }
@media (max-width: 700px) { .flight-line { max-width: 84vw; font-size: 26px; } }
/* upright screens letterbox the film, so the line sits on the black bar, not the bright sky: back to cream */
@media (orientation: portrait) {
  .flight-line[data-tone="dark"] { color: var(--cream); text-shadow: 0 2px 6px rgba(0,0,0,.8), 0 0 40px rgba(0,0,0,.7); }
}
.flight-back { position: absolute; top: 22px; right: 22px; padding: 12px 20px 11px; font-size: 12px; }
/* Music on/off, top right of the film: the same speaker as in the library */
.flight-sound { position: absolute; top: max(16px, env(safe-area-inset-top)); right: clamp(20px, 4vw, 64px); z-index: 2;
  width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.flight-sound i { width: 22px; height: 18px; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, 0.9));
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 20' fill='none' stroke='%23fffaf0' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 7.2h3.6L11 3v14l-4.9-4.2H2.5z'/%3E%3Cpath d='M14.6 6.8c1.5 1.7 1.5 4.7 0 6.4'/%3E%3Cpath d='M17.6 4.2c3 3.2 3 8.4 0 11.6'/%3E%3C/svg%3E") center / contain no-repeat; }
.flight-sound.off i { opacity: 0.7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 20' fill='none' stroke='%23fffaf0' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 7.2h3.6L11 3v14l-4.9-4.2H2.5z'/%3E%3Cpath d='M15 7l6 6M21 7l-6 6'/%3E%3C/svg%3E"); }
.flight-sound.waiting i { animation: sound-wait 2.4s ease-in-out infinite; }
@keyframes sound-wait { 50% { filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 8px rgba(255, 190, 90, 0.95)); } }
@media (prefers-reduced-motion: reduce) { .flight-sound.waiting i { animation: none; filter: drop-shadow(0 0 6px rgba(255, 190, 90, 0.8)); } }
.flight-sound:hover i { filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 6px rgba(255, 217, 168, 0.6)); }
.flight-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.08); }
.flight-progress span { display: block; height: 100%; background: var(--zest); transform-origin: 0 50%; transform: scaleX(0); }

/* film start: only the "Scroll to fly" hint shows (Esc still goes back) */
.arrival, .flight-back { display: none !important; }
