:root {
  --navy: #050b24;
  --navy-mid: #0a1638;
  --navy-light: #13275a;
  --gold: #ffd24a;
  --gold-soft: #ffe9a0;
  --gold-deep: #c8961a;
  --cream: #fff6d8;
  --mute: #9bb4d8;
  --white: #ffffff;
  --line: rgba(255, 210, 74, 0.22);
  --shell: min(68rem, calc(100% - 2rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Heebo", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--cream);
  background: var(--navy);
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -3rem;
  z-index: 40;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
}

.skip-link:focus {
  top: 1rem;
}

/* —— Header —— */
.top {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 30;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-shadow 0.25s ease;
  border-bottom: 1px solid transparent;
}

.top.is-solid {
  background: rgba(5, 11, 36, 0.92);
  border-bottom-color: var(--line);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  gap: 1rem;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.mark img {
  border-radius: 9px;
  box-shadow: 0 0 0 1px rgba(255, 210, 74, 0.35);
}

.top__nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-soft);
}

.top__nav a:hover {
  color: var(--gold);
}

.top__cta {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: var(--navy) !important;
  box-shadow: 0 6px 18px rgba(255, 210, 74, 0.28);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 6.5rem 0 3.5rem;
  isolation: isolate;
}

.hero__plane {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero__shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.04);
  animation: drift 18s ease-in-out infinite alternate;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 11, 36, 0.35) 0%, rgba(5, 11, 36, 0.55) 42%, rgba(5, 11, 36, 0.94) 100%),
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 210, 74, 0.18), transparent 60%);
}

.hero__beam {
  position: absolute;
  top: -8%;
  width: 28vw;
  max-width: 320px;
  height: 70%;
  background: linear-gradient(180deg, rgba(255, 210, 74, 0.18), transparent 70%);
  filter: blur(2px);
  animation: sway 7s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero__beam--l {
  inset-inline-start: 8%;
  transform: skewX(12deg);
}

.hero__beam--r {
  inset-inline-end: 8%;
  transform: skewX(-12deg);
  animation-delay: -2.5s;
}

.hero__stage {
  max-width: 40rem;
  text-align: center;
  margin-inline: auto;
}

.hero__brand {
  margin: 0 0 0.85rem;
  font-family: "Suez One", "Heebo", serif;
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  line-height: 1.05;
  color: var(--gold);
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
}

.hero__title {
  margin: 0 0 0.9rem;
  font-size: clamp(1.35rem, 3.8vw, 1.85rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--cream);
}

.hero__lede {
  margin: 0 auto 1.6rem;
  max-width: 34rem;
  color: var(--mute);
  font-size: 1.05rem;
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.4rem;
  padding: 0.55rem 1.15rem;
  border-radius: 14px;
  font-weight: 800;
  border: 1px solid transparent;
}

.btn small {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.8;
  line-height: 1.1;
}

.btn--gold {
  background: linear-gradient(180deg, #fff1b0, var(--gold) 45%, var(--gold-deep));
  color: var(--navy);
  box-shadow: 0 10px 28px rgba(255, 210, 74, 0.32);
}

.btn--gold:hover {
  filter: brightness(1.05);
}

.btn--ghost {
  background: rgba(10, 22, 56, 0.55);
  border-color: var(--line);
  color: var(--gold-soft);
  cursor: default;
}

/* —— Features —— */
.features {
  padding: 4rem 0 2.5rem;
  background:
    radial-gradient(ellipse 50% 40% at 80% 0%, rgba(255, 210, 74, 0.08), transparent 55%),
    var(--navy);
}

.features__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}

.feature {
  padding: 1.35rem 1.2rem 1.45rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #15244c, #070e24);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.feature__mark {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: rgba(255, 210, 74, 0.12);
  color: var(--gold);
  font-weight: 900;
  font-size: 1.05rem;
}

.feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  color: var(--gold-soft);
}

.feature p {
  margin: 0;
  color: var(--mute);
  font-size: 0.98rem;
  font-weight: 600;
}

/* —— Path —— */
.path {
  padding: 3.5rem 0 4rem;
}

.path__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1.15fr;
  align-items: start;
}

.kicker {
  margin: 0 0 0.55rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.path__copy h2,
.close h2 {
  margin: 0 0 0.85rem;
  font-family: "Suez One", "Heebo", serif;
  font-size: clamp(1.7rem, 3.5vw, 2.25rem);
  line-height: 1.2;
  color: var(--gold);
  font-weight: 400;
}

.path__copy p {
  margin: 0;
  color: var(--mute);
  font-weight: 600;
  max-width: 28rem;
}

.path__beats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.path__beats li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  background: rgba(19, 39, 90, 0.45);
  border: 1px solid rgba(255, 210, 74, 0.14);
}

.path__num {
  font-family: "Suez One", serif;
  color: var(--gold);
  font-size: 1.2rem;
  line-height: 1;
  padding-top: 0.15rem;
}

.path__beats h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  color: var(--cream);
}

.path__beats p {
  margin: 0;
  color: var(--mute);
  font-size: 0.95rem;
  font-weight: 600;
}

/* —— Close —— */
.close {
  padding: 1rem 0 4.5rem;
}

.close__inner {
  text-align: center;
  padding: 2.4rem 1.4rem;
  border-radius: 24px;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(255, 210, 74, 0.16), transparent 55%),
    linear-gradient(180deg, #1a2c5c, #070e24);
  border: 1px solid rgba(255, 210, 74, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.close__icon {
  margin: 0 auto 1rem;
  border-radius: 22px;
  box-shadow: 0 0 0 2px rgba(255, 210, 74, 0.45), 0 16px 40px rgba(0, 0, 0, 0.4);
}

.close p {
  margin: 0 auto 1.35rem;
  max-width: 28rem;
  color: var(--mute);
  font-weight: 600;
}

/* —— Footer —— */
.foot {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  background: #03071a;
}

.foot__inner {
  display: grid;
  gap: 1rem;
  justify-items: center;
  text-align: center;
}

.foot__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
}

.foot__brand img {
  border-radius: 7px;
}

.foot__by {
  color: var(--mute);
  font-weight: 600;
  font-size: 0.9rem;
}

.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  color: var(--gold-soft);
  font-weight: 700;
  font-size: 0.95rem;
}

.foot__links a:hover {
  color: var(--gold);
}

.foot__note {
  margin: 0;
  color: var(--mute);
  font-size: 0.85rem;
  font-weight: 600;
}

/* —— Motion —— */
.motion-rise {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.motion-rise--2 { animation-delay: 0.12s; }
.motion-rise--3 { animation-delay: 0.22s; }
.motion-rise--4 { animation-delay: 0.34s; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes drift {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.08) translateY(-1.5%); }
}

@keyframes sway {
  from { opacity: 0.55; transform: skewX(12deg) translateX(-6px); }
  to { opacity: 0.95; transform: skewX(12deg) translateX(8px); }
}

.hero__beam--r {
  animation-name: sway-r;
}

@keyframes sway-r {
  from { opacity: 0.45; transform: skewX(-12deg) translateX(6px); }
  to { opacity: 0.9; transform: skewX(-12deg) translateX(-8px); }
}

@media (max-width: 860px) {
  .features__grid,
  .path__grid {
    grid-template-columns: 1fr;
  }

  .top__nav a:not(.top__cta) {
    display: none;
  }

  .hero {
    align-items: center;
    padding-top: 7rem;
  }
}

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

  .motion-rise,
  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__shot {
    transform: none;
  }
}
