/* Maximum Effort Driving Tuition: site styles (from the Claude Design canvas, October 2026) */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/big-shoulders-display.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-italic.woff2") format("woff2");
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #15191e;
  --ink-2: #1f252c;
  --ink-3: #262c33;
  --ink-line: #2c333b;
  --on-ink: #c9ced4;
  --on-ink-muted: #b9c0c7;
  --soft: #3b434c;
  --muted: #5b6570;
  --line: #e2e5e9;
  --line-strong: #d5dade;
  --surface: #f4f5f7;
  --white: #ffffff;
  --red: #d7141a;
  --red-dark: #b00f14;
  --red-tint: #fdeced;
  --red-on-ink: #ff4d52;
  --red-soft-on-ink: #ff8a8e;

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Figtree", system-ui, sans-serif;

  --max: 75rem;
  --gutter: 1.5rem;
  --section: clamp(4.5rem, 9vw, 7rem);
  /* Corners: small tiles; buttons and inputs; cards; big cards and photos; banners */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;
  --r-2xl: 32px;
  /* Type scale (page titles use .title-xl / .title-l / .title-m) */
  --fs-sub: clamp(2rem, 4vw, 2.5rem);        /* headings inside a section */
  --fs-card-l: clamp(1.85rem, 3vw, 2.1rem);  /* big card titles */
  --fs-card: 1.7rem;                         /* card titles */
  --fs-stat: 2.75rem;                        /* big numbers on badges */
  --fs-sm: 0.95rem;
  --fs-xs: 0.85rem;
  --fs-caps: 0.8rem;                         /* letter-spaced capitals */
  --header-h: 5rem;
  --bar-h: 0px;
  --lift: 0 18px 40px -18px rgb(21 25 30 / 0.45);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); scrollbar-color: #b9c0c7 var(--surface); }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--white); caret-color: var(--red); padding-bottom: var(--bar-h); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--red-dark); text-underline-offset: 0.2em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); }
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
/* A red outline would vanish on the red banner and bar, so it turns white there */
.cta-banner :focus-visible, .action-bar :focus-visible { outline-color: var(--white); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: #b9c0c7; border: 3px solid var(--surface); border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); text-transform: uppercase; margin: 0; line-height: 0.9; letter-spacing: 0.005em; text-wrap: balance; }
p { margin: 0 0 1em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--red); color: var(--white); padding: 0.6rem 1rem; font-weight: 800; border-radius: var(--r-sm); }
.skip:focus, .skip:hover { top: 1rem; color: var(--white); }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Placeholders waiting on Chris's details: easy to spot before launch */
.todo { background: repeating-linear-gradient(-45deg, #fff3cf 0 10px, #ffe7a3 10px 20px); color: var(--ink); border: 2px dashed #d9a33a; padding: 0.1em 0.45em; border-radius: 6px; font-family: var(--body); font-size: var(--fs-sm); font-weight: 700; text-transform: none; letter-spacing: 0; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); }
.bg-surface { background: var(--surface); }
.bg-ink { background: var(--ink); color: var(--white); }
.bg-ink h2, .bg-ink h3 { color: var(--white); }
.split { display: flex; flex-wrap: wrap; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.split > * { flex: 1 1 26rem; min-width: 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-head p { margin: 0; max-width: 26em; font-size: 1.125rem; color: var(--soft); }
.bg-ink .section-head p { color: var(--on-ink); }
.title-xl { font-size: clamp(3.6rem, 9vw, 6.5rem); font-weight: 900; line-height: 0.86; }
.title-l { font-size: clamp(2.7rem, 6vw, 4.5rem); font-weight: 900; }
.title-m { font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 900; }
.lede { font-size: clamp(1.15rem, 1.8vw, 1.3rem); line-height: 1.55; color: var(--soft); max-width: 32em; }
.bg-ink .lede { color: var(--on-ink); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 3.5rem; padding: 0 1.75rem; border: 1.5px solid transparent; border-radius: var(--r-md); font: inherit; font-weight: 800; font-size: 1.0625rem; line-height: 1.1; text-decoration: none; cursor: pointer; transition: background-color 160ms ease-out, color 160ms ease-out, border-color 160ms ease-out, transform 160ms ease-out; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); color: var(--white); }
.btn-outline { background: var(--white); border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #000; color: var(--white); }
.btn-white { background: var(--white); color: var(--red-dark); }
.btn-white:hover { background: var(--white); color: var(--ink); }
.btn-sm { min-height: 2.9rem; padding: 0 1.25rem; font-size: var(--fs-sm); border-radius: var(--r-sm); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.text-link { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 800; }
.bg-ink .text-link { color: var(--white); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgb(255 255 255 / 0.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.75rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 0.75rem; margin-right: auto; color: var(--ink); text-decoration: none; }
.brand img { width: 3.25rem; height: 3.25rem; border-radius: 50%; }
.brand-name { font-family: var(--display); font-weight: 900; font-size: 1.4rem; line-height: 0.9; text-transform: uppercase; }
.brand-name small { display: block; margin-top: 0.25rem; font-weight: 700; font-size: var(--fs-caps); letter-spacing: 0.16em; color: var(--muted); }
.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; }
.nav a { color: var(--soft); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; padding-bottom: 0.25rem; transition: color 160ms ease-out, box-shadow 160ms ease-out; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--red); }
.header-cta { display: none; }
.menu-btn { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.9rem; padding: 0 1rem; border: 0; border-radius: var(--r-sm); background: var(--ink); color: var(--white); font: inherit; font-weight: 800; font-size: var(--fs-sm); cursor: pointer; }
.menu-btn svg { width: 1.2rem; height: 1.2rem; }
@media (min-width: 40rem) { .header-cta { display: inline-flex; } }
@media (min-width: 76rem) { .nav { display: block; } .menu-btn { display: none; } }

.menu-sheet { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; padding: 1rem var(--gutter) 2rem; background: var(--white); opacity: 0; visibility: hidden; transform: translateY(-0.75rem); transition: opacity 220ms ease-out, transform 220ms ease-out, visibility 0s 220ms; }
.menu-sheet.open { opacity: 1; visibility: visible; transform: none; transition: opacity 220ms ease-out, transform 220ms ease-out; }
.menu-sheet .close { align-self: flex-end; }
.menu-sheet ul { list-style: none; margin: 1.5rem 0 auto; padding: 0; }
.menu-sheet li { border-bottom: 1px solid var(--line); }
.menu-sheet li a { display: block; padding-block: 0.8rem; font-family: var(--display); font-weight: 900; font-size: 2.3rem; line-height: 1; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.menu-sheet li a[aria-current="page"] { color: var(--red); }

/* ---------- Shared spacing (used on every page instead of one-off tweaks) ---------- */
.section-title { margin-bottom: 2.75rem; }
:is(h1, h2) + .lede { margin-top: 1.25rem; }
.lede.lead-in { font-weight: 600; color: var(--ink); }
.soft { color: var(--soft); }
.lede + .soft { margin-top: 1.1rem; }
.note-after { margin-top: 1.75rem; }
.btn-row.after-text { margin-top: 2rem; }
.section.page-top { padding-top: clamp(3.5rem, 7vw, 4.5rem); }
.section.flush-bottom { padding-bottom: 0; }
.footer-about { margin-top: 1.1rem; }

/* ---------- Home hero ---------- */
.hero { background: var(--surface); overflow: hidden; }
.hero-inner { padding-block: clamp(3.5rem, 7vw, 5rem) clamp(4.5rem, 8vw, 6.5rem); }
.pill { display: inline-flex; align-items: center; gap: 0.6rem; margin: 0 0 1.5rem; padding: 0.5rem 1rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 700; font-size: var(--fs-sm); color: var(--soft); }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
/* Sized so "SCARBOROUGH." always fits its column, from small phones to the two-column layout */
.hero h1 { font-size: clamp(2.6rem, 12.5vw, 6.5rem); }
@media (min-width: 60rem) { .hero h1 { font-size: clamp(3rem, 6.2vw, 6.5rem); } }
.hero h1 em { font-style: normal; color: var(--red); }
.hero .lede { margin: 1.75rem 0 0; }
.hero .btn-row { margin-top: 2.25rem; }
.proof { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.avatars { display: flex; flex: none; }
.avatars img { width: 2.75rem; height: 2.75rem; border-radius: 50%; object-fit: cover; border: 3px solid var(--surface); }
.avatars img + img { margin-left: -0.75rem; }
.proof p { margin: 0; font-size: var(--fs-sm); line-height: 1.4; color: var(--soft); }
.proof strong { color: var(--ink); }
.hero-media { position: relative; }
.hero-media > img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 45% 60%; border-radius: var(--r-xl); }
.float-quote { position: absolute; margin: 0; top: -1.6rem; right: -0.9rem; max-width: 16rem; padding: 1.1rem 1.25rem; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--lift); }
.float-quote .icon { width: 1.6rem; height: 1.25rem; color: var(--red); }
.float-quote p { margin: 0.6rem 0 0.5rem; font-weight: 700; line-height: 1.35; }
.float-quote small { color: var(--muted); font-size: var(--fs-xs); }
.float-gauge { position: absolute; left: -1.75rem; bottom: -2.5rem; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.4rem 1rem 1rem; border-radius: var(--r-lg); background: var(--ink); color: var(--white); box-shadow: var(--lift); text-decoration: none; }
.float-gauge:hover { color: var(--white); }
.float-gauge svg { width: 6.5rem; height: auto; }
.float-gauge strong { display: block; font-family: var(--display); font-weight: 900; font-size: var(--fs-stat); line-height: 0.9; }
.float-gauge small { display: block; margin-top: 0.25rem; font-size: var(--fs-xs); color: var(--on-ink-muted); }
.plus { color: var(--red-on-ink); }
@media (max-width: 40rem) {
  .float-quote { position: static; max-width: none; margin-top: 1rem; }
  .float-gauge { left: 1rem; bottom: auto; top: 1rem; }
}
/* One-column tablets: the photo is full width, so the card sits inside it rather than hanging off the edge */
@media (min-width: 40.01rem) and (max-width: 60rem) { .float-gauge { left: 1rem; } }

/* ---------- Trust strip ---------- */
.strip { background: var(--ink); color: var(--white); }
/* 1, 2 or 4 across: never three with one left over */
.strip-inner { display: grid; grid-template-columns: 1fr; gap: 1.75rem; padding-block: 2.25rem; }
.strip-item { display: flex; align-items: center; gap: 1rem; }
@media (min-width: 34rem) { .strip-inner { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 70rem) { .strip-inner { grid-template-columns: repeat(4, 1fr); } }
.strip-item p { margin: 0; font-weight: 800; }
.strip-item small { display: block; font-weight: 500; font-size: var(--fs-xs); color: var(--on-ink-muted); }
.icon-box { flex: none; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: var(--r-md); background: var(--ink-3); color: var(--white); }
.icon-box .icon { width: 1.5rem; height: 1.5rem; }
.icon-box.red { background: var(--red-tint); color: var(--red); }

/* ---------- Feature cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 27rem), 1fr)); gap: 1.25rem; }
.feature { display: flex; flex-direction: column; gap: 0.9rem; padding: clamp(1.75rem, 3vw, 2.25rem); border-radius: var(--r-xl); background: var(--surface); }
.feature h3 { font-size: var(--fs-card-l); font-weight: 800; line-height: 0.95; }
.feature p { margin: 0; color: var(--soft); }
.feature .said { margin-top: 0.5rem; padding-top: 1rem; border-top: 1px solid #dfe3e7; font-style: italic; color: var(--ink); }
.said cite { font-style: normal; font-weight: 800; color: var(--red-dark); }

/* ---------- Gauge (pass counter) ---------- */
.gauge-card { padding: clamp(1.75rem, 4vw, 2.5rem); border-radius: var(--r-xl); background: var(--ink-2); border: 1px solid var(--ink-line); color: var(--white); text-align: center; }
.gauge-label { margin: 0 0 1.1rem; font-size: var(--fs-caps); font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-ink-muted); }
.gauge { width: 100%; max-width: 26rem; margin-inline: auto; overflow: visible; }
.gauge-track { fill: none; stroke: #323a43; stroke-width: 18; stroke-linecap: round; }
.gauge-arc { fill: none; stroke: var(--red); stroke-width: 18; stroke-linecap: round; transition: stroke-dasharray 1.8s cubic-bezier(0.16, 1, 0.3, 1); }
.gauge-ticks line { stroke: #8a939c; stroke-width: 2; stroke-linecap: round; }
.gauge-ticks line.major { stroke: #e2e5e9; stroke-width: 3; }
.gauge-labels text { fill: #8a939c; font-family: var(--body); font-size: 11px; font-weight: 700; text-anchor: middle; }
.gauge-needle { transform-box: view-box; transform-origin: 160px 160px; transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1); }
.gauge-needle line { stroke: var(--white); stroke-width: 5; stroke-linecap: round; }
.gauge-hub { fill: var(--white); }
.gauge-hub-dot { fill: var(--red); }
.gauge-total { margin: 0.6rem 0 0; font-family: var(--display); font-weight: 900; font-size: clamp(5rem, 11vw, 7.5rem); line-height: 0.85; }
.gauge-meta { margin: 0.9rem 0 0; font-size: var(--fs-sm); color: var(--on-ink-muted); }
.gauge.mini .gauge-track, .gauge.mini .gauge-arc { stroke-width: 22; }
.gauge.mini .gauge-needle line { stroke-width: 8; }

/* ---------- Pass section + photo grids ---------- */
.pass-mosaic { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
.pass-mosaic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); }
.pass-feature-copy h2 { margin-bottom: 1.25rem; }
.pass-feature-copy .lede { margin-bottom: 2rem; }
.pass-feature-copy .text-link { margin-top: 1.75rem; }

.pass-board { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 1fr)); gap: 0.75rem; }
.pass { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--line); }
.pass button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.pass img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1); }
.pass:hover img { transform: scale(1.04); }
.pass.is-feature { grid-column: span 2; grid-row: span 2; }
.pass.is-feature img { aspect-ratio: auto; }
.show-all { display: none; margin: 1.5rem auto 0; }
@media (max-width: 39.99rem) {
  .pass-board-all { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4rem; }
  .pass-board-all .pass { border-radius: var(--r-xs); }
  .pass-board-all:not(.expanded) .pass:nth-child(n+16) { display: none; }
  .show-all { display: flex; }
}
.pass-names { max-width: 60em; margin: 2.5rem auto 0; text-align: center; font-size: var(--fs-sm); line-height: 1.8; color: var(--muted); }
.pass-names strong { color: var(--ink); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 70rem); }
.lightbox::backdrop { background: rgb(21 25 30 / 0.9); }
.lightbox img { max-height: 84vh; width: auto; margin-inline: auto; border-radius: var(--r-md); }
.lightbox .lightbox-close { position: absolute; top: 0.75rem; right: 0.75rem; display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.9rem; padding: 0 1rem; border: 0; border-radius: var(--r-sm); background: var(--ink); color: var(--white); font: inherit; font-weight: 800; font-size: var(--fs-sm); cursor: pointer; }
.lightbox .lightbox-close svg { width: 1.2rem; height: 1.2rem; }
.lightbox img { cursor: zoom-out; }
.lightbox .lightbox-nav { position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 3rem; height: 3rem; border: 0; border-radius: 50%; background: var(--ink); color: var(--white); cursor: pointer; }
.lightbox .lightbox-nav[hidden] { display: none; }
.lightbox .lightbox-nav svg { width: 1.3rem; height: 1.3rem; }
.lightbox .lightbox-nav.prev { left: 0.75rem; }
.lightbox .lightbox-nav.prev svg { rotate: 180deg; }
.lightbox .lightbox-nav.next { right: 0.75rem; }

