/* ==========================================================================
   Starmen House — main stylesheet
   One dark, cinematic system. Three typefaces from the intro films:
   Instrument Serif (display), Inter (text), IBM Plex Mono (labels).
   ========================================================================== */

@font-face { font-family: "Syne"; src: url("../fonts/syne-latin-variable.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --night: #05080d;
  --night-2: #0a0f1a;
  --night-3: #111827;
  --ink: #e9eef8;
  --ink-2: rgba(233, 238, 248, 0.72);
  --ink-3: rgba(233, 238, 248, 0.48);
  --ink-4: rgba(233, 238, 248, 0.28);
  --line: rgba(233, 238, 248, 0.14);
  --line-2: rgba(233, 238, 248, 0.24);
  --blue: #3d8bff;
  --blue-2: #8fc3ff;
  --star: #dcebff;
  --flash: #f0f9ff;
  --brand: "Syne", "Inter", system-ui, sans-serif;     /* the logo's typeface: wordmarks only */
  --steel: #9fb3d6;                                    /* the colour of HOUSE in the logo */
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --pad: clamp(20px, 4.6vw, 88px);
  /* film-frame unit: 1 film pixel on a 1920x1080 frame scaled to cover the viewport */
  --u: calc(max(100vw, 177.7778vh) / 1920);
  /* header unit: the film's header scale, kept readable on small screens */
  --hu: clamp(0.82px, calc(100vw / 1920), 1.35px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --silver: linear-gradient(180deg, #ffffff 0%, #ffffff 18%, #cdd6ed 58%, #eef1f9 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--night); }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 300 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: rgba(61, 139, 255, 0.45); color: #fff; }
:focus-visible { outline: 1px solid var(--blue-2); outline-offset: 4px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.mono { font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }
.serif { font-family: var(--serif); font-weight: 400; }
.silver {
  background: var(--silver);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink-3); }

/* film-frame stage: a 1920x1080 box that covers the viewport exactly like a video with object-fit: cover */
.stage {
  position: absolute; left: 50%; top: 50%;
  width: max(100vw, 177.7778vh); height: max(100vh, 56.25vw);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.stage > * { position: absolute; }
.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   1. Preloader — a live version of film 1
   ========================================================================== */
.preloader { position: fixed; inset: 0; z-index: 100; background: var(--night); overflow: hidden; }
.preloader__sky { position: absolute; inset: 0; width: 100%; height: 100%; }
.preloader__wordmark {
  /* the logo's wordmark, as in film 1: Syne 23 px, baseline at y = 120 on the film frame */
  left: 0; right: 0; top: calc(101 * var(--u)); margin: 0; text-align: center;
  font: 700 calc(23 * var(--u)) / 1 var(--brand); letter-spacing: 0.42em; padding-left: 0.42em; color: #eef2fa;
}
.preloader__wordmark .w2 { font-weight: 400; color: var(--steel); }
.preloader__wordmark span { display: inline-block; opacity: 0; transform: translateY(0.3em); filter: blur(4px); }
.preloader__count {
  left: 0; right: 0; top: calc(414 * var(--u)); height: calc(250 * var(--u));
  display: flex; justify-content: center; align-items: flex-start;
  font: 400 calc(250 * var(--u)) / 1 var(--serif); color: var(--ink);
  font-variant-numeric: lining-nums tabular-nums;
}
.digit { position: relative; height: 1em; width: 0.5em; overflow: hidden; }
.digit__strip { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; transition: none; }
.digit__strip span { height: 1em; display: block; text-align: center; }
.digit.is-ghost { opacity: 0.16; }
.preloader__pct { font: 300 calc(30 * var(--u)) / 1 var(--mono); color: var(--ink-2); margin: calc(20 * var(--u)) 0 0 calc(10 * var(--u)); }
.preloader__line { left: calc(750 * var(--u)); width: calc(420 * var(--u)); top: calc(700 * var(--u)); height: 1px; background: rgba(233, 238, 248, 0.17); }
.preloader__line i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, rgba(143, 195, 255, 0.4), #e9f2ff); box-shadow: 0 0 calc(8 * var(--u)) rgba(61, 139, 255, 0.55); }
.preloader__services {
  left: 0; right: 0; top: calc(996 * var(--u)); margin: 0; text-align: center;
  font: 400 calc(13 * var(--u)) / 1 var(--mono); letter-spacing: 0.3em; color: var(--ink-3);
}
.preloader__note { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); font: 400 11px/1 var(--mono); letter-spacing: 0.24em; color: var(--ink-4); text-transform: uppercase; }

/* ==========================================================================
   2. Intro films
   ========================================================================== */
.intro { position: fixed; inset: 0; z-index: 90; background: #000; overflow: hidden; }
.intro[hidden] { display: none; }
.intro__film { opacity: 0; }
.intro__film.is-on { opacity: 1; }
.intro__flash { position: absolute; inset: 0; background: var(--flash); opacity: 0; pointer-events: none; }
.intro__skip {
  position: absolute; right: var(--pad); bottom: calc(28px + env(safe-area-inset-bottom)); z-index: 3;
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; border: 1px solid var(--line-2); border-radius: 999px;
  font: 400 11px/1 var(--mono); letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-2);
  background: rgba(5, 8, 13, 0.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.intro__skip:hover { color: #fff; border-color: rgba(233, 238, 248, 0.5); }
.intro__skip svg { width: 14px; height: 14px; }
.intro__skip .ring { stroke-dasharray: 37.7; stroke-dashoffset: 37.7; }

/* ==========================================================================
   3. Fixed chrome — header, star map, cursor, sky canvas
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: calc(128 * var(--hu)); padding: 0 calc(88 * var(--hu));
  display: flex; align-items: center; justify-content: space-between;
  pointer-events: none; opacity: 0; visibility: hidden;
}
.site-header > * { pointer-events: auto; }
.site-header.is-visible { opacity: 1; visibility: visible; }
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 8, 13, 0.82), rgba(5, 8, 13, 0));
  opacity: 0; transition: opacity 0.6s var(--ease-out);
}
.site-header.is-scrolled::before { opacity: 1; }
.brand { display: inline-flex; align-items: center; }
/* the header logo: drawn in film pixels, so it lands exactly where film 4 leaves it (ring on the 88 px margin) */
.brand__logo { width: calc(265 * var(--hu)); height: calc(48 * var(--hu)); max-width: none; margin-left: calc(-1 * var(--hu)); }
.nav { display: flex; align-items: center; gap: calc(46 * var(--hu)); }
.nav a, .nav button.sound {
  font: 400 calc(13 * var(--hu)) / 1 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: rgba(233, 238, 248, 0.78);
  position: relative; padding: 8px 0; margin-right: -0.2em; transition: color 0.3s;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease-out); }
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav .pill {
  margin-left: calc(8 * var(--hu)); margin-right: 0; height: calc(42 * var(--hu)); width: calc(148 * var(--hu)); padding: 0; text-indent: 0.2em;
  display: inline-flex; align-items: center; justify-content: center; border: 1.1px solid rgba(233, 238, 248, 0.55); border-radius: 999px; color: #fff;
}
.nav .pill::after { display: none; }
.nav .pill:hover { background: #fff; color: var(--night); }
.sound { display: inline-flex; align-items: center; gap: 10px; }
.sound__bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.sound__bars i { width: 2px; height: 3px; background: currentColor; border-radius: 1px; transition: height 0.3s; }
.sound.is-on .sound__bars i { animation: bars 1.1s ease-in-out infinite; }
.sound.is-on .sound__bars i:nth-child(2) { animation-delay: -0.3s; }
.sound.is-on .sound__bars i:nth-child(3) { animation-delay: -0.6s; }
.sound.is-on .sound__bars i:nth-child(4) { animation-delay: -0.15s; }
@keyframes bars { 0%, 100% { height: 3px; } 50% { height: 12px; } }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line-2); border-radius: 999px; }
.menu-btn span { display: block; width: 16px; height: 1px; background: #fff; box-shadow: 0 5px 0 #fff; transform: translateY(-2.5px); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 120px var(--pad) 60px; background: rgba(5, 8, 13, 0.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a { font: 400 clamp(40px, 11vw, 64px) / 1.1 var(--serif); }
.mobile-menu a em { font-style: italic; color: var(--ink-3); font-size: 0.5em; margin-right: 12px; font-family: var(--mono); letter-spacing: 0.1em; }

.starmap {
  position: fixed; right: calc(30px * 1); top: 50%; transform: translateY(-50%); z-index: 50;
  display: flex; flex-direction: column; gap: 14px; opacity: 0; visibility: hidden; transition: opacity 0.6s, visibility 0.6s;
}
.starmap.is-visible { opacity: 1; visibility: visible; }
.starmap a { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 12px; height: 14px; }
.starmap a span { font: 400 10px/1 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); opacity: 0; transform: translateX(6px); transition: opacity 0.4s, transform 0.4s var(--ease-out); white-space: nowrap; }
.starmap a i { width: 6px; height: 6px; border-radius: 50%; background: rgba(233, 238, 248, 0.32); transition: background 0.4s, box-shadow 0.4s, transform 0.4s var(--ease-out); }
.starmap a:hover span, .starmap a.is-active span { opacity: 1; transform: none; }
.starmap a.is-active i { background: #fff; box-shadow: 0 0 10px 2px rgba(143, 195, 255, 0.9); transform: scale(1.25); }
.starmap a.is-visited i { background: rgba(233, 238, 248, 0.7); }

.hud {
  position: fixed; left: var(--pad); bottom: 26px; z-index: 50; display: flex; gap: 22px; align-items: center;
  font: 400 10px/1 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3);
  opacity: 0; visibility: hidden; transition: opacity 0.6s, visibility 0.6s; pointer-events: none;
}
.hud.is-visible { opacity: 1; visibility: visible; }
.hud__pct { color: var(--ink-2); min-width: 3ch; }

.sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

.cursor { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; mix-blend-mode: difference; display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.has-cursor input, .has-cursor textarea { cursor: text; }
.cursor__dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; }
.cursor__ring {
  position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.7);
  display: flex; align-items: center; justify-content: center; transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out), margin 0.35s var(--ease-out), background 0.35s;
}
.cursor__ring b { font: 500 9px/1 var(--mono); letter-spacing: 0.18em; color: #000; opacity: 0; text-transform: uppercase; transition: opacity 0.25s; }
.cursor.is-link .cursor__ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.cursor.is-label .cursor__ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: #fff; }
.cursor.is-label .cursor__ring b { opacity: 1; }

/* ==========================================================================
   4. The sky journey — hero, constellation, five stars
   ========================================================================== */
.journey { position: relative; z-index: 2; height: 1250vh; }
.journey__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

.hero { position: absolute; inset: 0; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__veil { position: absolute; inset: 0; background: var(--night); opacity: 0; pointer-events: none; }
.hero__copy { position: absolute; inset: 0; }
.hero .stage > * { pointer-events: auto; }
.hero__eyebrow { left: 0; right: 0; top: calc(340 * var(--u)); margin: 0; text-align: center; font: 400 calc(14 * var(--u)) / 1 var(--mono); letter-spacing: 0.32em; padding-left: 0.32em; color: rgba(233, 238, 248, 0.62); text-transform: uppercase; }
.hero__title { left: 0; right: 0; top: 0; margin: 0; font-weight: 400; }
.hero__l1, .hero__l2 { position: absolute; left: 0; right: 0; text-align: center; font-family: var(--serif); line-height: 1; white-space: nowrap; }
.hero__l1 { top: calc(398 * var(--u)); font-size: calc(84 * var(--u)); transform: translateX(calc(2 * var(--u))); }
.hero__l2 { top: calc(478 * var(--u)); font-size: calc(172 * var(--u)); font-style: italic; transform: translateX(calc(-5 * var(--u))); }
.hero__body { left: 0; right: 0; top: calc(680 * var(--u)); margin: 0; text-align: center; font: 300 calc(23 * var(--u)) / calc(36 * var(--u)) var(--sans); color: rgba(233, 238, 248, 0.8); }
.hero__ctas { left: 0; right: 0; top: calc(783 * var(--u)); display: flex; justify-content: center; align-items: center; gap: calc(34 * var(--u)); }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  height: calc(58 * var(--u)); min-height: 44px; padding: 0 calc(38 * var(--u)); border-radius: 999px;
  background: #f2f5fb; color: #090d16; font: 500 calc(18 * var(--u)) / 1 var(--sans);
  font-size: max(14px, calc(18 * var(--u))); transition: transform 0.5s var(--ease-out), background 0.3s, box-shadow 0.5s;
  box-shadow: 0 0 0 rgba(143, 195, 255, 0);
}
.btn-primary:hover { background: #fff; box-shadow: 0 0 40px rgba(143, 195, 255, 0.35); }
.btn-link {
  position: relative; display: inline-flex; align-items: center; gap: 0.6em; padding: 6px 0;
  font: 400 max(14px, calc(18 * var(--u))) / 1 var(--sans); color: rgba(233, 238, 248, 0.9);
}
.btn-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(233, 238, 248, 0.45); transform-origin: left; transition: transform 0.6s var(--ease-out); }
.btn-link:hover::after { transform: scaleX(0.35); }
.arrow { display: inline-block; transition: transform 0.5s var(--ease-out); }
.btn-primary:hover .arrow, .btn-link:hover .arrow { transform: translateX(4px); }
.hero__cue { left: 0; right: 0; top: calc(991 * var(--u)); display: flex; flex-direction: column; align-items: center; gap: calc(16 * var(--u)); }
.hero__cue span { font: 400 calc(11 * var(--u)) / 1 var(--mono); font-size: max(10px, calc(11 * var(--u))); letter-spacing: 0.3em; padding-left: 0.3em; color: rgba(233, 238, 248, 0.55); }
.hero__cue i { position: relative; width: 1px; height: calc(38 * var(--u)); background: rgba(233, 238, 248, 0.3); overflow: visible; }
.hero__cue i::after { content: ""; position: absolute; left: -1.5px; top: 0; width: 4px; height: 4px; border-radius: 50%; background: #fff; animation: cue 1.6s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(calc(38 * var(--u))); opacity: 0; } }

/* portrait / narrow: the hero leaves the film frame and becomes a normal centered layout */
@media (max-aspect-ratio: 5/4) {
  .hero .stage { width: 100vw; height: 100svh; }
  .hero__eyebrow { top: 30svh; font-size: 10px; letter-spacing: 0.24em; padding: 0 24px; line-height: 1.8; }
  .hero__l1 { top: 36svh; font-size: clamp(36px, 10vw, 56px); }
  .hero__l2 { top: calc(36svh + clamp(40px, 11vw, 62px)); font-size: clamp(56px, 16.5vw, 104px); white-space: normal; line-height: 0.95; }
  .hero__body { top: calc(36svh + clamp(118px, 32vw, 180px)); font-size: 16px; line-height: 1.55; padding: 0 28px; }
  .hero__body br { display: none; }
  .hero__ctas { top: auto; bottom: 16svh; flex-direction: column; gap: 18px; }
  .btn-primary { height: 52px; padding: 0 28px; font-size: 15px; }
  .btn-link { font-size: 15px; }
  .hero__cue { top: auto; bottom: 4svh; }
  .hero__cue span { font-size: 10px; }
  .hero__cue i { height: 30px; }
}

.journey__overview { position: absolute; inset: 0; pointer-events: none; }
.overview__head { position: absolute; left: var(--pad); top: 20vh; max-width: 420px; opacity: 0; }
.overview__head h2 { margin: 14px 0 16px; font: 400 clamp(38px, 4.2vw, 72px) / 1.02 var(--serif); }
.overview__head h2 em { font-style: italic; }
.overview__head p { margin: 0; color: var(--ink-2); font-size: 16px; max-width: 340px; }
.overview__foot { position: absolute; left: var(--pad); bottom: 12vh; opacity: 0; color: var(--ink-3); }
.star-label {
  position: absolute; left: 0; top: 0; pointer-events: auto; opacity: 0; white-space: nowrap;
  display: flex; flex-direction: column; gap: 4px; padding: 6px 0;
}
.star-label b { font: 400 10px/1 var(--mono); letter-spacing: 0.24em; color: var(--blue-2); text-transform: uppercase; }
.star-label strong { font: 400 clamp(22px, 2vw, 34px) / 1 var(--serif); }
.star-label small { font: 400 10px/1 var(--mono); letter-spacing: 0.18em; color: var(--ink-3); text-transform: uppercase; }
.star-label[data-side="left"] { align-items: flex-end; text-align: right; }
.star-label[data-side="center"] { align-items: center; text-align: center; }

.scene { position: absolute; inset: 0; visibility: hidden; clip-path: circle(0px at 50% 50%); background: #000; }
.scene video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.scene__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(3, 5, 9, 0.82) 0%, rgba(3, 5, 9, 0.5) 34%, rgba(3, 5, 9, 0) 62%),
  radial-gradient(120% 90% at 50% 50%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.55) 100%); }
.scene__bar {
  position: absolute; left: 0; right: 0; height: 9.5vh; min-height: 56px; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between; background: #020306; z-index: 2;
  font: 400 11px/1 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3);
}
.scene__bar--top { top: 0; }
.scene__bar--bottom { bottom: 0; }
.scene__bar b { color: var(--ink); font-weight: 400; }
.scene__bar em { font-style: normal; }
.hud, .sound--float { transition: opacity 0.5s, visibility 0.5s; }
body.in-scene .hud, body.in-scene .sound--float, body.at-footer .hud, body.at-footer .sound--float { opacity: 0 !important; visibility: hidden !important; }
.scene__body { position: absolute; left: var(--pad); top: 50%; transform: translateY(-46%); max-width: min(620px, 46vw); z-index: 1; }
.scene__kicker { display: flex; gap: 18px; align-items: center; margin: 0 0 22px; font: 400 11px/1 var(--mono); letter-spacing: 0.24em; text-transform: uppercase; color: var(--blue-2); }
.scene__kicker i { width: 40px; height: 1px; background: currentColor; opacity: 0.6; }
.scene__title { margin: 0 0 24px; font: 400 clamp(46px, 6vw, 112px) / 0.98 var(--serif); letter-spacing: -0.01em; }
.scene__title em { font-style: italic; }
.scene__text { margin: 0 0 30px; font-size: clamp(16px, 1.25vw, 20px); line-height: 1.6; color: var(--ink-2); max-width: 470px; }
.scene__caps { display: flex; flex-wrap: wrap; gap: 8px 8px; margin: 0; padding: 0; list-style: none; }
.scene__caps li { padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 999px; font: 400 10.5px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); background: rgba(5, 8, 13, 0.25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.scene .line-mask { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }

/* ==========================================================================
   5. Missions — what we've done
   ========================================================================== */
.section { position: relative; z-index: 2; }
.missions { height: 520vh; }
.missions__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: calc(128 * var(--hu)); }
.missions__head { padding: 0 var(--pad); display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.missions__head h2 { margin: 12px 0 0; font: 400 clamp(44px, 5.4vw, 96px) / 0.98 var(--serif); }
.missions__head h2 em { font-style: italic; }
.missions__head p { max-width: 360px; margin: 0; color: var(--ink-2); font-size: 15px; }
.missions__track { display: flex; gap: clamp(18px, 2.4vw, 44px); padding: 0 var(--pad); margin-top: 6vh; will-change: transform; }
.mission { position: relative; flex: 0 0 auto; width: clamp(300px, min(36vw, 60vh), 700px); }
.mission__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: var(--night-2); }
.mission__media video, .mission__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease-out), filter 0.8s; filter: saturate(0.85) brightness(0.9); }
.mission:hover .mission__media video { transform: scale(1.1); filter: saturate(1) brightness(1); }
.mission__no { position: absolute; left: 18px; top: 16px; z-index: 1; font: 400 10px/1 var(--mono); letter-spacing: 0.24em; color: #fff; text-transform: uppercase; }
.mission__meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 20px; }
.mission h3 { margin: 6px 0 8px; font: 400 clamp(26px, 2.2vw, 38px) / 1.05 var(--serif); }
.mission p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; max-width: 440px; }
.mission__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.mission__tags span { font: 400 10px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-3); }
.missions__bar { position: absolute; left: var(--pad); right: var(--pad); bottom: 4.5vh; height: 1px; background: var(--line); }
.missions__bar i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--ink); }
.missions__count { position: absolute; right: var(--pad); bottom: calc(4.5vh + 16px); font: 400 11px/1 var(--mono); letter-spacing: 0.2em; color: var(--ink-3); }

