/* Indrone Aerodynamics — "Long Exposure"
   One persistent full-screen stage of real footage. Scrolling moves the camera
   through each scene and dissolves into the next with a streak of light.
   Italiana (thin classical capitals, echoing the logo's heritage without imitating it)
   + Instrument Sans for facts. Graphite-blue night; gold only in the logo and hairlines. */


:root {
  color-scheme: dark;
  --night: #06080D;
  --night-2: #0B1019;
  --ice: #F1F5F9;
  --mist: #A9B6C4;
  --dim: #7A8698; /* raised from #6A7686 to meet WCAG AA (5.4:1) for small text */
  --hair: rgba(241, 245, 249, 0.2);
  --gold: #D9B45A;
  --serif: Georgia, serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, Menlo, monospace;
  --pad: clamp(20px, 4.6vw, 80px);
  --slow: cubic-bezier(0.33, 0, 0.12, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--night); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--ice); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 1px solid var(--ice); outline-offset: 5px; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 300; background: var(--ice); color: var(--night); padding: 10px 14px; }
.skip:focus { top: 12px; }

/* ---------- Stage ---------- */
.stage { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: #000; }
.shot { position: absolute; inset: -1.5%; opacity: 0; will-change: opacity, transform, filter;
  transition: opacity 1.7s var(--slow), filter 1.7s var(--slow); filter: brightness(1.7) blur(14px) saturate(0.8); }
.shot.is-on { opacity: 1; filter: none; }
.shot.is-leaving { opacity: 0; filter: brightness(1.9) blur(18px) saturate(0.7); }
.shot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot[data-shot="formation"] { background: #000 url("../media/poster-hero-wide.jpg") center / cover no-repeat; }
@media (max-width: 760px), (max-aspect-ratio: 1/1) { .shot[data-shot="formation"] { background-image: url("../media/poster-hero-portrait.jpg"); } }
.stage__grade { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 8, 13, 0.62) 0%, rgba(6, 8, 13, 0.2) 34%, rgba(6, 8, 13, 0) 58%),
    linear-gradient(0deg, rgba(6, 8, 13, 0.78) 0%, rgba(6, 8, 13, 0) 40%),
    linear-gradient(180deg, rgba(6, 8, 13, 0.5) 0%, rgba(6, 8, 13, 0) 16%);
}
.stage::after { /* gentle cool grade so warm venues sit inside the palette */
  content: ""; position: absolute; inset: 0; pointer-events: none; background: #0E2246; mix-blend-mode: soft-light; opacity: 0.16; }
/* The closing scene gets a soft pool of darkness behind the centered text */
.stage__grade::after { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--slow);
  background: radial-gradient(60% 55% at 50% 55%, rgba(6, 8, 13, 0.78) 0%, rgba(6, 8, 13, 0.45) 55%, rgba(6, 8, 13, 0) 100%); }
.stage[data-current="contact"] .stage__grade::after { opacity: 1; }
/* A streak of light crosses the frame at every scene change */
.stage__streak { position: absolute; left: -40%; top: 0; bottom: 0; width: 40%; pointer-events: none; opacity: 0; mix-blend-mode: screen;
  background: linear-gradient(90deg, rgba(160, 200, 255, 0) 0%, rgba(190, 215, 255, 0.16) 45%, rgba(235, 242, 255, 0.34) 50%, rgba(190, 215, 255, 0.16) 55%, rgba(160, 200, 255, 0) 100%);
  filter: blur(18px); transform: skewX(-14deg); }
.stage.is-cut .stage__streak { animation: streak 1.6s var(--slow) forwards; }
@keyframes streak { 0% { opacity: 0; transform: translateX(0) skewX(-14deg); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateX(360%) skewX(-14deg); } }

