/* Brivant Tech: station board system
   Navy route boards, amber route discs (1 Build, 2 Partner, 3 Learn),
   Vantage Blue boarding buttons, Mist platform ground. Lists are board
   rows, process is a route line with stops. */

:root {
  --navy: #0A1F44;
  --navy-2: #12295A;
  --blue: #1E5EFF;
  --blue-deep: #1747D1;
  --amber: #F5A524;
  --amber-deep: #E39613;
  --mist: #F3F5F9;
  --slate: #4A5568;
  --white: #ffffff;
  --on-dark: rgba(255, 255, 255, 0.74);
  --on-dark-soft: rgba(255, 255, 255, 0.58);
  --rule-dark: rgba(255, 255, 255, 0.2);
  --rule-light: rgba(10, 31, 68, 0.16);
  --rule-strong: #0A1F44;

  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;

  --gutter: clamp(16px, 4.5vw, 64px);
  --max: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--white);
  color: var(--slate);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  caret-color: var(--blue);
}

::selection { background: var(--amber); color: var(--navy); }

html { scrollbar-color: var(--navy) var(--mist); }

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

a { color: inherit; text-underline-offset: 4px; }

h1, h2, h3 {
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
}

p { text-wrap: pretty; }

.num { font-variant-numeric: tabular-nums; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--navy);
}

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

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 1200;
  background: var(--amber); color: var(--navy);
  padding: 12px 18px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(var(--max), 100%); margin: 0 auto; }

/* ── Buttons ─────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 2px solid transparent; border-radius: 2px;
  font-family: var(--font-body); font-size: 15px; font-weight: 700;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-blue { background: var(--blue); border-color: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-deep); border-color: var(--blue-deep); }

.btn-sign { background: var(--amber); border-color: var(--amber); color: var(--navy); }
.btn-sign:hover { background: var(--amber-deep); border-color: var(--amber-deep); }

.btn-line { background: transparent; border-color: var(--rule-strong); color: var(--navy); }
.btn-line:hover { background: var(--navy); color: var(--white); }

.on-navy .btn-line { border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.on-navy .btn-line:hover { background: var(--white); color: var(--navy); }

.link {
  color: var(--blue); font-weight: 700;
  text-decoration: underline; text-decoration-thickness: 2px;
  text-decoration-color: rgba(30, 94, 255, 0.35);
}
.link:hover { text-decoration-color: var(--amber); }
.on-navy .link { color: var(--white); text-decoration-color: var(--amber); }

/* ── Route discs ─────────────────────────────────────────────────── */

