:root {
  --ink: #0b1520;
  --navy: #12263a;
  --amber: #e8a23a;
  --ember: #c43b2c;
  --foam: #f4efe6;
  --mute: rgba(244, 239, 230, 0.78);
  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "Libre Baskerville", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--foam);
  background: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 80% at 70% 10%, rgba(232, 162, 58, 0.35), transparent 55%),
    radial-gradient(90% 70% at 15% 85%, rgba(196, 59, 44, 0.28), transparent 50%),
    linear-gradient(180deg, #1a3048 0%, var(--ink) 100%);
}

.hero-media {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.06);
  animation: drift 22s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(11, 21, 32, 0.28) 0%,
      rgba(11, 21, 32, 0.15) 35%,
      rgba(11, 21, 32, 0.72) 72%,
      rgba(11, 21, 32, 0.92) 100%
    ),
    linear-gradient(90deg, rgba(11, 21, 32, 0.55) 0%, transparent 42%);
}

.stage {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 8vh, 5rem);
  max-width: 42rem;
}

.brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 9vw, 5.25rem);
  letter-spacing: 0.04em;
  line-height: 0.92;
  text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
  animation: rise 0.9s ease-out both;
}

.line {
  margin: 0 0 0.85rem;
  font-family: var(--font-body);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  letter-spacing: 0.01em;
  color: var(--amber);
  animation: rise 0.9s ease-out 0.12s both;
}

.support {
  margin: 0 0 1.6rem;
  max-width: 28rem;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 1.55;
  color: var(--mute);
  animation: rise 0.9s ease-out 0.22s both;
}

.cta {
  animation: rise 0.9s ease-out 0.32s both;
}

.cta-primary {
  display: inline-block;
  padding: 0.85rem 1.35rem;
  color: var(--ink);
  background: var(--amber);
  border: 1px solid rgba(232, 162, 58, 0.9);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 160ms ease, transform 160ms ease;
}

.cta-primary:hover,
.cta-primary:focus-visible {
  background: #f0b454;
  transform: translateY(-1px);
  outline: none;
}

.next {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.5rem, 4vw, 3.5rem);
  background:
    linear-gradient(180deg, rgba(11, 21, 32, 0.96), var(--navy));
  border-top: 1px solid rgba(232, 162, 58, 0.22);
}

.next h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--foam);
}

.next p {
  margin: 0;
  max-width: 36rem;
  color: var(--mute);
  line-height: 1.65;
  font-size: 1.02rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.2%, -1%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image,
  .brand,
  .line,
  .support,
  .cta {
    animation: none;
  }

  .hero-image {
    transform: none;
  }
}

@media (max-width: 640px) {
  .stage {
    max-width: none;
    justify-content: flex-end;
  }

  .hero-image {
    object-position: 58% 22%;
  }
}
