:root {
  --ink: #f7f7fb;
  --muted: #aeb8c5;
  --panel: #111823;
  --panel-2: #172230;
  --line: rgba(255, 255, 255, 0.14);
  --dark: #080b10;
  --orange: #ff9d16;
  --purple: #9d28ff;
  --cyan: #30c7ff;
  --green: #37d67a;
  --shadow: 0 22px 80px rgba(0, 0, 0, 0.38);
  --body-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --display-font: Audiowide, Inter, ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--dark);
  font-family: var(--body-font);
  line-height: 1.55;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(135deg, rgba(255, 157, 22, 0.10), transparent 30%),
    linear-gradient(315deg, rgba(48, 199, 255, 0.08), transparent 34%),
    #080b10;
}

img,
iframe {
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

button.button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
  padding: 0 28px;
  background: rgba(8, 11, 16, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--display-font);
  font-weight: 400;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--display-font);
  font-size: 12px;
}

.site-nav a {
  padding: 9px 10px;
  color: var(--muted);
  border-radius: 8px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  outline: 0;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(680px, calc(100vh - 70px));
  padding: 104px 28px 26px;
  overflow: hidden;
  background-image: url("./assets/venue-layout-web.jpg");
  background-position: center;
  background-size: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 11, 16, 0.96), rgba(8, 11, 16, 0.58) 48%, rgba(8, 11, 16, 0.86)),
    linear-gradient(0deg, rgba(8, 11, 16, 0.92), rgba(8, 11, 16, 0.08) 46%, rgba(8, 11, 16, 0.72));
}

.hero-content,
.hero-status {
  position: relative;
  z-index: 1;
}

.hero-content {
  width: min(700px, 100%);
  padding-bottom: 36px;
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--orange);
  font-family: var(--display-font);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-family: var(--display-font);
  font-size: clamp(34px, 5.4vw, 68px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-family: var(--display-font);
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-family: var(--display-font);
  font-size: 19px;
  font-weight: 400;
}

.hero-copy,
.intro-band p,
.section-copy p,
.section-heading p,
.build-band p,
.founder-copy p {
  color: var(--muted);
  font-size: 17px;
}

.hero-copy {
  width: min(620px, 100%);
  margin-bottom: 28px;
  font-size: 18px;
}

.hero-actions,
.practice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  font-family: var(--display-font);
  font-size: 13px;
  font-weight: 400;
}

.button.primary {
  color: #170e04;
  background: var(--orange);
  border-color: var(--orange);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: 3px solid rgba(48, 199, 255, 0.28);
  outline-offset: 2px;
}

.hero-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.hero-status span,
.founder-list span {
  min-height: 38px;
  padding: 8px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--display-font);
  font-size: 12px;
  font-weight: 400;
}

.intro-band,
.split-section,
.practice-section,
.modes-section,
.build-band,
.founders-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(300px, 1.15fr);
  gap: 28px;
  padding: 54px 0;
  border-bottom: 1px solid var(--line);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1.15fr);
  gap: 26px;
  padding: 56px 0;
  align-items: center;
}

.section-copy {
  padding-right: 10px;
}

.spec-list {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.spec-list dt {
  color: var(--orange);
  font-weight: 900;
}

.spec-list dd {
  margin: 0;
  color: var(--muted);
}

.media-panel {
  margin: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.media-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.practice-section,
.modes-section,
.build-band,
.founders-section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 24px;
}

.game-frame {
  overflow: hidden;
  background: #05070a;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.game-frame iframe {
  display: block;
  width: 100%;
  height: min(78vh, 780px);
  min-height: 600px;
  border: 0;
}

.practice-actions {
  margin-top: 16px;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.mode-grid article {
  min-height: 190px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mode-code {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--cyan);
  font-family: var(--display-font);
  font-weight: 400;
}

.mode-grid p {
  color: var(--muted);
}

.build-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
}

.build-visual {
  margin: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.build-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.founders-section {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: center;
}

.founder-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.build-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.build-steps span {
  min-height: 48px;
  padding: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  font-weight: 800;
}

.social-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links {
  margin-top: 18px;
}

.social-links a,
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  font-family: var(--display-font);
  font-size: 12px;
  font-weight: 400;
}

.social-links a:hover,
.social-links a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  border-color: rgba(255, 157, 22, 0.72);
  outline: 3px solid rgba(255, 157, 22, 0.22);
  outline-offset: 2px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0 36px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.practice-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  grid-template-rows: auto minmax(0, 1fr);
  background: #05070a;
}

.practice-modal.is-open {
  display: grid;
}

.practice-modal-open {
  overflow: hidden;
}

.practice-modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 64px;
  padding: 10px 18px;
  background: rgba(8, 11, 16, 0.96);
  border-bottom: 1px solid var(--line);
}

.practice-modal-bar span {
  font-family: var(--display-font);
  font-weight: 400;
}

.practice-modal iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 20px;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 0;
  }

  .hero {
    min-height: 620px;
    padding-top: 82px;
  }

  .intro-band,
  .split-section,
  .build-band,
  .founders-section {
    grid-template-columns: 1fr;
  }

  .mode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .intro-band,
  .split-section,
  .practice-section,
  .modes-section,
  .build-band,
  .founders-section,
  .site-footer {
    width: min(100% - 28px, 640px);
  }

  .hero {
    min-height: 560px;
    padding: 72px 18px 20px;
  }

  h1 {
    font-size: 34px;
  }

  .hero-copy,
  .intro-band p,
  .section-copy p,
  .section-heading p,
  .build-band p,
  .founder-copy p {
    font-size: 16px;
  }

  .spec-list div,
  .mode-grid,
  .build-steps {
    grid-template-columns: 1fr;
  }

  .game-frame iframe {
    height: 76vh;
    min-height: 560px;
  }

  .site-footer {
    flex-direction: column;
  }
}
