/*
 * Silver Cabs Melbourne, design system.
 *
 * Direction "the docket": the fare estimate renders as a real taxi docket,
 * itemised, perforated, printed. It is the artifact a passenger already trusts,
 * it answers the one thing they actually worry about (what will this cost), and
 * it runs off the same fare engine every page prices from. Everything else is
 * kept quiet so that one element carries the page.
 *
 * Palette is sampled from the client's own logo and then pulled back off full
 * saturation. The logo runs #FD9B06 to #FDC405, a 98% chroma yellow, which is
 * right for a 40mm mark and shouts when it becomes a whole page brand bar.
 * The site holds the same hues at 84%: gold, not highlighter. Charcoal
 * #3C3C3C, silver #D5D5D9, on white and near white.
 *
 * Spacing NEVER goes in a style attribute in this theme. Inline styles cannot
 * be overridden by a media query, which silently breaks every phone layout.
 * Use the utilities at the bottom of this file instead.
 */

:root {
  /* Brand, sampled from the logo artwork, held at 84% saturation. */
  --amber: #EBAC1E;
  --amber-deep: #EB9819;
  --amber-bright: #ECBF27;
  --amber-ink: #7E510C;          /* Only shade of the brand that passes AA as text on white. */
  --amber-wash: #FDF6E9;

  --ink: #1B1B1D;
  --charcoal: #3C3C3C;
  --slate: #5A5A5F;
  --muted: #6B6B72;   /* 5.3:1 on white, still clears AA on the paper tint */

  --silver: #D5D5D9;
  --silver-soft: #E8E8EB;
  --paper: #F6F6F7;
  --surface: #FFFFFF;

  --ok: #147A4B;
  --warn: #B3541E;
  --err: #B3261E;

  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(27, 27, 29, .06), 0 1px 3px rgba(27, 27, 29, .08);
  --shadow: 0 4px 14px rgba(27, 27, 29, .08), 0 2px 4px rgba(27, 27, 29, .05);
  --shadow-lg: 0 18px 48px rgba(27, 27, 29, .14);

  --wrap: 1160px;
  --header-h: 82px;
  --gap: clamp(1rem, 2.5vw, 1.75rem);

  /* Inter, matching the owner's other site. Same client, same taste: he has
   * already signed off this typeface on the airport build. */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
}

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

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

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* A hidden element stays hidden. Without this a display rule on a wrapper
 * (a grid row, a flex row) beats the attribute and the field shows anyway. */
[hidden] { display: none !important; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.015em;
}

h1 { font-size: clamp(2.05rem, 4.6vw, 3.4rem); letter-spacing: -.02em; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.1vw, 2.35rem); letter-spacing: -.018em; font-weight: 800; }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.42rem); font-weight: 700; letter-spacing: -.01em; }
h4 { font-size: 1.08rem; font-family: var(--font-body); font-weight: 700; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--amber-ink); text-underline-offset: .18em; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--amber-deep);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: .7rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  /* Transform, not left:-9999px. An off canvas element positioned that far
   * left still contributes to document scrollWidth and creates a phantom
   * horizontal scrollbar. */
  transform: translateY(-120%);
  transition: transform .18s;
}
.skip:focus { transform: translateY(0); }

.wrap { width: min(100% - 1.7rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 1.7rem, 820px); margin-inline: auto; }

section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.sec--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.sec--paper { background: var(--paper); }
.sec--ink { background: var(--ink); color: #E9E9EC; }
.sec--ink h2, .sec--ink h3 { color: #fff; }

/* ---------------------------------------------------------------------------
 * Speed lines. The motion marks beside the car in the logo, reused as a
 * section seam. Two rows minimum: one row alone reads as a stray dashed rule
 * rather than a deliberate mark.
 * ------------------------------------------------------------------------ */
.speedlines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 74px;
  flex-shrink: 0;
}
.speedlines i {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: var(--amber);
}
.speedlines i:nth-child(1) { width: 100%; }
.speedlines i:nth-child(2) { width: 68%; }
.speedlines i:nth-child(3) { width: 84%; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: .9rem;
  padding: .45rem 1.1rem;
  border: 1px solid rgba(235, 152, 25, .42);
  border-radius: 999px;
  background: rgba(235, 152, 25, .07);
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  /* --amber-ink, not the plain brand amber: at this size the brand shade is
   * about 2.6:1 on white and would fail AA as text. */
  color: var(--amber-ink);
}
.sec--ink .eyebrow,
.hero--photo .eyebrow {
  color: var(--amber-bright);
  border-color: rgba(236, 191, 39, .4);
  background: rgba(236, 191, 39, .1);
}

.lede { font-size: 1.08em; color: var(--muted); max-width: 62ch; }
.sec--ink .lede { color: #B9B9C0; }

/* ---------------------------------------------------------------------------
 * Buttons
 * ------------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  min-height: 48px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;   /* a label that wraps to two lines otherwise sits left in a centred button */
  text-decoration: none;
  cursor: pointer;
  transition: background-color .16s, color .16s, border-color .16s, transform .12s;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: linear-gradient(135deg, var(--amber-bright) 0%, var(--amber-deep) 100%);
  color: var(--ink);
}
.btn--primary:hover { background: var(--amber-deep); color: var(--ink); }

.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--charcoal); color: #fff; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--silver); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }

.sec--ink .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.sec--ink .btn--ghost:hover { border-color: #fff; color: #fff; }

.btn--sm { padding: .55rem 1.05rem; min-height: 40px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn--lg { padding: 1.05rem 2rem; min-height: 56px; font-size: 1.1rem; }

.btnrow { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------------------------------------------------------------------------
 * Header
 * ------------------------------------------------------------------------ */
/* Gold bar, the owner's own header treatment on his airport site. A white
 * header under a dark hero read as a stray strip; the brand bar anchors it. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: linear-gradient(135deg, var(--amber-bright) 0%, var(--amber-deep) 100%);
  border-bottom: 1px solid rgba(27, 27, 29, .12);
}
.site-header__in {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; flex-shrink: 0; }
.brand img { height: 48px; width: auto; }

.nav { margin-left: auto; }
.nav > ul {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .6rem .8rem;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-weight: 700;
  font-size: .98rem;
  text-decoration: none;
}
.nav a:hover, .nav a[aria-expanded="true"] { background: rgba(27, 27, 29, .09); color: var(--ink); }
.nav .current > a { box-shadow: inset 0 -2px 0 var(--ink); }

.nav__item { position: relative; }
.nav__toggle {
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .6rem .8rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.nav__toggle:hover, .nav__toggle[aria-expanded="true"] { background: rgba(27, 27, 29, .09); color: var(--ink); }
.nav__toggle svg { transition: transform .18s; }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.nav__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 248px;
  background: var(--surface);
  border: 1px solid var(--silver-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: .4rem;
  list-style: none;
  margin: 0;
  z-index: 95;
}
.nav__menu a { display: block; padding: .6rem .75rem; }

/* Header actions sit hard right. The nav used to own this margin, so with the
 * nav hidden on a phone the call button drifted back toward the logo. */
.header__actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
/* `.nav + .header__actions` keeps matching even when the nav is display:none,
 * so on a phone this override replaced the auto margin and left the menu
 * button stranded in the middle of the header. Scope it to the widths where
 * the nav is actually rendered. */
@media (min-width: 1101px) {
  .nav + .header__actions { margin-left: .5rem; }
}

.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  margin-right: -.35rem;   /* optically aligns the glyph with the page gutter */
}
.hamburger:hover { background: rgba(27, 27, 29, .09); }
.hamburger[aria-expanded="true"] { background: rgba(27, 27, 29, .09); }
/* The icon swaps to a close mark while the drawer is open, so the control
 * says what it will do rather than what it did. */
.hamburger .icon-close { display: none; }
.hamburger[aria-expanded="true"] .icon-menu { display: none; }
.hamburger[aria-expanded="true"] .icon-close { display: block; }

.drawer { display: none; }

/* ---------------------------------------------------------------------------
 * Hero
 * ------------------------------------------------------------------------ */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 460px at 85% -10%, rgba(236, 191, 39,.16), transparent 62%),
    linear-gradient(180deg, #fff 0%, var(--paper) 100%);
  padding-block: clamp(2.25rem, 5vw, 4.25rem) clamp(3rem, 6vw, 5rem);
  overflow: clip;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: start;
}
/* Grid and flex children default to min-width:auto and refuse to shrink below
 * their content, which silently widens the whole page instead of wrapping. */
.hero__grid > *, .grid > *, .split > * { min-width: 0; }

.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--amber-deep); }

.trustrow { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; padding: 0; list-style: none; }
.trustrow li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--surface);
  border: 1px solid var(--silver-soft);
  border-radius: 999px;
  padding: .45rem .9rem;
  font-size: .93rem;
  font-weight: 600;
  color: var(--charcoal);
  box-shadow: var(--shadow-sm);
}
.trustrow svg { color: var(--amber-deep); flex-shrink: 0; }

/* ---------------------------------------------------------------------------
 * Booking card and form
 * ------------------------------------------------------------------------ */
.bookcard {
  background: var(--surface);
  border: 1px solid var(--silver-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}
.bookcard--plain { border: 0; box-shadow: none; padding: 0; background: none; }

.bookcard__head {
  display: flex;
  /* Stacked at every width. Side by side only ever fitted the widest card, and
   * in the hero it wrapped both the heading and the toggle labels. */
  flex-direction: column;
  align-items: stretch;
  gap: .75rem;
  margin-bottom: 1.1rem;
}
.bookcard__head h2, .bookcard__head h3 { margin: 0; font-size: 1.35rem; }

.seg {
  display: flex;
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--silver-soft);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.seg button {
  flex: 1;
  white-space: nowrap;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  font-size: .92rem;
  padding: .45rem .95rem;
  border-radius: 999px;
  cursor: pointer;
  color: var(--slate);
  /* 44px, not 38: this is a real control a thumb has to hit, and the checker
   * was right to flag it. The pill sits inside a 3px padded track, so the
   * track lands at 50px overall. */
  min-height: 44px;
}
/* Ink, not white: white on the brand amber measures 2:1 and this is the
 * control that tells you which mode the estimator is in. */
.seg button[aria-selected="true"] { background: var(--amber); color: var(--ink); }

.field { margin-bottom: .9rem; }
.field--last { margin-bottom: 0; }
.field > label, .fieldlabel {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: .35rem;
  letter-spacing: .01em;
}
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="date"],
.field input[type="time"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  padding: .8rem .95rem;
  min-height: 50px;
  border: 1.5px solid var(--silver);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--amber-deep); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--err); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.field-row--split { grid-template-columns: 1fr 1fr; }

.field__err { display: block; color: var(--err); font-size: .85rem; font-weight: 600; margin-top: .3rem; }

