/* =========================================================
   WMST · gowmst.com brand-faithful stylesheet
   Palette and type pulled directly from existing site.
   ========================================================= */

/* -- Tokens (lifted from gowmst.com Elementor kit) ---------- */
:root {
  /* Brand palette, exact hex from the existing site */
  --wmst-blue: #0067B0;        /* primary brand blue (the "M" in WMST, buttons, accent fills) */
  --wmst-blue-deep: #004A82;   /* darker tone for hover/active */
  --wmst-blue-soft: #E6F0F8;   /* tint for subtle backgrounds */
  --wmst-red: #BF2E1A;         /* accent / urgency red */
  --wmst-red-deep: #921F0F;
  --wmst-yellow: #F7D021;      /* number/highlight accent */
  --wmst-black: #000000;       /* utility bar, footer, link default */
  --wmst-text: #54595F;        /* body copy color */
  --wmst-text-soft: #7A7F86;
  --wmst-surface: #F7F7F7;     /* alternating section bg */
  --wmst-white: #FFFFFF;
  --wmst-line: #E2E2E2;        /* subtle dividers */
  --wmst-muted-on-dark: rgba(255,255,255,0.7);
  --wmst-overlay: rgba(0,0,0,0.32);  /* hero scrim, exact value */

  /* System */
  --focus: #4A90E2;
  --success: #2E7D32;

  /* Typography (Roboto body, Sora display, Roboto Slab for pull-quotes) */
  --font-sans: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Sora', 'Roboto', system-ui, -apple-system, sans-serif;
  --font-slab: 'Roboto Slab', 'Roboto', Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Spacing */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-5: 2.5rem;
  --s-6: 3.5rem;
  --s-7: 5rem;
  --s-8: 7.5rem;

  /* Layout */
  --max: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius-sm: 4px;
  --radius: 4px;             /* gowmst.com uses 4px buttons consistently */
  --radius-lg: 6px;

  /* Motion */
  --motion-fast: 150ms;
  --motion-med: 280ms;
  --ease: cubic-bezier(.4, 0, .2, 1);

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 6px 20px rgba(0,0,0,.10);
  --shadow-lg: 0 18px 40px rgba(0,0,0,.18);

  /* Active program tint (overridden via body class) */
  --accent: var(--wmst-blue);
  --accent-deep: var(--wmst-blue-deep);
  --accent-soft: var(--wmst-blue-soft);
}

/* Body class hooks: both programs get blue brand accent (matches gowmst.com).
   Red is used for the motorcycle accent only where called out. */
body.program-moto {
  --accent: var(--wmst-red);
  --accent-deep: var(--wmst-red-deep);
}

/* -- Reset --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--wmst-text);
  background: var(--wmst-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a {
  color: var(--wmst-black);
  text-decoration: none;
  transition: color var(--motion-fast) var(--ease);
}
a:hover { color: var(--wmst-blue); }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { padding-left: 1.25rem; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* -- Typography (Sora display headings, weight 600) --------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-3);
  color: var(--wmst-black);
}
h1 { font-size: clamp(2rem, 4vw + 0.5rem, 3.5rem); line-height: 1.1; }
h2 { font-size: clamp(1.625rem, 2vw + 0.5rem, 2.25rem); }
h3 { font-size: 1.25rem; line-height: 1.3; }   /* matches the inline `h3 { font-size: 20px }` from kit */
h4 { font-size: 1.0625rem; }
p { margin: 0 0 var(--s-3); max-width: 70ch; color: var(--wmst-text); }

.kicker, .eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wmst-blue);
  margin-bottom: 12px;
}

/* -- Utilities ---------------------------------------------- */
.container { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2.5rem, 4vw, 4rem); }
.section--surface { background: var(--wmst-surface); }
.section--blue { background: var(--wmst-blue); color: var(--wmst-white); }
.section--blue h1, .section--blue h2, .section--blue h3 { color: var(--wmst-white); }
.section--blue p { color: rgba(255,255,255,.92); }
.section--black {
  background: linear-gradient(160deg, var(--wmst-blue-deep) 0%, var(--wmst-blue) 100%);
  color: var(--wmst-white);
  border-top: 2px solid var(--wmst-yellow);
  border-bottom: 2px solid var(--wmst-yellow);
}
.section--black h1, .section--black h2, .section--black h3 { color: var(--wmst-white); }
.section--black p { color: rgba(255,255,255,0.85); }
.section--black .kicker { color: var(--wmst-yellow); }
.section--black .stat__num { color: var(--wmst-white); }
.section--black .stat__lbl { color: rgba(255,255,255,0.78); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--wmst-black); color: var(--wmst-white); padding: 12px 16px; z-index: 1000; }
.skip:focus { left: 8px; top: 8px; }

.split { display: grid; gap: var(--s-5); }
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s-6); align-items: center; } }
.grid-3 { display: grid; gap: var(--s-3); grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { display: grid; gap: var(--s-3); grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.grid-2 { display: grid; gap: var(--s-3); grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* -- Buttons (matches gowmst.com: 4px radius, 10px padding, blue→white invert) -- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  border: 2px solid var(--wmst-blue);
  background: var(--wmst-blue);
  color: var(--wmst-white);
  text-transform: none;
  transition: background var(--motion-fast) var(--ease), color var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover {
  background: var(--wmst-white);
  color: var(--wmst-blue);
  border-color: var(--wmst-blue);
}
.btn--sm { padding: 8px 18px; font-size: 0.875rem; }
.btn--lg { padding: 14px 32px; font-size: 1rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }
.btn--red { background: var(--wmst-red); border-color: var(--wmst-red); }
.btn--red:hover { background: var(--wmst-white); color: var(--wmst-red); }
.btn--ghost {
  background: transparent;
  color: var(--wmst-blue);
  border-color: var(--wmst-blue);
}
.btn--ghost:hover { background: var(--wmst-blue); color: var(--wmst-white); }
.btn--ghost-light {
  background: transparent;
  color: var(--wmst-white);
  border-color: var(--wmst-white);
}
.btn--ghost-light:hover { background: var(--wmst-white); color: var(--wmst-blue); }
.btn--black {
  background: var(--wmst-black); border-color: var(--wmst-black); color: var(--wmst-white);
}
.btn--black:hover { background: var(--wmst-white); color: var(--wmst-black); }

/* -- Top utility bar -- */
.utilbar {
  background: var(--wmst-black);
  color: var(--wmst-white);
  font-size: 0.8125rem;
  padding: 0;
}
.utilbar__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: 10px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Phone group */
.utilbar__phones {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.utilbar__phone {
  color: var(--wmst-white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  text-decoration: none;
  padding: 4px 0;
  transition: color var(--motion-fast) var(--ease);
}
.utilbar__phone:hover { color: var(--wmst-yellow); }
.utilbar__phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--wmst-blue);
  color: var(--wmst-white);
  flex-shrink: 0;
  transition: background var(--motion-fast) var(--ease);
}
.utilbar__phone:hover .utilbar__phone-icon { background: var(--wmst-yellow); color: var(--wmst-black); }
.utilbar__phone-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  transition: color var(--motion-fast) var(--ease);
}
.utilbar__phone:hover .utilbar__phone-label { color: rgba(255,255,255,0.85); }
.utilbar__phone-num {
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
}
.utilbar__sep {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.18);
}

/* Social icons */
.utilbar__social {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.utilbar__social li { list-style: none; }
.utilbar__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  color: var(--wmst-white);
  text-decoration: none;
  transition: background var(--motion-fast) var(--ease), color var(--motion-fast) var(--ease), transform var(--motion-fast) var(--ease);
}
.utilbar__social a:hover {
  background: var(--wmst-blue);
  color: var(--wmst-white);
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .utilbar { font-size: 0.75rem; }
  .utilbar__inner {
    padding: 6px var(--gutter);
    justify-content: space-between;
    gap: 8px;
    flex-wrap: nowrap;
  }
  .utilbar__phones { gap: 4px; flex-wrap: nowrap; }
  .utilbar__sep { display: none; }
  .utilbar__phone-label { display: none; }
  .utilbar__phone {
    gap: 6px;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
  }
  .utilbar__phone-icon { width: 20px; height: 20px; }
  .utilbar__phone-icon svg { width: 11px; height: 11px; }
  .utilbar__phone-num { font-size: 0.8125rem; font-weight: 600; }
  .utilbar__social { gap: 6px; }
  .utilbar__social a { width: 24px; height: 24px; }
  .utilbar__social a svg { width: 12px; height: 12px; }
}
@media (max-width: 420px) {
  .utilbar__social { display: none; }
  .utilbar__inner { justify-content: center; }
  .utilbar__phones { gap: 12px; }
}

/* -- Header (white background, blue logo + nav) -- */
.hdr {
  background: var(--wmst-white);
  border-bottom: 2px solid var(--wmst-yellow);
  position: sticky;
  top: 0;
  z-index: 50;
}
.hdr__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: 16px var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  transition: padding var(--motion-med) var(--ease);
}
.hdr__brand {
  display: inline-flex;
  align-items: center;
}
.hdr__brand img {
  height: 56px;
  width: auto;
  display: block;
}
@media (max-width: 1039px) {
  .hdr__inner { padding: 10px var(--gutter); gap: 12px; grid-template-columns: 1fr auto; }
  .hdr__brand img { height: 42px; }
  .hdr__burger { justify-self: end; }
}

.hdr__nav { display: none; justify-self: stretch; }
@media (min-width: 1040px) { .hdr__nav { display: block; } }
.nav-list { list-style: none; padding: 0; margin: 0; display: flex; gap: 4px; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--wmst-black);
  border-radius: var(--radius);
  transition: color var(--motion-fast) var(--ease);
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--wmst-blue); }

.nav-item--mega { position: relative; }
.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--wmst-white);
  border: 1px solid var(--wmst-line);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.13);
  padding: 8px;
  min-width: 300px;
  margin-top: 8px;
  display: none;
}
.mega.is-open { display: block; }
.mega a {
  position: relative;
  display: block;
  padding: 10px 14px 10px 18px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--wmst-black);
  border-radius: 10px;
  transition: background var(--motion-fast) var(--ease), color var(--motion-fast) var(--ease);
}
.mega a::before {
  content: "";
  position: absolute; left: 7px; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 0;
  background: var(--wmst-yellow);
  border-radius: 2px;
  transition: height var(--motion-fast) var(--ease);
}
.mega a:hover { background: var(--wmst-blue-soft); color: var(--wmst-blue-deep); }
.mega a:hover::before { height: 20px; }

.hdr__cta {
  display: none;
  align-items: center;
  gap: 10px;
}
@media (min-width: 1040px) { .hdr__cta { display: flex; } }

.hdr__burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--wmst-surface);
  border: 1px solid var(--wmst-line);
  transition: background var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease);
}
.hdr__burger:hover { background: var(--wmst-blue-soft); border-color: var(--wmst-blue); }
.hdr__burger[aria-expanded="true"] { background: var(--wmst-blue); border-color: var(--wmst-blue); }
@media (min-width: 1040px) { .hdr__burger { display: none; } }
.hdr__burger span { display: block; width: 18px; height: 2px; background: var(--wmst-black); border-radius: 2px; transition: transform var(--motion-fast) var(--ease), opacity var(--motion-fast) var(--ease), background var(--motion-fast) var(--ease); }
.hdr__burger[aria-expanded="true"] span { background: var(--wmst-white); }
.hdr__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hdr__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hdr__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -- Mobile drawer (full-screen overlay below the header) -- */
/* ===== Mobile drawer, rebuilt to match the product design system ===== */
.mobile {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: var(--hdr-bottom, 64px);
  bottom: 0;
  background: var(--wmst-surface);
  z-index: 49;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid var(--wmst-line);
}
.mobile.is-open { display: block; }
.mobile__inner {
  padding: 16px var(--gutter) 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
}
.mobile__eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wmst-text-soft);
  margin: 8px 2px 0;
}
.mobile__inner > .mobile__eyebrow:first-child { margin-top: 0; }

/* Program accordion (auto-themes: moto = red, drive/testing = blue) */
.mgroup {
  --g: var(--wmst-blue);
  --g-soft: var(--wmst-blue-soft);
  background: var(--wmst-white);
  border: 1px solid var(--wmst-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--motion-fast) var(--ease);
}
.mgroup--moto { --g: var(--wmst-red); --g-soft: #FBEAE7; }
.mgroup[open] { box-shadow: var(--shadow-md); }
.mgroup > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
}
.mgroup > summary::-webkit-details-marker { display: none; }
.mgroup__ico {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--g-soft);
  color: var(--g);
  display: grid;
  place-items: center;
  transition: background var(--motion-fast) var(--ease), color var(--motion-fast) var(--ease);
}
.mgroup__ico svg { width: 24px; height: 24px; }
.mgroup[open] .mgroup__ico { background: var(--g); color: #fff; }
.mgroup__txt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.mgroup__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  color: var(--wmst-black);
}
.mgroup__desc { font-size: 0.8125rem; color: var(--wmst-text-soft); line-height: 1.3; }
.mgroup__chev {
  flex-shrink: 0;
  color: var(--wmst-text-soft);
  display: inline-flex;
  transition: transform var(--motion-fast) var(--ease), color var(--motion-fast) var(--ease);
}
.mgroup__chev svg { width: 18px; height: 18px; display: block; }
.mgroup[open] .mgroup__chev { transform: rotate(180deg); color: var(--g); }
.mgroup__panel {
  padding: 0 15px 12px;
  border-top: 1px solid var(--wmst-line);
}
.mgroup__panel a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 2px 12px 16px;
  color: var(--wmst-text);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--wmst-line);
  position: relative;
  transition: color var(--motion-fast) var(--ease);
}
.mgroup__panel a::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--g);
  opacity: 0.4;
  transform: translateY(-50%);
  transition: opacity var(--motion-fast) var(--ease);
}
.mgroup__panel a:hover { color: var(--g); }
.mgroup__panel a:hover::before { opacity: 1; }

