@font-face {
  font-family: "Instrument Sans";
  src: url("assets/instrument-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

/* ============ Tokens ============ */

:root {
  color-scheme: light;

  --bg: #ffffff;
  --soft: #f4f5f7;
  --soft-2: #eceef2;
  --ink: #14161b;
  --muted: #585d6b;
  --faint: #676d7b;
  --line: #e3e5ea;
  --line-strong: #cfd2d9;

  /* L-plate red: the one bright colour */
  --red: #d42a20;
  --red-dark: #b2211a;
  --red-soft: #fdeeec;

  /* Road diagram palette */
  --road: #5a606b;
  --verge: #e2ebd9;
  --pavement: #d3d6dc;
  --house: #e6dfd2;
  --car: #b0b6c1;

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --shadow: 0 1px 2px #14161b0d, 0 6px 20px -8px #14161b26;
  --shadow-l: 0 2px 4px #14161b0a, 0 24px 48px -20px #14161b40;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --gutter: clamp(20px, 5vw, 64px);

  font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

::selection { background: var(--red); color: #fff; }

.shell {
  width: min(100% - var(--gutter) * 2, 1200px);
  margin-inline: auto;
}

.sprite { position: absolute; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 50;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: var(--radius-s);
  color: #fff;
  background: var(--ink);
  transform: translateY(calc(-100% - 24px));
}

.skip-link:focus { transform: none; }

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============ Buttons & small parts ============ */

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius-s);
  color: #fff;
  background: var(--red);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 150ms var(--ease), transform 150ms var(--ease);
}

.button:hover { background: var(--red-dark); }
.button:active { transform: translateY(1px); }

.button-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.94rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: none;
}

.text-link .icon { width: 18px; height: 18px; color: var(--red); transition: transform 200ms var(--ease); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover .icon { transform: translateY(2px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

/* The L-plate mark */
.plate {
  position: relative;
  display: inline-grid;
  width: 34px;
  aspect-ratio: 1;
  flex: none;
  place-items: center;
  border-radius: 7px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}

.plate::before {
  width: 40%;
  height: 52%;
  margin-left: 4%;
  border-left: 4.5px solid var(--red);
  border-bottom: 4.5px solid var(--red);
  content: "";
}

.plate-lg { width: 48px; border-radius: 10px; }
.plate-lg::before { border-width: 6px; }

/* ============ Header ============ */

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: #ffffffe6;
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  backdrop-filter: blur(14px) saturate(1.6);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease);
}

.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.wordmark-text {
  font-size: 1.06rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.wordmark-text strong { font-weight: 700; }

.site-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.site-nav a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 14px;
  border-radius: var(--radius-s);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 150ms var(--ease), background-color 150ms var(--ease);
}

.site-nav a:hover { color: var(--ink); background: var(--soft); }

/* ============ Hero ============ */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
  padding-block: clamp(24px, 4vw, 56px) clamp(32px, 4vw, 48px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 16px;
}

h1 {
  margin-top: 18px;
  font-size: clamp(2.9rem, 5.6vw, 5rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}

.lede {
  max-width: 30rem;
  margin-top: 20px;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero h1 { margin-top: 0; font-size: clamp(2.65rem, 5.25vw, 4.5rem); }
.hero-location {
  display: block;
  margin-top: 0.16em;
  font-size: 0.67em;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.lesson-rate { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-top: 12px; color: var(--muted); }
.lesson-rate strong { color: var(--ink); font-size: 1.4rem; font-weight: 700; }
.lesson-minimum { text-underline-offset: 3px; }
.lesson-minimum:hover { color: var(--red-dark); }

/* Area finder card */
.finder {
  width: 100%;
  max-width: 34rem;
  margin-top: 32px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.finder-title {
  margin-bottom: 12px;
  font-weight: 600;
}

.finder-row {
  display: flex;
  gap: 10px;
}

.select {
  position: relative;
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
}

.select .icon {
  position: absolute;
  left: 14px;
  color: var(--red);
  pointer-events: none;
}

.select .chevron {
  right: 14px;
  left: auto;
  width: 18px;
  color: var(--faint);
}

.select select {
  width: 100%;
  min-height: 52px;
  padding: 0 42px 0 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  color: var(--ink);
  background: var(--soft);
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 150ms var(--ease), background-color 150ms var(--ease);
}

.select select:hover { border-color: var(--faint); background: #fff; }
.select select:invalid { color: var(--faint); }
.select select:focus-visible { outline-offset: 1px; }

.finder-note {
  margin-top: 10px;
  color: var(--faint);
  font-size: 0.85rem;
}

.hero-copy .text-link { margin-top: 24px; }

.hero-media {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--soft-2);
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
}

.hero-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px 12px 12px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-l);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.hero-badge strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 650;
}

/* Gentle entrance, CSS only so it never waits on script */
.hero-copy > *, .hero-media {
  animation: rise 700ms var(--ease) both;
}

.hero-copy > :nth-child(2) { animation-delay: 60ms; }
.hero-copy > :nth-child(3) { animation-delay: 120ms; }
.hero-copy > :nth-child(4) { animation-delay: 180ms; }
.hero-copy > :nth-child(n + 5) { animation-delay: 240ms; }
.hero-media { animation-delay: 100ms; }

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
}

/* ============ Facts ============ */

.facts { padding-bottom: clamp(56px, 7vw, 96px); }

.facts ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.facts li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.facts li + li { border-left: 1px solid var(--line); }

.facts strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
}

.facts a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.facts a:hover { color: var(--red-dark); }

.fact-icon {
  display: grid;
  width: 44px;
  aspect-ratio: 1;
  flex: none;
  place-items: center;
  border-radius: 12px;
  color: var(--red);
  background: var(--red-soft);
}

/* ============ Pricing ============ */

.pricing {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: start;
  gap: clamp(24px, 5vw, 64px);
  margin-bottom: clamp(56px, 7vw, 96px);
  padding: clamp(20px, 4vw, 48px);
  border-radius: var(--radius-l);
  background: var(--red-soft);
}

.pricing h2 { margin: 0; text-wrap: initial; }
.pricing-copy p { max-width: 39ch; margin-top: 14px; color: var(--muted); }
.pricing-copy .button { margin-top: 20px; }
.pricing-options { min-width: 0; }

.pricing-rates {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.pricing-rates > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  padding: clamp(12px, 1.8vw, 24px);
}
.pricing-rates > div:not(:nth-child(3n + 1)) { border-left: 1px solid var(--line); }
.pricing-rates > div:nth-child(n + 4) { border-top: 1px solid var(--line); }
.pricing-rates dt { color: var(--muted); font-weight: 600; }
.pricing-rates dd {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.15rem, 2.7vw, 2.35rem);
  font-weight: 700;
  line-height: 1.05;
}

.pricing-hire {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 4px 12px;
  margin-top: 12px;
  padding: 16px clamp(12px, 1.8vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}
.pricing-hire h3, .pricing-hire strong { font-size: 1.15rem; }
.pricing-hire p { grid-column: 1 / -1; color: var(--muted); }

/* ============ Section heads ============ */

.section-head { max-width: 42rem; }

h2 {
  margin-top: 14px;
  font-size: clamp(2.2rem, 3.9vw, 3.4rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}

.section-intro {
  max-width: 36rem;
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.08rem;
  text-wrap: pretty;
}

/* ============ Lessons ============ */

.lessons {
  padding-block: clamp(64px, 8vw, 112px);
  background: var(--soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(36px, 4vw, 56px);
  counter-reset: step;
}

.step {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: #fff;
  transition: box-shadow 250ms var(--ease), border-color 250ms var(--ease);
}

.step:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-l);
}

.diagram {
  padding: 10px 10px 0;
}

.diagram svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.diagram .paint { stroke: #fff; stroke-width: 2.5; fill: none; }
.diagram .paint-dash { stroke: #fff; stroke-width: 2.5; stroke-dasharray: 14 12; fill: none; }
.diagram .paint-giveway { stroke: #fff; stroke-width: 2.5; stroke-dasharray: 5 3; fill: none; }

.diagram .route {
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-dasharray: 1 7;
  stroke-linecap: round;
  marker-end: url(#arrowhead);
}

.diagram .me {
  transition: transform 600ms var(--ease);
}

.step:nth-child(1):hover .me,
.step:nth-child(3):hover .me { transform: translateX(14px); }
.step:nth-child(2):hover .me { transform: translateY(-14px); }

.step-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 26px;
}

.step-num {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--red);
  background: var(--red-soft);
  font-size: 0.8rem;
  font-weight: 600;
}

.step h3 {
  margin-top: 14px;
  font-size: 1.45rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.step p {
  margin-top: 8px;
  color: var(--muted);
  text-wrap: pretty;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 20px;
}

.tags li {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

/* ============ Learner information ============ */

.learner-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(60px, 7vw, 100px);
}

.learner-info h2, .faq h2 { margin-top: 0; }
.learner-info h2 { font-size: clamp(1.8rem, 3.3vw, 2.65rem); }
.learner-info p { margin-top: 14px; color: var(--muted); }
.lesson-photo { width: 100%; height: auto; border-radius: var(--radius); }
.learner-info .lesson-photo { margin-bottom: 22px; }

.checklist {
  display: grid;
  gap: 12px;
  padding-left: 1.2em;
  margin: 16px 0;
  color: var(--muted);
  list-style: disc;
}

.checklist li::marker { color: var(--red); }
.checklist strong { color: var(--ink); }

.resource-links { display: grid; gap: 7px; margin-top: 16px; }
.learner-info .text-link, .guide-main .text-link {
  color: var(--red-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============ Areas ============ */

.coverage { border-block: 1px solid var(--line); }

.coverage-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(64px, 8vw, 112px);
}

.area-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 28px;
}

.area-list li {
  display: flex;
  min-height: 52px;
  min-width: 0;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 600;
}

.area-list a {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  padding: 0 12px 0 14px;
  border-radius: 12px 0 0 12px;
  text-underline-offset: 3px;
}

.area-list a:hover { color: var(--red-dark); }

.area-list button {
  display: grid;
  width: 48px;
  flex: none;
  place-items: center;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0 12px 12px 0;
  color: var(--faint);
  background: transparent;
  cursor: pointer;
  transition: color 150ms var(--ease), background-color 150ms var(--ease);
}

.area-list button .icon { width: 18px; height: 18px; }
.area-list button:hover { color: var(--red-dark); background: var(--soft); }

.area-list button[aria-pressed="true"] {
  color: var(--red-dark);
  background: var(--red-soft);
}

/* Map */
.area-map {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: #fff;
  box-shadow: var(--shadow);
}

.map-field {
  position: relative;
  overflow: hidden;
}

.map-field img {
  width: 100%;
  height: auto;
  filter: saturate(0.8);
}

.map-marker {
  position: absolute;
  top: var(--y);
  left: var(--x);
  margin-top: -10px;
  padding: 4px 9px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 0 1px #14161b14, 0 2px 6px #14161b26;
  white-space: nowrap;
  color: var(--ink);
  font-size: clamp(0.7rem, 1vw, 0.84rem);
  font-weight: 600;
  line-height: 1.2;
  transform: translate(-50%, -100%);
  transition: background-color 200ms var(--ease), color 200ms var(--ease), transform 250ms var(--ease);
}

.map-marker::before {
  position: absolute;
  bottom: -15px;
  left: calc(50% - 6px);
  width: 12px;
  height: 12px;
  border: 2.5px solid #fff;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 1px 3px #14161b59;
  box-sizing: border-box;
  content: "";
  transition: box-shadow 250ms var(--ease);
}

.map-marker.is-selected {
  z-index: 1;
  color: #fff;
  background: var(--red);
  transform: translate(-50%, calc(-100% - 4px)) scale(1.08);
}

.map-marker.is-selected::before {
  bottom: -19px;
  box-shadow: 0 0 0 7px #d42a2033, 0 1px 3px #14161b59;
}

.area-map figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.78rem;
}

.map-key {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
}

.map-key::before {
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 1px var(--line-strong);
  content: "";
}

.map-credit { display: flex; flex-wrap: wrap; gap: 3px 12px; }
.map-credit a { text-decoration: none; }
.map-credit a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.map-guide { color: var(--red-dark); font-size: 0.9rem; font-weight: 650; text-underline-offset: 3px; }

/* ============ FAQ ============ */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: start;
  gap: clamp(28px, 5vw, 70px);
  padding-block: clamp(60px, 7vw, 100px);
}
.faq-list { margin-top: 24px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 15px 3px; cursor: pointer; font-weight: 650; }
.faq-list summary::marker { color: var(--red-dark); }
.faq-list details > div { padding: 0 3px 16px; color: var(--muted); }
.faq-list a { color: var(--red-dark); text-underline-offset: 3px; }

.enquiries { border-top: 1px solid var(--line); background: var(--soft); }
.enquiries-inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr);
  align-items: start;
  gap: 24px clamp(24px, 5vw, 72px);
  padding-block: clamp(42px, 6vw, 75px);
}

.enquiries h2 { margin: 0; }
.enquiries-inner > div > p { max-width: 45ch; margin-top: 15px; color: var(--muted); }
.enquiries-direct { margin-top: 16px; }
.enquiry-form {
  display: grid;
  justify-items: start;
  gap: 18px;
  min-width: 0;
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--bg);
}
.enquiry-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}
.enquiry-field { display: grid; gap: 6px; min-width: 0; font-weight: 600; }
.enquiry-field input, .enquiry-field select {
  width: 100%;
  min-height: 47px;
  padding: 9px 10px;
  border: 1px solid var(--faint);
  border-radius: 7px;
  color: var(--ink);
  background: var(--bg);
  font: inherit;
  font-weight: 400;
}
.enquiry-availability { min-width: 0; margin: 0; padding: 0; border: 0; }
.enquiry-availability legend { padding: 0; font-weight: 600; }
.enquiry-choices { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.enquiry-choices label, .enquiry-consent {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding-block: 7px;
}
.enquiry-choices label { min-width: 44px; }
.enquiry-form input[type="radio"], .enquiry-form input[type="checkbox"] {
  flex: none;
  align-self: start;
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.24em 0 0;
  accent-color: var(--red-dark);
}
.enquiry-privacy { color: var(--muted); font-size: 0.9rem; }
.enquiry-phone-hint, .enquiry-status[data-state="error"] { color: var(--red-dark); }
.enquiry-status { font-weight: 600; }
.enquiry-phone-hint:empty, .enquiry-status:empty { display: none; }
.enquiry-form .button:disabled { opacity: 0.65; cursor: wait; }
.enquiry-result { max-width: 42rem; padding-block: 60px; }
.enquiry-result h1 { font-size: clamp(2.1rem, 6vw, 3.5rem); }
.enquiry-result p { margin-block: 16px 24px; }

/* ============ Local guides ============ */

.breadcrumbs { padding-block: 22px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 5px 10px; color: var(--muted); font-size: 0.9rem; }
.breadcrumbs li + li::before { margin-right: 10px; color: var(--faint); content: "/"; }
.breadcrumbs a { text-underline-offset: 3px; }

.guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(26px, 6vw, 80px);
  align-items: center;
  padding-block: 24px clamp(35px, 6vw, 75px);
}

