/* Garage — a two-ramp garage at 31 Spanish Town Road, Kingston.
 *
 * Idiom: the fault desk. Nobody wakes up wanting a garage; they wake up with a
 * car doing something. So the page is built around the thing this garage
 * promises in order — diagnostics first, quote second, old parts back in the
 * box. Pick what the car is doing and the page answers in those three moves:
 * which check finds it and what the check costs, the jobs it usually turns out
 * to be with a price band and the days off the road, and the parts that come
 * back with your registration on the bag. Two ramps means two cars at a time,
 * so the booking strip shows a diary that is real.
 *
 * Colour: the trade defaults to orange and amber signage, and an anxious
 * driver does not need cheerfulness — they need to be shown numbers. So the
 * ground is instrument-dark graphite, the way a scan tool reads at night, with
 * one cold cyan on everything that is measured, free or included, and a single
 * red reserved for "stop driving it". No warm colour anywhere on the page;
 * warmth belongs to the photographs.
 *
 * Type: Space Grotesk for headings (drawn, engineered, not decorative),
 * Source Sans 3 for reading, IBM Plex Mono for every measured value — pad
 * thicknesses, hours, price bands — so a number always looks like a number.
 *
 * One margin line: --gutter, used by the masthead, every section and the
 * footer. Nothing in this file is shared with another template.
 */

:root {
  --sump: #0d1216;
  --pit: #141b21;
  --pit-2: #1b242c;
  --rule: #27323b;
  --rule-2: #3a4854;
  --steel: #c6d1da;
  --mute: #8a97a3;
  --white: #eef4f7;
  --cyan: #39d7e6;
  --cyan-deep: #12727d;
  --cyan-ink: #032428;
  --stop: #ff6157;

  --gutter: clamp(1.15rem, 5vw, 5.5rem);
  --max: 78rem;
  --shell: min(100% - 2 * var(--gutter), var(--max));

  --display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --body: 'Source Sans 3', ui-sans-serif, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sump);
  color: var(--steel);
  font: 400 clamp(1rem, 0.97rem + 0.14vw, 1.06rem)/1.62 var(--body);
  -webkit-font-smoothing: antialiased;
}
/* height: auto is load-bearing: every photograph carries width/height
 * attributes (so the space is reserved before it loads) and those map to a
 * definite CSS height, which would beat the aspect-ratio crops below. */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.04; margin: 0; color: var(--white); letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.7rem); }
h2 { font-size: clamp(1.6rem, 1.1rem + 1.9vw, 2.5rem); }
h3 { font-size: 1.14rem; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
strong { color: var(--white); font-weight: 600; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.gg-skip { position: absolute; left: -9999px; }
.gg-skip:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--cyan); color: var(--cyan-ink); padding: 0.6rem 1rem; font-weight: 600; }

.gg-shell { width: var(--shell); margin-inline: auto; }
.gg-section { padding-block: clamp(2.8rem, 5vw, 5rem); }
.gg-section--pit { background: var(--pit); border-block: 1px solid var(--rule); }
.gg-kicker {
  margin: 0 0 0.9rem; font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan);
}
.gg-lead { font-size: 1.1rem; color: var(--steel); max-width: 38rem; }
.gg-mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.gg-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 3rem); align-items: end; margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.gg-head p { color: var(--mute); margin: 0; }
.gg-row { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }
.gg-link { color: var(--cyan); text-decoration: none; border-bottom: 1px solid color-mix(in oklab, var(--cyan) 40%, transparent); }
.gg-link:hover { border-bottom-color: var(--cyan); }

/* ── buttons ─────────────────────────────────────────────────────────── */

