/* Trueten version2: the departure board */

@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/bigshoulders-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: "Big Shoulders Display"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/bigshoulders-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: "Barlow"; font-weight: 400; font-display: swap; src: url(fonts/barlow-400-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: "Barlow"; font-weight: 400; font-display: swap; src: url(fonts/barlow-400-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: "Barlow"; font-weight: 500; font-display: swap; src: url(fonts/barlow-500-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: "Barlow"; font-weight: 500; font-display: swap; src: url(fonts/barlow-500-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: "Barlow"; font-weight: 600; font-display: swap; src: url(fonts/barlow-600-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: "Barlow"; font-weight: 600; font-display: swap; src: url(fonts/barlow-600-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; }

:root {
  --navy: #1a2440;
  --navy-deep: #111a30;
  --navy-rule: #2e3a5c;
  --ivory: #f4f1ea;
  --ivory-2: #aab3cb;
  --enamel: #f4f5f7;
  --ink: #1a2440;
  --ink-2: #4f5872;
  --rule: #d6dae2;
  --crimson: #e30b45;
  --crimson-press: #c00a3a;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --text: "Barlow", system-ui, sans-serif;
  --nav: 64px;
  --gut: clamp(20px, 5.6vw, 80px);
  --gap: 24px;
  --sec: clamp(80px, 10vw, 136px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav) + 8px); scrollbar-color: var(--navy) var(--enamel); caret-color: var(--crimson); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--enamel); color: var(--ink); font: 400 18px/1.55 var(--text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
p { margin: 0; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
::selection { background: var(--crimson); color: #fff; }
:focus-visible { outline: 2px solid var(--crimson); outline-offset: 3px; }
.board :focus-visible { outline-color: var(--ivory); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--navy); color: var(--ivory); padding: 12px 16px; border-radius: 6px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gut), 1280px); margin-inline: auto; }

h1, h2, h3 { margin: 0; font-family: var(--display); text-wrap: balance; }
h2 { font-weight: 800; font-size: clamp(42px, 5.2vw, 76px); line-height: .94; letter-spacing: -.005em; }
h3 { font-weight: 700; font-size: clamp(22px, 2vw, 28px); line-height: 1.05; text-transform: uppercase; letter-spacing: .01em; }

.board { background: var(--navy); color: var(--ivory); }
.enamel { background: var(--enamel); color: var(--ink); }
main > section:not(.hero) { padding-block: var(--sec); }

.head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.head h2 { grid-column: 1 / span 7; }
.head p { grid-column: 8 / span 5; font-size: 20px; line-height: 1.5; color: var(--ink-2); max-width: 44ch; }
.board .head p { color: var(--ivory-2); }

/* icons */
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 6px; border: 2px solid transparent; font: 600 17px/1.3 var(--text); text-decoration: none; cursor: pointer; transition: background-color .16s ease-out, color .16s ease-out, border-color .16s ease-out, transform .08s ease-out; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--crimson); color: #fff; }
.btn--primary:hover { background: var(--crimson-press); }
.btn--primary .ico { transition: transform .2s cubic-bezier(.2, .8, .2, 1); }
.btn--primary:hover .ico { transform: translateX(3px); }
.btn--secondary { border-color: var(--ink); color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: var(--enamel); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* nav: the white enamel strip */
.nav { position: sticky; top: 0; z-index: 30; background: var(--enamel); border-bottom: 1px solid var(--rule); }
.nav__bar { display: flex; align-items: center; gap: 32px; height: var(--nav); }
.nav__logo { display: inline-flex; flex: none; }
.nav__logo img { height: 27px; width: auto; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { font-weight: 500; font-size: 16px; text-decoration: none; padding: 6px 0; }
.nav__links a:hover { text-decoration: underline; }
.nav__cta { min-height: 42px; padding: 0 18px; font-size: 16px; }
.nav__toggle, .nav__menu-cta { display: none; }

/* split-flap tiles */
.flap { display: inline-block; font: 700 var(--fs, 30px)/1.2 var(--display); text-transform: uppercase; color: var(--ivory); background: var(--navy-deep); border: 1px solid var(--navy-rule); padding: 0 .2em; border-radius: 3px; white-space: nowrap; }
.flap.is-split { display: inline-flex; gap: .09em; background: none; border: 0; padding: 0; }
.flap .t { position: relative; display: inline-grid; place-items: center; width: .74em; height: 1.24em; background: var(--navy-deep); border: 1px solid var(--navy-rule); border-radius: 3px; overflow: hidden; }
.flap .t::after { content: ""; position: absolute; inset: 50% 0 auto; height: 1px; background: rgba(0, 0, 0, .55); }
.flap .t--sp { background: none; border: 0; width: .38em; }
.flap .t--sp::after { display: none; }
.flap .t.flip { animation: flap 64ms cubic-bezier(.3, .7, .4, 1); }
@keyframes flap { 50% { transform: scaleY(.12); } }
.flap--sm { --fs: 20px; }

/* hero */
.hero { min-height: calc(100svh - var(--nav)); display: flex; flex-direction: column; padding-bottom: clamp(28px, 4vw, 48px); }
.board__bar { border-bottom: 1px solid var(--navy-rule); }
.board__bar-in { display: flex; align-items: center; justify-content: space-between; gap: var(--gap); min-height: 60px; padding-block: 12px; }
.board__line { font-size: 15px; color: var(--ivory-2); }
.board__clock .flap { font-variant-numeric: tabular-nums; }
.hero__grid { flex: 1 1 auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: var(--gap); align-items: start; padding-top: clamp(32px, 5vh, 64px); }
.hero__copy { grid-column: 1 / span 8; grid-row: 1; }
.hero h1 { font-weight: 800; font-size: clamp(50px, 6.6vw, 96px); line-height: .92; letter-spacing: -.01em; }
.hero__lead { margin-top: 24px; max-width: 50ch; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; color: var(--ivory-2); }
.hero__ticket { grid-column: 9 / span 4; grid-row: 1; }
.link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 20px; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(244, 241, 234, .4); }
.link:hover { text-decoration-color: currentColor; }
.link .ico { transition: transform .2s cubic-bezier(.2, .8, .2, 1); }
.link:hover .ico { transform: translateY(3px); }

/* the ticket */
.ticket { position: relative; background: var(--enamel); color: var(--ink); border-radius: 8px; padding: 24px; }
.ticket__title { font: 800 30px/1 var(--display); text-transform: uppercase; margin-bottom: 14px; }
.ticket__rows { margin: 0; }
.ticket__rows > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; padding-block: 10px; border-top: 1px solid var(--rule); }
.ticket__rows dt { color: var(--ink-2); font-size: 16px; }
.ticket__rows dd { margin: 0; font-weight: 600; text-align: right; }
.ticket__pick { color: var(--ink-2); font-weight: 400; }
.ticket__pick .flap { --fs: 19px; }
.ticket__tear { position: relative; margin: 18px -24px 20px; border-top: 2px dashed #c3c8d2; }
.ticket__tear::before, .ticket__tear::after { content: ""; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--navy); }
.ticket__tear::before { left: -10px; }
.ticket__tear::after { right: -10px; }
.ticket__note { margin-top: 14px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }

/* the routes: four selectable rows of the board */
.routes { grid-column: 1 / -1; grid-row: 2; align-self: end; border: 0; margin: 0; padding: clamp(32px, 5vh, 56px) 0 0; min-width: 0; }
.routes__head, .route { display: grid; grid-template-columns: minmax(0, 3.4fr) minmax(0, 3fr) minmax(0, 3fr) 32px; column-gap: var(--gap); align-items: center; }
.routes__head { padding-bottom: 12px; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ivory-2); }
.route { position: relative; padding: 10px 0; border-top: 1px solid var(--navy-rule); cursor: pointer; transition: background-color .16s ease-out; }
.route:last-child { border-bottom: 1px solid var(--navy-rule); }
.route input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.route:has(input:focus-visible) { outline: 2px solid var(--ivory); outline-offset: 2px; }
.route:hover { background: rgba(255, 255, 255, .035); }
.route__dest .flap { --fs: clamp(22px, 2.3vw, 32px); }
.route__what { font-weight: 600; font-size: 19px; line-height: 1.3; }
.route__via { font-size: 17px; line-height: 1.4; color: var(--ivory-2); }
.route__mark { width: 28px; height: 28px; fill: none; stroke: var(--ivory-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: translateX(-6px); transition: opacity .16s ease-out, transform .24s cubic-bezier(.2, .8, .2, 1); }
.route:hover .route__mark { opacity: 1; transform: none; }
.route:has(input:checked) .route__mark { opacity: 1; transform: none; stroke: var(--crimson); }
.route:has(input:checked) .flap .t, .route:has(input:checked) .flap:not(.is-split) { background: var(--crimson); border-color: var(--crimson); }

/* problems and fixes: the service notices */
.notices__head, .notice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
.notices__head { padding-bottom: 18px; }
.notices__head h3 { font-size: 22px; color: var(--ink-2); }
.notice { padding: 26px 0; border-top: 1px solid var(--rule); align-items: start; }
.notice:last-child { border-bottom: 1px solid var(--rule); }
.notice__problem { display: flex; gap: 16px; font-weight: 600; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.3; }
.ico--warn { width: 26px; height: 26px; margin-top: 2px; stroke: var(--ink); }
.notice__fix { font-size: 19px; line-height: 1.5; }
.notice__fix strong { font-weight: 600; }

/* the offer: a timetable */
.timetable { width: 100%; border-collapse: collapse; }
.timetable thead th { text-align: left; padding: 0 var(--gap) 14px 0; font: 600 14px/1 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--ivory-2); border-bottom: 1px solid var(--navy-rule); }
.timetable tbody tr { border-bottom: 1px solid var(--navy-rule); }
.timetable tbody th { width: 34%; padding: 28px var(--gap) 28px 0; text-align: left; vertical-align: top; font: 800 clamp(28px, 2.7vw, 40px)/1 var(--display); text-transform: uppercase; }
.timetable tbody td { padding: 30px var(--gap) 28px 0; vertical-align: top; font-size: 18px; line-height: 1.55; color: var(--ivory-2); }
.timetable tbody td:last-child { width: 24%; padding-right: 0; }
.timetable thead th:last-child { padding-right: 0; }
.th-note { display: block; margin-top: 6px; font: 500 16px/1.4 var(--text); text-transform: none; color: var(--ivory-2); }
.tag { display: inline-block; margin: 0 4px 6px 0; padding: 4px 7px 3px; border: 1px solid var(--navy-rule); border-radius: 3px; background: var(--navy-deep); color: var(--ivory); font: 700 16px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; transition: background-color .2s ease-out; }
.tag.is-match { background: var(--crimson); border-color: var(--crimson); color: #fff; }

/* the process: one route line, five stops */
.line { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.line::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 4px; background: var(--navy); border-radius: 2px; }
.stop { position: relative; padding-top: 52px; }
.stop::before { content: ""; position: absolute; top: 0; left: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--enamel); border: 4px solid var(--navy); }
.stop:first-child::before { background: var(--navy); }
.stop h3 { display: inline-block; padding: 7px 12px 5px; background: #fff; border: 2px solid var(--navy); border-radius: 4px; font-size: clamp(22px, 2vw, 30px); }
.stop p { margin-top: 12px; max-width: 30ch; font-size: 17px; line-height: 1.5; color: var(--ink-2); }

/* why us */
.head--top { align-items: start; margin-bottom: 0; }
.head--top h2 { grid-column: 1 / span 5; }
.board .head .statement { grid-column: 6 / span 7; max-width: 26ch; font-weight: 500; font-size: clamp(26px, 2.9vw, 42px); line-height: 1.3; color: var(--ivory); }
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; margin-top: clamp(48px, 6vw, 80px); }
.reason { padding: 28px 0 32px; border-top: 1px solid var(--navy-rule); }
.reason p { margin-top: 12px; max-width: 46ch; color: var(--ivory-2); }

/* proof slots (rendered once real material replaces the templates) */
.works, .people, .quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px var(--gap); }
.work img, .person img { border-radius: 6px; }
.work h3 { margin-top: 18px; }
.work p { margin-top: 8px; color: var(--ink-2); }
.person { margin: 0; }
.person figcaption { margin-top: 12px; color: var(--ivory-2); }
.person strong { display: block; color: var(--ivory); font: 700 24px/1.1 var(--display); text-transform: uppercase; }
.quote { margin: 0; padding-top: 24px; border-top: 1px solid var(--rule); }
.quote blockquote { margin: 0; font-size: 22px; line-height: 1.45; }
.quote figcaption { margin-top: 16px; color: var(--ink-2); }

/* news */
.nowosci { border-top: 1px solid var(--rule); }
.nowosci__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.nowosci__grid > :first-child { grid-column: 1 / span 6; }
.nowosci__grid > :last-child { grid-column: 8 / span 5; }
.nowosci__grid > :first-child p { margin-top: 24px; max-width: 40ch; font-size: 20px; color: var(--ink-2); }
.ticks { margin: 20px 0 32px; padding: 0; list-style: none; }
.ticks li { position: relative; padding: 12px 0 12px 28px; border-top: 1px solid var(--rule); }
.ticks li:last-child { border-bottom: 1px solid var(--rule); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 21px; width: 10px; height: 10px; border-radius: 2px; background: var(--navy); }

/* contact */
.kontakt__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.kontakt__copy { grid-column: 1 / span 6; }
.kontakt__lead { margin-top: 24px; font-size: 21px; color: var(--ivory-2); }
.kontakt__copy h3 { margin-top: 48px; }
.kontakt__copy h3 + p { margin-top: 12px; max-width: 46ch; }
.facts { max-width: 560px; margin: 28px 0 0; border-bottom: 1px solid var(--navy-rule); }
.facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--navy-rule); }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; text-align: right; color: var(--ivory-2); }
.kontakt__direct { max-width: 560px; margin-top: 28px; color: var(--ivory-2); }
.kontakt__direct a { color: var(--ivory); white-space: nowrap; }
.ticket--form { grid-column: 8 / span 5; padding: 32px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 15px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #7d8597; border-radius: 6px; background: #fff; color: var(--ink); font: 400 17px/1.4 var(--text); transition: border-color .16s ease-out; }
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a2440' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; }
.field :is(input, select, textarea):hover { border-color: var(--ink-2); }
.field :is(input, select, textarea):focus-visible { border-color: var(--ink); outline: 2px solid var(--crimson); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--crimson); }
.field__err { font-size: 14px; color: var(--crimson-press); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { min-height: 1.5em; margin-top: 12px; font-weight: 600; font-size: 16px; }
.form__status.ok { color: #0b6b3a; }
.form__status.err { color: var(--crimson-press); }

/* footer */
.footer { padding-block: 56px; border-top: 1px solid var(--rule); }
.footer__grid { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px 48px; }
.footer__grid p { margin-top: 12px; color: var(--ink-2); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer__links a { font-weight: 500; text-decoration: none; padding: 8px 0; }
.footer__links a:hover, .footer__legal a:hover, .footer__contact a:hover { text-decoration: underline; }
.footer__grid .footer__contact { display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: 4px; }
.footer__contact a { padding: 8px 0; font-weight: 500; text-decoration: none; color: var(--ink); }
.footer__legal { margin: 0; font-size: 15px; color: var(--ink-2); }
.footer__legal a { text-decoration: none; }

/* tablet */
@media (max-width: 1023px) {
  .hero__grid { grid-template-rows: auto auto 1fr; }
  .hero__copy { grid-column: 1 / -1; }
  .hero__ticket { grid-column: 1 / span 7; grid-row: 2; margin-top: 32px; }
  .routes { grid-row: 3; }
  .routes__head, .route { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 28px; }
  .routes__head span:nth-child(3), .route__via { display: none; }
  .head h2, .head p, .board .head .statement { grid-column: 1 / -1; }
  .head p { margin-top: 20px; }
  .nowosci__grid > :first-child, .nowosci__grid > :last-child { grid-column: 1 / -1; }
  .nowosci__grid > :last-child { margin-top: 40px; }
  .kontakt__copy { grid-column: 1 / -1; }
  .ticket--form { grid-column: 1 / span 9; margin-top: 48px; }
  .line { grid-template-columns: 1fr; row-gap: 32px; }
  .line::before { left: 11px; right: auto; top: 6px; bottom: 6px; width: 4px; height: auto; }
  .stop { padding: 0 0 0 52px; }
  .stop p { max-width: 52ch; }
}

@media (max-width: 900px) {
  .nav__links { position: absolute; top: var(--nav); left: 0; right: 0; display: none; flex-direction: column; gap: 0; margin: 0; padding: 4px var(--gut) 20px; background: var(--enamel); border-bottom: 1px solid var(--rule); }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px 0; font-size: 18px; border-top: 1px solid var(--rule); }
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: -12px; padding: 0; border: 1px solid var(--rule); border-radius: 6px; background: none; color: var(--ink); cursor: pointer; }
  .nav__toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
}

/* phone */
@media (max-width: 639px) {
  body { font-size: 17px; }
  .board__line { display: none; }
  .nav__bar { gap: 12px; }
  .nav__logo img { height: 23px; }
  .nav__cta { min-height: 40px; padding: 0 14px; font-size: 15px; }
  .nav__toggle { margin-left: 0; }
  .nav__links .nav__menu-cta { margin-top: 12px; padding: 14px 16px; border: 0; border-radius: 6px; background: var(--crimson); color: #fff; font-weight: 600; text-align: center; }
  .hero__grid { grid-template-rows: none; }
  .hero__copy, .routes, .hero__ticket { grid-column: 1 / -1; grid-row: auto; }
  .hero__ticket { margin-top: 32px; }
  .ticket--form { grid-column: 1 / -1; }
  .ticket--form { padding: 24px; }
  .ticket__tear { margin-inline: -24px; }
  .routes__head { display: none; }
  .route { grid-template-columns: minmax(0, 1fr) 28px; row-gap: 6px; padding: 14px 0; }
  .route__dest { grid-column: 1; }
  .route__what { grid-column: 1; font-size: 17px; }
  .route__mark { grid-column: 2; grid-row: 1 / span 2; opacity: 1; transform: none; }
  .notices__head { display: none; }
  .notice { grid-template-columns: 1fr; row-gap: 12px; }
  .notice__fix { padding-left: 42px; }
  .timetable, .timetable tbody, .timetable tbody tr { display: block; }
  .timetable thead { display: none; }
  .timetable tbody tr { padding: 24px 0; }
  .timetable tbody th, .timetable tbody td, .timetable tbody td:last-child { display: block; width: auto; padding: 0; }
  .timetable tbody td { margin-top: 12px; }
  .reasons { grid-template-columns: 1fr; }
  .footer__grid { flex-direction: column; align-items: start; }
}

@media (max-width: 379px) {
  .nav__cta { display: none; }
  .nav__links .nav__menu-cta { display: block; }
  .nav__toggle { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flap .t.flip { animation: none; }
  .btn, .route, .route__mark, .tag, .btn--primary .ico { transition: none; }
}
