:root {
  --navy: #0b1b2e;
  --navy-2: #13294a;
  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, .74);
  --line: rgba(255, 255, 255, .16);
  --steel: #9fbbdc;
  --sans: "Manrope", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2 { margin: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font: 700 15px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn--light { background: #fff; color: var(--navy); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.btn--light:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(0, 0, 0, .35); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px var(--gutter);
  background: linear-gradient(180deg, rgba(11, 27, 46, .7), rgba(11, 27, 46, 0));
}
.nav__logo img { display: block; height: 26px; width: auto; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink-2); }
.nav__links a:hover { color: #fff; }
.nav__cta { min-height: 42px; padding: 0 20px; font-size: 14px; }

/* ---------- film ---------- */
/* One screen of scroll per stop; film.js steps and eases between them. */
.film { position: relative; height: 500vh; height: 500svh; }
.snap { position: absolute; left: 0; width: 1px; height: 100vh; height: 100svh; pointer-events: none; }
.snap:nth-child(1) { top: 0; }
.snap:nth-child(2) { top: 100vh; top: 100svh; }
.snap:nth-child(3) { top: 200vh; top: 200svh; }
.snap:nth-child(4) { top: 300vh; top: 300svh; }
.snap:nth-child(5) { top: 400vh; top: 400svh; }
.film__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--navy);
}
.film__poster, .film__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film[data-ready="true"] .film__poster { visibility: hidden; }

/* navy wash so white copy reads over the scene; it follows where the copy sits */
.film__wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(11, 27, 46, .88) 0%, rgba(11, 27, 46, .62) 28%, rgba(11, 27, 46, 0) 52%);
  opacity: 0;
  transition: opacity .45s ease;
}
.film[data-copy="on"] .film__wash { opacity: 1; transition: opacity .6s ease .05s; }

.stop {
  position: absolute;
  left: var(--gutter);
  top: 50%;
  width: min(620px, 44vw);
  translate: 0 -50%;
  opacity: 0;
  visibility: hidden;
  transform: translateX(48px);
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
  transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1), visibility 0s .6s;
}
.stop.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.stop.is-gone { transform: translateX(-48px); }
.stop__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 26px;
  font: 700 12px/1 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.stop__n {
  display: inline-grid;
  place-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  font: 700 13px/1 var(--sans);
  letter-spacing: 0;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
/* the title reads as two lines: a bold statement and a lighter second line */
.stop__title {
  font: 800 clamp(40px, 4.4vw, 72px)/1.02 var(--sans);
  letter-spacing: -.035em;
  text-wrap: balance;
}
.stop__title em { display: block; font-style: normal; font-weight: 300; color: var(--steel); }
.stop__text { margin: 22px 0 0; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 30ch; text-wrap: pretty; }
.fact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 0;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-shadow: none;
}
.fact::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--steel); }
.stop__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 32px; }
.hint { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.hint i { display: inline-block; font-style: normal; color: #fff; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }

.pills {
  position: absolute;
  left: var(--gutter);
  bottom: 34px;
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(11, 27, 46, .6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .12);
}
.pills button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: transparent;
  font: 700 13px/1 var(--sans);
  color: var(--ink-2);
  cursor: pointer;
  transition: background .25s, color .25s;
}
.pills button:hover { color: #fff; }
.pills button.is-on { background: #fff; color: var(--navy); }

.film__progress { position: absolute; inset: auto 0 0; height: 3px; background: rgba(255, 255, 255, .1); }
.film__progress span { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: #fff; }

/* full-quality frames: hold the page until every frame is in */
.loader {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 26px;
  background: var(--navy);
  transition: opacity .6s ease, visibility 0s .6s;
}
.loader__logo { width: 220px; height: auto; }
.loader__bar { position: relative; width: min(300px, 70vw); height: 2px; background: var(--line); }
.loader__bar span { position: absolute; inset: 0 auto 0 0; width: calc(var(--load, 0) * 100%); background: #fff; }
.loader__pct { font: 700 12px/1 var(--sans); letter-spacing: .2em; color: var(--ink-2); }
.film[data-loaded="true"] .loader { opacity: 0; visibility: hidden; }
body:has(.film:not([data-loaded="true"])) { overflow: hidden; }

/* ---------- landing ---------- */
.final { padding: clamp(80px, 11vw, 150px) var(--gutter); background: linear-gradient(180deg, var(--navy), var(--navy-2)); }
.final__card { max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; font: 700 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--steel); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--steel); }
.h2 { font: 700 clamp(32px, 3.6vw, 54px)/1.08 var(--sans); letter-spacing: -.025em; }
.lead { margin: 20px 0 0; font-size: 19px; color: var(--ink-2); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-top: 32px; }
.form label { display: grid; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.form input { height: 52px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 8px; background: rgba(255, 255, 255, .06); font: 400 16px var(--sans); color: #fff; }
.form input::placeholder { color: rgba(255, 255, 255, .4); }
.form input:focus { outline: none; border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .15); }
.form__wide { grid-column: 1 / -1; }
.form__done { margin: 0; color: var(--ink-2); font-size: 14px; }

.footer { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; padding: 32px var(--gutter); border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); background: var(--navy-2); }
.footer img { height: 22px; margin-right: auto; }

/* ---------- phone ---------- */
/* The frame is shown whole across the width, low in the screen (film.js);
   the copy sits above it on the navy page. */
@media (max-width: 860px) {
  .nav { gap: 12px; padding: 12px 16px; }
  .nav__links { display: none; }
  .nav__logo img { height: 20px; }
  .nav__cta { margin-left: auto; min-height: 38px; padding: 0 14px; font-size: 12px; }

  .film__wash { background: none; }
  .stop { left: 16px; right: 16px; top: 76px; width: auto; translate: none; }
  .stop__eyebrow { margin-bottom: 14px; font-size: 10px; gap: 10px; }
  .stop__n { width: 30px; height: 30px; font-size: 11px; }
  .stop__title { font-size: 34px; }
  .stop__text { margin-top: 12px; font-size: 16px; max-width: none; }
  .fact { margin-top: 14px; font-size: 13px; padding: 8px 14px; }
  .stop__actions { margin-top: 18px; }
  .stop__actions .btn { min-height: 46px; }
  .hint { display: none; }
  .pills { left: 10px; right: 10px; bottom: 16px; gap: 2px; padding: 4px; justify-content: space-between; }
  .pills button { padding: 8px 8px; font-size: 11px; }

  .form { grid-template-columns: 1fr; }
  .lead { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .stop, .stop.is-on { transition: none; }
  .hint i { animation: none; }
}