/* ==========================================================================
   6. Process — how a star is born
   ========================================================================== */
.process { padding: 22vh 0 18vh; }
.process__head { padding: 0 var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 9vh; }
.process__head h2 { margin: 12px 0 0; font: 400 clamp(44px, 5.4vw, 96px) / 0.98 var(--serif); }
.process__head h2 em { font-style: italic; }
.process__head p { margin: 0; color: var(--ink-2); max-width: 420px; justify-self: end; }
.process__chart { position: relative; padding: 0 var(--pad); }
.process__svg { width: 100%; height: auto; overflow: visible; }
.process__svg .path-bg { stroke: var(--line); }
.process__svg .path { stroke: rgba(233, 238, 248, 0.85); }
.process__steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(16px, 2vw, 36px); margin-top: 4vh; }
.step { opacity: 0.25; transition: opacity 0.6s; }
.step.is-lit { opacity: 1; }
.step__no { font: 400 11px/1 var(--mono); letter-spacing: 0.24em; color: var(--blue-2); }
.step h3 { margin: 14px 0 10px; font: 400 clamp(26px, 2.3vw, 40px) / 1 var(--serif); }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; }

/* ==========================================================================
   7. Toolkit marquee
   ========================================================================== */
.toolkit { padding: 6vh 0 16vh; overflow: hidden; }
.toolkit__label { padding: 0 var(--pad); margin-bottom: 30px; }
.marquee { display: flex; white-space: nowrap; will-change: transform; }
.marquee__row { display: flex; flex-shrink: 0; align-items: center; }
.marquee span { font: 400 clamp(40px, 5.8vw, 104px) / 1.15 var(--serif); padding: 0 0.32em; color: var(--ink); }
.marquee span.alt { font-style: italic; color: var(--ink-3); }
.marquee span.dot { color: var(--blue-2); font-size: clamp(18px, 2vw, 34px); padding: 0 0.6em; }
.marquee--b { margin-top: 6px; }
.marquee--b span { font-family: var(--mono); font-size: clamp(14px, 1.3vw, 22px); letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-3); padding: 0 1.2em; }