/* Program register shortcut inside the panel */
.mgroup__panel a.mgroup__reg {
  margin-top: 12px;
  justify-content: space-between;
  padding: 12px 16px;
  border: 0;
  border-radius: 11px;
  background: var(--g-soft);
  color: var(--g);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
}
.mgroup__panel a.mgroup__reg::before { display: none; }
.mgroup__reg svg { width: 16px; height: 16px; flex-shrink: 0; }
.mgroup__panel a.mgroup__reg:hover { background: var(--g); color: #fff; }

/* Feature link, Help me get licensed */
.mfeature {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  background: var(--wmst-white);
  border: 1px solid var(--wmst-line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: border-color var(--motion-fast) var(--ease);
}
.mfeature:hover { border-color: var(--wmst-blue); }
.mfeature__ico {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--wmst-yellow);
  color: var(--wmst-black);
  display: grid;
  place-items: center;
}
.mfeature__ico svg { width: 23px; height: 23px; }
.mfeature__txt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.mfeature__label { font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; color: var(--wmst-black); }
.mfeature__desc { font-size: 0.8125rem; color: var(--wmst-text-soft); line-height: 1.3; }
.mfeature__go { width: 18px; height: 18px; color: var(--wmst-text-soft); flex-shrink: 0; }

/* Company row, three across */
.mrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mrow a {
  text-align: center;
  padding: 13px 6px;
  background: var(--wmst-white);
  border: 1px solid var(--wmst-line);
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--wmst-black);
  text-decoration: none;
  transition: border-color var(--motion-fast) var(--ease), color var(--motion-fast) var(--ease);
}
.mrow a:hover { border-color: var(--wmst-blue); color: var(--wmst-blue); }

/* Primary register CTA */
.mreg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  padding: 16px 18px;
  background: var(--wmst-yellow);
  color: var(--wmst-black);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9375rem;
  text-decoration: none;
  box-shadow: 0 12px 26px -10px rgba(247,208,33,0.85);
  transition: background var(--motion-fast) var(--ease), transform var(--motion-fast) var(--ease);
}
.mreg svg { width: 18px; height: 18px; }
.mreg:hover { background: #E4B800; transform: translateY(-1px); }

/* Call cards */
.mcalls { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 2px; }
.mcall {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  background: var(--wmst-black);
  color: var(--wmst-white);
  border-radius: 14px;
  text-decoration: none;
  transition: transform var(--motion-fast) var(--ease);
}
.mcall:hover { transform: translateY(-1px); }
.mcall__ico {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.14);
}
.mcall__ico svg { width: 15px; height: 15px; }
.mcall--moto .mcall__ico { background: var(--wmst-red); }
.mcall--drive .mcall__ico { background: var(--wmst-blue); }
.mcall__txt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.mcall__label { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: rgba(255,255,255,0.6); }
.mcall__num { font-size: 0.9375rem; font-weight: 600; }

/* Social row */
.mobile__social {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding-top: 18px;
  margin-top: 8px;
  border-top: 1px solid var(--wmst-line);
}
.mobile__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--wmst-white);
  border: 1px solid var(--wmst-line);
  color: var(--wmst-text);
  text-decoration: none;
  transition: background var(--motion-fast) var(--ease), color var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease), transform var(--motion-fast) var(--ease);
}
.mobile__social a:hover { background: var(--wmst-blue); border-color: var(--wmst-blue); color: var(--wmst-white); transform: translateY(-1px); }

/* -- Hero (full-width image with 32% black scrim, centered white text) -- */
.hero {
  position: relative;
  background-color: var(--wmst-black);
  background-size: cover;
  background-position: center;
  color: var(--wmst-white);
  padding-block: clamp(5rem, 10vw, 9rem);
  text-align: center;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--wmst-overlay);
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.hero__eyebrow {
  font-size: 0.875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wmst-muted-on-dark);
  margin-bottom: 14px;
  font-weight: 500;
}
.hero__title {
  color: var(--wmst-white);
  font-size: clamp(2rem, 4.5vw + 0.5rem, 3.75rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 var(--s-3);
}
.hero__lede {
  color: var(--wmst-muted-on-dark);
  font-size: clamp(1rem, 0.5vw + 0.95rem, 1.125rem);
  max-width: 64ch;
  margin: 0 auto var(--s-4);
}
.hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* -- Dual program split row (sits directly under hero) -- */
.dual {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) { .dual { grid-template-columns: 1fr 1fr; } }
.dual__panel {
  padding: clamp(2.5rem, 4vw, 4rem) var(--gutter);
  text-align: center;
  color: var(--wmst-white);
  background: var(--wmst-blue);
  position: relative;
  overflow: hidden;
}
.dual__panel--moto { background: var(--wmst-blue); }
.dual__panel--drive { background: var(--wmst-blue-deep); }
.dual__panel h2 {
  color: var(--wmst-white);
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2rem);
  margin: 0 0 12px;
}
.dual__panel p {
  color: rgba(255,255,255,.92);
  margin: 0 auto var(--s-3);
  max-width: 38ch;
}
.dual__panel .btn {
  background: var(--wmst-white);
  color: var(--wmst-blue);
  border-color: var(--wmst-white);
}
.dual__panel--drive .btn { color: var(--wmst-blue-deep); }
.dual__panel .btn:hover {
  background: transparent;
  color: var(--wmst-white);
  border-color: var(--wmst-white);
}

/* -- Mission band · WMST blue with yellow accents -- */
.mission {
  position: relative;
  background: linear-gradient(160deg, var(--wmst-blue-deep) 0%, var(--wmst-blue) 65%, var(--wmst-blue-deep) 100%);
  color: var(--wmst-white);
  padding-block: clamp(3rem, 6vw, 5rem);
  border-top: 2px solid var(--wmst-yellow);
  border-bottom: 2px solid var(--wmst-yellow);
  overflow: hidden;
  isolation: isolate;
}
.mission::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(247,208,33,0.16) 0%, transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(0,0,0,0.15) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.mission::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
.mission__inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  text-align: center;
}

.mission__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wmst-yellow);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--wmst-yellow);
}

.mission__statement {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw + 0.5rem, 3.25rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 auto clamp(1rem, 2vw, 1.5rem);
  max-width: 22ch;
  color: var(--wmst-white);
  text-wrap: balance;
}
.mission__em { color: var(--wmst-yellow); }

.mission__sub {
  font-size: clamp(0.9375rem, 0.5vw + 0.85rem, 1.0625rem);
  color: rgba(255,255,255,0.78);
  margin: 0 auto clamp(1.75rem, 3vw, 2.5rem);
  max-width: 60ch;
  line-height: 1.55;
}

.mission__creds {
  list-style: none;
  margin: 0;
  padding: clamp(1.5rem, 3vw, 2rem) 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(1rem, 2vw, 1.75rem);
  border-top: 1px solid rgba(255,255,255,0.18);
}
.mission__cred {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 0 1 auto;
  width: clamp(140px, 16vw, 175px);
}
.mission__cred-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 78px;
  padding: 12px 16px;
  background: var(--wmst-white);
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  transition: transform var(--motion-fast) var(--ease), box-shadow var(--motion-fast) var(--ease);
}
.mission__cred-tile img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.mission__cred:hover .mission__cred-tile {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.mission__cred-tile--years {
  background: var(--wmst-yellow);
  color: var(--wmst-black);
  flex-direction: column;
  gap: 2px;
  padding: 10px;
}
.mission__cred-yrs {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--wmst-black);
}
.mission__cred-yrs-lbl {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wmst-black);
  line-height: 1;
}

.mission__cred-val {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  text-align: center;
  line-height: 1.35;
  max-width: 18ch;
}

@media (max-width: 720px) {
  .mission__creds { gap: 14px 12px; }
  .mission__cred { width: calc(50% - 6px); }
  .mission__cred-tile { height: 64px; padding: 10px 12px; }
  .mission__cred-yrs { font-size: 1.625rem; }
}

/* -- Why Choose Us -- */
.why { background: var(--wmst-white); }
.why__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--s-5);
}
.why__lede {
  font-size: 1rem;
  color: var(--wmst-text);
  max-width: 60ch;
  margin: 8px auto 0;
}

.why__grid {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .why__grid { grid-template-columns: repeat(3, 1fr); } }

.why-card {
  position: relative;
  background: var(--wmst-white);
  border: 1px solid var(--wmst-line);
  border-radius: 8px;
  padding: var(--s-4) var(--s-3);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--motion-fast) var(--ease), box-shadow var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease);
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--wmst-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--motion-med) var(--ease);
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--wmst-blue);
  box-shadow: 0 16px 40px rgba(0,103,176,0.12);
}
.why-card:hover::before { transform: scaleX(1); }

.why-card--featured { border-color: var(--wmst-blue-soft); background: linear-gradient(180deg, #fafbfd 0%, var(--wmst-white) 50%); }
.why-card--featured::before { transform: scaleX(1); background: var(--wmst-blue); }

.why-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.why-card__icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--wmst-blue-soft);
  color: var(--wmst-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--motion-fast) var(--ease), color var(--motion-fast) var(--ease);
}
.why-card:hover .why-card__icon {
  background: var(--wmst-blue);
  color: var(--wmst-white);
}
.why-card__num {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 700;
  color: var(--wmst-yellow);
  line-height: 0.85;
  letter-spacing: -0.03em;
  opacity: 0.9;
}
.why-card__h {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--wmst-black);
}
.why-card__p {
  font-size: 0.9375rem;
  color: var(--wmst-text);
  margin: 0;
  line-height: 1.55;
}
.why-card__chips {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: var(--s-2);
  border-top: 1px solid var(--wmst-line);
}
.why-card__chips li {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--wmst-blue);
  background: var(--wmst-blue-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Trust credentials strip below cards */
.why__cred {
  margin-top: var(--s-5);
  padding: var(--s-3) var(--s-4);
  background: var(--wmst-surface);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}
.why__cred-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wmst-text-soft);
}
.why__cred-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
}
.why__cred-list li {
  font-size: 0.875rem;
  color: var(--wmst-text);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.why__cred-list strong {
  font-size: 1.0625rem;
  color: var(--wmst-blue);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* -- Generic card -- */
.card {
  background: var(--wmst-white);
  border: 1px solid var(--wmst-line);
  border-radius: var(--radius);
  padding: var(--s-3);
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  transition: box-shadow var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease);
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--wmst-blue);
}
.card__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--wmst-blue-soft);
  color: var(--wmst-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.card__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  color: var(--wmst-black);
}
.card__meta {
  font-size: 0.8125rem;
  color: var(--wmst-text-soft);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.card__cta {
  margin-top: auto;
  font-weight: 600;
  color: var(--wmst-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
}
.card__cta::after { content: '→'; transition: transform var(--motion-fast) var(--ease); }
.card:hover .card__cta::after { transform: translateX(4px); }
.card p { font-size: 0.9375rem; }

/* -- Step list (used on About / process pages) -- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--s-3);
}
@media (min-width: 720px) { .steps { grid-template-columns: 1fr 1fr; } }
.steps__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: var(--s-3) 0;
  border-top: 1px solid var(--wmst-line);
}
.steps__num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--wmst-yellow);
  line-height: 1;
}
.steps__h {
  font-weight: 600;
  font-size: 1.0625rem;
  margin: 0 0 4px;
  color: var(--wmst-black);
}
.steps__p { font-size: 0.9375rem; margin: 0; color: var(--wmst-text); }

/* -- Pull quote / testimonials -- */
.quote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.625rem);
  line-height: 1.4;
  font-style: italic;
  color: var(--wmst-black);
  max-width: 42ch;
  margin: 0;
}
.quote__cite {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-style: normal;
  color: var(--wmst-text-soft);
  margin-top: var(--s-2);
}

.testi-grid {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .testi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi {
  background: var(--wmst-white);
  border: 1px solid var(--wmst-line);
  border-radius: var(--radius);
  padding: var(--s-3);
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}
.testi__stars { color: var(--wmst-yellow); letter-spacing: 0.05em; font-size: 0.9375rem; }
.testi__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
  color: var(--wmst-black);
}
.testi__cite { font-size: 0.8125rem; color: var(--wmst-text-soft); margin-top: auto; }
.testi__cite strong { display: block; color: var(--wmst-black); font-weight: 600; }

/* -- FAQ -- */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--wmst-line); }
.faq__item { border-bottom: 1px solid var(--wmst-line); }
.faq__q {
  width: 100%;
  text-align: left;
  padding: var(--s-3) 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  font-weight: 600;
  font-size: 1.0625rem;
  cursor: pointer;
  color: var(--wmst-black);
}
.faq__q::after {
  content: '+';
  font-weight: 400;
  color: var(--wmst-blue);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform var(--motion-fast) var(--ease);
}
.faq__item[open] .faq__q::after { content: '–'; }
.faq__a { padding: 0 0 var(--s-3); color: var(--wmst-text); max-width: 64ch; }

/* -- Location card (custom, branded map header, no live embed) -- */
.loc-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--wmst-line);
  border-radius: 16px;
  background: var(--wmst-white);
  overflow: hidden;
  height: 100%;
  transition: border-color var(--motion-fast) var(--ease), box-shadow var(--motion-fast) var(--ease), transform var(--motion-fast) var(--ease);
}
.loc-card:hover {
  border-color: var(--wmst-blue);
  box-shadow: 0 18px 44px rgba(0,103,176,0.14);
  transform: translateY(-4px);
}

