@font-face {
  font-family: 'Chakra Petch';
  src: url('/fonts/ChakraPetch-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  color: var(--text);
  background: var(--background);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
body,
h1,
h2,
p,
dl,
dd,
figure {
  margin: 0;
}
a {
  color: inherit;
}
a:focus-visible {
  outline: 2px solid var(--action);
  outline-offset: 5px;
}
img {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(100% - 3rem, 72rem);
  margin-inline: auto;
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.site-header,
.site-footer {
  background: var(--background);
}
.site-header {
  border-bottom: 1px solid var(--border);
}
.site-header .bar {
  min-height: 4.5rem;
}
.brand,
nav,
.eyebrow,
h1,
h2,
.actions,
dt,
figcaption {
  font-family: 'Chakra Petch', system-ui, sans-serif;
  font-weight: 600;
}
.brand {
  text-decoration: none;
  font-size: 1.35rem;
  letter-spacing: 0.075em;
}
.brand span,
h1 span {
  color: var(--action);
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
nav a {
  display: block;
  padding-block: 0.5rem;
  color: var(--muted);
  text-decoration: none;
}
nav a:hover,
.site-footer p a:hover {
  color: var(--text);
  text-decoration: underline;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: min(43rem, 76svh);
  overflow: hidden;
}
.hero-image,
.hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.hero-image {
  object-fit: cover;
  object-position: 68% 50%;
}
.hero::after {
  content: '';
  background:
    linear-gradient(0deg, var(--background), transparent 37%),
    linear-gradient(
      90deg,
      var(--background) 1%,
      color-mix(in srgb, var(--background) 94%, transparent) 24%,
      color-mix(in srgb, var(--background) 52%, transparent) 53%,
      transparent 83%
    );
}
.hero-content {
  padding-block: 5rem;
}
.eyebrow {
  color: var(--neon);
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 0.875rem;
}
h1 {
  font-size: clamp(3rem, 10vw, 8rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  margin: 0.65rem 0 1.1rem;
}
.intro {
  max-width: 31rem;
  font-size: clamp(1rem, 1.65vw, 1.2rem);
  line-height: 1.65;
}
.actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.actions a {
  padding: 0.75rem 1.2rem;
  border: 1px solid var(--border);
  text-decoration: none;
}
.actions .play {
  color: var(--background);
  background: var(--action);
  border-color: var(--action);
}
.actions .play:hover {
  background: var(--active);
}
.actions .trailer {
  background: var(--background);
}
.actions .trailer:hover {
  border-color: var(--neon);
}
.note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.roadmap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 2rem 4rem;
  padding-block: 3rem 4rem;
}
h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1.15;
}
dl {
  margin-top: 1.35rem;
  border-top: 1px solid var(--border);
}
dl div {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border);
  padding: 0.95rem 0;
}
dt {
  color: var(--neon);
  text-transform: uppercase;
}
dd {
  line-height: 1.5;
}
figure {
  position: relative;
  border: 1px solid var(--border);
  background: var(--panel);
}
figure img {
  height: auto;
  width: 100%;
}
figcaption {
  padding: 0.65rem 0.8rem;
  color: var(--muted);
  font-size: 0.875rem;
}
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 1.5rem 2rem;
}
.site-footer h2 {
  font-size: 1.25rem;
}
.site-footer p {
  color: var(--muted);
  margin-top: 0.4rem;
}

@media (max-width: 44rem) {
  .shell {
    width: calc(100% - 2rem);
  }
  .site-header .bar {
    min-height: 3.75rem;
  }
  nav {
    gap: 0.25rem 0.85rem;
  }
  .hero {
    min-height: auto;
  }
  .hero-image {
    height: 19rem;
    object-position: 66% center;
  }
  .hero::after {
    background: linear-gradient(
      0deg,
      var(--background) 30%,
      color-mix(in srgb, var(--background) 82%, transparent) 56%,
      transparent 100%
    );
  }
  .hero-content {
    padding-block: 10rem 2rem;
  }
  .roadmap {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-block: 1.5rem 2.5rem;
  }
  .site-footer .bar {
    flex-wrap: wrap;
  }
}