/* ---------- Opening veil ---------- */
.veil { position: fixed; inset: 0; z-index: 200; background: #000; display: none; place-items: center; pointer-events: none; }
.js .veil { display: grid; animation: veil-failsafe 0.3s linear 3s forwards; }
@keyframes veil-failsafe { to { opacity: 0; visibility: hidden; } }
.veil__logo { width: min(36vmin, 320px); height: auto; opacity: 0; transform-origin: 0 0; }
.js.no-veil .veil, .no-veil .veil { display: none; }

/* ---------- Header ---------- */
.bar { position: fixed; z-index: 100; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 30px;
  padding: calc(18px + env(safe-area-inset-top, 0px)) max(var(--pad), env(safe-area-inset-right, 0px)) 18px max(var(--pad), env(safe-area-inset-left, 0px));
  background: linear-gradient(180deg, rgba(6, 8, 13, 0.72) 0%, rgba(6, 8, 13, 0.3) 65%, rgba(6, 8, 13, 0) 100%); }
.mark { display: flex; align-items: center; gap: 16px; margin-right: auto; }
.mark img { width: 64px; height: 64px; }
.mark span { font-size: 12px; letter-spacing: 0.34em; text-transform: uppercase; }
.js:not(.no-veil) .mark img { opacity: 0; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 14px; color: var(--mist); }
.nav > a { padding-block: 8px; transition: color 0.4s var(--slow); }
.nav > a:hover { color: var(--ice); }
.nav__ctas { display: flex; gap: 24px; margin-left: 16px; padding-left: 28px; border-left: 1px solid var(--hair); }
.menu { display: none; width: 44px; height: 44px; position: relative; }
.menu i { position: absolute; left: 11px; width: 22px; height: 1px; background: var(--ice); transition: transform 0.5s var(--slow), top 0.5s var(--slow); }
.menu i:first-child { top: 18px; } .menu i:last-child { top: 25px; }
.menu[aria-expanded="true"] i:first-child { top: 21.5px; transform: rotate(45deg); }
.menu[aria-expanded="true"] i:last-child { top: 21.5px; transform: rotate(-45deg); }

/* ---------- Calls to action: a line that draws ---------- */
.cta { position: relative; display: inline-flex; align-items: center; gap: 16px; min-height: 48px; font-size: 15.5px; letter-spacing: 0.02em; color: var(--ice); white-space: nowrap; }
.cta::after { content: ""; width: 40px; height: 1px; background: currentColor; transition: width 0.7s var(--slow); }
.cta:hover::after { width: 72px; }
.cta--quiet { color: var(--mist); }
.cta--quiet:hover { color: var(--ice); }
.cta--sm { font-size: 13.5px; min-height: 38px; }
.cta--sm::after { width: 20px; }
.cta--sm:hover::after { width: 34px; }

/* ---------- Pause motion ---------- */
.motion { position: fixed; z-index: 90; left: max(var(--pad), env(safe-area-inset-left, 0px)); bottom: calc(7px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 2px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); transition: color 0.4s var(--slow); }
.motion[hidden] { display: none; }
.motion:hover, .motion:focus-visible { color: var(--ice); }
.motion__icon { position: relative; width: 9px; height: 10px; }
.motion__icon::before, .motion__icon::after { content: ""; position: absolute; top: 0; width: 2px; height: 10px; background: currentColor; }
.motion__icon::before { left: 1px; } .motion__icon::after { right: 1px; }
.motion[data-paused="true"] .motion__icon::before { left: 1px; width: 0; height: 0; background: none; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; }
.motion[data-paused="true"] .motion__icon::after { display: none; }
.motion-paused .stage__streak, .motion-paused .hint { display: none; }
.motion, .index { transition: opacity 0.4s var(--slow), color 0.4s var(--slow); }
.at-foot .motion, .at-foot .index { opacity: 0; pointer-events: none; }
html.menu-open { overflow: hidden; }

/* ---------- Index ---------- */
.index { position: fixed; z-index: 90; right: max(var(--pad), env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.index a { display: flex; align-items: center; justify-content: flex-end; gap: 14px; min-height: 22px; font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); transition: color 0.6s var(--slow); }
.index b { position: relative; font-weight: 400; font-variant-numeric: tabular-nums; }
.index span { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width 0.8s var(--slow), opacity 0.6s var(--slow); }
.index b::after { content: ""; position: absolute; left: calc(100% + 8px); top: 50%; width: 0; height: 1px; background: var(--gold); transition: width 0.7s var(--slow); }
.index a[aria-current="true"] { color: var(--ice); }
.index a[aria-current="true"] b::after { width: 14px; }
.index a[aria-current="true"] span, .index a:hover span { max-width: 180px; opacity: 1; }

/* ---------- Acts ---------- */
main { position: relative; z-index: 10; }
.act { position: relative; min-height: 120vh; display: flex; align-items: flex-end; padding: 130px max(var(--pad), env(safe-area-inset-right, 0px)) clamp(92px, 12vh, 140px) max(var(--pad), env(safe-area-inset-left, 0px)); }
.act--open { min-height: 100vh; min-height: 100svh; }
.caption { max-width: 720px; display: grid; gap: 24px; }
.label { margin: 0; font-size: 12.5px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--mist); }
.title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 8.2vw, 148px); line-height: 0.96; letter-spacing: 0.005em; text-wrap: balance; text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35); }
.title--md { font-size: clamp(46px, 5.8vw, 100px); line-height: 1; }
.body { margin: 0; max-width: 44ch; font-size: 18px; line-height: 1.65; color: #D6DEE7; }
.lede { margin: 0; max-width: 24ch; font-family: var(--serif); font-size: clamp(36px, 4vw, 64px); line-height: 1.08; text-wrap: balance; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4); }
.numeral { font-size: 12.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.ctas { display: flex; flex-wrap: wrap; gap: 8px 40px; margin-top: 8px; }
.hint { position: absolute; left: 50%; bottom: 28px; width: 1px; height: 60px; background: var(--hair); overflow: hidden; }
.hint i { position: absolute; left: 0; top: -20px; width: 1px; height: 20px; background: var(--ice); animation: hint 2.6s var(--slow) infinite 2.4s; }
@keyframes hint { to { transform: translateY(90px); } }

.act--apps { display: block; padding: 0; min-height: 0; }
.scene { min-height: 110vh; display: flex; align-items: flex-end; padding: 130px max(var(--pad), env(safe-area-inset-right, 0px)) clamp(92px, 12vh, 140px) max(var(--pad), env(safe-area-inset-left, 0px)); }
.apps { list-style: none; margin: 6px 0 0; padding: 0; display: grid; border-top: 1px solid var(--hair); max-width: 520px; }
.apps a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--hair); font-size: 16px; color: #D6DEE7; transition: color 0.4s var(--slow), padding 0.6s var(--slow); }
.apps a::after { content: ""; width: 18px; height: 1px; background: currentColor; opacity: 0.6; transition: width 0.6s var(--slow); }
.apps a:hover { color: var(--ice); padding-left: 10px; }
.apps a:hover::after { width: 32px; }
.caption--app { gap: 18px; }

