/* ═══════════════════ TOKENS ═══════════════════ */
:root {
  --paper: #F1ECE0; --paper-2: #E8E1D0; --paper-hi: #FAF6EC;
  --ink: #1B2E22; --ink-2: #2B2B2B; --mute: #6B6A5E;
  --yellow: #F5C400; --yellow-2: #FFD633; --yellow-soft: #FFF4C7;
  --line: rgba(27,46,34,0.16); --line-soft: rgba(27,46,34,0.08);
  --grid: rgba(27,46,34,0.05);
  --line-north: #1B2E22;
  --line-inner: #C25B3A;
  --line-brimbank: #6F8E5E;
  --line-outer: #B88A2A;
  --ff-display: 'Poppins', system-ui, sans-serif;
  --ff-body: 'Inter', system-ui, -apple-system, sans-serif;
  --ff-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --snap: cubic-bezier(0.19, 1, 0.22, 1);
  --pad: clamp(1.25rem, 4vw, 4rem);
  --sec-y: clamp(4rem, 8vw, 8rem);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body); color: var(--ink-2); line-height: 1.5; font-size: 16px;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
  background-color: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ═══════════════════ SHARED HEADER ═══════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 1rem var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  background: rgba(241,236,224,0.85); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--snap), border-color .3s;
}
.site-header.scrolled { background: rgba(241,236,224,0.97); border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: .65rem; line-height: 1; }
.brand-mark { width: 42px; height: 30px; flex-shrink: 0; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text {
  font-family: var(--ff-display); font-weight: 800; font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  letter-spacing: -.035em; color: var(--ink-2); display: inline-flex; align-items: baseline;
}
.brand-text .skip { color: var(--yellow); }
.brand-tag {
  display: block; font-family: var(--ff-body); font-weight: 700;
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--yellow); margin-top: 3px;
}
.nav { display: flex; gap: 1.75rem; align-items: center; }
.nav a {
  font-family: var(--ff-body); font-weight: 600; font-size: .82rem;
  color: var(--ink-2); opacity: .72; transition: opacity .2s; position: relative; padding: .3rem 0;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--yellow);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--snap);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: .75rem; }
.tel {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--ff-display); font-weight: 700; font-size: .9rem; color: var(--ink);
  padding: .6rem .9rem; border-radius: 100px; transition: background .2s;
}
.tel:hover { background: var(--yellow-soft); }
.tel svg { width: 15px; height: 15px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--ff-display); font-weight: 700; font-size: .82rem;
  padding: .85rem 1.4rem; border-radius: 100px; border: 2px solid transparent;
  transition: background .2s, color .2s, transform .2s var(--snap), border-color .2s, box-shadow .25s;
  white-space: nowrap; cursor: pointer;
}
.btn svg { width: 12px; height: 12px; transition: transform .3s var(--snap); }
.btn:hover svg { transform: translateX(3px); }
.btn-yellow { background: var(--yellow); color: var(--ink); border-color: var(--yellow); box-shadow: 0 6px 18px -6px rgba(245,196,0,.6); }
.btn-yellow:hover { background: var(--yellow-2); border-color: var(--yellow-2); transform: translateY(-1px); }
.btn-forest { background: var(--ink); color: var(--paper-hi); border-color: var(--ink); }
.btn-forest:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: currentColor; border-color: currentColor; }
.btn-ghost:hover { background: currentColor; color: var(--paper-hi); }
.btn-lg { padding: 1.1rem 1.75rem; font-size: .86rem; }
.btn-xl { padding: 1.25rem 2rem; font-size: .9rem; }

.nav .dd { position: relative; }
.nav .dd > button {
  font-family: var(--ff-body); font-weight: 600; font-size: .82rem;
  color: var(--ink-2); opacity: .72; padding: .3rem 0;
  display: inline-flex; align-items: center; gap: .3rem;
}
.nav .dd > button::after { content: '▾'; font-size: .7rem; }
.nav .dd:hover > button, .nav .dd:focus-within > button { opacity: 1; }
.dd-menu {
  position: absolute; top: 100%; left: -1rem; min-width: 230px;
  background: var(--paper-hi); border: 1.5px solid var(--line); padding: .5rem; margin-top: .5rem;
  box-shadow: 0 20px 40px -20px rgba(27,46,34,.35);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .25s var(--snap), visibility .2s;
}
.nav .dd:hover .dd-menu, .nav .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a { display: block; padding: .6rem .8rem; border-radius: 8px; opacity: 1; }
.dd-menu a::after { display: none; }
.dd-menu a:hover { background: var(--yellow-soft); }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--paper-hi); align-items: center; justify-content: center; }
.burger svg { width: 18px; height: 18px; }
.mnav {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--ink); color: var(--paper-hi);
  padding: 5.5rem var(--pad) 2rem;
  display: flex; flex-direction: column; gap: .25rem;
  transform: translateX(100%); transition: transform .35s var(--snap); overflow-y: auto;
}
.mnav.open { transform: none; }
.mnav a { font-family: var(--ff-display); font-weight: 700; font-size: 1.25rem; padding: .75rem 0; border-bottom: 1px solid rgba(241,236,224,.14); }
.mnav .sub a { font-family: var(--ff-body); font-weight: 600; font-size: 1rem; padding-left: 1rem; color: rgba(241,236,224,.8); }
.mnav-close { position: absolute; top: 1rem; right: var(--pad); width: 42px; height: 42px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.mnav-close svg { width: 16px; height: 16px; }
.mnav .btn { margin-top: 1.5rem; }
.mbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 890;
  background: var(--ink); padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
  gap: .6rem; box-shadow: 0 -10px 30px -10px rgba(0,0,0,.3);
}
.mbar .btn { flex: 1; padding: .95rem 1rem; font-size: .9rem; }