.field--addr { position: relative; }
.locate {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--amber-deep);
  cursor: pointer;
}
.locate::before, .locate::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--amber);
  opacity: 0;
  animation: locatepulse 2.2s ease-out infinite;
}
.locate::after { animation-delay: 1.1s; }
.locate.is-busy::before, .locate.is-busy::after { animation: none; opacity: 0; }
.locate.is-busy svg { animation: spin .9s linear infinite; }
.locate.is-done { background: var(--amber); color: var(--ink); }

@keyframes locatepulse {
  0%   { opacity: .55; transform: scale(.75); }
  100% { opacity: 0;   transform: scale(1.45); }
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .locate::before, .locate::after { animation: none; opacity: 0; }
}

/* Address autocomplete */
.ac {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 60;
  background: var(--surface);
  border: 1px solid var(--silver);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  max-height: 260px;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 4px;
}
.ac--above { top: auto; bottom: calc(100% + 4px); }
.ac li { padding: .6rem .7rem; border-radius: 6px; cursor: pointer; font-size: .96rem; }
.ac li[aria-selected="true"], .ac li:hover { background: var(--amber-wash); }
.ac__sub { display: block; color: var(--muted); font-size: .84rem; }

/* Vehicle picker */
.vehopts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.vehopt input { position: absolute; opacity: 0; pointer-events: none; }
.vehopt__box {
  display: block;
  background: var(--surface);
  border: 1.5px solid var(--silver);
  border-radius: var(--radius-sm);
  padding: .8rem;
  cursor: pointer;
  height: 100%;
}
.vehopt input:checked + .vehopt__box { border-color: var(--amber); box-shadow: inset 0 0 0 1px var(--amber); background: var(--surface); }
.vehopt input:focus-visible + .vehopt__box { outline: 3px solid var(--amber-deep); outline-offset: 2px; }
.vehopt__name { font-weight: 700; color: var(--ink); display: block; }
.vehopt__meta { font-size: .84rem; color: var(--muted); display: block; margin-top: .15rem; }

.checkitem {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  background: var(--surface);
  border: 1.5px solid var(--silver);
  border-radius: var(--radius-sm);
  padding: .7rem .85rem;
  cursor: pointer;
}
.checkitem input { margin-top: .25rem; width: 18px; height: 18px; accent-color: var(--amber-deep); flex-shrink: 0; }
.checkitem span { font-size: .95rem; }

.formsec { padding-top: 1.25rem; margin-top: 1.25rem; }
.formsec + .formsec { border-top: 1px solid var(--silver-soft); }
/* Specificity trap: `.formsec + .formsec` is 0-2-0, so a bare `.formsec--bare`
 * at 0-1-0 loses and the rule has to name both. */
.formsec + .formsec--bare { border-top: 0; }
.formsec:first-child { padding-top: 0; margin-top: 0; }
.formsec > h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; margin-bottom: .8rem; }

/* ---------------------------------------------------------------------------
 * The docket. The signature element: a real taxi receipt, itemised, so the
 * passenger can see exactly what the number is made of.
 * ------------------------------------------------------------------------ */
.docket {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--silver);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  padding: 1.15rem 1.15rem 1.05rem;
  margin-top: 14px;
  box-shadow: var(--shadow-sm);
}
/* Perforated tear along the top edge. */
.docket::before {
  content: '';
  position: absolute;
  left: -1px;
  right: -1px;
  top: -13px;
  height: 13px;
  background:
    repeating-linear-gradient(90deg, var(--surface) 0 9px, transparent 9px 18px),
    linear-gradient(var(--surface), var(--surface));
  -webkit-mask: radial-gradient(circle 6px at 9px 0, transparent 0 6px, #000 6.5px) repeat-x 0 100% / 18px 13px;
  mask: radial-gradient(circle 6px at 9px 0, transparent 0 6px, #000 6.5px) repeat-x 0 100% / 18px 13px;
  border-top: 1px solid var(--silver);
  border-left: 1px solid var(--silver);
  border-right: 1px solid var(--silver);
}
.docket__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .7rem;
  border-bottom: 1px dashed var(--silver);
}
.docket__title { font-family: var(--font-body); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.docket__tariff { font-size: .82rem; color: var(--muted); font-weight: 600; }

.docket__total { display: flex; align-items: baseline; gap: .5rem; padding: .85rem 0 .2rem; }
.docket__amount {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.6vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}
.docket__range { font-size: .95rem; color: var(--muted); font-weight: 600; }
.docket__note { font-size: .9rem; color: var(--muted); margin-top: .15rem; }

.docket__items { list-style: none; margin: .85rem 0 0; padding: .8rem 0 0; border-top: 1px dashed var(--silver); }
.docket__items li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .93rem;
  padding: .28rem 0;
  color: var(--slate);
}
.docket__items b { color: var(--ink); font-variant-numeric: tabular-nums; font-weight: 600; }
.docket__items li.is-sub { font-size: .86rem; color: var(--muted); }

.docket--empty .docket__amount { color: var(--silver); }

.docket__legal { font-size: .82rem; color: var(--muted); margin-top: .85rem; padding-top: .7rem; border-top: 1px dashed var(--silver); }

/* ---------------------------------------------------------------------------
 * Cards and grids
 * ------------------------------------------------------------------------ */
.grid { display: grid; gap: 1.15rem; }
/* minmax with a bare 320px floor overflows a 320px viewport once padding is
 * counted. min() keeps the floor honest. */
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.grid--roomy { gap: clamp(1.15rem, 2.5vw, 2rem); }

.card {
  background: var(--surface);
  border: 1px solid var(--silver-soft);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.card--link { text-decoration: none; color: inherit; display: block; transition: border-color .16s, box-shadow .16s, transform .16s; }
.card--link:hover { border-color: var(--amber); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--slate); font-size: .98rem; }

.cardicon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--amber-wash);
  color: var(--amber-ink);
  margin-bottom: .9rem;
}

