:root {
  color-scheme: light;
  --ink: #0a0f0e;
  --ink-2: #1c2725;
  --muted: #71807d;
  --muted-2: #9aa6a3;
  --line: #e4e9e7;
  --soft: #f4f6f5;
  --soft-2: #fafbfb;
  --white: #ffffff;
  --mint: #17f4ac;
  --cyan: #04eada;
  --mint-dark: #12a877;
  --red: #dd0510;
  --shadow: 0 24px 70px rgba(8, 20, 18, 0.16);
  --radius: 8px;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(23, 244, 172, 0.08), rgba(23, 244, 172, 0) 340px),
    var(--soft);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-shell {
  min-height: 100svh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}

.brand__mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand__name {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.brand__name span {
  color: transparent;
  background: linear-gradient(115deg, var(--mint) 20%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav__link {
  position: relative;
  padding: 8px 0;
  color: #56625f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav__link--active {
  color: var(--ink);
}

.nav__link--active::after {
  position: absolute;
  right: 0;
  bottom: -17px;
  left: 0;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--mint), var(--cyan));
  content: "";
}

.topbar__status,
.now-row,
.section-head,
.stream-form,
.schedule-row,
.compact-item,
.day-tabs {
  display: flex;
  align-items: center;
}

.topbar__status {
  gap: 12px;
}

.clock,
.time,
.duration {
  font-family: "JetBrains Mono", Consolas, monospace;
}

.clock {
  font-size: 13px;
  font-weight: 700;
}

.live-pill,
.viewer-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.live-pill {
  padding: 7px 13px;
  background: var(--red);
  color: var(--white);
}

.live-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: blink 1.4s infinite;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 370px);
  gap: clamp(16px, 2.6vw, 28px);
  align-items: start;
  padding: clamp(14px, 3vw, 28px) clamp(16px, 4vw, 48px) 0;
}

.hero__stage {
  position: relative;
  min-width: 0;
}