/* Stylized map header (CSS-drawn street grid + roads + pin) */
.loc-card__map {
  position: relative;
  height: 150px;
  overflow: hidden;
  border-bottom: 1px solid var(--wmst-line);
  background:
    repeating-linear-gradient(0deg, rgba(0,103,176,.055) 0 1px, transparent 1px 27px),
    repeating-linear-gradient(90deg, rgba(0,103,176,.055) 0 1px, transparent 1px 27px),
    linear-gradient(135deg, #E9F1F9 0%, #F4F8FC 100%);
}
.loc-card__map::before {
  content: ""; position: absolute; inset: -12%;
  background:
    linear-gradient(var(--road-a, 118deg), transparent calc(50% - 6px), rgba(0,103,176,.16) calc(50% - 6px), rgba(0,103,176,.16) calc(50% + 6px), transparent calc(50% + 6px)),
    linear-gradient(var(--road-b, 32deg), transparent calc(42% - 3px), rgba(247,208,33,.40) calc(42% - 3px), rgba(247,208,33,.40) calc(42% + 3px), transparent calc(42% + 3px));
}
.loc-card__map::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(130% 95% at 50% 28%, transparent 58%, rgba(0,74,130,.07) 100%);
}
.loc-card__pin {
  position: absolute; left: 50%; top: 48%; transform: translate(-50%, -60%); z-index: 2;
  color: var(--wmst-red);
  filter: drop-shadow(0 8px 9px rgba(0,0,0,.22));
  transition: transform var(--motion-med) var(--ease);
}
.loc-card__pin svg { display: block; }
.loc-card:hover .loc-card__pin { transform: translate(-50%, -70%); }
.loc-card__ring {
  position: absolute; left: 50%; top: 48%; transform: translate(-50%, 2px); z-index: 1;
  width: 30px; height: 11px; border-radius: 50%;
  background: rgba(191,46,26,.22); filter: blur(.5px);
}

.loc-card__body {
  flex: 1;
  display: flex; flex-direction: column; gap: 10px;
  padding: 20px 22px 22px;
}
.loc-card__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.loc-card__tag {
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 5px;
}
.loc-card__tag--drive { background: var(--wmst-blue-soft); color: var(--wmst-blue-deep); }
.loc-card__tag--moto { background: #FBE4E0; color: var(--wmst-red-deep); }
.loc-card__name {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.12rem; margin: 0; color: var(--wmst-black); line-height: 1.25;
}
.loc-card__addr {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.875rem; color: var(--wmst-text); font-style: normal; line-height: 1.45;
}
.loc-card__addr svg { color: var(--wmst-blue); flex: none; margin-top: 2px; }
.loc-card__note { font-size: 0.8125rem; color: var(--wmst-text-soft); margin: 0; }
.loc-card__actions {
  margin-top: auto; padding-top: 14px;
  display: flex; align-items: center; gap: 16px;
  border-top: 1px solid var(--wmst-line);
}
.loc-card__btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--wmst-blue); color: var(--wmst-white);
  font-weight: 600; font-size: 0.875rem;
  padding: 9px 16px; border-radius: 999px;
  transition: background var(--motion-fast) var(--ease);
}
.loc-card__btn:hover { background: var(--wmst-blue-deep); color: var(--wmst-white); }
.loc-card__btn svg { transition: transform var(--motion-fast) var(--ease); }
.loc-card__btn:hover svg { transform: translateX(3px); }
.loc-card__maplink { font-size: 0.875rem; font-weight: 600; color: var(--wmst-blue); }
.loc-card__maplink:hover { color: var(--wmst-blue-deep); text-decoration: underline; }

/* -- Page hero (interior pages) - clean white version -- */
.phero {
  padding-block: clamp(2.5rem, 4vw, 4rem) clamp(2rem, 3vw, 3rem);
  background: var(--wmst-surface);
  border-bottom: 1px solid var(--wmst-line);
}
.phero__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  gap: var(--s-3);
}
@media (min-width: 880px) { .phero__inner { grid-template-columns: 1fr auto; align-items: end; } }
.phero__title { font-size: clamp(1.875rem, 3vw + 0.5rem, 3rem); margin: 0 0 8px; color: var(--wmst-black); }
.phero__lede { font-size: 1rem; color: var(--wmst-text); max-width: 64ch; margin: 0; }
.phero__aside { display: flex; gap: 10px; flex-wrap: wrap; align-self: end; }

.crumbs {
  font-size: 0.8125rem;
  color: var(--wmst-text-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.crumbs a { color: var(--wmst-text-soft); }
.crumbs a:hover { color: var(--wmst-blue); }
.crumbs span { color: var(--wmst-line); }

/* -- Form fields -- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--s-2); }
.field label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--wmst-text);
}
.field input, .field textarea, .field select {
  border: 1px solid var(--wmst-line);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: var(--wmst-white);
  font-size: 1rem;
  color: var(--wmst-black);
  transition: border-color var(--motion-fast) var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--wmst-blue);
  box-shadow: 0 0 0 3px rgba(0,103,176,.18);
}
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
@media (max-width: 600px) { .field--row { grid-template-columns: 1fr; } }

/* ========================================================
   FINAL CTA, universal pre-footer block
   ======================================================== */
.final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  text-align: center;
  color: var(--wmst-white);
  border-top: 2px solid var(--wmst-yellow);
}
.final-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(160deg, var(--wmst-blue-deep) 0%, var(--wmst-blue) 65%, var(--wmst-blue-deep) 100%);
}
.final-cta__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(247,208,33,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(255,255,255,0.08) 0%, transparent 55%);
}
.final-cta__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 28px 28px;
}
.final-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.final-cta__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wmst-yellow);
  margin-bottom: clamp(0.875rem, 1.5vw, 1.25rem);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--wmst-yellow);
}
.final-cta__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw + 0.5rem, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 clamp(0.875rem, 1.5vw, 1.25rem);
  color: var(--wmst-white);
  text-wrap: balance;
}
.final-cta__lede {
  font-size: clamp(1rem, 0.5vw + 0.875rem, 1.125rem);
  color: rgba(255,255,255,0.85);
  max-width: 60ch;
  margin: 0 auto clamp(1.5rem, 3vw, 2rem);
  line-height: 1.55;
}
.final-cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: clamp(2.25rem, 4vw, 3rem);
}
.final-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background var(--motion-fast) var(--ease), color var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease), gap var(--motion-fast) var(--ease), transform var(--motion-fast) var(--ease);
}
.final-cta__btn--primary {
  background: var(--wmst-yellow);
  color: var(--wmst-black);
  border: 2px solid var(--wmst-yellow);
}
.final-cta__btn--primary:hover {
  background: var(--wmst-white);
  border-color: var(--wmst-white);
  color: var(--wmst-blue-deep);
  gap: 14px;
  transform: translateY(-1px);
}
.final-cta__btn--secondary {
  background: transparent;
  color: var(--wmst-white);
  border: 2px solid rgba(255,255,255,0.4);
}
.final-cta__btn--secondary:hover {
  border-color: var(--wmst-yellow);
  color: var(--wmst-yellow);
  transform: translateY(-1px);
}

.final-cta__quote {
  position: relative;
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid rgba(255,255,255,0.18);
}
.final-cta__quote-mark {
  position: absolute;
  left: 50%;
  top: -22px;
  transform: translateX(-50%);
  background: linear-gradient(160deg, var(--wmst-blue-deep) 0%, var(--wmst-blue) 100%);
  padding: 0 14px;
  font-family: var(--font-display);
  font-size: 3.25rem;
  line-height: 1;
  color: var(--wmst-yellow);
  font-weight: 700;
  user-select: none;
}
.final-cta__quote-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.0625rem, 1vw + 0.6rem, 1.25rem);
  color: rgba(255,255,255,0.92);
  margin: 0 auto 8px;
  max-width: 50ch;
  line-height: 1.5;
  text-wrap: balance;
}
.final-cta__quote-cite {
  display: block;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* Backwards compat: legacy .cta-band class still produces a reasonable look */
.cta-band {
  background: var(--wmst-blue);
  color: var(--wmst-white);
  padding: clamp(2.5rem, 4vw, 4rem) 0;
  text-align: center;
}
.cta-band h2 { color: var(--wmst-white); margin: 0 0 12px; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 50ch; margin: 0 auto var(--s-3); }

/* ========================================================
   FOOTER · WMST blue, yellow accents, 4-col
   ======================================================== */
.ftr {
  position: relative;
  background: linear-gradient(180deg, var(--wmst-blue-deep) 0%, #00355C 100%);
  color: rgba(255,255,255,0.78);
  padding: clamp(3rem, 5vw, 4rem) 0 0;
  isolation: isolate;
}
.ftr::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
.ftr__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: 1fr;
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
}
@media (min-width: 720px) { .ftr__inner { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1040px) { .ftr__inner { grid-template-columns: 1.6fr repeat(3, 1fr); } }

/* Brand block */
.ftr__brand { display: flex; flex-direction: column; gap: 16px; }
.ftr__logo { display: inline-flex; }
.ftr__logo img { height: 60px; width: auto; display: block; }
.ftr__tagline {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.78);
  max-width: 36ch;
  margin: 0;
  line-height: 1.55;
}
.ftr__addr {
  font-size: 0.875rem;
  line-height: 1.65;
  font-style: normal;
  color: rgba(255,255,255,0.78);
}
.ftr__addr-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wmst-yellow);
  margin-bottom: 4px;
}
.ftr__hours {
  display: block;
  margin-top: 4px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.65);
}
.ftr__social {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  gap: 8px;
}
.ftr__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--wmst-white);
  text-decoration: none;
  transition: background var(--motion-fast) var(--ease), color var(--motion-fast) var(--ease), transform var(--motion-fast) var(--ease);
}
.ftr__social a:hover {
  background: var(--wmst-yellow);
  color: var(--wmst-blue-deep);
  transform: translateY(-1px);
}

/* Link columns */
.ftr__col { display: flex; flex-direction: column; gap: 10px; }
.ftr__title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wmst-yellow);
  margin: 0 0 6px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--wmst-yellow);
  display: inline-block;
  align-self: flex-start;
}
.ftr__col a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  transition: color var(--motion-fast) var(--ease), padding-left var(--motion-fast) var(--ease);
}
.ftr__col a:hover { color: var(--wmst-white); padding-left: 4px; }
.ftr__phone {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem !important;
  color: var(--wmst-yellow) !important;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.12);
  align-self: flex-start;
  letter-spacing: -0.005em;
}
.ftr__phone:hover { color: var(--wmst-white) !important; padding-left: 0 !important; }
.ftr__phone svg { color: currentColor; flex-shrink: 0; }

/* Bottom strip */
.ftr__base {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-block: 18px;
  background: rgba(0,0,0,0.18);
}
.ftr__base-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
}
.ftr__base small { color: rgba(255,255,255,0.6); font-size: 0.8125rem; line-height: 1.5; }
.ftr__legal { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.ftr__legal a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--motion-fast) var(--ease);
}
.ftr__legal a:hover { color: var(--wmst-yellow); }

/* -- Reveal-on-scroll -- */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* -- Misc helpers -- */
.muted { color: var(--wmst-text-soft); }
.lede { font-size: 1.0625rem; line-height: 1.6; color: var(--wmst-text); max-width: 64ch; }
.divider { height: 1px; background: var(--wmst-line); border: 0; margin: var(--s-5) 0; }

.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  background: var(--wmst-surface);
  border: 1px solid var(--wmst-line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.875rem;
  color: var(--wmst-text);
}
.price-tag strong { font-weight: 700; color: var(--wmst-blue); font-size: 1.0625rem; }

.note {
  background: var(--wmst-blue-soft);
  border: 1px solid #cfe0f0;
  padding: var(--s-3);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  margin: var(--s-3) 0;
  color: var(--wmst-text);
}
.note strong { color: var(--wmst-black); font-weight: 600; }

.ptable {
  border: 1px solid var(--wmst-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.ptable__row {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 14px 18px;
  border-bottom: 1px solid var(--wmst-line);
  align-items: baseline;
  gap: var(--s-3);
}
.ptable__row:last-child { border-bottom: 0; }
.ptable__row strong { font-weight: 600; color: var(--wmst-black); }
.ptable__price { font-weight: 700; color: var(--wmst-blue); white-space: nowrap; font-size: 1.0625rem; }

.duo { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 880px) { .duo { grid-template-columns: 1fr 1fr; gap: var(--s-6); } }

.stat-row {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat { border-top: 2px solid var(--wmst-yellow); padding-top: var(--s-2); }
.stat__num { font-size: 2.25rem; font-weight: 700; color: var(--wmst-blue); line-height: 1; }
.stat__lbl { font-size: 0.8125rem; color: var(--wmst-text); }

/* -- Sponsor strip -- */
.sponsors-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  padding: var(--s-4) 0;
}
.sponsors-strip img {
  height: 56px;
  width: auto;
  opacity: 0.7;
  transition: opacity var(--motion-fast) var(--ease);
  filter: grayscale(20%);
}
.sponsors-strip img:hover { opacity: 1; filter: none; }

/* -- Trust strip (used on Drive & Motorcycle hub pages) -- */
.trust {
  background: var(--wmst-blue);
  color: var(--wmst-white);
  padding: var(--s-4) 0;
}
.trust__row {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  gap: var(--s-3);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) { .trust__row { grid-template-columns: repeat(4, 1fr); } }
.trust__item {
  display: flex; flex-direction: column; gap: 4px;
  border-left: 1px solid rgba(255,255,255,.18);
  padding-left: var(--s-3);
}
.trust__item:first-child { border-left: 0; padding-left: 0; }
.trust__num {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--wmst-yellow);
}
.trust__label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,.85);
  line-height: 1.4;
}

/* ========================================================
   HERO SLIDER (rotates through 3 services)
   ======================================================== */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--wmst-black);
  isolation: isolate;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 550ms var(--ease), transform 7000ms linear;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.55) 70%, rgba(0,0,0,.7) 100%),
    rgba(0,0,0,0.32);
}
.hero-slider__track {
  position: relative;
  height: clamp(560px, 70vh, 720px);
}
.hero-slider__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 2;
}
.hero-slider__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  width: 100%;
}
.hero-slide__copy {
  max-width: 720px;
  color: var(--wmst-white);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 350ms var(--ease) 100ms, transform 350ms var(--ease) 100ms;
}
.hero-slide.is-active .hero-slide__copy {
  opacity: 1;
  transform: translateY(0);
}
.hero-slide__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wmst-blue);
  color: var(--wmst-white);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-slide__tag--moto { background: var(--wmst-blue); }