.stat { text-align: left; }
.stat__n {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  color: var(--amber-deep);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__l { font-size: .95rem; color: var(--slate); margin-top: .35rem; }

/* Top aligned, not centred. Centring only looks right when both columns are a
 * similar height: on the contact page a four card column beside a form pushed
 * the form 170px down the page and left a hole above it. */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.steps li { counter-increment: s; display: flex; gap: 1rem; align-items: flex-start; }
.steps li::before {
  content: counter(s);
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

/* Vehicle cards */
.vehcard { background: var(--surface); border: 1px solid var(--silver-soft); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); height: 100%; display: flex; flex-direction: column; }
.vehcard__img { background: var(--paper); aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; }
.vehcard__img img { width: 100%; height: 100%; object-fit: contain; }
.vehcard__body { padding: 1.1rem 1.2rem 1.3rem; flex: 1; display: flex; flex-direction: column; }
.vehcard__meta { list-style: none; margin: .6rem 0 0; padding: 0; font-size: .93rem; color: var(--slate); display: grid; gap: .25rem; }
.vehcard__meta li { display: flex; gap: .5rem; align-items: center; }

/* Tables scroll inside their own box, never sideways-scroll the page. */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; border: 1px solid var(--silver-soft); border-radius: var(--radius); }
table.tbl { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 460px; }
table.tbl th, table.tbl td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--silver-soft); }
table.tbl thead th { background: var(--paper); font-weight: 700; color: var(--ink); font-size: .88rem; text-transform: uppercase; letter-spacing: .05em; }
table.tbl tbody th { font-weight: 700; color: var(--ink); text-align: left; }
table.tbl td.num, table.tbl th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.tbl tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq details { background: var(--surface); border: 1px solid var(--silver-soft); border-radius: var(--radius); overflow: hidden; }
.faq summary {
  cursor: pointer;
  padding: 1.05rem 1.25rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  width: 11px; height: 11px;
  border-right: 2.5px solid var(--amber-deep);
  border-bottom: 2.5px solid var(--amber-deep);
  transform: rotate(45deg);
  transition: transform .18s;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .faq__a { padding: 0 1.25rem 1.2rem; color: var(--slate); }

/* Suburb / area chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.chips a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: .45rem .95rem;
  background: var(--surface);
  border: 1px solid var(--silver);
  border-radius: 999px;
  font-size: .94rem;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
}
.chips a:hover { border-color: var(--amber); color: var(--ink); background: var(--amber-wash); }

.callout {
  background: var(--amber-wash);
  border: 1px solid rgba(235, 152, 25,.28);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
}
.callout p { font-size: .98rem; }

.entry { font-size: 1.06rem; }
.entry h2 { margin-top: 2.2rem; }
.entry h3 { margin-top: 1.6rem; }
.entry ul, .entry ol { padding-left: 1.3rem; margin: 0 0 1.1em; }
.entry li { margin-bottom: .4em; }
/* Any rule that colours a bare `a` inside a component wrapper needs to spare
 * the buttons, or a link colour repaints a button label. */
.entry a:not(.btn) { color: var(--amber-ink); }

/* Breadcrumbs */
.crumbs { font-size: .88rem; color: var(--muted); padding-top: 1.1rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs li + li::before { content: '/'; margin-right: .4rem; color: var(--silver); }

/* Page hero for interior pages */
.phero { background: linear-gradient(180deg, #fff, var(--paper)); border-bottom: 1px solid var(--silver-soft); padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3rem); }
.phero h1 { margin-bottom: .3em; }

/* ---------------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------------ */
.site-footer { background: var(--ink); color: #B9B9C0; padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem; }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
/* :not(.btn) so the footer's amber call button keeps its own label colour. */
.site-footer a:not(.btn) { color: #B9B9C0; text-decoration: none; }
.site-footer a:not(.btn):hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
/* The footer carries the vertical lockup on a white plate, so the client's
 * official charcoal wordmark stays official instead of being recoloured to
 * survive a dark background. */
/* The dark background mark sits straight on the ink: official colours with a
 * white wordmark, so the white plate of the vertical lockup is gone. */
.footer__brand img { height: 56px; width: auto; display: block; margin-bottom: 1.1rem; }
.footer__bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .87rem; }

/* ---------------------------------------------------------------------------
 * Sticky action bar, phones only
 * ------------------------------------------------------------------------ */
.actionbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  background: rgba(255,255,255,.97);
  border-top: 1px solid var(--silver);
  padding: .6rem .8rem;
  padding-bottom: calc(.6rem + env(safe-area-inset-bottom));
  gap: .55rem;
  box-shadow: 0 -4px 18px rgba(27,27,29,.09);
}
.actionbar .btn { flex: 1; padding: .7rem .6rem; font-size: .95rem; gap: .4rem; min-height: 46px; }

/* ---------------------------------------------------------------------------
 * Utilities. Spacing lives here, never in a style attribute.
 * ------------------------------------------------------------------------ */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.narrow { max-width: 62ch; }
.center { text-align: center; }
.center .eyebrow, .center .lede { justify-content: center; margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------------------
 * Responsive
 * ------------------------------------------------------------------------ */
@media (max-width: 1100px) {
  .nav { display: none; }
  .hamburger { display: inline-flex; }
  .hero__grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }

  /* The drawer renders the same nav tree as native accordions, closed by
   * default so every item plus the book button fits a 320x568 screen.
   * Visibility is driven by the hidden attribute: `[open]` only matches a
   * <details> element, and this is a <nav>, so that selector never fired and
   * the menu could not open at all. */
  .drawer:not([hidden]) { display: block; }
  .drawer {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 88;
    background: var(--surface);
    overflow-y: auto;
    padding: 1.25rem;
    padding-bottom: 6rem;
  }
  .drawer ul { list-style: none; margin: 0; padding: 0; }
  .drawer > ul > li { border-bottom: 1px solid var(--silver-soft); }
  .drawer a, .drawer summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: .5rem .25rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
  }
  .drawer summary { list-style: none; }
  .drawer summary::-webkit-details-marker { display: none; }
  .drawer summary::after {
    content: '';
    width: 9px; height: 9px;
    border-right: 2.5px solid var(--amber-deep);
    border-bottom: 2.5px solid var(--amber-deep);
    transform: rotate(45deg);
    flex-shrink: 0;
  }
  .drawer details[open] > summary::after { transform: rotate(-135deg); }
  .drawer details ul { padding-left: .9rem; padding-bottom: .5rem; }
  .drawer details ul a { min-height: 46px; color: var(--slate); font-weight: 500; }
}

/* Touch targets keyed to width OR a coarse pointer, not a bare width: an iPad
 * at 768 needs them too, and headless Chromium reports `fine` even while
 * emulating a phone, so `coarse` alone can silently stop applying. */
@media (max-width: 1100px), (pointer: coarse) {
  .site-footer a:not(.btn), .chips a, .nav a, .crumbs a { min-height: 44px; display: inline-flex; align-items: center; }
  .site-footer ul { gap: .1rem; }
}

@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .actionbar { display: flex; }
  body { padding-bottom: 74px; }
  .field-row { grid-template-columns: 1fr; }
  /* Date and time stay side by side at every width. Stacking them makes a
   * simple pair look like four unrelated questions. */
  .field-row--split { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  :root { --header-h: 72px; }
  .brand img { height: 50px; }
  .wrap, .wrap--narrow { width: min(100% - 1.75rem, var(--wrap)); }
  .bookcard { padding: 1.05rem; border-radius: var(--radius); }
  .actionbar .btn { font-size: .92rem; padding: .7rem .5rem; }
  .docket__items li { font-size: .89rem; }
}

@media print {
  .site-header, .actionbar, .drawer, .site-footer { display: none !important; }
  body { padding-bottom: 0; }
}

.btnrow--center { justify-content: center; }

/* ---------------------------------------------------------------------------
 * Narrow phone fixes, found by the responsive checker at 320px rather than
 * guessed at. The header carried a logo, a phone button with the full number,
 * a Book online button and a hamburger, which needs 382px of room on a 320px
 * screen. The sticky action bar already carries both actions on a phone, so
 * the header only has to keep the logo and the menu.
 * ------------------------------------------------------------------------ */
/* Phone header: the logo and the menu, nothing else.
 *
 * The sticky bar at the bottom of every phone screen already carries Call and
 * Book, so repeating both in the header bought nothing and cost the logo its
 * room: at 38px tall the word MELBOURNE under the wordmark was about four
 * pixels high and simply could not be read. The logo now gets the space. */
@media (max-width: 860px) {
  .header__actions .btn { display: none; }
}

@media (max-width: 700px) {
  .brand img { height: 52px; }
}

/* Tap targets the checker measured under the floor. The brand is the single
 * most tapped link on a phone and was sitting at 38px. */
.brand { min-height: 44px; }
.locate { width: 40px; height: 40px; right: 6px; bottom: 6px; }

/* Links inside a data table are standalone navigation, not inline prose, so
 * they take a real tap target on touch. Inline links inside body copy are
 * deliberately left at line height: WCAG 2.5.8 exempts them, and a 44px
 * overlay there would cover the lines above and below and steal their taps. */
@media (max-width: 1100px), (pointer: coarse) {
  table.tbl a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* Booking form controls.
 *
 * A 13px radio sitting inside a 120px card is a real accessibility problem, not
 * a measuring artifact: the control itself is the thing assistive tech and a
 * stylus target. So the native input is stretched to cover its whole label and
 * made transparent, and the visible state is drawn by the label instead. The
 * hit area and the thing you can see are then the same object.
 */
.vehopt { position: relative; display: block; }
.vehopt input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}
.vehopt__box { min-height: 44px; }

.checkitem { position: relative; min-height: 44px; align-items: center; }
.checkitem input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}
/* The box the native checkbox used to draw, now drawn by the label so the
 * input is free to be the full size hit area. */
.checkitem::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px solid var(--silver);
  border-radius: 6px;
  background: var(--surface);
  transition: background-color .14s, border-color .14s;
}
.checkitem:has(input:checked)::before {
  background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9.6 16.8 5 12.2l1.4-1.4 3.2 3.2 8-8L19 7.4Z'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
  border-color: var(--amber);
}
.checkitem:has(input:focus-visible) { outline: 3px solid var(--amber-deep); outline-offset: 2px; }

/* The now/later toggle sat beside the card heading, which left it about 120px
 * on a phone and wrapped "Book for now" onto three lines. Below the tablet
 * breakpoint the heading takes its own row and the toggle spans the card, so
 * each label reads on one line. */
@media (max-width: 720px) {
  .seg button { padding-inline: .5rem; }
}

/* ===========================================================================
 * Tablet correction.
 *
 * The first pass was tuned for a phone and a desktop, so everything from 700px
 * to 1100px inherited phone treatment: single column footer, single column
 * hero, 44px on every footer link, and the sticky bar duplicating actions the
 * header was still showing. On a real iPad that reads as a broken page with
 * enormous empty gutters, which no overflow checker will ever catch. These
 * rules give the tablet range its own layout.
 * ======================================================================== */

/* The hero holds two columns until there is genuinely no room, rather than
 * collapsing the moment the desktop nav does. */
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
}
@media (max-width: 899px) {
  .hero__grid { grid-template-columns: 1fr; }

  /* Stacked, the booking card comes second, straight after the headline, so
   * the page does not open on a wall of copy with the actual tool below the
   * fold. display:contents promotes the copy's children to grid items so they
   * can be ordered around the card without duplicating any markup. */
  .hero__copy { display: contents; }
  .hero__copy .eyebrow { order: 1; }
  .hero__copy h1 { order: 2; }
  .hero__form { order: 3; margin-block: .5rem 1.25rem; }
  .hero__copy .lede { order: 4; }
}

/* The footer keeps real columns on a tablet. At one column, with every link on
 * a 44px touch row, it ran to nearly two full screens of dead space. */
@media (max-width: 1100px) {
  /* Four blocks into two columns is a clean 2x2. Spanning the brand full width
   * instead leaves the last block sitting alone beside an empty cell. */
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
}
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* One set of actions at a time. Between 700 and 860 the header still showed
 * Call and Book online while the sticky bar showed the same two again. */
@media (max-width: 860px) {
  .header__actions .btn--primary { display: none; }
  .header__actions .btn--ghost span { display: none; }
  .header__actions .btn--ghost {
    width: 46px;
    padding: 0;
    min-height: 46px;
    border-radius: var(--radius-sm);
  }
}

/* Sections breathe less on a tablet than on a 1440px desktop. */
@media (max-width: 1100px) {
  section { padding-block: clamp(2.5rem, 5vw, 3.75rem); }
}

/* The spec list is reused on suburb pages as a list of service links. Its rows
 * were sized for non interactive text, which left those links at 25px. Only the
 * rows that actually contain a link get the touch height, so a genuine spec row
 * ("4 seats", "8 large bags") keeps its tight rhythm. */
@media (max-width: 1100px), (pointer: coarse) {
  .vehcard__meta li:has(a) { min-height: 44px; }
  .vehcard__meta a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ===========================================================================
 * Section by section review pass, 390 / 768 / 1440.
 * Every rule below is a specific thing that looked wrong in a screenshot.
 * ======================================================================== */

/* The locate button sat on top of the placeholder and, worse, on top of a real
 * typed address once the field had content. The input now reserves its space. */
.field--addr input[type="text"] { padding-right: 52px; }

/* Headings were breaking with a two character orphan on the last line
 * ("...You Book / It"). Balance spreads the lines instead. */
h1, h2, h3 { text-wrap: balance; }
.lede, .section-desc { text-wrap: pretty; }

/* Desktop hero left a tall band of dead space under the copy because the two
 * columns are very different heights and both were pinned to the top. */
@media (min-width: 900px) {
  /* Top aligned. Centring a short copy column against a tall booking card
   * pushed the headline a third of the way down the viewport, which reads as
   * a layout bug rather than as breathing room. */
  .hero__grid { align-items: start; }
  .hero { padding-block: clamp(2.25rem, 3.5vw, 3.25rem) clamp(2.75rem, 4.5vw, 4rem); }
}

/* Stacked, the booking card should not stretch to a full tablet width: 726px
 * of empty input reads as a form that lost its layout. */
@media (max-width: 899px) {
  .hero__form { max-width: 620px; width: 100%; margin-inline: auto; }
}

/* Phone: the footer link groups are short labels and fit two across easily.
 * One per row with a 44px touch height ran the footer past a full screen. */
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1.25rem; }
  .footer__brand { grid-column: 1 / -1; }
}

/* Phone: a call to action pair reads as one deliberate block at full width
 * rather than two differently sized pills hugging their text. */
@media (max-width: 560px) {
  .btnrow .btn { width: 100%; }
  .btnrow--center .btn { width: auto; }
}

/* The dark band's four figures ran together as one list with no separation. */
@media (max-width: 899px) {
  .sec--ink .stat { padding-block: .9rem; border-top: 1px solid rgba(255,255,255,.12); }
  .sec--ink .stat:first-child { border-top: 0; padding-top: 0; }
}

/* Phone sections were carrying desktop sized air. */
@media (max-width: 560px) {
  section { padding-block: 2.5rem; }
  .trustrow { gap: .4rem; }
  .trustrow li { font-size: .9rem; padding: .4rem .8rem; }
}

/* ---------------------------------------------------------------------------
 * Tables stack on a phone.
 *
 * House rule, and the reason for it was visible here: at 390px the fare table
 * silently hid its "per minute" column behind a horizontal scroll with no
 * affordance, so the page looked like it was simply missing a column. Each row
 * becomes a small card and every cell carries its column name, injected by JS
 * so no template has to repeat the headers.
 * ------------------------------------------------------------------------ */