.disc {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 56px; height: 56px; border-radius: 50%;
  border: 3px solid var(--amber); color: var(--amber);
  font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.disc.is-lit, .disc.solid { background: var(--amber); color: var(--navy); }
.disc.sm { width: 30px; height: 30px; border-width: 2px; font-size: 14px; }

.on-light .disc { background: var(--amber); color: var(--navy); }

/* ── Navigation ──────────────────────────────────────────────────── */

.topbar {
  position: sticky; top: 0; z-index: 900;
  background: var(--navy); color: var(--white);
  border-bottom: 1px solid var(--rule-dark);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 72px; padding: 0 var(--gutter);
  width: min(calc(var(--max) + 2 * var(--gutter)), 100%); margin: 0 auto;
}

.lockup { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.lockup svg { width: 40px; height: 40px; }
.lockup-text {
  display: flex; flex-direction: column;
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  letter-spacing: 0.06em; line-height: 1; text-transform: uppercase;
}
.lockup-text small {
  margin-top: 6px; font-family: var(--font-body); font-size: 11px; font-weight: 600;
  letter-spacing: 0.42em; color: var(--on-dark);
}

.menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.menu a {
  display: inline-flex; align-items: center; height: 44px; padding: 0 14px;
  color: var(--on-dark); font-size: 15px; font-weight: 600; text-decoration: none;
  text-decoration-thickness: 2px; text-underline-offset: 10px;
}
.menu a:hover { color: var(--white); text-decoration: underline; text-decoration-color: rgba(245, 165, 36, 0.5); }
.menu a[aria-current="page"] { color: var(--white); text-decoration: underline; text-decoration-color: var(--amber); }
.menu .menu-sign { margin-left: 10px; }
.menu .menu-sign a {
  height: 44px; padding: 0 18px; border-radius: 2px;
  background: var(--amber); color: var(--navy); font-weight: 700; text-decoration: none;
}
.menu .menu-sign a:hover { background: var(--amber-deep); color: var(--navy); }

.menu-toggle {
  display: none; width: 48px; height: 48px; border: 1px solid var(--rule-dark); border-radius: 2px;
  background: transparent; color: var(--white); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.menu-toggle span { width: 20px; height: 2px; background: currentColor; transition: transform 0.2s var(--ease), opacity 0.2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Boards (navy sections) ──────────────────────────────────────── */

.board {
  background: var(--navy); color: var(--on-dark);
  padding: clamp(48px, 7vw, 96px) var(--gutter);
}
.board h1, .board h2, .board h3 { color: var(--white); }

.board-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  letter-spacing: -0.035em; line-height: 1;
  color: var(--white); max-width: 15ch;
}
.board-title em { font-style: normal; }

/* Homepage station sign: the station's name over its departures */
.station-board { padding-top: clamp(32px, 4vw, 56px); }
.station-sign {
  display: flex; align-items: center; gap: clamp(14px, 2vw, 28px);
  color: var(--white); font-family: var(--font-display); font-weight: 800;
  text-transform: uppercase; line-height: 0.9; letter-spacing: 0.03em;
}
.station-sign svg { width: clamp(64px, 9vw, 128px); height: auto; flex-shrink: 0; }
.station-sign .sign-word { display: flex; flex-direction: column; font-size: clamp(2.9rem, 10.5vw, 9rem); }
.station-sign small {
  margin-top: 0.32em; font-family: var(--font-body); font-weight: 600; font-size: max(0.19em, 12px);
  letter-spacing: 0.62em; color: var(--on-dark);
}
.station-meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px;
  margin-top: clamp(18px, 2.4vw, 28px); padding-top: 14px; border-top: 1px solid var(--rule-dark);
  color: var(--on-dark-soft); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}
.board-question {
  margin-top: clamp(28px, 4vw, 48px); max-width: 22ch;
  color: var(--white); font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.8rem); letter-spacing: -0.03em; line-height: 1.08;
}
.board-question + .board-lede { margin-top: 12px; }

.board-lede {
  margin-top: 22px; max-width: 58ch;
  color: var(--on-dark); font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6;
}

/* Header row and route rows */
.timetable { margin-top: clamp(36px, 5vw, 56px); border-top: 3px solid var(--white); }

.timetable-head,
.route {
  display: grid;
  grid-template-columns: 88px minmax(0, 1.15fr) minmax(0, 1fr) 232px;
  align-items: center; column-gap: 24px;
}
.timetable-head {
  padding: 14px 0; border-bottom: 1px solid var(--rule-dark);
  color: var(--on-dark-soft); font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.timetable-head span:last-child { text-align: right; }

.routes { list-style: none; }
.route {
  position: relative;
  padding: 24px 0; border-bottom: 1px solid var(--rule-dark);
  transition: background 0.2s var(--ease);
}
.route:hover, .route:focus-within { background: var(--navy-2); }
.route:hover .disc, .route:focus-within .disc { background: var(--amber); color: var(--navy); }
.route-title { font-size: clamp(1.35rem, 2.4vw, 2.1rem); font-weight: 700; letter-spacing: -0.025em; }
.route-via { color: var(--on-dark); font-size: 1.02rem; }
.route .btn { justify-self: end; }
.route.no-disc, .timetable-head.no-disc { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) 232px; }
.route:hover .btn svg, .route:focus-within .btn svg { transform: translateX(4px); }

.timetable-note { margin-top: 18px; color: var(--on-dark-soft); font-size: 0.95rem; }
.timetable-note a { color: var(--white); font-weight: 700; }

/* Split-flap arrival: rows flip down once on load */
@media (prefers-reduced-motion: no-preference) {
  .js .flip {
    transform-origin: top center;
    animation: flap 0.7s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 110ms + 120ms);
  }
}
@keyframes flap {
  from { transform: perspective(900px) rotateX(-72deg); }
  to { transform: none; }
}

/* Route number set in the heading line */
.has-disc { display: flex; align-items: flex-start; gap: 0.32em; }
/* sizes are in the disc's own em: font-size 0.46 of the title, so 1.87em = 0.86 of the title */
.has-disc .disc { font-size: 0.46em; width: 1.87em; height: 1.87em; margin-top: 0.17em; border-width: 3px; }
.section-title.has-disc .disc { font-size: 0.5em; width: 2em; height: 2em; margin-top: 0.05em; }