/* ═══════════════════ SECTION SCAFFOLDING ═══════════════════ */
section { padding: var(--sec-y) var(--pad); position: relative; }
.shell { max-width: 1560px; margin: 0 auto; }
.sec-head {
  display: grid; grid-template-columns: minmax(120px, 180px) 1fr;
  gap: clamp(1.5rem, 4vw, 4rem); padding-bottom: 2rem;
  border-bottom: 2px solid var(--ink); margin-bottom: clamp(2.5rem, 5vw, 4.5rem); align-items: end;
}
.sec-tag {
  font-family: var(--ff-mono); font-weight: 600; font-size: .68rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink); padding-bottom: .35rem;
  display: inline-flex; align-items: center; gap: .6rem;
}
.sec-tag::before { content: ''; width: 8px; height: 8px; background: var(--yellow); }
.sec-title { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: end; }
.h2 {
  font-family: var(--ff-display); font-weight: 800;
  font-size: clamp(1.9rem, 4.6vw, 4.25rem); line-height: .98; letter-spacing: -.035em;
  color: var(--ink); text-wrap: balance;
}
.h2 em { font-style: normal; background: var(--yellow); padding: 0 .12em; }
.lede {
  font-family: var(--ff-body); font-weight: 500; font-size: .98rem; line-height: 1.6;
  color: rgba(43,43,43,.72); max-width: 42ch;
}
.lede strong { color: var(--ink); font-weight: 700; }

/* Corner crop-marks — parent signature */
.crop { position: relative; }
.crop::before, .crop::after {
  content: ''; position: absolute; width: 16px; height: 16px;
  border: 2px solid var(--ink); pointer-events: none; z-index: 5;
}
.crop::before { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.crop::after { bottom: -2px; right: -2px; border-left: none; border-top: none; }
.crop--inner::before { top: 10px; left: 10px; }
.crop--inner::after { bottom: 10px; right: 10px; }

/* ═══════════════════ HERO — DEPARTURE BOARD ═══════════════════ */
.masthead {
  background: var(--ink); color: var(--paper-hi);
  padding: 8.5rem var(--pad) 0;
  position: relative; overflow: hidden;
}
.masthead::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(241,236,224,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241,236,224,.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.masthead-inner { max-width: 1560px; margin: 0 auto; position: relative; z-index: 2; }

.masthead-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(241,236,224,.16);
}
.masthead-kicker {
  font-family: var(--ff-mono); font-weight: 700; font-size: .72rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--yellow);
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.5rem;
}
.masthead-kicker::before { content: ''; width: 8px; height: 8px; background: var(--yellow); }
.masthead h1 {
  font-family: var(--ff-display); font-weight: 900;
  font-size: clamp(2.3rem, 5.8vw, 5.5rem); line-height: .94; letter-spacing: -.04em;
  color: var(--paper-hi); margin-bottom: 1.5rem; text-wrap: balance;
}
.masthead h1 em { font-style: normal; color: var(--yellow); position: relative; }
.masthead h1 em::after {
  content: ''; position: absolute; left: -.02em; right: -.02em; bottom: .06em;
  height: .05em; background: var(--yellow); opacity: .5;
}
.masthead-sub {
  font-family: var(--ff-body); font-weight: 500;
  font-size: clamp(1rem, 1.15vw, 1.1rem); line-height: 1.6;
  color: rgba(241,236,224,.78); max-width: 52ch; margin-bottom: 2rem;
}
.masthead-sub strong { color: var(--paper-hi); font-weight: 700; }
.masthead-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.masthead-actions .btn-ghost { color: var(--paper-hi); border-color: rgba(241,236,224,.35); }
.masthead-actions .btn-ghost:hover { background: var(--paper-hi); color: var(--ink); border-color: var(--paper-hi); }

/* ── Departure board ── */
.board {
  background: #0F1F17;
  border: 2px solid rgba(241,236,224,.2);
  position: relative; overflow: hidden;
}
.board::before { content: ''; position: absolute; top: -2px; left: -2px; width: 18px; height: 18px; border: 2px solid var(--yellow); border-right: none; border-bottom: none; z-index: 3; }
.board::after { content: ''; position: absolute; bottom: -2px; right: -2px; width: 18px; height: 18px; border: 2px solid var(--yellow); border-left: none; border-top: none; z-index: 3; }

.board__top {
  display: flex; justify-content: space-between; align-items: center;
  padding: .9rem 1.25rem;
  background: rgba(0,0,0,.35);
  border-bottom: 1px solid rgba(241,236,224,.12);
  font-family: var(--ff-mono); font-weight: 600; font-size: .65rem;
  letter-spacing: .16em; text-transform: uppercase;
}
.board__label { color: rgba(241,236,224,.55); display: inline-flex; align-items: center; gap: .5rem; }
.board__label::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: #6FDD8F; box-shadow: 0 0 0 3px rgba(111,221,143,.25);
  animation: boardPulse 1.8s infinite;
}
@keyframes boardPulse { 50% { opacity: .4; } }
.board__clock { color: var(--yellow); font-weight: 700; }