.guide-hero h1 { margin: 0; font-size: clamp(2.65rem, 5.3vw, 4.7rem); text-wrap: initial; }
.guide-hero .lede { max-width: 40rem; }
.guide-hero .area-map { max-width: 27rem; }
.guide-hero .lesson-rate { display: flex; }
.guide-hero .button { margin-top: 16px; }
.guide-jumps { display: flex; flex-wrap: wrap; gap: 9px 14px; margin-top: 22px; }
.guide-jumps a { display: inline-flex; min-height: 44px; align-items: center; color: var(--red-dark); font-weight: 650; text-underline-offset: 3px; }

.guide-main {
  padding-block: clamp(40px, 6vw, 76px);
  border-block: 1px solid var(--line);
  background: var(--soft);
}

.guide-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); align-items: start; gap: clamp(28px, 6vw, 75px); }
.guide-main h2 { margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.7rem); text-wrap: initial; }
.guide-main h3 { font-size: 1.15rem; line-height: 1.3; }
.guide-main p { margin-top: 11px; color: var(--muted); }
.guide-main a { text-underline-offset: 3px; }
.guide-photo { margin-top: 20px; }
.guide-photo figcaption { margin-top: 8px; color: var(--muted); font-size: 0.85rem; }
.practice-list { margin: 22px 0; border-top: 1px solid var(--line-strong); }
.practice-list li { padding-block: 17px; border-bottom: 1px solid var(--line-strong); }
.practice-list p { margin-top: 5px; }

