/* BizExpress — courier, Kingston. This template's entire stylesheet.
 *
 * Palette: a cool carbon-copy ground (#eef2f6) under deep petrol blue
 * (#0d2b3e) with one signal colour, hi-vis yellow-green (#d6f24b), used only
 * where something is live or costs nothing — the depot clock, the cut-off
 * countdown, the zeroed surcharge lines. Reason: this customer is a dispatcher,
 * a shop counter or an office manager reading a rate board on a phone between
 * other jobs, so the page has to read like the paperwork of the trade — waybill
 * grey-blue, high-visibility marks where the eye must land — and nothing like
 * a warm hospitality site. Deliberately no orange, amber, terracotta or beige:
 * the yellow-green here sits at the green side of yellow (the colour of the
 * driver's jacket and the van's chevrons), never a warm cast.
 *
 * Type: Saira Condensed for headings and the board — condensed caps are what
 * a parish code and a van number are actually set in — Asap for text, and DM
 * Mono for every number, time and waybill field so prices and cut-offs line
 * up in columns the way they do on a docket. (This replaced Chivo + Public
 * Sans, which a contact sheet caught sharing both faces and a near-identical
 * pale ground with Level 52. Two trades, one voice, is the thing this project
 * exists to stop.)
 *
 * Composition: the board is the first thing on the page. There is no hero
 * paragraph beside a photograph, because eighteen of the first twenty-five
 * rebuilds opened that way; a rate board opens on the rate board, and the
 * sentence explaining it sits underneath where a caption belongs.
 */

:root {
  --gutter: clamp(1.25rem, 5vw, 6rem);
  --max: 78rem;
  --shell: min(100% - 2 * var(--gutter), var(--max));

  --paper: #eef2f6;
  --card: #ffffff;
  --ink: #101c26;
  --ink-2: #4b5c68;
  --ink-3: #75858f;
  --rule: #d3dbe2;
  --rule-2: #e4eaef;

  --petrol: #0d2b3e;
  --petrol-2: #1c4f6b;
  --petrol-3: #2e6f92;
  --hiviz: #d6f24b;
  --hiviz-deep: #b7d327;

  --h-display: 'Saira Condensed', 'Arial Narrow', Arial, sans-serif;
  --h-text: 'Asap', 'Helvetica Neue', Arial, sans-serif;
  --h-mono: 'DM Mono', 'SFMono-Regular', Consolas, monospace;

  --step: clamp(3rem, 6vw, 5.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 clamp(1rem, 0.97rem + 0.15vw, 1.075rem)/1.62 var(--h-text);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--petrol-2); }
h1, h2, h3, h4 { font-family: var(--h-display); font-weight: 900; line-height: 1.02; letter-spacing: -0.022em; margin: 0; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.bx-shell { width: var(--shell); margin-inline: auto; }

.bx-skip {
  position: absolute; left: -9999px; top: 0; z-index: 60;
  background: var(--hiviz); color: var(--petrol); padding: 0.7rem 1.1rem;
  font: 500 0.9rem var(--h-mono);
}
.bx-skip:focus { left: 0.5rem; top: 0.5rem; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--hiviz-deep);
  outline-offset: 2px;
}

/* ---------- masthead ------------------------------------------------- */

