/* Style "Lesson": driving schools, language schools, tutoring. Road signage, lane markings and the instructor's handwritten notes.
   Signature: the road from the first lesson to the licence; a learner car drives it as you scroll and every stop lights up.
   Type: Bai Jamjuree (squared, signage-like headings and labels) + Readex Pro (very legible body, made for readers)
   + Caveat as the instructor's handwriting (accent only). Tabular numbers for prices, hours and the timetable. */
:root {
  --paper: #f6f4ee; --white: #ffffff; --ink: #22303c; --ink2: #34434f; --muted: #5d6873; --line: #dcd7c9;
  --green: #1f8a5b; --green2: #176c47; --yellow: #ffcc29; --yellow2: #ffe38a; --road: #2b3641;
  --disp: "Bai Jamjuree", "Arial Narrow", sans-serif; --sans: "Readex Pro", system-ui, sans-serif; --hand: "Caveat", cursive; --hh: 66px;
}
* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16.5px/1.62 var(--sans); -webkit-text-size-adjust: 100%; }
a { color: inherit; }
svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--disp); font-weight: 700; line-height: 1.04; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 14px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
.demo-bar { background: var(--road); color: var(--yellow); text-align: center; font: 600 11.5px/1.4 var(--disp); letter-spacing: .22em; padding: 7px 12px; text-transform: uppercase; }

