@font-face {
  font-family: "Oswald";
  src: url("assets/oswald.ttf") format("truetype");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("assets/work-sans.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/ibm-plex-mono.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #071a28;
  --bg-deep: #05131f;
  --surface: #0b2233;
  --surface-2: #0e2a3c;
  --ink: #e9f3f2;
  --muted: #9ab3ba;
  --line: rgba(142, 191, 203, 0.2);
  --line-strong: rgba(142, 191, 203, 0.44);
  --accent: #5ce0cf;
  --accent-ink: #04231f;
  --paper: #e9eee6;
  --paper-2: #dfe7df;
  --paper-ink: #0d2531;
  --paper-muted: #4e666d;
  --paper-line: rgba(13, 37, 49, 0.2);
  --paper-accent: #0c655b;
  --focus: #5ce0cf;
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

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

html {
  background: var(--bg-deep);
  scroll-behavior: smooth;
  overflow-x: clip;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-width: 320px;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 82% 8%, rgba(92, 224, 207, 0.09), transparent 38%),
    linear-gradient(to right, rgba(142, 191, 203, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(142, 191, 203, 0.055) 1px, transparent 1px);
  background-size: auto, 24px 24px, 24px 24px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.dialog-open {
  overflow: hidden;
}

main:focus {
  outline: none;
}

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

h1,
h2,
h3,
p,
figure,
dl,
dd,
dt,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  overflow-wrap: break-word;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transform: translateY(-160%);
  background: var(--accent);
  color: var(--accent-ink);
  padding: 12px 18px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
  outline-color: var(--accent-ink);
}

.container {
  width: 100%;
  max-width: 1380px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

/* Type primitives */

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.kicker-dark {
  color: var(--paper-muted);
}

.kicker .crosshair {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: var(--accent);
  box-shadow: none;
  position: static;
}

.kicker-dark .crosshair {
  background: var(--paper-accent);
}

.crosshair {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  position: relative;
  margin-top: -1px;
}

.crosshair::before,
.crosshair::after {
  content: "";
  position: absolute;
  background: currentColor;
  opacity: 0.75;
}

.crosshair::before {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
}

.crosshair::after {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  transform: translateY(-50%);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 1px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms var(--ease), color 180ms var(--ease), transform 150ms var(--ease), border-color 180ms var(--ease);
}

.button-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 10px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 7px;
  transition: color 180ms var(--ease), text-decoration-color 180ms var(--ease);
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(7, 26, 40, 0.82);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  text-decoration: none;
  transition: transform 150ms var(--ease);
}

.brand-mark {
  width: 26px;
  height: 26px;
  color: var(--accent);
  flex: 0 0 auto;
  transition: transform 220ms var(--ease);
}

.brand-word {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-sub {
  align-self: flex-end;
  margin-left: 2px;
  margin-bottom: 1px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.site-nav a,
.nav-marks {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 13px;
  border: 0;
  background: none;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: color 170ms var(--ease), background-color 170ms var(--ease);
}

.nav-marks {
  border-left: 1px solid var(--line);
  margin-left: 8px;
  padding-left: 19px;
  color: var(--ink);
}

.count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0;
}

.header-date {
  display: grid;
  gap: 1px;
  margin-left: 8px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.header-date span {
  color: var(--muted);
  font-size: 9px;
}

/* Hero */

.hero {
  position: relative;
  padding-block: clamp(46px, 6vw, 86px) clamp(66px, 8vw, 112px);
  border-bottom: 1px solid var(--line);
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 58%, rgba(92, 224, 207, 0.035) 58.2%, rgba(92, 224, 207, 0.035) 58.4%, transparent 58.6%),
    radial-gradient(circle at 90% 40%, rgba(92, 224, 207, 0.07), transparent 42%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(440px, 0.96fr);
  align-items: end;
  gap: clamp(36px, 5vw, 76px);
}

.hero-copy {
  min-width: 0;
  padding-bottom: 4px;
}

.hero h1 {
  margin-top: 24px;
  font-family: var(--display);
  font-size: clamp(4rem, 10.2vw, 9.25rem);
  font-weight: 600;
  line-height: 0.84;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-wrap: balance;
}

.outline-word {
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
  text-stroke: 2px var(--accent);
  letter-spacing: -0.015em;
}

@supports not (-webkit-text-stroke: 1px #000) {
  .outline-word {
    color: var(--accent);
  }
}

.hero-lede {
  max-width: 52ch;
  margin-top: 32px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.64;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 30px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-stat-big {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.stat-number {
  font-family: var(--display);
  font-size: clamp(3.8rem, 6vw, 5.6rem);
  font-weight: 500;
  line-height: 0.72;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.stat-label {
  padding-bottom: 3px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-stat-list {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.hero-stat-list div {
  display: grid;
  gap: 3px;
  padding-inline: 18px;
  border-left: 1px solid var(--line);
}

.hero-stat-list dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-stat-list dd {
  font-family: var(--display);
  font-size: 29px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
}

/* Plot */

.plot {
  min-width: 0;
  border: 1px solid var(--line-strong);
  background: rgba(5, 23, 35, 0.72);
  box-shadow: var(--shadow);
  position: relative;
}

.plot::before,
.plot::after {
  content: "";
  position: absolute;
  z-index: 3;
  width: 14px;
  height: 14px;
  pointer-events: none;
}

.plot::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}

.plot::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
}

.plot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plot-head span:first-child {
  color: var(--ink);
}

.plot-frame {
  padding: 16px 18px 14px;
}

.plot-day-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-left: 43px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.plot-chart {
  position: relative;
  height: clamp(330px, 31vw, 432px);
  margin-left: 43px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.plot-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.plot-hour-line {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px dashed rgba(142, 191, 203, 0.15);
}

.plot-hour-label {
  position: absolute;
  left: -43px;
  width: 35px;
  transform: translateY(-50%);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1;
  letter-spacing: 0.05em;
  text-align: right;
}

.plot-midline {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 1px solid rgba(142, 191, 203, 0.24);
  pointer-events: none;
}

.plot-markers {
  position: absolute;
  inset: 0;
}

.marker {
  position: absolute;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  animation: markerIn 500ms var(--ease) both;
  animation-delay: calc(180ms + var(--i) * 48ms);
}

.marker-dot {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg-deep);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1;
  letter-spacing: 0.02em;
  transition: background-color 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease);
}

.marker[data-marked="true"] .marker-dot {
  border-color: var(--accent);
  color: var(--accent);
}

.plot-readout {
  display: flex;
  align-items: baseline;
  gap: 11px;
  min-height: 43px;
  margin-top: 11px;
  padding-top: 11px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.45;
}

.readout-code {
  color: var(--accent);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  flex: 0 0 auto;
}

.plot-foot {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 0 18px 16px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.plot-foot .crosshair {
  color: var(--accent);
  margin-top: 1px;
}

/* Brief band */

.brief {
  --focus: var(--paper-accent);
  position: relative;
  background: var(--paper);
  color: var(--paper-ink);
  border-bottom: 1px solid var(--paper-line);
  padding-block: clamp(62px, 8vw, 108px);
  overflow: clip;
}

.brief::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(13, 37, 49, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(13, 37, 49, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to left, #000 15%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, #000 15%, transparent 100%);
}

.brief-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(44px, 6vw, 90px);
  align-items: start;
}

.brief h2 {
  max-width: 13ch;
  margin-top: 23px;
  font-family: var(--display);
  font-size: clamp(3.2rem, 6.1vw, 5.5rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.028em;
}

.brief-lede {
  max-width: 56ch;
  margin-top: 31px;
  color: var(--paper-muted);
  font-size: 18px;
  line-height: 1.66;
}

.brief-note {
  margin-top: 20px;
  color: var(--paper-muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.brief-ledger {
  position: relative;
  border: 1px solid var(--paper-line);
  background: rgba(255, 255, 255, 0.26);
  padding: 20px 22px 24px;
}

.ledger-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--paper-line);
  color: var(--paper-muted);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ledger-totals {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ledger-totals div {
  display: grid;
  gap: 3px;
  padding-block: 15px 14px;
  border-bottom: 1px solid var(--paper-line);
}

.ledger-totals div:nth-child(odd) {
  padding-right: 16px;
  border-right: 1px solid var(--paper-line);
}

.ledger-totals div:nth-child(even) {
  padding-left: 16px;
}

.ledger-totals dt {
  color: var(--paper-muted);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ledger-totals dd {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
}

.ledger-legend {
  margin-top: 20px;
}

.ledger-label {
  margin-bottom: 7px;
  color: var(--paper-muted);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legend-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-block: 7px;
  border-bottom: 1px dotted rgba(13, 37, 49, 0.24);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.03em;
}

.legend-list li span:last-child {
  font-size: 12px;
  color: var(--paper-accent);
}

.ledger-stamp {
  position: absolute;
  right: -16px;
  bottom: -20px;
  transform: rotate(-4deg);
  border: 2px solid var(--paper-accent);
  padding: 7px 8px;
  color: var(--paper-accent);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  background: var(--paper);
}

/* Index */

.index-section {
  padding-block: clamp(68px, 8vw, 112px) clamp(72px, 9vw, 124px);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.index-section h2 {
  margin-top: 22px;
  font-family: var(--display);
  font-size: clamp(3.1rem, 6.2vw, 5.7rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.03em;
}

.result-summary {
  flex: 0 0 auto;
  padding: 10px 13px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.controls {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(180px, 238px) auto;
  align-items: end;
  gap: 15px;
  margin-top: 44px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(11, 34, 51, 0.72);
}

.field {
  min-width: 0;
}

.field label,
.field-label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.input-shell,
.select-shell {
  position: relative;
}

.input-shell input,
.select-shell select {
  width: 100%;
  height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 1px;
  background: var(--bg-deep);
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease);
}

.input-shell input {
  padding: 0 16px 0 43px;
  font-family: var(--body);
}

.input-shell input::placeholder {
  color: #7c969e;
  opacity: 1;
}

.input-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.select-shell select {
  appearance: none;
  -webkit-appearance: none;
  padding: 0 42px 0 15px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
}

.select-arrow {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-53%);
  color: var(--accent);
  font-size: 12px;
  pointer-events: none;
}

.saved-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 1px;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease), color 180ms var(--ease), transform 150ms var(--ease);
}

.toggle-track {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 16px;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease);
}

.toggle-dot {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
  transition: transform 200ms var(--ease), background-color 180ms var(--ease);
}

.saved-toggle .count {
  margin-left: auto;
}

.saved-toggle[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.saved-toggle[aria-pressed="true"] .toggle-track {
  background: var(--accent-ink);
  border-color: var(--accent-ink);
}

.saved-toggle[aria-pressed="true"] .toggle-dot {
  background: var(--accent);
  transform: translateX(12px);
}

.saved-toggle[aria-pressed="true"] .count {
  border-color: rgba(4, 35, 31, 0.44);
}

.list-heading {
  display: grid;
  grid-template-columns: 56px 132px minmax(0, 1fr) 150px 64px;
  gap: 18px;
  padding: 18px 0 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.list-heading span:nth-child(4) {
  text-align: right;
}

.list-heading span:nth-child(5) {
  text-align: center;
}

.station-list {
  border-top: 1px solid var(--line-strong);
}

.station {
  display: grid;
  grid-template-columns: 56px 132px minmax(0, 1fr) 150px 64px;
  gap: 18px;
  align-items: start;
  padding-block: 25px 24px;
  border-bottom: 1px solid var(--line);
  transition: background-color 190ms var(--ease), border-color 190ms var(--ease);
}

.station-no {
  padding-top: 3px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  transition: color 190ms var(--ease);
}

.station-time {
  display: grid;
  gap: 2px;
}

.station-time .day {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.station-time strong {
  font-family: var(--display);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.station-time .dur {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.station-main {
  min-width: 0;
}

.station-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 11px;
  margin-bottom: 7px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 7px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tag-marked {
  border-color: rgba(92, 224, 207, 0.58);
  color: var(--accent);
}

.tag-venue {
  padding: 0;
  border: 0;
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: none;
}

.station-title {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2vw, 1.85rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.012em;
}

.station-summary {
  max-width: 62ch;
  margin-top: 7px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.56;
}

.station-side {
  display: grid;
  gap: 5px;
  justify-items: end;
  text-align: right;
}

.station-price {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
}

.station-format,
.station-hood {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.station-hood {
  text-transform: none;
  letter-spacing: 0.02em;
}

.station-act {
  display: flex;
  justify-content: flex-end;
}

.open-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 58px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 1px;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease), transform 150ms var(--ease);
}

.open-arrow {
  font-size: 14px;
  line-height: 1;
  transition: transform 180ms var(--ease);
}

/* No-script fallback */

.noscript-sheet {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line-strong);
}

.noscript-sheet h2 {
  margin-top: 18px;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

.noscript-note {
  max-width: 58ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.noscript-list {
  margin-top: 32px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.noscript-list li {
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}

.ns-meta {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.noscript-list h3 {
  margin-top: 7px;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.08;
}

.noscript-list p:not(.ns-meta) {
  max-width: 66ch;
  margin-top: 6px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.ns-access strong {
  color: var(--ink);
  font-weight: 500;
}

/* Empty state */

.empty-state {
  margin-top: 28px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px dashed var(--line-strong);
  background: rgba(11, 34, 51, 0.46);
}

.empty-code {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.empty-state h3 {
  max-width: 15ch;
  margin-top: 15px;
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

.empty-state p:not(.empty-code) {
  max-width: 48ch;
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.empty-state .button {
  margin-top: 24px;
}

/* Closing */

.closing {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(115deg, rgba(92, 224, 207, 0.055), transparent 44%),
    var(--surface);
  padding-block: clamp(64px, 8vw, 104px);
  overflow: clip;
}

.closing-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: clamp(36px, 6vw, 76px);
}

.closing h2 {
  margin-top: 22px;
  font-family: var(--display);
  font-size: clamp(3.1rem, 6.2vw, 5.8rem);
  font-weight: 500;
  line-height: 0.97;
  letter-spacing: -0.03em;
}

.closing-side {
  padding-bottom: 6px;
}

.closing-note {
  max-width: 38ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.closing-button {
  margin-top: 23px;
}

.closing-button .count {
  border-color: rgba(4, 35, 31, 0.4);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  padding-block: 54px 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 38px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-brand .brand-mark {
  width: 28px;
  height: 28px;
  margin-top: 1px;
}

.footer-word {
  font-family: var(--display);
  font-size: 23px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-sub {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.footer-note {
  max-width: 50ch;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 4px;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 170ms var(--ease);
}

/* Detail record */

.detail {
  color-scheme: light;
  --focus: var(--paper-accent);
  width: min(1000px, calc(100% - 32px));
  max-width: none;
  max-height: min(92vh, 920px);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--paper-ink);
  overflow: visible;
}

.detail::backdrop {
  background: rgba(3, 12, 20, 0.8);
  backdrop-filter: blur(4px);
}

.detail-sheet {
  max-height: min(92vh, 920px);
  overflow: auto;
  background: var(--paper);
  border: 1px solid rgba(13, 37, 49, 0.35);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
  overscroll-behavior: contain;
}

.detail-head {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 26px;
  border-bottom: 1px solid var(--paper-line);
  background: var(--paper);
}

.detail-kicker {
  color: var(--paper-muted);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.detail-close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 4px 8px 10px;
  border: 0;
  background: transparent;
  color: var(--paper-ink);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 170ms var(--ease), transform 150ms var(--ease);
}

.detail-close svg {
  width: 19px;
  height: 19px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(26px, 4vw, 44px) clamp(20px, 4vw, 40px) 42px;
}

.detail-main {
  min-width: 0;
}

.detail-meta {
  color: var(--paper-accent);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.detail h2 {
  max-width: 18ch;
  margin-top: 15px;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 500;
  line-height: 0.97;
  letter-spacing: -0.03em;
}

.detail-body {
  max-width: 58ch;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--paper-line);
  font-size: 16px;
  line-height: 1.7;
  color: var(--paper-muted);
}

.detail-body p:first-child {
  color: var(--paper-ink);
  font-size: 18px;
  line-height: 1.62;
}

.detail-body p + p {
  margin-top: 15px;
}

.detail-fig {
  margin-top: 36px;
  padding-top: 11px;
  border-top: 1px dotted var(--paper-line);
  color: var(--paper-muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-aside {
  align-self: start;
  min-width: 0;
}

.spec-list {
  border-top: 1px solid var(--paper-line);
}

.spec-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding-block: 10px;
  border-bottom: 1px solid var(--paper-line);
}

.spec-list dt {
  color: var(--paper-muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.spec-list dd {
  font-size: 14px;
  line-height: 1.4;
  text-align: right;
}

.detail-mark {
  margin-top: 23px;
  padding: 17px;
  border: 1px solid var(--paper-line);
  background: rgba(13, 37, 49, 0.055);
}

.detail-mark-label {
  color: var(--paper-muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.save-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  margin-top: 11px;
  padding: 13px 16px;
  border: 1px solid var(--paper-ink);
  border-radius: 1px;
  background: var(--paper-ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease), transform 150ms var(--ease);
}

.save-icon {
  position: relative;
  width: 15px;
  height: 15px;
  border: 1px solid currentColor;
  flex: 0 0 auto;
}

.save-icon::before,
.save-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.save-icon::before {
  width: 7px;
  height: 1px;
}

.save-icon::after {
  width: 1px;
  height: 7px;
}

.save-button[aria-pressed="true"] {
  background: var(--paper-accent);
  border-color: var(--paper-accent);
  color: var(--paper);
}

.save-button[aria-pressed="true"] .save-icon::after {
  opacity: 0;
}

.detail-mark-help {
  margin-top: 10px;
  color: var(--paper-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

/* Motion */

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes settleIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes markerIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.55);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.hero .kicker,
.hero h1,
.hero-lede,
.hero-actions,
.hero-stats {
  animation: riseIn 620ms var(--ease) both;
}

.hero h1 {
  animation-delay: 70ms;
}

.hero-lede {
  animation-delay: 150ms;
}

.hero-actions {
  animation-delay: 210ms;
}

.hero-stats {
  animation-delay: 270ms;
}

.plot {
  animation: settleIn 700ms var(--ease) both;
  animation-delay: 160ms;
}

/* Hover and press states */

@media (hover: hover) and (pointer: fine) {
  .brand:hover .brand-mark {
    transform: rotate(45deg);
  }

  .site-nav a:hover,
  .nav-marks:hover {
    color: var(--ink);
    background: rgba(92, 224, 207, 0.06);
  }

  .button-primary:hover {
    background: #7cebdd;
    border-color: #7cebdd;
  }

  .text-link:hover {
    color: var(--accent);
    text-decoration-color: var(--accent);
  }

  .marker:hover .marker-dot {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-ink);
    transform: scale(1.02);
  }

  .input-shell input:hover,
  .select-shell select:hover {
    border-color: var(--muted);
  }

  .saved-toggle:hover {
    border-color: var(--accent);
    color: var(--ink);
  }

  .saved-toggle[aria-pressed="true"]:hover {
    background: #7cebdd;
    border-color: #7cebdd;
    color: var(--accent-ink);
  }

  .station:hover {
    background: rgba(92, 224, 207, 0.035);
    border-color: var(--line-strong);
  }

  .station:hover .station-no {
    color: var(--accent);
  }

  .open-button:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-ink);
  }

  .open-button:hover .open-arrow {
    transform: translate(2px, -2px);
  }

  .footer-nav a:hover {
    color: var(--accent);
  }

  .detail-close:hover {
    color: var(--paper-accent);
  }

  .save-button:hover {
    background: #123c48;
    border-color: #123c48;
  }

  .save-button[aria-pressed="true"]:hover {
    background: #0a5048;
    border-color: #0a5048;
  }
}

.button:active,
.saved-toggle:active,
.open-button:active,
.save-button:active,
.detail-close:active {
  transform: scale(0.97);
}

.site-nav a:active,
.footer-nav a:active,
.text-link:active {
  color: var(--accent);
}

.brand:active {
  transform: scale(0.98);
}

.text-link:active {
  transform: translateY(1px);
}

.marker:active .marker-dot {
  transform: scale(0.94);
}

/* Focus */

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

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

.site-nav a:focus-visible,
.nav-marks:focus-visible {
  outline-offset: -2px;
}

.station:focus-within {
  background: rgba(92, 224, 207, 0.035);
}

.brief :focus-visible,
.detail :focus-visible {
  outline-color: var(--paper-accent);
}

/* Responsive */

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 48px;
  }

  .hero-copy {
    max-width: 840px;
  }

  .plot {
    max-width: 760px;
  }

  .plot-chart {
    height: clamp(330px, 44vw, 440px);
  }

  .brief-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
    gap: 44px;
  }
}

@media (max-width: 900px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 18px;
    padding-block: 13px 0;
    min-height: 0;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .header-date {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin-left: 0;
    padding-left: 14px;
    font-size: 9px;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin-left: 0;
    padding-inline-end: 24px;
    border-top: 1px solid var(--line);
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--line-strong) transparent;
    background: linear-gradient(to right, var(--bg) 92%, transparent);
  }

  .site-nav a,
  .nav-marks {
    white-space: nowrap;
  }

  .nav-marks {
    margin-left: 0;
    border-left: 1px solid var(--line);
  }

  .brief-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .brief-ledger {
    max-width: 560px;
  }

  .controls {
    grid-template-columns: 1fr 1fr;
  }

  .field-search {
    grid-column: 1 / -1;
  }

  .field-saved {
    grid-column: 1 / -1;
  }

  .list-heading {
    display: none;
  }

  .station-list {
    margin-top: 38px;
  }

  .station {
    grid-template-columns: 46px 88px minmax(0, 1fr) 132px 54px;
    gap: 13px;
  }

  .station-time strong {
    font-size: 23px;
  }

  .station-price {
    font-size: 24px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-aside {
    max-width: 470px;
  }

  .closing-grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
  }

  .closing-side {
    max-width: 520px;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
  }

  .footer-note {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 62ch;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .brand-word {
    font-size: 21px;
  }

  .brand-sub {
    display: none;
  }

  .header-date {
    padding-left: 10px;
    font-size: 8.5px;
  }

  .header-date span {
    font-size: 8px;
  }

  .site-nav a,
  .nav-marks {
    padding-inline: 10px;
    font-size: 10px;
  }

  .hero {
    padding-block: 40px 66px;
  }

  .hero h1 {
    margin-top: 19px;
    font-size: clamp(3.7rem, 16.5vw, 6rem);
    line-height: 0.85;
  }

  .outline-word {
    -webkit-text-stroke-width: 1.5px;
    text-stroke-width: 1.5px;
  }

  .hero-lede {
    margin-top: 25px;
    font-size: 16.5px;
    line-height: 1.6;
  }

  .hero-actions {
    gap: 12px 20px;
    margin-top: 26px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 34px;
  }

  .stat-number {
    font-size: 3.7rem;
  }

  .hero-stat-list div {
    padding-inline: 13px;
  }

  .hero-stat-list dd {
    font-size: 24px;
  }

  .plot-frame {
    padding-inline: 13px;
  }

  .plot-head {
    padding-inline: 13px;
  }

  .plot-chart {
    height: 310px;
    margin-left: 38px;
  }

  .plot-day-row {
    margin-left: 38px;
  }

  .plot-hour-label {
    left: -38px;
    width: 31px;
    font-size: 8px;
  }

  .plot-foot {
    padding-inline: 13px;
    font-size: 8.5px;
  }

  .plot-readout {
    font-size: 9.5px;
  }

  .marker-dot {
    width: 27px;
    height: 27px;
    font-size: 8.5px;
  }

  .brief h2 {
    font-size: clamp(2.9rem, 12vw, 4.2rem);
  }

  .brief-lede {
    font-size: 16.5px;
  }

  .brief-ledger {
    padding: 17px 17px 20px;
  }

  .ledger-stamp {
    right: 8px;
    bottom: -16px;
  }

  .index-section {
    padding-block: 64px 76px;
  }

  .section-head {
    display: block;
  }

  .index-section h2 {
    font-size: clamp(2.85rem, 12.5vw, 4.3rem);
  }

  .result-summary {
    display: inline-block;
    margin-top: 18px;
  }

  .controls {
    grid-template-columns: 1fr;
    margin-top: 30px;
    padding: 14px;
  }

  .field-search,
  .field-saved {
    grid-column: auto;
  }

  .input-shell input,
  .select-shell select,
  .saved-toggle {
    height: 50px;
    min-height: 50px;
  }

  .station-list {
    margin-top: 32px;
  }

  .station {
    grid-template-columns: 38px minmax(0, 1fr) 46px;
    grid-template-areas:
      "no main act"
      "time main act"
      "side side side";
    align-items: start;
    gap: 0 12px;
    padding-block: 21px;
  }

  .station-no {
    grid-area: no;
    padding-top: 4px;
  }

  .station-time {
    grid-area: time;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 7px;
    margin-top: 5px;
  }

  .station-time .day {
    width: 100%;
  }

  .station-time strong {
    font-size: 20px;
  }

  .station-time .dur {
    font-size: 8px;
  }

  .station-main {
    grid-area: main;
  }

  .station-tags {
    margin-bottom: 6px;
  }

  .station-title {
    font-size: 23px;
  }

  .station-summary {
    margin-top: 6px;
    font-size: 16px;
    line-height: 1.54;
  }

  .station-side {
    grid-area: side;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 13px;
    justify-items: start;
    margin-top: 13px;
    padding-top: 11px;
    border-top: 1px dashed var(--line);
    text-align: left;
  }

  .station-price {
    font-size: 22px;
  }

  .station-act {
    grid-area: act;
    justify-self: end;
  }

  .open-button {
    min-width: 44px;
    width: 44px;
    padding: 0;
  }

  .open-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .open-arrow {
    font-size: 17px;
  }

  .empty-state {
    padding: 24px 20px;
  }

  .closing h2 {
    font-size: clamp(2.4rem, 9.9vw, 3.6rem);
  }

  .closing-side .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-note {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-nav {
    margin-left: -10px;
  }

  .detail {
    width: calc(100% - 12px);
    max-height: 95vh;
  }

  .detail-sheet {
    max-height: 95vh;
  }

  .detail-head {
    padding: 11px 15px;
  }

  .detail-grid {
    gap: 30px;
    padding: 24px 17px 30px;
  }

  .detail h2 {
    font-size: clamp(2.35rem, 10vw, 3.4rem);
  }

  .detail-body {
    margin-top: 22px;
    padding-top: 20px;
    font-size: 16px;
  }

  .detail-body p:first-child {
    font-size: 17px;
  }

  .detail-aside {
    max-width: none;
  }
}

@media (max-width: 380px) {
  .brand-word {
    font-size: 19px;
  }

  .header-date {
    display: none;
  }

  .station-title {
    font-size: 21px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero .kicker,
  .hero h1,
  .hero-lede,
  .hero-actions,
  .hero-stats,
  .plot,
  .marker {
    animation: none !important;
  }

  .brand-mark,
  .marker-dot,
  .open-arrow,
  .brand:active {
    transform: none !important;
  }
}