.terms { list-style: none; margin: 8px 0 0; padding: 0; display: grid; border-top: 1px solid var(--hair); max-width: 460px; counter-reset: t; }
.terms li { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--hair); font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ice); }
.terms li::after { content: counter(t, decimal-leading-zero); counter-increment: t; color: var(--dim); font-size: 12px; }

.act--contact { min-height: calc(100vh - var(--foot, 140px)); min-height: calc(100svh - var(--foot, 140px)); padding-top: 110px; padding-bottom: 36px; align-items: center; justify-content: center; text-align: center; }
.caption--contact { justify-items: center; max-width: 820px; }
.caption--contact .body { margin-inline: auto; }
.caption--contact .ctas { justify-content: center; }
.contact__logo { display: block; width: clamp(120px, 12vw, 170px); height: auto; }
.contact__logo img { width: 100%; height: auto; }
.caption--contact .title--md { font-size: clamp(40px, 4.6vw, 80px); }
.caption--contact { gap: 20px; }
.note { margin: 0; max-width: 54ch; font-size: 14px; line-height: 1.7; color: var(--mist); }

.foot { position: relative; z-index: 10; background: var(--night); border-top: 1px solid var(--hair); padding: 30px max(var(--pad), env(safe-area-inset-right, 0px)) calc(30px + env(safe-area-inset-bottom, 0px)) max(var(--pad), env(safe-area-inset-left, 0px)); font-size: 13.5px; color: var(--mist); }
.foot__row { display: flex; flex-wrap: wrap; gap: 10px 34px; }
.foot__row a:hover { color: var(--ice); }
.foot__legal { margin: 16px 0 0; font-size: 12px; color: var(--dim); }