.gg-btn {
  display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none;
  font-family: var(--display); font-weight: 600; font-size: 0.95rem; line-height: 1;
  padding: 0.82rem 1.15rem; border: 1px solid var(--rule-2); background: transparent;
  color: var(--white); cursor: pointer; border-radius: 2px;
}
.gg-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.gg-btn--go { background: var(--cyan); border-color: var(--cyan); color: var(--cyan-ink); }
.gg-btn--go:hover { background: #57e3f0; border-color: #57e3f0; color: var(--cyan-ink); }
.gg-btn[disabled] { opacity: 0.55; cursor: progress; }

/* ── masthead ────────────────────────────────────────────────────────── */

.gg-top { position: sticky; top: 0; z-index: 40; background: color-mix(in oklab, var(--sump) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.gg-top__in {
  width: var(--shell); margin-inline: auto; display: grid;
  grid-template-columns: auto 1fr auto auto; gap: clamp(0.8rem, 2vw, 2rem);
  align-items: center; padding-block: 0.8rem;
}
.gg-mark { display: grid; grid-template-columns: auto auto; column-gap: 0.7rem; align-items: center; text-decoration: none; }
.gg-mark__ramps { grid-row: span 2; width: 26px; display: grid; gap: 4px; }
.gg-mark__ramps i { display: block; height: 4px; background: var(--cyan); }
.gg-mark__ramps i:last-child { background: var(--rule-2); }
.gg-mark b { font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.02em; color: var(--white); text-transform: uppercase; line-height: 1; }
.gg-mark small { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.gg-nav { display: flex; justify-content: center; gap: clamp(0.8rem, 2vw, 1.9rem); }
.gg-nav a { text-decoration: none; font-size: 0.92rem; font-weight: 600; color: var(--steel); white-space: nowrap; padding-block: 0.35rem; border-bottom: 2px solid transparent; }
.gg-nav a:hover { color: var(--white); }
.gg-nav a[aria-current] { color: var(--cyan); border-bottom-color: var(--cyan); }
.gg-top__tel { font-family: var(--mono); font-size: 0.82rem; text-decoration: none; color: var(--steel); white-space: nowrap; }
.gg-top__tel:hover { color: var(--cyan); }
.gg-burger { display: none; }
.gg-cta-short { display: none; }

@media (max-width: 960px) {
  .gg-top__in { grid-template-columns: 1fr auto auto; padding-block: 0.7rem; }
  .gg-mark, .gg-top__cta, .gg-burger { grid-row: 1; }
  .gg-nav {
    grid-row: 2; grid-column: 1 / -1; display: none; flex-direction: column; gap: 0;
    border-top: 1px solid var(--rule); margin-top: 0.7rem;
  }
  .gg-top[data-menu] .gg-nav { display: flex; }
  .gg-nav a { padding-block: 0.8rem; border-bottom: 1px solid var(--rule); }
  .gg-top__tel { display: none; }
  .gg-burger {
    display: grid; gap: 4px; justify-items: center; background: transparent;
    border: 1px solid var(--rule-2); color: var(--steel); padding: 0.55rem 0.6rem;
    cursor: pointer; border-radius: 2px;
  }
  .gg-burger span { display: block; width: 18px; height: 2px; background: currentColor; }
  .gg-burger em { font-family: var(--mono); font-size: 0.55rem; font-style: normal; letter-spacing: 0.1em; text-transform: uppercase; }
}
@media (max-width: 560px) {
  .gg-cta-long { display: none; }
  .gg-cta-short { display: inline; }
  .gg-mark small { display: none; }
}

/* ── hero ────────────────────────────────────────────────────────────── */

.gg-hero {
  width: var(--shell); margin-inline: auto;
  padding-block: clamp(2.2rem, 4vw, 4rem) clamp(2rem, 3vw, 3rem);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center;
}
.gg-hero h1 { margin-bottom: 1.1rem; }
.gg-hero h1 em { font-style: normal; color: var(--cyan); }
.gg-hero__img { position: relative; }
.gg-hero__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--rule); filter: grayscale(1) contrast(1.08); }
.gg-hero__tag {
  position: absolute; left: 0; bottom: 0; margin: 0; background: var(--cyan); color: var(--cyan-ink);
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.45rem 0.7rem;
}
.gg-promise { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.gg-promise li { background: var(--sump); display: grid; grid-template-columns: 2.1rem 1fr; gap: 0.8rem; padding: 0.85rem 0.95rem; }
.gg-promise b { font-family: var(--mono); font-size: 0.78rem; color: var(--cyan); align-self: start; padding-top: 0.15rem; }
.gg-promise span { color: var(--mute); font-size: 0.95rem; }
.gg-promise strong { display: block; }

@media (max-width: 860px) {
  .gg-hero { grid-template-columns: 1fr; }
  .gg-hero__img { order: -1; }
  .gg-head { grid-template-columns: 1fr; align-items: start; }
}

/* ── the fault desk ──────────────────────────────────────────────────── */

.gg-desk { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); align-items: start; }
.gg-desk__list { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.gg-fault {
  display: grid; gap: 0.25rem; text-decoration: none; background: var(--pit);
  padding: 0.75rem 0.9rem; border-left: 3px solid transparent;
}
.gg-fault:hover { background: var(--pit-2); }
.gg-fault strong { font-family: var(--display); font-weight: 600; font-size: 0.97rem; line-height: 1.25; color: var(--steel); }
.gg-fault span { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.gg-fault[aria-current] { background: var(--pit-2); border-left-color: var(--cyan); }
.gg-fault[aria-current] strong { color: var(--white); }
.gg-fault[aria-current] span { color: var(--cyan); }
.gg-desk__more { margin: 0.9rem 0 0; font-size: 0.93rem; color: var(--mute); }

.gg-answer { background: var(--pit); border: 1px solid var(--rule); }
.gg-answer__top { padding: clamp(1.1rem, 2vw, 1.6rem); border-bottom: 1px solid var(--rule); }
.gg-answer__top h3 { font-size: clamp(1.3rem, 1rem + 1.1vw, 1.8rem); margin-bottom: 0.5rem; }
.gg-answer__top p { color: var(--mute); margin: 0; }
.gg-answer__area { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 0.7rem; }
.gg-stop {
  display: flex; gap: 0.6rem; align-items: baseline; margin: 0.9rem 0 0; padding: 0.6rem 0.8rem;
  border: 1px solid color-mix(in oklab, var(--stop) 55%, transparent); color: var(--white);
  background: color-mix(in oklab, var(--stop) 12%, transparent); font-size: 0.95rem;
}
.gg-stop b { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stop); }

.gg-step { padding: clamp(1.1rem, 2vw, 1.6rem); border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.9rem; }
.gg-step:last-of-type { border-bottom: 0; }
.gg-step__n { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--cyan); border: 1px solid var(--rule-2); height: 2.4rem; display: grid; place-items: center; }
.gg-step h4 { font-family: var(--mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); margin-bottom: 0.7rem; }
.gg-step__why { color: var(--mute); font-size: 0.95rem; margin: 0.6rem 0 0; }

.gg-check { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem 1rem; align-items: baseline; }
.gg-check h5 { margin: 0; font-family: var(--display); font-size: 1.08rem; font-weight: 600; color: var(--white); }
.gg-check__fee { font-family: var(--mono); font-size: 1.05rem; color: var(--cyan); white-space: nowrap; }
.gg-check__fee small { display: block; font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); text-align: right; }
.gg-check p { grid-column: 1 / -1; margin: 0; color: var(--mute); font-size: 0.95rem; }
.gg-check p.gg-check__fee { grid-column: 2; grid-row: 1; text-align: right; }
.gg-check__facts { grid-column: 1 / -1; list-style: none; margin: 0.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; font-family: var(--mono); font-size: 0.76rem; color: var(--steel); }
.gg-check__facts li::before { content: '· '; color: var(--cyan); }

.gg-jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.gg-job { display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 0.9rem; padding: 0.7rem 0.8rem; background: var(--pit-2); border: 1px solid var(--rule); }
.gg-job a { text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 1rem; color: var(--white); }
.gg-job a:hover { color: var(--cyan); }
.gg-job__band { font-family: var(--mono); font-size: 0.92rem; color: var(--cyan); white-space: nowrap; font-variant-numeric: tabular-nums; }
.gg-job__bar { grid-column: 1 / -1; height: 4px; background: var(--rule); margin-top: 0.45rem; position: relative; }
.gg-job__bar i { position: absolute; top: 0; bottom: 0; background: var(--cyan); min-width: 3px; }
.gg-job__meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.2rem 1rem; font-family: var(--mono); font-size: 0.72rem; color: var(--mute); margin-top: 0.45rem; }
.gg-scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.66rem; color: var(--mute); margin-top: 0.6rem; letter-spacing: 0.06em; }