/* ---------- Steps ---------- */
.steps { position: relative; margin-top: clamp(2.5rem, 5vw, 4rem); }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 27px; border-top: 3px dashed var(--line-strong); }
.steps ol { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 2rem; text-align: center; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--ink); color: var(--white); font-family: var(--display); font-weight: 900; font-size: 1.75rem; box-shadow: 0 0 0 8px var(--white); }
.steps li:first-child::before { background: var(--red); }
.steps h3 { margin-top: 1.4rem; font-size: var(--fs-card-l); font-weight: 800; }
.steps p { margin: 0.5rem auto 0; max-width: 18em; color: var(--soft); }
@media (max-width: 58rem) { .steps::before { display: none; } }

/* ---------- Prices ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1.25rem; }
.price-card { display: flex; flex-direction: column; gap: 0.6rem; padding: clamp(1.75rem, 3vw, 2.25rem); border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); }
.price-card.on-white { background: var(--surface); border-color: transparent; }
.price-card h3 { font-size: var(--fs-card-l); font-weight: 800; }
.price-card .for { margin: 0; color: var(--muted); }
.price-card .amount { margin: 1.1rem 0 0.25rem; font-family: var(--display); font-weight: 900; font-size: 4rem; line-height: 1; font-variant-numeric: tabular-nums; }
.price-card .desc { margin: 0 0 1.4rem; color: var(--soft); }
.price-card .btn { margin-top: auto; min-height: 3.1rem; border-radius: var(--r-sm); }
.price-card.is-dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.price-card.is-dark h3 { color: var(--white); }
.price-card.is-dark .for { color: var(--on-ink-muted); }
.price-card.is-dark .desc { color: var(--on-ink); }
.perks { display: flex; flex-wrap: wrap; gap: 0.9rem 2rem; margin-top: 1.75rem; font-weight: 700; font-size: var(--fs-sm); color: var(--soft); }
.perks span { display: inline-flex; align-items: center; gap: 0.5rem; }
.perks .icon { width: 1.1rem; height: 1.1rem; color: var(--red); }
.option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.option-card { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.75rem 2rem; border-radius: var(--r-lg); border: 1px solid var(--line); }
.option-card h3 { font-size: var(--fs-card); font-weight: 800; }
.option-card h3 span { font-family: var(--body); font-size: 1rem; font-weight: 700; text-transform: none; color: var(--muted); }
.option-card p { margin: 0.4rem 0 0; color: var(--soft); }

/* Ink grid of "every lesson comes with" */
.perk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1px; background: var(--ink-line); border: 1px solid var(--ink-line); border-radius: var(--r-xl); overflow: hidden; }
.perk-grid > div { padding: 2rem; background: var(--ink); }
.perk-grid .icon { width: 1.75rem; height: 1.75rem; color: var(--red-on-ink); }
.perk-grid h3 { margin-top: 1.1rem; font-size: var(--fs-card); font-weight: 800; }
.perk-grid p { margin: 0.5rem 0 0; font-size: var(--fs-sm); color: var(--on-ink-muted); }