/* ── Page tops ───────────────────────────────────────────────────── */

.page-top { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.page-top .board-title { font-size: clamp(2.4rem, 5.6vw, 4.6rem); max-width: 18ch; }
.page-top-grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(32px, 5vw, 72px); align-items: end;
}
.page-top-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.page-top-media img { width: 100%; max-height: 520px; object-fit: cover; object-position: top center; border-radius: 2px; }

/* ── Light sections ──────────────────────────────────────────────── */

.platform { background: var(--mist); padding: clamp(56px, 8vw, 112px) var(--gutter); }
.plain { background: var(--white); padding: clamp(56px, 8vw, 112px) var(--gutter); }

.section-head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 16px 32px; padding-bottom: 20px; border-bottom: 3px solid var(--navy);
}
.section-title { font-size: clamp(1.8rem, 3.6vw, 3rem); letter-spacing: -0.03em; max-width: 22ch; }
.section-sub { margin-top: 12px; max-width: 60ch; color: var(--slate); font-size: 1.05rem; }
.board .section-head { border-bottom-color: var(--white); }
.board .section-sub { color: var(--on-dark); }

/* ── Departures: project rows ────────────────────────────────────── */

.departures { list-style: none; }
.dep {
  display: grid;
  grid-template-columns: 168px minmax(0, 0.9fr) minmax(0, 1.3fr) 150px;
  align-items: center; column-gap: 28px;
  padding: 18px 0; border-bottom: 1px solid var(--rule-light);
}
.dep[hidden] { display: none; }
.dep-shot {
  aspect-ratio: 16 / 10; overflow: hidden; border-radius: 2px;
  background: var(--mist); border: 1px solid var(--rule-light);
}
.dep-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.dep-name h3 { font-size: 1.2rem; }
.dep-line {
  display: block; margin-top: 4px; color: var(--slate);
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.dep-what { color: var(--slate); font-size: 0.97rem; }
.dep-status { justify-self: end; font-size: 0.92rem; }
.dep-status .link { white-space: nowrap; }
.dep-status span { color: var(--slate); font-weight: 600; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.filters button {
  min-height: 44px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 2px;
  background: transparent; color: var(--white); font: 600 15px var(--font-body); cursor: pointer;
}
.filters button:hover { border-color: var(--white); }
.filters button[aria-pressed="true"] { background: var(--white); border-color: var(--white); color: var(--navy); }
.filters button .num { margin-left: 6px; color: inherit; opacity: 0.7; }

.more { margin-top: 28px; }

/* ── Feature: media + copy ───────────────────────────────────────── */

.feature {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 88px); align-items: start; margin-top: 48px;
}
.feature.reverse { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.feature.reverse .feature-media { order: 2; }
/* Portrait (9:16) video beside copy: the media column is the frame's own width */
.feature.has-tall { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); align-items: center; }
.feature.has-tall.compact { grid-template-columns: minmax(0, 248px) minmax(0, 1fr); }
.frame.wide.crop-top { aspect-ratio: 16 / 7; }
.frame.crop-top > img { object-position: center 22%; }
.feature-copy h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -0.025em; }
.feature-copy p { margin-top: 14px; max-width: 56ch; font-size: 1.05rem; }
.feature-copy .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.frame { position: relative; overflow: hidden; border-radius: 2px; background: var(--navy); color: var(--white); }
.frame.tall { aspect-ratio: 9 / 16; max-height: 600px; }
.frame.wide { aspect-ratio: 16 / 10; }
.frame.portrait { aspect-ratio: 4 / 5; }
.frame video, .frame > img { width: 100%; height: 100%; object-fit: cover; }

.play {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer;
  background: transparent;
  display: flex; align-items: flex-end; justify-content: flex-start; padding: 20px;
}
.play span {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px;
  background: var(--white); color: var(--navy); font: 700 15px var(--font-body); border-radius: 2px;
}
.play span svg { width: 16px; height: 16px; }
.playing .play { display: none; }

/* Points list (plain rows, no cards) */
.points { list-style: none; margin-top: 24px; border-top: 1px solid var(--rule-light); }
.points li { padding: 14px 0; border-bottom: 1px solid var(--rule-light); }
.points strong { display: block; color: var(--navy); font-weight: 700; }
.board .points { border-top-color: var(--rule-dark); }
.board .points li { border-bottom-color: var(--rule-dark); }
.board .points strong { color: var(--white); }