.gg-back { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.gg-back li { display: grid; grid-template-columns: 1.1rem 1fr; gap: 0.5rem; font-size: 0.97rem; }
.gg-back li::before { content: '▢'; color: var(--cyan); font-size: 0.8rem; line-height: 1.6; }
.gg-answer__go { padding: clamp(1rem, 2vw, 1.4rem); border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }
.gg-answer__go small { color: var(--mute); font-size: 0.86rem; }

@media (max-width: 900px) {
  .gg-desk { grid-template-columns: 1fr; }
  .gg-desk__list { max-height: 19rem; overflow-y: auto; }
  .gg-step { grid-template-columns: 1fr; gap: 0.6rem; }
  .gg-step__n { width: 2.4rem; }
}

/* ── price list ──────────────────────────────────────────────────────── */

.gg-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.gg-chip {
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.5rem 0.75rem; border: 1px solid var(--rule-2); background: transparent; color: var(--steel); cursor: pointer; border-radius: 2px;
}
.gg-chip:hover { border-color: var(--cyan); color: var(--cyan); }
.gg-chip[aria-pressed="true"] { background: var(--cyan); border-color: var(--cyan); color: var(--cyan-ink); }
.gg-list { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.gg-line { background: var(--pit); display: grid; grid-template-columns: minmax(0, 1fr) 10.5rem 7rem; gap: 0.5rem 1.2rem; padding: 1rem clamp(0.8rem, 1.6vw, 1.2rem); align-items: start; }
.gg-line h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.gg-line h3 a { text-decoration: none; }
.gg-line h3 a:hover { color: var(--cyan); }
.gg-line p { margin: 0; color: var(--mute); font-size: 0.93rem; }
.gg-line__main p { margin-top: 0.35rem; }
.gg-line__band { font-family: var(--mono); font-size: 0.98rem; color: var(--cyan); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gg-line__band small { display: block; font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.gg-line__off { font-family: var(--mono); font-size: 0.78rem; color: var(--steel); text-align: right; line-height: 1.5; }
.gg-line__back { font-size: 0.86rem; color: var(--mute); font-family: var(--mono); }
.gg-line__back b { color: var(--cyan); font-weight: 500; }
.gg-line__area { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); margin-bottom: 0.4rem; }

@media (max-width: 760px) {
  .gg-line { grid-template-columns: 1fr auto; }
  .gg-line__main { grid-column: 1 / -1; }
  .gg-line__band { grid-column: 1; text-align: left; }
  .gg-line__off { grid-column: 2; }
}

/* ── cards: checks, people, quotes ───────────────────────────────────── */

.gg-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.gg-card { background: var(--pit); padding: clamp(1rem, 2vw, 1.5rem); display: grid; gap: 0.6rem; align-content: start; }
.gg-card h3 a { text-decoration: none; }
.gg-card h3 a:hover { color: var(--cyan); }
.gg-card p { margin: 0; color: var(--mute); font-size: 0.96rem; }
.gg-card__fee { font-family: var(--mono); font-size: 1.15rem; color: var(--cyan); }
.gg-card__fee small { font-family: var(--body); font-size: 0.8rem; color: var(--mute); }
.gg-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 0.8rem; font-family: var(--mono); font-size: 0.78rem; }
.gg-card dt { color: var(--mute); }
.gg-card dd { margin: 0; color: var(--steel); }
.gg-card__img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; border: 1px solid var(--rule); }

.gg-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.gg-quotes figure { margin: 0; background: var(--pit); border: 1px solid var(--rule); border-top: 2px solid var(--cyan); padding: clamp(1rem, 2vw, 1.4rem); }
.gg-quotes blockquote { margin: 0 0 0.9rem; font-family: var(--display); font-size: 1.06rem; line-height: 1.4; color: var(--white); font-weight: 500; }
.gg-quotes figcaption { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; color: var(--mute); }
.gg-stars { color: var(--cyan); font-size: 0.8rem; letter-spacing: 0.15em; }

.gg-qa { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.gg-qa details { background: var(--pit); }
.gg-qa summary { cursor: pointer; padding: 1rem clamp(0.8rem, 1.6vw, 1.2rem); font-family: var(--display); font-weight: 600; color: var(--white); font-size: 1.02rem; }
.gg-qa summary::marker { color: var(--cyan); }
.gg-qa details[open] summary { color: var(--cyan); }
.gg-qa__a { margin: 0; padding: 0 clamp(0.8rem, 1.6vw, 1.2rem) 1.1rem; color: var(--steel); max-width: 58rem; }

/* ── split blocks and figures ────────────────────────────────────────── */

.gg-split { width: var(--shell); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.4rem, 3vw, 3rem); align-items: center; }
.gg-split img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--rule); }
.gg-figure { margin: 0; }
.gg-figure img { width: 100%; object-fit: cover; border: 1px solid var(--rule); }
.gg-figure figcaption { font-family: var(--mono); font-size: 0.72rem; color: var(--mute); padding-top: 0.5rem; }
@media (max-width: 860px) { .gg-split { grid-template-columns: 1fr; } }

