:root {
  --bg: #07111a;
  --panel: #10202b;
  --paper: #f4efe6;
  --muted: #a7b4c0;
  --line: rgba(244, 239, 230, 0.14);
  --accent: #ffb15a;
  --ink: #1a1208;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(255, 177, 90, 0.14), transparent 55%),
    var(--bg);
  font-family: "Avenir Next", "Segoe UI", "DejaVu Sans", sans-serif;
  line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: 1rem;
  z-index: 3;
  transform: translateY(-160%);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header,
.hero,
.band,
.close,
.site-footer {
  width: min(1100px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
}

.wordmark {
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 1.25rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--paper);
}

.nav-check,
.nav-button {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 0 3.5rem;
}

.kicker {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Iowan Old Style", Palatino, "DejaVu Serif", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.03em;
}

h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.92;
}

.lede,
.band-head p,
.card p,
.close p {
  color: var(--muted);
}

.lede {
  max-width: 38rem;
  margin: 1.2rem 0 0;
  font-size: 1.08rem;
}

.stage {
  display: grid;
  place-items: center;
}

.screen {
  width: min(100%, 280px);
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background:
    linear-gradient(160deg, rgba(255, 177, 90, 0.18), transparent 42%),
    var(--panel);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.play {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent var(--accent);
  margin-inline-start: 4px;
}

.band {
  padding: 1rem 0 3rem;
}

.band-head h2,
.close h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.1;
}

.band-head p {
  max-width: 38rem;
  margin: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.card {
  margin: 0;
  padding: 1.15rem 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(16, 32, 43, 0.72);
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
}

.card p {
  margin: 0;
}

.devices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}

.devices li {
  padding: 1.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-align: center;
  font-weight: 700;
}

.close {
  margin-bottom: 3rem;
  padding: 1.5rem;
  border-radius: 1.2rem;
  background: var(--paper);
  color: var(--ink);
}

.close p {
  max-width: 44rem;
  margin: 0;
  color: #4d463c;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 800px) {
  .site-header,
  .hero,
  .band,
  .close,
  .site-footer {
    width: min(1100px, calc(100% - 1.5rem));
  }

  .nav-button {
    display: grid;
    gap: 5px;
    width: 2.6rem;
    height: 2.6rem;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 0.7rem;
    cursor: pointer;
  }

  .nav-button span {
    display: block;
    width: 1rem;
    height: 2px;
    background: var(--paper);
  }

  .nav {
    display: none;
    position: absolute;
    inset-inline: 0.75rem;
    top: 4.2rem;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.6rem;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    background: #0d1a24;
  }

  .nav a {
    padding: 0.7rem 0.8rem;
    border-radius: 0.6rem;
  }

  .nav-check:checked ~ .nav {
    display: flex;
  }

  .nav-check:focus-visible + .nav-button {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
  }

  .hero,
  .cards,
  .devices {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 1.4rem;
  }

  .screen {
    width: min(100%, 420px);
  }
}
