/* Landing: one full-screen video with an editorial headline and a single call to action. */
:root {
  --navy: #0d3466;
  --white: #ffffff;
  --mist: rgba(255, 255, 255, .78);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 3.2vw, 44px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; min-height: 100dvh; overflow: hidden; background: #0b1726; color: var(--white); font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Video fills the screen; a navy-tinted shade keeps the type readable over bright rooms. */
.bg-video { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.shade {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 22, 44, .6) 0%, rgba(8, 22, 44, 0) 28%),
    linear-gradient(0deg, rgba(8, 22, 44, .82) 0%, rgba(8, 22, 44, .35) 45%, rgba(8, 22, 44, 0) 70%);
}

.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; align-items: flex-start; padding: calc(env(safe-area-inset-top) + 18px) var(--gutter) 18px; }
.logo img { width: clamp(120px, 12vw, 170px); height: auto; filter: brightness(0) invert(1) drop-shadow(0 2px 12px rgba(0, 0, 0, .45)); }

.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 22px; border-radius: 999px; font: 500 15px/1 var(--sans); text-decoration: none; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.pill.ghost { color: var(--white); border: 1px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.pill.ghost:hover { background: rgba(255, 255, 255, .16); border-color: var(--white); }
.pill.solid { color: var(--navy); background: var(--white); padding: 16px 34px; font-size: 17px; }
.pill.solid:hover { background: #dfe8f5; }

/* Headline: italic lead-in on the left, tall capitals stepping in to the right, as in the reference. */
.hero { position: fixed; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: calc(env(safe-area-inset-bottom) + clamp(24px, 5vh, 56px)); }
.kicker { margin: 0 0 clamp(8px, 1.4vh, 16px); padding-left: clamp(0px, 24vw, 420px); letter-spacing: .01em; font-size: 14px; line-height: 1.45; color: var(--mist); }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: .9; letter-spacing: -.01em; }
.hero h1 em { display: block; padding-left: clamp(0px, 24vw, 420px); font-size: clamp(56px, 8.5vw, 132px); line-height: 1; }
.hero h1 span { display: block; padding-left: clamp(0px, 24vw, 420px); text-transform: uppercase; font-size: clamp(44px, 8vw, 124px); }

.cta-row { display: flex; align-items: center; gap: 24px; margin-top: clamp(20px, 3.5vh, 40px); padding-left: clamp(0px, 24vw, 420px); }
.cta-row p { margin: 0; max-width: 30ch; color: var(--mist); font-size: 15px; }

.video-controls { position: fixed; z-index: 3; right: var(--gutter); bottom: calc(env(safe-area-inset-bottom) + clamp(24px, 5vh, 56px)); display: flex; gap: 10px; }
.round { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); color: var(--white); display: grid; place-items: center; cursor: pointer; transition: background-color .2s ease; }
.round:hover { background: rgba(255, 255, 255, .2); }
.round svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
#soundBtn .wave, #soundBtn.is-on .mute { display: none; }
#soundBtn.is-on .wave { display: inline; }
#playBtn .play, #playBtn.is-paused .pause { display: none; }
#playBtn.is-paused .play { display: inline; fill: currentColor; }

@media (max-width: 760px) {
  .kicker, .hero h1 em, .hero h1 span, .cta-row { padding-left: 0; }
  .hero { bottom: calc(env(safe-area-inset-bottom) + 92px); }
  .cta-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .pill.solid { width: 100%; }
  .video-controls { left: var(--gutter); right: auto; bottom: calc(env(safe-area-inset-bottom) + 24px); }
}

@media (max-height: 520px) and (orientation: landscape) {
  .hero h1 em { font-size: 44px; }
  .hero h1 span { font-size: 40px; }
  .kicker { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