@media (max-width: 680px) {
  .tbl-wrap { overflow-x: visible; border: 0; border-radius: 0; }
  table.tbl { min-width: 0; border-collapse: separate; border-spacing: 0 .75rem; }
  table.tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  table.tbl tr {
    display: block;
    background: var(--surface);
    border: 1px solid var(--silver-soft);
    border-radius: var(--radius);
    padding: .35rem .9rem;
    box-shadow: var(--shadow-sm);
  }
  table.tbl td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    text-align: right;
    padding: .5rem 0;
    border-bottom: 1px solid var(--silver-soft);
  }
  table.tbl td:last-child { border-bottom: 0; }
  table.tbl td::before {
    content: attr(data-label);
    text-align: left;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
    flex-shrink: 0;
  }
  /* The first cell is the row's subject, so it reads as the card heading
   * rather than another labelled value. */
  table.tbl td:first-child {
    display: block;
    text-align: left;
    font-weight: 700;
    color: var(--ink);
    padding-top: .6rem;
  }
  table.tbl td:first-child::before { content: none; }
  table.tbl td.num { text-align: right; }
}

/* The contact block carries a sentence, not a link list, so in a half column
 * on a phone it wrapped four words to a line. It takes the full row instead. */
@media (max-width: 520px) {
  .footer__grid > div:last-child { grid-column: 1 / -1; }
}

/* Phone footer: the contact block carries a sentence, so in a half width
 * column it wrapped into a four line ribbon. It takes the full row instead. */
@media (max-width: 520px) {
  .footer__grid > div:last-child { grid-column: 1 / -1; }
}


/* ---------------------------------------------------------------------------
 * Trust band.
 *
 * The trust row now sits in its own section between the hero and the fleet.
 * Without a band treatment it read as four pills floating in empty white with
 * no relationship to anything either side of them.
 * ------------------------------------------------------------------------ */
.trustband {
  background: var(--surface);
  border-block: 1px solid var(--silver-soft);
  padding-block: 1.1rem;
}
.trustband .trustrow {
  margin-top: 0;
  justify-content: center;
}
.trustband .trustrow li {
  border-color: var(--silver-soft);
  box-shadow: none;
  background: var(--paper);
}

@media (max-width: 560px) {
  .trustband { padding-block: .9rem; }
  .trustband .trustrow { justify-content: flex-start; gap: .4rem; }
}

/* ===========================================================================
 * Design pass.
 *
 * Three changes, in the order the redesign protocol prioritises them:
 * spacing and rhythm, then colour and material variation, then a motion layer.
 * Brand tokens, information architecture, slugs and copy voice are untouched.
 * ======================================================================== */

/* The trust strip used to sit inside the hero, which overloaded a moment that
 * should carry one message and one action. It is now its own quiet band. */
.trustband { border-bottom: 1px solid var(--silver-soft); background: var(--surface); }
.trustband .trustrow { margin-top: 0; justify-content: center; }
.trustband .trustrow li { box-shadow: none; background: var(--paper); border-color: transparent; }

@media (max-width: 700px) {
  .trustband .trustrow { justify-content: flex-start; }
}

/* Eight identical white cards in a grid is the templated look. The first cell
 * carries the highest demand service, so it earns real visual weight instead
 * of being one more white rectangle. */
.grid--3 > .card--link:first-child {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(236, 191, 39, .16), transparent 58%),
    var(--surface);
  border-color: rgba(235, 152, 25, .32);
}
.grid--3 > .card--link:first-child .cardicon { background: var(--amber); color: var(--ink); }

/* A card that is a link should feel like one before it is hovered. */
.card--link { position: relative; }
.card--link::after {
  content: '';
  position: absolute;
  inset-inline-start: 1.35rem;
  bottom: 1.15rem;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--amber);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .18s, transform .18s;
}
.card--link:hover::after { opacity: 1; transform: translateX(0); }

/* The vehicle photos sat on flat grey. A soft floor gives them somewhere to
 * stand without inventing a shadow the car does not cast. */
.vehcard__img {
  background:
    radial-gradient(75% 50% at 50% 86%, rgba(27, 27, 29, .09), transparent 72%),
    var(--paper);
}

/* ---------------------------------------------------------------------------
 * Motion, intensity 4. Restrained on purpose: someone booking a cab at 4am
 * needs the form, not choreography. Sections settle in as they arrive, which
 * gives the page hierarchy on the way down and nothing else.
 *
 * Uses the scroll driven animation timeline where supported so nothing runs on
 * the main thread, and only ever animates transform and opacity.
 * ------------------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  /* Motion is deliberately limited to the hero load in and to interaction
   * feedback. A scroll reveal was built and removed: any reveal that starts
   * from opacity 0 leaves real sections blank whenever the trigger does not
   * fire (a full page render, a mid page anchor landing, an observer that
   * never fires), and on a booking page content beats choreography. */
  .hero__copy > *, .hero__form {
    animation: scm-rise .5s cubic-bezier(.16, 1, .3, 1) both;
  }
  .hero__copy > *:nth-child(2) { animation-delay: .06s; }
  .hero__copy > *:nth-child(3) { animation-delay: .12s; }
  .hero__form { animation-delay: .1s; }

  .btn, .card--link, .chips a { transition: background-color .16s, color .16s, border-color .16s, box-shadow .16s, transform .16s; }
}

@keyframes scm-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* The docket's legal line is essential next to a real fare and noise before
 * one exists. Hiding it until the docket has something to explain also shortens
 * the hero card by about 90px, which balances it against the copy column. */
.docket--empty .docket__legal { display: none; }

/* ===========================================================================
 * Photography.
 *
 * The page was white cards on white, which is why it read as templated no
 * matter how the spacing was tuned. Real photographs now carry the hero and
 * two section breaks. Every image sits under a scrim heavy enough that the
 * text over it passes AA on its own, never relying on a lucky bright patch of
 * the photo staying where it is at a given width.
 * ======================================================================== */

.hero--photo, .sec--photo { position: relative; isolation: isolate; overflow: clip; }

.hero__bg, .sec__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
}
.hero__bg img, .sec__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}

/* Scrim. Two layers: a directional wash that keeps the copy side readable, and
 * a flat floor so the darkest text never depends on where the car happens to
 * sit at that viewport width. */
.hero--photo::before, .sec--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(12,12,14,.92) 0%, rgba(12,12,14,.78) 42%, rgba(12,12,14,.42) 72%, rgba(12,12,14,.55) 100%),
    linear-gradient(180deg, rgba(12,12,14,.55), rgba(12,12,14,.35));
}