.board__tabs {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid rgba(241,236,224,.12);
}
.board__tab {
  padding: .85rem .5rem;
  font-family: var(--ff-mono); font-weight: 700; font-size: .6rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(241,236,224,.5);
  border-right: 1px solid rgba(241,236,224,.1);
  border-bottom: 2px solid transparent;
  transition: color .2s, background .2s, border-color .2s;
  position: relative;
}
.board__tab:last-child { border-right: none; }
.board__tab:hover { color: var(--paper-hi); background: rgba(241,236,224,.04); }
.board__tab[aria-selected="true"] {
  color: var(--paper-hi);
  background: rgba(245,196,0,.08);
  border-bottom-color: var(--yellow);
}
.board__tab::before {
  content: ''; display: block;
  width: 8px; height: 2px; margin: 0 auto .5rem;
  background: rgba(241,236,224,.3);
}
.board__tab[data-line="north"]::before { background: #FFFFFF; }
.board__tab[data-line="inner"]::before { background: var(--line-inner); }
.board__tab[data-line="brimbank"]::before { background: var(--line-brimbank); }
.board__tab[data-line="outer"]::before { background: var(--line-outer); }
.board__tab[aria-selected="true"]::before { height: 3px; width: 20px; }

.board__display { padding: 1.5rem 1.5rem 1.25rem; }
.board__line-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed rgba(241,236,224,.18);
}
.board__code {
  font-family: var(--ff-mono); font-weight: 700; font-size: .62rem;
  letter-spacing: .16em; text-transform: uppercase; color: rgba(241,236,224,.45);
}
.board__name {
  font-family: var(--ff-display); font-weight: 800; font-size: 1.2rem;
  letter-spacing: -.02em; color: var(--paper-hi);
}
.board__status {
  font-family: var(--ff-mono); font-weight: 700; font-size: .58rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: #6FDD8F;
  padding: .3rem .6rem; background: rgba(111,221,143,.12);
  border: 1px solid rgba(111,221,143,.35);
}
.board__calling { margin-bottom: 1.25rem; }
.board__calling-label {
  display: block; font-family: var(--ff-mono); font-weight: 600; font-size: .58rem;
  letter-spacing: .18em; text-transform: uppercase; color: rgba(241,236,224,.42);
  margin-bottom: .7rem;
}
.board__calling-list {
  display: flex; flex-wrap: wrap; gap: .35rem .55rem;
  min-height: 60px;
}
.board__station {
  font-family: var(--ff-mono); font-weight: 600; font-size: .78rem;
  color: var(--paper-hi); padding: .3rem .55rem;
  background: rgba(241,236,224,.07); border: 1px solid rgba(241,236,224,.14);
  transition: background .2s, border-color .2s, color .2s, transform .2s;
  animation: stationIn .3s var(--snap) both;
}
.board__station:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); transform: translateY(-1px); }
@keyframes stationIn { from { opacity: 0; transform: translateY(4px); } }

.board__cutoff {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  padding: .9rem 1rem;
  background: rgba(245,196,0,.1);
  border: 1px solid rgba(245,196,0,.3);
}
.board__cutoff-label {
  font-family: var(--ff-mono); font-weight: 600; font-size: .58rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--yellow);
}
.board__cutoff-time {
  font-family: var(--ff-display); font-weight: 800; font-size: 1.15rem;
  color: var(--paper-hi); letter-spacing: -.01em; margin-left: auto;
}
.board__cutoff-remaining {
  font-family: var(--ff-mono); font-weight: 600; font-size: .68rem;
  color: var(--paper-hi); padding: .25rem .55rem;
  background: var(--yellow); color: var(--ink);
}

/* ── Photo strip ── */
.masthead-photos {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  padding: 2rem 0 2.5rem;
}
.masthead-photo {
  aspect-ratio: 5/3; overflow: hidden;
  background: rgba(241,236,224,.06);
  position: relative;
}
.masthead-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.85); transition: filter .5s, transform .8s var(--snap); }
.masthead-photo:hover img { filter: saturate(1) brightness(1); transform: scale(1.05); }
.masthead-photo__tag {
  position: absolute; bottom: 0; left: 0;
  background: rgba(15,31,23,.85); color: var(--yellow);
  font-family: var(--ff-mono); font-weight: 700; font-size: .58rem;
  letter-spacing: .14em; text-transform: uppercase;
  padding: .45rem .7rem;
  backdrop-filter: blur(4px);
}

/* ═══════════════════ JUMP NAV ═══════════════════ */
.jump {
  position: sticky; top: 72px; z-index: 800;
  background: rgba(241,236,224,.96); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line);
}
.jump-inner {
  max-width: 1560px; margin: 0 auto; padding: .7rem var(--pad);
  display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none;
}
.jump-inner::-webkit-scrollbar { display: none; }
.jump a {
  flex-shrink: 0; font-family: var(--ff-mono); font-weight: 600; font-size: .7rem;
  letter-spacing: .08em; text-transform: uppercase; padding: .5rem .9rem;
  color: var(--mute); transition: background .2s, color .2s; white-space: nowrap;
}
.jump a:hover { background: var(--paper-2); color: var(--ink); }
.jump a.on { background: var(--ink); color: var(--paper-hi); }