.hero-slide__tag--drive { background: var(--wmst-blue-deep); }
.hero-slide__tag--testing { background: var(--wmst-red); }
.hero-slide__title {
  color: var(--wmst-white);
  font-size: clamp(2.25rem, 5vw + 0.5rem, 4.25rem);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.hero-slide__lede {
  color: rgba(255,255,255,.92);
  font-size: clamp(1rem, 0.6vw + 0.95rem, 1.25rem);
  max-width: 56ch;
  margin: 0 0 26px;
  line-height: 1.55;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.hero-slide__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Slider controls */
.hero-slider__nav {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  align-items: center;
  z-index: 3;
}
.hero-slider__dot {
  width: 36px;
  height: 4px;
  background: rgba(255,255,255,.35);
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  transition: background var(--motion-fast) var(--ease), width var(--motion-med) var(--ease);
  position: relative;
  overflow: hidden;
}
.hero-slider__dot.is-active {
  background: rgba(255,255,255,.25);
  width: 60px;
}
.hero-slider__dot.is-active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--wmst-yellow);
  width: 100%;
  transform-origin: left;
  animation: dot-progress 7s linear forwards;
}
@keyframes dot-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--wmst-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background var(--motion-fast) var(--ease);
}
.hero-slider__arrow:hover { background: rgba(255,255,255,.25); }
.hero-slider__arrow--prev { left: clamp(12px, 3vw, 32px); }
.hero-slider__arrow--next { right: clamp(12px, 3vw, 32px); }
@media (max-width: 720px) {
  .hero-slider__arrow { display: none; }
  .hero-slider__nav { bottom: 18px; }
}

/* ========================================================
   FOUR-PANEL PROGRAM TILES · WMST house style
   ======================================================== */
.tri {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--wmst-black);
}
@media (min-width: 720px) and (max-width: 1079px) { .tri { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .tri { grid-template-columns: repeat(4, 1fr); } }

.tri__panel {
  position: relative;
  padding: clamp(3rem, 5vw, 4.5rem) var(--gutter);
  text-align: center;
  color: var(--wmst-white);
  text-decoration: none;
  display: block;
  overflow: hidden;
  transition: transform var(--motion-fast) var(--ease);
  isolation: isolate;
  min-height: 380px;
  background-size: cover;
  background-position: center;
}
.tri__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: opacity var(--motion-med) var(--ease);
}
.tri__panel--moto::before {
  background: linear-gradient(160deg, rgba(0,103,176,0.92) 0%, rgba(0,103,176,0.78) 100%);
}
.tri__panel--motest::before {
  background: linear-gradient(160deg, rgba(15,22,38,0.92) 0%, rgba(33,49,82,0.85) 100%);
}
.tri__panel--drive::before {
  background: linear-gradient(160deg, rgba(0,74,130,0.92) 0%, rgba(0,103,176,0.78) 100%);
}
.tri__panel--testing::before {
  background: linear-gradient(160deg, rgba(191,46,26,0.90) 0%, rgba(146,31,15,0.78) 100%);
}
.tri__panel:hover::before { opacity: 0.85; }
.tri__panel:hover { transform: translateY(-2px); }
.tri__panel > * { position: relative; z-index: 1; }

.tri__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wmst-white);
  transition: background var(--motion-fast) var(--ease), transform var(--motion-fast) var(--ease);
}
.tri__panel:hover .tri__icon { background: rgba(255,255,255,0.22); transform: scale(1.06); }

.tri__panel h3 {
  color: var(--wmst-white);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.5vw + 0.75rem, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  text-wrap: balance;
}
.tri__panel p {
  color: rgba(255,255,255,.92);
  margin: 0 auto 24px;
  max-width: 32ch;
  font-size: 0.9375rem;
  line-height: 1.55;
}
.tri__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wmst-white);
  border-bottom: 2px solid rgba(255,255,255,.45);
  padding-bottom: 4px;
  transition: gap var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease), color var(--motion-fast) var(--ease);
}
.tri__panel:hover .tri__cta {
  gap: 14px;
  color: var(--wmst-yellow);
  border-bottom-color: var(--wmst-yellow);
}

.tri__featured {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--wmst-yellow);
  color: var(--wmst-black);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
}

/* ========================================================
   POLISHED HEADER / NAV
   ======================================================== */
.hdr {
  background: var(--wmst-white);
  border-bottom: 2px solid var(--wmst-yellow);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow var(--motion-med) var(--ease);
}
.hdr.is-scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.08); }

.hdr__cta .btn {
  background: var(--wmst-yellow);
  color: var(--wmst-black);
  border-color: var(--wmst-yellow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8125rem;
  padding: 10px 20px;
}
.hdr__cta .btn:hover {
  background: var(--wmst-black);
  color: var(--wmst-white);
  border-color: var(--wmst-black);
}

.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--wmst-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--motion-fast) var(--ease);
}
.nav-link:hover::after, .nav-link[aria-expanded="true"]::after { transform: scaleX(1); }

/* (utility bar styles consolidated above) */

/* ========================================================
   SECTION POLISH
   ======================================================== */
/* Why-us numbers, bigger, more impact */
.why__num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: var(--wmst-yellow);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
  display: inline-block;
  position: relative;
}
.why__num::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: var(--wmst-blue);
  margin-top: 6px;
}

/* Card icon polish */
.card__icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--wmst-blue-soft) 0%, #d6e6f3 100%);
  color: var(--wmst-blue);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.card { transition: transform var(--motion-fast) var(--ease), box-shadow var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--wmst-blue); }

/* Tagline band - more visual texture */
.tagline-band {
  background:
    linear-gradient(180deg, var(--wmst-surface) 0%, var(--wmst-white) 100%);
  border-top: 4px solid var(--wmst-yellow);
  border-bottom: 1px solid var(--wmst-line);
  position: relative;
}
.tagline-band__lead {
  position: relative;
  display: inline-block;
  padding: 0 var(--s-3);
}
.tagline-band__lead::before, .tagline-band__lead::after {
  content: '"';
  font-size: 3rem;
  color: var(--wmst-blue);
  font-family: var(--font-display);
  vertical-align: -0.5em;
  opacity: 0.4;
}
.tagline-band__lead::before { margin-right: 8px; content: '\201C'; }
.tagline-band__lead::after { margin-left: 8px; content: '\201D'; }

/* ========================================================
   PROOF section, founder-led, photography-forward.
   Replaces generic 3-card "why" template.
   ======================================================== */
.proof {
  position: relative;
  background: var(--wmst-white);
  padding-block: clamp(4rem, 7vw, 7rem);
  overflow: hidden;
}
.proof::before {
  content: '';
  position: absolute;
  top: 0;
  left: -10%;
  width: 60%;
  height: 70%;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(0,103,176,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.proof__layout {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 960px) {
  .proof__layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(3rem, 6vw, 5rem);
  }
}

/* Photo with caption overlay */
.proof__photo {
  position: relative;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--wmst-surface);
  aspect-ratio: 4/5;
  max-width: 540px;
  width: 100%;
  isolation: isolate;
  box-shadow: 0 24px 60px -20px rgba(0,103,176,0.25);
}
.proof__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.65) 100%);
  z-index: 1;
  pointer-events: none;
}
.proof__photo::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 18px;
  width: 56px;
  height: 4px;
  background: var(--wmst-yellow);
  z-index: 2;
}
.proof__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.proof__photo-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 2;
  color: var(--wmst-white);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.proof__photo-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}
.proof__photo-role {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}

/* Story column */
.proof__story {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.proof__h {
  font-size: clamp(1.625rem, 1.6vw + 0.85rem, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  color: var(--wmst-black);
  text-wrap: balance;
}
.proof__h-accent {
  color: var(--wmst-blue);
  position: relative;
  display: inline-block;
}
.proof__h-accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7px;
  background: var(--wmst-yellow);
  opacity: 0.5;
  z-index: -1;
  border-radius: 2px;
}
.proof__p {
  margin: 0;
  font-size: 1rem;
  color: var(--wmst-text);
  max-width: 56ch;
  line-height: 1.65;
}

/* Credential proof list */
.proof__creds {
  list-style: none;
  margin: var(--s-2) 0 0;
  padding: var(--s-3) 0;
  border-top: 1px solid var(--wmst-line);
  border-bottom: 1px solid var(--wmst-line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px var(--s-3);
}
@media (min-width: 720px) { .proof__creds { grid-template-columns: repeat(4, 1fr); } }
.proof__creds li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.8125rem;
  color: var(--wmst-text);
  line-height: 1.3;
}
.proof__creds span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--wmst-blue);
  letter-spacing: 0.02em;
}

.proof__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* Founder belief, editorial pull-quote (WMST blue + yellow) */
.proof__belief {
  position: relative;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem) clamp(2rem, 4vw, 3rem);
  background: linear-gradient(160deg, var(--wmst-blue-deep) 0%, var(--wmst-blue) 100%);
  color: var(--wmst-white);
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--wmst-yellow);
  box-shadow: 0 18px 48px rgba(0, 74, 130, 0.22);
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
}
@media (min-width: 880px) {
  .proof__belief {
    grid-template-columns: 1.12fr 0.88fr;
    align-items: center;
    column-gap: clamp(2.5rem, 5vw, 5rem);
  }
  /* vertical divider between the two columns */
  .proof__belief-aside {
    border-left: 1px solid rgba(255,255,255,0.14);
    padding-left: clamp(2.5rem, 5vw, 5rem);
    margin-left: calc(-1 * clamp(2.5rem, 5vw, 5rem));
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
.proof__belief-aside { display: flex; flex-direction: column; gap: clamp(1.25rem, 2.5vw, 1.75rem); }
.proof__belief::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(247,208,33,0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(255,255,255,0.06) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.proof__belief > * { position: relative; z-index: 1; }

.proof__belief-mark {
  position: absolute;
  top: -18px;
  left: clamp(1rem, 4vw, 3rem);
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(7rem, 12vw, 11rem);
  line-height: 1;
  color: var(--wmst-yellow);
  font-weight: 700;
  pointer-events: none;
  letter-spacing: -0.05em;
  user-select: none;
}

.proof__belief-eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wmst-yellow);
  margin-bottom: clamp(0.875rem, 2vw, 1.5rem);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--wmst-yellow);
}

.proof__belief-quote {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 3vw + 0.5rem, 2.625rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--wmst-white);
  margin: 0;
  max-width: 22ch;
  text-wrap: balance;
}
.proof__belief-em {
  color: var(--wmst-yellow);
  font-style: italic;
}

.proof__belief-body {
  font-size: clamp(0.9375rem, 0.5vw + 0.85rem, 1.0625rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  max-width: 46ch;
  margin: 0;
}

.proof__belief-cite {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: clamp(0.875rem, 2vw, 1.25rem);
  border-top: 1px solid rgba(255,255,255,0.10);
  font-style: normal;
}
.proof__belief-name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--wmst-white);
  letter-spacing: -0.005em;
}
.proof__belief-role {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.01em;
}

/* ========================================================
   PAGE HERO, used on Drive/Motorcycle/Testing program hubs
   Big photo background + scrim, white headline.
   ======================================================== */
.page-hero {
  position: relative;
  background-color: var(--wmst-black);
  background-size: cover;
  background-position: center;
  color: var(--wmst-white);
  padding-block: clamp(4rem, 8vw, 6.5rem);
  overflow: hidden;
}
.page-hero__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 2;
  max-width: 880px;
}
.page-hero__crumbs { color: rgba(255,255,255,0.65); }
.page-hero__crumbs a { color: rgba(255,255,255,0.7); }
.page-hero__crumbs a:hover { color: var(--wmst-yellow); }
.page-hero__crumbs span:not(:has(a)) { color: rgba(255,255,255,0.5); }
.page-hero__kicker { color: var(--wmst-yellow) !important; }
.page-hero__title {
  color: var(--wmst-white);
  font-size: clamp(2rem, 3.5vw + 0.6rem, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 var(--s-3);
  text-wrap: balance;
}
.page-hero__lede {
  color: rgba(255,255,255,0.92);
  font-size: clamp(1rem, 0.4vw + 0.95rem, 1.125rem);
  max-width: 60ch;
  margin: 0 0 var(--s-4);
  line-height: 1.55;
}
.page-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ========================================================
   FEATURE SECTIONS, alternating image+copy program sells
   Three on the homepage: Drive / Testing / Motorcycle
   ======================================================== */
.feature {
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
  position: relative;
}
.feature--drive { background: var(--wmst-white); }
.feature--testing { background: linear-gradient(180deg, #fff 0%, var(--wmst-surface) 100%); }
.feature--moto { background: var(--wmst-white); border-top: 1px solid var(--wmst-line); }

.feature__container {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 960px) {
  .feature__container {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .feature--reverse .feature__container > *:first-child { order: 2; }
  .feature--reverse .feature__container > *:last-child { order: 1; }
}

/* Media (photo) */
.feature__media {
  position: relative;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 5/4;
  box-shadow: 0 30px 60px -25px rgba(0,103,176,0.32);
  isolation: isolate;
}
.feature--testing .feature__media { box-shadow: 0 30px 60px -25px rgba(191,46,26,0.32); }
.feature--moto .feature__media { box-shadow: 0 30px 60px -25px rgba(0,0,0,0.30); }

.feature__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
  pointer-events: none;
}
.feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feature__media-tag {
  position: absolute;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  color: var(--wmst-white);
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.feature__media-tag span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wmst-yellow);
  background: rgba(0,0,0,0.55);
  padding: 4px 10px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

/* Decorative corner accent */
.feature__media::after {
  content: '';
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 4px;
  background: var(--wmst-yellow);
  z-index: 2;
}
.feature--testing .feature__media::after { background: var(--wmst-red); }
.feature--moto .feature__media::after { background: var(--wmst-blue); }

/* Copy */
.feature__copy { display: flex; flex-direction: column; gap: var(--s-3); }
.feature__eyebrow {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.feature__eyebrow--drive { background: var(--wmst-blue-soft); color: var(--wmst-blue-deep); }
.feature__eyebrow--testing { background: #FBE4E0; color: var(--wmst-red-deep); }
.feature__eyebrow--moto { background: rgba(247,208,33,0.22); color: #6E5C0A; }

.feature__title {
  font-size: clamp(1.75rem, 2vw + 0.85rem, 2.625rem);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
.feature__title-accent {
  color: var(--wmst-red);
}
.feature--drive .feature__title-accent { color: var(--wmst-blue); }
.feature--moto .feature__title-accent { color: var(--wmst-blue); }

.feature__lede {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--wmst-text);
  max-width: 56ch;
  margin: 0;
}
.feature__lede strong { color: var(--wmst-black); font-weight: 600; }

/* Feature checkmark list */
.feature__list {
  list-style: none;
  padding: 0;
  margin: var(--s-1) 0 0;
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--wmst-line);
  padding-top: var(--s-3);
}
.feature__list li {
  position: relative;
  padding-left: 32px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--wmst-text);
}
.feature__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--wmst-blue);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 14px 14px;
  background-position: center;
  background-repeat: no-repeat;
}
.feature--testing .feature__list li::before { background-color: var(--wmst-red); }
.feature--moto .feature__list li::before { background-color: var(--wmst-black); }
.feature__list li strong {
  color: var(--wmst-black);
  font-weight: 600;
}

/* Bottom row: price + CTAs */
.feature__bottom {
  margin-top: var(--s-3);
  padding-top: var(--s-3);
  border-top: 1px solid var(--wmst-line);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
@media (min-width: 720px) {
  .feature__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-3);
    flex-wrap: wrap;
  }
}
.feature__price {
  font-size: 0.875rem;
  color: var(--wmst-text);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.feature__price strong {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--wmst-blue);
}
.feature--testing .feature__price strong { color: var(--wmst-red); }
.feature--moto .feature__price strong { color: var(--wmst-black); }
.feature__cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ========================================================
   REGISTER PAGE, service picker
   ======================================================== */
.reg-hero {
  background: var(--wmst-surface);
  border-bottom: 1px solid var(--wmst-line);
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}
.reg-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(247,208,33,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(0,103,176,0.10) 0%, transparent 55%);
  pointer-events: none;
}
.reg-hero__inner {
  position: relative;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.reg-hero__kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wmst-blue);
  margin: 16px 0 12px;
}
.reg-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  line-height: 1.08;
  text-wrap: balance;
  max-width: 22ch;
}
.reg-hero__lede {
  font-size: clamp(1rem, 0.5vw + 0.85rem, 1.125rem);
  color: var(--wmst-text);
  max-width: 60ch;
  margin: 0;
  line-height: 1.55;
}