/* ---------- Text exposure: blur resolves to focus, and fades again as it leaves ---------- */
.js .rise { opacity: 0; filter: blur(12px); transform: translate3d(0, 18px, 0); transition: opacity 1.3s var(--slow), filter 1.3s var(--slow), transform 1.5s var(--slow); }
.js .is-in .rise { opacity: var(--f, 1); filter: none; transform: none; }
/* The opening caption resolves a little faster so the headline is readable as soon as the intro ends */
.js .act--open .rise { transition-duration: 0.85s, 0.85s, 1s; }
.js .is-in .rise.is-faded { transition: opacity 0.15s linear; }
.js .is-in .rise:nth-child(2) { transition-delay: 0.1s; } .js .is-in .rise:nth-child(3) { transition-delay: 0.2s; }
.js .is-in .rise:nth-child(4) { transition-delay: 0.3s; } .js .is-in .rise:nth-child(5) { transition-delay: 0.4s; }

/* ---------- Collapsed navigation: the full header needs ~1230px, so below that the menu button takes over ---------- */
@media (max-width: 1240px) {
  .menu { display: block; }
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 6px;
    padding: 110px max(var(--pad), 24px, env(safe-area-inset-right, 0px)) calc(48px + env(safe-area-inset-bottom, 0px)) max(var(--pad), 24px, env(safe-area-inset-left, 0px));
    background: rgba(6, 8, 13, 0.97); opacity: 0; visibility: hidden; transition: opacity 0.5s var(--slow), visibility 0s linear 0.5s; }
  .nav.is-open { opacity: 1; visibility: visible; transition: opacity 0.5s var(--slow); }
  .nav > a { font-family: var(--serif); font-size: 46px; color: var(--ice); padding-block: 2px; }
  .nav__ctas { margin: 28px 0 0; padding: 0; border: 0; flex-direction: column; gap: 4px; }
}

/* ---------- Upright tablets, phones and short landscape screens: the index shows only the current act, bottom right ---------- */
@media (max-width: 900px), (max-height: 500px) {
  .index { top: auto; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: none; gap: 0; }
  .index li { display: none; }
  .index li:has(a[aria-current="true"]) { display: block; }
  .index span { display: none; }
}