/* Video row: portrait lessons side by side, read across like a timetable */
.reel { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.reel .frame.tall { max-height: none; }
.reel h3 { margin-top: 16px; font-size: 1.15rem; }
.reel p { margin-top: 6px; font-size: 0.95rem; }
.reel + .feature { margin-top: 64px; }

/* ── Route line (process) ────────────────────────────────────────── */

.line {
  list-style: none; position: relative;
  display: grid; grid-template-columns: repeat(var(--stops, 4), minmax(0, 1fr));
  gap: 32px; margin-top: 48px;
}
.line::before {
  content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 4px;
  background: var(--navy);
}
.board .line::before { background: var(--white); }
.stop { position: relative; padding-top: 48px; }
.stop-dot {
  position: absolute; top: 0; left: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--white); border: 4px solid var(--navy);
}
.board .stop-dot { background: var(--navy); border-color: var(--white); }
.stop h3 { font-size: 1.2rem; }
.stop p { margin-top: 8px; font-size: 0.97rem; }

/* ── Services timetable ──────────────────────────────────────────── */

.svc-line + .svc-line { margin-top: clamp(56px, 7vw, 88px); }
.svc-rows { list-style: none; }
.svc {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr) minmax(0, 0.8fr);
  column-gap: 32px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--rule-light);
  scroll-margin-top: 96px;
}
.svc h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
.svc p { font-size: 1rem; }
.svc .svc-eg { justify-self: end; text-align: right; font-size: 0.92rem; }
.svc:target h3 { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 3px; }

/* ── People ──────────────────────────────────────────────────────── */

.crew { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 40px; }
.crew img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; border-radius: 2px; }
.crew h3 { margin-top: 16px; font-size: 1.25rem; }
.crew .role {
  display: block; margin-top: 6px; color: var(--slate);
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.crew p { margin-top: 8px; font-size: 0.97rem; }

.driver { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 88px); align-items: center; margin-top: 48px; }
.driver img { width: 100%; max-height: 560px; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; border-radius: 2px; }
.driver blockquote { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: clamp(1.5rem, 2.8vw, 2.4rem); letter-spacing: -0.025em; line-height: 1.3; }
.driver p { margin-top: 18px; max-width: 56ch; font-size: 1.05rem; }
.driver .actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }

.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; list-style: none; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 1px solid var(--rule-dark); border-radius: 2px; color: var(--white);
}
.socials a:hover { border-color: var(--amber); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.on-light .socials a { border-color: var(--rule-light); color: var(--navy); }

/* ── Gallery + lightbox ──────────────────────────────────────────── */

.gallery { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.gallery a { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 2px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.gallery a:hover img { transform: scale(1.04); }

.lightbox {
  position: fixed; inset: 0; z-index: 1300; display: flex; align-items: center; justify-content: center;
  padding: 24px 72px; background: rgba(7, 22, 49, 0.95);
}
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: min(1100px, 100%); text-align: center; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; }
.lightbox figcaption { margin-top: 14px; color: var(--on-dark); }
.lightbox button {
  position: absolute; width: 48px; height: 48px; border: 1px solid var(--rule-dark); border-radius: 2px;
  background: transparent; color: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lightbox button svg { width: 20px; height: 20px; }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ── Contact: route picker ───────────────────────────────────────── */

.picker { margin-top: 36px; border-top: 3px solid var(--white); padding-top: 24px; }
.picker fieldset { border: 0; }
.picker legend {
  margin-bottom: 14px; color: var(--on-dark-soft); font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { position: relative; }
.choices input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choices span {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 2px;
  color: var(--white); font-weight: 600; cursor: pointer;
}
.choices input:checked + span { background: var(--white); border-color: var(--white); color: var(--navy); }
.choices input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.picker label.note { display: block; margin-top: 22px; color: var(--on-dark-soft); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.picker textarea {
  display: block; width: 100%; max-width: 720px; min-height: 96px; margin-top: 10px; padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 2px; background: var(--navy-2);
  color: var(--white); font: 1rem/1.5 var(--font-body); resize: vertical;
}
.picker textarea::placeholder { color: var(--on-dark-soft); }
.picker .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 22px; }
.picker .hint { color: var(--on-dark-soft); font-size: 0.92rem; }

.channels { list-style: none; border-top: 3px solid var(--navy); }
.channel {
  display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; align-items: center; column-gap: 24px;
  padding: 20px 0; border-bottom: 1px solid var(--rule-light);
}
.channel dt, .channel .ch-k { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); }
.channel .ch-note { color: var(--slate); font-size: 0.92rem; }
.channel .ch-v { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--navy); overflow-wrap: anywhere; }

/* ── Station footer ──────────────────────────────────────────────── */

.station { background: var(--navy); color: var(--on-dark); padding: clamp(56px, 7vw, 88px) var(--gutter) 28px; border-top: 1px solid var(--rule-dark); }
.station-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 36px; border-bottom: 1px solid var(--rule-dark); }
.station-top p { margin-top: 14px; max-width: 46ch; }
.station-routes {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.2fr);
  gap: 32px; padding: 36px 0; border-bottom: 1px solid var(--rule-dark);
}
.station-routes h2 {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: 1rem; letter-spacing: 0; color: var(--white);
}
.station-routes ul { list-style: none; display: grid; gap: 8px; }
.station-routes a { color: var(--on-dark); text-decoration: none; }
.station-routes a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--amber); }
.station-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; color: var(--on-dark-soft); font-size: 0.9rem; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 800;
  width: 56px; height: 56px; border-radius: 50%; background: var(--blue);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(10, 31, 68, 0.28);
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float.is-hidden { opacity: 0; visibility: hidden; transform: scale(0.85); }