/* -- Registration hand-off (branded step before the secure portal) -------- */
.handoff { background: var(--wmst-surface); }
.handoff__card {
  max-width: 600px;
  margin-inline: auto;
  background: var(--wmst-white);
  border: 1px solid var(--wmst-line);
  border-top: 4px solid var(--wmst-blue);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}
.handoff__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wmst-blue-soft);
  color: var(--wmst-blue);
  margin-bottom: var(--s-3);
}
.handoff__eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wmst-blue);
  margin-bottom: 8px;
}
.handoff__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 12px;
}
.handoff__intro {
  color: var(--wmst-text);
  max-width: 46ch;
  margin: 0 auto var(--s-4);
  line-height: 1.6;
}
.handoff__pkg {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--wmst-surface);
  border: 1px solid var(--wmst-line);
  border-radius: var(--radius);
  padding: var(--s-3);
  margin-bottom: var(--s-4);
  text-align: left;
}
.handoff__pkg-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--wmst-black);
}
.handoff__pkg-price {
  font-weight: 700;
  color: var(--wmst-blue);
  font-size: 1.05rem;
}
.handoff__pkg-summary {
  color: var(--wmst-text);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.handoff__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--s-3);
}
.handoff__note {
  font-size: 0.8125rem;
  color: var(--wmst-text-soft);
  line-height: 1.5;
  max-width: 46ch;
  margin: 0 auto var(--s-3);
}
.handoff__trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  padding: var(--s-3) 0 0;
  margin: 0 0 var(--s-3);
  border-top: 1px solid var(--wmst-line);
}
.handoff__trust li {
  position: relative;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--wmst-text);
  padding-left: 18px;
}
.handoff__trust li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}
.handoff__back {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--wmst-text-soft);
}
.handoff__back:hover { color: var(--wmst-blue); }

.reg-pick { padding-block: clamp(2rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 4rem); }

/* Filter tabs */
.reg-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
  border-bottom: 1px solid var(--wmst-line);
  position: sticky;
  top: 88px;
  background: var(--wmst-white);
  z-index: 10;
  padding-top: 8px;
}
.reg-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--wmst-line);
  background: var(--wmst-white);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--wmst-black);
  transition: border-color var(--motion-fast) var(--ease), background var(--motion-fast) var(--ease), color var(--motion-fast) var(--ease), transform var(--motion-fast) var(--ease);
}
.reg-tab:hover { border-color: var(--wmst-blue); color: var(--wmst-blue); }
.reg-tab.is-active {
  background: var(--wmst-black);
  border-color: var(--wmst-black);
  color: var(--wmst-white);
}
.reg-tab.is-active.reg-tab--moto { background: var(--wmst-red); border-color: var(--wmst-red); }
.reg-tab.is-active.reg-tab--drive { background: var(--wmst-blue); border-color: var(--wmst-blue); }
.reg-tab.is-active.reg-tab--testing { background: #8A6D08; border-color: #8A6D08; }
.reg-tab__count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(0,0,0,0.08);
  color: inherit;
  padding: 2px 8px;
  border-radius: 999px;
}
.reg-tab.is-active .reg-tab__count { background: rgba(255,255,255,0.18); }

/* Group sections */
.reg-group {
  margin-block: clamp(2rem, 4vw, 3rem);
}
.reg-group__head {
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
  max-width: 60ch;
}
.reg-group__kicker {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.reg-group__kicker--moto { background: #FBE4E0; color: var(--wmst-red-deep); }
.reg-group__kicker--drive { background: var(--wmst-blue-soft); color: var(--wmst-blue-deep); }
.reg-group__kicker--testing { background: #FFF6CC; color: #8A6D08; }
.reg-group__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.5vw + 0.5rem, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  line-height: 1.1;
}
.reg-group__lede {
  font-size: 1rem;
  color: var(--wmst-text);
  margin: 0;
  line-height: 1.55;
  max-width: 60ch;
}

/* Card grid */
.reg-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) { .reg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .reg-grid { grid-template-columns: repeat(3, 1fr); } }

/* Showcase-style service cards: colored header + yellow underline + yellow CTA */
.reg-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--wmst-white);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0,0,0,.05), 0 12px 30px rgba(0,0,0,.06);
  transition: transform var(--motion-fast) var(--ease), box-shadow var(--motion-fast) var(--ease);
}
.reg-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,.08), 0 24px 54px rgba(0,0,0,.13);
}
.reg-card__head { padding: 22px 24px; display: flex; flex-direction: column; }
.reg-card--drive   .reg-card__head { background: var(--wmst-blue); }
.reg-card--moto    .reg-card__head { background: var(--wmst-red); }
.reg-card--testing .reg-card__head { background: var(--wmst-black); }
.reg-card__head-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; min-height: 20px; }
.reg-card__tag {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.82);
}
.reg-card__badge {
  flex: none;
  background: var(--wmst-yellow); color: var(--wmst-black);
  font-size: 0.625rem; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
.reg-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em;
  margin: 13px 0 0; color: var(--wmst-white); line-height: 1.2;
}
.reg-card__title::after {
  content: ""; display: block; width: 42px; height: 4px;
  background: var(--wmst-yellow); border-radius: 2px; margin-top: 14px;
}
.reg-card__body {
  background: var(--wmst-white);
  padding: 20px 24px 24px;
  display: flex; flex-direction: column; gap: 16px; flex: 1;
}
.reg-card__desc { font-size: 0.95rem; color: var(--wmst-text); line-height: 1.55; margin: 0; }
.reg-card__foot {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.reg-card__price { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--wmst-black); }
.reg-card__cta {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--wmst-yellow); color: var(--wmst-black);
  font-weight: 700; font-size: 0.875rem;
  padding: 10px 18px; border-radius: 999px;
  transition: background var(--motion-fast) var(--ease);
}
.reg-card:hover .reg-card__cta { background: #E4B800; }
.reg-card__cta svg { transition: transform var(--motion-fast) var(--ease); }
.reg-card:hover .reg-card__cta svg { transform: translateX(3px); }

.reg-empty {
  text-align: center;
  color: var(--wmst-text-soft);
  margin: 4rem 0;
  font-size: 1rem;
}

/* Help section */
.reg-help {
  background: linear-gradient(160deg, var(--wmst-blue-deep) 0%, var(--wmst-blue) 100%);
  color: var(--wmst-white);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 2px solid var(--wmst-yellow);
}
.reg-help__grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 880px) {
  .reg-help__grid { grid-template-columns: 1.4fr 1fr; }
}
.reg-help__copy .kicker { color: var(--wmst-yellow); }
.reg-help__copy h2 {
  color: var(--wmst-white);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 12px 0 12px;
  line-height: 1.15;
  text-wrap: balance;
}
.reg-help__copy p {
  color: rgba(255,255,255,0.78);
  margin: 0;
  max-width: 56ch;
  line-height: 1.55;
}
.reg-help__phones {
  display: grid;
  gap: 12px;
}
.reg-help__phone {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  text-decoration: none;
  color: var(--wmst-white);
  transition: background var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease), transform var(--motion-fast) var(--ease);
}
.reg-help__phone:hover { background: rgba(255,255,255,0.10); transform: translateY(-1px); }
.reg-help__phone--moto:hover { border-color: var(--wmst-red); }
.reg-help__phone--drive:hover { border-color: var(--wmst-blue); }
.reg-help__phone-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reg-help__phone--moto .reg-help__phone-icon { background: var(--wmst-red); }
.reg-help__phone--drive .reg-help__phone-icon { background: var(--wmst-blue); }
.reg-help__phone-text { display: flex; flex-direction: column; line-height: 1.2; }
.reg-help__phone-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
}
.reg-help__phone-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* =========================================================
   COURSE / PRODUCT SHOWCASE
   The "things we sell", flagship feature card + product grid.
   Auto-themes via --accent (blue on /drive/, red on /motorcycle/).
   ========================================================= */

/* Section intro that sits above a showcase */
.showcase-intro { max-width: 60ch; margin-bottom: var(--s-5); }
.showcase-intro .lede { margin-bottom: 0; }

/* ---- Flagship feature card (image + details, full width) ---- */
.course-feature {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  background: var(--wmst-white);
  border: 1px solid var(--wmst-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  color: var(--wmst-black);
  transition: box-shadow var(--motion-med) var(--ease), transform var(--motion-med) var(--ease), border-color var(--motion-med) var(--ease);
}
.course-feature:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--accent); color: var(--wmst-black); }
@media (min-width: 880px) {
  .course-feature { grid-template-columns: minmax(300px, 0.92fr) 1.08fr; }
}
.course-feature__media {
  position: relative;
  min-height: 280px;
  background-size: cover;
  background-position: center;
}
.course-feature__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(0,0,0,.12), rgba(0,0,0,0) 55%);
}
.course-feature__body {
  padding: clamp(1.5rem, 3.2vw, 2.75rem);
  display: flex; flex-direction: column; gap: 16px;
}
.course-feature__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.08; font-weight: 600; letter-spacing: -0.01em;
  color: var(--wmst-black); margin: 0;
}
.course-feature__desc { margin: 0; font-size: 1rem; max-width: 46ch; }
.course-feature__foot {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; padding-top: 8px;
}

/* "Most popular" ribbon */
.course-ribbon {
  position: absolute; top: 20px; left: 0; z-index: 2;
  background: var(--wmst-yellow); color: var(--wmst-black);
  font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: 7px 18px 7px 16px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 11px) 50%, 100% 100%, 0 100%);
  box-shadow: var(--shadow-sm);
}

/* ---- Price block ---- */
.price { display: inline-flex; align-items: baseline; gap: 7px; line-height: 1; }
.price__pre {
  font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--wmst-text-soft); align-self: center;
}
.price__amt {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.7rem, 2.4vw, 2.15rem); color: var(--accent); letter-spacing: -0.01em;
}
.price__unit { font-size: .85rem; color: var(--wmst-text-soft); font-weight: 500; }

/* ---- Spec chips ---- */
.specs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.specs li {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .8125rem; font-weight: 500; color: var(--wmst-text);
  background: var(--wmst-surface);
  border: 1px solid var(--wmst-line);
  border-radius: 999px; padding: 5px 13px;
}
.specs li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); flex: none;
}

/* CTA pill styled as a button (used inside link cards) */
.course-go {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--wmst-white);
  font-weight: 600; font-size: .9375rem;
  padding: 11px 22px; border-radius: var(--radius);
  transition: background var(--motion-fast) var(--ease), transform var(--motion-fast) var(--ease);
}
.course-go svg { transition: transform var(--motion-fast) var(--ease); }
.course-feature:hover .course-go { background: var(--accent-deep); }
.course-feature:hover .course-go svg,
.course-card:hover .course-card__cta svg { transform: translateX(4px); }

/* ---- Standard product cards ---- */
.course-grid { display: grid; gap: var(--s-3); grid-template-columns: 1fr; }
@media (min-width: 640px)  { .course-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .course-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.course-card {
  position: relative;
  display: flex; flex-direction: column; gap: 11px;
  background: var(--wmst-white);
  border: 1px solid var(--wmst-line);
  border-radius: 11px;
  padding: calc(var(--s-3) + 4px) var(--s-3) var(--s-3);
  overflow: hidden;
  color: var(--wmst-black);
  transition: transform var(--motion-med) var(--ease), box-shadow var(--motion-med) var(--ease), border-color var(--motion-med) var(--ease);
}
.course-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform var(--motion-med) var(--ease);
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); color: var(--wmst-black); }
.course-card:hover::before { transform: scaleX(1); }
.course-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.course-card__tag {
  font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: var(--accent); padding-top: 2px;
}
.course-card__price-sm {
  font-family: var(--font-display); font-weight: 600; color: var(--accent);
  font-size: 1.05rem; white-space: nowrap;
}
.course-card__title {
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.22;
  color: var(--wmst-black); margin: 0;
}
.course-card__desc { font-size: .9rem; margin: 0; color: var(--wmst-text); }
.course-card .specs { margin-top: 2px; }
.course-card__cta {
  margin-top: auto; padding-top: 6px;
  font-weight: 600; color: var(--accent); font-size: .9375rem;
  display: inline-flex; align-items: center; gap: 7px;
}

