@font-face { font-family: 'Big Shoulders Display'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/big-shoulders-display-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'Big Shoulders Display'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/big-shoulders-display-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Big Shoulders Display'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/big-shoulders-display-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Big Shoulders Display'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/big-shoulders-display-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Big Shoulders Display'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/big-shoulders-display-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Big Shoulders Display'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/big-shoulders-display-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Big Shoulders Display'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/big-shoulders-display-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Big Shoulders Display'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Big Shoulders Display'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: 'Red Hat Text'; font-style: italic; font-weight: 300; font-display: swap; src: url("/assets/fonts/red-hat-text-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: 'Red Hat Text'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/red-hat-text-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Red Hat Text'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/red-hat-text-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Red Hat Text'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/red-hat-text-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Red Hat Text'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/red-hat-text-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Red Hat Text'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/red-hat-text-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Red Hat Text'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/red-hat-text-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Red Hat Text'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/red-hat-text-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Red Hat Text'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/red-hat-text-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Red Hat Text'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/red-hat-text-latin-700-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #f5f4ef;
  --fg-light-base-body: #3e4a48;
  --fg-light-base-heading: #172221;
  --fg-light-base-muted: #4f5a58;
  --fg-light-base-link: #0d6d64;
  --fg-light-base-inverse: #172221;
  --bg-light-card: #ffffff;
  --fg-light-card-body: #3e4a48;
  --fg-light-card-heading: #172221;
  --fg-light-card-muted: #4f5a58;
  --fg-light-card-link: #0d6d64;
  --fg-light-card-inverse: #172221;
  --bg-light-elevated: #ebe9e0;
  --fg-light-elevated-body: #3e4a48;
  --fg-light-elevated-heading: #172221;
  --fg-light-elevated-muted: #4f5a58;
  --fg-light-elevated-link: #0d6d64;
  --fg-light-elevated-inverse: #172221;
  --brand-light-accent: #0d6d64;
  --brand-light-accent-hover: #0f2b2a;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #0d6d64;
  --border-light-default: #0f2b2a;
  --border-light-subtle: #d6d3c6;
}
.bg-surface-base { background: var(--bg-light-base); --fg-body: var(--fg-light-base-body); --fg-heading: var(--fg-light-base-heading); --fg-muted: var(--fg-light-base-muted); --fg-link: var(--fg-light-base-link); --fg-inverse: var(--fg-light-base-inverse); }
.bg-surface-card { background: var(--bg-light-card); --fg-body: var(--fg-light-card-body); --fg-heading: var(--fg-light-card-heading); --fg-muted: var(--fg-light-card-muted); --fg-link: var(--fg-light-card-link); --fg-inverse: var(--fg-light-card-inverse); }
.bg-surface-elevated { background: var(--bg-light-elevated); --fg-body: var(--fg-light-elevated-body); --fg-heading: var(--fg-light-elevated-heading); --fg-muted: var(--fg-light-elevated-muted); --fg-link: var(--fg-light-elevated-link); --fg-inverse: var(--fg-light-elevated-inverse); }
.text-role-body { color: var(--fg-body); overflow-wrap: anywhere; }
.text-role-heading { color: var(--fg-heading); overflow-wrap: anywhere; }
.text-role-muted { color: var(--fg-muted); }
.text-role-link { color: var(--fg-link); }
.text-role-inverse { color: var(--fg-inverse); }
.text-role-link { text-decoration: underline; }
.text-role-link:hover { color: var(--brand-light-accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-light-ring); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.site-logo { max-width: 100%; height: auto; }
.site-menu > summary { list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
:where(section[data-section][style]) { background-size: cover; background-position: center; padding: clamp(1.5rem, 4vw, 3rem); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-light-ring); }

:root {
  --page: #f5f4ef;
  --board: #0f2b2a;
  --board-line: #2b4a48;
  --amber: #f5b82e;
  --ink: #172221;
  --grey-green: #3e4a48;
  --teal: #0d6d64;
  --white: #ffffff;
  --rule: #d6d3c6;
  --display: 'Big Shoulders Display', Impact, 'Arial Narrow', sans-serif;
  --text: 'Red Hat Text', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --wide: 76rem;
  --measure: 66ch;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 7rem; }

body {
  margin: 0;
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.02;
  color: var(--fg-heading);
  margin: 0;
}

h1 { font-size: clamp(2.6rem, 5vw + 1rem, 5rem); letter-spacing: 0.005em; }
h2 { font-size: clamp(1.7rem, 1.4vw + 1.2rem, 2.3rem); }
h3 { font-size: 1.45rem; }

p, ul, ol { margin: 0; }

a { text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.skip-link:focus { position: fixed; left: 0.75rem; top: 0.75rem; z-index: 40; padding: 0.5rem 0.9rem; background: var(--page); }

/* ---------- board-green surfaces ---------- */

.board.bg-surface-elevated {
  background: var(--board);
  --fg-body: var(--page);
  --fg-heading: var(--amber);
  --fg-muted: var(--amber);
  --fg-link: var(--page);
  --fg-inverse: var(--page);
}

.board a:focus-visible, .board summary:focus-visible { outline-color: var(--amber); }
.board .text-role-link:hover { color: var(--amber); text-decoration-color: var(--amber); }

.amber.bg-surface-elevated {
  background: var(--amber);
  --fg-body: var(--ink);
  --fg-heading: var(--ink);
  --fg-muted: var(--ink);
  --fg-link: var(--ink);
  --fg-inverse: var(--ink);
}

/* ---------- shell ---------- */

.station { min-height: 100vh; display: flex; flex-direction: column; }
.station-page { flex: 1; padding-bottom: clamp(3rem, 6vw, 5rem); }

.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 4px solid var(--amber); }

.board-bar {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.85rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 44px;
}

.brand .site-logo { display: block; width: auto; height: 3.5rem; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(1rem, 2.4vw, 2.2rem);
}

.site-nav a {
  display: inline-block;
  padding: 0.6rem 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: border-color 160ms ease, color 160ms ease;
}

.site-nav a:hover, .site-nav a:focus-visible { border-bottom-color: var(--amber); }

.site-menu { display: none; position: relative; }

.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.5rem 1rem;
  background: var(--amber);
  color: var(--ink);
  border-radius: 3px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.menu-label { white-space: nowrap; }

.menu-icon {
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink);
}