/* ═══════════════════ NETWORK POSTER ═══════════════════ */
#network { background: var(--paper); }
.network-frame {
  border: 2px solid var(--ink); background: var(--paper-hi);
  position: relative;
}
.network-frame__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 1.25rem; border-bottom: 1.5px solid var(--ink);
  background: var(--paper-2);
  font-family: var(--ff-mono); font-weight: 600; font-size: .68rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
}
.network-frame__bar span:last-child { color: var(--mute); }
.network-frame__canvas {
  overflow-x: auto; overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  background: var(--paper-hi);
}
.network-svg { display: block; width: 100%; height: auto; min-width: 1000px; }

/* SVG station hover state */
.network-svg .stn-circle { transition: r .25s var(--snap), filter .25s; cursor: pointer; }
.network-svg .stn-name { transition: fill .2s, font-weight .2s; pointer-events: none; }
.network-svg .stn-link { cursor: pointer; }
.network-svg .stn-link:hover .stn-circle,
.network-svg .stn-link:focus .stn-circle { r: 14; filter: drop-shadow(0 0 0 3px rgba(245,196,0,.6)); }
.network-svg .stn-link:hover .stn-name,
.network-svg .stn-link:focus .stn-name { fill: #0F1F17; font-weight: 800; }
.network-svg .line-group { transition: opacity .25s; }
.network-svg[data-highlight="north"] .line-group:not([data-line="north"]),
.network-svg[data-highlight="inner"] .line-group:not([data-line="inner"]),
.network-svg[data-highlight="brimbank"] .line-group:not([data-line="brimbank"]),
.network-svg[data-highlight="outer"] .line-group:not([data-line="outer"]) { opacity: .22; }

.network-frame__foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 1.25rem; border-top: 1.5px solid var(--ink);
  background: var(--paper-2);
  font-family: var(--ff-mono); font-weight: 600; font-size: .68rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--mute);
  flex-wrap: wrap; gap: .5rem;
}
.network-frame__foot b { color: var(--ink); }

/* Line legend under the poster */
.network-legend {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem; margin-top: 1.5rem;
}
.legend-key {
  display: flex; align-items: center; gap: .85rem;
  padding: 1rem 1.1rem;
  background: var(--paper-hi); border: 1.5px solid var(--line);
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s var(--snap);
  text-align: left;
}
.legend-key:hover { transform: translateY(-2px); border-color: var(--ink); }
.legend-key[aria-pressed="true"] { border-color: var(--ink); background: var(--paper-2); }
.legend-key__swatch {
  flex-shrink: 0; width: 30px; height: 5px;
  background: var(--swatch, var(--ink));
  border-radius: 3px;
}
.legend-key__text { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.legend-key__name {
  font-family: var(--ff-display); font-weight: 800; font-size: .9rem;
  letter-spacing: -.01em; color: var(--ink); line-height: 1.15;
}
.legend-key__meta {
  font-family: var(--ff-mono); font-weight: 600; font-size: .58rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--mute);
}

/* ═══════════════════ FINDER ═══════════════════ */
#finder { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.finder-wrap {
  max-width: 900px; margin: 0 auto; text-align: center;
}
.finder-head {
  font-family: var(--ff-mono); font-weight: 700; font-size: .72rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--mute);
  margin-bottom: 1rem; display: inline-flex; align-items: center; gap: .5rem;
}
.finder-head::before { content: ''; width: 8px; height: 8px; background: var(--yellow); }
.finder-title {
  font-family: var(--ff-display); font-weight: 800;
  font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.05; letter-spacing: -.035em;
  color: var(--ink); margin-bottom: 1.5rem;
}
.finder-form {
  display: flex; align-items: stretch;
  background: var(--paper-hi); border: 2px solid var(--ink);
  max-width: 640px; margin: 0 auto; position: relative;
}
.finder-form input {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  font-family: var(--ff-body); font-weight: 600; font-size: 1rem;
  padding: 1.1rem 1.25rem; color: var(--ink);
}
.finder-form input::placeholder { font-weight: 500; color: rgba(107,106,94,.6); }
.finder-form button {
  flex-shrink: 0; background: var(--ink); color: var(--paper-hi);
  font-family: var(--ff-display); font-weight: 700; font-size: .86rem;
  padding: 0 1.5rem; display: inline-flex; align-items: center; gap: .4rem;
  transition: background .2s, color .2s;
}
.finder-form button:hover { background: var(--yellow); color: var(--ink); }
.finder-form button svg { width: 12px; height: 12px; }
.finder-hint {
  font-family: var(--ff-body); font-weight: 500; font-size: .88rem;
  color: var(--mute); margin-top: 1rem;
}
.finder-hint b { color: var(--ink); }

