/* Pusula Koleji — the servis world. Yellow body, black lettering, white plates, red only for the flag and errors. */

@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(../fonts/archivo-var-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(../fonts/archivo-var-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Overpass'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/overpass-var-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Overpass'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/overpass-var-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Overpass draws its middle dot off-centre; take that one glyph from Archivo */
@font-face { font-family: 'PKDot'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/archivo-var-latin.woff2) format('woff2'); unicode-range: U+00B7; }

:root {
  --yellow: #f4c20d;
  --yellow-deep: #dfa900;
  --on-yellow-2: #4a3a00;
  --ink: #141518;
  --ink-2: #3a3d44;
  --white: #fbfbf7;
  --pave: #e3e2dc;
  --pave-2: #d4d2ca;
  --asphalt: #262a31;
  --asphalt-2: #353a43;
  --on-asphalt: #f2f1ea;
  --on-asphalt-2: #b9bcc4;
  --red: #c8231a;
  --grass: #9fb571;
  --bar-h: 68px;
  --rail-w: 0px;
  --gut: 20px;
  --display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --text: 'PKDot', 'Overpass', 'Segoe UI', Roboto, Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}
@media (min-width: 1200px) { :root { --rail-w: 84px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--bar-h) + 12px); scrollbar-color: var(--ink) var(--yellow); -webkit-text-size-adjust: 100%; }
html:not(.anim) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto !important; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--text); font-size: 1.0625rem; line-height: 1.6; text-rendering: optimizeLegibility; overflow-x: clip; }
::selection { background: var(--ink); color: var(--yellow); }
input, textarea, select { caret-color: var(--red); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--yellow); }
::-webkit-scrollbar-thumb { background: var(--ink); border-radius: 8px; border: 3px solid var(--yellow); }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.22em; }
p, h1, h2, h3, h4, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.sec--asphalt :focus-visible, .foot :focus-visible, .day--evening :focus-visible, .plate--inv:focus-visible, .ticket__band :focus-visible { outline-color: var(--yellow); }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--yellow); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: 1320px; margin-inline: auto; padding-inline: var(--gut); }
@media (min-width: 760px) { :root { --gut: 32px; } }
@media (min-width: 1200px) { .wrap { padding-left: calc(var(--rail-w) + 24px); padding-right: 40px; } }