.gg-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.gg-facts li { background: var(--pit); padding: 1rem; display: grid; gap: 0.3rem; }
.gg-facts b { font-family: var(--mono); font-size: 1.5rem; color: var(--cyan); font-weight: 500; }
.gg-facts span { font-size: 0.9rem; color: var(--mute); }

.gg-hours { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1rem; font-family: var(--mono); font-size: 0.85rem; }
.gg-hours dt { color: var(--mute); }
.gg-hours dd { margin: 0; color: var(--steel); text-align: right; }
.gg-big { font-family: var(--mono); font-size: 1.25rem; color: var(--cyan); text-decoration: none; }
/* Live open/closed, from the opening-status plugin's open_now / open_label. */
.gg-open { font-family: var(--mono); font-size: 0.78rem; color: var(--cyan); display: flex; gap: 0.45rem; align-items: baseline; margin: 0.7rem 0 0; }
.gg-open::before { content: '\25CF'; font-size: 0.55rem; line-height: 1.7; color: var(--cyan); }
.gg-open[data-open="false"] { color: var(--mute); }
.gg-open[data-open="false"]::before { color: var(--rule-2); }

/* ── booking form and picker ─────────────────────────────────────────── */

.gg-bookpage { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.4rem, 3vw, 3rem); align-items: start; }
.gg-bookpage > * { min-width: 0; }
@media (max-width: 900px) { .gg-bookpage { grid-template-columns: 1fr; } }