/* =========================================================
   COURSE DETAIL HERO + BUY BOX (individual class pages)
   A product-detail layout: copy on the left, sticky price /
   what's-included "buy box" on the right. Auto-themes via --accent.
   ========================================================= */
.cdh {
  background: var(--wmst-white);
  border-bottom: 1px solid var(--wmst-line);
  padding-block: clamp(1.75rem, 3vw, 2.75rem) clamp(2.5rem, 5vw, 4rem);
}
.cdh__grid {
  display: grid; gap: var(--s-5);
  grid-template-columns: 1fr; align-items: start;
  margin-top: var(--s-3);
}
@media (min-width: 940px) { .cdh__grid { grid-template-columns: 1.5fr 0.92fr; gap: var(--s-6); } }
.cdh__tag {
  font-size: .8125rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: var(--accent);
}
.cdh__title {
  font-size: clamp(2rem, 3.2vw + .5rem, 3rem);
  line-height: 1.08; letter-spacing: -0.015em;
  margin: 10px 0 var(--s-3);
}
.cdh__lede { font-size: 1.0625rem; color: var(--wmst-text); max-width: 56ch; margin: 0 0 var(--s-4); line-height: 1.55; }
.cdh__main .specs { margin-bottom: var(--s-2); }

/* Buy box */
.buybox {
  background: var(--wmst-white);
  border: 1px solid var(--wmst-line);
  border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-md);
}
@media (min-width: 940px) { .buybox { position: sticky; top: 96px; } }
.buybox__head {
  background: var(--accent); color: var(--wmst-white);
  padding: var(--s-3) var(--s-4) calc(var(--s-3) + 2px);
}
.buybox__pre { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .88; }
.buybox__price {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 3vw, 2.5rem); line-height: 1;
  display: flex; align-items: baseline; gap: 9px; margin-top: 7px; color: var(--wmst-white);
}
.buybox__price span { font-family: var(--font-sans); font-size: .85rem; font-weight: 500; opacity: .92; }
.buybox__body { padding: var(--s-4); display: flex; flex-direction: column; gap: 15px; }
.buybox__cap { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--wmst-text-soft); margin: 0; }
.buybox__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.buybox__list li { display: grid; grid-template-columns: 19px 1fr; gap: 10px; font-size: .9375rem; color: var(--wmst-text); align-items: start; line-height: 1.45; }
.buybox__list svg { color: var(--accent); margin-top: 2px; }
.buybox .btn { width: 100%; justify-content: center; }
.buybox__actions { display: grid; gap: 10px; margin-top: 2px; }
.buybox__note { font-size: .8rem; color: var(--wmst-text-soft); margin: 2px 0 0; line-height: 1.45; }

/* Package picker (dropdown + Register) for multi-package services */
.pkg-picker { display: grid; gap: 10px; }
.pkg-picker__field { display: grid; gap: 5px; }
.pkg-picker__label { font-size: .8rem; font-weight: 600; color: var(--wmst-text-soft); }
.pkg-picker__select {
  width: 100%; font-family: var(--font-sans); font-size: .95rem; font-weight: 600;
  color: var(--wmst-black); background: #fff; border: 1.5px solid var(--wmst-line);
  border-radius: 12px; padding: 12px 38px 12px 14px; cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230067B0' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.pkg-picker__select:focus { outline: none; border-color: var(--wmst-blue); box-shadow: 0 0 0 3px var(--wmst-blue-soft); }
/* Picker on the register-hub card variant */
.reg-card--picker { cursor: default; }
.reg-card--picker .pkg-picker { margin-top: 14px; }

/* -- License-testing page: section head, test cards, checklist -- */
.testhead { max-width: 60ch; margin-bottom: var(--s-5); }
.testhead h2 { margin-bottom: var(--s-2); }
.testhead .lede { margin: 0; }

.testcards { align-items: stretch; gap: 28px; }
.test-card {
  display: flex; flex-direction: column;
  background: var(--wmst-white);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.04), 0 14px 40px rgba(0,0,0,.07);
  transition: transform var(--motion-med) var(--ease), box-shadow var(--motion-med) var(--ease);
}
.test-card:hover { transform: translateY(-4px); box-shadow: 0 4px 12px rgba(0,0,0,.06), 0 24px 60px rgba(0,0,0,.12); }
.test-card__head {
  background: var(--wmst-blue);
  padding: var(--s-4) var(--s-4) var(--s-3);
  display: flex; flex-direction: column;
}
.test-card__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(255,255,255,0.16);
  color: var(--wmst-white);
  display: inline-flex; align-items: center; justify-content: center;
}
.test-card__kicker {
  margin-top: 22px;
  font-size: .78rem; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; color: rgba(255,255,255,0.82);
}
.test-card__title {
  margin: 7px 0 0; color: var(--wmst-white);
  font-size: 1.65rem; font-weight: 700; letter-spacing: -0.022em; line-height: 1.1;
}
.test-card__title::after {
  content: ""; display: block; width: 52px; height: 4px;
  background: var(--wmst-yellow); border-radius: 2px; margin-top: 16px;
}
.test-card__intro {
  margin: 14px 0 0; font-size: 1rem; line-height: 1.45;
  color: rgba(255,255,255,0.9); max-width: 42ch;
}
.test-card__body {
  flex: 1; padding: var(--s-4);
  display: flex; flex-direction: column; gap: var(--s-3);
}
.test-card__btn {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--wmst-yellow); color: var(--wmst-black);
  font-weight: 700; font-size: 0.95rem; text-decoration: none;
  padding: 12px 22px; border-radius: 999px;
  transition: background var(--motion-fast) var(--ease), transform var(--motion-fast) var(--ease);
}
.test-card__btn:hover { background: #E4B800; color: var(--wmst-black); transform: translateY(-1px); }
.test-card__btn svg { transition: transform var(--motion-fast) var(--ease); }
.test-card__btn:hover svg { transform: translateX(3px); }
.test-card__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.test-card__actions .test-card__btn { margin-top: 0; }
.test-card__btn--ghost { background: transparent; color: var(--wmst-blue); box-shadow: inset 0 0 0 2px var(--wmst-blue); }
.test-card__btn--ghost:hover { background: var(--wmst-blue); color: #fff; }
.test-card__facts {
  display: grid;
  gap: var(--s-2);
  padding: var(--s-3) 0;
  border-top: 1px solid var(--wmst-line);
  border-bottom: 1px solid var(--wmst-line);
}
.fact { display: grid; gap: 7px; }
.fact__label {
  font-size: .72rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--wmst-text-soft);
}
.fact__val { font-size: 1rem; font-weight: 600; color: var(--wmst-black); }
.fact__sub { font-size: .875rem; color: var(--wmst-text); }
.time-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.time-chips span {
  font-size: .9375rem; font-weight: 600; color: var(--wmst-blue);
  background: var(--wmst-blue-soft);
  border-radius: 999px; padding: 5px 13px; line-height: 1;
}
.time-chips--plain span {
  font-weight: 500; color: var(--wmst-text);
  background: var(--wmst-surface); border: 1px solid var(--wmst-line);
}
.test-card__fine { font-size: .875rem; color: var(--wmst-text-soft); margin: 0; line-height: 1.5; }

.bring { align-items: start; }
@media (min-width: 880px) { .bring { grid-template-columns: 0.85fr 1.15fr; } }
.bring h2 { margin-bottom: var(--s-2); }
.bring .lede { margin-bottom: var(--s-3); }
.checklist {
  list-style: none; padding: var(--s-3) var(--s-4); margin: 0;
  display: grid; gap: var(--s-2);
  background: var(--wmst-white);
  border: 1px solid var(--wmst-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.checklist li {
  display: grid; grid-template-columns: 20px 1fr; gap: 12px;
  align-items: start; font-size: 1rem; line-height: 1.5;
  color: var(--wmst-text); padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--wmst-line);
}
.checklist li:last-child { padding-bottom: 0; border-bottom: 0; }
.checklist svg { color: var(--wmst-blue); margin-top: 3px; }
.checklist strong { color: var(--wmst-black); font-weight: 600; }

/* -- Reusable check-mark list (replaces bare "·" bullet lists site-wide) -- */
.ticklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticklist li {
  position: relative; padding-left: 30px;
  font-size: 1rem; line-height: 1.55; color: var(--wmst-text);
}
.ticklist li::before {
  content: ""; position: absolute; left: 0; top: 5px;
  width: 18px; height: 18px; background-color: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='3'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpolyline%20points='20%206%209%2017%204%2012'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='3'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpolyline%20points='20%206%209%2017%204%2012'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ticklist strong { color: var(--wmst-black); font-weight: 600; }
.ticklist a { color: var(--wmst-blue); }

/* =========================================================
   DRIVE product showcase — Variant-1 product styling
   (blue header, yellow underline, yellow pill CTA, rounded
   corners, soft shadow). Scoped to .program-drive so the
   motorcycle showcase is untouched.
   ========================================================= */
/* Flagship feature card */
.program-drive .course-feature { border: none; border-radius: 20px; box-shadow: 0 2px 8px rgba(0,0,0,.04), 0 14px 40px rgba(0,0,0,.07); }
.program-drive .course-feature:hover { border: none; box-shadow: 0 4px 12px rgba(0,0,0,.06), 0 24px 60px rgba(0,0,0,.12); }
.program-drive .course-feature__title::after {
  content: ""; display: block; width: 56px; height: 4px;
  background: var(--wmst-yellow); border-radius: 2px; margin-top: 16px;
}
.program-drive .course-go { background: var(--wmst-yellow); color: var(--wmst-black); border-radius: 999px; padding: 13px 24px; }
.program-drive .course-feature:hover .course-go { background: #E4B800; }

/* Supporting product cards: blue header band + white body */
.program-drive .course-card { padding: 0; border: none; gap: 0; border-radius: 18px; box-shadow: 0 2px 8px rgba(0,0,0,.04), 0 12px 34px rgba(0,0,0,.07); }
.program-drive .course-card::before { display: none; }
.program-drive .course-card:hover { border: none; box-shadow: 0 4px 12px rgba(0,0,0,.06), 0 22px 54px rgba(0,0,0,.12); }
.program-drive .course-card__top { background: var(--wmst-blue); padding: 22px 24px; display: flex; flex-direction: column; }
.program-drive .course-card__tag { color: rgba(255,255,255,0.82); padding-top: 0; }
.program-drive .course-card__price-sm { color: var(--wmst-yellow); }
.program-drive .course-card__title { color: var(--wmst-white); margin-top: 13px; }
.program-drive .course-card__title::after {
  content: ""; display: block; width: 44px; height: 4px;
  background: var(--wmst-yellow); border-radius: 2px; margin-top: 12px;
}
.program-drive .course-card__body { background: var(--wmst-white); padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.program-drive .course-card__cta {
  align-self: flex-start; padding: 11px 20px; padding-top: 11px; border-radius: 999px;
  background: var(--wmst-yellow); color: var(--wmst-black); font-weight: 700;
}

/* =========================================================
   DRIVE class-page polish — hero title, buy box, steps,
   curriculum cards, gold CTA. Shared pieces scoped to
   .program-drive so motorcycle pages stay untouched.
   ========================================================= */
/* Course-hero title gets the yellow accent rule */
.program-drive .cdh__title { position: relative; }
.program-drive .cdh__title::after {
  content: ""; display: block; width: 60px; height: 4px;
  background: var(--wmst-yellow); border-radius: 2px; margin-top: 18px;
}

/* Buy box: rounded, soft floating shadow, pill buttons, yellow accent + gold CTA */
.program-drive .buybox { border: none; border-radius: 22px; box-shadow: 0 2px 8px rgba(0,0,0,.05), 0 20px 54px rgba(0,0,0,.12); }
.program-drive .buybox__head { padding: var(--s-4) var(--s-4) var(--s-3); }
.program-drive .buybox__head::after {
  content: ""; display: block; width: 48px; height: 4px;
  background: var(--wmst-yellow); border-radius: 2px; margin-top: 16px;
}
.program-drive .buybox__body { padding: var(--s-4); gap: 16px; }
.program-drive .buybox .btn { border-radius: 999px; }
.program-drive .buybox__actions .btn--block:first-child { background: var(--wmst-yellow); border-color: var(--wmst-yellow); color: var(--wmst-black); }
.program-drive .buybox__actions .btn--block:first-child:hover { background: #E4B800; border-color: #E4B800; color: var(--wmst-black); }

/* Steps -> elevated cards */
.program-drive .steps__item {
  border-top: none;
  background: var(--wmst-white);
  border: 1px solid var(--wmst-line);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.program-drive .steps__item:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(0,0,0,.09); }

/* Curriculum unit cards */
.topic-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--wmst-white);
  border: 1px solid var(--wmst-line);
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  position: relative; overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.topic-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--wmst-yellow); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.topic-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.10); }
.topic-card:hover::before { transform: scaleX(1); }
.topic-card .kicker { margin-bottom: 4px; }
.topic-card .card__title { font-size: 1.2rem; margin: 0; }
.topic-card p { margin: 0; font-size: .9375rem; }

/* Gold pill CTA (new-style primary button) */
.btn--gold { background: var(--wmst-yellow); border-color: var(--wmst-yellow); color: var(--wmst-black); border-radius: 999px; }
.btn--gold:hover { background: #E4B800; border-color: #E4B800; color: var(--wmst-black); }

/* =========================================================
   Content photography — rounded split figure + captioned band.
   Used to break up text-heavy class pages with real imagery.
   ========================================================= */
.split--media { align-items: stretch; }
.media-figure {
  margin: 0; border-radius: 20px; overflow: hidden; min-height: 300px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05), 0 18px 50px rgba(0,0,0,.12);
}
.media-figure img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }

.media-band {
  position: relative; border-radius: 22px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.16);
}
.media-band img { display: block; width: 100%; height: clamp(240px, 32vw, 420px); object-fit: cover; }
.media-band__cap {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(24px, 3vw, 44px);
  background: linear-gradient(0deg, rgba(8,20,38,.92) 0%, rgba(8,20,38,.72) 30%, rgba(8,20,38,.30) 62%, rgba(8,20,38,.12) 100%);
  color: #fff; text-shadow: 0 1px 14px rgba(0,0,0,.45);
}
.media-band__cap .kicker { color: var(--wmst-yellow); margin-bottom: 6px; }
.media-band__cap h3 { color: #fff; margin: 0; font-size: clamp(1.3rem, 2.2vw, 1.95rem); letter-spacing: -.01em; }
.media-band__cap p { color: rgba(255,255,255,.92); margin: 8px 0 0; max-width: 54ch; }

/* =========================================================
   COURSE HERO (photo band) + product/included section.
   Replaces the old flat .cdh hero on every class page.
   ========================================================= */
.chero {
  position: relative; overflow: hidden;
  background-size: cover; background-position: center;
  color: #fff;
  padding-block: clamp(2.75rem, 6vw, 5.5rem);
}
.chero__crumbs { margin-bottom: 24px; }
.chero__crumbs a, .chero__crumbs span { color: rgba(255,255,255,.65); }
.chero__crumbs a:hover { color: #fff; }
.chero__eyebrow {
  display: inline-flex; align-items: center; gap: 13px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; margin-bottom: 18px;
}
.chero__eyebrow::before { content: ""; width: 30px; height: 3px; background: var(--wmst-yellow); border-radius: 2px; }
.chero__title {
  color: #fff; max-width: 22ch; margin: 0 0 var(--s-3);
  font-size: clamp(2.2rem, 4.2vw + .5rem, 3.7rem); line-height: 1.04; letter-spacing: -.022em; font-weight: 700;
  text-wrap: balance; /* even line lengths, no stranded last word */
}
/* The yellow phrase is one idea ("done right.") — never split it across lines.
   Breaks fall cleanly before it instead. */
.chero__title .ca { color: var(--wmst-yellow); white-space: nowrap; }
.chero__lede { color: rgba(255,255,255,.9); max-width: 56ch; font-size: 1.0625rem; line-height: 1.55; margin: 0; }
.specs--light { margin-top: var(--s-4); }
.specs--light li { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); color: #fff; }
.specs--light li::before { background: var(--wmst-yellow); }

/* Included + buy box section under the hero */
.cprod__grid { display: grid; gap: var(--s-5); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 940px) { .cprod__grid { grid-template-columns: 1.45fr 0.9fr; gap: var(--s-6); } }
.cprod__h { margin: 8px 0 0; }
.incl-list { list-style: none; padding: 0; margin: var(--s-4) 0 0; display: grid; gap: 18px; }
@media (min-width: 600px) { .incl-list { grid-template-columns: 1fr 1fr; gap: 18px 36px; } }
.incl-list li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; font-size: 1.0625rem; color: var(--wmst-text); line-height: 1.5; }
.incl-list svg { color: var(--accent); margin-top: 3px; }
.incl-list strong { color: var(--wmst-black); font-weight: 600; }

/* Left-column overview copy in the course product section */
.cprod__main--media { display: flex; flex-direction: column; }
@media (min-width: 940px) { .cprod__main--media { align-self: stretch; } }
.cprod__photo {
  margin: var(--s-4) 0 0;
  border-radius: 16px;
  overflow: hidden;
  flex: 1 1 auto;
  min-height: 240px;
  box-shadow: 0 14px 36px rgba(0,0,0,.10);
}
.cprod__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cprod__body { margin-top: var(--s-3); }
.cprod__body p { font-size: 1.0625rem; line-height: 1.65; color: var(--wmst-text); margin: 0 0 var(--s-3); max-width: 60ch; }
.cprod__body p:last-child { margin-bottom: 0; }
.cprod__body strong { color: var(--wmst-black); font-weight: 600; }

/* =========================================================
   Misc class-page components: balanced split, info card,
   package cards, school cards.
   ========================================================= */
/* Top-aligned split (text beside a shorter sidebar card) */
@media (min-width: 880px) { .split--top { align-items: start; } }

/* Sidebar info card (rounded, soft shadow, in design style) */
.info-card {
  background: var(--wmst-white);
  border: 1px solid var(--wmst-line);
  border-radius: 18px;
  padding: 28px 28px 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04), 0 16px 44px rgba(0,0,0,.08);
}
.info-card__title { margin: 4px 0 var(--s-2); font-size: 1.35rem; }
.info-card p { font-size: .95rem; margin: 0 0 var(--s-3); }
.info-card__facts { list-style: none; padding: 0; margin: 0 0 var(--s-3); display: grid; gap: 12px; }
.info-card__facts li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--wmst-line); }
.info-card__facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.info-card__facts strong { font-size: 1.05rem; font-weight: 700; color: var(--wmst-blue); white-space: nowrap; }
.info-card__facts span { font-size: .9rem; color: var(--wmst-text); }
.info-card .btn { width: 100%; justify-content: center; }