/* Short screens (phones held sideways): the open menu scrolls and its links shrink so nothing is cut off */
@media (max-width: 1240px) and (max-height: 560px) {
  .nav { justify-content: flex-start; overflow-y: auto; overscroll-behavior: contain; padding-top: calc(84px + env(safe-area-inset-top, 0px)); padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  .nav > a { font-size: 30px; }
  .nav__ctas { margin-top: 14px; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  /* Phone: footage plays in a 4:5 window at the top (sharp, less magnified); copy sits below on night */
  .stage { bottom: auto; height: 125vw; max-height: 72svh; }
  .stage::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; z-index: 2; pointer-events: none; background: linear-gradient(0deg, var(--night) 4%, rgba(6, 8, 13, 0)); }
  body { background: var(--night); }
  .mark img { width: 52px; height: 52px; }
  .mark span { font-size: 10.5px; letter-spacing: 0.26em; }
  .stage__grade { background: linear-gradient(180deg, rgba(6, 8, 13, 0.55) 0%, rgba(6, 8, 13, 0) 22%); }
  .act, .scene { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .title { font-size: clamp(48px, 13.6vw, 66px); }
  .title--md { font-size: clamp(38px, 10.6vw, 52px); }
  .lede { font-size: clamp(32px, 9vw, 40px); }
  .body { font-size: 16.5px; }
  .ctas { flex-direction: column; gap: 0; }
  .hint { display: none; }
  .act--contact { padding-top: 96px; padding-bottom: 28px; }
  .contact__logo { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
  .js .rise { opacity: var(--f, 1); filter: none; transform: none; }
  .shot { transform: none !important; }
  .stage__streak { display: none; }
}

/* =====================================================================
   Education page
   ===================================================================== */
.edu { position: relative; z-index: 10; }
.edu-hero { min-height: 72vh; display: flex; align-items: flex-end; padding: 150px max(var(--pad), env(safe-area-inset-right, 0px)) 72px max(var(--pad), env(safe-area-inset-left, 0px)); }
.edu-hero .caption { max-width: 820px; }
.back { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; color: var(--mist); }
.back:hover { color: var(--ice); }
.edu-band { background: rgba(6, 8, 13, 0.92); border-top: 1px solid var(--hair); padding: clamp(56px, 7vw, 110px) max(var(--pad), env(safe-area-inset-right, 0px)) clamp(56px, 7vw, 110px) max(var(--pad), env(safe-area-inset-left, 0px)); }
.edu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); max-width: 1320px; }
.edu-prog { display: grid; gap: 16px; align-content: start; min-width: 0; }
.edu-prog h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4vw, 64px); line-height: 1.02; }
.edu-prog p { margin: 0; max-width: 46ch; color: #D6DEE7; }
.edu-prog ul { list-style: none; margin: 6px 0 0; padding: 0; border-top: 1px solid var(--hair); }
.edu-prog li { padding: 13px 0; border-bottom: 1px solid var(--hair); font-size: 15px; color: var(--ice); }
.edu-contact { margin-top: clamp(48px, 6vw, 90px); padding-top: clamp(40px, 5vw, 70px); border-top: 1px solid var(--hair); display: grid; gap: 22px; max-width: 760px; }
@media (max-width: 860px) { .edu-grid { grid-template-columns: 1fr; } }

/* Shared helpers for the type themes */
.bignum { display: none; }
.caption { position: relative; }
.act, .scene { overflow-x: clip; }
.title, .lede { overflow-wrap: break-word; }
.title em, .lede em { font-style: normal; }
.caption--contact { width: 100%; }
@media (max-width: 760px) { .caption--contact .title--md { font-size: clamp(34px, 9.4vw, 44px); } }
/* Narrow phones: keep the wordmark on one line beside the menu button */
@media (max-width: 380px) { .bar { gap: 14px; } .mark { gap: 12px; } .mark span { font-size: 9.5px; letter-spacing: 0.2em; white-space: nowrap; } }
@media (max-width: 340px) { .mark span { font-size: 9px; letter-spacing: 0.15em; } }

/* ---------- Readability over footage: a soft local pool of darkness behind each caption,
   plus a tight shadow on the small labels, instead of darkening the whole performance ---------- */
main .caption { isolation: isolate; }
main .act .caption::before, main .scene .caption::before {
  content: ""; position: absolute; z-index: -1; inset: -56px -72px -44px -72px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(6, 8, 13, 0.68) 0%, rgba(6, 8, 13, 0.48) 55%, rgba(6, 8, 13, 0) 100%); }