/* ---------- Reviews ---------- */
.reviews-layout { display: flex; flex-wrap: wrap; gap: 3rem; }
.reviews-layout > :first-child { flex: 1 1 20rem; min-width: 0; }
.reviews-layout > :last-child { flex: 2 1 40rem; min-width: 0; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr)); gap: 1.1rem; }
.review { margin: 0; display: flex; flex-direction: column; gap: 1.1rem; padding: 1.9rem; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white); }
.bg-surface .review { border-color: transparent; }
.review > .icon { width: 1.9rem; height: 1.45rem; color: var(--red); }
.review blockquote { margin: 0; line-height: 1.6; }
.review figcaption { margin-top: auto; font-weight: 800; }
.review figcaption span { font-weight: 500; color: var(--muted); }
.review .tag { font-size: var(--fs-xs); font-weight: 800; color: var(--red-dark); }
.review.is-dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.review.is-dark > .icon { color: var(--red-on-ink); }
.review.is-dark .tag { color: var(--red-soft-on-ink); }
.review.is-dark blockquote { font-family: var(--display); font-weight: 800; font-size: 2.1rem; line-height: 1; text-transform: uppercase; }
.rec-badge { display: inline-flex; align-items: center; gap: 0.6rem; margin: 1.4rem 0 1.1rem; padding: 0.6rem 1rem; border-radius: var(--r-sm); background: var(--red-tint); color: var(--red-dark); font-weight: 800; font-size: var(--fs-sm); }
.rec-badge .icon { width: 1.1rem; height: 1.1rem; }
.review-masonry { columns: 1; column-gap: 1.1rem; }
@media (min-width: 44rem) { .review-masonry { columns: 2; } }
@media (min-width: 72rem) { .review-masonry { columns: 3; } }
.review-masonry .review { break-inside: avoid; margin-bottom: 1.1rem; }