.bx-top { position: relative; z-index: 30; background: var(--petrol); color: #fff; }

.bx-strip { background: #08202f; border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
.bx-strip__in {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 2.35rem;
  font: 400 0.775rem/1.4 var(--h-mono); letter-spacing: 0.01em;
  color: #b9cbd6;
}
.bx-strip__in p { margin: 0; }
.bx-strip__tel { text-align: right; }
.bx-strip a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(214, 242, 75, 0.5); }
.bx-clock { display: inline-flex; align-items: center; gap: 0.5rem; }
.bx-clock__dot {
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: var(--hiviz); box-shadow: 0 0 0 0 rgba(214, 242, 75, 0.55);
  animation: bx-pulse 2.6s ease-out infinite;
}
.bx-clock[data-shut] .bx-clock__dot { background: #6d8391; animation: none; }
.bx-clock b { color: var(--hiviz); font-weight: 500; }
@keyframes bx-pulse {
  0% { box-shadow: 0 0 0 0 rgba(214, 242, 75, 0.5); }
  70% { box-shadow: 0 0 0 0.55rem rgba(214, 242, 75, 0); }
  100% { box-shadow: 0 0 0 0 rgba(214, 242, 75, 0); }
}
@media (prefers-reduced-motion: reduce) { .bx-clock__dot { animation: none; } }

.bx-top__in {
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
  padding: 0.95rem 0 1rem;
}

.bx-mark { display: flex; align-items: center; gap: 0.7rem; color: #fff; text-decoration: none; }
.bx-mark__flag {
  width: 1.05rem; height: 2.1rem; flex: none;
  background: repeating-linear-gradient(-32deg, var(--hiviz) 0 0.28rem, var(--petrol) 0.28rem 0.56rem);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.bx-mark__name {
  display: block;
  font: 900 1.4rem/1 var(--h-display); letter-spacing: -0.035em; text-transform: uppercase;
}
.bx-mark__name small {
  display: block; margin-top: 0.28rem;
  font: 400 0.7rem/1.2 var(--h-mono); letter-spacing: 0.02em; text-transform: none;
  color: #a8bdc9;
}

.bx-nav { margin-left: auto; display: flex; gap: clamp(0.9rem, 2vw, 1.8rem); }
.bx-nav a {
  color: #dbe6ec; text-decoration: none;
  font: 600 0.83rem/1 var(--h-display); letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.5rem 0; border-bottom: 2px solid transparent;
}
.bx-nav a:hover { color: #fff; border-bottom-color: var(--hiviz); }
.bx-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--hiviz); }

.bx-burger { display: none; }

.bx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.72rem 1.15rem; border: 1px solid transparent; border-radius: 2px;
  font: 700 0.85rem/1 var(--h-display); letter-spacing: 0.035em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.bx-btn--hiviz { background: var(--hiviz); color: var(--petrol); border-color: var(--hiviz); }
.bx-btn--hiviz:hover { background: #e3fb6d; }
.bx-btn--ink { background: var(--petrol); color: #fff; border-color: var(--petrol); }
.bx-btn--ink:hover { background: var(--petrol-2); }
.bx-btn--line { background: transparent; color: inherit; border-color: currentColor; }
.bx-btn--line:hover { background: rgba(255, 255, 255, 0.08); }
.bx-btn[disabled] { opacity: 0.55; cursor: progress; }

.bx-top__cta { flex: none; }

@media (max-width: 62rem) {
  .bx-top__in { padding: 0.8rem 0 0.85rem; flex-wrap: wrap; }
  .bx-nav {
    order: 4; width: 100%; margin: 0;
    flex-direction: column; gap: 0;
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 0.4rem;
  }
  .bx-top[data-menu] .bx-nav { display: flex; }
  .bx-nav a { padding: 0.8rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.95rem; }
  .bx-burger {
    display: inline-flex; align-items: center; gap: 0.45rem; margin-left: auto;
    background: none; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 2px;
    padding: 0.55rem 0.7rem; color: #fff; cursor: pointer;
  }
  .bx-burger span { display: block; width: 1.05rem; height: 2px; background: var(--hiviz); }
  .bx-burger span + span { margin-top: 0.2rem; }
  .bx-burger em {
    font: 700 0.78rem/1 var(--h-display); letter-spacing: 0.05em; text-transform: uppercase;
    font-style: normal;
  }
  .bx-top__cta { display: none; }
}

/* ---------- sections ------------------------------------------------- */

.bx-band { padding: var(--step) 0; }
.bx-band--white { background: var(--card); border-block: 1px solid var(--rule); }
.bx-band--petrol { background: var(--petrol); color: #e7eff4; }
.bx-band--petrol h2, .bx-band--petrol h3 { color: #fff; }
.bx-band--tight { padding: clamp(2rem, 4vw, 3rem) 0; }

.bx-kick {
  display: flex; align-items: center; gap: 0.6rem; margin: 0 0 0.8rem;
  font: 500 0.75rem/1 var(--h-mono); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--petrol-3);
}
.bx-kick::before { content: ""; width: 1.6rem; height: 2px; background: var(--hiviz-deep); flex: none; }
.bx-band--petrol .bx-kick { color: var(--hiviz); }
.bx-band--petrol .bx-kick::before { background: var(--hiviz); }

.bx-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: end; margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem); }
.bx-head h1, .bx-head h2 { font-size: clamp(1.95rem, 1.3rem + 2.5vw, 3.35rem); }
.bx-head p { color: var(--ink-2); margin: 0; }
.bx-band--petrol .bx-head p { color: #b9cbd6; }
@media (max-width: 52rem) { .bx-head { grid-template-columns: 1fr; align-items: start; } }

.bx-lede { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); line-height: 1.5; color: var(--ink-2); }

.bx-hazard {
  height: 0.55rem;
  background: repeating-linear-gradient(-58deg, var(--hiviz) 0 0.7rem, var(--petrol) 0.7rem 1.4rem);
}

.bx-row { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.bx-link { color: var(--petrol-2); text-decoration: none; border-bottom: 2px solid var(--hiviz-deep); font-weight: 600; }
.bx-link:hover { border-bottom-color: var(--petrol-2); }
.bx-band--petrol .bx-link { color: #fff; }

/* ---------- the opening: the board, then the sentence ----------------- */

/* A rate board opens on the rate board. The masthead runs straight into the
   docket; the line that explains it sits under it, where a caption belongs. */
.bx-open {
  width: var(--shell); margin-inline: auto;
  padding: clamp(1.4rem, 3vw, 2.2rem) 0 clamp(1.6rem, 3.5vw, 2.6rem);
}
.bx-open__strap {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1.1rem;
  padding-bottom: 0.7rem; margin-bottom: clamp(1rem, 2.2vw, 1.5rem);
  border-bottom: 2px solid var(--ink);
}
.bx-open__strap h1 {
  margin: 0; font: 700 clamp(1.6rem, 1.1rem + 1.9vw, 2.5rem)/1 var(--h-display);
  text-transform: uppercase; letter-spacing: 0.005em;
}
.bx-open__strap h1 em { font-style: normal; color: var(--petrol-2); }
.bx-open__strap p {
  margin: 0 0 0 auto; font: 400 0.74rem/1.4 var(--h-mono);
  color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.08em;
}
.bx-open__say {
  margin: clamp(1rem, 2.2vw, 1.5rem) 0 0;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1rem, 3vw, 2.4rem); align-items: start;
}
.bx-open__say p { margin: 0; }
.bx-open__say .bx-lede { max-width: 46ch; }
@media (max-width: 52rem) { .bx-open__say { grid-template-columns: 1fr; } }

.bx-facts {
  margin-top: clamp(1.1rem, 2.4vw, 1.7rem);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule);
}
.bx-facts div { background: var(--paper); padding: 0.9rem 1rem; }
.bx-facts strong {
  display: block; font: 700 1.7rem/1 var(--h-display); letter-spacing: -0.01em;
}
.bx-facts span {
  display: block; margin-top: 0.3rem;
  font: 400 0.73rem/1.35 var(--h-mono); color: var(--ink-2); letter-spacing: 0.01em;
}

.bx-van { margin: clamp(1.4rem, 3vw, 2.2rem) 0 0; position: relative; }
.bx-van img { width: 100%; height: clamp(11rem, 22vw, 17rem); object-fit: cover; object-position: 78% 92%; border: 1px solid var(--rule); display: block; }
.bx-van figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(13, 43, 62, 0.92); color: #fff;
  padding: 0.6rem 0.9rem; font: 400 0.74rem/1.45 var(--h-mono);
}
.bx-van figcaption b { color: var(--hiviz); font-weight: 500; }

@media (max-width: 52rem) {
  .bx-open__strap p { margin-left: 0; }
  .bx-facts { grid-template-columns: 1fr; }
  .bx-van figcaption { position: static; }
}

/* ---------- the board: picker + docket -------------------------------- */

.bx-board {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(1.2rem, 2.5vw, 2rem); align-items: start;
}
@media (max-width: 62rem) { .bx-board { grid-template-columns: 1fr; } }

.bx-pick { background: var(--card); border: 1px solid var(--ink); }
.bx-pick__top {
  background: var(--petrol); color: #fff; padding: 0.7rem 1rem;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  font: 500 0.78rem/1.3 var(--h-mono); letter-spacing: 0.06em; text-transform: uppercase;
}
.bx-pick__top span { color: #9fb6c4; text-transform: none; letter-spacing: 0.01em; }
.bx-pick__body { padding: clamp(1rem, 2vw, 1.5rem); }

.bx-legs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0.75rem; align-items: end; }
.bx-legs__arrow {
  padding-bottom: 0.85rem; color: var(--petrol-3);
  font: 500 1.1rem/1 var(--h-mono);
}
@media (max-width: 30rem) {
  .bx-legs { grid-template-columns: 1fr; }
  .bx-legs__arrow { padding: 0; transform: rotate(90deg); justify-self: start; }
}

.bx-field { display: block; margin-bottom: 1rem; }
.bx-field > span, .bx-field > label {
  display: block; margin-bottom: 0.35rem;
  font: 500 0.74rem/1.3 var(--h-mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2);
}
.bx-field select, .bx-field input, .bx-field textarea {
  width: 100%; background: #fff; color: var(--ink);
  border: 1px solid var(--rule); border-bottom-width: 2px; border-radius: 2px;
  padding: 0.66rem 0.7rem;
  font: 400 1rem/1.35 var(--h-text);
}
.bx-field textarea { resize: vertical; }
.bx-field select:focus, .bx-field input:focus, .bx-field textarea:focus { border-color: var(--petrol-2); }

/* the enhanced dropdown (shared select.js, our vocabulary) */
.bx-dd { position: relative; }
.bx-dd__button {
  width: 100%; text-align: left; cursor: pointer;
  background: #fff; color: var(--ink);
  border: 1px solid var(--rule); border-bottom-width: 2px; border-radius: 2px;
  padding: 0.6rem 2rem 0.6rem 0.7rem;
  font: 400 1rem/1.3 var(--h-text);
}
.bx-dd__button::after {
  content: ""; position: absolute; right: 0.8rem; top: 50%;
  width: 0.45rem; height: 0.45rem; margin-top: -0.35rem;
  border-right: 2px solid var(--petrol-2); border-bottom: 2px solid var(--petrol-2);
  transform: rotate(45deg);
}
.bx-dd.is-open .bx-dd__button { border-color: var(--petrol-2); }
.bx-dd__button.is-placeholder { color: var(--ink-3); }
.bx-dd__list {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 2px);
  max-height: 17rem; overflow: auto; margin: 0; padding: 0; list-style: none;
  background: #fff; border: 1px solid var(--ink); box-shadow: 0 18px 32px -18px rgba(16, 28, 38, 0.5);
}
.bx-dd__option { padding: 0.55rem 0.7rem; cursor: pointer; border-bottom: 1px solid var(--rule-2); }
.bx-dd__option.is-active, .bx-dd__option:hover { background: #f1f6d9; }
.bx-dd__option.is-selected { box-shadow: inset 0.25rem 0 0 var(--hiviz-deep); }
.bx-dd__title { display: block; font-weight: 600; }
.bx-dd__meta { display: block; font: 400 0.76rem/1.35 var(--h-mono); color: var(--ink-2); }

.bx-legend { margin: 1.1rem 0 0; padding: 0.9rem 0 0; border-top: 1px solid var(--rule); display: grid; gap: 0.45rem; }
.bx-legend__row { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: 0.6rem; align-items: baseline; }
.bx-legend__row p { margin: 0; font: 400 0.78rem/1.45 var(--h-mono); color: var(--ink-2); }
.bx-legend__row p b { color: var(--ink); font-weight: 500; }

.bx-classes { margin-top: 0.3rem; }
.bx-classes legend {
  float: left; width: 100%; padding: 0;
  font: 500 0.74rem/1.3 var(--h-mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 0.45rem;
}
.bx-classes legend + * { clear: both; }
.bx-classes { border: 0; padding: 0; margin-inline: 0; }
.bx-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4rem; }
@media (max-width: 34rem) { .bx-opts { grid-template-columns: 1fr; } }
.bx-opt { position: relative; display: block; }
.bx-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bx-opt span {
  display: block; border: 1px solid var(--rule); border-radius: 2px;
  padding: 0.5rem 0.6rem; cursor: pointer;
}
.bx-opt b { display: block; font: 600 0.92rem/1.25 var(--h-text); }
.bx-opt em {
  display: block; font: 400 0.73rem/1.3 var(--h-mono); font-style: normal; color: var(--ink-2);
  margin-top: 0.15rem;
}
.bx-opt input:checked + span { border-color: var(--petrol); box-shadow: inset 0 0 0 1px var(--petrol); background: #f6faff; }
.bx-opt input:focus-visible + span { outline: 3px solid var(--hiviz-deep); outline-offset: 2px; }

/* the docket */
.bx-docket {
  position: relative; background: var(--card); border: 1px solid var(--ink);
  box-shadow: 8px 8px 0 -1px rgba(13, 43, 62, 0.13);
}
.bx-docket__top {
  background: var(--petrol); color: #fff; padding: 0.7rem 1rem;
  display: flex; justify-content: space-between; align-items: baseline; gap: 0.8rem;
  font: 500 0.78rem/1.3 var(--h-mono); letter-spacing: 0.06em; text-transform: uppercase;
}
.bx-docket__no { color: var(--hiviz); }
.bx-docket__body { padding: clamp(1rem, 2vw, 1.4rem); }

.bx-price { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.bx-price__fig {
  font: 900 clamp(2.6rem, 2rem + 3vw, 4rem)/0.9 var(--h-display); letter-spacing: -0.04em;
  font-feature-settings: "tnum";
}
.bx-price__band {
  text-align: right; font: 400 0.78rem/1.45 var(--h-mono); color: var(--ink-2);
}
.bx-price__band b { display: block; color: var(--ink); font-weight: 500; }

.bx-dates { margin: 1.1rem 0 0; border-top: 1px solid var(--rule); }
.bx-dates__row {
  display: grid; grid-template-columns: 1.6rem minmax(0, 1fr);
  gap: 0.75rem; padding: 0.8rem 0; border-bottom: 1px dashed var(--rule);
}
.bx-dates__pin {
  width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 2px solid var(--petrol);
  display: grid; place-items: center;
  font: 500 0.75rem/1 var(--h-mono); color: var(--petrol);
}
.bx-dates__row--now .bx-dates__pin { background: var(--hiviz); border-color: var(--petrol); }
.bx-dates__k {
  font: 500 0.72rem/1.2 var(--h-mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-3);
}
.bx-dates__v { font: 600 1.02rem/1.35 var(--h-text); margin-top: 0.15rem; }
.bx-dates__v small { display: block; font: 400 0.8rem/1.4 var(--h-mono); color: var(--ink-2); }

.bx-flag {
  display: inline-block; margin-top: 0.4rem; padding: 0.2rem 0.5rem;
  background: var(--hiviz); color: var(--petrol);
  font: 500 0.72rem/1.4 var(--h-mono); letter-spacing: 0.04em; text-transform: uppercase;
}
.bx-flag--cool { background: #e5edf3; color: var(--petrol); }

.bx-zeros { margin: 1rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.bx-zeros--two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.4rem; }
@media (max-width: 34rem) { .bx-zeros--two { grid-template-columns: 1fr; } }
.bx-zeros li {
  display: flex; justify-content: space-between; gap: 0.8rem; align-items: baseline;
  padding: 0.38rem 0; border-bottom: 1px solid var(--rule-2);
  font: 400 0.84rem/1.4 var(--h-mono); color: var(--ink-2);
}
.bx-zeros b { color: var(--petrol); font-weight: 500; white-space: nowrap; }
.bx-total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  margin-top: 0.9rem; padding-top: 0.7rem; border-top: 2px solid var(--ink);
  font: 500 0.88rem/1.4 var(--h-mono); text-transform: uppercase; letter-spacing: 0.06em;
}
.bx-total strong { font: 900 1.5rem/1 var(--h-display); letter-spacing: -0.02em; }
.bx-docket__fine { margin-top: 0.8rem; font: 400 0.78rem/1.5 var(--h-mono); color: var(--ink-3); }
.bx-docket__go { margin-top: 1rem; }
.bx-docket__perf {
  height: 0.6rem;
  background:
    radial-gradient(circle at 0.3rem 0, var(--paper) 0.3rem, transparent 0.31rem) repeat-x 0 100% / 0.6rem 0.6rem;
  border-top: 1px dashed var(--rule);
}
.bx-stamp {
  position: absolute; right: 1rem; bottom: 1.1rem; margin: 0; transform: rotate(-7deg);
  border: 2px solid var(--hiviz-deep); color: var(--hiviz-deep);
  padding: 0.25rem 0.5rem; background: rgba(255, 255, 255, 0.85);
  font: 500 0.7rem/1.2 var(--h-mono); letter-spacing: 0.08em; text-transform: uppercase;
}

/* ---------- the parish table ----------------------------------------- */

.bx-table__wrap { overflow-x: auto; border: 1px solid var(--ink); background: var(--card); }
table.bx-table { width: 100%; border-collapse: collapse; min-width: 44rem; }
.bx-table caption { text-align: left; padding: 0.75rem 1rem; background: var(--petrol); color: #fff; font: 500 0.78rem/1.4 var(--h-mono); letter-spacing: 0.04em; }
.bx-table th, .bx-table td { text-align: left; padding: 0.6rem 0.85rem; border-bottom: 1px solid var(--rule-2); }
.bx-table thead th {
  background: #e8eef3; border-bottom: 1px solid var(--rule);
  font: 500 0.7rem/1.3 var(--h-mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-2);
  position: sticky; top: 0;
}
.bx-table tbody th { font: 700 1rem/1.3 var(--h-display); letter-spacing: -0.01em; }
.bx-table tbody tr:hover { background: #f7fbe9; }
.bx-table__num { font: 500 1rem/1.3 var(--h-mono); font-feature-settings: "tnum"; white-space: nowrap; }
.bx-table__mono { font: 400 0.84rem/1.4 var(--h-mono); color: var(--ink-2); }
.bx-band-chip {
  display: inline-block; min-width: 1.5rem; text-align: center;
  border: 1px solid var(--petrol); padding: 0.05rem 0.3rem;
  font: 500 0.78rem/1.4 var(--h-mono);
}
.bx-yes { color: var(--petrol); font-weight: 500; }
.bx-no { color: var(--ink-3); }
.bx-table tbody tr[data-metro] { background: #fbfdf3; }

.bx-band--petrol .bx-table__wrap, .bx-band--petrol .bx-table { color: var(--ink); }
.bx-band--petrol .bx-table .bx-link { color: var(--petrol-2); }
.bx-band--petrol .bx-table tbody th { color: var(--ink); }

.bx-switch { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; align-items: center; }
.bx-switch > span {
  font: 500 0.74rem/1.3 var(--h-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2);
  margin-right: 0.3rem;
}
.bx-chip { position: relative; }
.bx-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bx-chip span {
  display: inline-block; cursor: pointer; padding: 0.4rem 0.7rem; border: 1px solid var(--rule);
  background: #fff; font: 600 0.82rem/1.2 var(--h-text); border-radius: 2px;
}
.bx-chip input:checked + span { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.bx-chip input:focus-visible + span { outline: 3px solid var(--hiviz-deep); outline-offset: 2px; }

/* ---------- cards, lists --------------------------------------------- */

.bx-cards { display: grid; gap: 1px; background: var(--card); }
.bx-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bx-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 58rem) { .bx-cards--3 { grid-template-columns: 1fr; } .bx-cards--2 { grid-template-columns: 1fr; } }
.bx-card { background: var(--card); padding: clamp(1rem, 2vw, 1.5rem); box-shadow: 0 0 0 1px var(--rule); }
.bx-card h3 { font-size: 1.2rem; }
.bx-card p { margin: 0.5rem 0 0; color: var(--ink-2); }
.bx-card__mono { font: 400 0.78rem/1.45 var(--h-mono); color: var(--petrol-2); margin-top: 0.6rem; }

.bx-rate { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 1.5rem; align-items: start; }
.bx-rate__bands { display: flex; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.bx-rate__band { background: #fff; padding: 0.5rem 0.7rem; text-align: center; min-width: 4.1rem; }
.bx-rate__band span {
  display: block; font: 500 0.68rem/1.3 var(--h-mono); letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-3);
}
.bx-rate__band b { display: block; font: 500 1.05rem/1.3 var(--h-mono); font-feature-settings: "tnum"; }
@media (max-width: 44rem) { .bx-rate { grid-template-columns: 1fr; } .bx-rate__bands { overflow-x: auto; } }

.bx-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--card); }
@media (max-width: 58rem) { .bx-quotes { grid-template-columns: 1fr; } }
.bx-quote { background: var(--card); padding: clamp(1rem, 2vw, 1.5rem); display: flex; flex-direction: column; gap: 0.8rem; box-shadow: 0 0 0 1px var(--rule); }
.bx-quote blockquote { margin: 0; font-size: 1.02rem; line-height: 1.55; }
.bx-quote blockquote::before { content: "“"; color: var(--hiviz-deep); font: 900 2rem/0.5 var(--h-display); display: block; margin-bottom: 0.4rem; }
.bx-quote footer { margin-top: auto; font: 400 0.8rem/1.45 var(--h-mono); color: var(--ink-2); }
.bx-quote footer b { display: block; color: var(--ink); font-weight: 500; }

.bx-qa { border-top: 1px solid var(--rule); }
.bx-qa__item { border-bottom: 1px solid var(--rule); padding: clamp(1rem, 2vw, 1.4rem) 0; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 0.6rem 1rem; }
.bx-qa__n { font: 500 0.82rem/1.5 var(--h-mono); color: var(--petrol-3); }
.bx-qa__item h3 { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem); }
.bx-qa__a { grid-column: 2; margin: 0.5rem 0 0; color: var(--ink-2); max-width: 72ch; }
@media (max-width: 40rem) {
  .bx-qa__item { grid-template-columns: 1fr; }
  .bx-qa__a { grid-column: 1; }
}

.bx-meter { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr) 4.2rem; gap: 0.8rem; align-items: center; padding: 0.65rem 0; border-bottom: 1px solid var(--rule-2); }
.bx-meter__k { font: 500 0.82rem/1.3 var(--h-mono); }
.bx-meter__bar { height: 0.85rem; background: #e2e9ef; border: 1px solid var(--rule); position: relative; }
.bx-meter__bar i { position: absolute; inset: 0 auto 0 0; background: var(--petrol-2); }
.bx-meter__bar i.is-best { background: var(--hiviz-deep); }
.bx-meter__v { text-align: right; font: 500 0.95rem/1.3 var(--h-mono); font-feature-settings: "tnum"; }
@media (max-width: 34rem) { .bx-meter { grid-template-columns: 6.5rem minmax(0, 1fr) 3.4rem; gap: 0.5rem; } }

.bx-split { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.bx-split--flip > :first-child { order: 2; }
.bx-split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--rule); }
@media (max-width: 52rem) { .bx-split { grid-template-columns: 1fr; } .bx-split--flip > :first-child { order: 0; } }

.bx-note {
  border: 1px solid var(--petrol); border-left-width: 0.4rem; background: var(--card);
  padding: clamp(0.9rem, 2vw, 1.3rem);
}
.bx-note h3 { font-size: 1.05rem; }
.bx-note p { margin-top: 0.5rem; color: var(--ink-2); }

.bx-prose { max-width: 68ch; }
.bx-prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin: 2rem 0 0.7rem; }
.bx-prose ul { padding-left: 1.1rem; color: var(--ink-2); }
.bx-prose li { margin-bottom: 0.4rem; }

/* ---------- forms ---------------------------------------------------- */

.bx-form { background: var(--card); border: 1px solid var(--ink); padding: clamp(1rem, 2.5vw, 1.8rem); }
.bx-form__two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
@media (max-width: 40rem) { .bx-form__two { grid-template-columns: 1fr; } }
.bx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bx-send { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; margin-top: 0.4rem; }
.bx-send small { font: 400 0.78rem/1.45 var(--h-mono); color: var(--ink-2); flex: 1 1 14rem; }
.bx-msg {
  width: 100%; margin: 0.6rem 0 0; padding: 0.7rem 0.85rem;
  font: 400 0.9rem/1.5 var(--h-text); border: 1px solid var(--rule);
}
.bx-msg[data-state="ok"] { background: #f4fadf; border-color: var(--hiviz-deep); }
.bx-msg[data-state="err"] { background: #fdeeee; border-color: #c0483f; }
.bx-recap {
  margin: 0 0 1.2rem; padding: 0.8rem 0.9rem; background: #f4f8fb; border: 1px dashed var(--petrol-3);
  font: 400 0.84rem/1.55 var(--h-mono); color: var(--petrol);
}
.bx-recap b { font-weight: 500; }

/* the counter stub the booking leaves behind, in the form's place */
.bx-lodged { position: relative; background: var(--card); border: 1px solid var(--ink); box-shadow: 8px 8px 0 -1px rgba(13, 43, 62, 0.13); }
.bx-lodged:focus { outline: none; }
.bx-lodged:focus-visible { outline: 3px solid var(--hiviz-deep); outline-offset: 3px; }
.bx-lodged__top {
  background: var(--petrol); color: #fff; padding: 0.7rem 1rem;
  display: flex; justify-content: space-between; align-items: baseline; gap: 0.8rem;
  font: 500 0.78rem/1.3 var(--h-mono); letter-spacing: 0.06em; text-transform: uppercase;
}
.bx-lodged__top span { color: var(--hiviz); white-space: nowrap; }
.bx-lodged__body { padding: clamp(1rem, 2.5vw, 1.6rem); }
.bx-lodged__line { margin: 0 0 1rem; font: 600 1.1rem/1.4 var(--h-text); }
.bx-lodged__line b { font-weight: 700; }
.bx-lodged__grid { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.bx-lodged__grid > div { background: var(--card); padding: 0.6rem 0.75rem; min-width: 0; }
.bx-lodged__grid dt { font: 500 0.7rem/1.2 var(--h-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.bx-lodged__grid dd { margin: 0.2rem 0 0; font: 500 0.95rem/1.35 var(--h-text); overflow-wrap: anywhere; }
@media (max-width: 30rem) { .bx-lodged__grid { grid-template-columns: minmax(0, 1fr); } }
.bx-lodged__board { margin-top: 1rem; padding: 0.8rem 0.9rem; background: #f6faff; border: 1px solid var(--petrol-3); display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1rem; }
.bx-lodged__fig { margin: 0; font: 900 clamp(1.8rem, 1.4rem + 1.6vw, 2.4rem)/0.95 var(--h-display); letter-spacing: -0.03em; font-feature-settings: "tnum"; color: var(--petrol); }
.bx-lodged__figk { margin: 0; text-align: right; font: 400 0.78rem/1.45 var(--h-mono); color: var(--ink-2); }
.bx-lodged__figk span { display: block; color: var(--petrol); }
.bx-lodged__collect { margin: 0.8rem 0 0; font: 400 0.82rem/1.5 var(--h-mono); color: var(--ink-2); }
.bx-lodged__steps { margin: 1.1rem 0 0; padding: 0; list-style: none; counter-reset: lodged; border-top: 1px solid var(--rule); }
.bx-lodged__steps li {
  counter-increment: lodged; position: relative; padding: 0.8rem 0 0.8rem 2.4rem;
  border-bottom: 1px dashed var(--rule); font: 400 0.92rem/1.5 var(--h-text); color: var(--ink-2);
}
.bx-lodged__steps li::before {
  content: counter(lodged); position: absolute; left: 0; top: 0.75rem;
  width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 2px solid var(--petrol);
  display: grid; place-items: center; font: 500 0.75rem/1 var(--h-mono); color: var(--petrol);
}
.bx-lodged__steps li:first-child::before { background: var(--hiviz); }
.bx-lodged__steps b { color: var(--ink); font-weight: 700; }
.bx-lodged__steps span { font-family: var(--h-mono); color: var(--petrol); }
.bx-lodged__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin: 1.2rem 0 0; }
.bx-lodged__again { font: 500 0.85rem/1 var(--h-mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--petrol); background: none; border: 0; border-bottom: 2px solid var(--hiviz-deep); padding: 0 0 3px; cursor: pointer; }
.bx-lodged__again:hover { color: var(--petrol-2); border-bottom-color: var(--petrol-2); }
.bx-lodged__perf {
  height: 0.6rem;
  background:
    radial-gradient(circle at 0.3rem 0, var(--paper) 0.3rem, transparent 0.31rem) repeat-x 0 100% / 0.6rem 0.6rem;
  border-top: 1px dashed var(--rule);
}

/* ---------- footer --------------------------------------------------- */

.bx-foot { background: var(--petrol); color: #c7d6df; margin-top: var(--step); }
.bx-foot__in {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(2.2rem, 4vw, 3.2rem) 0 clamp(1.6rem, 3vw, 2.4rem);
}
@media (max-width: 58rem) { .bx-foot__in { grid-template-columns: 1fr; } }
.bx-foot__mark {
  font: 900 1.5rem/1 var(--h-display); letter-spacing: -0.035em; text-transform: uppercase;
  color: #fff; margin-bottom: 0.7rem;
}
.bx-foot h2 {
  font-size: 0.78rem; font-family: var(--h-mono); font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--hiviz); margin-bottom: 0.7rem;
}
.bx-foot a { color: #fff; }
.bx-foot__row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.bx-foot__addr { font: 400 0.92rem/1.6 var(--h-mono); }
.bx-hours { display: grid; grid-template-columns: auto auto; gap: 0.2rem 0.9rem; margin: 0.9rem 0 0; font: 400 0.82rem/1.5 var(--h-mono); justify-content: start; }
.bx-hours dt { color: #9fb6c4; }
.bx-hours dd { margin: 0; }
.bx-foot__nav { display: grid; gap: 0.35rem; }
.bx-foot__nav a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.16); padding-bottom: 0.3rem; width: fit-content; }
.bx-foot__nav a:hover { border-bottom-color: var(--hiviz); }
.bx-foot__fine {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem;
  padding: 1rem 0 1.6rem; border-top: 1px solid rgba(255, 255, 255, 0.14);
  font: 400 0.76rem/1.5 var(--h-mono); color: #93aab8;
}
.bx-foot__fine p { margin: 0; }

/* ---------- detail pages --------------------------------------------- */

.bx-detail { padding: clamp(2rem, 4vw, 3.4rem) 0 0; }
.bx-detail__head { display: grid; gap: 0.8rem; margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.bx-detail h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); }
.bx-crumb { font: 400 0.78rem/1.4 var(--h-mono); color: var(--ink-2); }
.bx-crumb a { color: var(--petrol-2); text-decoration: none; border-bottom: 1px solid var(--rule); }
.bx-detail__body { max-width: 68ch; }
.bx-detail__body p { margin-bottom: 1rem; }
.bx-facts-list { margin: 0 0 1.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1px; background: var(--card); }
.bx-facts-list > div { background: var(--card); padding: 0.75rem 0.9rem; box-shadow: 0 0 0 1px var(--rule); }
.bx-facts-list dt { font: 500 0.7rem/1.3 var(--h-mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-3); }
.bx-facts-list dd { margin: 0.3rem 0 0; font: 500 1rem/1.35 var(--h-mono); }

.bx-404 { padding: clamp(3rem, 8vw, 6rem) 0; text-align: left; }
.bx-404 h1 { font-size: clamp(2.4rem, 2rem + 3vw, 4rem); }