main .act--contact .caption::before { display: none; }
main .caption .label, main .caption .numeral, main .caption .terms li, main .caption .apps a, main .caption .note {
  text-shadow: 0 0 1px rgba(6, 8, 13, 0.9), 0 1px 3px rgba(6, 8, 13, 0.85), 0 0 16px rgba(6, 8, 13, 0.8); }
main .caption .label { color: #C9D3DE; }
main .caption .body, main .caption .lede, main .caption .title { text-shadow: 0 1px 3px rgba(6, 8, 13, 0.6), 0 2px 30px rgba(6, 8, 13, 0.55); }
/* Small labels sit on their own dark tag so a bright drone passing behind never washes them out */
main .caption .label, main .caption .numeral { justify-self: start; width: fit-content; max-width: 100%; padding: 5px 9px; margin-left: -9px;
  background: rgba(6, 8, 13, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
main .act--contact .caption .label, main .act--contact .caption .numeral { margin-left: 0; }

/* ---------- The first information section follows the hero directly: one screen tall, so one scroll reaches it ---------- */
.act--first { min-height: 100vh; min-height: 100svh; }
@media (min-width: 761px) { .act--first { align-items: center; padding-top: 110px; padding-bottom: 90px; } }

/* ---------- R6.2 final candidate: production refinements (see R6.2_FINAL_CHANGELOG.md) ---------- */
/* FC-02 Upright screens (phones, upright tablets): sections were 110-120vh. On phones vh is the tallest
   viewport (browser bars hidden), so each scene ran to about 1.25 visible screens. One small screen per scene. */
@media (max-width: 760px), (max-aspect-ratio: 1/1) {
  .scene { min-height: 100vh; min-height: 100svh; }
  .act:not(.act--apps):not(.act--contact) { min-height: 100vh; min-height: 100svh; }
}
/* FC-03 Touch targets: the chapter index and footer links were 22px tall. The index gets a 44px hit area
   without moving anything; footer links become 44px rows (row gap reduced so the footer barely changes). */
.index a { position: relative; }
.index a::before { content: ""; position: absolute; top: 50%; right: -13px; left: -13px; height: 44px; transform: translateY(-50%); }
.foot__row { row-gap: 0; }
.foot__row a { display: inline-flex; align-items: center; min-height: 44px; }
/* FC-05 At the footer the Pause Motion button and chapter index fade out; they now also leave the keyboard
   order (visibility), so Tab can no longer land on an invisible control behind the footer. */
.motion, .index { transition: opacity 0.4s var(--slow), color 0.4s var(--slow), visibility 0s linear 0s; }
.at-foot .motion, .at-foot .index { visibility: hidden; transition: opacity 0.4s var(--slow), color 0.4s var(--slow), visibility 0s linear 0.4s; }
/* FC-06 The open phone/tablet menu was 97% opaque, so the page headline showed through behind the menu links.
   Same colour, fully opaque. */
@media (max-width: 1240px) { .nav { background: var(--night); } }

/* ---------- R6.3: stills and the tap prompt (R63-07) ---------- */
/* Each scene's still sits behind its video; the video layer fades in only once it is actually playing, so a browser that
   will not autoplay shows the real still image, never its own grey placeholder. */
.shot { background-color: #000; background-position: center; background-size: cover; background-repeat: no-repeat; }
.js .shot video { opacity: 0; transition: opacity 0.35s linear; }
.js .shot video.is-live { opacity: 1; }
/* Shown only where the browser refused to start the footage by itself; one tap anywhere starts it. */
.stage__tap { position: absolute; left: 50%; top: 50%; z-index: 3; display: none; transform: translate(-50%, -50%); pointer-events: none; }
.autoplay-blocked .stage__tap { display: block; }
.stage__tap span { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 20px; border: 1px solid rgba(232, 238, 245, 0.45); border-radius: 999px;
  background: rgba(6, 8, 13, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ice); white-space: nowrap; }
.stage__tap span::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