/* ---------- type ---------- */
.h2 { font-family: var(--display); font-stretch: 118%; font-weight: 820; font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.02; letter-spacing: -0.01em; text-wrap: balance; max-width: 22ch; }
.h3 { font-family: var(--display); font-stretch: 110%; font-weight: 780; font-size: clamp(1.5rem, 2.1vw, 1.75rem); line-height: 1.15; letter-spacing: -0.005em; text-wrap: balance; }
.h4 { font-family: var(--display); font-stretch: 108%; font-weight: 760; font-size: 1.2rem; line-height: 1.2; }
.intro { font-size: clamp(1.06rem, 1.25vw, 1.2rem); line-height: 1.55; max-width: 60ch; margin-top: 18px; text-wrap: pretty; }
.tag { display: inline-block; vertical-align: 0.12em; font-family: var(--text); font-size: 0.7rem; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; padding: 0.32em 0.55em 0.22em; border: 1.5px solid currentColor; border-radius: 5px; white-space: nowrap; font-stretch: 100%; }
.tag--ph { border-style: dashed; }
.tag--inv { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

/* ---------- plates (the world's button and sign) ---------- */
.plate { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 46px; padding: 0.55em 1.15em 0.45em; border: 3px solid var(--ink); border-radius: 10px; background: var(--white); color: var(--ink); font-family: var(--display); font-stretch: 115%; font-weight: 800; font-size: 0.95rem; letter-spacing: 0.035em; text-transform: uppercase; text-decoration: none; line-height: 1.1; transition: transform 160ms var(--ease), background-color 160ms var(--ease), color 160ms var(--ease); }
.plate:hover { transform: translateY(-2px); }
.plate:active { transform: translateY(1px); }
.plate--inv { background: var(--ink); color: var(--yellow); }
.plate--inv:hover { background: #000; }
.plate--stop { min-height: 0; padding: 0.3em 0.7em 0.2em; font-size: clamp(1rem, 1.5vw, 1.3rem); }
.plate--stop:hover { transform: none; }
.plate-card { background: var(--white); color: var(--ink); border: 3px solid var(--ink); border-radius: 16px; overflow: hidden; }
.ticket__band { margin: 0; background: var(--ink); color: var(--yellow); font-family: var(--display); font-stretch: 125%; font-weight: 850; text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.02rem; padding: 12px 20px 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ticket__small { font-size: 0.86rem; color: var(--ink-2); margin-top: 12px; line-height: 1.45; }

/* ---------- header ---------- */
.bar { position: sticky; top: 0; z-index: 40; height: var(--bar-h); display: flex; align-items: center; gap: 18px; padding-inline: var(--gut); background: var(--yellow); border-bottom: 3px solid var(--ink); }
@media (min-width: 1200px) { .bar { padding-left: 24px; padding-right: 40px; } }
.bar__mark { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.bar__logo { width: 34px; height: 34px; color: var(--ink); }
.bar__name { font-family: var(--display); font-stretch: 125%; font-weight: 880; text-transform: uppercase; font-size: 1.12rem; letter-spacing: 0.02em; line-height: 1; }
.bar__name span { font-weight: 560; }
.bar__now { display: none; align-items: baseline; gap: 8px; padding: 6px 10px 4px; border: 2px solid var(--ink); border-radius: 8px; font-size: 0.84rem; line-height: 1.1; white-space: nowrap; }
.bar__nowk { font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.7rem; }
.bar__nowv { font-family: var(--display); font-stretch: 110%; font-weight: 760; }
@media (min-width: 1200px) { .bar__now { display: inline-flex; } }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: block; padding: 10px 10px 8px; font-weight: 700; font-size: 0.95rem; text-decoration: none; border-radius: 8px; }
.nav a:hover { background: var(--ink); color: var(--yellow); }
.bar__tools { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; }
.lang button { border: 0; background: transparent; padding: 7px 9px 5px; font-weight: 800; font-size: 0.82rem; min-width: 40px; min-height: 36px; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--yellow); }
.motion-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 10px 4px; border: 2px solid var(--ink); border-radius: 8px; background: transparent; font-weight: 700; font-size: 0.86rem; }
.motion-btn__box { width: 16px; height: 16px; border: 2px solid var(--ink); border-radius: 4px; position: relative; flex: none; }
.motion-btn[aria-pressed="true"] .motion-btn__box { background: var(--ink); }
.motion-btn[aria-pressed="true"] .motion-btn__box::after { content: ''; position: absolute; left: 3px; top: 0; width: 5px; height: 9px; border: solid var(--yellow); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.bar__cta { min-height: 44px; font-size: 0.88rem; padding-inline: 1em; }
.menu-btn { display: none; margin-left: auto; min-height: 44px; padding: 6px 12px 4px; border: 2px solid var(--ink); border-radius: 8px; background: transparent; font-weight: 800; font-size: 0.9rem; }
@media (max-width: 1099px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { position: absolute; left: 0; right: 0; top: calc(var(--bar-h) - 3px); background: var(--yellow); border-bottom: 3px solid var(--ink); border-top: 3px solid var(--ink); padding: 12px var(--gut) 18px; display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav a { font-size: 1.1rem; padding: 12px 8px 10px; }
  .nav .lang, .nav .motion-btn { margin-top: 12px; }
  .nav .nav__tools { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
  .bar__tools { order: 3; }
  .menu-btn { order: 4; margin-left: 0; }
  .bar__mark { margin-right: auto; }
}
@media (max-width: 520px) {
  :root { --bar-h: 60px; }
  .bar { gap: 8px; }
  .bar__name { font-size: 0.96rem; }
  .bar__name span { display: none; }
  .bar__logo { width: 28px; height: 28px; }
  .bar__cta { font-size: 0.78rem; padding: 0.5em 0.7em 0.4em; min-height: 44px; letter-spacing: 0.02em; }
  .menu-btn { padding-inline: 10px; font-size: 0.84rem; }
}

/* ---------- rail ---------- */
.rail { display: none; }
@media (min-width: 1200px) {
  .rail { display: block; position: fixed; z-index: 30; left: 0; top: var(--bar-h); bottom: 0; width: var(--rail-w); pointer-events: none; }
  .rail::before { content: ''; position: absolute; left: 34px; top: 0; bottom: 0; width: 8px; background: var(--ink); border-radius: 0 0 4px 4px; }
  .rail ol { position: absolute; left: 0; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: clamp(6px, 1.4vh, 16px); pointer-events: auto; }
  .rail a { display: flex; align-items: center; gap: 12px; padding: 4px 0 4px 26px; text-decoration: none; border-radius: 0 8px 8px 0; }
  .rail__dot { width: 24px; height: 24px; border-radius: 50%; background: var(--white); border: 4px solid var(--ink); flex: none; position: relative; transition: transform 200ms var(--ease); }
  .rail__lab { position: absolute; left: 62px; padding: 5px 10px 3px; background: var(--ink); color: var(--yellow); border-radius: 7px; font-family: var(--display); font-stretch: 110%; font-weight: 760; font-size: 0.82rem; white-space: nowrap; opacity: 0; transform: translateX(-6px); transition: opacity 160ms var(--ease), transform 160ms var(--ease); pointer-events: none; }
  .rail a:hover .rail__lab, .rail a:focus-visible .rail__lab { opacity: 1; transform: none; }
  .rail a.is-now .rail__dot { background: var(--ink); box-shadow: inset 0 0 0 4px var(--yellow); transform: scale(1.18); }
  .rail a.is-flag .rail__dot::after { content: ''; position: absolute; left: 8px; top: -16px; width: 3px; height: 18px; background: var(--ink); }
  .rail a.is-flag .rail__dot::before { content: ''; position: absolute; left: 11px; top: -16px; width: 14px; height: 10px; background: var(--red); clip-path: polygon(0 0, 100% 50%, 0 100%); }
  .rail__resume { position: absolute; left: 12px; bottom: 16px; pointer-events: auto; }
  .rail__resume a { display: block; writing-mode: vertical-rl; transform: rotate(180deg); background: var(--ink); color: var(--yellow); padding: 10px 6px; border-radius: 8px; font-size: 0.78rem; font-weight: 700; text-decoration: none; max-height: 36vh; overflow: hidden; }
}

/* ---------- sections ---------- */
.sec { padding-block: clamp(80px, 11vw, 150px); position: relative; }
.sec--yellow { background: var(--yellow); }
.sec--yellow .ticket__small, .sec--yellow .readout__note { color: var(--on-yellow-2); }
.sec--white { background: var(--white); }
.sec--pave { background: var(--pave); }
.sec--asphalt { background: var(--asphalt); color: var(--on-asphalt); }
.sec--asphalt .intro { color: var(--on-asphalt); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(22px, 3.6vh, 48px) clamp(56px, 8vh, 88px); overflow-x: clip; }
.hero__title { font-family: var(--display); font-stretch: 125%; font-weight: 880; font-size: clamp(1.9rem, 5.2vw, 4.7rem); line-height: 0.98; letter-spacing: -0.012em; text-transform: uppercase; }
.hero__title span { display: block; }
.line { position: relative; margin-top: clamp(18px, 3vh, 40px); --thumb: 68px; }
.line__stops { position: relative; height: 62px; margin-inline: calc(var(--thumb) / 2); }
.line__stop { position: absolute; bottom: 0; left: calc((var(--a) - 3.5) / 14 * 100%); width: calc((var(--b) - var(--a) + 1) / 14 * 100%); padding: 0 6px 12px; border-left: 3px solid var(--ink); display: flex; flex-direction: column; justify-content: flex-end; line-height: 1.1; transition: color 200ms var(--ease); }
.line__stop b { font-family: var(--display); font-stretch: 115%; font-weight: 820; font-size: clamp(0.82rem, 1.45vw, 1.2rem); text-transform: uppercase; letter-spacing: 0.02em; align-self: flex-start; padding: 4px 8px 2px; border-radius: 7px; border: 2.5px solid transparent; transition: background-color 200ms var(--ease), color 200ms var(--ease); }
.line__stop i { font-style: normal; font-size: clamp(0.72rem, 1vw, 0.86rem); font-weight: 650; padding-left: 10px; color: var(--on-yellow-2); }
.line__stop.is-on b { background: var(--ink); color: var(--yellow); border-color: var(--ink); }
.line__track { position: relative; height: 52px; }
.line__bar { position: absolute; left: 0; right: 0; top: 50%; height: 14px; margin-top: -7px; background: var(--ink); border-radius: 7px; }
.line__bar::before { content: ''; position: absolute; right: 100%; top: 0; height: 14px; width: 100vw; background: var(--ink); }
.line__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: grab; }
.line__range:active { cursor: grabbing; }
.line__range::-webkit-slider-runnable-track { height: 52px; background: transparent; }
.line__range::-moz-range-track { height: 52px; background: transparent; }
.line__range::-webkit-slider-thumb { -webkit-appearance: none; width: var(--thumb); height: 44px; margin-top: 4px; border: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 44'%3E%3Crect x='3' y='5' width='60' height='28' rx='6' fill='%23f4c20d' stroke='%23141518' stroke-width='4'/%3E%3Crect x='9' y='11' width='10' height='9' rx='2' fill='%23141518'/%3E%3Crect x='23' y='11' width='10' height='9' rx='2' fill='%23141518'/%3E%3Crect x='37' y='11' width='10' height='9' rx='2' fill='%23141518'/%3E%3Cpath d='M51 11h6a3 3 0 0 1 3 3v9h-9z' fill='%23141518'/%3E%3Crect x='3' y='24' width='60' height='4' fill='%23141518'/%3E%3Ccircle cx='17' cy='35' r='6' fill='%23141518'/%3E%3Ccircle cx='49' cy='35' r='6' fill='%23141518'/%3E%3Ccircle cx='17' cy='35' r='2' fill='%23fbfbf7'/%3E%3Ccircle cx='49' cy='35' r='2' fill='%23fbfbf7'/%3E%3C/svg%3E") center / contain no-repeat; }
.line__range::-moz-range-thumb { width: var(--thumb); height: 44px; border: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 44'%3E%3Crect x='3' y='5' width='60' height='28' rx='6' fill='%23f4c20d' stroke='%23141518' stroke-width='4'/%3E%3Crect x='9' y='11' width='10' height='9' rx='2' fill='%23141518'/%3E%3Crect x='23' y='11' width='10' height='9' rx='2' fill='%23141518'/%3E%3Crect x='37' y='11' width='10' height='9' rx='2' fill='%23141518'/%3E%3Cpath d='M51 11h6a3 3 0 0 1 3 3v9h-9z' fill='%23141518'/%3E%3Crect x='3' y='24' width='60' height='4' fill='%23141518'/%3E%3Ccircle cx='17' cy='35' r='6' fill='%23141518'/%3E%3Ccircle cx='49' cy='35' r='6' fill='%23141518'/%3E%3C/svg%3E") center / contain no-repeat; }
.line__range:focus-visible { outline: none; }
.line__range:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 10px; }
.line__track:has(.line__range:focus-visible) .line__bar { box-shadow: 0 0 0 3px var(--yellow), 0 0 0 6px var(--ink); }
.line__ticks { display: flex; justify-content: space-between; margin-inline: calc(var(--thumb) / 2 - 12px); margin-top: 2px; }
.line__ticks li { width: 24px; text-align: center; font-family: var(--display); font-stretch: 100%; font-weight: 700; font-size: 0.86rem; font-variant-numeric: tabular-nums; color: var(--on-yellow-2); cursor: pointer; border-radius: 6px; line-height: 1.6; }
.line__ticks li.is-on { background: var(--ink); color: var(--yellow); }
.line__hint { margin-top: 10px; font-size: 0.86rem; color: var(--on-yellow-2); }
.hero__low { display: grid; gap: 32px; margin-top: clamp(16px, 2.4vh, 32px); align-items: start; }
@media (min-width: 960px) { .hero__low { grid-template-columns: minmax(0, 1fr) minmax(360px, 460px); gap: 56px; } }
.hero__lead { font-size: clamp(1.06rem, 1.3vw, 1.22rem); max-width: 56ch; line-height: 1.55; }
.readout { margin-top: 22px; padding-top: 18px; border-top: 3px solid var(--ink); display: grid; gap: 2px; }
.readout__age { font-family: var(--display); font-stretch: 125%; font-weight: 880; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.readout__age span:last-child { font-size: 1.2rem; font-weight: 700; margin-left: 4px; }
.readout__level { font-family: var(--display); font-stretch: 112%; font-weight: 760; font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
.readout__note { font-size: 0.86rem; max-width: 52ch; margin-top: 6px; }
.ticket__body { padding: 18px 20px 20px; }
.ticket__row { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.ticket__k { font-size: 0.86rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.ticket__v { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 1.1rem; text-align: right; }
.ticket__msg { min-height: 1.4em; font-size: 0.9rem; font-weight: 650; margin-top: 8px; }
.ticket__msg.is-err { color: var(--red); }
.ticket__go { width: 100%; margin-top: 6px; }

/* slots */
.slots { border: 0; padding: 0; margin: 14px 0 0; min-width: 0; }
.slots legend { padding: 0; font-weight: 750; font-size: 0.95rem; display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.slots__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.slots__day { display: grid; gap: 6px; align-content: start; }
.slots__date { font-family: var(--display); font-stretch: 108%; font-weight: 780; font-size: 0.86rem; line-height: 1.15; text-transform: uppercase; letter-spacing: 0.02em; padding-bottom: 4px; border-bottom: 2px solid var(--ink); }
.slots__date small { display: block; font-family: var(--text); font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 0.78rem; color: var(--ink-2); }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.slot span { display: flex; align-items: center; justify-content: center; min-height: 36px; border: 2.5px solid var(--ink); border-radius: 8px; font-family: var(--display); font-stretch: 100%; font-weight: 760; font-size: 0.95rem; font-variant-numeric: tabular-nums; background: var(--white); transition: background-color 140ms var(--ease), color 140ms var(--ease); }
.slot input:checked + span { background: var(--ink); color: var(--yellow); }
.slot input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.slot input:disabled { cursor: not-allowed; }
.slot input:disabled + span { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--ink-2); border-style: dashed; background: transparent; }
.slot:hover input:not(:disabled):not(:checked) + span { background: var(--yellow); }

/* ---------- levels ---------- */
.levels { padding-bottom: 0; overflow-x: clip; }
.levels__head { padding-bottom: clamp(40px, 6vw, 72px); }
.levels__road { display: none; }
.levels__track { display: grid; }
.stop { display: grid; gap: 32px; padding: clamp(48px, 7vw, 96px) var(--gut); border-top: 3px solid var(--ink); max-width: 1320px; margin-inline: auto; width: 100%; }
@media (min-width: 1200px) { .stop { padding-left: calc(var(--rail-w) + 24px); padding-right: 40px; } }
@media (min-width: 960px) { .stop { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 64px; align-items: start; } }
.stop__hook { font-family: var(--display); font-stretch: 120%; font-weight: 840; font-size: clamp(2rem, 4.4vw, 4rem); line-height: 1.02; letter-spacing: -0.012em; text-wrap: balance; max-width: 16ch; }
.stop__name { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.stop__age { font-family: var(--text); font-weight: 700; font-size: 1rem; }
.stop__worry { margin-top: 26px; padding: 20px 22px; border: 3px solid var(--ink); border-radius: 16px; background: var(--yellow); max-width: 62ch; }
.stop__q { font-family: var(--display); font-stretch: 105%; font-weight: 780; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.25; }
.stop__a { margin-top: 10px; }
.stop__h4 { font-family: var(--display); font-stretch: 108%; font-weight: 780; font-size: 1.15rem; display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; line-height: 1.45; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.1em; width: 20px; height: 20px; border-radius: 5px; background: var(--ink); }
.ticks li::after { content: ''; position: absolute; left: 7px; top: calc(0.1em + 3px); width: 5px; height: 10px; border: solid var(--yellow); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.stop__see { margin-top: 22px; padding-top: 14px; border-top: 2px solid var(--ink); font-size: 0.95rem; }
.stop__see span:first-child { font-weight: 750; }

/* horizontal ride (desktop, motion) */
@media (min-width: 1024px) {
  .anim .levels__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
  .anim .levels__road { display: block; position: relative; flex: none; height: 64px; background: var(--yellow); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); margin-top: var(--bar-h); }
  .anim .levels__road::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 10px; margin-top: -5px; background: var(--ink); }
  .anim .levels__mark { position: absolute; top: 50%; left: calc((100% - 68px) * var(--i) / 3 + 34px); width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: var(--white); border: 4px solid var(--ink); transition: background-color 200ms var(--ease); }
  .anim .levels__mark.is-on { background: var(--ink); box-shadow: inset 0 0 0 4px var(--yellow); }
  .anim .levels__bus { position: absolute; z-index: 2; top: 50%; left: 0; width: 68px; height: 44px; margin-top: -24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 44'%3E%3Crect x='3' y='5' width='60' height='28' rx='6' fill='%23f4c20d' stroke='%23141518' stroke-width='4'/%3E%3Crect x='9' y='11' width='10' height='9' rx='2' fill='%23141518'/%3E%3Crect x='23' y='11' width='10' height='9' rx='2' fill='%23141518'/%3E%3Crect x='37' y='11' width='10' height='9' rx='2' fill='%23141518'/%3E%3Cpath d='M51 11h6a3 3 0 0 1 3 3v9h-9z' fill='%23141518'/%3E%3Crect x='3' y='24' width='60' height='4' fill='%23141518'/%3E%3Ccircle cx='17' cy='35' r='6' fill='%23141518'/%3E%3Ccircle cx='49' cy='35' r='6' fill='%23141518'/%3E%3C/svg%3E") center / contain no-repeat; will-change: transform; }
  .anim .levels__track { display: flex; flex: 1; width: max-content; will-change: transform; }
  .anim .stop { width: 100vw; max-width: none; margin: 0; border-top: 0; border-left: 3px solid var(--ink); align-content: center; padding-block: 32px; }
  .anim .stop:first-child { border-left: 0; }
  .anim .stop > * { max-width: 760px; }
  .anim .stop__side { max-width: 420px; }
}

/* ---------- campus ---------- */
.campus { padding-bottom: clamp(60px, 8vw, 110px); }
.campus__head { padding-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips button { min-height: 42px; padding: 8px 14px 6px; border: 2.5px solid var(--ink); border-radius: 9px; background: var(--white); font-family: var(--display); font-stretch: 108%; font-weight: 760; font-size: 0.92rem; transition: background-color 140ms var(--ease), color 140ms var(--ease); }
.chips button:hover { background: var(--yellow); }
.chips button[aria-checked="true"] { background: var(--ink); color: var(--yellow); }
.chips--dark button { background: transparent; color: var(--on-asphalt); border-color: var(--on-asphalt); }
.chips--dark button:hover { background: var(--asphalt-2); }
.chips--dark button[aria-checked="true"] { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.campus__pin { position: relative; }
.campus__stage { position: relative; background: var(--pave-2); border-block: 3px solid var(--ink); overflow: hidden; }
.campus__gl { display: none; width: 100%; height: 100%; }
.campus__labels { position: absolute; inset: 0; pointer-events: none; display: none; }
.campus__plan { padding: 16px var(--gut); }
.campus__plan svg { width: 100%; height: auto; max-height: 78vh; margin-inline: auto; }
.gl .campus__stage { height: calc(100vh - var(--bar-h)); height: calc(100svh - var(--bar-h)); min-height: 520px; }
.gl .campus__gl { display: block; cursor: default; }
.gl .campus__gl.is-hover { cursor: pointer; }
.gl .campus__labels { display: block; }
.gl .campus__plan { display: none; }
.lab3d { position: absolute; left: 0; top: 0; transform: translate(-50%, -100%); white-space: nowrap; display: flex; align-items: center; gap: 6px; padding: 3px 8px 1px 3px; background: var(--white); border: 2.5px solid var(--ink); border-radius: 8px; font-family: var(--display); font-stretch: 105%; font-weight: 760; font-size: 0.78rem; line-height: 1.3; will-change: transform; }
.lab3d b { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 5px; background: var(--ink); color: var(--yellow); font-size: 0.74rem; }
.lab3d.is-now { background: var(--ink); color: var(--yellow); }
.lab3d.is-now b { background: var(--yellow); color: var(--ink); }
.campus__panel { padding: 20px var(--gut) 0; }
.route { display: grid; gap: 6px; max-width: 520px; }
.route li { counter-increment: none; }
.route button { width: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: start; text-align: left; padding: 8px 10px 6px; border: 2.5px solid var(--ink); border-radius: 10px; background: var(--white); line-height: 1.3; transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.route button:hover { background: var(--yellow); }
.route__n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: var(--ink); color: var(--yellow); font-family: var(--display); font-weight: 800; font-size: 0.86rem; margin-top: 1px; }
.route__t { font-family: var(--display); font-stretch: 105%; font-weight: 780; font-size: 0.95rem; }
.route__d { display: block; font-size: 0.86rem; color: var(--ink-2); margin-top: 2px; }
.route li.is-now button { background: var(--ink); color: var(--yellow); }
.route li.is-now .route__n { background: var(--yellow); color: var(--ink); }
.route li.is-now .route__d { color: var(--on-asphalt-2); }
.route li.is-done .route__n { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 2.5px var(--ink); }
.route li.is-done .route__n::after { content: ''; width: 5px; height: 10px; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: translate(0, -1px) rotate(45deg); }
.route li.is-done .route__n span { display: none; }
@media (min-width: 1024px) {
  .gl .campus__panel { position: absolute; z-index: 3; left: calc(var(--rail-w) + 24px); top: 20px; bottom: 20px; padding: 0; width: 330px; display: flex; flex-direction: column; justify-content: center; pointer-events: none; }
  .gl .campus__panel .route { pointer-events: auto; }
}
.campus__below { display: grid; gap: 32px; padding-top: 40px; }
@media (min-width: 960px) { .campus__below { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; } }
.campus__info { padding: 22px 24px; border: 3px solid var(--ink); border-radius: 16px; background: var(--white); align-self: start; min-height: 170px; }
.campus__info p { margin-top: 10px; max-width: 58ch; }
.campus__list .h4 { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.blist { display: flex; flex-wrap: wrap; gap: 8px; }
.blist button { min-height: 40px; padding: 7px 12px 5px; border: 2.5px solid var(--ink); border-radius: 9px; background: var(--white); font-weight: 700; font-size: 0.9rem; transition: background-color 140ms var(--ease), color 140ms var(--ease); }
.blist button:hover { background: var(--yellow); }
.blist button[aria-pressed="true"] { background: var(--ink); color: var(--yellow); }
.plan-b { fill: var(--white); stroke: var(--ink); stroke-width: 0.5; }
.plan-b.is-route { fill: var(--yellow); }
.plan-b.is-sel { fill: var(--ink); }
.plan-flat { fill: var(--grass); stroke: var(--ink); stroke-width: 0.35; }
.plan-road { stroke: var(--asphalt); stroke-width: 6; stroke-linecap: square; fill: none; }
.plan-route { stroke: var(--ink); stroke-width: 1.6; fill: none; stroke-linejoin: round; stroke-dasharray: 2.4 1.6; }
.plan-stop circle { fill: var(--white); stroke: var(--ink); stroke-width: 0.6; }
.plan-stop text { font: 800 3px var(--display); fill: var(--ink); text-anchor: middle; dominant-baseline: central; }
.plan-lab { font: 700 2.4px var(--text); fill: var(--ink); text-anchor: middle; }

/* ---------- day ---------- */
.day { background: var(--white); transition: background-color 500ms var(--ease), color 500ms var(--ease); padding-block: clamp(80px, 9vw, 130px); }
.day--morning { background: var(--yellow); }
.day--evening { background: var(--asphalt); color: var(--on-asphalt); }
.day__grid { display: grid; gap: 36px; }
@media (min-width: 1100px) { .day__grid { grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr) minmax(260px, 0.75fr); gap: 44px; align-items: start; } }
.day__intro { font-size: 1rem; }
.clock { font-family: var(--display); font-stretch: 100%; font-weight: 880; font-size: clamp(3.6rem, 5.8vw, 5.6rem); line-height: 0.9; font-variant-numeric: tabular-nums; margin-top: 26px; letter-spacing: -0.02em; }
.clock__sep { opacity: 0.55; }
.day__lab { display: block; font-weight: 750; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 18px; }
.day__range { width: 100%; margin: 8px 0 0; height: 40px; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.day__range::-webkit-slider-runnable-track { height: 8px; background: currentColor; border-radius: 4px; }
.day__range::-moz-range-track { height: 8px; background: currentColor; border-radius: 4px; }
.day__range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; background: var(--white); border: 4px solid var(--ink); }
.day__range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 4px solid var(--ink); }
.day--evening .day__range::-webkit-slider-thumb { background: var(--yellow); border-color: var(--yellow); }
.chips--day { margin-top: 18px; }
.day--evening .chips--day button { background: transparent; color: var(--on-asphalt); border-color: var(--on-asphalt); }
.day--evening .chips--day button[aria-checked="true"] { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.ride { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; font-family: var(--display); font-weight: 800; font-stretch: 110%; text-transform: uppercase; font-size: 0.84rem; letter-spacing: 0.04em; }
.ride__road { position: relative; height: 40px; }
.ride__road::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 8px; margin-top: -4px; background: currentColor; border-radius: 4px; }
.ride__bus { position: absolute; left: calc(var(--p, 0) * (100% - 52px)); top: 0; width: 52px; height: 100%; display: block; transition: left 120ms linear; }
.ride__bus::after { content: ''; position: absolute; left: 0; top: 4px; width: 52px; height: 34px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 44'%3E%3Crect x='3' y='5' width='60' height='28' rx='6' fill='%23f4c20d' stroke='%23141518' stroke-width='4'/%3E%3Crect x='9' y='11' width='10' height='9' rx='2' fill='%23141518'/%3E%3Crect x='23' y='11' width='10' height='9' rx='2' fill='%23141518'/%3E%3Crect x='37' y='11' width='10' height='9' rx='2' fill='%23141518'/%3E%3Cpath d='M51 11h6a3 3 0 0 1 3 3v9h-9z' fill='%23141518'/%3E%3Crect x='3' y='24' width='60' height='4' fill='%23141518'/%3E%3Ccircle cx='17' cy='35' r='6' fill='%23141518'/%3E%3Ccircle cx='49' cy='35' r='6' fill='%23141518'/%3E%3C/svg%3E") center / contain no-repeat; }
.ride__bus.is-back::after { transform: scaleX(-1); }
.day__now { margin-top: 16px; min-height: 3em; font-family: var(--display); font-stretch: 108%; font-weight: 780; font-size: 1.15rem; line-height: 1.3; }
.tt { margin-top: 12px; display: grid; gap: 4px; }
.tt__what b { font-weight: 750; }
.tt__where::before { content: ' · '; white-space: pre; }
.tt li { display: grid; grid-template-columns: 7.2em minmax(0, 1fr) 26px; gap: 10px; align-items: center; padding: 7px 12px 5px; border: 2px solid currentColor; border-radius: 9px; font-size: 0.95rem; line-height: 1.3; transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.tt__time { font-variant-numeric: tabular-nums; font-weight: 750; font-family: var(--display); font-stretch: 100%; }
.tt__mark { width: 22px; height: 22px; border-radius: 6px; position: relative; justify-self: end; }
.tt li.is-done .tt__mark { border: 2px solid currentColor; }
.tt li.is-done .tt__mark::after { content: ''; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid currentColor; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.tt li.is-now { background: var(--ink); color: var(--yellow); border-color: var(--ink); }
.day--evening .tt li.is-now { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.tt li.is-now .tt__mark { background: currentColor; clip-path: polygon(20% 15%, 85% 50%, 20% 85%); }
.mini svg { width: 100%; height: auto; }
.mini .plan-b.is-use { fill: var(--ink); }
.day--evening .mini .plan-b { stroke: var(--ink); }
.day--evening .mini svg { background: var(--asphalt-2); border-radius: 12px; }
.mini svg { background: var(--pave); border: 3px solid currentColor; border-radius: 14px; }
.day__where { margin-top: 12px; font-size: 0.95rem; }
.day__where b { font-family: var(--display); font-stretch: 108%; font-weight: 780; font-size: 1.1rem; }
@media (min-width: 1100px) {
  .anim .day__pin { min-height: 100vh; display: flex; align-items: center; }
  .anim .day { padding-block: 0; }
  .anim .day__pin { padding-block: calc(var(--bar-h) + 24px) 32px; }
}

/* ---------- bus ---------- */
.bus__grid { display: grid; gap: 40px; margin-top: 32px; }
@media (min-width: 960px) { .bus__grid { grid-template-columns: minmax(0, 1fr) minmax(360px, 480px); gap: 64px; align-items: start; } }
.bus__text .intro { margin-top: 0; }
.ticks--dark { margin-top: 26px; }
.busroute { padding: 20px 20px 4px; position: relative; }
.busroute__list { display: grid; position: relative; }
.busroute__list::before { content: ''; position: absolute; left: 13px; top: 18px; bottom: 18px; width: 8px; background: var(--ink); border-radius: 4px; }
.bstop { position: relative; }
.bstop input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.bstop span { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 6px 6px 0; border-radius: 8px; }
.bstop span::before { content: ''; width: 26px; height: 26px; margin-left: 4px; border-radius: 50%; background: var(--white); border: 4px solid var(--ink); position: relative; z-index: 1; }
.bstop b { font-family: var(--display); font-stretch: 108%; font-weight: 760; }
.bstop i { font-style: normal; font-variant-numeric: tabular-nums; font-weight: 750; font-family: var(--display); }
.bstop input:checked + span::before { background: var(--ink); box-shadow: inset 0 0 0 4px var(--yellow); }
.bstop input:checked + span b { background: var(--ink); color: var(--yellow); padding: 2px 8px 0; border-radius: 6px; justify-self: start; }
.bstop input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.bstop:hover span { background: var(--yellow); }
.bstop.is-school span::before { border-radius: 6px; background: var(--yellow); }
.bstop.is-school input { display: none; }
.bus__calc { padding: 8px 20px 0; font-weight: 700; min-height: 2.8em; }
.bus__card .ticket__small { padding: 0 20px 20px; }

/* ---------- lunch ---------- */
.lunch__grid { display: grid; gap: 40px; margin-top: 8px; }
@media (min-width: 960px) { .lunch__grid { grid-template-columns: minmax(0, 1fr) minmax(360px, 520px); gap: 64px; align-items: start; } }
.lunch__note { margin-top: 22px; padding: 16px 18px; border: 3px solid var(--ink); border-radius: 14px; background: var(--yellow); max-width: 56ch; font-weight: 600; }
.menu__tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 3px solid var(--ink); }
.menu__tabs button { min-height: 48px; border: 0; border-right: 2px solid var(--ink); background: var(--white); font-family: var(--display); font-stretch: 110%; font-weight: 800; text-transform: uppercase; font-size: 0.88rem; letter-spacing: 0.03em; }
.menu__tabs button:last-child { border-right: 0; }
.menu__tabs button:hover { background: var(--yellow); }
.menu__tabs button[aria-selected="true"] { background: var(--ink); color: var(--yellow); }
.menu__panel { padding: 20px 22px 24px; }
.menu__panel:focus-visible { outline-offset: -6px; }
.menu__day { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 1.3rem; }
.menu__list { margin-top: 12px; display: grid; }
.menu__list li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0 8px; border-bottom: 2px dotted var(--ink); font-weight: 600; }
.menu__list li span:last-child { color: var(--ink-2); font-size: 0.86rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

/* ---------- clubs ---------- */
.clubs__count { margin-top: 18px; color: var(--on-asphalt-2); font-weight: 650; }
.clublist { margin-top: 16px; display: grid; gap: 10px; }
@media (min-width: 760px) { .clublist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .clublist { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.club { display: grid; gap: 8px; padding: 16px 18px 14px; border: 2.5px solid var(--on-asphalt); border-radius: 14px; }
.club__n { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 1.2rem; line-height: 1.2; }
.club__when { font-variant-numeric: tabular-nums; font-weight: 650; color: var(--on-asphalt-2); font-size: 0.95rem; }
.club__lv { display: flex; flex-wrap: wrap; gap: 6px; }
.club__lv span { font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; padding: 3px 7px 1px; border-radius: 5px; background: var(--yellow); color: var(--ink); }

/* ---------- year ---------- */
.yearline { --draw: 1; margin-top: 48px; overflow-x: auto; padding-bottom: 12px; }
.yearline__list { display: grid; grid-template-columns: repeat(9, minmax(132px, 1fr)); min-width: 1188px; position: relative; padding-top: 34px; }
@media (min-width: 1200px) { .yearline__list { min-width: 0; } }
.yearline__list::before { content: ''; position: absolute; left: 0; right: 0; top: 11px; height: 10px; background: var(--ink); border-radius: 5px; transform-origin: left center; transform: scaleX(var(--draw, 1)); }
.yearline__list li { position: relative; padding-right: 14px; }
.yearline__list li::before { content: ''; position: absolute; left: 0; top: -34px; width: 30px; height: 30px; border-radius: 50%; background: var(--white); border: 4px solid var(--ink); box-sizing: border-box; }
.yearline__list li:nth-child(5)::before, .yearline__list li:nth-child(9)::before { background: var(--yellow); border-radius: 7px; }
.yearline__list b { display: block; margin-top: 10px; font-family: var(--display); font-stretch: 115%; font-weight: 820; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.02em; }
.yearline__list span { display: block; margin-top: 4px; font-size: 0.92rem; line-height: 1.4; }
.year__talk { display: grid; gap: 40px; margin-top: 72px; }
@media (min-width: 960px) { .year__talk { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; } }
.year__col p { margin-top: 14px; max-width: 60ch; }
.dl { margin-top: 18px; display: grid; }
.dl > div { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 16px; padding: 12px 0 10px; border-top: 2px solid currentColor; }
.dl dt { font-weight: 800; }
@media (max-width: 560px) { .dl > div { grid-template-columns: 1fr; gap: 2px; } }
.dl--dark dd { color: var(--on-asphalt); }

/* ---------- admissions ---------- */
.admit__line { margin-top: 52px; display: grid; gap: 28px; position: relative; }
@media (min-width: 1024px) { .admit__line { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; padding-top: 44px; } .admit__line::before { content: ''; position: absolute; left: 0; right: 0; top: 13px; height: 12px; background: var(--ink); border-radius: 6px; transform-origin: left center; transform: scaleX(var(--draw, 1)); } }
@media (max-width: 1023px) { .admit__line { padding-left: 46px; } .admit__line::before { content: ''; position: absolute; left: 13px; top: 6px; bottom: 6px; width: 10px; background: var(--ink); border-radius: 5px; transform-origin: center top; transform: scaleY(var(--draw, 1)); } }
.astop { position: relative; }
.astop__dot { position: absolute; width: 36px; height: 36px; border-radius: 50%; background: var(--white); border: 5px solid var(--ink); }
@media (min-width: 1024px) { .astop__dot { left: 0; top: -44px; } }
@media (max-width: 1023px) { .astop__dot { left: -46px; top: 0; } }
.astop:first-child .astop__dot { background: var(--ink); box-shadow: inset 0 0 0 5px var(--yellow); }
.astop__h { font-family: var(--display); font-stretch: 112%; font-weight: 820; font-size: 1.22rem; line-height: 1.15; }
.astop__date { margin-top: 8px; font-weight: 700; font-size: 0.92rem; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.astop p:last-child { margin-top: 8px; font-size: 0.97rem; line-height: 1.5; }
.docs { margin-top: 64px; max-width: 760px; }
.docs__body { padding: 18px 22px 20px; }
.checks { display: grid; gap: 4px; }
.checks label { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; padding: 8px 6px 6px; border-radius: 8px; cursor: pointer; line-height: 1.4; }
.checks label:hover { background: var(--yellow); }
.checks input, .field--check input { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; margin: 0; border: 3px solid var(--ink); border-radius: 6px; background: var(--white); position: relative; cursor: pointer; flex: none; }
.checks input:checked, .field--check input:checked { background: var(--ink); }
.checks input:checked::after, .field--check input:checked::after { content: ''; position: absolute; left: 6px; top: 1px; width: 6px; height: 12px; border: solid var(--yellow); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.checks input:checked + span { text-decoration: line-through; text-decoration-thickness: 2px; }
.checks--big input:checked + span { text-decoration: none; font-weight: 700; }
.docs__count, .prep__count { margin-top: 12px; font-weight: 750; }

/* ---------- prep ---------- */
.prep__grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .prep__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; } }
.checks--big label { font-size: 1.06rem; padding: 12px 10px 10px; border-bottom: 2px solid var(--ink); border-radius: 0; }
.checks--big { gap: 0; border-top: 3px solid var(--ink); }

/* ---------- faq ---------- */
.faq__grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; } }
.faq__list { display: grid; gap: 8px; }
.qa { border: 2.5px solid var(--ink); border-radius: 12px; background: var(--white); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 14px 18px 12px; font-family: var(--display); font-stretch: 106%; font-weight: 760; font-size: 1.08rem; line-height: 1.3; border-radius: 10px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; flex: none; width: 26px; height: 26px; border-radius: 6px; background: var(--ink); clip-path: polygon(40% 15%, 60% 15%, 60% 40%, 85% 40%, 85% 60%, 60% 60%, 60% 85%, 40% 85%, 40% 60%, 15% 60%, 15% 40%, 40% 40%); transition: transform 200ms var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa summary:hover { background: var(--yellow); }
.qa__a { padding: 0 18px 16px; max-width: 64ch; }

/* ---------- visit ---------- */
.visit__grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .visit__grid { grid-template-columns: minmax(0, 0.85fr) minmax(400px, 1.15fr); gap: 64px; align-items: start; } }
.vform__body { padding: 20px 22px 22px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field label, .field__lab { font-weight: 750; font-size: 0.95rem; }
.field__opt { font-weight: 500; color: var(--ink-2); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px 8px; border: 2.5px solid var(--ink); border-radius: 9px; background: var(--white); font-size: 1rem; }
.field textarea { resize: vertical; min-height: 84px; }
.field select { -webkit-appearance: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: var(--red); background: #fff3f2; }
.field__help { font-size: 0.84rem; color: var(--ink-2); }
.field__err { font-size: 0.88rem; font-weight: 700; color: var(--red); min-height: 0; }
.field__err:empty { display: none; }
.field--row { grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: end; }
.field--row > div { display: grid; gap: 6px; }
.field--check label { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; font-weight: 600; font-size: 0.92rem; line-height: 1.4; }
.stepper { display: inline-flex; align-items: center; border: 2.5px solid var(--ink); border-radius: 9px; overflow: hidden; height: 48px; }
.stepper__b { width: 44px; height: 100%; border: 0; background: var(--white); font-size: 1.3rem; font-weight: 800; }
.stepper__b:hover { background: var(--yellow); }
.stepper output { min-width: 40px; text-align: center; font-family: var(--display); font-weight: 820; font-size: 1.15rem; font-variant-numeric: tabular-nums; border-inline: 2.5px solid var(--ink); height: 100%; display: grid; place-items: center; }
.slots--form .slots__grid { gap: 10px; }
.vform__go { width: 100%; min-height: 54px; font-size: 1rem; }
.vform .ticket__small { margin-top: 0; }
.vcard { outline: none; }
.vcard__plate { background: var(--white); border: 3px solid var(--ink); border-radius: 16px; overflow: hidden; }
.vcard__band { background: var(--ink); color: var(--yellow); font-family: var(--display); font-stretch: 125%; font-weight: 880; text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.15rem; padding: 14px 22px 12px; }
.vcard__label { margin: 20px 22px 0; border: 2.5px solid var(--ink); border-radius: 12px; padding: 6px 16px 10px; background: var(--white); }
.vcard__dl > div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 12px; padding: 9px 0 6px; border-bottom: 1.5px solid var(--red); }
.vcard__dl > div:last-child { border-bottom: 0; }
.vcard__dl dt { font-weight: 800; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.05em; padding-top: 2px; }
.vcard__dl dd { font-weight: 650; overflow-wrap: anywhere; }
.vcard__route { margin: 18px 22px 0; display: flex; flex-wrap: wrap; gap: 6px 0; align-items: center; }
.vcard__route li { display: flex; align-items: center; font-weight: 750; font-size: 0.9rem; }
.vcard__route li + li::before { content: ''; width: 22px; height: 6px; background: var(--ink); margin-inline: 6px; border-radius: 3px; }
.vcard__route li span { padding: 4px 9px 2px; border: 2.5px solid var(--ink); border-radius: 8px; }
.vcard__qs { margin: 16px 22px 22px; }
.vcard__qs h3 { font-family: var(--display); font-stretch: 108%; font-weight: 800; font-size: 1rem; }
.vcard__qs ul { margin-top: 8px; display: grid; gap: 6px; }
.vcard__qs li { padding-left: 18px; position: relative; font-size: 0.95rem; }
.vcard__qs li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 9px; height: 9px; background: var(--ink); border-radius: 2px; }
.vcard__act { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.vcard__msg { font-weight: 700; flex-basis: 100%; min-height: 1.4em; }
.vcard__text { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.vcard__text.is-shown { position: static; left: auto; width: 100%; height: 180px; opacity: 1; margin-top: 10px; border: 2.5px solid var(--ink); border-radius: 9px; padding: 10px; font-size: 0.9rem; }

/* ---------- way + foot ---------- */
.way__grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .way__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; } }
.way .tag { color: var(--yellow); }
.foot { background: var(--ink); color: var(--on-asphalt); padding-block: 56px 64px; }
.foot__grid { display: grid; gap: 18px; }
.foot__mark { font-family: var(--display); font-stretch: 125%; font-weight: 880; font-size: clamp(2rem, 5vw, 3.6rem); text-transform: uppercase; color: var(--yellow); line-height: 1; }
.foot__mark span { font-weight: 560; }
.foot__demo { max-width: 70ch; color: var(--on-asphalt); }
.foot__links { color: var(--on-asphalt-2); }
.foot__links a { color: var(--yellow); font-weight: 700; }

/* ---------- reduced / static safety ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
}

/* phones: the four stop labels stagger in two rows so they never collide */
@media (max-width: 700px) {
  .line__stops { height: 88px; }
  .line__stop { padding-right: 0; }
  .line__stop b { font-stretch: 100%; font-size: 0.76rem; padding: 3px 5px 1px; white-space: nowrap; }
  .line__stop i { font-size: 0.7rem; padding-left: 6px; white-space: nowrap; }
  .line__stop:nth-child(even) { padding-bottom: 46px; }
  .line__ticks li { width: 20px; font-size: 0.74rem; }
  .line__ticks { margin-inline: calc(var(--thumb) / 2 - 10px); }
  .line { --thumb: 56px; }
}

/* ---------- changing stops ---------- */
.shifts { margin-top: 48px; display: grid; border-top: 3px solid var(--ink); }
.shiftrow { display: grid; gap: 18px; padding: 32px 0; border-bottom: 3px solid var(--ink); }
@media (min-width: 960px) { .shiftrow { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 56px; align-items: start; } }
.shiftrow__line { display: flex; align-items: center; min-width: 0; }
.shiftrow__seg { flex: 1; min-width: 28px; height: 10px; background: var(--ink); }
.plate--to { background: var(--ink); color: var(--yellow); }
.shiftrow__when { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-weight: 700; font-size: 0.92rem; }
.shiftrow__body > p:last-child { margin-top: 10px; max-width: 62ch; }
.shift__file { margin-top: 36px; max-width: 70ch; padding: 18px 22px; border: 3px solid var(--ink); border-radius: 16px; background: var(--white); font-weight: 600; }
.yearline:focus-visible { outline-offset: 4px; }