/* ═══════════════════ LINES SECTION ═══════════════════ */
#line-cards { background: var(--paper); }
.line-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}
.line-card {
  border: 1.5px solid var(--ink); background: var(--paper-hi);
  display: flex; flex-direction: column; position: relative;
}
.line-card.is-hidden { display: none; }
.line-card__head {
  background: var(--line-color, var(--ink));
  color: var(--paper-hi);
  padding: 1.35rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.line-card__name {
  font-family: var(--ff-display); font-weight: 800;
  font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.1;
}
.line-card__councils {
  display: block; font-family: var(--ff-mono); font-weight: 600;
  font-size: .6rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(250,246,236,.72); margin-top: .35rem;
}
.line-card__count {
  flex-shrink: 0; font-family: var(--ff-mono); font-weight: 700; font-size: .62rem;
  letter-spacing: .14em; text-transform: uppercase;
  background: rgba(250,246,236,.2); padding: .4rem .7rem;
}
.line-card__body { padding: 1.75rem 1.75rem 1.5rem; flex: 1; }
.line-card__desc {
  font-family: var(--ff-body); font-weight: 500; font-size: .9rem;
  line-height: 1.6; color: rgba(43,43,43,.72);
  padding-bottom: 1.5rem; margin-bottom: 1.5rem;
  border-bottom: 1px dashed var(--line);
}
.stations { position: relative; }
.stations::before {
  content: ''; position: absolute;
  left: 15px; top: 22px; bottom: 22px; width: 6px;
  background: var(--line-color, var(--ink)); border-radius: 3px;
}
.station {
  display: flex; align-items: center; gap: 1rem;
  padding: .85rem 0 .85rem 2.9rem; position: relative;
  border-bottom: 1px solid var(--line-soft);
  transition: padding-left .2s, background .2s;
}
.station:last-child { border-bottom: none; }
.station::before {
  content: ''; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--paper-hi); border: 7px solid var(--line-color, var(--ink));
  box-sizing: border-box; z-index: 2;
  transition: background .2s, transform .2s;
}
.station:hover { padding-left: 3.2rem; }
.station:hover::before { background: var(--yellow); transform: translateY(-50%) scale(1.08); }
.station__num {
  font-family: var(--ff-mono); font-weight: 600; font-size: .68rem;
  letter-spacing: .06em; color: var(--mute);
  min-width: 22px;
}
.station__name {
  font-family: var(--ff-display); font-weight: 700; font-size: 1rem;
  letter-spacing: -.01em; color: var(--ink-2); flex: 1;
  transition: color .2s;
}
.station:hover .station__name { color: var(--ink); }
.station__arrow {
  font-family: var(--ff-mono); font-weight: 700; color: var(--line-color, var(--ink));
  opacity: .5; transition: opacity .2s, transform .2s;
}
.station:hover .station__arrow { opacity: 1; transform: translateX(3px); }
.station.is-hidden { display: none; }
.station--depot .station__name::after {
  content: 'DEPOT'; font-family: var(--ff-mono); font-weight: 700; font-size: .56rem;
  letter-spacing: .14em; color: var(--ink); background: var(--yellow);
  padding: .18rem .4rem; margin-left: .55rem;
  vertical-align: middle;
}
.lines-note {
  margin-top: 2.5rem; padding: 1.5rem 1.75rem;
  background: var(--ink); color: var(--paper-hi);
  display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: center;
}
.lines-note .ln-mark {
  width: 44px; height: 44px; background: var(--yellow); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-weight: 900; font-size: 1.3rem;
  flex-shrink: 0;
}
.lines-note p {
  font-family: var(--ff-body); font-weight: 500; font-size: .95rem; line-height: 1.55;
  color: rgba(241,236,224,.85);
}
.lines-note p strong { color: var(--yellow); }
.lines-note a { color: var(--yellow); font-weight: 800; }

/* ═══════════════════ DEPOT / INTERCHANGE ═══════════════════ */
#depot { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.depot-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.depot-copy .depot-kicker {
  font-family: var(--ff-mono); font-weight: 700; font-size: .7rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--mute);
  margin-bottom: 1rem; display: inline-flex; align-items: center; gap: .5rem;
}
.depot-copy .depot-kicker::before { content: ''; width: 8px; height: 8px; background: var(--yellow); }
.depot-copy h2 {
  font-family: var(--ff-display); font-weight: 800;
  font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.05;
  letter-spacing: -.035em; color: var(--ink); margin-bottom: 1.25rem;
}
.depot-copy p {
  font-family: var(--ff-body); font-weight: 500; font-size: 1rem;
  line-height: 1.65; color: rgba(43,43,43,.78); margin-bottom: 1rem;
}
.depot-copy p strong { color: var(--ink); font-weight: 700; }
.depot-address {
  font-family: var(--ff-mono); font-weight: 700; font-size: .9rem;
  letter-spacing: .02em; color: var(--ink);
  padding: 1rem 1.25rem; background: var(--paper-hi);
  border-left: 5px solid var(--yellow);
  margin: 1.5rem 0; line-height: 1.7;
}
.depot-address b {
  font-family: var(--ff-body); font-weight: 800; font-size: .7rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--mute);
  display: block; margin-bottom: .35rem;
}
.depot-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }
.depot-diagram {
  background: var(--paper-hi); border: 1.5px solid var(--ink);
  padding: 1.5rem; position: relative;
}
.depot-diagram svg { width: 100%; height: auto; display: block; }