/* Hero, on the photograph. */
.hero--photo { background: var(--ink); padding-block: clamp(3rem, 6vw, 5rem) clamp(3.5rem, 7vw, 5.5rem); }
.hero--photo h1 { color: #fff; }
.hero--photo h1 em { color: var(--amber-bright); }
.hero--photo .lede { color: #DADADE; }
.hero--photo .eyebrow { color: var(--amber-bright); }
.hero--photo .eyebrow::before { background: var(--amber-bright); }

/* The booking card is the one opaque object on the page and it should read as
 * a physical thing resting on the photograph. */
.hero--photo .bookcard {
  box-shadow: 0 32px 80px rgba(0, 0, 0, .45), 0 2px 8px rgba(0, 0, 0, .25);
  border-color: rgba(255, 255, 255, .5);
}

/* The trust band sits directly under a dark hero, so it gets a hairline rather
 * than floating loose. */
.trustband { border-top: 0; }

/* Photographic section bands. */
.sec--photo { background: var(--ink); }
.sec--areas .lede { color: #DADADE; }

/* On a phone the photograph is mostly hidden behind the copy anyway, so it is
 * pushed to a supporting role and the scrim goes heavier: a busy image behind
 * a form is noise, not atmosphere. */
@media (max-width: 700px) {
  .hero__bg img { object-position: center 55%; }
  .hero--photo::before {
    background:
      linear-gradient(180deg, rgba(12,12,14,.86) 0%, rgba(12,12,14,.92) 55%, rgba(12,12,14,.96) 100%);
  }
  .sec--photo::before {
    background: linear-gradient(180deg, rgba(12,12,14,.88), rgba(12,12,14,.94));
  }
}

/* A photograph is decoration here, so it must never be the reason the page
 * cannot be read. */
@media (prefers-contrast: more) {
  .hero__bg, .sec__bg { display: none; }
  .hero--photo::before, .sec--photo::before { background: var(--ink); }
}

/* Supporting text over a photograph gets lifted and given a soft shadow. The
 * scrim handles the average case, but light trails and terminal glass move
 * around as the image is cropped at different widths, and a caption should not
 * depend on where a highlight happens to land. */
.sec--photo .stat__l,
.sec--photo p,
.sec--areas .lede {
  color: #E4E4E8;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .55);
}
.sec--photo .stat__n { text-shadow: 0 2px 6px rgba(0, 0, 0, .5); }
.hero--photo .lede { text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }

/* Service page header, when the service has a photograph that honestly shows
 * it. Shorter than the home hero: this is a page header, not a landing moment. */
.phero--photo {
  background: var(--ink);
  border-bottom: 0;
  padding-block: clamp(2rem, 4vw, 3.25rem) clamp(2.5rem, 5vw, 3.75rem);
}
.phero--photo h1 { color: #fff; }
.phero--photo .lede { color: #E4E4E8; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.phero--photo .crumbs, .phero--photo .crumbs a { color: #C4C4CC; }
.phero--photo .crumbs a:hover { color: #fff; }
.phero--photo .crumbs li + li::before { color: #6E6E78; }
.phero--photo .btn--ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.phero--photo .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* A heading inside a card is a card title, not a page section heading. At the
 * full h2 scale it shouted over the form it belongs to. */
.bookcard > h2, .card > h2 { font-size: clamp(1.3rem, 1.6vw, 1.55rem); letter-spacing: -.012em; }

/* ---------------------------------------------------------------------------
 * Controls inside the gold header bar.
 * ------------------------------------------------------------------------ */
.site-header .btn--ghost {
  color: var(--ink);
  border-color: rgba(27, 27, 29, .32);
  background: rgba(255, 255, 255, .34);
}
.site-header .btn--ghost:hover { border-color: var(--ink); background: rgba(255, 255, 255, .6); }
.site-header .btn--primary { background: var(--ink); color: #fff; border-color: transparent; }
.site-header .btn--primary:hover { background: var(--charcoal); color: #fff; }
.hamburger { color: var(--ink); }
.site-header .nav__menu a { color: var(--charcoal); }
.site-header .nav__menu a:hover { background: var(--paper); color: var(--ink); }

/* ===========================================================================
 * Owner parity pass.
 *
 * This client already runs taxitomelbourneairport.com.au and judges a site
 * against it, so the component language here is his: gold brand bar, bordered
 * pill section labels, circular icon badges, inset vehicle media, a gold trust
 * band under the hero, ink on gold for anything clickable.
 * ======================================================================== */

/* Trust band: the owner's is a full gold strip, not a white shelf. */
.trustband {
  background: linear-gradient(135deg, var(--amber-bright) 0%, var(--amber-deep) 100%);
  border-block: 1px solid rgba(27, 27, 29, .1);
  border-bottom: 1px solid rgba(27, 27, 29, .1);
}
.trustband .trustrow li {
  background: rgba(255, 255, 255, .46);
  border-color: rgba(27, 27, 29, .1);
  color: var(--ink);
  font-weight: 700;
}
.trustband .trustrow svg { color: var(--ink); }

/* Service cards: centred, with the circular badge the owner's site uses. */
.grid--3 > .card--link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.6rem 1.15rem;
}
.grid--3 > .card--link h3 { margin-bottom: .35rem; }
.grid--3 > .card--link p { color: var(--muted); font-size: .95rem; }
/* The underline flourish was anchored to a left edge that no longer exists. */
.grid--3 > .card--link::after { left: 50%; transform: translateX(-50%) translateY(-4px); inset-inline-start: auto; }
.grid--3 > .card--link:hover::after { transform: translateX(-50%) translateY(0); }

/* Vehicle cards: media inset in its own tray rather than bleeding to the edge. */
.vehcard {
  border-radius: 18px;
  padding: .75rem;
  box-shadow: var(--shadow);
}
.vehcard__img {
  border-radius: 14px;
  min-height: 152px;
  padding: .75rem;
  aspect-ratio: auto;
}
.vehcard__body { padding: 1rem .5rem .6rem; }

/* Footer links pick up the brand on hover, as his do. */
.site-footer a:not(.btn):hover { color: var(--amber-bright); text-decoration: none; }

/* A centred section header, the default rhythm on his site. */
.center .eyebrow { margin-inline: auto; }

/* ---------------------------------------------------------------------------
 * Contrast corrections, measured rather than eyeballed.
 * ------------------------------------------------------------------------ */

/* The big suburb and route figures were plain brand amber on white, 2.1:1
 * against the 3:1 that large text needs. This shade still reads as the brand
 * and clears it at 4.2:1. On a dark band the bright amber is already fine. */
.stat__n { color: #A36810; }
.sec--ink .stat__n, .sec--photo .stat__n { color: var(--amber-bright); }

/* The docket's resting "$0.00" was --silver, 1.5:1. It should look inactive,
 * not invisible. */
.docket--empty .docket__amount { color: #8E8E96; }

/* A 40px control is a 40px control whether or not it is labelled "small". */
.btn--sm { min-height: 44px; }
.locate { width: 44px; height: 44px; right: 5px; bottom: 5px; }

/* The footer legal pair sat at 16px tall, under even the 24px AA minimum, on
 * every device rather than only on touch. */
.footer__bottom a { display: inline-block; padding-block: .45rem; }
.chips a { min-height: 44px; }

/* Table links were given a touch target on touch, but on a desktop they stayed
 * at line height, under the 24px minimum that applies to a mouse as well. */
table.tbl a { display: inline-block; padding-block: .3rem; min-height: 26px; }

/* A row heading cell is the card title in the stacked view, the same as a
 * first td is when a table has no row headers. */
@media (max-width: 680px) {
  table.tbl tbody th {
    display: block;
    text-align: left;
    font-weight: 700;
    color: var(--ink);
    padding: .6rem 0 .5rem;
    border-bottom: 1px solid var(--silver-soft);
  }
}

/* A directory of 72 suburbs needs a way in. */
.regionjump { border-bottom: 1px solid var(--silver-soft); }
.regionjump .chips { justify-content: center; }

/* Stacked directory rows: tighter, because this page has hundreds of them. */
@media (max-width: 680px) {
  .regionjump + section table.tbl tr, .regionjump ~ section table.tbl tr { padding: .2rem .85rem; }
  .regionjump ~ section table.tbl td { padding: .38rem 0; }
  .regionjump ~ section table.tbl tbody th { padding: .5rem 0 .4rem; }
}

/* The row heading in a stacked table is a link to that suburb's page, so it
 * needs the same touch target every other table link got. Tightening the
 * directory rows had taken it back down to 35px. */
@media (max-width: 1100px), (pointer: coarse) {
  table.tbl tbody th a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Order matters: the 26px desktop baseline for table links was appended after
 * the 44px touch rule, so at equal specificity it won and every table link on
 * a phone dropped back to 35px. This restates the touch size last. */
@media (max-width: 1100px), (pointer: coarse) {
  table.tbl a { display: inline-flex; align-items: center; min-height: 44px; }
}


/* ===========================================================================
 * Phone header and hero, corrected against a real device capture.
 * ======================================================================== */

/* The mark looked undersized on a phone and was not: `logo-ink.png` and
 * `logo-light.png` shipped with ~40% of their own height as transparent
 * padding, so a 46px box painted 27px of logo and the rest was air inside the
 * gold bar. Both files are now trimmed to their ink, which makes the same box
 * paint the whole mark. Sizes below are the painted height, not a guess: at
 * 320px the header still measures logo 198 + gap 20 + hamburger 42 inside a
 * 293px gutter. */
/* 320px is the floor: logo 217 + gap 20 + hamburger 42 inside a 293px gutter. */
@media (max-width: 380px) {
  .brand img { height: 44px; }
  .footer__brand img { height: 48px; }
}

/* Stacked, the hero's three children each carried their own bottom margin AND
 * sat in a grid whose row gap was still the desktop 28px, so every join was
 * paying twice: 43px between the section label and the headline, 47px between
 * the headline and the booking card. The grid owns the rhythm here; the
 * children give theirs up. */
@media (max-width: 899px) {
  .hero__grid { row-gap: .85rem; }
  .hero__copy .eyebrow { margin-bottom: 0; }
  .hero__copy h1 { margin-bottom: 0; }
  .hero__form { margin-block: .35rem 1rem; }
}

/* And the band itself opened with 48px of empty ink under the header before
 * the first word. Vertical room is the scarce thing on a phone, not air. */
@media (max-width: 700px) {
  .hero--photo { padding-block: 1.6rem 2.1rem; }
  .hero { padding-block: 1.6rem 2.1rem; }
}


/* The hamburger was drawn against a 27px logo. The mark is 52px now, and a 26px
 * icon whose three bars only paint 13px of that reads as a lighter object from
 * a different set sitting next to it. Sized off the logo: the glyph paints
 * ~21px of bar block, which is the wordmark's own cap height. The tap target
 * grows with it and stays square. */
@media (max-width: 1100px) {
  .hamburger { width: 52px; height: 52px; flex: none; }
  .hamburger svg { width: 42px; height: 42px; flex: none; }
}

/* 320px floor: logo 217 + gap 20 + button 46 - the button's optical offset 5.6
 * inside a 293px gutter. */
@media (max-width: 380px) {
  .hamburger { width: 46px; height: 46px; flex: none; }
  .hamburger svg { width: 36px; height: 36px; flex: none; }
}

/* Tablet: every four item grid (suburb stats, the four cars, a service page's
 * four reasons) was landing three across with the fourth orphaned on its own
 * row at a third of the width. auto-fit has no idea there are four; between
 * 520 and 999px two columns is the only even split. Phone keeps its single
 * column, desktop keeps four. */
@media (min-width: 520px) and (max-width: 999px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Desktop split: the second column is always the short one (an estimator card
 * on service and car pages, three helper cards on the booking page, two lists
 * on a suburb page) and the first runs to a table and a bullet list under it,
 * so a 1440 render was leaving a column of nothing on the right for the last
 * 600px of the section. Sticky keeps the estimator in view for as long as the
 * copy beside it runs, which is also the useful behaviour. */
@media (min-width: 900px) {
  .split > :last-child { position: sticky; top: calc(var(--header-h) + 1rem); }
}

/* Tablet tables: a fare range like "$85 to $104" was breaking across two lines
 * in the squeezed numeric column of the 72 row suburb directory. Numbers do
 * not wrap once the table is a real table; under 680px it is stacked anyway. */
@media (min-width: 681px) {
  table.tbl td.num, table.tbl th.num { white-space: nowrap; }
}

/* Phone trust band. Four pills of four different widths, stacked and left
 * aligned in a gold field, read as a pile of tags: the longest ran to 292px
 * and the shortest to 213px, so every row left a different stretch of empty
 * gold on its right. On a phone they are a 2 x 2 grid of equal tiles that fill
 * the wrap edge to edge, so the band is a designed block rather than a list.
 * A tile is a rounded rectangle, not a 999px pill, because two lines of text
 * inside a pill look like a mistake. Balanced wrapping keeps a two line label
 * from breaking as five words and one. */
@media (max-width: 700px) {
  .trustband { padding-block: .85rem; }
  .trustband .trustrow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
  }
  .trustband .trustrow li {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-height: 52px;
    padding: .55rem .7rem;
    border-radius: var(--radius-sm);
    font-size: .86rem;
    line-height: 1.25;
    text-wrap: balance;
  }
  .trustband .trustrow svg { width: 18px; height: 18px; }
}

/* Below 420px a 2 x 2 tile is too narrow for the longest label, which went
 * to three lines beside its icon. One full width tile per row there: every
 * label on a single line, still edge to edge. */
@media (max-width: 420px) {
  .trustband .trustrow { grid-template-columns: 1fr; gap: .45rem; }
  .trustband .trustrow li { min-height: 44px; }
}


/* ===========================================================================
 * Booking form: fleet pictures, passengers by capacity, a tighter form.
 * Hamza, 2026-09-26. Before: 2173px tall at 390, 1814px at 1440.
 * ======================================================================== */

/* The car choice shows the car. Picture left, words right, one line of meta
 * instead of two, so the option gets shorter while carrying more. */
.vehopt__box {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: .65rem;
  align-items: center;
  padding: .55rem .7rem .55rem .55rem;
  min-height: 64px;
}
.vehopt__img {
  width: 84px;
  height: auto;
  aspect-ratio: 1000 / 562;
  object-fit: contain;
  display: block;
  border-radius: 6px;
  background: var(--paper);
}
.vehopt__text { display: block; min-width: 0; }
.vehopt__name { font-size: .95rem; line-height: 1.2; }
.vehopt__meta { font-size: .8rem; margin-top: .2rem; line-height: 1.3; }

/* Below the number a line that says what the number can be. */
.field__hint { display: block; font-size: .8rem; color: var(--muted); margin-top: .35rem; line-height: 1.35; }

/* Compact: every vertical measure in the full form comes down one notch.
 * Controls stay at 46px, above the 44px touch floor. */
.bookform:not(.bookform--compact) .field { margin-bottom: .7rem; }
.bookform:not(.bookform--compact) .field > label { margin-bottom: .28rem; font-size: .85rem; }
.bookform:not(.bookform--compact) .field input[type="text"],
.bookform:not(.bookform--compact) .field input[type="tel"],
.bookform:not(.bookform--compact) .field input[type="email"],
.bookform:not(.bookform--compact) .field input[type="date"],
.bookform:not(.bookform--compact) .field input[type="time"],
.bookform:not(.bookform--compact) .field select,
.bookform:not(.bookform--compact) .field textarea {
  min-height: 46px;
  padding: .6rem .85rem;
}
.bookform:not(.bookform--compact) .field textarea { min-height: 72px; }
.bookform:not(.bookform--compact) .formsec { padding-top: .95rem; margin-top: .95rem; }
.bookform:not(.bookform--compact) .formsec > h3 { margin-bottom: .6rem; font-size: 1rem; }
.bookform:not(.bookform--compact) .bookcard__head { margin-bottom: .75rem; }
.bookform:not(.bookform--compact) .vehopts { gap: .5rem; }
.bookform:not(.bookform--compact) .grid--2 { gap: .5rem; }
.bookform:not(.bookform--compact) .checkitem { padding: .55rem .7rem; min-height: 44px; }
.bookform:not(.bookform--compact) .checkitem span { font-size: .88rem; line-height: 1.35; }
.bookform:not(.bookform--compact) .mt-2 { margin-top: .75rem; }
.bookform:not(.bookform--compact) .field-row { gap: .6rem; }

/* Phone: two cards across at 160px each put a picture, a two line name and a
 * three line meta in every cell. One full width row per car is the same
 * height for four cars and every name and meta sits on one line. */
@media (max-width: 560px) {
  .bookform:not(.bookform--compact) .vehopts { grid-template-columns: 1fr; gap: .45rem; }
  .vehopt__box { min-height: 60px; }
}

/* Stacked hero: display:contents turns the eyebrow into a grid item, and a
 * grid item stretches to the column, so the "24/7 across Melbourne" pill ran
 * the full width of the phone with its text sitting at the left end. A pill
 * is as wide as its words. */
@media (max-width: 899px) {
  .hero__copy .eyebrow { justify-self: start; width: max-content; max-width: 100%; }
}


/* Breadcrumb: the tap target rule made the Home link a 44px flex box and left
 * the current item as plain text, so "Home" sat a line lower than "/ Book a
 * taxi". Every item is the same box now and they share one centre line. */
@media (max-width: 899px) {
  .crumbs ol { align-items: center; gap: .3rem; }
  .crumbs li { display: inline-flex; align-items: center; min-height: 44px; }
  .crumbs li + li::before { margin-right: .3rem; }
}


/* Heading order: form section titles and footer column titles were h3/h4 with
 * no h2 above them, which screen readers announce as skipped levels. They are
 * h2 now and keep exactly the look they had. */
.bookcard__head .formhead { margin: 0; font-size: 1.35rem; }
.formsec > .formhead { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; margin-bottom: .8rem; line-height: 1.3; text-wrap: initial; }
.bookform:not(.bookform--compact) .formsec > .formhead { margin-bottom: .6rem; font-size: 1rem; }
.site-footer .foothead { color: #fff; font-family: var(--font-body); font-size: .85rem; font-weight: 700; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .9rem; }

/* Hero form, compact. Same tightening as the booking page form, plus a shorter
 * docket: in the hero it is a teaser that fills in once both addresses are in,
 * so while empty it needs one line of explanation, not a receipt sized block. */
.bookform--compact .bookcard__head { margin-bottom: .7rem; }
.bookform--compact .bookcard__head h2,
.bookform--compact .bookcard__head .formhead { font-size: 1.2rem; }
.bookform--compact .seg button { min-height: 44px; padding-block: .45rem; }
.bookform--compact .field { margin-bottom: .6rem; }
.bookform--compact .field > label { margin-bottom: .25rem; font-size: .84rem; }
.bookform--compact .field input[type="text"],
.bookform--compact .field input[type="date"],
.bookform--compact .field input[type="time"] { min-height: 46px; padding: .55rem .85rem; }
.bookform--compact .formsec { padding-top: .6rem; margin-top: .6rem; }
.bookform--compact .docket { padding: .75rem .95rem .7rem; }
.bookform--compact .docket__total { padding: .4rem 0 .05rem; }
.bookform--compact .docket__amount { font-size: clamp(1.6rem, 5vw, 2rem); }
.bookform--compact .docket__note { font-size: .84rem; line-height: 1.4; }
.bookform--compact .btn--lg { min-height: 50px; padding-block: .7rem; }
.bookform--compact .mt-3 { margin-top: .8rem; }
.hero .bookcard { padding: clamp(1rem, 2vw, 1.4rem); }
/* The compact spacing above outranked the first section's reset, which put
 * 20px of dead space above the heading. */
.bookform--compact .formsec:first-child { padding-top: 0; margin-top: 0; }
.bookform--compact .docket__note { margin-bottom: 0; }

/* ===========================================================================
 * Booking form, 13 Melbourne Taxi layout (client request, 2026-09-26).
 * One full form everywhere; details, trip, fare card with a route map,
 * booking info, vehicle, timing, confirm.
 * ======================================================================== */
.field__optional { font-weight: 500; color: var(--muted); font-size: .92em; }
.fieldset { border: 0; padding: 0; margin: 0 0 .8rem; min-width: 0; }
.fieldset > legend { font-size: .85rem; font-weight: 700; color: var(--slate); margin-bottom: .35rem; padding: 0; }

/* Fare card: the price in the summary, the working folded inside. */
.docket.docket--card { padding: 0; }
details.docket { padding: 0; }
.docket__summary {
  display: flex; align-items: center; justify-content: space-between; gap: .9rem;
  padding: .85rem 1rem; cursor: pointer; list-style: none;
}
.docket__summary::-webkit-details-marker { display: none; }
.docket__label { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.docket__summary .docket__title { font-size: .76rem; }
.docket__summary .docket__note { font-size: .84rem; margin: 0; line-height: 1.35; }
.docket__summary .docket__total { display: flex; flex-direction: column; align-items: flex-end; padding: 0; margin-left: auto; gap: 0; }
.docket__summary .docket__amount { font-size: clamp(1.5rem, 5vw, 1.9rem); line-height: 1.1; }
.docket__summary .docket__range { font-size: .78rem; white-space: nowrap; }
.docket__chevron {
  flex-shrink: 0; width: 9px; height: 9px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s;
}
details.docket[open] .docket__chevron { transform: rotate(-135deg); }
details.docket--empty .docket__summary { cursor: default; }
details.docket--empty .docket__chevron { display: none; }
.docket__body { padding: 0 1rem .9rem; }
.docket__body .docket__items { margin-top: .2rem; }
.docket__tariff:empty { display: none; }

/* Route map, with the distance and time on a card over it. */
.tripmap {
  position: relative; overflow: hidden; margin: .75rem 0 .2rem;
  border: 1px solid var(--silver); border-radius: var(--radius-sm); background: var(--paper);
}
.tripmap__map { width: 100%; height: 200px; background: var(--paper); }
.tripmap:not(.is-ready) .tripmap__map {
  background:
    radial-gradient(circle at 30% 40%, rgba(235, 172, 30, .14), transparent 45%),
    radial-gradient(circle at 70% 65%, rgba(27, 27, 29, .06), transparent 50%),
    var(--paper);
}
.tripmap__card {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap;
  max-width: calc(100% - 20px); padding: .5rem .8rem;
  background: var(--surface); border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(27, 27, 29, .18);
}
.tripmap__card b { font-size: 1.05rem; color: var(--ink); }
.tripmap__card span { font-size: .8rem; color: var(--muted); }

/* Extras as single lines: quick yes or no, not cards. */
.checklines { display: grid; gap: .1rem; }
.checkline {
  display: flex; align-items: center; gap: .65rem; min-height: 44px;
  cursor: pointer; font-size: .95rem; color: var(--charcoal);
}
.checkline input { accent-color: var(--amber-deep); width: 20px; height: 20px; flex-shrink: 0; margin: 0; }
.checkline span { min-width: 0; }

/* Vehicle cards carry their surcharge beside the name. */
.vehopt__name { display: flex; align-items: baseline; justify-content: space-between; gap: .4rem; }
.vehopt__surcharge { font-size: .78rem; font-weight: 700; color: var(--amber-ink); white-space: nowrap; }

/* Payment logos under the confirm button. */
.paymenticons { display: flex; align-items: center; justify-content: center; gap: clamp(4px, 1.6vw, 12px); margin-top: .9rem; }
.paymenticons__badge { flex: 1 1 0; min-width: 0; display: flex; justify-content: center; }
.paymenticons__badge img { display: block; height: auto; max-height: 28px; max-width: 100%; width: auto; }

.formsec--submit { border-top: 0 !important; }
/* The full form's section spacing outranked the first section's reset: 40px
 * of dead space above "Book Your Taxi". */
.bookform .formsec:first-child { padding-top: 0; margin-top: 0; }
/* The form card is a tall column now; the car list reads best one per row. */
.bookform .vehopts { grid-template-columns: 1fr; gap: .45rem; }
.tripmap:not(.is-ready) .tripmap__map { height: 140px; }
/* Desktop: the hero copy rides down beside the long form instead of leaving
 * a column of empty photo. */
@media (min-width: 900px) {
  .hero__copy { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
/* Tap target: the 20px box is drawn, but the input itself stretches over the
 * whole 44px line, so the line and the control are the same object. */
.checkline { position: relative; padding-left: 30px; }
.checkline input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.checkline::before {
  content: ''; position: absolute; left: 0; top: 50%; width: 20px; height: 20px; margin-top: -10px;
  border: 1.5px solid var(--silver); border-radius: 5px; background: var(--surface);
}
.checkline:has(input:checked)::before {
  background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231B1B1D' stroke-width='3' d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat;
  border-color: var(--amber-deep);
}
.checkline:has(input:focus-visible) { outline: 3px solid var(--amber-deep); outline-offset: 2px; border-radius: 6px; }
.postcode { display: inline-block; margin-left: .35rem; font-size: .8rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Suburbs we cover: boxed tiles with a pin badge (client request). */
.subtiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
@media (min-width: 640px) { .subtiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .subtiles { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.subtile {
  display: flex; align-items: center; gap: .6rem; min-height: 60px;
  padding: .6rem .7rem; background: var(--surface);
  border: 1px solid var(--silver-soft); border-radius: var(--radius-sm);
  text-decoration: none; color: var(--ink);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.subtile:hover { border-color: var(--amber); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.subtile__icon {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--amber-wash); color: var(--amber-ink);
}
.subtile__text { display: flex; flex-direction: column; min-width: 0; }
.subtile__name { font-weight: 700; font-size: .93rem; line-height: 1.2; overflow-wrap: anywhere; }
.subtile__meta { font-size: .76rem; color: var(--muted); margin-top: .15rem; line-height: 1.25; }
.subtiles-more { margin-top: .9rem; text-align: center; }
.subtiles-more > summary { list-style: none; display: inline-flex; cursor: pointer; }
.subtiles-more > summary::-webkit-details-marker { display: none; }
.subtiles-more[open] > summary { display: none; }
.subtiles-more .subtiles { text-align: left; }

/* Cabcharge, TAC, NDIS and WorkSafe, each with its own logo (client request). */
.schemes { text-align: center; }
.schemes__title { font-size: 1.1rem; margin-bottom: .9rem; }
.schemes__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
@media (min-width: 760px) { .schemes__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.schemetile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55rem;
  min-height: 118px; padding: .9rem .7rem; background: var(--surface);
  border: 1px solid var(--silver-soft); border-radius: var(--radius); text-decoration: none; color: var(--ink);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.schemetile:hover { border-color: var(--amber); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.schemetile__logo { display: flex; align-items: center; justify-content: center; height: 48px; width: 100%; }
.schemetile__logo img { max-height: 44px; max-width: 80%; width: auto; height: auto; display: block; }
.schemetile__name { font-size: .88rem; font-weight: 700; }
/* Seven service cards leave one alone on the last row at three across: it takes the row. */
@media (min-width: 900px) { .grid--3 > .card--link:last-child:nth-child(3n+1) { grid-column: 1 / -1; } }

/* ===========================================================================
 * Home page review, 2026-09-27: six changes.
 * ======================================================================== */

/* 1. Car, extras, payment and timing fold on phones. */
.formmore { border-top: 1px solid var(--silver-soft); margin-top: .95rem; }
.formmore__summary {
  display: flex; flex-direction: column; gap: .15rem; position: relative;
  padding: .85rem 2.2rem .85rem 0; cursor: pointer; list-style: none; min-height: 52px;
}
.formmore__summary::-webkit-details-marker { display: none; }
.formmore__summary::after {
  content: ''; position: absolute; right: .35rem; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s;
}
.formmore[open] > .formmore__summary::after { transform: rotate(-135deg); margin-top: -2px; }
.formmore__title { font-weight: 700; color: var(--ink); font-size: .98rem; }
.formmore__now { font-size: .84rem; color: var(--amber-ink); font-weight: 600; }
.formmore > .formsec:first-of-type { border-top: 0; margin-top: 0; padding-top: .2rem; }
@media (min-width: 900px) {
  .formmore { border-top: 0; margin-top: 0; }
  .formmore > .formmore__summary { display: none; }
  .formmore > .formsec:first-of-type { border-top: 1px solid var(--silver-soft); margin-top: .95rem; padding-top: .95rem; }
}

/* 2. Cars as a compact strip; the detail is in the form and on Our Cars. */
.carstrip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
@media (min-width: 760px) { .carstrip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.carchip {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .2rem;
  padding: .7rem .6rem .8rem; background: var(--surface); border: 1px solid var(--silver-soft);
  border-radius: var(--radius); text-decoration: none; color: var(--ink);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.carchip:hover { border-color: var(--amber); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.carchip img { width: 100%; max-width: 200px; height: auto; aspect-ratio: 16 / 9; object-fit: contain; margin-bottom: .2rem; }
.carchip__name { font-weight: 700; font-size: .95rem; }
.carchip__meta { font-size: .8rem; color: var(--muted); }

/* 4. Services four across with an eighth card, so no lone card on a row. */
.grid--svc { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid--svc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid--svc { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.grid--svc > .card--link { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.4rem 1rem; }
.grid--svc > .card--link:first-child {
  background: radial-gradient(120% 140% at 100% 0%, rgba(236, 191, 39, .16), transparent 58%), var(--surface);
  border-color: rgba(235, 152, 25, .32);
}
.grid--svc > .card--link:first-child .cardicon { background: var(--amber); color: var(--ink); }
.card--all { background: var(--paper); border-style: dashed; }

/* 5. Scheme logos straight under the trust band. */
.sec--schemes { background: var(--surface); border-bottom: 1px solid var(--silver-soft); }
.sec--schemes .schemes__title { margin-top: 0; }

/* 6. Desktop hero: three specific points and a call button under the copy. */
.herolist, .hero__call { display: none; }
@media (min-width: 900px) {
  .herolist { display: grid; gap: .5rem; list-style: none; padding: 0; margin: 1.3rem 0 0; }
  .herolist li { display: flex; align-items: center; gap: .55rem; color: #fff; font-weight: 600; }
  .herolist svg { color: var(--amber-bright); flex-shrink: 0; }
  .hero__call { display: flex; margin-top: 1.4rem; }
}
.btn--onphoto { background: rgba(255, 255, 255, .1); color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); }
.btn--onphoto:hover { background: rgba(255, 255, 255, .18); color: #fff; border-color: #fff; }
/* Phones: services two across, icon and name only; each card opens its page. */
@media (max-width: 559px) {
  .grid--svc { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
  .grid--svc > .card--link { padding: .9rem .55rem; gap: .35rem; }
  .grid--svc > .card--link p { display: none; }
  .grid--svc > .card--link h3 { font-size: .9rem; margin: 0; }
  .grid--svc .cardicon { width: 40px; height: 40px; }
}

/* Every service card the same (Hamza, 2026-09-27): the first card is no longer
 * singled out with an amber wash and a solid badge. */
.grid--svc > .card--link:first-child { background: var(--surface); border-color: var(--silver-soft); }
.grid--svc > .card--link:first-child .cardicon { background: var(--amber-wash); color: var(--amber-ink); }

/* Scheme row heading is a real section heading now, same size as every other
 * home page section (Hamza, 2026-09-27). */
.sec--schemes { padding-block: clamp(2.5rem, 5vw, 4rem); }
.sec--schemes .schemes__grid { margin-top: 1.5rem; }

/* Airport band figures on phones: a 2 x 2 of tiles instead of four long rows
 * divided by rules, each figure sitting on its own caption. */
@media (max-width: 700px) {
  .sec--ink .grid--2:has(.stat) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .sec--ink .stat {
    padding: .9rem .85rem !important; border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: var(--radius); background: rgba(255, 255, 255, .05);
  }
  .sec--ink .stat:first-child { padding-top: .9rem !important; }
  .sec--ink .stat__n { font-size: 1.75rem; line-height: 1.1; margin-bottom: .3rem; }
  .sec--ink .stat__l { font-size: .8rem; line-height: 1.4; text-wrap: pretty; }
}

/* Home page on phones, second pass (2026-09-27). */
@media (max-width: 899px) {
  /* The intro paragraph used to land under the whole form, alone in the dark
   * band. The headline and the form say it on a phone. */
  .hero .hero__copy .lede { display: none; }
}
.subtile__meta + .subtile__meta { margin-top: 0; }
@media (max-width: 700px) {
  /* One alignment for every section: left, which also reads better than a
   * centred three line paragraph on a narrow screen. */
  .center { text-align: left; }
  .center .eyebrow, .center .lede { margin-inline: 0; justify-content: flex-start; }
  .btnrow--center { justify-content: flex-start; }
  .schemes, .subtiles-more { text-align: left; }
}

/* Payment choice as cards, the same pattern as Taxi to Melbourne Airport. */
.paycards { display: grid; gap: .5rem; }
.paycard {
  position: relative; display: flex; align-items: center; gap: .8rem; min-height: 60px;
  padding: .75rem .9rem; border: 1.5px solid var(--silver); border-radius: var(--radius-sm);
  background: var(--surface); cursor: pointer; transition: border-color .15s, background-color .15s;
}
.paycard input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.paycard:has(input:checked) { border-color: var(--amber-deep); background: var(--amber-wash); }
.paycard:has(input:focus-visible) { outline: 3px solid var(--amber-deep); outline-offset: 2px; }
.paycard__icon {
  flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--paper); color: var(--ink);
}
.paycard__icon svg { width: 18px; height: 18px; }
.paycard__body { flex: 1 1 auto; min-width: 0; }
.paycard__body b { display: block; color: var(--ink); font-size: .95rem; }
.paycard__body small { display: block; color: var(--muted); font-size: .8rem; margin-top: .1rem; }
.paycard__dot { flex: 0 0 auto; position: relative; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--silver); }
.paycard__dot::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--amber-deep); transform: scale(0); transition: transform .15s; }
.paycard:has(input:checked) .paycard__dot { border-color: var(--amber-deep); }
.paycard:has(input:checked) .paycard__dot::after { transform: scale(1); }
.paynote { margin: .9rem 0 0; font-size: .8rem; color: var(--muted); text-align: center; }
.paynote + .paymenticons { margin-top: .5rem; }

/* Book page on phones (2026-09-27). */
/* The form's own input padding rule outranked the address field's room for
 * the locate button, so the placeholder ran underneath it. */
.bookform .field.field--addr input[type="text"] { padding-right: 56px; text-overflow: ellipsis; }
@media (max-width: 899px) {
  /* 80px of nothing between the page intro and the form. */
  .phero + section:has(.bookform) { padding-top: 1.25rem; }
}

/* Service pages on phones (2026-09-27). */
.phero__logo { display: block; height: 44px; width: auto; max-width: 200px; margin: 0 0 .9rem; }
.phero--photo .phero__logo { background: #fff; padding: .45rem .7rem; border-radius: var(--radius-sm); height: 52px; }
@media (max-width: 700px) {
  /* Proof points: icon beside the words, not stacked in a tall card. */
  .proofgrid { gap: .5rem; }
  .card.proof {
    display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: .8rem; align-items: start;
    padding: .85rem .9rem; text-align: left;
  }
  .card.proof .cardicon { grid-row: 1 / span 2; width: 40px; height: 40px; margin: 0; }
  .card.proof h3 { margin: .1rem 0 .15rem; font-size: 1rem; }
  .card.proof p { margin: 0; font-size: .88rem; line-height: 1.45; }

  /* Price tables: the figures sit two by two under each place name instead
   * of one full width row each, which halves the length of the table. */
  table.tbl.tbl--prices tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: .9rem; }
  table.tbl.tbl--prices tr > :first-child { grid-column: 1 / -1; }
  table.tbl.tbl--prices td { display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; padding: .45rem 0; text-align: left; border-bottom: 0; }
  table.tbl.tbl--prices td::before { font-size: .68rem; }
  table.tbl.tbl--prices td.num { text-align: left; }
}
@media (max-width: 700px) {
  table.tbl.tbl--prices tr { padding: .55rem .9rem .5rem; row-gap: 0; }
  table.tbl.tbl--prices tbody th, table.tbl.tbl--prices tr > :first-child { padding: .2rem 0 .3rem; }
  table.tbl.tbl--prices td { padding: .25rem 0; gap: 0; line-height: 1.3; }
}

/* Suburb and route pages on phones (2026-09-27). */
@media (max-width: 700px) {
  /* Four figures as a 2 x 2, not four full width cards. */
  .statgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .statgrid > .card { padding: .8rem .85rem; }
  .statgrid .stat__n { font-size: 1.45rem; line-height: 1.15; }
  .statgrid .stat__l { font-size: .8rem; line-height: 1.35; margin-top: .2rem; }
  /* Suburb fare table has three figures per car: one row of three. */
  table.tbl.tbl--prices.tbl--three tr { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: .6rem; }
}
@media (max-width: 700px) {
  /* Keep a short figure level with a two line neighbour (seats vs luggage). */
  table.tbl.tbl--prices td { align-self: start; }
}
@media (max-width: 899px) {
  /* Four level trail (route pages) wraps at 390: drop the Areas We Cover step on phones, schema keeps it. */
  .crumbs li:nth-child(2):nth-last-child(3) { display: none; }
}
@media (max-width: 899px) {
  /* If it still wraps (320), the unlinked current item needs no 44px tap row. */
  .crumbs ol { row-gap: 0; }
  .crumbs li:last-child { min-height: 0; }
}

/* Fares, areas and cars tables on phones (2026-09-27). */
@media (max-width: 700px) {
  /* Charges: name and amount on one line, the condition underneath in small print. */
  table.tbl.tbl--charges tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .9rem; padding: .6rem .9rem; }
  table.tbl.tbl--charges td { display: block; padding: .15rem 0; border-bottom: 0; text-align: left; }
  table.tbl.tbl--charges td::before { content: none; }
  table.tbl.tbl--charges td:first-child { font-weight: 600; }
  table.tbl.tbl--charges td.num { text-align: right; font-weight: 600; }
  table.tbl.tbl--charges td:last-child { grid-column: 1 / -1; font-size: .82rem; line-height: 1.4; color: var(--muted, #6E6E78); }
  /* Areas: suburb, then km and fare side by side, then the route link. */
  table.tbl.tbl--areas tr > td:last-child { grid-column: 1 / -1; padding-top: .1rem; }
  table.tbl.tbl--areas tr > td:last-child::before { content: none; }
  table.tbl.tbl--areas tr > td:last-child a { font-size: .85rem; }
  table.tbl.tbl--areas tr > td:last-child a::after { content: ' \2192'; }
}

/* Services hub on phones: icon beside the text, left aligned, not tall centred cards. */
@media (max-width: 700px) {
  .svclist { gap: .6rem; }
  .svclist > .card { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: .85rem; align-items: start; text-align: left; padding: .9rem 1rem; }
  .svclist > .card .cardicon { grid-row: 1 / span 2; margin: 0; width: 44px; height: 44px; }
  .svclist > .card h3 { margin: 0 0 .2rem; font-size: 1.02rem; text-align: left; }
  .svclist > .card p { margin: 0; font-size: .88rem; line-height: 1.45; text-align: left; }
}

/* Phone and tablet footer: Services (11) beside Company (6) left a long lopsided
 * column. Each group takes the full row and splits its own links into two even columns. */
@media (max-width: 899px) {
  .footer__grid > .footer__links { grid-column: 1 / -1; }
  .footer__links ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.25rem; }
}
/* Small laptop: four columns are too tight for a split Services list, use the tablet layout. */
@media (min-width: 900px) and (max-width: 1099px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
  .footer__grid > .footer__links { grid-column: 1 / -1; }
  .footer__links ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; max-width: 560px; }
}
/* Desktop: Services gets a double width column split in two, so all groups run about six rows. */
@media (min-width: 1100px) {
  .footer__grid { grid-template-columns: 1.3fr 1.8fr 0.9fr 1.2fr; }
  .footer__grid > .footer__links:first-of-type ul,
  .footer__grid > .footer__brand + .footer__links ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
}

/* Locate button centred on the address box: 44px in a 48px box, bottom anchored,
 * poked out of the top and the pulse ring spilled over the border. */
.bookform .field--addr .locate { width: 40px; height: 40px; right: 4px; bottom: calc((var(--addr-h, 48px) - 40px) / 2); top: auto; }
.bookform .field--addr .locate::before, .bookform .field--addr .locate::after { animation-name: locatepulse-in; }
@keyframes locatepulse-in {
  0%   { opacity: .55; transform: scale(.7); }
  100% { opacity: 0;   transform: scale(1.1); }
}

/* Mobile alignment pass (2026-09-27). */
.schemetile, .schemetile__name { text-align: center; }
@media (max-width: 699px) {
  /* Centred button rows were left hugging half width buttons next to full width ones elsewhere. */
  .btnrow--center .btn { width: 100%; justify-content: center; }
  .subtiles-more > summary.btn { width: 100%; justify-content: center; }
}
/* Logos on one line across a row even when one name wraps to two lines. */
.schemetile { justify-content: flex-start; }
/* Icon lists: icon sits on the first line of a wrapped item, not floating mid block. */
.vehcard__meta li { display: flex; align-items: flex-start; gap: .5rem; }
.vehcard__meta li > svg { flex: 0 0 auto; margin-top: .2em; }
@media (max-width: 700px) {
  /* Three figure rows: labels wrap to one or two lines, so labels sit top and figures sit on one baseline. */
  table.tbl.tbl--prices.tbl--three td { align-self: stretch; justify-content: space-between; }
  /* Service page related cards: same icon beside text layout as the services hub. */
  .svclist > .card .cardicon { align-self: start; }
}
/* Link items carry a 44px tap height, so their tick centres on the link rather than the top. */
.vehcard__meta li:has(> a) { align-items: center; }
.vehcard__meta li:has(> a) > svg { margin-top: 0; }

/* Footer credits: copyright and the MH Tech credit centred on their own lines. */
.footer__bottom { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; text-align: center; }
.footer__bottom .credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer__bottom .credit a:hover { color: var(--amber); }

/* Locate: 44px tap target (was 40), still centred inside the 48px address box. */
.bookform .field--addr .locate { width: 44px; height: 44px; right: 2px; bottom: calc((var(--addr-h, 47.6px) - 44px) / 2); }

/* Header menu button on phones and tablets (2026-09-27): the bars ended 5px short of
 * the page gutter, sat 1.5px above the logo's centre line, and the open state painted
 * a grey box past the gutter. Bars now end on the gutter and centre on the logo, the
 * close mark takes the same spot, and the drawer rows use the same gutter so the
 * chevrons line up under the button. */
@media (max-width: 1100px) {
  .hamburger { padding: 0; margin-right: -10px; }
  .hamburger:hover, .hamburger[aria-expanded="true"] { background: transparent; }
  .hamburger svg { display: block; }
  .drawer { padding-inline: calc((100% - min(100% - 1.7rem, var(--wrap))) / 2); }
  .drawer a, .drawer summary { padding-inline: 0; }
  .drawer summary::after { margin-right: 3px; }
}
@media (max-width: 380px) {
  .hamburger { margin-right: -9px; }
}

/* Trip map now sits under the addresses; only the fare card is left at the end. */
.tripmap--route { margin-top: 1rem; }
.tripmap--route[hidden] { display: none; }

/* Payment options, compact (2026-09-27): one row of three, icon over label, the chosen
 * option's note once underneath instead of three notes and three radio dots. */
.paycards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; }
.paycard { flex-direction: column; justify-content: center; gap: .3rem; min-height: 0; padding: .6rem .35rem; text-align: center; }
.paycard__icon { width: 30px; height: 30px; margin: 0; }
.paycard__body b { font-size: .84rem; line-height: 1.2; }
.paycard__body small, .paycard__dot { display: none; }
.payhint { margin: .45rem 0 0; font-size: .8rem; color: var(--muted); line-height: 1.4; }
/* Tighter still: icon beside the label, no round icon plate. */
.paycard { flex-direction: row; gap: .4rem; padding: .55rem .5rem; min-height: 48px; }
.paycard__icon { width: auto; height: auto; background: none; border-radius: 0; flex: 0 0 auto; }
.paycard__icon svg { width: 17px; height: 17px; }
.paycard__body { flex: 0 1 auto; }
.paycard__body b { font-size: .8rem; }
@media (max-width: 400px) {
  .paycard { flex-direction: column; gap: .2rem; padding: .5rem .3rem; }
  .paycard__body b { font-size: .78rem; }
}

/* Trip card sits under the map, not over it: it was covering Google's logo and
 * data credit, which the Maps terms require to stay visible. */
.tripmap--route .tripmap__card { position: static; max-width: none; box-shadow: none; border-radius: 0; border-top: 1px solid var(--silver-soft); padding: .55rem .8rem; }

/* Compact footer (2026-09-27). */
.site-footer { padding-block: 2.5rem 1.25rem; }
.footer__bottom { margin-top: 1.75rem; padding-top: 1rem; font-size: .8rem; }
@media (max-width: 899px) {
  .site-footer { padding-block: 1.75rem .9rem; font-size: .9rem; }
  .footer__grid { gap: 1.1rem; }
  .footer__brand img { height: 40px; margin-bottom: .6rem; }
  .footer__brand p { font-size: .85rem; line-height: 1.5; margin: 0 0 .75rem; }
  .footer__brand .btn { min-height: 44px; padding-block: .5rem; font-size: .9rem; }
  .site-footer .foothead { margin-bottom: .3rem; font-size: .75rem; }
  .site-footer ul { gap: 0; }
  .site-footer a:not(.btn) { min-height: 34px; font-size: .9rem; }
  /* Book a cab: phone, email and book online on one wrapping line. */
  .footer__grid > div:last-child ul { display: flex; flex-wrap: wrap; column-gap: 1.1rem; }
  .footer__grid > div:last-child p { margin-top: .2rem; font-size: .8rem; }
  .footer__bottom { margin-top: 1.1rem; padding-top: .75rem; gap: 0; font-size: .75rem; }
  .footer__bottom a { padding-block: .25rem; }
}
.site-footer .footer__bottom a:not(.btn) { font-size: inherit; min-height: 0; display: inline; padding: 0; }

/* Mobile type scale (2026-09-27): body 17 to 16px, intro 18.4 to 17px, H1 33 to 30px,
 * H2 26 to 23px. Form inputs stay 16px so iOS never zooms on focus. */
@media (max-width: 699px) {
  body { font-size: 1rem; line-height: 1.6; }
  .lede { font-size: 1.0625rem; }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.45rem; }
  .entry p, .entry li { font-size: 1rem; }
  input, select, textarea { font-size: 16px; }
}
.site-footer .footer__bottom .credit a:not(.btn) { display: inline-block; padding-block: .35rem; }

/* ---------------------------------------------------------------------------
 * WhatsApp (2026-11-01, parity with the owner's airport site). Brand green
 * with ink text rather than white: white on #25D366 is under 2:1 and fails
 * contrast, ink on it is well over 7:1.
 * ------------------------------------------------------------------------ */
.btn--whatsapp { background: #25D366; color: var(--ink); border-color: #25D366; }
.btn--whatsapp:hover { background: #1EBE5A; border-color: #1EBE5A; color: var(--ink); }
.actionbar .actionbar__wa { flex: 0 0 48px; width: 48px; padding: 0; }
.drawer .drawer__wa svg { color: #1EBE5A; flex: none; }
