.page-home {
  --home-slot-morning-a: #16332A;
  --home-slot-morning-b: #2A5A49;
  --home-slot-afternoon-a: #8A6E12;
  --home-slot-afternoon-b: #C9A227;
  --home-slot-night-a: #1E6A63;
  --home-slot-night-b: #4FE3D2;
  --home-slot-late-a: #5A3AA8;
  --home-slot-late-b: #9A6BFF;
  background: var(--ink-900);
  color: var(--paper);
  overflow-x: hidden;
}

.page-home .home-open {
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 40px;
  background:
    radial-gradient(120% 88% at 84% 0%, rgba(79, 227, 210, .10), transparent 62%),
    radial-gradient(92% 70% at 6% 96%, rgba(154, 107, 255, .10), transparent 60%),
    var(--ink-900);
}

.page-home .home-open-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

.page-home .home-h1 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 8.4vw, 68px);
  line-height: 1.05;
  letter-spacing: -.015em;
  color: var(--paper);
  max-width: 12em;
}

.page-home .home-lede {
  margin: 20px 0 0;
  max-width: 36em;
  color: rgba(243, 232, 206, .86);
}

.page-home .home-lede strong {
  color: var(--gold-bright);
  font-weight: 600;
}

.page-home .home-open-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-home .home-figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 34px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.page-home .home-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-home .home-figure dt {
  margin-bottom: 4px;
}

.page-home .home-figure dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(22px, 5vw, 30px);
  line-height: 1.1;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}

.page-home .home-figure-unit {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
}

.page-home .home-open-figure {
  margin: 0;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--line);
  box-shadow: 16px 16px 0 -1px rgba(201, 162, 39, .12), var(--shadow-deep);
}

.page-home .home-open-figure img,
.page-home .home-tonight-figure img,
.page-home .home-keep-figure img,
.page-home .home-close-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .home-slots {
  margin-top: 56px;
}

.page-home .home-slots-head {
  align-items: flex-end;
  gap: 12px;
}

.page-home .home-slots-note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

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

.page-home .home-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 14px 14px 16px;
  background: var(--ink-800);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--paper);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-home .home-tab-bar {
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 1px;
}

.page-home .home-tab--morning .home-tab-bar {
  background: linear-gradient(90deg, var(--home-slot-morning-a), var(--home-slot-morning-b));
}

.page-home .home-tab--afternoon .home-tab-bar {
  background: linear-gradient(90deg, var(--home-slot-afternoon-a), var(--home-slot-afternoon-b));
}

.page-home .home-tab--night .home-tab-bar {
  background: linear-gradient(90deg, var(--home-slot-night-a), var(--home-slot-night-b));
}

.page-home .home-tab--late .home-tab-bar {
  background: linear-gradient(90deg, var(--home-slot-late-a), var(--home-slot-late-b));
}

.page-home .home-tab-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -.01em;
}

.page-home .home-tab-clock {
  color: var(--muted);
}

.page-home .home-tab-count {
  font-size: 13px;
  color: rgba(243, 232, 206, .74);
}

.page-home .home-tab-count .num {
  color: var(--cyan);
  font-family: var(--font-mono);
}

.page-home .home-tab:hover {
  background: var(--felt);
  border-color: var(--line);
}

.page-home .home-tab[aria-selected="true"] {
  background: var(--felt);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.page-home .home-tab:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--ink-900);
}

.page-home .home-panels {
  margin-top: 18px;
}

.page-home .home-panel {
  display: block;
}

.page-home .home-panel[hidden] {
  display: none;
}

.page-home .home-panel-inner {
  display: grid;
  gap: 22px;
  padding: 22px 18px 24px;
  background: var(--ink-800);
  border-top: 2px solid var(--gold);
}

.page-home .home-panel-kicker {
  margin: 0 0 8px;
  color: var(--gold-bright);
}

.page-home .home-panel-text {
  margin: 0;
  max-width: 34em;
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.75;
  color: rgba(243, 232, 206, .9);
}

.page-home .home-routes {
  display: grid;
  gap: 12px;
}

.page-home .home-route {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 16px 18px;
  background: var(--felt);
  border-left: 2px solid var(--cyan);
  color: var(--paper);
  text-decoration: none;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .home-route strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -.01em;
}

.page-home .home-route-note {
  font-size: 14px;
  color: rgba(243, 232, 206, .72);
  line-height: 1.6;
}

.page-home .home-route:hover {
  background: var(--felt-2);
  border-left-color: var(--gold);
}

.page-home .home-route:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.page-home .home-index {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.page-home .home-index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.page-home .home-index-list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 2px;
  color: rgba(243, 232, 206, .88);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .home-index-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.page-home .home-index-list a:hover {
  color: var(--cyan);
  border-bottom-color: var(--line);
}

.page-home .home-index-list a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.page-home .home-tonight {
  background: var(--ink-800);
}

.page-home .home-tonight-grid {
  display: grid;
  gap: 26px;
}

.page-home .home-tonight-figure {
  margin: 0;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
}

.page-home .home-tonight-figure .media-caption {
  padding: 10px 0 0;
}

.page-home .home-rows .list-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 16px;
  padding: 15px 4px 15px 14px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--paper);
  text-decoration: none;
  transition: background var(--dur) var(--ease);
}

.page-home .home-rows .list-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--gold);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.page-home .home-rows .list-row:hover {
  background: rgba(22, 51, 42, .55);
}

.page-home .home-rows .list-row:hover::before,
.page-home .home-rows .list-row:focus-visible::before {
  opacity: 1;
}