.site-menu[open] .menu-icon { box-shadow: none; }

.site-menu > ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 1rem;
  position: absolute;
  right: calc(-1 * var(--gutter));
  top: calc(100% + 0.85rem);
  width: min(22rem, 100vw);
  background: var(--board);
  border-top: 4px solid var(--amber);
  border-bottom: 4px solid var(--amber);
}

.site-menu > ul a {
  display: block;
  padding: 0.85rem var(--gutter);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--page);
  border-bottom: 1px solid var(--board-line);
}

.site-menu > ul a:hover { color: var(--amber); }

@media (max-width: 52rem) {
  .site-nav { display: none; }
  .site-menu { display: block; }
  .board-bar { gap: 0.75rem; padding-top: 0.6rem; padding-bottom: 0.6rem; }
  .brand .site-logo { height: 3rem; }
  .site-menu > summary { padding: 0.5rem 0.8rem; font-size: 1.05rem; }
  .site-menu > ul { top: calc(100% + 0.6rem); }
}

.breadcrumbs { max-width: var(--wide); margin: 0 auto; padding: 1rem var(--gutter) 0; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem 0.6rem; font-size: 0.9rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.6rem; color: var(--grey-green); }

.site-footer { border-top: 4px solid var(--amber); }

.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 2.4rem var(--gutter) 2rem;
  display: grid;
  gap: 1.6rem;
}

.footer-routes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 2rem;
}

.footer-routes a {
  display: inline-block;
  padding: 0.4rem 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
}

.footer-routes a:hover { text-decoration: underline; }

.footer-copy { font-size: 0.92rem; border-top: 1px solid var(--board-line); padding-top: 1.2rem; }

/* ---------- prose and photos ---------- */

.prose > * + *, .departures-body > * + * { margin-top: 1.1rem; }

.prose h2 {
  margin-top: 2.6rem;
  padding-left: 0.9rem;
  border-left: 6px solid var(--amber);
}

.prose h3 { margin-top: 2rem; }

.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: 0.4rem; }
.prose li::marker { color: var(--teal); }

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
}

.prose th, .prose td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose thead th { background: var(--board); color: var(--amber); font-family: var(--display); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }

.photo-hero, .photo-inline { margin: 0; }

.photo-hero img, .photo-inline img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 12px solid var(--board);
}

.departures-body > .photo-hero img { object-position: 50% 60%; }

.photo-inline { margin-top: 2rem; margin-bottom: 0.8rem; }

section[data-section][style] { padding: clamp(2rem, 6vw, 4.5rem) clamp(1rem, 4vw, 3rem); margin-top: 2.4rem; }
section[data-section][style] > .bg-surface-card { padding: clamp(1.2rem, 3vw, 2rem); border-top: 6px solid var(--board); }
section[data-section][style] > .bg-surface-card > * + * { margin-top: 1rem; }
section[data-section][style] h2 { margin-top: 0; }

