:root {
  --night: #111313;
  --night-soft: #191b1b;
  --panel: #202222;
  --paper: #f1eadf;
  --paper-dim: #c7c0b6;
  --quiet: #8f8c86;
  --line: #3a3c3b;
  --ink: #151717;
  --signal: #ff5a36;
  --signal-dark: #b73018;
  --max: 1280px;
  --sans: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body { margin: 0; color: var(--paper); background: var(--night); font-family: var(--sans); font-size: 17px; line-height: 1.55; text-rendering: optimizeLegibility; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
code { font: .82em var(--mono); color: var(--paper); }
.skip-link { position: fixed; z-index: 100; left: 12px; top: -70px; padding: 11px 15px; color: var(--ink); background: var(--paper); }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid var(--line); background: rgba(17,19,19,.96); }
.header-inner { max-width: var(--max); margin: 0 auto; min-height: 58px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.mark-square { width: 9px; height: 9px; display: inline-block; background: var(--signal); box-shadow: 0 0 0 3px rgba(255,90,54,.14); }
nav { display: flex; align-items: center; gap: 22px; }
nav a { color: var(--paper-dim); text-decoration: none; font: 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.language-link { border: 1px solid var(--line); padding: 7px 9px; color: var(--paper); }
nav a:hover, nav a:focus-visible { color: var(--signal); }

main { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.hero { min-height: calc(100svh - 58px); padding: clamp(55px, 7vw, 95px) 0 38px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr); gap: clamp(45px, 7vw, 110px); align-items: center; }
.hero-copy { align-self: center; }
.eyebrow, .section-index, .figure-kicker, .court-code, .day-label, .limit-flag { margin: 0 0 24px; color: var(--quiet); font: 10px/1.35 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span, .section-index, .figure-kicker { color: var(--signal); }
h1 { margin: 0; max-width: 8ch; color: var(--paper); font-size: clamp(5rem, 10.2vw, 10.2rem); font-weight: 800; line-height: .76; letter-spacing: -.09em; text-transform: uppercase; }
.hero-thesis { max-width: 35rem; margin: 38px 0 16px; color: var(--paper); font-size: clamp(1.15rem, 1.55vw, 1.45rem); line-height: 1.28; }
.hero-lede { max-width: 34rem; margin: 0 0 30px; color: var(--paper-dim); font-size: 1rem; }
.hero-lede strong { color: var(--signal); font: 700 1.25em var(--mono); }
.primary-link { display: inline-flex; gap: 15px; align-items: center; color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--signal); padding: 0 0 7px; font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.primary-link span { color: var(--signal); }

.hero-board { min-width: 0; margin: 0; border: 1px solid var(--line); padding: 15px; background: var(--night-soft); }
.board-topline { display: flex; justify-content: space-between; gap: 15px; padding: 2px 2px 14px; color: var(--quiet); font: 9px var(--mono); letter-spacing: .12em; }
.ticket-stack { min-height: 420px; display: grid; place-items: center; position: relative; overflow: hidden; background-color: #191b1b; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 42px 42px; }
.ticket-shadow, .ticket-face { grid-area: 1 / 1; width: min(79%, 375px); aspect-ratio: 1.23; border: 1px solid var(--ink); }
.ticket-shadow { background: var(--paper-dim); }
.ticket-shadow-three { transform: translate(17px, 20px) rotate(3deg); opacity: .46; }
.ticket-shadow-two { transform: translate(-13px, 11px) rotate(-2.2deg); opacity: .65; }
.ticket-shadow-one { transform: translate(9px, 5px) rotate(1deg); opacity: .8; }
.ticket-face { position: relative; display: grid; grid-template-rows: auto 1fr auto; padding: 22px; color: var(--ink); background: var(--paper); transform: rotate(-.8deg); box-shadow: 0 25px 65px rgba(0,0,0,.35); }
.ticket-face::before, .ticket-face::after { content: ""; position: absolute; left: 22px; right: 22px; height: 1px; background: #aaa49c; }
.ticket-face::before { top: 61px; }
.ticket-face::after { bottom: 52px; }
.ticket-time { color: var(--signal-dark); font: 800 clamp(3.3rem, 6.4vw, 6.4rem)/.9 var(--mono); letter-spacing: -.09em; }
.ticket-count { align-self: end; justify-self: end; font: 800 clamp(5.6rem, 9vw, 9.2rem)/.72 var(--sans); letter-spacing: -.08em; }
.ticket-unit { justify-self: end; padding-top: 14px; font: 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.hero-board figcaption { display: flex; flex-direction: column; gap: 3px; padding: 15px 3px 2px; }
.hero-board figcaption strong { font-size: .94rem; font-weight: 600; }
.hero-board figcaption span { color: var(--quiet); font: 10px/1.4 var(--mono); }
.hero-register { grid-column: 1 / -1; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hero-register div { display: flex; flex-direction: column-reverse; gap: 4px; }
.hero-register dt { color: var(--quiet); font: 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.hero-register dd { margin: 0; color: var(--paper); font: 500 clamp(1.4rem, 2.8vw, 2.5rem) var(--mono); letter-spacing: -.06em; }

.section { padding: clamp(90px, 10vw, 145px) 0; border-top: 1px solid var(--line); }
.section-heading { max-width: 840px; margin-bottom: 65px; }
.compact-heading { max-width: 720px; }
.section-heading h2, .limits h2 { margin: 0 0 25px; font-size: clamp(3rem, 6vw, 6.2rem); font-weight: 750; line-height: .88; letter-spacing: -.065em; }
.section-heading > p:last-child { max-width: 45rem; margin: 0; color: var(--paper-dim); }

.share-figure { margin: 0; border: 1px solid var(--line); background: var(--night-soft); padding: clamp(22px, 4vw, 48px); }
.share-figure h3 { margin: 0 0 34px; font-size: clamp(1.25rem, 2.2vw, 1.8rem); font-weight: 550; }
.share-track { min-height: 190px; display: grid; grid-template-columns: 34.9fr 65.1fr; border: 1px solid var(--paper); }
.share-track > span { min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 20px; }
.share-track b { font: 700 clamp(1.5rem, 4.5vw, 4rem)/1 var(--mono); letter-spacing: -.08em; }
.share-track small { font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.share-small { color: var(--paper); background: var(--panel); }
.share-large { color: var(--ink); background: var(--signal); border-left: 1px solid var(--paper); }
.distribution-grid { min-height: 205px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; align-items: end; margin-top: 38px; padding-top: 18px; border-top: 1px solid var(--line); }
.distribution-item { height: 170px; min-width: 0; display: grid; grid-template-rows: 1fr auto auto; gap: 5px; align-items: end; color: var(--paper-dim); }
.distribution-item strong { font: 700 clamp(.75rem, 1.35vw, 1.05rem) var(--mono); letter-spacing: -.04em; }
.distribution-item small { color: var(--quiet); font: 9px var(--mono); text-transform: uppercase; }
.mini-bar { width: 100%; max-width: 92px; display: block; align-self: end; border: 1px solid #74726e; background: var(--panel); }
.is-focus .mini-bar { border-color: var(--signal); background: var(--signal); }
.is-focus strong { color: var(--paper); }
.bar-08 { height: 40px; }.bar-09 { height: 45px; }.bar-12 { height: 60px; }.bar-15 { height: 75px; }.bar-26 { height: 130px; }.bar-30 { height: 150px; }
.share-figure figcaption, .weekday-figure figcaption { margin-top: 24px; color: var(--quiet); font-size: .82rem; }
.definition-note { max-width: 850px; margin: 32px 0 0 auto; display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 23px 0 0; border-top: 1px solid var(--signal); }
.definition-note p { margin: 0; color: var(--paper-dim); }
.definition-note strong { color: var(--paper); font-weight: 600; }
.definition-mark { color: var(--signal); font: 36px/1 var(--mono); }

.explorer { margin-left: -24px; margin-right: -24px; padding-left: 24px; padding-right: 24px; background: var(--paper); color: var(--ink); border-top-color: var(--ink); }
.explorer .section-index, .explorer .figure-kicker { color: var(--signal-dark); }
.explorer .section-heading > p:last-child { color: #5d5b56; }
.court-form { margin-bottom: 20px; }
.court-form > label { display: block; margin-bottom: 10px; font: 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.search-row { display: grid; grid-template-columns: 1fr auto; border: 2px solid var(--ink); }
.search-row input { min-width: 0; width: 100%; border: 0; border-radius: 0; padding: 19px 18px; color: var(--ink); background: #fffdf7; outline: 0; }
.search-row input:focus { box-shadow: inset 0 0 0 3px var(--signal); }
.search-row button { border: 0; border-left: 2px solid var(--ink); padding: 0 25px; color: #fff; background: var(--ink); cursor: pointer; font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.search-row button:hover, .search-row button:focus-visible { background: var(--signal-dark); }
.suggestions { margin-top: 12px; display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: #6a6762; font: 9px var(--mono); text-transform: uppercase; }
.suggestions button { border: 1px solid #aaa49b; padding: 6px 8px; color: var(--ink); background: transparent; cursor: pointer; font: 9px var(--mono); }
.suggestions button:hover, .suggestions button:focus-visible { border-color: var(--signal-dark); color: var(--signal-dark); }
.status { min-height: 26px; margin: 18px 0; color: #67645e; font: 11px var(--mono); }
.court-output { margin-top: 34px; border: 2px solid var(--ink); }
.court-summary { display: grid; grid-template-columns: 1fr 1.15fr; align-items: end; gap: 30px; padding: clamp(22px, 4vw, 38px); border-bottom: 2px solid var(--ink); background: #fffdf7; }
.court-code { margin-bottom: 9px; color: var(--signal-dark); }
.court-summary h3 { margin: 0; max-width: 16ch; font-size: clamp(2.1rem, 4.5vw, 4.4rem); line-height: .92; letter-spacing: -.055em; }
.court-summary dl { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid #b9b3aa; }
.court-summary dl div { padding-left: 18px; }
.court-summary dt { min-height: 30px; color: #6b6862; font: 9px/1.4 var(--mono); text-transform: uppercase; }
.court-summary dd { margin: 9px 0 0; font: 700 clamp(1.45rem, 3vw, 2.6rem) var(--mono); letter-spacing: -.06em; }
.day-tabs { display: flex; overflow-x: auto; border-bottom: 2px solid var(--ink); background: var(--ink); }
.day-tabs button { flex: 1 0 120px; border: 0; border-right: 1px solid #454746; padding: 14px 15px; color: var(--paper-dim); background: var(--ink); cursor: pointer; font: 10px var(--mono); text-transform: uppercase; }
.day-tabs button[aria-selected="true"] { color: var(--ink); background: var(--signal); }
.day-tabs button:focus-visible { outline-color: #fff; outline-offset: -4px; }
.day-reading { padding: clamp(20px, 4vw, 38px); background: #e5ded3; }
.day-reading-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.day-reading-head h4 { margin: 0; font-size: clamp(1.7rem, 3vw, 3rem); line-height: 1; }
.day-reading-head > p { max-width: 330px; margin: 0; color: #5f5c57; font-size: .9rem; text-align: right; }
.sessions { border-top: 1px solid var(--ink); }
.session-row { display: grid; grid-template-columns: minmax(150px, .34fr) minmax(0, 1.66fr); gap: 24px; padding: 23px 0; border-bottom: 1px solid #aaa49a; }
.session-label { min-width: 0; }
.session-label span { display: block; color: var(--signal-dark); font: 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.session-label strong { display: block; margin-top: 7px; font-size: .98rem; line-height: 1.25; }
.batch-list { min-width: 0; display: flex; align-items: flex-end; flex-wrap: wrap; gap: 8px; }
.batch { min-width: 82px; display: grid; align-content: space-between; padding: 9px 10px; border: 1px solid var(--ink); color: var(--ink); background: #fffdf7; box-shadow: 3px 3px 0 #b9b2a8; }
.batch time { color: var(--signal-dark); font: 700 13px var(--mono); }
.batch strong { font: 750 24px/1 var(--mono); letter-spacing: -.06em; }
.batch small { color: #6d6962; font: 8px var(--mono); text-transform: uppercase; }
.batch-size-1 { min-height: 72px; }.batch-size-2 { min-height: 87px; }.batch-size-3 { min-height: 104px; }.batch-size-4 { min-height: 122px; }.batch-size-5 { min-height: 142px; border-width: 2px; }.batch-size-6 { min-height: 165px; min-width: 105px; border: 2px solid var(--signal-dark); box-shadow: 5px 5px 0 var(--signal); }
.batch.is-2359 { color: #68655f; border-style: dashed; background: transparent; box-shadow: none; }
.empty-day { margin: 24px 0; color: #5f5c57; }
.malformed-note { color: var(--signal-dark); font: 10px var(--mono); }
.explorer-note, .no-script-inline { margin: 0; padding: 17px clamp(20px, 4vw, 38px); border-top: 1px solid var(--ink); color: #65615b; background: #fffdf7; font-size: .8rem; }
.no-script-inline { margin-top: 20px; border: 1px solid var(--ink); }

.week { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(45px, 8vw, 110px); align-items: start; }
.week .section-heading { margin-bottom: 0; }
.weekday-figure { margin: 0; padding: 0; }
.weekday-row { display: grid; grid-template-columns: 75px minmax(120px, 1fr) 65px 120px; gap: 13px; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--line); }
.weekday-row:first-child { border-top: 1px solid var(--line); }
.weekday-row > span { color: var(--paper-dim); }
.weekday-row strong { color: var(--signal); font: 700 14px var(--mono); text-align: right; }
.weekday-row small { color: var(--quiet); font: 9px var(--mono); text-align: right; }
.weekday-track { height: 11px; border: 1px solid var(--line); }
.weekday-fill { height: 100%; display: block; background: var(--signal); }
.day-629 { width: 62.9%; }.day-640 { width: 64%; }.day-650 { width: 65%; }.day-658 { width: 65.8%; }.day-679 { width: 67.9%; }

.method-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.method-grid article { min-height: 250px; padding: 30px 35px 35px 0; border-bottom: 1px solid var(--line); }
.method-grid article:nth-child(odd) { border-right: 1px solid var(--line); margin-right: 35px; }
.method-grid article > span { color: var(--signal); font: 10px var(--mono); }
.method-grid h3 { margin: 35px 0 12px; font-size: 1.8rem; line-height: 1; }
.method-grid p { max-width: 32rem; margin: 0; color: var(--paper-dim); }
.method-receipt { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border: 1px solid var(--line); }
.method-receipt div { min-width: 0; padding: 20px; border-right: 1px solid var(--line); }
.method-receipt div:last-child { border-right: 0; }
.method-receipt span { display: block; margin-bottom: 7px; color: var(--quiet); font: 9px var(--mono); text-transform: uppercase; }
.method-receipt strong, .method-receipt a { font-size: .9rem; overflow-wrap: anywhere; }
.method-receipt a { color: var(--signal); }

.limits { margin-left: -24px; margin-right: -24px; padding-left: 24px; padding-right: 24px; color: var(--ink); background: var(--signal); border-top-color: var(--ink); }
.limit-flag { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.limit-flag span { width: 38px; height: 2px; background: var(--ink); }
.limits-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(45px, 8vw, 110px); }
.limits h2 { max-width: 8ch; color: var(--ink); }
.limits-copy { max-width: 43rem; font-size: 1.08rem; }
.limits-copy p { margin-top: 0; margin-bottom: 24px; }
.limit-source { padding-top: 19px; border-top: 1px solid var(--ink); font: 11px/1.55 var(--mono); }
.limit-source a { text-underline-offset: 4px; }

.source-list { border-top: 1px solid var(--line); }
.source-item { display: grid; grid-template-columns: 42px 1fr 30px; gap: 15px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.source-item > span { color: var(--signal); font: 10px var(--mono); padding-top: 5px; }
.source-item strong { font-size: 1.04rem; font-weight: 550; }
.source-item small { grid-column: 2; color: var(--quiet); font-size: .84rem; margin-top: -12px; }
.source-item b { color: var(--signal); font-weight: 400; text-align: right; }
.source-item:hover strong, .source-item:focus-visible strong { color: var(--signal); }
.independence { max-width: 760px; margin: 35px 0 0; color: var(--quiet); font-size: .82rem; }

.site-footer { max-width: var(--max); margin: 0 auto; padding: 26px 24px 45px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 25px; color: var(--quiet); font: 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.site-footer div { display: flex; align-items: center; gap: 15px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--signal); }
.error-page { min-height: 100vh; display: grid; place-content: center; max-width: 760px; }
.error-page h1 { margin: 0 0 25px; font-size: clamp(4rem, 12vw, 9rem); line-height: .82; letter-spacing: -.08em; text-transform: uppercase; }
.error-page > p:not(.eyebrow) { color: var(--paper-dim); }

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

@media (max-width: 920px) {
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { max-width: 780px; }
  h1 { font-size: clamp(5.3rem, 16vw, 9rem); }
  .hero-board { max-width: 720px; }
  .ticket-stack { min-height: 390px; }
  .week, .limits-layout { grid-template-columns: 1fr; }
  .week .section-heading { margin-bottom: 0; }
  .court-summary { grid-template-columns: 1fr; }
  .court-summary dl { border-left: 0; border-top: 1px solid #b9b3aa; padding-top: 20px; }
}

@media (max-width: 650px) {
  body { font-size: 15px; }
  .header-inner, main, .site-footer { padding-left: 18px; padding-right: 18px; }
  .header-inner { min-height: 54px; }
  .site-mark { max-width: 58%; font-size: 8px; }
  nav { gap: 11px; }
  nav > a:first-child { display: none; }
  .hero { padding-top: 50px; gap: 42px; }
  h1 { font-size: clamp(4.25rem, 22vw, 6.4rem); }
  .hero-thesis { margin-top: 30px; }
  .hero-board { padding: 10px; }
  .ticket-stack { min-height: 310px; background-size: 30px 30px; }
  .ticket-face { padding: 17px; }
  .ticket-time { font-size: 3.2rem; }
  .ticket-count { font-size: 5.6rem; }
  .ticket-face::before { left: 17px; right: 17px; top: 49px; }
  .ticket-face::after { left: 17px; right: 17px; bottom: 45px; }
  .hero-register { grid-template-columns: repeat(2, 1fr); row-gap: 19px; }
  .section { padding-top: 78px; padding-bottom: 82px; }
  .section-heading { margin-bottom: 42px; }
  .section-heading h2, .limits h2 { font-size: clamp(2.85rem, 14vw, 4.6rem); }
  .share-figure { padding: 17px; }
  .share-track { min-height: 155px; }
  .share-track > span { padding: 12px; }
  .share-track small { font-size: 8px; }
  .distribution-grid { grid-template-columns: repeat(3, 1fr); min-height: auto; row-gap: 22px; }
  .distribution-item { height: 145px; }
  .bar-08 { height: 32px; }.bar-09 { height: 36px; }.bar-12 { height: 48px; }.bar-15 { height: 60px; }.bar-26 { height: 104px; }.bar-30 { height: 120px; }
  .definition-note { grid-template-columns: 34px 1fr; }
  .explorer, .limits { margin-left: -18px; margin-right: -18px; padding-left: 18px; padding-right: 18px; }
  .search-row { grid-template-columns: 1fr; }
  .search-row button { min-height: 48px; border-left: 0; border-top: 2px solid var(--ink); }
  .court-summary { padding: 22px 18px; }
  .court-summary dl { grid-template-columns: 1fr; gap: 13px; }
  .court-summary dl div { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; padding: 0 0 10px; border-bottom: 1px solid #d0c9bf; }
  .court-summary dt { min-height: 0; }
  .court-summary dd { margin: 0; }
  .day-reading { padding: 23px 17px; }
  .day-reading-head { align-items: start; flex-direction: column; gap: 12px; }
  .day-reading-head > p { text-align: left; }
  .session-row { grid-template-columns: 1fr; gap: 15px; }
  .batch-list { flex-wrap: nowrap; overflow-x: auto; padding: 0 5px 8px 0; align-items: flex-end; }
  .batch { flex: 0 0 auto; }
  .weekday-row { grid-template-columns: 67px minmax(90px, 1fr) 57px; gap: 9px; }
  .weekday-row small { grid-column: 2 / 4; margin-top: -9px; text-align: left; }
  .method-grid { grid-template-columns: 1fr; }
  .method-grid article:nth-child(odd) { margin-right: 0; border-right: 0; }
  .method-grid article { min-height: 0; padding-right: 0; }
  .method-receipt { grid-template-columns: 1fr; }
  .method-receipt div { border-right: 0; border-bottom: 1px solid var(--line); }
  .method-receipt div:last-child { border-bottom: 0; }
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .site-header, .court-form, .day-tabs, .primary-link { display: none; }
  body { color: #111; background: #fff; }
  .section, .hero { break-inside: avoid; }
}
