:root {
  --bg-void: #050508;
  --bg-base: #0f172a;
  --text: #f8fafc;
  --text-soft: #94a3b8;
  --amber: #f59e0b;
  --amber-bright: #fbbf24;
  --border: rgba(248, 250, 252, 0.14);
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-ui: 'Outfit', system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--text);
  font-family: var(--font-ui);
  background: var(--bg-void);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.hero-rotator {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg-void);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0;
  filter: saturate(1.05) contrast(1.06) brightness(1.08);
  transform: scale(1.04);
  transition:
    opacity 1s ease,
    transform 2s ease;
  will-change: opacity, transform;
}

.hero-bg.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg {
    transition: none;
    transform: none;
  }

  .hero-bg.is-active {
    transform: none;
  }
}

.hero-bg::after {
  content: none;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  /* Keep photos dominant — light bottom veil only for text contrast */
  background:
    linear-gradient(180deg, rgba(5, 5, 8, 0.08) 0%, rgba(5, 5, 8, 0.18) 45%, rgba(5, 5, 8, 0.72) 100%);
}

.stage {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100dvh;
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 3.5rem) clamp(1.25rem, 4vw, 2rem)
    calc(5.5rem + env(safe-area-inset-bottom, 0px));
}

.brand {
  margin: 0 0 1.25rem;
}

.wordmark {
  display: block;
  width: min(16.5rem, 72vw);
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}

.headline {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.lede {
  margin: 0 0 1.75rem;
  max-width: 22rem;
  font-size: clamp(1rem, 2.8vw, 1.125rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-soft);
}

.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 9.5rem;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  color: var(--text);
  text-decoration: none;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(10px);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(251, 191, 36, 0.45);
  background: rgba(15, 23, 42, 0.78);
  outline: none;
}

.cta-play {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(15, 23, 42, 0.7));
  border-color: rgba(251, 191, 36, 0.35);
}

.cta-kicker {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.cta-label {
  font-size: 1rem;
  font-weight: 600;
}

.cta[hidden] {
  display: none !important;
}

.foot {
  position: fixed;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  font-size: 0.85rem;
  color: var(--text-soft);
}

.foot a {
  color: inherit;
  text-decoration: none;
}

.foot a:hover,
.foot a:focus-visible {
  color: var(--amber-bright);
  outline: none;
}