/* ---------- home: departures ---------- */

.departures {
  display: grid;
  grid-template-columns:
    [full-start] minmax(var(--gutter), 1fr)
    [content-start] minmax(0, 36rem)
    [mid] minmax(0, 36rem)
    [content-end] minmax(var(--gutter), 1fr) [full-end];
  column-gap: 0;
}

.departures > * { grid-column: content; }
.departures-body { display: contents; }

.departures-body > * { grid-column: content; max-width: var(--measure); }
.departures-body > * + * { margin-top: 1.1rem; }
.departures-body > h2 {
  margin-top: 2.6rem;
  padding-left: 0.9rem;
  border-left: 6px solid var(--amber);
}

.departures-board { grid-column: full; grid-row: 1; }

.departures-head {
  grid-column: content-start / mid;
  grid-row: 1;
  align-self: stretch;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(0rem, 3vw, 2.5rem) clamp(2.5rem, 6vw, 5rem) 0;
}

.departures-title h1 {
  font-size: clamp(3.4rem, 7vw + 1rem, 7rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.deck {
  margin-top: 1.4rem;
  font-size: clamp(1.25rem, 0.8vw + 1rem, 1.55rem);
  line-height: 1.4;
  font-weight: 500;
  max-width: 30ch;
}

.deck-line { margin-top: 0.9rem; max-width: 44ch; }

.departures-body > .photo-hero {
  grid-column: mid / full-end;
  grid-row: 1;
  align-self: center;
  max-width: none;
  margin: clamp(1.5rem, 4vw, 3rem) 0;
}

.timetable-wrap { margin-top: clamp(2.5rem, 5vw, 4rem); }

.timetable {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  border-bottom: 4px solid var(--board);
}

.timetable thead th {
  text-align: left;
  padding: 0.7rem 1rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timetable tbody th, .timetable td {
  text-align: left;
  vertical-align: top;
  padding: 1.1rem 1rem;
  border-top: 1px solid var(--rule);
}


.route-link {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.45rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.calls { list-style: none; margin: 0; padding: 0; }
.calls li { position: relative; padding-left: 1.4rem; }
.calls li + li { margin-top: 0.35rem; }
.calls li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.62em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: 2px solid var(--teal);
}

.latest { margin-top: clamp(3rem, 6vw, 4.5rem); }

.latest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.ticket { border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; }

.ticket-head {
  padding: 0.45rem 1.1rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticket-title { padding: 1rem 1.1rem 0; font-size: 1.5rem; line-height: 1.1; }
.ticket-title a { text-decoration: none; }
.ticket-title a:hover { text-decoration: underline; }
.ticket-line { padding: 0.6rem 1.1rem 1.2rem; }

/* ---------- topic hub: platform ---------- */

.platform-head { padding: clamp(2rem, 5vw, 3.5rem) var(--gutter); margin-top: 1rem; }
.platform-head > * { max-width: var(--wide); margin: 0 auto; }

.platform-intro, .platform-rows { max-width: calc(var(--measure) + 2 * var(--gutter)); margin: 2.2rem auto 0; padding: 0 var(--gutter); }

.platform-rows { margin-top: 3rem; }
.rows-heading { margin-bottom: 0.8rem; }

.platform-rows ul { list-style: none; margin: 0; padding: 0; border-top: 4px solid var(--board); border-bottom: 4px solid var(--board); }
.platform-rows li { border-top: 1px solid var(--rule); }
.platform-rows li:first-child { border-top: 0; }
.platform-rows li a {
  display: block;
  padding: 1rem 0.2rem 1rem 1.1rem;
  border-left: 6px solid var(--amber);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.45rem;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 160ms ease;
}

.platform-rows li a:hover { background: var(--white); text-decoration: underline; }

/* ---------- article: route sheet ---------- */

.route-head, .route-body, .next { max-width: calc(var(--measure) + 2 * var(--gutter)); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.route-head { padding-top: clamp(1.8rem, 4vw, 3rem); padding-bottom: 1.4rem; border-bottom: 4px solid var(--board); margin-bottom: 1.8rem; }
.route-title h1 { text-transform: uppercase; }

.route-body > p:first-child, .route-body > .photo-hero + p {
  font-size: 1.25rem;
  line-height: 1.55;
  font-weight: 500;
  color: var(--ink);
}

.route-body > .photo-hero { margin-bottom: 1.6rem; }

.next { margin-top: 3.5rem; padding: 0; border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; }
.next-heading { padding: 0.8rem 1.2rem; font-size: 1.6rem; letter-spacing: 0.04em; text-transform: uppercase; }
.next-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.4rem 2rem; padding: 1.3rem 1.2rem 1.5rem; }
.next-route { font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: 0.03em; text-transform: uppercase; padding-bottom: 0.4rem; border-bottom: 3px solid var(--amber); }
.next-list { list-style: none; margin: 0.7rem 0 0; padding: 0; }
.next-list li + li { margin-top: 0.45rem; }

/* ---------- about: board page ---------- */

.master-head { padding: clamp(2rem, 5vw, 3.5rem) var(--gutter); margin-top: 1rem; }
.master-head > * { max-width: var(--measure); margin-left: auto; margin-right: auto; }
.master-title h1 { text-transform: uppercase; }

.master-body { max-width: calc(var(--measure) + 2 * var(--gutter)); margin: 2.2rem auto 0; padding-left: var(--gutter); padding-right: var(--gutter); }

.master-body > p:first-child { font-size: 1.2rem; line-height: 1.6; font-weight: 500; color: var(--ink); }

.master-body h2 {
  margin-top: 2.6rem;
  padding: 0.55rem 1rem;
  border-left: 0;
  border-radius: 3px;
  background: var(--amber);
  color: var(--ink);
  font-size: clamp(1.4rem, 1vw + 1.1rem, 1.9rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.master-body h2 + * { margin-top: 1rem; }

/* ---------- contact: ticket window ---------- */

.window-head, .window-body, .ticket-form { max-width: calc(48rem + 2 * var(--gutter)); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.window-head { padding-top: clamp(1.8rem, 4vw, 3rem); }
.window-title h1 { text-transform: uppercase; }
.window-intro { margin-top: 0.8rem; font-size: 1.2rem; font-weight: 500; }
.window-body { margin-top: 1.6rem; max-width: calc(var(--measure) + 2 * var(--gutter)); }

.ticket-form {
  margin-top: 2.4rem;
  padding: 0 0 1.8rem;
  max-width: 48rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
}

.form-strip { padding: 0.8rem 1.4rem; font-size: 1.5rem; letter-spacing: 0.05em; text-transform: uppercase; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem 1.4rem;
  padding: 1.6rem 1.4rem 0;
}

.field { display: grid; gap: 0.35rem; }
.field-wide { grid-column: 1 / -1; }

.field label { font-weight: 500; color: var(--ink); }
.req, .optional { font-weight: 400; color: var(--grey-green); font-size: 0.9rem; }

.field input, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--grey-green);
  border-radius: 3px;
  padding: 0.65rem 0.75rem;
  min-height: 48px;
}

.field textarea { resize: vertical; }

.form-submit {
  margin: 1.5rem 1.4rem 0;
  min-height: 48px;
  padding: 0.7rem 1.6rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--amber);
  border: 2px solid var(--ink);
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 160ms ease;
}

.form-submit:hover { background: #f8c95a; }

/* ---------- thank you and 404 ---------- */

.issued, .cancelled { max-width: calc(46rem + 2 * var(--gutter)); margin: 0 auto; padding: clamp(2rem, 5vw, 3.5rem) var(--gutter) 0; }

.issued-card, .cancelled-card { padding: clamp(1.6rem, 4vw, 2.6rem); border-radius: 4px; border-bottom: 6px solid var(--amber); }
.issued-card > * + *, .cancelled-card > * + * { margin-top: 1rem; }
.issued-check { display: block; }
.issued-title h1 { text-transform: uppercase; }
.issued-body > * + *, .cancelled-body > * + * { margin-top: 0.9rem; }
.issued-body > p:first-child { font-size: 1.2rem; font-weight: 500; }

.cancelled-status {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5vw + 1rem, 4.6rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.cancelled-title h1 { font-family: var(--text); font-weight: 500; font-size: 1.3rem; line-height: 1.4; color: var(--page); }

.chips { margin-top: 1.8rem; }
.chips-lead { margin-bottom: 0.8rem; font-weight: 500; }
.chips ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chips a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 1rem;
  border: 2px solid var(--amber);
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  background: var(--white);
  transition: background-color 160ms ease;
}

.chips a:hover { background: var(--amber); color: var(--ink); }

/* ---------- small screens ---------- */

@media (max-width: 52rem) {
  .departures-board { grid-row: 1 / 3; }
  .departures-head { grid-column: content; padding-right: 0; padding-bottom: 1.4rem; }
  .departures-body > .photo-hero { grid-column: content; grid-row: 2; margin: 0 0 2rem; }
  .latest-grid { grid-template-columns: minmax(0, 1fr); }
  .timetable thead th:last-child { display: none; }
  .timetable tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .timetable tbody td:last-child { grid-column: 1 / -1; border-top: 0; padding-top: 0; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
}

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