.guide-test {
  padding: clamp(22px, 3.2vw, 39px);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: #fff;
}

.guide-test h3 { margin-top: 22px; }
.guide-test .resource-links { margin-top: 20px; }
.guide-related { padding-block: clamp(40px, 6vw, 76px); }
.guide-related h2 { margin: 0; font-size: clamp(1.75rem, 3.1vw, 2.45rem); }
.guide-related ul { display: flex; flex-wrap: wrap; gap: 2px 22px; margin-top: 12px; }
.guide-related li a, .guide-related > a { display: inline-flex; min-height: 44px; align-items: center; color: var(--red-dark); font-weight: 650; text-underline-offset: 3px; }

/* ============ Footer ============ */

.site-footer {
  color: #b9bdc7;
  background: var(--ink);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.6fr);
  gap: 40px;
  padding-block: 64px 48px;
}

.site-footer .wordmark { color: #fff; }
.site-footer .plate { box-shadow: none; }

.footer-brand p {
  max-width: 22rem;
  margin-top: 16px;
  font-size: 0.95rem;
}

.footer-heading {
  margin-bottom: 14px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-nav ul { display: grid; gap: 8px; }
.footer-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }

.footer-nav a {
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 150ms var(--ease);
}

.footer-nav a:hover { color: #fff; }

.footer-base {
  padding-block: 20px 28px;
  border-top: 1px solid #ffffff1a;
  font-size: 0.85rem;
}

/* ============ Responsive ============ */

@media (max-width: 1023px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:last-child { grid-column: span 2; flex-direction: row; }
  .step:last-child .diagram { flex: 1.1; padding: 10px; }
  .step:last-child .step-body { flex: 1; }
}

@media (max-width: 899px) {
  html { scroll-padding-top: 72px; }

  .hero { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { padding-block: 8px 0; }
  .hero-media { min-height: 0; aspect-ratio: 4 / 3; }
  .hero-media img { object-position: center; }

  .facts ul { grid-template-columns: 1fr; }
  .facts li + li { border-top: 1px solid var(--line); border-left: 0; }

  .coverage-inner { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 799px) {
  .site-nav { display: none; }
  .header-cta { margin-left: auto; }
  .header-inner { min-height: 64px; gap: 12px; }
  .map-marker:is([data-marker="stanmore"], [data-marker="mill-hill"], [data-marker="kingsbury"]) {
    margin-top: 10px;
    transform: translateX(-50%);
  }
  .map-marker:is([data-marker="stanmore"], [data-marker="mill-hill"], [data-marker="kingsbury"])::before {
    top: -15px;
    bottom: auto;
  }
}

@media (max-width: 699px) {
  .finder { padding: 16px; }
  .finder-row { flex-direction: column; }
  .finder .button { width: 100%; }

  .learner-info { grid-template-columns: 1fr; }
  .pricing, .faq { grid-template-columns: 1fr; }
  .faq-photo { max-width: 30rem; }
  .enquiries-inner { grid-template-columns: 1fr; }
  .map-marker[data-marker]:not(.is-selected) {
    padding: 0;
    color: transparent;
    font-size: 0;
    background: transparent;
    box-shadow: none;
  }
  .guide-hero, .guide-grid { grid-template-columns: 1fr; }
  .guide-hero .area-map { max-width: 22rem; }

  .hero-badge { bottom: 12px; left: 12px; padding: 10px 16px 10px 10px; }
  .plate-lg { width: 40px; }

  .steps { grid-template-columns: 1fr; }
  .step:last-child { grid-column: auto; flex-direction: column; }
  .step:last-child .diagram { padding: 10px 10px 0; }
}

@media (max-width: 399px) {
  .wordmark-text { font-size: 0.95rem; }
  .plate { width: 30px; }
  .header-cta { padding: 0 14px; }
  .pricing-rates dt { font-size: 0.85rem; }
  .pricing-rates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-rates > div:nth-child(n) { border-left: 0; }
  .pricing-rates > div:nth-child(even) { border-left: 1px solid var(--line); }
  .pricing-rates > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .enquiry-fields { grid-template-columns: 1fr; }
  .area-list { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 359px) {
  .header-inner { gap: 8px; }
  .header-inner .wordmark { gap: 7px; }
  .header-inner .wordmark-text { font-size: 0.875rem; }
  .header-cta { padding-inline: 10px; }
}

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