:root {
  --night: #07182c;
  --panel: #102a46;
  --orange: #ff8a2a;
  --ice: #d9e7f2;
  --steel: #7690a7;
  --deep: #04101e;
  color-scheme: dark;
  font-family: "Arial Narrow", "PingFang SC", sans-serif;
  color: var(--ice);
  background: var(--night);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--night); color: var(--ice); }
a { color: inherit; }
button { font: inherit; }
.skip-link { position: fixed; z-index: 50; inset: .75rem auto auto .75rem; transform: translateY(-180%); padding: .7rem 1rem; color: var(--night); background: var(--orange); }
.skip-link:focus { transform: none; }
.signal-bar { min-height: 4.7rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; padding: 1rem 4vw; border-bottom: 1px solid #284964; background: var(--deep); }
.signal-logo { display: inline-flex; align-items: baseline; gap: .35rem; width: max-content; text-decoration: none; }
.signal-logo b { font-size: 1.45rem; letter-spacing: .05em; }
.signal-logo span { color: var(--orange); font-size: .78rem; letter-spacing: .25em; }
.signal-bar nav { display: flex; gap: 1.5rem; }
.signal-bar nav a { color: var(--steel); font-size: .82rem; letter-spacing: .08em; text-decoration: none; }
.signal-bar nav a:hover, .signal-bar nav a:focus-visible { color: var(--orange); }
.signal-bar > p { justify-self: end; margin: 0; color: var(--steel); font: .72rem/1 ui-monospace, monospace; }
.signal-bar > p i { display: inline-block; width: .5rem; aspect-ratio: 1; margin-right: .45rem; border-radius: 50%; background: var(--orange); box-shadow: 0 0 1rem var(--orange); }
.nav-switch { display: none; }
.time-hero { min-height: 70vh; display: grid; grid-template-columns: 1.35fr .65fr; background: radial-gradient(circle at 75% 40%, #193f62 0, var(--night) 34rem); border-bottom: 1px solid #284964; }
.time-hero__copy { align-self: center; padding: clamp(4rem, 8vw, 8rem) 5vw; }
.route-code, .week-panel header p, .schedule-board header p, .genre-board header p, .month-window__lead > p, .info-dock header p { margin: 0 0 1.2rem; color: var(--orange); font: 700 .72rem/1.4 ui-monospace, monospace; letter-spacing: .18em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 15ch; font-size: clamp(3.1rem, 7vw, 7.2rem); line-height: .94; letter-spacing: -.055em; }
.time-hero__copy > p:not(.route-code) { max-width: 43rem; color: #a8bed0; font-size: 1.1rem; line-height: 1.8; }
.time-hero__copy a { display: inline-flex; gap: 1.4rem; margin-top: 1.4rem; padding: 1rem 1.2rem; color: var(--night); background: var(--orange); font-weight: 800; text-decoration: none; }
.clock-face { width: min(29vw, 25rem); aspect-ratio: 1; align-self: center; justify-self: center; display: grid; place-content: center; position: relative; border: 1px solid var(--orange); border-radius: 50%; text-align: center; box-shadow: inset 0 0 0 2rem var(--night), inset 0 0 0 2.1rem #36536b; }
.clock-face::before, .clock-face::after { content: ""; position: absolute; background: var(--orange); transform-origin: bottom; inset: 18% auto 50% 50%; width: 2px; }
.clock-face::after { transform: rotate(100deg); height: 28%; inset-block-start: 22%; }
.clock-face span { color: var(--orange); font: 700 .8rem/1 ui-monospace, monospace; letter-spacing: .2em; }
.clock-face strong { font-size: 3.4rem; line-height: .8; }
.clock-face small { margin-top: 1rem; color: var(--steel); }
.week-panel, .schedule-board, .genre-board, .month-window, .info-dock { padding: clamp(4rem, 7vw, 7rem) 5vw; }
.week-panel { border-bottom: 1px solid #284964; }
.week-panel header { display: flex; align-items: end; justify-content: space-between; }
h2 { font-size: clamp(2.2rem, 4.5vw, 4.7rem); line-height: 1; letter-spacing: -.045em; }
.week-rail { display: grid; grid-template-columns: repeat(7, minmax(7rem, 1fr)); gap: .5rem; overflow-x: auto; padding-bottom: .75rem; }
.day-ticket { min-height: 9.5rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 1rem; border: 1px solid #36536b; color: var(--ice); background: var(--panel); cursor: pointer; }
.day-ticket[aria-selected="true"] { border-color: var(--orange); color: var(--night); background: var(--orange); }
.day-ticket span, .day-ticket small { font: .68rem/1 ui-monospace, monospace; letter-spacing: .1em; }
.day-ticket strong { font-size: 1.35rem; }
.today-callout { display: grid; grid-template-columns: auto 1fr 1fr; gap: 2rem; align-items: center; padding: 2rem 5vw; color: var(--night); background: var(--orange); }
.today-callout > span { font: 800 3rem/1 ui-monospace, monospace; }
.today-callout h2 { margin-bottom: 0; font-size: clamp(1.6rem, 3vw, 3rem); }
.today-callout p { margin-bottom: 0; line-height: 1.65; }
.schedule-board { background: var(--deep); }
.schedule-board > header { display: flex; justify-content: space-between; gap: 2rem; }
.schedule-board > header > p { color: var(--steel); line-height: 1.7; }
.schedule-board ol { margin: 2rem 0 0; padding: 0; list-style: none; border-top: 1px solid #36536b; }
.schedule-row { display: grid; grid-template-columns: 9rem 1fr auto; gap: 2rem; align-items: center; padding: 1.7rem 0; border-bottom: 1px solid #284964; }
.schedule-row[hidden] { display: none; }
.time-code { display: flex; flex-direction: column; gap: .5rem; font-variant-numeric: tabular-nums; font-family: ui-monospace, SFMono-Regular, monospace; }
.time-code span { color: var(--orange); }
.schedule-row__story > p:first-child { margin-bottom: .3rem; color: var(--steel); font-size: .72rem; letter-spacing: .12em; }
.schedule-row__story h3 { display: inline; margin-right: .65rem; font-size: 1.4rem; }
.schedule-row__story > p { margin: .7rem 0; color: #a8bed0; }
.schedule-row__story small { color: var(--steel); }
.demo-label { padding: .25rem .45rem; border: 1px solid var(--orange); color: var(--orange); font-size: .65rem; }
.watch-mark { min-width: 7.5rem; padding: .75rem; border: 1px solid #52708a; color: var(--ice); background: transparent; cursor: pointer; }
.watch-mark[aria-pressed="true"] { border-color: var(--orange); color: var(--orange); }
.genre-board > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.genre-meter { padding: 1.4rem; border: 1px solid #36536b; background: var(--panel); }
.genre-meter > div { display: flex; justify-content: space-between; }
.genre-meter h3 { font-size: 1.3rem; }
.genre-meter meter { width: 100%; height: .7rem; accent-color: var(--orange); }
.genre-meter p { margin: 1rem 0 0; color: var(--steel); line-height: 1.6; }
.month-window { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; color: var(--night); background: var(--ice); }
.month-window__lead > span { display: inline-block; padding: .5rem .7rem; border: 1px solid var(--night); font: .7rem/1 ui-monospace, monospace; }
.month-window ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--night); }
.month-window li { display: grid; grid-template-columns: 5rem 10rem 1fr; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid #9fb3c4; }
.month-window li span { color: #9a4e16; font: 700 .75rem/1 ui-monospace, monospace; }
.month-window li p { color: #44566a; line-height: 1.7; }
.info-dock details { border-top: 1px solid #36536b; }
.info-dock details:last-child { border-bottom: 1px solid #36536b; }
.info-dock summary { padding: 1.2rem 0; cursor: pointer; font-weight: 700; }
.info-dock details p { max-width: 52rem; color: #a8bed0; line-height: 1.8; }
.status-footer { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 2rem; padding: 2.5rem 5vw; border-top: 1px solid #36536b; background: var(--deep); }
.status-footer p { color: var(--steel); line-height: 1.7; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

@media (max-width: 800px) {
  .signal-bar { grid-template-columns: 1fr auto; }
  .signal-bar > p { display: none; }
  .nav-switch { display: inline-flex; padding: .55rem .8rem; border: 1px solid var(--orange); color: var(--ice); background: transparent; }
  .has-js .signal-bar nav { display: none; grid-column: 1 / -1; }
  .has-js .signal-bar nav[data-open="true"] { display: flex; flex-wrap: wrap; padding-top: .8rem; }
  .time-hero { min-height: auto; grid-template-columns: 1fr; padding-bottom: 3rem; }
  .time-hero__copy { padding: 4.5rem 5vw 2.5rem; }
  h1 { font-size: clamp(3rem, 15vw, 5.3rem); }
  .clock-face { width: min(70vw, 20rem); }
  .today-callout { grid-template-columns: auto 1fr; }
  .today-callout > p { grid-column: 1 / -1; }
  .schedule-board > header, .week-panel header { display: block; }
  .schedule-row { grid-template-columns: 5.5rem 1fr; }
  .watch-mark { grid-column: 2; width: max-content; }
  .genre-board > div { grid-template-columns: 1fr 1fr; }
  .month-window { grid-template-columns: 1fr; }
  .month-window li { grid-template-columns: 4rem 1fr; }
  .month-window li p { grid-column: 2; }
  .status-footer { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .genre-board > div { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
