:root {
  color-scheme: dark;
  --bg: #101114;
  --raise: #17191e;
  --block: #2a2d34;
  --line: rgba(246, 244, 239, 0.14);
  --text: #f6f4ef;
  --muted: #b7b2a8;
  --faint: #8d887e;
  --accent: #e7a04a;
  --ink: #1a1c20;
  --space: clamp(1.25rem, 3vw, 2rem);
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 42% at 50% -12%, rgba(231, 160, 74, 0.11), transparent 58%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  border-top: 3px solid var(--accent);
}

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

::selection {
  background: var(--accent);
  color: var(--ink);
}

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

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0.6rem;
  transform: translateY(-150%);
  background: var(--text);
  color: var(--ink);
  padding: 0.55rem 0.85rem;
  border-radius: 0.5rem;
  z-index: 5;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(var(--max), calc(100% - 2 * var(--space)));
  margin-inline: auto;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1.5rem;
  padding-block: 1.15rem 0.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand img {
  width: 11.5rem;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.98rem;
}

.site-nav a:hover {
  color: var(--text);
}

main {
  padding-block: 1.5rem 2.5rem;
}

.hero {
  display: grid;
  gap: 2rem;
}

.hero-copy {
  max-width: 40rem;
}

.kicker {
  margin: 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  text-wrap: balance;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h1 {
  margin: 0.55rem 0 0.9rem;
  font-size: clamp(2.4rem, 6.4vw, 4.25rem);
  letter-spacing: -0.04em;
  max-width: 12ch;
}

.lede {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.125rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  background: var(--text);
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}

.button:hover {
  background: #fff;
}

.text-link {
  color: var(--text);
  font-weight: 600;
}

.screen {
  container-type: inline-size;
  margin: 0.4rem 0 0;
}

.guide {
  --g: clamp(10px, 1.22cqi, 14px);
  position: relative;
  background:
    radial-gradient(120% 70% at 0% 0%, rgba(231, 160, 74, 0.07), transparent 42%),
    #14161b;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  padding: 1em 0.95em 0.85em;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
  overflow: hidden;
  font-size: var(--g);
  line-height: 1.25;
}

.g-top {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  gap: 0.9em;
  align-items: stretch;
  margin-bottom: 0.95em;
}

.preview {
  position: relative;
  min-height: 7.6em;
  border-radius: 0.7em;
  background:
    radial-gradient(80% 75% at 58% 42%, rgba(231, 160, 74, 0.4), transparent 62%),
    linear-gradient(165deg, #3a4150, #15171c 72%);
}

.live {
  position: absolute;
  top: 0.5em;
  left: 0.5em;
  padding: 0.22em 0.55em 0.18em;
  border-radius: 999px;
  background: rgba(16, 17, 20, 0.42);
  border: 1px solid rgba(246, 244, 239, 0.4);
  font-size: 0.62em;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.speaker {
  position: absolute;
  right: 0.45em;
  bottom: 0.4em;
  width: 1.15em;
  height: 1.15em;
  color: rgba(246, 244, 239, 0.78);
}

.detail {
  min-width: 0;
  padding-top: 0.15em;
}

.ch-line,
.prog,
.when,
.syn {
  margin: 0;
}

.ch-line {
  color: var(--muted);
  font-size: 0.78em;
}

.ch-line span {
  margin-right: 0.35em;
  font-variant-numeric: tabular-nums;
}

.prog {
  margin-top: 0.12em;
  font-size: 1.65em;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.when {
  display: flex;
  align-items: center;
  gap: 0.55em;
  margin-top: 0.35em;
  color: var(--muted);
  font-size: 0.75em;
  font-variant-numeric: tabular-nums;
}

.bar {
  display: block;
  width: 7em;
  height: 0.28em;
  border-radius: 99px;
  background: rgba(246, 244, 239, 0.16);
}

.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.syn {
  margin-top: 0.45em;
  max-width: 62em;
  color: var(--muted);
  font-size: 0.78em;
  line-height: 1.35;
}

.g-label {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  margin: 0 0 0.45em;
  color: var(--faint);
  font-size: 0.72em;
}

.g-label span:first-child {
  color: var(--text);
  font-weight: 650;
}

.g-sheet {
  position: relative;
}

.g-times,
.g-row {
  display: grid;
  grid-template-columns: 7.6em minmax(0, 1fr);
  column-gap: 0.45em;
  align-items: center;
}

.g-times {
  margin-bottom: 0.2em;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

.g-row + .g-row {
  margin-top: 0.28em;
}

.g-row.more {
  opacity: 0.55;
}

.ch {
  display: flex;
  align-items: baseline;
  gap: 0.4em;
  min-width: 0;
  color: var(--text);
  font-size: 0.78em;
}

.ch b {
  color: var(--muted);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.ch span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track {
  position: relative;
  height: 2.35em;
  overflow: hidden;
}

.g-times .track {
  height: 1.35em;
}

.tick {
  position: absolute;
  top: 0;
  font-size: 0.68em;
  transform: translateX(-50%);
}

.slot {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 0 0.45em;
  border-radius: 0.38em;
  background: var(--block);
  overflow: hidden;
}

.slot .t,
.slot .d {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slot .t {
  font-size: 0.74em;
  font-weight: 650;
  line-height: 1.15;
}

.slot .d {
  margin-top: 0.08em;
  color: var(--faint);
  font-size: 0.6em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.slot.focus {
  z-index: 2;
  background: #f3f0e8;
  color: var(--ink);
}

.slot.focus .d {
  color: #5e5a52;
}

.now-line {
  position: absolute;
  z-index: 1;
  top: 0.15em;
  bottom: 0.1em;
  left: calc(7.6em + 0.45em + (100% - 7.6em - 0.45em) * 0.225);
  width: 2px;
  background: var(--accent);
  pointer-events: none;
}

.now-line::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
}

figcaption {
  margin: 0.7rem 0 0;
  color: var(--faint);
  font-size: 0.85rem;
}

.facts {
  margin-top: clamp(2.75rem, 6vw, 4.5rem);
}

.facts h2,
.contact h2,
.prose h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.fact-grid {
  display: grid;
  gap: 0.8rem;
}

.fact {
  margin: 0;
  padding: 1.2rem 1.15rem 1.3rem;
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.fact h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}

.fact p {
  margin: 0;
  color: var(--muted);
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.contact p {
  max-width: 34rem;
  margin: 0 0 1.15rem;
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem 1.25rem;
  padding-block: 0.5rem 2rem;
  color: var(--faint);
  font-size: 0.95rem;
}

.footer-id {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 0.85rem;
}

.site-footer img {
  width: 1.85rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.15rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.prose {
  max-width: 40rem;
  padding-bottom: 3rem;
}

.prose h1 {
  max-width: 16ch;
  font-size: clamp(2.1rem, 5vw, 3.1rem);
}

.prose h2 {
  margin-top: 2.1rem;
  font-size: 1.25rem;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul {
  margin: 0 0 0.9rem;
  padding-left: 1.15rem;
}

.prose li {
  margin: 0.3rem 0;
}

.prose p {
  margin: 0 0 0.9rem;
}

.prose a {
  color: var(--text);
}

.updated {
  color: var(--faint);
  font-size: 0.92rem;
}

.missing {
  display: grid;
  justify-items: start;
  gap: 0.35rem;
  padding-block: 2.5rem 4rem;
  max-width: 36rem;
}

.missing img {
  width: min(9.5rem, 46vw);
  margin-bottom: 0.6rem;
}

.missing h1 {
  max-width: none;
  font-size: clamp(2.1rem, 5vw, 3.3rem);
}

.missing p {
  margin: 0 0 1.1rem;
  color: var(--muted);
}

@container (max-width: 640px) {
  .g-top {
    grid-template-columns: 1fr;
  }

  .preview {
    min-height: 8.5em;
  }

  .syn {
    display: none;
  }
}

@media (min-width: 720px) {
  .brand img {
    width: 14.25rem;
  }
}

@media (min-width: 800px) {
  .fact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
