:root {
  --midnight: #051e38;
  --deep-blue: #0f3052;
  --blue: #25477c;
  --mist-blue: #3c6492;
  --gold: #efb252;
  --gold-deep: #aa7220;
  --bronze: #885b16;
  --ivory: #ffdfa0;
  --soft-white: #fff7e8;
  --muted: #cadced;
  --line: rgba(255, 223, 160, 0.26);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--soft-white);
  background:
    radial-gradient(circle at 52% 8%, rgba(60, 100, 146, 0.34), transparent 34rem),
    radial-gradient(circle at 22% 36%, rgba(239, 178, 82, 0.13), transparent 24rem),
    linear-gradient(180deg, #020916 0%, var(--midnight) 52%, #020916 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    radial-gradient(circle, rgba(255, 247, 232, 0.72) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(239, 178, 82, 0.48) 0 1px, transparent 1.5px);
  background-position: 0 0, 42px 63px;
  background-size: 150px 150px, 230px 230px;
}

a,
button {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header,
main,
footer {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.site-header p {
  margin: 0;
  color: rgba(255, 247, 232, 0.62);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  object-fit: cover;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  gap: 48px;
  align-items: center;
  padding: 48px 0 76px;
}

.eyebrow,
.card-label,
.placeholder-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.7rem, 10vw, 7rem);
  line-height: 0.9;
}

h2 {
  max-width: 820px;
  font-size: clamp(2.1rem, 6vw, 4rem);
  line-height: 1;
}

h3 {
  font-size: 1.45rem;
  line-height: 1.14;
}

p,
li {
  color: rgba(255, 247, 232, 0.78);
  line-height: 1.68;
}

.subtitle {
  max-width: 760px;
  margin: 18px 0 26px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.6vw, 1.34rem);
}

.frame-line {
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.42rem, 4vw, 2.18rem);
}

.actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  color: var(--midnight);
  background: var(--ivory);
  border-color: var(--ivory);
}

.button.secondary {
  color: var(--ivory);
  background: rgba(15, 48, 82, 0.48);
}

.arrival-card,
.download-card,
.video-shell,
.iframe-shell {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(15, 48, 82, 0.52);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.arrival-card {
  padding: 24px;
}

.arrival-card ul {
  margin: 0;
  padding-left: 20px;
}

.video-section,
.intro-section,
.downloads-section,
.grounding-section,
.ambient-section,
.invitation-section {
  padding: 78px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.video-shell {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(5, 30, 56, 0.34), rgba(5, 30, 56, 0.9)),
    radial-gradient(circle at center, rgba(239, 178, 82, 0.16), transparent 20rem),
    rgba(5, 30, 56, 0.86);
}

.video-logo {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 18px;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 223, 160, 0.48);
  border-radius: 50%;
  object-fit: cover;
}

.video-placeholder {
  max-width: 560px;
  padding: 34px;
  text-align: center;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.two-column p {
  margin-top: 0;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.download-card {
  display: grid;
  align-content: start;
  padding: 24px;
}

.download-card p:not(.card-label) {
  margin-bottom: 0;
}

.iframe-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #020916;
}

iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.youtube-frame {
  display: none;
}

.briefing-video.is-playing .youtube-frame {
  display: block;
}

.video-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 28px;
  border: 0;
  color: var(--soft-white);
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 223, 160, 0.28), transparent 9rem),
    radial-gradient(circle at 32% 58%, rgba(139, 213, 255, 0.2), transparent 13rem),
    linear-gradient(rgba(5, 30, 56, 0.18), rgba(5, 30, 56, 0.88)),
    #051e38;
  text-align: center;
}

.video-cover::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 223, 160, 0.32);
  border-radius: 8px;
}

.video-thumbnail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020916;
}

.youtube-cover {
  cursor: pointer;
}

.youtube-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(239, 178, 82, 0.12), transparent 17rem),
    linear-gradient(rgba(5, 30, 56, 0.02), rgba(5, 30, 56, 0.26));
}

.youtube-cover .cover-play {
  position: relative;
  z-index: 2;
  background: rgba(2, 9, 22, 0.44);
  backdrop-filter: blur(6px);
}

.briefing-video.is-playing .youtube-cover {
  display: none;
}

.youtube-fallback {
  position: absolute;
  z-index: 5;
  right: 18px;
  bottom: 18px;
  border: 1px solid rgba(255, 223, 160, 0.38);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--ivory);
  background: rgba(2, 9, 22, 0.62);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.cover-kicker {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cover-title {
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 6vw, 4.2rem);
  line-height: 1;
}

.cover-copy {
  max-width: 520px;
  color: rgba(255, 247, 232, 0.78);
  line-height: 1.5;
}

.cover-play {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-top: 8px;
  border: 1px solid rgba(255, 223, 160, 0.62);
  border-radius: 50%;
  background: rgba(239, 178, 82, 0.14);
}

.cover-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 18px solid var(--ivory);
}

.grounding-video.is-playing .video-cover {
  display: none;
}

.ambient-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.ambient-section p {
  max-width: 680px;
}

.ambient-button {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255, 223, 160, 0.72);
  border-radius: 999px;
  background: rgba(239, 178, 82, 0.12);
  color: var(--ivory);
  font-weight: 700;
}

.ambient-button[aria-pressed="true"] {
  background: rgba(239, 178, 82, 0.24);
  box-shadow: 0 0 22px rgba(239, 178, 82, 0.16);
}

.invitation-section {
  max-width: 820px;
}

.invitation-section p:not(.eyebrow) {
  max-width: 680px;
  margin: 18px 0 28px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
}

footer a {
  color: var(--gold);
}

footer p {
  margin: 0;
}

@media (max-width: 840px) {
  .hero,
  .two-column,
  .download-grid,
  .ambient-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 32px;
    padding-top: 34px;
  }

  .ambient-button {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .site-header p {
    display: none;
  }

  .actions,
  .card-actions {
    display: grid;
  }

  .button,
  .ambient-button {
    width: 100%;
  }

  .video-section,
  .intro-section,
  .downloads-section,
  .grounding-section,
  .ambient-section,
  .invitation-section {
    padding: 58px 0;
  }
}
