:root {
  --bg: #101010;
  --surface: rgba(255, 248, 240, 0.08);
  --surface-strong: rgba(255, 248, 240, 0.14);
  --text: #fff5ec;
  --muted: #cdbca8;
  --accent: #ff7a1a;
  --accent-soft: #ffd07f;
  --line: rgba(255, 245, 236, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --max: 1180px;
  --radius: 28px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 122, 26, 0.18), transparent 32%),
    radial-gradient(circle at 80% 10%, rgba(201, 163, 84, 0.16), transparent 28%),
    linear-gradient(180deg, #151515 0%, #0d0d0d 60%, #14120f 100%);
  color: var(--text);
  font-family: "Space Grotesk", "Segoe UI Variable", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent);
  pointer-events: none;
}

.noise {
  position: fixed;
  inset: 0;
  opacity: 0.07;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.8) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.8) 0 1px, transparent 1px);
  background-size: 9px 9px;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.95em;
}

.site-header,
.hero,
.live-grid,
.schedule-section,
.archive-section,
.info-section,
.site-footer,
.subpage {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 122, 26, 0.22), rgba(255, 208, 127, 0.12));
  box-shadow: var(--shadow);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.16em;
}

.brand-copy small,
.site-nav a,
.eyebrow,
.card-topline,
.archive-tag,
.site-footer small {
  font-family: "IBM Plex Mono", Consolas, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-copy small,
.site-nav a,
.card-topline,
.site-footer small,
.lede,
.hero-panel span,
.info-card p,
.archive-card p,
.bulletin-list li,
.subpage p {
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-nav a {
  font-size: 0.8rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 24px;
  padding: 44px 0 28px;
}

.hero-copy,
.hero-panel,
.player-card,
.bulletin-card,
.schedule-card,
.archive-card,
.info-card,
.subpage {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-strong), rgba(255, 248, 240, 0.05));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-copy {
  padding: 42px;
}

.hero-panel {
  display: grid;
  gap: 18px;
  padding: 28px;
  align-content: start;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-soft);
  font-size: 0.8rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.96;
  font-weight: 700;
}

h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 6vw, 6.2rem);
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

h3 {
  font-size: 1.5rem;
}

.lede {
  max-width: 62ch;
  margin: 22px 0 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions,
.player-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), #ffb24d);
  border-color: transparent;
  color: #151515;
  font-weight: 700;
}

.button-secondary {
  background: rgba(255, 248, 240, 0.06);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.metric {
  display: grid;
  gap: 8px;
}

.metric strong {
  font-size: 1.2rem;
}

.live-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  padding: 24px 0 0;
}

.player-card,
.bulletin-card,
.schedule-card,
.archive-card,
.info-card,
.subpage {
  padding: 28px;
}

.card-topline {
  margin-bottom: 16px;
  font-size: 0.78rem;
  color: var(--accent-soft);
}

.player-actions {
  margin-top: 24px;
}

.live-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 0 0 rgba(255, 122, 26, 0);
}

.live-dot.is-live {
  background: var(--accent);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.5);
  }

  100% {
    box-shadow: 0 0 0 18px rgba(255, 122, 26, 0);
  }
}

.bulletin-list {
  margin: 22px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 14px;
  line-height: 1.6;
}

.schedule-section,
.archive-section,
.info-section {
  padding: 92px 0 0;
}

.section-head {
  display: grid;
  gap: 8px;
  max-width: 720px;
  margin-bottom: 24px;
}

.schedule-grid,
.archive-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.schedule-card span,
.archive-card p,
.info-card p,
.subpage p {
  display: block;
  margin-top: 14px;
  line-height: 1.7;
}

.schedule-card p {
  margin: 16px 0 0;
  color: var(--accent-soft);
  font-family: "IBM Plex Mono", Consolas, monospace;
}

.archive-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 122, 26, 0.14);
  color: var(--accent-soft);
  font-size: 0.75rem;
}

.archive-card h3,
.info-card h3 {
  margin-top: 18px;
}

.site-footer {
  display: grid;
  gap: 14px;
  padding: 92px 0 28px;
}

.site-footer p {
  margin: 0;
  max-width: 44ch;
  color: var(--muted);
}

.subpage-body {
  padding-bottom: 40px;
}

.subpage {
  margin-top: 48px;
  padding: 36px;
  max-width: 780px;
}

.subpage h1 {
  max-width: none;
  font-size: clamp(2.4rem, 4vw, 4rem);
}

@media (max-width: 980px) {
  .hero,
  .live-grid,
  .schedule-grid,
  .archive-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero-copy,
  .hero-panel,
  .player-card,
  .bulletin-card,
  .schedule-card,
  .archive-card,
  .info-card,
  .subpage {
    padding: 22px;
    border-radius: 22px;
  }

  h1 {
    font-size: 2.8rem;
  }
}