.hero__copy {
  max-width: 720px;
  padding: 0 0 14px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 5px;
  color: var(--mint-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(27px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.hero__copy p:last-child {
  max-width: 420px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.player-panel,
.on-deck,
.signal,
.schedule {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.player-panel {
  overflow: hidden;
}

.video-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    repeating-linear-gradient(125deg, rgba(23, 244, 172, 0.045) 0 1px, transparent 1px 22px),
    radial-gradient(130% 120% at 28% 22%, #15403a 0%, #0c2723 38%, #070f0e 78%);
}

.video-shell video {
  width: 100%;
  height: 100%;
  display: block;
  background: #070f0e;
}

.progress-track {
  height: 5px;
  margin-top: 17px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9eceb;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mint), var(--cyan));
  transition: width 300ms ease;
}

.now-row {
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px 20px;
}

.now-meta {
  max-width: 460px;
  margin-top: 12px;
}

.now-meta > span {
  display: block;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.now-meta .progress-track {
  margin-top: 10px;
}

.now-row h2,
.section-head h2,
.signal h2 {
  margin: 0;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 800;
  line-height: 1.1;
}

.now-row p:last-child,
.signal__status,
.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.ghost-button,
.primary-button {
  min-height: 42px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.ghost-button {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-2);
  padding: 0 17px;
}

.primary-button {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  padding: 0 20px;
}

.on-deck {
  align-self: start;
  padding: 22px 20px 18px;
}

.section-head {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.section-head > span,
.section-head--wide > p {
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.compact-list,
.schedule-list {
  display: grid;
}

.compact-item {
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.compact-item:first-child {
  border-top: 0;
}

.compact-item.is-current {
  margin: 0 -10px;
  padding: 14px 10px;
  border: 1px solid rgba(23, 244, 172, 0.35);
  border-radius: var(--radius);
  background: linear-gradient(115deg, rgba(23, 244, 172, 0.14), rgba(4, 234, 218, 0.07));
}

.time {
  width: 52px;
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.compact-item h3,
.schedule-row h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.compact-item p,
.schedule-row p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.signal,
.schedule {
  margin: 18px clamp(16px, 4vw, 48px) 0;
}

.signal {
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) minmax(300px, 1fr);
  gap: 20px;
  align-items: center;
  padding: 24px 26px;
}

.signal[hidden] {
  display: none;
}

.signal--private {
  border-style: dashed;
  box-shadow: none;
}

.stream-form {
  gap: 10px;
  min-width: 0;
}

.stream-form input {
  min-width: 0;
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0 18px;
  background: var(--soft-2);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  outline: none;
}

.stream-form input:focus {
  border-color: rgba(18, 168, 119, 0.65);
  box-shadow: 0 0 0 4px rgba(23, 244, 172, 0.16);
}

.signal__status {
  grid-column: 2;
  min-height: 20px;
}

.schedule {
  padding: 24px 26px 30px;
  margin-bottom: 42px;
  box-shadow: none;
}

.section-head--wide {
  align-items: flex-end;
}

.day-tabs {
  gap: 9px;
  overflow-x: auto;
  padding: 4px 0 20px;
  scrollbar-width: thin;
}

.day-tab {
  display: grid;
  flex: 0 0 auto;
  min-width: 88px;
  min-height: 62px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink-2);
}

.day-tab span:first-child {
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.day-tab span:last-child {
  font-size: 16px;
  font-weight: 900;
}

.day-tab[aria-selected="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.day-tab[aria-selected="true"] span:first-child {
  color: rgba(255, 255, 255, 0.62);
}

.period {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 6px;
}

.period span:first-child {
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.period span:last-child {
  height: 1px;
  flex: 1;
  background: var(--line);
}

.schedule-row {
  gap: 20px;
  align-items: flex-start;
  padding: 17px 8px;
  border-top: 1px solid var(--line);
  border-radius: var(--radius);
}

.schedule-row.is-current {
  border: 1px solid rgba(23, 244, 172, 0.4);
  background: linear-gradient(115deg, rgba(23, 244, 172, 0.12), rgba(4, 234, 218, 0.05));
}

.schedule-row__body {
  min-width: 0;
  flex: 1;
}

.tag {
  flex: 0 0 auto;
  max-width: 180px;
  border-radius: 100px;
  background: #f1f3f2;
  color: #56625f;
  padding: 6px 11px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.8px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag--live {
  background: var(--red);
  color: var(--white);
}

.duration {
  display: block;
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 700;
}

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

@keyframes blink {
  50% {
    opacity: 0.25;
  }
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 7px rgba(23, 244, 172, 0);
  }
}

@media (max-width: 1060px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    max-width: 680px;
  }

  .hero__copy p:last-child {
    max-width: 680px;
  }

  .on-deck {
    align-self: stretch;
  }

  .compact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
  }
}

@media (max-width: 820px) {
  .topbar {
    gap: 12px;
    padding: 12px 16px;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
  }

  .brand__name {
    font-size: 17px;
  }

  .nav {
    display: none;
  }

  .topbar__status {
    gap: 8px;
  }

  .clock {
    display: none;
  }

  .hero {
    padding: 16px 16px 0;
  }

  .hero__copy {
    padding: 0 0 14px;
  }

  .hero__copy p:last-child {
    margin: 0;
  }

  .now-row {
    display: block;
    padding: 18px 16px 20px;
  }

  .ghost-button {
    margin-top: 14px;
  }

  .compact-list {
    grid-template-columns: 1fr;
  }

  .signal {
    grid-template-columns: 1fr;
    margin-top: 16px;
    padding: 20px 16px;
  }

  .stream-form {
    align-items: stretch;
    flex-direction: column;
  }

  .signal__status {
    grid-column: 1;
  }

  .schedule {
    margin-top: 16px;
    padding: 20px 16px 24px;
  }

  .section-head--wide {
    align-items: flex-start;
    flex-direction: column;
  }

  .schedule-row {
    gap: 14px;
    padding: 15px 0;
  }

  .schedule-row .time {
    width: 50px;
  }

  .tag {
    display: none;
  }
}

@media (max-width: 480px) {
  .live-pill {
    padding: 6px 10px;
    font-size: 10px;
  }

  .on-deck {
    padding: 18px 16px;
  }

  .day-tab {
    min-width: 76px;
  }
}
