@font-face {
  font-family: Gelasio;
  src: url("assets/gelasio.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --page: #111a15;
  --surface: #1a261e;
  --line: #344238;
  --text: #f4f0e5;
  --muted: #bbc6b8;
  --gold: #edcf91;
  --pistachio: #b9d8b0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--text); }
a { color: inherit; }
img { display: block; max-width: 100%; }
.icon-definitions { position: absolute; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.instagram-link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-size: 14px; text-underline-offset: 3px; }
.instagram-link svg { flex: none; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: Georgia, serif; font-weight: 400; }
.wrap { width: min(1184px, calc(100% - 80px)); margin-inline: auto; }
.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header { min-height: 76px; border-bottom: 1px solid var(--line); }
.brand { text-decoration: none; font: 25px Georgia, serif; }
.wordmark {
  display: grid;
  color: var(--pistachio);
  font-family: Gelasio, Georgia, serif;
  white-space: nowrap;
}
.brand-name {
  font-size: 32px;
  line-height: .98;
  text-shadow: 0 0 4px #7ded50bd, 0 0 12px #7ded5099;
}
.brand-slogan { font-size: 14px; font-style: italic; line-height: 1.25; }
nav, .site-footer div { display: flex; flex-wrap: wrap; gap: 24px; }
nav a, .site-footer a { color: var(--muted); font-size: 14px; text-decoration: none; }
nav a:hover, .site-footer a:hover { color: var(--gold); text-decoration: underline; }

.hero { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 60px; align-items: center; padding-block: 64px 60px; }
.hero-video { min-width: 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; min-height: 200px; overflow: hidden; border: 1px solid #506047; border-radius: 12px; background: #081710; }
.video-launch { display: block; position: relative; width: 100%; height: 100%; color: var(--gold); }
.video-launch img { width: 100%; height: 100%; object-fit: contain; }
.video-launch:focus-visible { outline-offset: -5px; }
.video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 64px; height: 64px; padding-left: 4px; border: 1px solid var(--gold); border-radius: 50%; background: #111a15e8; font-size: 24px; }
.video-launch:hover .video-play { background: #344238; }
.video-duration { position: absolute; right: 14px; bottom: 12px; padding: 2px 8px; border-radius: 4px; background: #111a15e8; color: var(--text); font-size: 13px; }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.hero-video figcaption { margin-top: 13px; color: var(--muted); text-align: center; font-size: 13px; }
.feature-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); align-items: center; gap: 60px; padding-block: 48px 60px; border-top: 1px solid var(--line); }
.feature-section h2 { margin-block: 18px 24px; font-size: clamp(34px, 5vw, 59px); line-height: 1.04; letter-spacing: -.045em; }
.eyebrow { color: var(--gold); font-size: 12px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 7px; height: 7px; margin: 0 7px 1px 0; border-radius: 50%; background: var(--gold); }
h1 { margin-block: 23px; font-size: clamp(52px, 7.1vw, 105px); letter-spacing: -.065em; line-height: .93; }
h1 em { color: var(--gold); font-weight: inherit; }
.hero h1 { font-size: clamp(48px, 6.2vw, 86px); }
.lede { max-width: 440px; font-size: 18px; line-height: 1.65; color: var(--muted); }
.lede + .lede { margin-top: 12px; }
.lede strong { color: var(--pistachio); }
.play-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 27px;
  padding: 13px 19px;
  border-radius: 7px;
  background: var(--gold);
  color: #182119;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.play-button:hover { background: #f8dda8; }
.requirements { margin-top: 11px; color: var(--muted); font-size: 13px; }
.radio-figure {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 17px;
  overflow: hidden;
  padding: 27px 18px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    repeating-radial-gradient(circle at 50% 47%, transparent 0 17px, #ead49a17 18px 19px, transparent 20px 29px),
    radial-gradient(ellipse at 50% 45%, #42523b, #202f24 55%, #19251d 90%);
}
.gallery { min-width: 0; }
.gallery-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 1px solid #718073;
  border-radius: 14px;
  background: #121b18;
  box-shadow: 0 13px 28px #05090788;
}
.gallery-slides:hover { border-color: var(--gold); }
.screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 270ms ease;
}
.screen.is-current { opacity: 1; pointer-events: auto; }
.screen img { width: 100%; height: 100%; object-fit: contain; }
.radio-figure .gallery-slides, .radio-figure .gallery-controls { width: min(100%, 250px); }
.gallery-controls {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  text-align: center;
}
.gallery-caption { grid-column: 2; font-size: 12px; color: var(--pistachio); }
.gallery-controls button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #718073;
  border-radius: 50%;
  background: #19271e;
  color: var(--pistachio);
  cursor: pointer;
}
.gallery-controls svg { display: block; margin-inline: auto; }
.gallery-controls [data-step="-1"] svg { transform: scaleX(-1); }
.gallery-controls button:hover { color: var(--gold); border-color: var(--gold); }

.collection { border-top: 1px solid var(--line); padding-block: 42px 60px; }
.section-heading h2 { margin: 11px 0 24px; font-size: clamp(34px, 5vw, 59px); letter-spacing: -.045em; }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  align-items: center;
  gap: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.chapters { background: #28291e; border-color: #454639; }
.feature h3 { margin-block: 12px; font-size: clamp(25px, 2.7vw, 37px); letter-spacing: -.035em; line-height: 1.04; }
.feature p:not(.eyebrow) { color: var(--muted); font-size: 15px; line-height: 1.6; }
.feature .gallery { width: min(100%, 220px); justify-self: end; }
.feature .gallery-controls { margin-top: 12px; }
.drive-copy { margin-top: 14px; }
.drive-copy strong { color: var(--pistachio); }
.feature p.drive-detail { margin-top: 10px; font-size: 13px; }
.site-footer { border-top: 1px solid var(--line); padding-block: 25px 35px; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .hero, .feature-section { gap: 32px; }
  .features { grid-template-columns: 1fr; }
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 220px); }
}

@media (max-width: 650px) {
  .wrap { width: calc(100% - 32px); }
  .site-header { min-height: 64px; }
  .brand { font-size: 22px; }
  .brand-name { font-size: 28px; }
  .brand-slogan { font-size: 12px; }
  nav, .site-footer div { gap: 12px; }
  nav a, .site-footer a { font-size: 13px; }
  .hero, .feature-section { grid-template-columns: 1fr; padding-block: 36px 37px; }
  h1 { font-size: clamp(48px, 14vw, 91px); }
  .lede { font-size: 16px; }
  .collection { padding-block: 32px; }
  .feature { grid-template-columns: 1fr; gap: 17px; }
  .feature .gallery { justify-self: center; }
}

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