/* Package cards (adult lessons "pick your package") */
.pkg-card {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  background: var(--wmst-white);
  border: 1px solid var(--wmst-line);
  border-radius: 16px;
  padding: 28px 24px 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  transition: transform var(--motion-med) var(--ease), box-shadow var(--motion-med) var(--ease), border-color var(--motion-med) var(--ease);
}
.pkg-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.10); border-color: var(--wmst-blue); }
.pkg-card--featured { border-color: var(--wmst-blue); box-shadow: 0 2px 8px rgba(0,0,0,.05), 0 16px 44px rgba(0,103,176,.18); }
.pkg-card__badge {
  position: absolute; top: -12px; left: 24px;
  background: var(--wmst-yellow); color: var(--wmst-black);
  font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 999px;
}
.pkg-card .card__title { font-size: 1.4rem; margin: 0; }
.pkg-card .card__meta { margin: 0; }
.pkg-card p { font-size: .9rem; }
.pkg-card .card__cta { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--wmst-blue); display: inline-flex; align-items: center; gap: 6px; }
.pkg-card .card__cta::after { content: '→'; }

/* School cards (teen drivers ed: where we teach) — product-style cards */
.school-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px)  { .school-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .school-grid { grid-template-columns: repeat(3, 1fr); } }
.school-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--wmst-white);
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04), 0 12px 34px rgba(0,0,0,.07);
  color: var(--wmst-black);
  transition: transform var(--motion-med) var(--ease), box-shadow var(--motion-med) var(--ease);
}
.school-card:hover { transform: translateY(-4px); box-shadow: 0 4px 12px rgba(0,0,0,.06), 0 22px 54px rgba(0,0,0,.12); color: var(--wmst-black); }
.school-card__top {
  background: var(--wmst-blue); padding: 24px 24px 22px;
  display: flex; flex-direction: column; gap: 16px;
}
.school-card__pin {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(255,255,255,.16); color: var(--wmst-white);
  display: inline-flex; align-items: center; justify-content: center;
}
.school-card__name { color: var(--wmst-white); font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; line-height: 1.18; margin: 0; }
.school-card__name::after { content: ""; display: block; width: 42px; height: 4px; background: var(--wmst-yellow); border-radius: 2px; margin-top: 14px; }
.school-card__body { flex: 1; padding: 20px 24px 22px; display: flex; flex-direction: column; gap: 16px; }
.school-card__city { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--wmst-text-soft); display: inline-flex; align-items: center; gap: 7px; }
.school-card__city svg { color: var(--wmst-blue); }
.school-card__cta {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--wmst-yellow); color: var(--wmst-black);
  font-weight: 700; font-size: .9rem; padding: 11px 20px; border-radius: 999px;
  transition: background var(--motion-fast) var(--ease);
}
.school-card:hover .school-card__cta { background: #E4B800; }
.school-card__cta svg { transition: transform var(--motion-fast) var(--ease); }
.school-card:hover .school-card__cta svg { transform: translateX(3px); }

/* ============================================================
   /drive — custom section redesigns
   (1) licensing roadmap  (2) locations header  (3) referral
   ============================================================ */

/* (1) Road-to-your-license timeline ------------------------- */
.split--lic { align-items: start; }
@media (min-width: 880px) { .split--lic { grid-template-columns: 1fr 1.05fr; gap: var(--s-7); } }

.callout {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--wmst-blue-soft);
  border: 1px solid #cfe0f0;
  border-radius: 12px;
  padding: 18px 22px;
  margin-top: var(--s-4);
}
.callout__tag {
  font-size: .7rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--wmst-blue);
}
.callout p { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--wmst-text); max-width: none; }

.roadmap { list-style: none; margin: 0; padding: 0; }
.roadmap__step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding-bottom: 30px;
}
.roadmap__step:last-child { padding-bottom: 0; }
/* dashed lane-line connecting the nodes, like road markings */
.roadmap__step::before {
  content: "";
  position: absolute;
  left: 28px; top: 58px; bottom: -2px;
  width: 4px; transform: translateX(-50%);
  background: repeating-linear-gradient(to bottom,
    var(--wmst-yellow) 0 9px, transparent 9px 19px);
  border-radius: 4px;
}
.roadmap__step:last-child::before { display: none; }

.roadmap__node {
  position: relative; z-index: 1;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--wmst-blue); color: var(--wmst-white);
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
  /* surface-colored ring masks the lane line behind the node */
  box-shadow: 0 0 0 6px var(--wmst-surface), 0 0 0 8px rgba(0,103,176,.18);
  transition: transform var(--motion-fast) var(--ease), box-shadow var(--motion-fast) var(--ease);
}
.roadmap__node--finish {
  background: var(--wmst-yellow); color: var(--wmst-black);
  box-shadow: 0 0 0 6px var(--wmst-surface), 0 0 0 8px rgba(247,208,33,.4);
}
.roadmap__step:hover .roadmap__node {
  transform: scale(1.06);
  box-shadow: 0 0 0 6px var(--wmst-surface), 0 0 0 8px rgba(0,103,176,.32);
}
.roadmap__step--finish:hover .roadmap__node {
  box-shadow: 0 0 0 6px var(--wmst-surface), 0 0 0 8px rgba(247,208,33,.55);
}
.roadmap__body { padding-top: 7px; }
.roadmap__h {
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
  margin: 0 0 6px; color: var(--wmst-black);
}
.roadmap__p { font-size: .94rem; line-height: 1.55; margin: 0; color: var(--wmst-text); max-width: 48ch; }

/* (2) Locations split (intro left, cards fill the right) ----- */
.loc-layout { display: grid; gap: var(--s-5); }
@media (min-width: 980px) {
  .loc-layout { grid-template-columns: 0.82fr 1.18fr; gap: var(--s-6); align-items: start; }
}
.loc-intro { max-width: 42ch; }
.loc-intro h2 { margin: 0 0 14px; }
.loc-intro p { margin: 0 0 var(--s-4); }
@media (min-width: 980px) { .loc-intro { position: sticky; top: calc(var(--header-h, 72px) + var(--s-4)); } }
.loc-intro__btn { display: inline-flex; align-items: center; gap: 8px; }
.loc-intro__btn svg { transition: transform var(--motion-fast) var(--ease); }
.loc-intro__btn:hover svg { transform: translateX(3px); }
.loc-intro__sub { font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--wmst-text-soft); margin: var(--s-4) 0 10px; }
.loc-schools { list-style: none; padding: 0; margin: 0 0 var(--s-4); display: flex; flex-wrap: wrap; gap: 8px; }
.loc-schools li { font-size: .85rem; font-weight: 500; color: var(--wmst-blue-deep); background: var(--wmst-blue-soft); padding: 6px 13px; border-radius: 999px; }
.loc-cards { display: grid; gap: var(--s-3); grid-template-columns: 1fr; align-content: start; }
@media (min-width: 600px) { .loc-cards { grid-template-columns: 1fr 1fr; } }

/* (3) Referral panel ---------------------------------------- */
.referral-sec { background: var(--wmst-surface); }
.referral {
  position: relative; overflow: hidden;
  display: grid; gap: var(--s-5);
  background: linear-gradient(150deg, var(--wmst-blue-deep) 0%, var(--wmst-blue) 100%);
  border-radius: 22px;
  padding: clamp(28px, 5vw, 56px);
  box-shadow: 0 24px 60px rgba(0,74,130,.22);
}
@media (min-width: 880px) {
  .referral { grid-template-columns: 1.05fr .95fr; gap: var(--s-6); align-items: center; }
}
/* decorative ring + glow */
.referral::after {
  content: ""; position: absolute; right: -90px; bottom: -120px;
  width: 340px; height: 340px; border-radius: 50%;
  border: 42px solid rgba(255,255,255,.05);
  pointer-events: none;
}
.referral::before {
  content: ""; position: absolute; left: -10%; top: -40%;
  width: 60%; height: 120%;
  background: radial-gradient(circle, rgba(247,208,33,.16) 0%, transparent 65%);
  pointer-events: none;
}
.referral > * { position: relative; z-index: 1; }

.referral__kicker { color: var(--wmst-yellow); }
.referral__amount {
  font-family: var(--font-display); font-weight: 700; color: var(--wmst-yellow);
  font-size: clamp(4rem, 11vw, 6.75rem); line-height: .85;
  display: flex; align-items: flex-start; gap: 2px;
  margin: 12px 0 16px;
}
.referral__cur { font-size: .42em; margin-top: .22em; }
.referral__per {
  align-self: flex-end; font-family: var(--font-sans);
  font-size: .15em; font-weight: 600; letter-spacing: .07em; line-height: 1.15;
  text-transform: uppercase; color: rgba(255,255,255,.72);
  margin: 0 0 1.1em 12px;
}
.referral__h { color: var(--wmst-white); margin: 0 0 12px; }
.referral__p { color: rgba(255,255,255,.9); max-width: 46ch; margin: 0 0 var(--s-4); }
.referral__btn {
  background: var(--wmst-yellow); border-color: var(--wmst-yellow); color: var(--wmst-black);
  display: inline-flex; align-items: center; gap: 8px;
}
.referral__btn:hover { background: var(--wmst-white); border-color: var(--wmst-white); color: var(--wmst-blue); }
.referral__btn svg { transition: transform var(--motion-fast) var(--ease); }
.referral__btn:hover svg { transform: translateX(3px); }