.gg-form { display: grid; gap: 1rem; min-width: 0; }
/* A fieldset's default min-inline-size is min-content, so the fourteen-day
 * strip inside it would push the whole page wider than the window instead of
 * scrolling. This is the line that keeps the margin line honest here. */
.gg-step-set { border: 1px solid var(--rule); background: var(--pit); padding: 1rem clamp(0.8rem, 1.6vw, 1.2rem) 1.1rem; margin: 0; min-inline-size: 0; }
.gg-step-set legend { float: left; width: 100%; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); padding: 0 0 0.7rem; }
.gg-step-set legend + * { clear: both; }
.gg-field { display: grid; gap: 0.35rem; margin-bottom: 0.8rem; }
.gg-field:last-child { margin-bottom: 0; }
.gg-field label { font-size: 0.85rem; color: var(--mute); }
.gg-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
@media (max-width: 540px) { .gg-two { grid-template-columns: 1fr; } }
input[type="text"], input[type="tel"], input[type="email"], textarea, select {
  font: 400 1rem/1.4 var(--body); color: var(--white); background: var(--sump);
  border: 1px solid var(--rule-2); padding: 0.7rem 0.75rem; width: 100%; border-radius: 2px;
}
input:focus, textarea:focus, select:focus { border-color: var(--cyan); outline: none; }
textarea { resize: vertical; }
.gg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.gg-days { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(5.2rem, 1fr); gap: 0.4rem; overflow-x: auto; padding-bottom: 0.4rem; scrollbar-width: thin; }
.gg-day {
  display: grid; gap: 0.15rem; justify-items: start; background: var(--pit-2); border: 1px solid var(--rule);
  color: var(--steel); padding: 0.55rem 0.6rem; cursor: pointer; font: 400 0.8rem/1.2 var(--body); border-radius: 2px;
}
.gg-day span { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.gg-day strong { font-family: var(--display); font-size: 0.95rem; color: var(--white); }
.gg-day small { font-family: var(--mono); font-size: 0.62rem; color: var(--cyan); }
.gg-day:hover:not(:disabled) { border-color: var(--cyan); }
.gg-day:disabled { opacity: 0.4; cursor: not-allowed; }
.gg-day:disabled small { color: var(--mute); }
.gg-day.is-on { background: var(--cyan); border-color: var(--cyan); }
.gg-day.is-on span, .gg-day.is-on strong, .gg-day.is-on small { color: var(--cyan-ink); }

.gg-times { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.gg-time {
  font-family: var(--mono); font-size: 0.86rem; padding: 0.55rem 0.7rem; background: var(--pit-2);
  border: 1px solid var(--rule); color: var(--steel); cursor: pointer; border-radius: 2px;
}
.gg-time:hover { border-color: var(--cyan); color: var(--white); }
.gg-time.is-on { background: var(--cyan); border-color: var(--cyan); color: var(--cyan-ink); }
.gg-note { font-family: var(--mono); font-size: 0.82rem; color: var(--mute); margin: 0.7rem 0 0; }
.gg-note[data-state="ok"] { color: var(--cyan); }
.gg-note[data-state="err"] { color: var(--stop); }
.gg-msg { font-size: 0.92rem; margin: 0.6rem 0 0; }
.gg-msg[data-state="err"] { color: var(--stop); }
.gg-msg[data-state="ok"] { color: var(--cyan); }
.gg-send { display: grid; gap: 0.6rem; justify-items: start; }
.gg-send small { color: var(--mute); font-size: 0.85rem; }

.gg-done { background: var(--pit); border: 1px solid var(--cyan); padding: clamp(1.1rem, 2.4vw, 1.8rem); }
.gg-done h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); margin-bottom: 1rem; }
.gg-done dl { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1rem; margin: 0 0 1.2rem; font-family: var(--mono); font-size: 0.88rem; }
.gg-done dt { color: var(--mute); }
.gg-done dd { margin: 0; color: var(--white); }
.gg-done ul { margin: 0 0 1.3rem; padding-left: 1.1rem; display: grid; gap: 0.4rem; color: var(--steel); }
.gg-done:focus { outline: none; }
.gg-done:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.gg-done dt { white-space: nowrap; }
.gg-done dd { overflow-wrap: anywhere; }
@media (max-width: 400px) {
  .gg-done dl { grid-template-columns: 1fr; gap: 0 0; }
  .gg-done dt { padding-top: 0.55rem; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }
  .gg-done dd { padding-bottom: 0.15rem; }
}