/* ═══════════════════ PLACEMENT ═══════════════════ */
#placement { background: var(--paper); }
.place-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.place-card {
  border: 1.5px solid var(--ink); background: var(--paper-hi);
  padding: 1.75rem 1.75rem 1.5rem; position: relative;
}
.place-card__code {
  font-family: var(--ff-mono); font-weight: 700; font-size: .6rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--mute);
  margin-bottom: .75rem; display: block;
}
.place-card h3 {
  font-family: var(--ff-display); font-weight: 800; font-size: 1.15rem;
  letter-spacing: -.02em; color: var(--ink); margin-bottom: 1rem; line-height: 1.15;
}
.place-card p {
  font-family: var(--ff-body); font-weight: 500; font-size: .92rem;
  line-height: 1.6; color: rgba(43,43,43,.78); margin-bottom: .75rem;
}
.place-card p:last-child { margin-bottom: 0; }
.place-card strong { color: var(--ink); font-weight: 700; }
.place-card .place-list { display: flex; flex-direction: column; gap: .4rem; margin: .75rem 0; }
.place-card .place-list li {
  font-family: var(--ff-body); font-weight: 600; font-size: .88rem;
  color: var(--ink-2); padding-left: 1.15rem; position: relative;
}
.place-card .place-list li::before {
  content: ''; position: absolute; left: 0; top: .55em;
  width: 8px; height: 8px; background: var(--yellow);
}

/* ═══════════════════ FAQ ═══════════════════ */
#faq { background: var(--paper-2); border-top: 1px solid var(--line); }
.faq-layout { display: flex; flex-direction: column; gap: .75rem; max-width: 1100px; margin: 0 auto; }
.faq-item {
  background: var(--paper-hi); border: 1.5px solid var(--line);
  overflow: hidden; position: relative; transition: border-color .3s, box-shadow .3s;
}
.faq-item::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--yellow); transform: scaleX(0);
  transform-origin: left; transition: transform .4s var(--snap);
}
.faq-item[open] { border-color: var(--ink); box-shadow: 0 16px 32px -20px rgba(27,46,34,.3); }
.faq-item[open]::before { transform: scaleX(1); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-num {
  font-family: var(--ff-display); font-weight: 900; font-size: 1.5rem;
  line-height: 1; color: var(--yellow); letter-spacing: -.04em; min-width: 28px;
}
.faq-item[open] .faq-num { color: var(--ink); }
.faq-q {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.3;
  letter-spacing: -.02em; color: var(--ink-2); transition: color .2s;
}
.faq-item summary:hover .faq-q { color: var(--ink); }
.faq-tog {
  position: relative; width: 36px; height: 36px; background: var(--paper-2);
  border-radius: 50%; flex-shrink: 0; transition: background .3s, transform .3s var(--snap);
}
.faq-tog::before, .faq-tog::after {
  content: ''; position: absolute; background: var(--ink); top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: transform .35s var(--snap), opacity .25s, background .25s;
}
.faq-tog::before { width: 12px; height: 2px; }
.faq-tog::after { width: 2px; height: 12px; }
.faq-item summary:hover .faq-tog { background: var(--yellow); }
.faq-item[open] .faq-tog { background: var(--ink); transform: rotate(180deg); }
.faq-item[open] .faq-tog::before, .faq-item[open] .faq-tog::after { background: var(--yellow); }
.faq-item[open] .faq-tog::after { opacity: 0; }
.faq-a {
  padding: 0 1.5rem 1.5rem 4.5rem;
  font-family: var(--ff-body); font-weight: 500; font-size: .96rem; line-height: 1.7;
  color: rgba(43,43,43,.78); max-width: 72ch;
  animation: faq-in .35s var(--snap);
}
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.faq-a strong { color: var(--ink); font-weight: 800; }
.faq-a a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }

/* ═══════════════════ CTA ═══════════════════ */
#cta {
  background: var(--yellow); color: var(--ink);
  padding: clamp(4rem, 8vw, 7rem) var(--pad);
  position: relative; overflow: hidden;
}
#cta::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 280px; height: 280px; border: 3px solid var(--ink); border-radius: 50%; opacity: .1;
}
#cta::after {
  content: ''; position: absolute; bottom: -120px; left: -60px;
  width: 360px; height: 360px; border: 3px solid var(--ink); border-radius: 50%; opacity: .08;
}
.cta-inner {
  max-width: 1560px; margin: 0 auto; position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.cta-h {
  font-family: var(--ff-display); font-weight: 900;
  font-size: clamp(2.2rem, 5.5vw, 5rem); line-height: .93; letter-spacing: -.04em;
  color: var(--ink); margin-bottom: 1.5rem; text-wrap: balance;
}
.cta-h .o { background: var(--ink); color: var(--yellow); padding: 0 .12em; }
.cta-sub {
  font-family: var(--ff-body); font-weight: 700; font-size: 1rem; line-height: 1.5;
  color: var(--ink); opacity: .8; max-width: 42ch; margin-bottom: 2rem;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-actions .btn-forest { background: var(--ink); color: var(--paper-hi); border-color: var(--ink); }
.cta-actions .btn-forest:hover { background: var(--paper-hi); color: var(--ink); border-color: var(--paper-hi); }
.cta-actions .btn-ghost { color: var(--ink); border-color: var(--ink); }
.cta-actions .btn-ghost:hover { background: var(--ink); color: var(--yellow); }

/* ═══════════════════ FOOTER ═══════════════════ */
footer { background: var(--ink); color: var(--paper-hi); padding: clamp(3.5rem, 6vw, 5.5rem) var(--pad) 2rem; }
.footer-inner { max-width: 1560px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3.5rem; border-bottom: 1px solid rgba(241,236,224,.14);
}
.f-brand .brand-text { color: var(--paper-hi); }
.f-brand .brand-text .skip { color: var(--yellow); }
.f-brand p {
  font-family: var(--ff-body); font-weight: 500; font-size: .9rem; line-height: 1.6;
  color: rgba(241,236,224,.65); margin: 1.5rem 0; max-width: 32ch;
}
.f-brand address {
  font-style: normal; font-family: var(--ff-body); font-weight: 500;
  font-size: .85rem; line-height: 1.9; color: rgba(241,236,224,.6);
}
.f-brand address strong { color: var(--paper-hi); font-weight: 800; display: block; margin-bottom: .25rem; }
.f-brand address a { color: var(--yellow); }
.f-col-title {
  font-family: var(--ff-body); font-weight: 800; font-size: .68rem;
  letter-spacing: .2em; text-transform: uppercase; color: rgba(241,236,224,.5);
  padding-bottom: .85rem; margin-bottom: 1.25rem; border-bottom: 1px solid rgba(241,236,224,.14);
}
.f-links { display: flex; flex-direction: column; gap: .65rem; }
.f-links a {
  font-family: var(--ff-body); font-weight: 600; font-size: .88rem;
  color: rgba(241,236,224,.75); transition: color .2s, padding-left .25s; display: inline-block;
}
.f-links a:hover { color: var(--yellow); padding-left: 5px; }
.footer-bottom {
  padding-top: 2rem; display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  font-family: var(--ff-body); font-weight: 600; font-size: .76rem;
  letter-spacing: .04em; color: rgba(241,236,224,.45);
}
.footer-bottom .sig { font-family: var(--ff-display); font-weight: 700; font-size: .82rem; color: rgba(241,236,224,.65); }
.footer-bottom a { color: rgba(241,236,224,.6); }
.footer-bottom a:hover { color: var(--yellow); }

/* ═══════════════════ REVIEW BANNER ═══════════════════ */
.review-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 950;
  background: var(--ink-2); color: var(--paper-hi);
  font-family: var(--ff-body); font-size: .8rem; line-height: 1.45;
  padding: .7rem var(--pad); text-align: center;
}
.review-banner b { color: var(--yellow); }
body.has-banner .site-header { top: var(--banner-h, 0px); }
body.has-banner .jump { top: calc(72px + var(--banner-h, 0px)); }

/* ═══════════════════ RESPONSIVE ═══════════════════ */
@media (max-width: 1180px) {
  .masthead-grid { grid-template-columns: 1fr; gap: 2rem; }
  .masthead-photos { grid-template-columns: 1fr 1fr; }
  .line-grid { grid-template-columns: 1fr; }
  .network-legend { grid-template-columns: 1fr 1fr; }
  .depot-grid { grid-template-columns: 1fr; gap: 2rem; }
  .place-grid { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sec-head { grid-template-columns: 1fr; gap: 1rem; }
  .sec-title { grid-template-columns: 1fr; gap: 1.25rem; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .board__tabs { grid-template-columns: 1fr 1fr; }
  .board__tab:nth-child(2) { border-right: none; }
  .board__tab:nth-child(-n+2) { border-bottom: 1px solid rgba(241,236,224,.1); }
}
@media (max-width: 720px) {
  .nav-right > .btn { display: none; }
  .mbar { display: flex; }
  body { padding-bottom: 76px; }
  .masthead { padding-top: 6.75rem; }
  .masthead-photos { grid-template-columns: 1fr; }
  .board__display { padding: 1.25rem 1.15rem 1.15rem; }
  .board__station { font-size: .72rem; }
  .network-svg { min-width: 1100px; }
  .network-legend { grid-template-columns: 1fr; }
  .line-card__head { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .line-card__count { align-self: flex-start; }
  .faq-a { padding-left: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .board__cutoff-time { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
section[id] { scroll-margin-top: 130px; }

/* ═══ Light hero to match the site theme ═══ */
.masthead { background: var(--paper-hi); color: var(--ink-2); }
.masthead::before { background-image: linear-gradient(rgba(27,46,34,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(27,46,34,.05) 1px, transparent 1px); }
.masthead-grid { border-bottom-color: rgba(27,46,34,.14); }
.masthead-kicker { color: var(--ink); }
.masthead h1 { color: var(--ink); font-weight: 800; }
.masthead h1 em { color: var(--ink); background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%); padding: 0 .04em; }
.masthead h1 em::after { display: none; }
.masthead-sub { color: rgba(43,43,43,.8); }
.masthead-sub strong { color: var(--ink); }
.masthead-actions .btn-ghost { color: var(--ink); border-color: var(--ink); }
.masthead-actions .btn-ghost:hover { background: var(--ink); color: var(--paper-hi); border-color: var(--ink); }
.board { background: #FFFDF7; border: 2px solid var(--ink); box-shadow: 0 24px 48px -28px rgba(27,46,34,.35); }
.board::before, .board::after { border-color: var(--yellow); }
.board__top { background: var(--paper-2); border-bottom: 1px solid rgba(27,46,34,.14); }
.board__label { color: var(--mute); }
.board__label::before { background: var(--yellow); box-shadow: 0 0 0 3px rgba(245,196,0,.25); animation: none; }
.board__clock { color: var(--ink); }
.board__tabs { border-bottom: 1px solid rgba(27,46,34,.14); }
.board__tab { color: var(--mute); border-right-color: rgba(27,46,34,.1); }
.board__tab:hover { color: var(--ink); background: rgba(27,46,34,.04); }
.board__tab[aria-selected="true"] { color: var(--ink); background: rgba(245,196,0,.18); border-bottom-color: var(--ink); }
.board__tab::before { background: rgba(27,46,34,.3); }
.board__tab[data-line="north"]::before { background: var(--line-north); }
.board__line-row { border-bottom-color: rgba(27,46,34,.16); }
.board__code { color: var(--mute); }
.board__name { color: var(--ink); }
.board__status { color: var(--ink); background: rgba(245,196,0,.22); border: 1px solid rgba(27,46,34,.18); }
.board__calling-label { color: var(--mute); }
.board__station { color: var(--ink); background: var(--paper); border: 1px solid rgba(27,46,34,.18); }
.board__station:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.board__cutoff { background: rgba(245,196,0,.14); border: 1px solid rgba(27,46,34,.16); }
.board__cutoff-label { color: var(--ink); }
.board__cutoff-remaining { background: var(--ink); color: var(--paper-hi); }
.board__cutoff-time { color: var(--ink); font-size: 1rem; text-decoration: none; border-bottom: 2px solid var(--yellow); }
.board__cutoff-time:hover { background: var(--yellow); }
.masthead-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; padding: 2rem 0 2.75rem; }
.fact { background: #FFFDF7; border: 1.5px solid rgba(27,46,34,.18); padding: 1.25rem 1.25rem 1.35rem; display: grid; gap: .3rem; position: relative; transition: transform .25s var(--snap), border-color .25s; }
.fact:hover { transform: translateY(-3px); border-color: var(--ink); }
.fact__icon { width: 44px; height: 44px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); margin-bottom: .6rem; }
.fact__icon svg { width: 22px; height: 22px; }
.fact__k { font-family: var(--ff-mono); font-weight: 700; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.fact__v { font-family: var(--ff-display); font-weight: 800; font-size: 1.1rem; line-height: 1.2; color: var(--ink); }
.fact__s { font-size: .88rem; color: rgba(43,43,43,.72); }
.tbc { background: rgba(245,196,0,.3); outline: 1px dashed #7A6100; outline-offset: 1px; border-radius: 2px; padding: 0 .15em; }
@media (max-width: 960px) { .masthead-facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .masthead-facts { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .fact:hover { transform: none; } }

/* mobile header + board fixes */
@media (max-width: 720px) {
  .brand-tag { display: none; }
  .tel span, .tel .tel-num { display: none; }
  .tel { font-size: 0; padding: .7rem; background: var(--yellow-soft); }
  .tel svg { width: 18px; height: 18px; }
  .masthead { padding-top: calc(5rem + var(--banner-h, 0px)); }
  .board__head { gap: .75rem; }
  .board__clock { white-space: nowrap; }
  .board__top { gap: .75rem; }
}

/* highlight sits below the line above, not over its descenders */
.h2 { line-height: 1.04; }
.h2 em { background: linear-gradient(transparent 18%, var(--yellow) 18%, var(--yellow) 94%, transparent 94%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Production: review helpers off */
.review-banner{display:none!important}
.tbc{background:none!important;outline:none!important;padding:0!important}
body.admin-bar .site-header{top:32px}
@media (max-width:782px){body.admin-bar .site-header{top:46px}}

/* Uploaded logo */
.brand--logo { display: inline-flex; align-items: center; }
.brand--logo .brand-logo { display: block; height: 46px; width: auto; max-width: 220px; object-fit: contain; }
@media (max-width: 600px) { .brand--logo .brand-logo { height: 38px; max-width: 170px; } }
.f-brand .brand--logo .brand-logo { height: 60px; max-width: 260px; }

/* Mobile menu: Services group */
.mnav .mnav-group { border-bottom: 1px solid var(--line-dark); }
.mnav .mnav-group summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--ff-display); font-weight: 700; font-size: 1.25rem; padding: .75rem 0; color: var(--cream); }
.mnav .mnav-group summary::-webkit-details-marker { display: none; }
.mnav .mnav-group summary svg { width: 20px; height: 20px; flex: none; color: var(--yellow); transition: transform .25s var(--snap); }
.mnav .mnav-group[open] summary svg { transform: rotate(180deg); }
.mnav .mnav-sub { display: flex; flex-direction: column; padding: 0 0 .6rem .9rem; border-left: 2px solid var(--yellow); margin: 0 0 .75rem .1rem; }
.mnav .mnav-sub a { font-family: var(--ff-body); font-weight: 600; font-size: 1.02rem; padding: .6rem 0 .6rem .4rem; border-bottom: 0; color: rgba(250,246,236,.85); }
.mnav .mnav-sub a:hover, .mnav .mnav-sub a:focus-visible { color: var(--yellow); }
.mnav .mnav-group summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; border-radius: 4px; }

/* Mobile header: icon-only phone link, so the menu button always fits */
.site-header .tel { white-space: nowrap; }
@media (max-width: 720px) {
  .site-header .tel span { display: none; }
  .site-header .tel { padding: .5rem; }
  .site-header .brand-tag { display: none; }
}