.referral__quote {
  position: relative; margin: 0;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  padding: 30px 30px 26px;
}
.referral__mark {
  position: absolute; top: 26px; left: 22px;
  font-family: var(--font-display); font-weight: 700; font-size: 5rem; line-height: 0;
  color: var(--wmst-yellow); opacity: .55;
}
.referral__quote blockquote {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.18rem; line-height: 1.45; color: var(--wmst-white);
  margin: 26px 0 16px;
}
.referral__quote figcaption { font-size: .85rem; color: rgba(255,255,255,.62); }

/* ============================================================
   Drivers Ed sweep — shared component reused across pages
   factgrid stat cards (yellow-top)
   ============================================================ */

/* (4) Stat cards (blue number + yellow underline accent) ---- */
.statgrid { display: grid; gap: var(--s-3); grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
@media (min-width: 560px) { .statgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 920px) { .statgrid--4 { grid-template-columns: repeat(4, 1fr); } }
.statcard {
  background: var(--wmst-white);
  border: 1px solid var(--wmst-line);
  border-radius: 14px;
  padding: 26px 26px 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  transition: transform var(--motion-fast) var(--ease), box-shadow var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease);
}
.statcard:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(0,0,0,.09); border-color: var(--wmst-blue); }
.statcard__num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--wmst-blue); letter-spacing: -0.02em; }
.statcard__num::after { content: ""; display: block; width: 32px; height: 3px; background: var(--wmst-yellow); border-radius: 2px; margin-top: 16px; }
.statcard__h { font-weight: 600; font-size: 1.02rem; margin: 14px 0 6px; color: var(--wmst-black); }
.statcard__p { font-size: .9rem; line-height: 1.5; margin: 0; color: var(--wmst-text); }

/* ============================================================
   Light testimonial + enroll blocks (replace full-bleed blue
   sections so they don't stack into the blue footer CTA)
   ============================================================ */
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: var(--s-3); }

/* Editorial pull-quote, light treatment */
.review-feature { display: grid; gap: var(--s-5); }
@media (min-width: 880px) { .review-feature { grid-template-columns: 0.9fr 1.1fr; gap: var(--s-6); align-items: center; } }
.review-feature__lead h2 { margin: 0 0 14px; }
.review-feature__lead p { margin: 0 0 var(--s-4); }
.review-feature__quote {
  position: relative; margin: 0; background: var(--wmst-white);
  border: 1px solid var(--wmst-line); border-radius: 18px;
  padding: 42px 38px 32px; box-shadow: 0 18px 48px rgba(0,0,0,.08);
}
.review-feature__quote::before {
  content: ""; position: absolute; left: 38px; top: 0; width: 64px; height: 6px;
  background: var(--wmst-yellow); border-radius: 0 0 4px 4px;
}
.review-feature__mark {
  position: absolute; top: 26px; right: 30px;
  font-family: var(--font-display); font-weight: 700; font-size: 6rem; line-height: 0;
  color: var(--wmst-blue); opacity: .12;
}
.review-feature__quote blockquote {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.45;
  color: var(--wmst-black); margin: 0 0 26px; max-width: 40ch;
}
.review-feature__quote figcaption { display: flex; align-items: center; gap: 14px; }
.review-feature__avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: var(--wmst-blue); color: var(--wmst-white);
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
}
.review-feature__who { display: flex; flex-direction: column; font-size: .85rem; color: var(--wmst-text-soft); }
.review-feature__who strong { color: var(--wmst-black); font-weight: 600; font-size: .95rem; }

/* Enroll card (location list), light */
.enroll-card {
  background: var(--wmst-white); border: 1px solid var(--wmst-line);
  border-radius: 16px; padding: 26px 28px; box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.enroll-card h3 { font-size: 1.15rem; margin: 0 0 8px; }
.enroll-card__list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; }
.enroll-card__list li { border-bottom: 1px solid var(--wmst-line); }
.enroll-card__list li:last-child { border-bottom: none; }
.enroll-card__list a, .enroll-card__list span {
  display: flex; align-items: center; gap: 10px; padding: 11px 0; font-size: .95rem; color: var(--wmst-text);
}
.enroll-card__list a { color: var(--wmst-blue); font-weight: 600; }
.enroll-card__list a:hover { color: var(--wmst-blue-deep); }
.enroll-card__list svg { color: var(--wmst-blue); flex: none; }

/* width constraints for reused components on full-width sections */
.roadmap--wide { max-width: 620px; margin-inline: auto; }
.roadmap-block { max-width: 720px; margin-inline: auto; }
.roadmap-block__head { text-align: center; margin-bottom: var(--s-6); }
.roadmap-block__head .lede { margin-inline: auto; }
.loc-cards--wide { max-width: 920px; }

/* ============================================================
   Font system: Sora display (headings) + Roboto body.
   Italic pull-quotes keep Roboto Slab (Sora has no true italic).
   ============================================================ */
.quote,
.testi__quote,
.referral__quote blockquote,
.review-feature__quote blockquote,
.referral__mark,
.review-feature__mark { font-family: var(--font-slab); }

/* Sora reads best tight at display sizes */
.hero__title,
.page-hero__title,
.phero__title,
.chero__title,
.reg-hero__title { letter-spacing: -0.03em; }

/* ============================================================
   Primary nav — option 2 (centered icon nav, sticky shrink,
   animated yellow underline, program + register mega dropdowns)
   ============================================================ */
.hdr { border-bottom: 1px solid var(--wmst-line); transition: box-shadow var(--motion-med) var(--ease), border-color var(--motion-med) var(--ease); }
/* clean yellow line that draws in on scroll */
.hdr::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--wmst-yellow); transform: scaleX(0); transform-origin: center;
  transition: transform .5s var(--ease); pointer-events: none;
}
.hdr.is-scrolled { box-shadow: 0 10px 30px -14px rgba(8,26,48,.22); border-color: transparent; }
.hdr.is-scrolled::after { transform: scaleX(1); }
/* smooth shrink on scroll */
.hdr.is-scrolled .hdr__inner { padding-top: 9px; padding-bottom: 9px; }
.hdr__brand img { transition: height var(--motion-med) var(--ease); }
.hdr.is-scrolled .hdr__brand img { height: 42px; }
.hdr__cta { justify-self: end; }

/* icon nav items */
.nav-list { gap: 6px; justify-content: center; }
.nav-ico {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-family: var(--font-display); font-weight: 600; font-size: .82rem; line-height: 1.1;
  color: var(--wmst-black); background: none; border: 0; cursor: pointer;
  padding: 7px 16px; border-radius: 10px;
  transition: background var(--motion-fast) var(--ease), color var(--motion-fast) var(--ease);
}
.nav-ico:hover, .nav-item--mega:hover .nav-ico, .nav-ico[aria-expanded="true"] { background: var(--wmst-blue-soft); color: var(--wmst-blue-deep); }
.nav-ico__icon { width: 21px; height: 21px; color: var(--wmst-blue); transition: transform var(--motion-med) var(--ease); }
.hdr.is-scrolled .nav-ico__icon { transform: scale(.86); }
.nav-ico__lbl { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.nav-ico__chev { width: 9px; height: 9px; transition: transform var(--motion-fast) var(--ease); }
.nav-item--mega:hover .nav-ico__chev, .nav-ico[aria-expanded="true"] .nav-ico__chev,
.hdr__reg:hover .nav-ico__chev, .hdr__reg-btn[aria-expanded="true"] .nav-ico__chev { transform: rotate(180deg); }

/* Programs mega — 3 columns w/ program icons */
.mega--programs { display: none; grid-template-columns: repeat(3, minmax(168px, 1fr)); gap: 2px 18px; padding: 20px 24px; min-width: 600px; }
.mega--programs.is-open { display: grid; }
.mega__col h4 {
  display: flex; align-items: center; gap: 8px; margin: 0 0 8px;
  font-family: var(--font-display); font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--wmst-blue);
}
.mega__col h4 svg { width: 18px; height: 18px; }
.mega__col--moto h4 { color: var(--wmst-red); }
.mega--programs a, .mega--register a { padding: 8px 10px; font-size: .9rem; }
.mega--programs a::before, .mega--register a::before { display: none; }
.mega__all { color: var(--wmst-blue) !important; font-weight: 600 !important; font-size: .82rem !important; margin-top: 2px; }

/* CTA buttons — pill shapes, title-case (match approved preview) */
.hdr__cta .btn {
  border-radius: 999px;
  border-width: 2px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  text-transform: none;
  letter-spacing: 0;
  padding: 12px 24px;
}
.hdr__cta .hdr__help, .hdr__cta .btn--ghost {
  background: var(--wmst-white);
  color: var(--wmst-blue);
  border-color: var(--wmst-blue);
}
.hdr__cta .hdr__help:hover, .hdr__cta .btn--ghost:hover {
  background: var(--wmst-blue);
  color: var(--wmst-white);
  border-color: var(--wmst-blue);
}
.hdr__cta .hdr__reg-btn {
  background: var(--wmst-yellow);
  color: var(--wmst-black);
  border-color: var(--wmst-yellow);
}
.hdr__cta .hdr__reg-btn:hover {
  background: #E4B800;
  color: var(--wmst-black);
  border-color: #E4B800;
}

/* Register dropdown (right-aligned, icon links) */
.hdr__reg { position: relative; }
.hdr__reg-btn { display: inline-flex; align-items: center; gap: 7px; }
.mega--register { left: auto; right: 0; transform: none; min-width: 248px; margin-top: 12px; }
.mega--register a { display: flex; align-items: center; gap: 10px; }
.mega--register a svg { width: 18px; height: 18px; color: var(--wmst-blue); flex: none; }
.mega--register a:hover svg { color: var(--wmst-blue-deep); }

/* ============================================================
   Teen Drivers Ed — package comparison + promo banner
   ============================================================ */
.promo-band {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--wmst-yellow) 0%, #FFE680 100%);
  border-radius: 14px; padding: 16px 22px; margin-bottom: var(--s-4);
}
.promo-band__tag {
  flex: none; font-family: var(--font-display); font-weight: 800;
  background: var(--wmst-black); color: var(--wmst-white);
  font-size: .8rem; letter-spacing: .04em; padding: 6px 14px; border-radius: 999px;
}
.promo-band__text { margin: 0; font-size: .95rem; color: var(--wmst-black); }
.promo-band__text strong { font-weight: 700; }

.price-grid { display: grid; gap: 18px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 600px) { .price-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .price-grid { grid-template-columns: repeat(4, 1fr); } }

.price-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--wmst-white); border: 1px solid var(--wmst-line); border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05), 0 12px 30px rgba(0,0,0,.05);
  transition: transform var(--motion-fast) var(--ease), box-shadow var(--motion-fast) var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 8px 18px rgba(0,0,0,.08), 0 24px 50px rgba(0,0,0,.12); }
.price-card--featured { border: 2px solid var(--wmst-blue); }
.price-card__ribbon {
  position: absolute; top: 16px; right: -34px; z-index: 2;
  background: var(--wmst-yellow); color: var(--wmst-black);
  font-family: var(--font-display); font-weight: 800; font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 40px; transform: rotate(45deg); box-shadow: 0 2px 6px rgba(0,0,0,.18);
}
.price-card__head { background: var(--wmst-blue); padding: 20px 22px; }
.price-card__eyebrow { font-family: var(--font-display); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.price-card__name-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.price-card__name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--wmst-white); margin: 0; line-height: 1.15; }
.price-card__badge { font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--wmst-yellow); color: var(--wmst-black); padding: 3px 9px; border-radius: 999px; }
.price-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.price-card__pricing { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.price-card__price { font-family: var(--font-display); font-weight: 800; font-size: 2.8rem; line-height: 1; color: var(--wmst-blue); letter-spacing: -0.02em; }
.price-card__cur { font-size: .5em; font-weight: 700; vertical-align: super; margin-right: 1px; }
.price-card__was { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--wmst-text-soft); text-decoration: line-through; }
.price-card__list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.price-card__list li { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; line-height: 1.4; color: var(--wmst-text); }
.price-card__list svg { color: var(--wmst-blue); flex: none; margin-top: 1px; }
.price-card__cta {
  margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--wmst-yellow); color: var(--wmst-black); font-family: var(--font-display); font-weight: 700;
  font-size: .92rem; padding: 12px 18px; border-radius: 999px; white-space: nowrap;
  transition: background var(--motion-fast) var(--ease);
}
.price-card__cta:hover { background: #E4B800; color: var(--wmst-black); }
.price-card__cta svg { transition: transform var(--motion-fast) var(--ease); }
.price-card__cta:hover svg { transform: translateX(3px); }
.price-note { text-align: center; font-size: .85rem; color: var(--wmst-text-soft); margin: var(--s-4) auto 0; max-width: 60ch; }

/* Adult lesson packages — 5-up responsive grid + price */
.pkg-grid { display: grid; gap: var(--s-3); grid-template-columns: 1fr; }
@media (min-width: 560px)  { .pkg-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px)  { .pkg-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .pkg-grid { grid-template-columns: repeat(5, 1fr); } }
.pkg-card__price { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--wmst-blue); letter-spacing: -0.02em; margin: 2px 0 4px; }

/* About — Motochap (founder's YouTube) card */
.motochap {
  display: block; margin-top: var(--s-4);
  background: var(--wmst-white); border: 1px solid var(--wmst-line);
  border-radius: 16px; overflow: hidden; text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  transition: transform var(--motion-fast) var(--ease), box-shadow var(--motion-fast) var(--ease);
}
.motochap:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.motochap__thumb { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; }
.motochap__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--motion-med) var(--ease); }
.motochap:hover .motochap__thumb img { transform: scale(1.04); }
.motochap__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 60px; height: 60px; border-radius: 50%;
  background: #FF0000; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
  transition: transform var(--motion-fast) var(--ease), background var(--motion-fast) var(--ease);
}
.motochap__play svg { margin-left: 2px; }
.motochap:hover .motochap__play { transform: translate(-50%, -50%) scale(1.08); }
.motochap__foot { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.motochap__logo { height: 48px; width: auto; flex: none; }
.motochap__text { display: flex; flex-direction: column; line-height: 1.25; }
.motochap__text strong { font-family: var(--font-display); font-weight: 700; color: var(--wmst-black); }
.motochap__text span { color: var(--wmst-blue); font-weight: 600; font-size: .85rem; }