/* the job card: what the mechanic reads off the board before the car is up */
.gg-jobcard {
  margin: 0 0 1.3rem; padding: 0.9rem 1rem; background: var(--sump);
  border: 1px solid var(--rule-2); border-left: 3px solid var(--cyan);
}
.gg-jobcard__head {
  display: block; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 0.45rem;
}
.gg-jobcard p { margin: 0; color: var(--white); font-size: 0.95rem; overflow-wrap: anywhere; }
.gg-jobcard__flag {
  display: block; margin-top: 0.7rem; padding-top: 0.7rem; border-top: 1px solid var(--rule);
  font-family: var(--mono); font-size: 0.78rem; line-height: 1.55; color: var(--stop);
}

/* ── dropdown (select.js, prefix gg-dd) ──────────────────────────────── */

.gg-dd { position: relative; }
.gg-dd__button {
  width: 100%; text-align: left; background: var(--sump); border: 1px solid var(--rule-2);
  color: var(--white); padding: 0.7rem 2rem 0.7rem 0.75rem; font: 400 1rem/1.4 var(--body); cursor: pointer; border-radius: 2px;
}
.gg-dd__button::after { content: ''; position: absolute; right: 0.85rem; top: 1.15rem; width: 7px; height: 7px; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(45deg); }
.gg-dd.is-open .gg-dd__button { border-color: var(--cyan); }
.gg-dd__button.is-placeholder { color: var(--mute); }
.gg-dd__list {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 3px); max-height: 20rem; overflow-y: auto;
  background: var(--pit); border: 1px solid var(--cyan); padding: 0; margin: 0; list-style: none;
}
.gg-dd__group { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); padding: 0.7rem 0.8rem 0.35rem; background: var(--pit-2); border-bottom: 1px solid var(--rule); }
.gg-dd__text { display: grid; gap: 0.12rem; min-width: 0; }
.gg-dd__option { padding: 0.65rem 0.8rem; cursor: pointer; display: grid; gap: 0.15rem; border-bottom: 1px solid var(--rule); }
.gg-dd__option:last-child { border-bottom: 0; }
.gg-dd__title { font-family: var(--display); font-weight: 600; font-size: 0.97rem; color: var(--white); }
.gg-dd__meta { font-family: var(--mono); font-size: 0.72rem; color: var(--mute); }
.gg-dd__option.is-active, .gg-dd__option:hover { background: var(--pit-2); }
.gg-dd__option.is-selected .gg-dd__title { color: var(--cyan); }