.page-home .home-rows .list-row:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.page-home .home-rows .list-row-title {
  font-size: 16px;
  line-height: 1.5;
}

.page-home .home-rows .list-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  grid-column: 1 / -1;
}

.page-home .home-rows .list-row-time {
  grid-row: 1;
  grid-column: 2;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

.page-home .home-fit {
  background: var(--ink-900);
}

.page-home .home-table-scroll {
  overflow-x: auto;
  border-top: 1px solid var(--line);
}

.page-home .home-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
}

.page-home .home-table-caption {
  caption-side: top;
  text-align: left;
  padding: 14px 2px 12px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.page-home .home-table th {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--gold-bright);
  text-align: left;
  padding: 12px 14px;
  background: var(--felt);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.page-home .home-table td,
.page-home .home-table tbody th {
  padding: 14px;
  font-size: 15px;
  line-height: 1.6;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
  text-align: left;
  font-weight: 400;
  color: rgba(243, 232, 206, .88);
}

.page-home .home-table .home-table-slot {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--cyan);
  white-space: nowrap;
}

.page-home .home-table .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: rgba(243, 232, 206, .8);
}

.page-home .home-table-link {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(79, 227, 210, .35);
  white-space: nowrap;
}

.page-home .home-table-link:hover {
  border-bottom-color: var(--cyan);
}

.page-home .home-table-link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.page-home .home-fit-note {
  margin: 18px 0 0;
  max-width: 40em;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .home-keep {
  background:
    linear-gradient(180deg, rgba(154, 107, 255, .07), transparent 70%),
    var(--ink-800);
}

.page-home .home-keep-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-home .home-keep-figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
}

.page-home .home-keep-copy .prose {
  margin: 16px 0 0;
  color: rgba(243, 232, 206, .84);
}

.page-home .home-keep-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .home-keep-list li {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 12px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(243, 232, 206, .86);
}

.page-home .home-keep-list strong {
  color: var(--gold-bright);
  font-weight: 700;
}

.page-home .home-keep-mark {
  width: 8px;
  height: 8px;
  margin-top: 9px;
  background: var(--violet);
  transform: rotate(45deg);
}

.page-home .home-keep-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-home .home-chain {
  background: var(--ink-900);
}

.page-home .home-chain-title {
  max-width: 18em;
}

.page-home .home-chain-svg {
  display: block;
  width: 100%;
  height: 72px;
  margin: 18px 0 8px;
  opacity: .85;
}

.page-home .home-chain-labels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.page-home .home-chain-labels li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: rgba(243, 232, 206, .8);
}

.page-home .home-chain-labels .mono-label {
  color: var(--gold);
}

.page-home .home-help {
  background: var(--ink-800);
}

.page-home .home-help-grid {
  display: grid;
  gap: 30px;
}

.page-home .home-help-main .prose {
  margin: 0;
  color: rgba(243, 232, 206, .86);
}

.page-home .home-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-home .home-help-callout {
  margin-top: 26px;
}

.page-home .home-help-callout-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--cyan);
}

.page-home .home-help-callout-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(243, 232, 206, .86);
}

.page-home .home-stats {
  display: grid;
  gap: 18px;
  padding: 22px 18px;
  background: var(--felt);
  border-top: 2px solid var(--gold);
}

.page-home .home-stats .stat {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.page-home .home-stats .stat-value {
  font-family: var(--font-mono);
  font-size: clamp(24px, 6vw, 32px);
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.page-home .home-stats .stat-unit {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gold);
}

.page-home .home-stats .stat-label {
  flex: 1 0 100%;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .home-stats-note {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  line-height: 1.8;
  color: rgba(243, 232, 206, .72);
}

.page-home .home-close {
  position: relative;
  margin-top: 40px;
  padding-bottom: 48px;
}

.page-home .home-close::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 19, 15, .35), rgba(7, 19, 15, .94) 62%);
  pointer-events: none;
}

.page-home .home-close-figure {
  position: absolute;
  inset: 0;
  margin: 0;
  height: 100%;
}

.page-home .home-close-inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(180px, 42vw, 300px);
  max-width: 44em;
}

.page-home .home-close-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 6.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--paper);
}

.page-home .home-close-text {
  margin: 16px 0 0;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(243, 232, 206, .82);
}

.page-home .home-close-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

@media (min-width: 760px) {
  .page-home .home-index-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .page-home .home-tab {
    padding: 16px 16px 18px;
  }

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

@media (min-width: 900px) {
  .page-home .home-open {
    padding-top: calc(var(--header-h) + 72px);
    padding-bottom: 56px;
  }

  .page-home .home-open-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: center;
  }

  .page-home .home-slots {
    margin-top: 72px;
  }

  .page-home .home-panel-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: 44px;
    padding: 30px 34px 34px;
  }

  .page-home .home-tonight-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 48px;
    align-items: start;
  }

  .page-home .home-keep-grid {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 52px;
  }

  .page-home .home-help-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    gap: 48px;
    align-items: start;
  }

  .page-home .home-stats {
    padding: 28px 26px;
  }

  .page-home .home-chain-svg {
    height: 104px;
  }

  .page-home .home-close-inner {
    padding-top: clamp(220px, 24vw, 320px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-tab,
  .page-home .home-route,
  .page-home .home-rows .list-row,
  .page-home .home-index-list a {
    transition: opacity var(--dur) linear;
  }

  .page-home .home-tab[aria-selected="true"] {
    transform: none;
  }
}