/* header: white with a yellow edge line, like the side of the road */
header { position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 4px solid var(--yellow); box-shadow: 0 1px 0 var(--line); }
header .wrap { height: var(--hh); display: flex; align-items: center; gap: 14px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo svg { width: 38px; height: 38px; flex: none; }
.logo b { font: 700 24px/1 var(--disp); letter-spacing: .06em; }
.logo small { display: block; font: 500 11px/1 var(--sans); color: var(--muted); margin-top: 3px; letter-spacing: .04em; }
.nav { display: flex; gap: 2px; font: 600 15px var(--disp); }
.nav a { text-decoration: none; padding: 8px 11px; border-radius: 6px; }
.nav a:hover { background: var(--paper); }
.nav a[aria-current="page"] { background: var(--green); color: #fff; box-shadow: inset 0 0 0 2px var(--green), inset 0 0 0 3.5px #fff; }
.menu-btn { display: none; background: var(--white); border: 2px solid var(--ink); color: var(--ink); height: 42px; padding: 0 12px; border-radius: 8px; font: 700 14px var(--disp); cursor: pointer; align-items: center; gap: 8px; }
.menu-btn i { width: 16px; height: 2px; background: currentColor; position: relative; display: block; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; }
.menu-btn i::before { top: -5px; } .menu-btn i::after { top: 5px; }

/* buttons look like signs: rounded plate with a thin white inner border */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; background: var(--yellow); color: var(--ink); padding: 14px 22px; border-radius: 9px; text-decoration: none;
  font: 700 16.5px/1 var(--disp); letter-spacing: .02em; border: 0; cursor: pointer; text-align: center;
  box-shadow: inset 0 0 0 2px var(--ink), 0 3px 0 var(--ink); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 2px var(--ink), 0 4px 0 var(--ink); }
.btn:active { transform: translateY(2px); box-shadow: inset 0 0 0 2px var(--ink), 0 1px 0 var(--ink); }
.btn.green { background: var(--green); color: #fff; box-shadow: inset 0 0 0 3px var(--green), inset 0 0 0 5px #fff, 0 3px 0 var(--green2); }
.btn.white { background: var(--white); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn:focus-visible, .chips button:focus-visible, .field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--green); outline-offset: 2px; }

/* kicker: a kilometre post */
.km { display: inline-flex; align-items: stretch; font: 700 12.5px/1 var(--disp); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; border: 2px solid var(--ink); border-radius: 4px; overflow: hidden; background: var(--white); }
.km b { white-space: nowrap; background: var(--green); color: #fff; padding: 6px 8px; font-variant-numeric: tabular-nums; }
.km span { padding: 6px 10px; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 60ch; }
.hand { font: 600 1.55rem/1.1 var(--hand); color: var(--green2); }
.hl { background: linear-gradient(transparent 55%, var(--yellow2) 55%); padding: 0 .1em; }
.lane { height: 18px; background: var(--road); position: relative; }
.lane::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 3px; background: repeating-linear-gradient(90deg, #fff 0 34px, transparent 34px 60px); }

/* ---------- hero ---------- */
.hero { padding: 56px 0 0; position: relative; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
.hero h1 .sign { display: inline-block; background: var(--green); color: #fff; padding: 0 .22em; border-radius: .14em; box-shadow: inset 0 0 0 .05em var(--green), inset 0 0 0 .09em #fff; }
.hero .promise { font-size: 1.12rem; color: var(--muted); margin: 18px 0 24px; max-width: 48ch; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.facts span { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 14px; }
.facts span b { font-family: var(--disp); font-variant-numeric: tabular-nums; }
.next { background: var(--white); border: 2px solid var(--ink); border-radius: 14px; padding: 22px; position: relative; box-shadow: 0 6px 0 var(--ink); }
.next small { font: 700 12px var(--disp); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.next .when { font: 700 1.9rem/1.1 var(--disp); margin: 8px 0 4px; }
.next .hand { display: block; margin: 10px 0 14px; }
.next ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; font-size: 14.5px; }
.next li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.next li b { font-family: var(--disp); font-variant-numeric: tabular-nums; }
.hero .lane { margin-top: 56px; }

/* ---------- signature: the road to the licence ---------- */
.route { height: 460vh; position: relative; background: #e9eadf; }
.route.still { height: auto; }
.rstage { position: sticky; top: var(--hh); height: calc(100svh - var(--hh)); min-height: 560px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 20px; align-items: center; max-width: 1200px; margin: 0 auto; padding: 18px 24px; }
.route.still .rstage { position: relative; height: auto; }
.map { align-self: stretch; position: relative; min-height: 0; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.route.still .map { min-height: 70vh; }
.map .lab { font: 600 16px var(--disp); fill: var(--muted); transition: fill .3s; }
.map .stop circle { transition: fill .3s, stroke .3s; }
.map .stop text.n { font: 700 13px var(--disp); fill: var(--ink); text-anchor: middle; }
.map .stop.on circle { fill: var(--yellow); }
.map .stop.on .lab { fill: var(--ink); }
.map .car { will-change: transform; }
.rcard { background: var(--white); border: 2px solid var(--ink); border-radius: 16px; padding: 28px; box-shadow: 0 6px 0 var(--ink); }
.rcard .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.rcard .stepn { font: 700 13px var(--disp); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums; }
.rcard .dur { background: var(--yellow); border: 2px solid var(--ink); border-radius: 6px; padding: 3px 10px; font: 700 13.5px var(--disp); white-space: nowrap; }
.rcard h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin-bottom: 10px; }
.rcard p { color: var(--muted); margin: 0 0 10px; min-height: 3.2em; }
.rcard .hand { min-height: 1.2em; }
.rcard > * { transition: opacity .25s; }
.rcard.swap > *:not(.top):not(.dots) { opacity: 0; }
.dots { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 5px; margin-top: 18px; }
.dots i { display: block; height: 6px; border-radius: 3px; background: var(--line); transition: background .3s; }
.dots i.on { background: var(--green); }
.rtitle { position: absolute; left: 24px; top: 18px; }

/* ---------- sections ---------- */
.block { padding: 92px 0; }
.block.tight { padding-top: 0; }
.block.white { background: var(--white); border-block: 1px solid var(--line); }
.block.road { background: var(--road); color: #fff; }
.block.road .lead { color: #b9c3cc; }
.block h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.head2 { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.head2 .lead { margin: 12px 0 0; }

/* course signs (categories) */
.courses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.course { background: var(--white); border: 2px solid var(--ink); border-radius: 14px; padding: 22px; text-decoration: none; display: grid; gap: 10px; align-content: start; transition: transform .2s, box-shadow .2s; box-shadow: 0 4px 0 var(--ink); }
.course:hover { transform: translateY(-3px); box-shadow: 0 7px 0 var(--ink); }
.course .plate { width: 64px; height: 64px; border-radius: 10px; background: var(--green); color: #fff; display: grid; place-items: center; font: 700 2.1rem/1 var(--disp); box-shadow: inset 0 0 0 3px var(--green), inset 0 0 0 5px #fff; }
.course .plate.y { background: var(--yellow); color: var(--ink); box-shadow: inset 0 0 0 3px var(--yellow), inset 0 0 0 5px var(--ink); }
.course .plate.r { border-radius: 50%; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 7px #d6402f; }
.course h3 { font-size: 1.45rem; }
.course p { color: var(--muted); font-size: 15px; margin: 0; }
.course .price { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 4px; font-size: 14px; color: var(--muted); }
.course .price b { font: 700 1.25rem var(--disp); color: var(--ink); font-variant-numeric: tabular-nums; }

/* how it works 1-2-3 */
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: h; }
.how div { border-top: 4px solid var(--yellow); padding-top: 18px; }
.how div::before { counter-increment: h; content: counter(h); display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); font: 700 1.3rem var(--disp); box-shadow: inset 0 0 0 5px #d6402f; margin-bottom: 12px; }
.how h3 { font-size: 1.5rem; margin-bottom: 6px; }
.how p { color: #b9c3cc; margin: 0; }

/* reviews */
.revs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.revs.wall { display: block; columns: 3 280px; column-gap: 16px; }
.revs.wall .rev { break-inside: avoid; margin-bottom: 16px; }
.rev { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 22px; margin: 0; position: relative; }
.rev .stars { color: #e3a500; letter-spacing: 2px; }
.rev blockquote { margin: 8px 0 12px; }
.rev figcaption { font: 700 15px var(--disp); }
.rev figcaption span { font: 400 14px var(--sans); color: var(--muted); }
.rev .pass { position: absolute; right: 16px; top: 16px; font: 600 1.2rem var(--hand); color: var(--green2); transform: rotate(-4deg); }
.score { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.score > b { font: 700 5rem/1 var(--disp); font-variant-numeric: tabular-nums; }
.bars5 { display: grid; gap: 6px; flex: 1; min-width: 220px; max-width: 420px; }
.bars5 div { display: grid; grid-template-columns: 26px minmax(0, 1fr) 36px; gap: 10px; align-items: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.bars5 i { height: 9px; background: var(--white); border: 1px solid var(--line); border-radius: 5px; overflow: hidden; display: block; }
.bars5 i::after { content: ""; display: block; height: 100%; width: var(--w); background: var(--green); }
.passrate { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.passrate div { background: var(--white); border: 2px solid var(--ink); border-radius: 12px; padding: 20px; }
.passrate b { display: block; font: 700 2.8rem/1 var(--disp); color: var(--green); font-variant-numeric: tabular-nums; }
.passrate span { color: var(--muted); font-size: 14.5px; }

/* area */
.area { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 30px; align-items: stretch; }
.towns { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.towns li { background: var(--white); border: 2px solid var(--green); color: var(--green2); border-radius: 6px; padding: 6px 12px; font: 600 15px var(--disp); }
.gmap { border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; min-height: 360px; background: var(--white); }
.gmap iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

.cta { background: var(--green); color: #fff; border-radius: 18px; padding: 40px; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 24px; align-items: center;
  box-shadow: inset 0 0 0 6px var(--green), inset 0 0 0 9px #fff; }
.cta h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.cta p { margin: 10px 0 0; color: #d7efe2; }
.cta .btn.white { box-shadow: inset 0 0 0 2px var(--ink), 0 3px 0 var(--green2); }

/* inner page hero: a direction sign */
.phero { padding: 48px 0 0; background: var(--white); border-bottom: 1px solid var(--line); }
.phero .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 34px; align-items: end; padding-bottom: 44px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--green2); font-weight: 600; text-decoration: none; }
.phero h1 { font-size: clamp(2.1rem, 4.8vw, 3.8rem); max-width: 18ch; }
.phero .lead { margin: 16px 0 22px; }
.dirsign { background: var(--green); color: #fff; border-radius: 12px; padding: 18px 20px; box-shadow: inset 0 0 0 4px var(--green), inset 0 0 0 6px #fff; display: grid; gap: 4px; }
.dirsign div { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 8px 4px; border-bottom: 1px solid rgba(255,255,255,.35); font: 600 1.05rem var(--disp); }
.dirsign div:last-child { border: 0; }
.dirsign b { font-variant-numeric: tabular-nums; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.dirsign svg { width: 18px; height: 18px; }

/* course detail */
.two { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: start; }
.steps { list-style: none; margin: 0 0 30px; padding: 0 0 0 30px; position: relative; display: grid; gap: 18px; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 6px; background: var(--road); border-radius: 3px; }
.steps::after { content: ""; position: absolute; left: 11px; top: 10px; bottom: 10px; width: 2px; background: repeating-linear-gradient(180deg, #fff 0 8px, transparent 8px 16px); }
.steps li { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: -32px; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); font: 700 13px/22px var(--disp); text-align: center; z-index: 1; }
.steps b { font-family: var(--disp); font-size: 1.12rem; display: block; }
.steps span { color: var(--muted); font-size: 15px; }
.price-t { width: 100%; border-collapse: collapse; background: var(--white); border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.price-t th, .price-t td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.price-t th { font: 700 12px var(--disp); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); background: var(--paper); }
.price-t td:last-child, .price-t th:last-child { text-align: right; font-weight: 600; white-space: nowrap; }
.side { position: sticky; top: calc(var(--hh) + 24px); display: grid; gap: 12px; }
.panel { background: var(--white); border: 2px solid var(--ink); border-radius: 14px; padding: 22px; box-shadow: 0 5px 0 var(--ink); }
.panel h3 { font-size: 1.5rem; margin-bottom: 8px; }
.panel p { color: var(--muted); font-size: 15px; }
.side .btn { width: 100%; }
.note { background: var(--yellow2); border-radius: 10px; padding: 14px 18px; font-size: 14.5px; }
.note b { font-family: var(--disp); }
.tip { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; align-items: start; background: var(--white); border: 1px dashed var(--green); border-radius: 12px; padding: 14px 16px; margin: 0 0 26px; }
.tip svg { width: 42px; height: 42px; }
.tip .hand { font-size: 1.45rem; line-height: 1.15; display: block; }
.ph { aspect-ratio: 16 / 9; border-radius: 12px; border: 2px dashed #b9b4a6; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--muted); font-size: 14px;
  background: var(--white) repeating-linear-gradient(135deg, transparent 0 14px, rgba(31,138,91,.06) 14px 28px); }
.ph svg { width: 42px; height: 42px; display: block; margin: 0 auto 8px; color: #b9b4a6; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 18px; font: 600 1.1rem var(--disp); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; border-right: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(45deg); transition: transform .2s; flex: none; margin-top: 2px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 8px; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--muted); }
.more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.more a { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px; text-decoration: none; display: grid; gap: 4px; }
.more a b { font: 700 1.25rem var(--disp); }
.more a span { color: var(--muted); font-size: 14.5px; }
.more a:hover { border-color: var(--green); }

/* course picker */
.picker { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; align-items: start; }
.qs { display: grid; gap: 14px; }
.q { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.q > span { display: flex; align-items: center; gap: 10px; font: 700 1.1rem var(--disp); margin-bottom: 12px; }
.q > span i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--road); color: var(--yellow); font-size: 14px; flex: none; }
.q.off { opacity: .45; pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { font: 500 15px var(--sans); padding: 10px 14px; border: 2px solid var(--ink); background: var(--paper); border-radius: 8px; cursor: pointer; color: var(--ink); }
.chips button[aria-pressed="true"] { background: var(--green); color: #fff; border-color: var(--green); box-shadow: inset 0 0 0 2px #fff; }
.result { position: sticky; top: calc(var(--hh) + 20px); background: var(--road); color: #fff; border-radius: 16px; padding: 26px; display: grid; gap: 14px; }
.result small { font: 700 12px var(--disp); letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); }
.result h3 { font-size: 2rem; }
.result p { color: #c8d0d8; margin: 0; }
.result ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.result li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed #4a5763; padding-bottom: 6px; font-size: 15px; }
.result li b { font-family: var(--disp); font-variant-numeric: tabular-nums; text-align: right; }
.result .total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.result .total b { font: 700 2.3rem/1 var(--disp); color: var(--yellow); font-variant-numeric: tabular-nums; }
.result .hand { color: var(--yellow2); }
.result .fine { font-size: 13px; color: #95a1ad; }
.result.pop { animation: pop .35s ease; }
@keyframes pop { from { transform: scale(.985); } }

/* timetable */
.tt-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; background: var(--c); }
.tt { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.day { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px; min-height: 260px; display: grid; gap: 8px; align-content: start; }
.day h3 { font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 4px 8px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }
.day.today { border: 2px solid var(--green); }
.day.today h3::after { content: "danas"; font: 600 1.1rem/1 var(--hand); color: var(--green2); text-transform: none; letter-spacing: 0; }
.ev { border-left: 5px solid var(--c); background: color-mix(in srgb, var(--c) 14%, white); border-radius: 6px; padding: 8px 10px; font-size: 13.5px; transition: opacity .25s, transform .25s; }
.ev b { display: block; font: 700 14px var(--disp); font-variant-numeric: tabular-nums; }
.ev.dim { opacity: .18; transform: scale(.97); }
.starts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.starts div { background: var(--white); border: 2px solid var(--ink); border-radius: 12px; padding: 18px; border-top: 8px solid var(--c); }
.starts b { display: block; font: 700 1.35rem var(--disp); margin: 4px 0; }
.starts span { color: var(--muted); font-size: 14.5px; }
.starts .hand { font-size: 1.35rem; }

/* about */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.team figure { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.team .ava { aspect-ratio: 1; display: grid; place-items: center; font: 700 3rem var(--disp); color: #c9c4b4; background: var(--paper) repeating-linear-gradient(135deg, transparent 0 14px, rgba(31,138,91,.06) 14px 28px); }
.team figcaption { padding: 14px 16px; }
.team b { display: block; font: 700 1.25rem var(--disp); }
.team span { color: var(--muted); font-size: 14px; }
.team .hand { font-size: 1.25rem; display: block; margin-top: 4px; }
.stats4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stats4 div { border-left: 4px solid var(--yellow); padding: 4px 0 4px 16px; }
.stats4 b { display: block; font: 700 2.8rem/1 var(--disp); font-variant-numeric: tabular-nums; }
.stats4 span { color: var(--muted); font-size: 14.5px; }
.fleet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.fleet div { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.fleet svg { width: 100%; height: 70px; display: block; margin-bottom: 10px; }
.fleet b { font: 700 1.2rem var(--disp); display: block; }
.fleet span { color: var(--muted); font-size: 14.5px; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 30px; align-items: start; }
.contact .info { display: grid; gap: 22px; }
.bigphone { font: 700 clamp(2.2rem, 6vw, 3.2rem)/1 var(--disp); text-decoration: none; color: var(--green2); font-variant-numeric: tabular-nums; }
form.pv { background: var(--white); border: 2px solid var(--ink); border-radius: 16px; padding: 28px; display: grid; gap: 14px; box-shadow: 0 6px 0 var(--ink); }
form.pv h3 { font-size: 1.7rem; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.field { display: grid; gap: 6px; font: 600 14.5px var(--disp); }
.field input, .field select, .field textarea { width: 100%; min-width: 0; padding: 12px 13px; border: 2px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); font: 400 16px var(--sans); }
.field textarea { min-height: 100px; resize: vertical; }
.sent { display: none; background: var(--yellow2); border-radius: 8px; padding: 12px 14px; font-size: 15px; }
.sent.show { display: block; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours td { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours tr.today td { color: var(--green2); font-weight: 600; }

footer { background: var(--road); color: #c3ccd4; padding: 0 0 30px; }
footer .lane { margin-bottom: 52px; background: #1d262e; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; font-size: 15px; }
footer .big { font: 700 clamp(2rem, 5vw, 2.8rem)/1 var(--disp); color: var(--yellow); text-decoration: none; display: block; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
footer h3 { font: 700 12.5px var(--disp); letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
footer a { text-decoration: none; } footer ul a:hover { color: #fff; text-decoration: underline; }
footer .fine { grid-column: 1 / -1; border-top: 1px solid #44515d; padding-top: 16px; font-size: 13px; color: #8f9ba6; margin: 10px 0 0; }
.mbar { display: none; }

@media (max-width: 1080px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: calc(var(--hh) + 4px); background: var(--white); flex-direction: column; padding: 8px 16px 18px; border-bottom: 4px solid var(--yellow); }
  header.open .nav { display: flex; }
  .nav a { padding: 14px 10px; border-bottom: 1px solid var(--line); font-size: 17px; border-radius: 0; }
  .menu-btn { display: inline-flex; }
  .courses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tt { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero .wrap, .phero .wrap, .two, .contact, .area, .picker { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 30px; }
  .hero .lane { margin-top: 40px; }
  .rstage { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 10px; padding: 10px 16px 84px; align-items: stretch; }
  .map .lab { display: none; }
  .rcard { padding: 16px 18px; box-shadow: 0 4px 0 var(--ink); }
  .rcard .top { margin-bottom: 6px; }
  .rcard h2 { font-size: 1.5rem; margin-bottom: 6px; }
  .rcard p { font-size: 14.5px; line-height: 1.45; min-height: 4.3em; margin-bottom: 4px; }
  .rcard .hand { font-size: 1.25rem; }
  .dots { margin-top: 10px; }
  .how, .revs, .passrate, .starts, .more, .fleet { grid-template-columns: minmax(0, 1fr); }
  .team, .stats4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tt { grid-template-columns: minmax(0, 1fr); }
  .day { min-height: 0; }
  .day:not(:has(.ev)) { display: none; }
  .cta { grid-template-columns: minmax(0, 1fr); padding: 28px; }
  .side, .result { position: static; }
  footer .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  footer .wrap > div:first-child { grid-column: 1 / -1; }
  .block { padding: 68px 0; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--white); border-top: 4px solid var(--yellow); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
  .mbar .btn { padding: 13px 8px; font-size: 16px; }
  body { padding-bottom: 74px; }
}
@media (max-width: 560px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  header .hbook { display: none; }
  .logo small { display: none; }
  .courses { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: 2.3rem; }
  .hero .btns .btn { flex: 1 1 0; padding: 14px 10px; }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  form.pv, .panel, .result { padding: 20px; }
  .score > b { font-size: 4rem; }
  .stats4 b { font-size: 2.2rem; }
}