/* ── Responsive ──────────────────────────────────────────────────── */

@media (max-width: 1080px) {
  .menu a { padding: 0 10px; }
  .station-routes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dep { grid-template-columns: 140px minmax(0, 1fr) minmax(0, 1.2fr); }
  .dep-status { grid-column: 2 / -1; justify-self: start; margin-top: 8px; }
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .menu {
    display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0; overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px; background: var(--navy); border-bottom: 1px solid var(--rule-dark);
  }
  .menu.open { display: flex; }
  .menu li { border-bottom: 1px solid var(--rule-dark); }
  .menu a { height: 52px; font-size: 1.05rem; }
  .menu .menu-sign { margin: 16px 0 0; border: 0; }
  .menu .menu-sign a { width: 100%; justify-content: center; }

  .page-top-grid, .feature, .feature.reverse, .driver { grid-template-columns: minmax(0, 1fr); }
  .feature.reverse .feature-media { order: 0; }
  .feature.has-tall, .feature.has-tall.compact { grid-template-columns: minmax(0, 1fr); }
  .feature.has-tall .frame.tall { max-width: 360px; }
  .crew { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .reel .play { padding: 10px; }
  .reel .play span { min-height: 40px; padding: 0 12px; font-size: 14px; }
  .svc { grid-template-columns: minmax(0, 1fr); row-gap: 6px; }
  .svc .svc-eg { justify-self: start; text-align: left; }
}

@media (max-width: 760px) {
  .board:first-child { padding-top: 32px; }
  .board-lede { margin-top: 14px; }
  .timetable { margin-top: 24px; }
  .timetable-head { display: none; }
  .route { grid-template-columns: 48px minmax(0, 1fr); row-gap: 8px; column-gap: 14px; padding: 16px 0; align-items: start; }
  .route .disc { width: 44px; height: 44px; font-size: 20px; }
  .route .disc { grid-row: 1 / span 2; }
  .route-via { grid-column: 2; }
  .route .btn { grid-column: 1 / -1; justify-self: stretch; margin-top: 6px; }
  .route.no-disc { grid-template-columns: minmax(0, 1fr); }
  .route.no-disc .route-via { grid-column: 1; }
  .driver img { max-height: 440px; }

  .dep { grid-template-columns: 112px minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .dep-what { grid-column: 1 / -1; margin-top: 10px; }
  .dep-status { grid-column: 1 / -1; }

  .line { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .line::before { left: 13px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; }
  .stop { padding: 0 0 28px 52px; }
  .stop-dot { top: 0; }

  .channel { grid-template-columns: minmax(0, 1fr); row-gap: 6px; }
  .channel .btn { justify-self: start; }
}

@media (max-width: 520px) {
  .crew { grid-template-columns: minmax(0, 1fr); }
  .station-routes { grid-template-columns: minmax(0, 1fr); }
  .page-top-actions .btn, .feature-copy .actions .btn, .driver .actions .btn { width: 100%; }
  .lockup-text { font-size: 17px; }
  .lockup svg { width: 36px; height: 36px; }
  .lightbox { padding: 64px 12px; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 16px; transform: none; }
}

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