/* ==========================================================================
   8. Crew — the humans behind the stars
   ========================================================================== */
.crew { height: 240vh; background: #000; }
.crew__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.crew__media { position: absolute; inset: 0; overflow: hidden; clip-path: inset(18% 22% 18% 22% round 10px); will-change: clip-path; }
.crew__media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.crew__shade { position: absolute; inset: 0; background: radial-gradient(90% 80% at 30% 60%, rgba(3, 5, 9, 0.78), rgba(3, 5, 9, 0.25)); opacity: 0; }
.crew__copy { position: relative; z-index: 1; width: 100%; padding: 0 var(--pad); display: grid; grid-template-columns: 1.2fr 1fr; gap: 6vw; align-items: end; }
.crew__copy h2 { margin: 14px 0 0; font: 400 clamp(46px, 6.2vw, 116px) / 0.96 var(--serif); }
.crew__copy h2 em { font-style: italic; }
.crew__text p { margin: 0 0 30px; color: var(--ink-2); font-size: clamp(16px, 1.2vw, 19px); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; margin: 0; padding: 0; list-style: none; }
.values li { border-top: 1px solid var(--line-2); padding-top: 14px; }
.values b { display: block; font: 400 clamp(20px, 1.6vw, 26px) / 1.1 var(--serif); margin-bottom: 6px; }
.values span { color: var(--ink-3); font-size: 14px; line-height: 1.5; }
.crew .reveal { opacity: 0; }

/* ==========================================================================
   9. Contact — liftoff
   ========================================================================== */
.contact { height: 330vh; background: #000; }
.contact__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.contact__warp { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact__flash { position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 45%, #fff, var(--flash)); opacity: 0; pointer-events: none; }
.contact__shade { position: absolute; inset: 0; background: rgba(2, 3, 6, 0.55); opacity: 0; }
.contact__headline { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; padding: 0 var(--pad); }
.contact__headline h2 { margin: 16px 0 0; font: 400 clamp(56px, 9vw, 176px) / 0.92 var(--serif); }
.contact__headline h2 em { font-style: italic; }
.contact__panel {
  position: absolute; inset: 0; display: grid; grid-template-columns: 1fr minmax(320px, 560px); gap: 6vw; align-items: center;
  padding: calc(128 * var(--hu)) var(--pad) 6vh; opacity: 0; pointer-events: none;
}
.contact__panel.is-shown { pointer-events: auto; }
.contact__intro h2 { margin: 14px 0 20px; font: 400 clamp(46px, 5.6vw, 104px) / 0.96 var(--serif); }
.contact__intro h2 em { font-style: italic; }
.contact__intro p { color: var(--ink-2); max-width: 440px; margin: 0 0 28px; }
.contact__direct { display: flex; flex-direction: column; gap: 10px; }
.contact__direct a { font: 400 clamp(22px, 1.8vw, 30px) / 1.2 var(--serif); width: max-content; border-bottom: 1px solid var(--line-2); }
.contact__direct span { font: 400 11px/1 var(--mono); letter-spacing: 0.2em; color: var(--ink-3); text-transform: uppercase; }
.form {
  display: grid; gap: 14px; padding: clamp(22px, 2.4vw, 38px); border: 1px solid var(--line); border-radius: 14px;
  background: rgba(8, 12, 20, 0.62); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; display: grid; gap: 8px; }
.field label, .field legend { font: 400 10px/1 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field textarea {
  width: 100%; padding: 13px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  font: 300 16px/1.4 var(--sans); color: var(--ink); transition: border-color 0.3s;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--blue-2); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chips legend { margin-bottom: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 999px; font: 400 12px/1 var(--sans); color: var(--ink-2); transition: all 0.3s; }
.chip input:checked + span { background: #fff; color: var(--night); border-color: #fff; }
.chip input:focus-visible + span { outline: 1px solid var(--blue-2); outline-offset: 3px; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.form__status { font: 400 11px/1.5 var(--mono); letter-spacing: 0.12em; color: var(--ink-3); }
.form__status.is-ok { color: #9fe3b4; }
.form__status.is-err { color: #ffb4a8; }
.form .btn-primary { height: 52px; font-size: 15px; padding: 0 26px; }
.honey { position: absolute; left: -9999px; }

/* ==========================================================================
   10. Footer
   ========================================================================== */
.site-footer { position: relative; z-index: 2; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; background: #000; }
.site-footer video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.75; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0.35) 65%, #000 100%); }
.footer__inner { position: relative; z-index: 2; padding: 0 var(--pad) 28px; }
.footer__look { text-align: center; margin-bottom: 8vh; }
.footer__look h2 { margin: 12px 0 0; font: 400 clamp(36px, 4vw, 64px) / 1 var(--serif); font-style: italic; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; padding-bottom: 5vh; border-bottom: 1px solid var(--line); }
.footer__grid h4 { margin: 0 0 16px; font: 400 10px/1 var(--mono); letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-3); }
.footer__grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__grid a { color: var(--ink-2); transition: color 0.3s; }
.footer__grid a:hover { color: #fff; }
.footer__about p { margin: 0; color: var(--ink-2); max-width: 340px; }
.footer__logo { width: 212px; height: auto; max-width: none; margin: 0 0 18px -1px; }
.footer__word { pointer-events: none; margin: 5vh 0 0; font: 700 clamp(34px, 9.4vw, 230px) / 1 var(--brand); letter-spacing: 0.03em; text-align: center; white-space: nowrap; }
.footer__w2 { font-weight: 400; color: var(--steel); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 22px; font: 400 10px/1.6 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.footer__bottom button { font: inherit; letter-spacing: inherit; color: var(--ink-2); text-transform: uppercase; }
.footer__bottom button:hover { color: #fff; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .starmap { display: none; }
  .process__steps { grid-template-columns: 1fr 1fr; }
  .crew__copy { grid-template-columns: 1fr; gap: 28px; }
  .contact__panel { grid-template-columns: 1fr; overflow-y: auto; align-content: start; gap: 28px; padding-top: 110px; }
  .contact__intro h2 { font-size: clamp(40px, 9vw, 72px); }
}
@media (max-width: 860px) {
  .nav a:not(.pill), .nav .sound { display: none; }
  .nav .pill { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header { height: 76px; padding: 0 20px; }
  .brand__logo { width: 221px; height: 40px; margin-left: -1px; }
  .footer__logo { display: none; }          /* the fixed header already carries the logo here */
  .scene__body { max-width: none; right: var(--pad); top: auto; bottom: calc(max(56px, 9.5vh) + 26px); transform: none; }
  .scene__shade { background: linear-gradient(0deg, rgba(3, 5, 9, 0.92) 0%, rgba(3, 5, 9, 0.55) 45%, rgba(3, 5, 9, 0.1) 75%); }
  .scene__bar { font-size: 9px; letter-spacing: 0.16em; }
  .scene__bar .coords, .scene__bar .cap { display: none; }
  .overview__head { top: 14vh; left: 20px; right: 20px; max-width: none; }
  .overview__foot { display: none; }
  .star-label strong { font-size: 17px; }
  .star-label small { display: none; }
  .star-label b { font-size: 9px; }
  .missions { height: auto; }
  .missions__pin { position: relative; height: auto; display: block; padding: 18vh 0 10vh; }
  .missions__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .missions__track { flex-direction: column; margin-top: 7vh; transform: none !important; gap: 48px; }
  .mission { width: 100%; }
  .missions__bar, .missions__count { display: none; }
  .process__head { grid-template-columns: 1fr; }
  .process__head p { justify-self: start; }
  .process__steps { grid-template-columns: 1fr; gap: 34px; }
  .process__svg { display: none; }
  .step { opacity: 1; padding-left: 26px; border-left: 1px solid var(--line-2); }
  .crew { height: auto; }
  .crew__pin { position: relative; height: auto; min-height: 100svh; padding: 18vh 0 12vh; }
  .crew__media { clip-path: none !important; }
  .crew__shade { opacity: 1 !important; background: linear-gradient(180deg, rgba(3, 5, 9, 0.55), rgba(3, 5, 9, 0.9)); }
  .crew .reveal { opacity: 1; }
  .values { grid-template-columns: 1fr; }
  .contact { height: auto; }
  .contact__pin { position: relative; height: auto; min-height: 100svh; }
  .contact__headline { position: relative; top: 0; transform: none; padding: 22vh var(--pad) 6vh; }
  .contact__shade { opacity: 1; }
  .contact__panel { position: relative; inset: auto; opacity: 1; visibility: visible; pointer-events: auto; padding: 0 var(--pad) 12vh; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; }
  .hud { display: none; }
}

/* reduced motion: no intro films, no scroll-scrubbed flights — everything readable as plain sections */
@media (prefers-reduced-motion: reduce) {
  .hero__cue i::after, .sound.is-on .sound__bars i { animation: none; }
}
.reduced .journey { height: auto; }
.reduced .journey__pin { position: relative; height: auto; overflow: visible; }
.reduced .hero { position: relative; height: 100vh; }
.reduced .journey__overview { display: none; }
.reduced .scene { position: relative; height: 100vh; visibility: visible; clip-path: none; }
.reduced .scene__bar { transform: none; }
.reduced .missions, .reduced .crew, .reduced .contact { height: auto; }
.reduced .missions__pin, .reduced .crew__pin, .reduced .contact__pin { position: relative; height: auto; min-height: 100vh; }
.reduced .missions__track { flex-wrap: wrap; transform: none !important; }
.reduced .crew__media { clip-path: none; }
.reduced .crew__shade, .reduced .crew .reveal { opacity: 1; }
.reduced .contact__panel { position: relative; opacity: 1; visibility: visible; pointer-events: auto; }
.reduced .contact__headline { position: relative; transform: none; top: 0; padding-top: 20vh; }
.reduced .step { opacity: 1; }

/* floating sound toggle (bottom-right) */
.sound--float {
  position: fixed; right: var(--pad); bottom: 22px; z-index: 50; gap: 10px; padding: 10px 0;
  font: 400 10px/1 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3);
  opacity: 0; visibility: hidden; transition: opacity 0.6s, visibility 0.6s, color 0.3s;
}
.sound--float.is-visible { opacity: 1; visibility: visible; }
.sound--float:hover, .sound--float.is-on { color: var(--ink); }
@media (max-width: 860px) { .sound--float { right: 18px; bottom: 16px; } }

/* the hero buttons keep the film's exact proportions */
.hero .btn-primary { width: calc(268 * var(--u)); min-width: 200px; padding: 0; }
.hero .btn-link .arrow { margin-left: 0.1em; }
@media (max-aspect-ratio: 5/4) { .hero .btn-primary { width: auto; padding: 0 28px; } .hero__l1, .hero__l2 { transform: none; } }

/* portrait: the loader's services line wraps inside the screen instead of running off both sides */
@media (max-aspect-ratio: 5/4) {
  .preloader__services { left: 50%; right: auto; width: 86vw; transform: translateX(-50%); font-size: 10px; line-height: 2; letter-spacing: 0.22em; top: auto; bottom: 7vh; }
}