/* ---------- Meet Chris / about ---------- */
.timeline { list-style: none; margin: 2rem 0 0; padding: 0; }
.timeline li { display: flex; gap: 1rem; padding: 0.9rem 0; border-top: 1px solid #dfe3e7; color: var(--soft); }
.timeline li:last-child { border-bottom: 1px solid #dfe3e7; }
.timeline b { flex: none; width: 7rem; color: var(--red-dark); }
.media-badge { position: relative; }
/* About page on phones: the heading and intro come before the (tall) photo */
@media (max-width: 40rem) { .page-hero .split > .media-badge { order: 2; } }
.media-badge .badge { position: absolute; right: -1rem; bottom: 2.25rem; padding: 1.1rem 1.4rem; border-radius: var(--r-lg); background: var(--ink); color: var(--white); box-shadow: var(--lift); }
.media-badge .badge strong { display: block; font-family: var(--display); font-weight: 900; font-size: var(--fs-stat); line-height: 0.9; }
.media-badge .badge small { font-size: var(--fs-xs); color: var(--on-ink-muted); }
@media (max-width: 40rem) { .media-badge .badge { right: 1rem; } }
.story-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1.25rem; }
.story { padding: 1.9rem; border-radius: var(--r-lg); background: var(--surface); }
.story b { color: var(--red-dark); }
.story h3 { margin-top: 0.6rem; font-size: var(--fs-card); font-weight: 800; }
.story p { margin: 0.5rem 0 0; color: var(--soft); }
.story.is-dark { background: var(--ink); color: var(--white); }
.story.is-dark b { color: var(--red-soft-on-ink); }
.story.is-dark h3 { color: var(--white); }
.story.is-dark p { color: var(--on-ink); }
.big-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); gap: 1.75rem; }
.big-quote { margin: 0; padding: 2.5rem; border-radius: var(--r-xl); background: var(--ink-2); border: 1px solid var(--ink-line); }
.big-quote .icon { width: 2.1rem; height: 1.6rem; color: var(--red-on-ink); }
/* Full sentences, so sentence case with room between lines: easier to read than all capitals */
.big-quote blockquote { margin: 1.1rem 0 0; font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1.3; color: var(--white); text-wrap: balance; }
.big-quote figcaption { margin-top: 1.1rem; font-size: var(--fs-sm); color: var(--on-ink-muted); }
.big-quote figcaption strong { color: var(--white); }
.rounded-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 45% 60%; border-radius: var(--r-xl); }