/* ── article pages ───────────────────────────────────────────────────── */

.gg-article { width: min(100% - 2 * var(--gutter), 46rem); margin-inline: auto; }
.gg-article h1 { margin-bottom: 1.2rem; }
.gg-article img { margin: 1.6rem 0; border: 1px solid var(--rule); }
.gg-article__body { font-size: 1.05rem; }
.gg-article__body p { margin-bottom: 1.1rem; }
.gg-crumbs { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); margin-bottom: 1.2rem; }
.gg-crumbs a { color: var(--cyan); text-decoration: none; }

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

.gg-foot { border-top: 1px solid var(--rule); background: var(--pit); margin-top: clamp(2rem, 4vw, 4rem); padding-block: clamp(2.2rem, 4vw, 3.4rem) 1.4rem; }
.gg-foot__in {
  width: var(--shell); margin-inline: auto; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: clamp(1.4rem, 3vw, 2.6rem);
}
.gg-foot h2 { font-family: var(--mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 0.8rem; }
.gg-foot p { color: var(--mute); font-size: 0.94rem; }
.gg-foot__mark { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.3rem; color: var(--white); margin-bottom: 0.6rem; }
.gg-foot__nav { display: grid; gap: 0.45rem; }
.gg-foot__nav a { text-decoration: none; font-size: 0.94rem; color: var(--steel); }
.gg-foot__nav a:hover { color: var(--cyan); }
.gg-foot__fine { width: var(--shell); margin: clamp(1.8rem, 3vw, 2.6rem) auto 0; padding-top: 1.2rem; border-top: 1px solid var(--rule); font-family: var(--mono); font-size: 0.72rem; color: var(--mute); }
