/* Rijschool Lammens — design "Op de lijn" · Faro Digital
   One stylesheet, no framework. Tokens first. */

:root {
  /* Brand — #354f9a is the only flat colour measured in the logo file */
  --navy: #354f9a;
  --navy-deep: #1d2b55;      /* derived: darker shade of --navy */
  --sky: #9ca8c4;            /* derived tint (mean of the logo's light edge pixels); used ON navy only */
  --paper: #f6f4ef;
  --paper-2: #ece9e1;
  --ink: #141a2e;
  --ink-2: #444b63;
  --line: #d6d2c7;
  --white: #fff;
  --error: #a4161a;          /* functional only (form errors) */

  --f-sans: "DM Sans", sans-serif;
  --f-serif: "Lora", serif;

  --wrap: 1240px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 6px;
  --header-h: 76px;
  --pad-section: clamp(4.5rem, 9vw, 8rem);
  --pad-tight: clamp(3.5rem, 7vw, 6rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-sans); font-size: 1.0625rem; line-height: 1.6;
  font-optical-sizing: auto; overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; letter-spacing: -0.02em; font-weight: 800; text-wrap: balance; }
p { margin: 0 0 1em; max-width: 62ch; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--navy); text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--navy-deep); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--sky); }
.on-dark { color: #fff; }
.on-dark a { color: #fff; }
.on-dark a:hover { color: var(--sky); }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--navy-deep); color: #fff; padding: .75rem 1.1rem; border-radius: var(--radius); }
.skip:focus { top: 1rem; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* spacing helpers (replace all inline styles) */
.mt-1 { margin-top: 1rem; } .mt-125 { margin-top: 1.25rem; } .mt-15 { margin-top: 1.5rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-15 { margin-bottom: 1.5rem; }
.my-15 { margin-block: 1.5rem; } .my-125 { margin-block: 1.25rem; }
.m-0 { margin: 0; }

/* ---------- Type ---------- */
.h1 { font-size: clamp(2.75rem, 7vw, 5.5rem); font-weight: 900; letter-spacing: -0.035em; line-height: .98; }
.h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; letter-spacing: -0.03em; }
.h2--sm { font-size: clamp(1.75rem, 3vw, 2.4rem); }
.eyebrow { display: inline-flex; align-items: center; gap: .65rem; font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1.25rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; }
.muted { color: var(--ink-2); }
.serif-i { font-family: var(--f-serif); font-style: italic; font-weight: 500; letter-spacing: -0.01em; }
.label-s { font-size: .8rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-2); }

/* L-plate marker (tilted square, as in the logo) */
.lmark { display: inline-grid; place-items: center; flex: none; width: 1.05em; height: 1.05em; background: var(--navy); color: #fff; transform: rotate(-8deg); font-size: .8rem; font-weight: 900; line-height: 1; }
.on-dark .lmark { background: #fff; color: var(--navy-deep); }
.lmark--lg { width: 3.1rem; height: 3.1rem; font-size: 1.35rem; border-radius: 2px; }
.lmark--auto { width: auto; min-width: 2.1rem; padding: 0 .45rem; }

/* Licence letters as display type — decorative */
.letter {
  position: absolute; z-index: 0; pointer-events: none; user-select: none; font-weight: 900; line-height: .78; letter-spacing: -0.05em;
  font-size: clamp(10rem, 27vw, 20rem); color: transparent; -webkit-text-stroke: 2px rgba(53, 79, 154, .22);
}
.on-dark .letter { -webkit-text-stroke-color: rgba(156, 168, 196, .55); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: .75rem 1.5rem;
  border-radius: var(--radius); border: 2px solid transparent; font: 700 1rem/1.2 var(--f-sans); text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease; touch-action: manipulation;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); color: #fff; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--navy-deep); }
.on-dark .btn-light, .on-dark .btn-light:hover { color: var(--ink); }
.on-dark .btn-light:hover { color: var(--navy-deep); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: inherit; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn svg { width: 1.15em; height: 1.15em; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem 1rem; }
.btn-row--band { margin-top: 2rem; position: relative; z-index: 1; }

/* ---------- Header ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: relative; z-index: 60; }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 42px; width: auto; mix-blend-mode: multiply; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; display: flex; gap: 1.6rem; align-items: center; }
.site-nav a { font-weight: 600; font-size: .98rem; color: var(--ink); text-decoration: none; padding: .5rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--navy); color: var(--ink); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--navy); }
.head-cta { display: flex; align-items: center; gap: 1.1rem; flex: none; }
.head-tel { font-weight: 800; font-size: 1.02rem; color: var(--ink); text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: .45rem; }
.head-tel svg { width: 1.1em; height: 1.1em; color: var(--navy); }
.nav-toggle {
  display: none; margin-left: auto; min-width: 48px; min-height: 48px; border: 2px solid var(--ink); border-radius: var(--radius);
  background: transparent; color: var(--ink); align-items: center; justify-content: center; gap: .5rem; padding: 0 .9rem; font: 700 .95rem var(--f-sans); cursor: pointer;
}
.nav-toggle .bars { width: 20px; height: 14px; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after, .nav-toggle .bars i { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle .bars::before { top: 0; } .nav-toggle .bars i { top: 6px; } .nav-toggle .bars::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle[aria-expanded="true"] .bars i { opacity: 0; }
@media (min-width: 1180px) { .site-header { position: sticky; top: 0; } .site-nav .nav-extra { display: none; } }
@media (max-width: 1179.98px) {
  .head-cta { display: none; }
  .site-header .wrap { flex-wrap: wrap; min-height: 68px; }
  .brand img { height: 35px; }
  .site-nav { flex-basis: 100%; margin: 0; order: 3; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 1rem; }
  .site-nav li { border-top: 1px solid var(--line); }
  .site-nav a { display: block; padding: .95rem 0; font-size: 1.1rem; border-bottom: 0 !important; }
  .site-nav .nav-extra { display: flex; flex-direction: column; gap: .75rem; padding-top: 1rem; }
  .site-nav .nav-extra a { display: inline-flex; padding: .75rem 1.5rem; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding-block: var(--pad-section); }
.section--tight { padding-block: var(--pad-tight); }
.section--alt { background: var(--paper-2); }
.section--navy { background: var(--navy); color: #fff; }
.section--deep { background: var(--navy-deep); color: #fff; }
[id] { scroll-margin-top: 6rem; }
.sec-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); position: relative; z-index: 1; }
.sec-head .h2 { margin-top: .25rem; }
.sec-head--tight { margin-bottom: 1rem; }

/* ---------- Home hero ---------- */
.hero { position: relative; background: var(--navy-deep); color: #fff; overflow: hidden; isolation: isolate; }
.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 74%; z-index: -2; }
.hero-photo picture { display: block; width: 100%; height: 100%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 42%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--navy-deep) 0%, var(--navy-deep) 30%, rgba(29,43,85,.86) 40%, rgba(29,43,85,.4) 52%, rgba(29,43,85,0) 66%); }
/* Road line along the bottom edge of the hero: never over rider, text or buttons */
.hero-line { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(56px, 8vw, 120px); z-index: 0; pointer-events: none; }
.hero-line path, .phero-seam path, .road path { fill: none; stroke: var(--sky); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hero-inner { position: relative; z-index: 2; padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(6rem, 13vw, 10rem); min-height: min(88svh, 800px); display: flex; flex-direction: column; justify-content: center; }
.hero h1 { max-width: 6.6em; margin-bottom: 1.4rem; }
.hero .lead { max-width: 34rem; color: #eef0f7; margin-bottom: 2rem; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.28); font-size: .95rem; max-width: 46rem; }
.trust li { display: inline-flex; align-items: center; gap: .55rem; }
.trust svg { width: 16px; height: 16px; flex: none; color: var(--sky); position: relative; top: -1px; }
.trust strong { font-weight: 800; }
@media (max-width: 900px) {
  .hero-photo { width: 100%; bottom: auto; height: 62%; }
  .hero-photo img { object-position: 46% 30%; }
  .hero::before { background: linear-gradient(180deg, rgba(29,43,85,.2) 0%, rgba(29,43,85,.55) 22%, var(--navy-deep) 52%); }
  .hero-inner { min-height: 0; justify-content: flex-end; padding-top: clamp(14rem, 62vw, 22rem); padding-bottom: 4rem; }
  .hero h1 { margin-bottom: 1rem; }
  .hero .lead { font-size: 1.02rem; margin-bottom: 1.4rem; }
  .trust { margin-top: 1.4rem; padding-top: 1rem; gap: .5rem 1.25rem; font-size: .9rem; }
}

/* Draw-on (pathLength normalised to 1). No JS or reduced motion: fully drawn. */
.js .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .draw.is-drawn { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s cubic-bezier(.3,.1,.2,1); }
@media (prefers-reduced-motion: reduce) { .js .draw, .js .draw.is-drawn { stroke-dashoffset: 0; transition: none; } }

/* Page-long road line (built by JS on wide screens, in the side gutters) */
.road { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; overflow: visible; }
.road path { stroke: url(#road-grad); }
[data-road] { position: relative; }
@media (max-width: 1359.98px) { .road { display: none; } }

/* ---------- Home: three licence panels ---------- */
.paths-grid { display: grid; gap: 1.25rem; grid-template-columns: 1.45fr 1fr; grid-template-areas: "a am" "b am"; }
.panel {
  position: relative; overflow: hidden; border-radius: 8px; color: #fff; isolation: isolate; cursor: pointer;
  display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(1.5rem, 3vw, 2.5rem);
}
.panel--a { grid-area: a; min-height: 500px; }
.panel--am { grid-area: am; min-height: 700px; }
.panel--b { grid-area: b; min-height: 340px; background: var(--navy); }
.panel--b::before { content: ""; position: absolute; inset: 12px; z-index: -1; border: 2px dashed rgba(156,168,196,.5); border-radius: 5px; transition: border-color .3s ease; pointer-events: none; }
.panel--b:hover::before { border-color: rgba(255,255,255,.75); }
.panel picture, .panel img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.panel img { object-fit: cover; transition: transform .6s ease; }
.panel:hover img { transform: scale(1.03); }
.panel--a::after, .panel--am::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,26,46,0) 22%, rgba(20,26,46,.9) 100%); }
.panel .letter { top: .5rem; right: 1.25rem; left: auto; font-size: clamp(8rem, 14vw, 12rem); -webkit-text-stroke-color: rgba(255,255,255,.85); }
.panel--am .letter { font-size: clamp(6.5rem, 11vw, 9.5rem); }
.panel--b .letter { -webkit-text-stroke-color: rgba(156,168,196,.7); }
.panel h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: .6rem; position: relative; z-index: 1; }
.panel p { color: #f1f3f9; position: relative; z-index: 1; margin-bottom: .9rem; }
.panel .from { font-weight: 800; font-size: 1.05rem; margin-bottom: 1rem; }
.panel a.stretch { color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; border-bottom: 2px solid rgba(255,255,255,.7); padding-bottom: 2px; align-self: flex-start; transition: border-color .2s ease; }
.panel a.stretch::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.panel a.stretch svg { width: 1.2em; height: 1.2em; flex: none; }
.panel:hover a.stretch { border-bottom-color: #fff; }
.panel:focus-within { outline: 3px solid var(--sky); outline-offset: 3px; }
.panel a.stretch:focus-visible { outline: none; }
@media (max-width: 860px) {
  .paths-grid { grid-template-columns: 1fr; grid-template-areas: "a" "am" "b"; }
  .panel--a { min-height: 420px; } .panel--am { min-height: 560px; } .panel--b { min-height: 300px; }
}

/* ---------- Scooter band + dashed centre-line timeline ---------- */
.band-head { display: grid; gap: 1.5rem 4rem; grid-template-columns: 1.2fr 1fr; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); position: relative; z-index: 1; }
.band-head .h2 { color: #fff; }
.price-big { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; }
.price-big strong { font-size: clamp(3rem, 6vw, 4.75rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.price-big span { font-size: .98rem; color: #e1e5f1; max-width: 18rem; }
.price-big--ink { color: var(--ink); } .price-big--ink span { color: var(--ink-2); }
.price-big--sm strong { font-size: clamp(2.5rem, 5vw, 3.75rem); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; position: relative; z-index: 1; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: calc(1.55rem - 2px); height: 4px; background: repeating-linear-gradient(90deg, var(--sky) 0 30px, transparent 30px 56px); transform-origin: left center; }
.js .steps:not(.is-drawn)::before { transform: scaleX(0); }
.steps.is-drawn::before { transform: scaleX(1); transition: transform 1.5s cubic-bezier(.3,.1,.2,1); }
.step { position: relative; padding-top: 4.25rem; }
.step .lmark { position: absolute; top: 0; left: 0; box-shadow: 0 0 0 .55rem var(--navy); }
.step h3 { font-size: 1.2rem; margin-bottom: .5rem; letter-spacing: -0.01em; }
.step p { font-size: .98rem; margin-bottom: .6rem; }
.section--navy .step p { color: #e9ecf6; }
.note { display: flex; gap: .8rem; align-items: flex-start; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.28); max-width: 54rem; position: relative; z-index: 1; }
.note p { margin: 0; }
.note--wide { max-width: none; }
@media (max-width: 900px) {
  .band-head { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 2.25rem; }
  .steps::before { top: 1.55rem; bottom: 1.55rem; left: calc(1.55rem - 2px); right: auto; width: 4px; height: auto; background: repeating-linear-gradient(180deg, var(--sky) 0 26px, transparent 26px 46px); transform-origin: center top; }
  .js .steps:not(.is-drawn)::before { transform: scaleY(0); }
  .steps.is-drawn::before { transform: scaleY(1); }
  .step { padding-top: 0; padding-left: 5rem; min-height: 3.1rem; }
}

/* ---------- Over Radboud ---------- */
.over-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
/* framed "photo print": thin navy frame, paper inner border */
.print { margin: 0; background: var(--paper); border: 2px solid var(--navy); padding: 8px; width: min(100%, 380px); }
.print picture, .print img { display: block; width: 100%; }
.print figcaption { background: var(--navy); color: #fff; margin: 8px -8px -8px; padding: .65rem 1rem; font-weight: 700; font-size: .95rem; }
.print--sm { width: min(100%, 280px); }
.print--sm img { max-width: 480px; }
.voice-wrap blockquote { margin: 0 0 1.5rem; }
.voice { font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.22; color: var(--ink); margin: 0; }
.voice-wrap cite { display: block; margin-top: 1.25rem; font-style: normal; font-weight: 700; font-size: .98rem; letter-spacing: .02em; }
.voice-wrap cite::before { content: ""; display: inline-block; width: 2.5rem; height: 2px; background: var(--navy); vertical-align: middle; margin-right: .75rem; }
.creds { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2rem; margin: 2.5rem 0 2rem; border-top: 2px solid var(--ink); }
.creds li { padding: 1.35rem 0 1.25rem; border-bottom: 1px solid var(--line); }
.creds b { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .35rem; font-weight: 700; }
.creds span { font-weight: 700; line-height: 1.3; display: block; font-size: 1rem; }
.over-bottom { display: flex; gap: 1.75rem; align-items: flex-start; }
.over-bottom p { margin: 0; min-width: 0; }
.over-bottom .badge { flex: none; }
.over-bottom .badge img { width: 112px; height: auto; border-radius: 4px; }
@media (max-width: 900px) {
  .over-bottom { flex-direction: column; }
  .over-grid { grid-template-columns: 1fr; }
  .creds { grid-template-columns: 1fr 1fr; }
}

/* ---------- Autorijles ---------- */
.auto-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.auto-panel {
  position: sticky; top: 6.5rem; background: var(--navy); color: #fff; border-radius: 8px; padding: clamp(1.5rem, 3vw, 2.5rem);
  min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate;
}
.auto-panel::before { content: ""; position: absolute; inset: 12px; z-index: -1; border: 2px dashed rgba(156,168,196,.5); border-radius: 5px; pointer-events: none; }
.auto-panel .letter { top: .5rem; right: 1.25rem; font-size: clamp(9rem, 15vw, 13rem); -webkit-text-stroke-color: rgba(156,168,196,.8); }
.auto-panel h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: .5rem; }
.auto-panel p { color: #e9ecf6; margin-bottom: 1.5rem; }
.auto-panel .btn { align-self: flex-start; }
.facts { list-style: none; margin: 1.5rem 0 2rem; display: grid; gap: .1rem; }
.facts li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: .8rem 0; border-top: 1px solid var(--line); }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts b { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); padding-top: .25rem; }
@media (max-width: 860px) {
  .auto-grid { grid-template-columns: 1fr; }
  .auto-panel { position: relative; top: 0; min-height: 320px; }
  .facts li { grid-template-columns: 1fr; gap: .1rem; }
}

/* ---------- Gift band ---------- */
.gift { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.gift h2 { font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: clamp(3rem, 8vw, 6.5rem); letter-spacing: -0.03em; line-height: .98; }
.gift--ink { color: var(--ink); } .gift--ink h2 { color: var(--navy); }
@media (max-width: 860px) { .gift { grid-template-columns: 1fr; } }

/* ---------- Ledger (receipt-style prices) ---------- */
.ledger-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 6vw, 6rem); }
.ledger-group h3 { display: flex; align-items: center; gap: .9rem; font-size: 1.65rem; padding-bottom: .9rem; border-bottom: 3px solid var(--ink); margin-bottom: 0; letter-spacing: -0.02em; }
.ledger-group h3 .lmark { font-size: .9rem; width: 2.2rem; height: 2.2rem; font-weight: 900; }
.ledger-group h3 .lmark--auto { width: auto; padding: 0 .5rem; }
.ledger { margin: 0; }
.ledger .row { display: grid; grid-template-columns: 1fr auto; column-gap: .75rem; align-items: baseline; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.ledger dt { display: flex; align-items: baseline; gap: .6rem; font-weight: 600; min-width: 0; }
.ledger dt::after { content: ""; flex: 1 1 1.5rem; border-bottom: 2px dotted #9b9a94; transform: translateY(-.28em); min-width: .75rem; }
.ledger dd { margin: 0; }
.ledger dd.price { font-weight: 800; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; text-align: right; }
.ledger dd.sub { grid-column: 1 / -1; font-size: .9rem; color: var(--ink-2); margin-top: .2rem; max-width: 46ch; }
.ledger .row--pkg { background: var(--paper-2); border-left: 3px solid var(--navy); margin-left: calc(-.65rem - 3px); margin-right: -.65rem; padding-left: .65rem; padding-right: .65rem; }
.ledger .row--pkg dt { font-weight: 800; }
.section--alt .ledger .row--pkg { background: var(--paper); }
.ledger-foot { margin-top: 2.25rem; font-weight: 600; }
@media (max-width: 860px) { .ledger-grid { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: center; }
.score { font-size: clamp(7rem, 17vw, 14rem); font-weight: 900; letter-spacing: -0.06em; line-height: .8; color: var(--navy); font-variant-numeric: tabular-nums; }
.reviews .links { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: 1rem; font-weight: 700; }
@media (max-width: 700px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.bignum { display: block; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.12; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.bignum:hover { color: var(--navy); }
.bignum small { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .1rem; }
.contact-lines { display: grid; gap: 1.35rem; margin: 0 0 1.75rem; }
.mail-link { font-size: 1.25rem; font-weight: 700; }
.address { font-style: normal; line-height: 1.5; }
.place { display: flex; gap: 1.25rem; align-items: flex-start; }
.place picture { flex: none; width: 220px; }
.place img { width: 220px; height: auto; border-radius: 4px; }
.place p { font-size: .95rem; margin: 0; }
/* map: designed location card sits behind the lazy iframe */
.map-wrap { position: relative; border-radius: 6px; overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); min-height: 360px; }
.map-card { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .5rem; text-align: center; padding: 1.5rem; }
.map-card svg { width: 44px; height: 44px; color: var(--navy); margin-bottom: .25rem; }
.map-card strong { font-size: 1.25rem; letter-spacing: -0.01em; }
.map-card p { margin: 0 0 .75rem; color: var(--ink-2); font-size: .98rem; }
.map { position: relative; z-index: 1; display: block; width: 100%; height: 360px; border: 0; background: transparent; }
.js .map { opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.js .map.is-ready { opacity: 1; pointer-events: auto; }
.route-row { margin: 1rem 0 1.25rem; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; padding: 1rem 2.5rem 1rem 0; list-style: none; position: relative; min-height: 48px; display: flex; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .25rem; font-size: 1.5rem; font-weight: 400; line-height: 1; }
details[open] > summary::after { content: "–"; }
summary:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; background: var(--paper-2); }
details > :not(summary) { padding-bottom: 1rem; }
details ol { padding-left: 1.2rem; max-width: 62ch; }
details li { margin-bottom: .35rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .place { flex-direction: column; } }

/* ---------- Form ---------- */
.form-block { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 2px solid var(--ink); }
.form-block--solo { margin-top: 0; padding-top: 0; border-top: 0; }
.form { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: .35rem; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .95rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: .7rem .9rem; font: 400 1rem/1.4 var(--f-sans); color: var(--ink); background: #fff; border: 1.5px solid #6b7188; border-radius: var(--radius); }
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field-error { color: var(--error); font-weight: 600; font-size: .9rem; }
.field-error:empty { display: none; }
.check { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: center; }
.check input { width: 1.4rem; height: 1.4rem; margin: 0; accent-color: var(--navy); }
.form .btn { justify-self: start; min-height: 52px; }
.req { color: var(--ink-2); font-weight: 400; }
@media (max-width: 860px) { .form-block { grid-template-columns: 1fr; } .form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #e6e9f3; padding-block: 4rem 3rem; font-size: .98rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--sky); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem 3rem; }
.foot-logo { background: var(--paper); padding: 10px 14px; border-radius: 6px; display: inline-block; }
.foot-logo img { height: 40px; width: auto; mix-blend-mode: multiply; }
.site-footer h2 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin-bottom: .9rem; font-weight: 700; }
.site-footer ul { list-style: none; display: grid; gap: .4rem; }
.site-footer .legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; font-size: .9rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile sticky bar (mobile only, the only persistent element) ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  html { scroll-padding-bottom: 110px; }
  body { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line);
    transition: transform .25s ease;
  }
  .mbar.is-hidden { transform: translateY(110%); }
  .mbar .btn { min-height: 50px; }
  .mbar .btn-tel { background: var(--paper); color: var(--navy-deep); border-color: var(--navy-deep); }
}

/* ---------- Sub-page hero (split) ---------- */
.phero { background: var(--navy-deep); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.phero-grid { display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); min-height: min(78svh, 700px); }
.phero--scooter .phero-grid { grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); }
.phero-text { position: relative; z-index: 2; padding-block: clamp(3rem, 7vw, 6rem); padding-right: clamp(1rem, 4vw, 4rem); padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); display: flex; flex-direction: column; justify-content: center; }
.phero-text .letter { top: 1.25rem; right: 1rem; z-index: -1; font-size: clamp(8rem, 13vw, 11rem); -webkit-text-stroke-color: rgba(156,168,196,.4); }
.phero-text .h1 { margin-bottom: 1.25rem; position: relative; z-index: 1; }
.phero-text .lead, .phero-text .btn-row, .phero-text .eyebrow, .phero-text .price-big { position: relative; z-index: 1; }
.phero-text .lead { color: #eef0f7; max-width: 36rem; margin-bottom: 1.75rem; }
.phero-photo { position: relative; min-height: 360px; }
.phero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 56% 78%; }
.phero--scooter .phero-photo img { object-position: 50% 50%; }
.phero-photo::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 26%; z-index: 1; background: linear-gradient(90deg, var(--navy-deep), rgba(29,43,85,0)); pointer-events: none; }
/* road line along the text/photo seam — never over people */
.phero-seam { position: absolute; top: 0; bottom: 0; left: calc(45% - 36px); width: 72px; height: 100%; z-index: 2; pointer-events: none; }
.phero--scooter .phero-seam { left: calc(55% - 36px); }
@media (max-width: 860px) {
  .phero-seam { display: none; }
  .phero-grid, .phero--scooter .phero-grid { grid-template-columns: 1fr; min-height: 0; }
  .phero-photo { order: -1; min-height: 0; aspect-ratio: 4 / 3; }
  .phero-photo::after { display: none; }
  .phero-text { padding-block: 2.5rem 3rem; padding-inline: var(--gutter); }
  .phero-text .letter, .phero--scooter .phero-text .letter { font-size: 9rem; top: .5rem; }
  .phero--scooter .phero-photo { aspect-ratio: 4 / 3.4; }
  .phero--scooter .phero-photo img { object-position: 50% 38%; }
}

/* ---------- Content blocks on sub pages ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split--photo { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.split--top { align-items: start; }
.split img { width: 100%; border-radius: 4px; }
.split picture { display: block; }
.crop-kleding { aspect-ratio: 5 / 6; object-fit: cover; object-position: 50% 62%; max-width: 520px; }
.img-center { margin-inline: auto; max-width: 460px; }
@media (max-width: 860px) { .split, .split--photo { grid-template-columns: 1fr; } }

.cards2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.lic-card { position: relative; overflow: hidden; border-radius: 8px; padding: clamp(1.75rem, 3vw, 2.75rem); min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.lic-card--a { background: var(--paper-2); }
.lic-card--b { background: var(--navy); color: #fff; }
.lic-card .letter { top: .5rem; right: 1.25rem; left: auto; font-size: clamp(8rem, 14vw, 12rem); }
.lic-card--b .letter { -webkit-text-stroke-color: rgba(255,255,255,.6); }
.lic-card h3 { font-size: clamp(1.75rem, 3vw, 2.4rem); margin-bottom: .75rem; position: relative; z-index: 1; }
.lic-card p, .lic-card ul { position: relative; z-index: 1; }
.lic-card .age { font-weight: 800; font-size: 1.15rem; }
.lic-card--b p { color: #eef0f7; }
.lic-card small { display: block; font-size: .85rem; margin-top: .5rem; position: relative; z-index: 1; max-width: 46ch; }
.after-cards { margin-top: 1.5rem; font-weight: 700; }
.faq { max-width: 48rem; }
.faq--top { margin-top: 1.5rem; }
@media (max-width: 860px) { .cards2 { grid-template-columns: 1fr; } .lic-card { min-height: 380px; } }

.exam-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; position: relative; }
.exam-steps::before { content: ""; position: absolute; left: 0; right: 0; top: calc(1.55rem - 1.5px); height: 3px; background: rgba(53,79,154,.4); transform-origin: left center; }
.js .exam-steps:not(.is-drawn)::before { transform: scaleX(0); }
.exam-steps.is-drawn::before { transform: scaleX(1); transition: transform 1.5s cubic-bezier(.3,.1,.2,1); }
.exam-step { position: relative; padding-top: 4.25rem; }
.exam-step .lmark { position: absolute; top: 0; left: 0; box-shadow: 0 0 0 .55rem var(--paper-2); }
.exam-step h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.exam-step .meta { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); display: block; margin-bottom: .2rem; }
.checklist { list-style: none; margin: 1rem 0 0; display: grid; gap: .55rem; font-size: .96rem; }
.checklist li { position: relative; padding-left: 1.4rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .55em; width: .55rem; height: .55rem; background: var(--navy); transform: rotate(-8deg); }
.section--navy .checklist li::before, .section--deep .checklist li::before { background: var(--sky); }
.checklist--rich { font-size: 1.02rem; line-height: 1.7; gap: 1rem; }
.checklist--cols { columns: 2; column-gap: 3.5rem; display: block; }
.checklist--cols li { break-inside: avoid; margin-bottom: 1rem; }
@media (max-width: 900px) {
  .exam-steps { grid-template-columns: 1fr; gap: 2.25rem; }
  .exam-steps::before { top: 1.55rem; bottom: 1.55rem; left: calc(1.55rem - 1.5px); right: auto; width: 3px; height: auto; transform-origin: center top; }
  .js .exam-steps:not(.is-drawn)::before { transform: scaleY(0); }
  .exam-steps.is-drawn::before { transform: scaleY(1); }
  .exam-step { padding-top: 0; padding-left: 5rem; min-height: 3.1rem; }
  .checklist--cols { columns: 1; }
}

.gear-list { list-style: none; margin: 1.25rem 0 1.5rem; display: grid; gap: .5rem; }
.gear-list li { padding: .65rem 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.highlight { background: var(--navy); color: #fff; padding: 1.35rem 1.6rem; border-radius: var(--radius); font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.015em; max-width: 36rem; margin: 0; }
.incl { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; margin-top: 1.5rem; }
.incl--one { grid-template-columns: 1fr; }
.incl li { padding: .9rem 0 .9rem 1.8rem; border-top: 1px solid var(--line); position: relative; font-weight: 600; }
.incl li::before { content: ""; position: absolute; left: 0; top: 1.35em; width: .7rem; height: .7rem; background: var(--navy); transform: rotate(-8deg); }
@media (max-width: 760px) { .incl { grid-template-columns: 1fr; } }

/* ---------- Reveal (fail-safe: content is visible unless JS confirms the observer is active) ---------- */
.reveal-on .reveal { opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .4s ease; }
.reveal-on .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-on .reveal { opacity: 1; transform: none; transition: none; }
  .panel img { transition: none; } .panel:hover img { transform: none; }
}
@media print { .mbar, .road, .site-header .nav-toggle { display: none !important; } .reveal-on .reveal { opacity: 1 !important; transform: none !important; } }

.ledger-wide { max-width: 46rem; }