/* ---------- Areas ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; margin: 0; padding: 0; }
.chips li { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1rem; border-radius: 999px; border: 1.5px solid var(--line-strong); font-weight: 700; background: var(--white); }
.chips .icon { width: 1rem; height: 1rem; color: var(--red); }

/* ---------- CTA banner ---------- */
.cta-wrap { padding-bottom: var(--section); }
.cta-banner { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between; padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.75rem, 5vw, 3rem); border-radius: var(--r-2xl); background: var(--red); color: var(--white); }
.cta-banner > div { flex: 1 1 28rem; min-width: 0; }
.cta-banner h2 { font-size: clamp(2.5rem, 7vw, 5.25rem); overflow-wrap: anywhere; font-weight: 900; line-height: 0.88; color: var(--white); }
.cta-banner p { margin: 1rem 0 0; font-size: 1.2rem; color: var(--white); max-width: 30em; }
.cta-banner .btn { min-height: 3.75rem; padding: 0 2rem; font-size: 1.125rem; border-radius: var(--r-md); }

/* ---------- Inner page heroes ---------- */
.page-hero { padding-block: clamp(3.5rem, 7vw, 4.5rem) clamp(4rem, 8vw, 5.5rem); }
.page-hero .lede { margin: 1.5rem 0 0; }
.page-hero .chips { margin-top: 1.75rem; }
.page-hero .chips li { border: 1px solid var(--line); }
.media-caption { position: relative; }
.media-caption span { position: absolute; left: 1.1rem; bottom: 1.1rem; padding: 0.6rem 1rem; border-radius: 999px; background: var(--white); font-weight: 800; font-size: var(--fs-xs); }
.stat-chips { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.stat-chips div { padding: 1.1rem 1.4rem; border-radius: var(--r-lg); background: var(--ink-2); border: 1px solid var(--ink-line); }
.stat-chips strong { display: block; font-family: var(--display); font-weight: 900; font-size: var(--fs-stat); line-height: 1; }
.stat-chips small { font-size: var(--fs-xs); color: var(--on-ink-muted); }
.fb-link { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 3rem; padding: 0 1.25rem; border-radius: var(--r-sm); background: var(--white); border: 1px solid var(--line); color: var(--ink); font-weight: 800; text-decoration: none; }
.fb-link .icon { color: #1877f2; }

/* App / Total Drive banner */
.app-banner { display: flex; flex-wrap: wrap; gap: 1.75rem; align-items: center; justify-content: space-between; padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 3rem); border-radius: var(--r-xl); background: var(--surface); }
.app-banner > div { display: flex; gap: 1.4rem; align-items: center; flex: 1 1 30rem; min-width: 0; }
.app-banner .icon-box { width: 4.5rem; height: 4.5rem; border-radius: var(--r-lg); background: var(--ink); }
.app-banner .icon-box .icon { width: 2rem; height: 2rem; }
.app-banner h2 { font-size: var(--fs-sub); font-weight: 900; }
.app-banner p { margin: 0.5rem 0 0; color: var(--soft); }

/* ---------- FAQ ---------- */
.faq-layout { display: flex; flex-wrap: wrap; gap: 3rem; }
.faq-layout > :first-child { flex: 1 1 18rem; min-width: 0; }
.faq-layout > :last-child { flex: 2 1 36rem; min-width: 0; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.4rem 0; font-weight: 800; font-size: clamp(1.05rem, 2vw, 1.2rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 1.1rem; height: 1.1rem; background: linear-gradient(var(--red), var(--red)) center / 100% 2.5px no-repeat, linear-gradient(var(--red), var(--red)) center / 2.5px 100% no-repeat; transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 1.5rem; color: var(--soft); }
.faq .answer p { max-width: 62ch; }

/* ---------- Learner guide ---------- */
.guide { display: grid; gap: 2.5rem 4rem; align-items: start; }
@media (min-width: 60rem) { .guide { grid-template-columns: 17rem minmax(0, 1fr); } .guide-toc { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.guide-toc { padding: 1.75rem; border-radius: var(--r-lg); background: var(--surface); }
.guide-toc h2 { font-size: 1.5rem; font-weight: 900; }
.guide-toc ol { margin: 1rem 0 1.5rem; padding-left: 1.25rem; display: grid; gap: 0.45rem; font-weight: 700; }
.guide-toc ol a { color: var(--ink); }
.guide-body article { padding-bottom: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.guide-body h2 { font-size: var(--fs-sub); font-weight: 900; margin-bottom: 1rem; }
.guide-body h3 { margin: 1.5rem 0 0.75rem; font-size: var(--fs-card); font-weight: 800; }
.guide-body p { max-width: 66ch; color: var(--soft); }
.facts { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.facts li { padding: 0.85rem 1.2rem; border-radius: var(--r-md); background: var(--surface); color: var(--soft); }
.facts strong { font-family: var(--display); font-size: 1.75rem; font-weight: 900; color: var(--ink); margin-right: 0.15rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: 0.6rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: baseline; color: var(--soft); }
.checklist .icon { width: 1rem; height: 1rem; color: var(--red); transform: translateY(0.15rem); }
.guide-note { color: var(--muted); font-size: var(--fs-sm); }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: var(--fs-sub); font-weight: 900; margin: 2.5rem 0 0.75rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--soft); }

/* ---------- Contact ---------- */
.contact-grid { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-start; margin-top: 3rem; }
.form-card { flex: 999 1 35rem; min-width: 0; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--r-xl); background: var(--white); box-shadow: 0 24px 48px -32px rgb(21 25 30 / 0.35); }
.contact-aside { flex: 1 1 20rem; min-width: 0; padding: 2.25rem; border-radius: var(--r-xl); background: var(--ink); color: var(--white); }
@media (min-width: 60rem) { .contact-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.contact-aside h2 { font-size: var(--fs-sub); font-weight: 900; }
.next-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.1rem; counter-reset: n; }
.next-list li { counter-increment: n; display: flex; align-items: center; gap: 0.9rem; color: #dfe3e7; }
.next-list li::before { content: counter(n); flex: none; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--ink-line); font-weight: 800; color: var(--white); }
.next-list li:first-child::before { background: var(--red); }
.aside-block { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--ink-line); }
.aside-block p { margin: 0.35rem 0 0.9rem; color: var(--on-ink-muted); font-size: var(--fs-sm); }
.aside-block strong { color: var(--white); }
.social { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.social a { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--white); font-weight: 700; }
.form { display: grid; gap: 1.25rem; }
.form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr)); gap: 1.25rem; }
.field label { display: block; margin-bottom: 0.5rem; font-weight: 800; }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field textarea { width: 100%; min-height: 3.4rem; padding: 0 1rem; border: 1.5px solid #c5ccd3; border-radius: var(--r-sm); background: var(--white); font: inherit; font-size: 1.0625rem; color: var(--ink); transition: border-color 160ms ease-out, box-shadow 160ms ease-out; }
.field textarea { min-height: 8.5rem; padding: 0.9rem 1rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #66717c; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgb(21 25 30 / 0.1); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field-short { max-width: 16.25rem; }
.field .hint { margin: 0.5rem 0 0; font-size: var(--fs-xs); line-height: 1.5; color: var(--muted); }
.field .error { margin: 0.4rem 0 0; font-size: var(--fs-sm); font-weight: 700; color: var(--red-dark); }
.field .error:empty { display: none; }
#postcode { text-transform: uppercase; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; }
.form-note { margin: 0; font-size: var(--fs-xs); color: var(--muted); }
.form-status { margin: 0; font-weight: 700; color: var(--soft); }
.form-status:empty { display: none; }
.sent { padding: 1.5rem 0.5rem; text-align: center; outline: none; }
.sent .tick { display: inline-grid; place-items: center; width: 5rem; height: 5rem; border-radius: 50%; background: var(--red-tint); color: var(--red); }
.sent .tick .icon { width: 2.4rem; height: 2.4rem; }
.sent h2 { margin-top: 1.4rem; font-size: clamp(3rem, 6vw, 4rem); font-weight: 900; }
.sent p { margin: 0.9rem auto 0; max-width: 28em; color: var(--soft); }
.area-line { margin: 0; font-size: 1.125rem; line-height: 2; font-weight: 700; color: var(--soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-muted); padding-block: 4rem 2.5rem; font-size: var(--fs-sm); }
.site-footer a { color: var(--white); text-decoration-color: rgb(255 255 255 / 0.35); }
.site-footer a:hover { color: var(--white); text-decoration-color: var(--white); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.75rem), 1fr)); gap: 2.25rem; }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-brand img { width: 3.5rem; height: 3.5rem; border-radius: 50%; }
.footer-brand p { margin: 0; font-family: var(--display); font-weight: 900; font-size: 1.5rem; line-height: 0.9; text-transform: uppercase; color: var(--white); }
.site-footer h2 { margin-bottom: 0.9rem; font-size: 1.25rem; font-weight: 800; color: var(--white); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem; }
/* Bigger tap targets for fingers */
.site-footer li a { display: inline-block; padding-block: 0.3rem; }
.signoff { margin-top: 0.9rem; font-weight: 800; color: var(--red-soft-on-ink); }
.legal { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--ink-line); font-size: var(--fs-xs); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }

/* ---------- Mobile action bar ---------- */
.action-bar { position: fixed; inset: auto 0 0; z-index: 50; display: grid; background: var(--red); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -10px 24px -14px rgb(0 0 0 / 0.45); }
.action-bar a { display: flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 3.9rem; color: var(--white); font-weight: 800; text-decoration: none; }
.action-bar a:hover { color: var(--white); }
.action-bar svg { width: 1.4rem; height: 1.4rem; }
body:has(.action-bar) { --bar-h: calc(3.9rem + env(safe-area-inset-bottom)); }
body:has(#enquiry) .action-bar { display: none; }
body:has(#enquiry) { --bar-h: 0px; }
@media (min-width: 64rem) { .action-bar { display: none; } body:has(.action-bar) { --bar-h: 0px; } }

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