/* Kyle Taylor CPR & First Aid Training — shared styles (mobile-first) */

:root {
  --bg: #000;
  --bg-2: #0b0b0b;
  --card: #111;
  --card-2: #171717;
  --line: #2a2a2a;
  --text: #fff;
  --muted: #b9b9b9;
  --red: #ff2a3d;        /* bright accent for text on black */
  --red-dark: #b0101f;   /* buttons / borders */
  --red-deep: #6e0a14;   /* backgrounds */
  --radius: 10px;
  --max: 1080px;
  --head: "Arial Black", "Helvetica Neue", Arial, system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); }
a:hover { color: var(--red); }
h1, h2, h3 { font-family: var(--head); font-weight: 900; line-height: 1.12; margin: 0 0 .6em; letter-spacing: .01em; }
h1 { font-size: clamp(1.9rem, 6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--red-dark); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(0,0,0,.94); backdrop-filter: blur(6px); border-bottom: 2px solid var(--red-dark); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 1rem; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.05; font-family: var(--head); text-transform: uppercase; }
.brand .b1 { font-size: 1.05rem; letter-spacing: .06em; color: #fff; }
.brand .b2 { font-size: .68rem; letter-spacing: .12em; color: var(--red); }
.brand:hover .b1 { color: #fff; }
.nav-toggle { background: none; border: 2px solid var(--red-dark); color: #fff; font: inherit; font-weight: 700; padding: .4rem .85rem; border-radius: 8px; cursor: pointer; }
.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #000; border-bottom: 2px solid var(--red-dark); padding: .5rem 1.1rem 1rem; }
.nav.open { display: block; }
.nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.nav a { display: block; padding: .7rem .4rem; text-decoration: none; font-weight: 700; border-bottom: 1px solid var(--line); }
.nav a[aria-current="page"] { color: var(--red); }
.nav a.nav-cta { margin-top: .6rem; text-align: center; background: var(--red-dark); border: 0; border-radius: 8px; color: #fff; }
.nav a.nav-cta:hover { background: #d31428; color: #fff; }

@media (min-width: 820px) {
  .nav-toggle { display: none; }
  .nav { display: block; position: static; background: none; border: 0; padding: 0; }
  .nav ul { display: flex; align-items: center; gap: .3rem; }
  .nav a { border: 0; padding: .5rem .8rem; border-radius: 8px; }
  .nav a:hover { background: var(--card-2); }
  .nav a.nav-cta { margin: 0 0 0 .4rem; padding: .55rem 1rem; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-block; background: var(--red-dark); color: #fff; font-family: var(--head); font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; padding: .95rem 1.6rem; border: 2px solid var(--red-dark); border-radius: 8px; cursor: pointer; transition: background .15s, border-color .15s, transform .05s; }
.btn:hover { background: #d31428; border-color: #d31428; color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; border-color: #fff; }
.btn-ghost:hover { background: #fff; color: #000; border-color: #fff; }
.btn-small { padding: .55rem 1rem; font-size: .85rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- Sections ---------- */
.section { padding: 3rem 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { font-family: var(--head); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--red); margin: 0 0 .6rem; }
.lead { font-size: 1.15rem; color: #e9e9e9; }
.muted { color: var(--muted); }
.rule { width: 64px; height: 4px; background: var(--red-dark); border: 0; margin: 0 0 1.4rem; }

/* ---------- Hero ---------- */
.hero { position: relative; text-align: center; padding: 2.5rem 0 3.25rem; background: radial-gradient(ellipse at 50% 0%, rgba(176,16,31,.38), rgba(0,0,0,0) 62%), #000; border-bottom: 2px solid var(--red-dark); }
.hero-logo { width: min(86%, 620px); margin: 0 auto 1.4rem; }
.hero .tagline { font-family: var(--head); font-size: clamp(1.25rem, 4.6vw, 2rem); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 1.2rem; }
.hero .tagline span { color: var(--red); display: block; }
.price-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem .6rem; margin: 0 0 1.6rem; padding: 0; list-style: none; }
.price-strip li { border: 1px solid var(--red-dark); background: rgba(110,10,20,.28); padding: .4rem .9rem; border-radius: 999px; font-weight: 700; font-size: .98rem; }
.hero-note { margin-top: 1rem; color: var(--muted); font-size: .95rem; }

/* ---------- Grids / cards ---------- */
.grid { display: grid; gap: 1rem; }
.grid.cols-2 { grid-template-columns: 1fr; }
.grid.cols-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid.cols-2, .grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.tile { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--red-dark); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.tile h3 { font-size: 1.05rem; margin-bottom: .3rem; text-transform: uppercase; letter-spacing: .03em; }
.tile p { margin: 0; color: var(--muted); font-size: .98rem; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.steps li { counter-increment: step; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem 1rem 4rem; }
.steps li::before { content: counter(step); position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--red-dark); font-family: var(--head); display: grid; place-items: center; }
.steps strong { display: block; }

.callout { border-left: 5px solid var(--red-dark); background: var(--card); padding: 1rem 1.2rem; border-radius: 0 var(--radius) var(--radius) 0; }
.callout p:last-child { margin-bottom: 0; }

.cta-band { text-align: center; padding: 3rem 0; background: linear-gradient(180deg, #000, var(--red-deep)); border-top: 2px solid var(--red-dark); }
.cta-band h2 { margin-bottom: 1rem; }

/* ---------- Page heading ---------- */
.page-head { padding: 2.5rem 0 1.5rem; background: radial-gradient(ellipse at 20% 0%, rgba(176,16,31,.3), rgba(0,0,0,0) 60%), #000; border-bottom: 1px solid var(--line); }
.page-head p { max-width: 46rem; color: #e1e1e1; margin: 0; }

/* ---------- Class cards ---------- */
.class-list { display: grid; gap: 1.4rem; padding: 2rem 0 3rem; }
.class-card { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--red-dark); border-radius: var(--radius); padding: 1.3rem; }
.class-card h2 { font-size: 1.5rem; margin-bottom: .5rem; }
.class-card .price { font-family: var(--head); color: var(--red); font-size: 1.05rem; margin: 0 0 .8rem; }
.class-card .notice { display: inline; font-weight: 800; color: #fff; background: var(--red-deep); padding: .1rem .35rem; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.class-card .desc { color: #dedede; }
.variations { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: .6rem; }
.variations li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .5rem .8rem; background: var(--card-2); border: 1px solid var(--line); border-radius: 8px; padding: .7rem .9rem; }
.v-name { font-weight: 800; }
.v-meta { grid-column: 1; color: var(--muted); font-size: .92rem; }
.variations .btn { grid-column: 2; grid-row: 1 / span 2; }
.tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; border: 1px solid var(--red-dark); color: #ffd9dc; padding: .05rem .45rem; border-radius: 999px; margin-left: .3rem; white-space: nowrap; }

@media (min-width: 760px) {
  .variations { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Lists ---------- */
.checks { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.checks li { padding-left: 1.7rem; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: .8rem; height: .8rem; background: var(--red-dark); border-radius: 50%; }

/* ---------- Footer ---------- */
.site-footer { border-top: 2px solid var(--red-dark); background: #000; padding: 2rem 0 2.4rem; text-align: center; }
.site-footer .fname { font-family: var(--head); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .6rem; }
.site-footer p { color: var(--muted); font-size: .88rem; max-width: 46rem; margin: 0 auto; }

/* ---------- Booking form ---------- */
.book-layout { display: grid; gap: 1.5rem; padding: 2rem 0 3rem; }
@media (min-width: 960px) { .book-layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }

.fieldset { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; margin: 0 0 1.2rem; min-width: 0; }
.fieldset > legend, .fieldset > .legend { float: left; width: 100%; font-family: var(--head); font-size: 1.15rem; margin: 0 0 1rem; padding: 0; }
.fieldset > legend + *, .fieldset > .legend + * { clear: both; }
.fieldset .legend .n { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--red-dark); font-size: .95rem; margin-right: .55rem; }

.field { margin: 0 0 1rem; }
.field > label, .field > .lbl { display: block; font-weight: 700; margin-bottom: .35rem; }
.field .hint { color: var(--muted); font-size: .9rem; margin: .25rem 0 0; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; background: #000; color: #fff; border: 2px solid #3a3a3a; border-radius: 8px; padding: .75rem .85rem; font: inherit; min-height: 48px;
}
textarea { min-height: 110px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 2.4rem; }
input:focus, select:focus, textarea:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 3px rgba(255,42,61,.35); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--red); }
input:disabled, select:disabled { opacity: .6; }
.err { color: #ff8b97; font-size: .92rem; margin: .3rem 0 0; font-weight: 600; }
.err:empty { display: none; }
.row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .row.two { grid-template-columns: 1fr 1fr; } .row.addr { grid-template-columns: 2fr 1fr 1fr; } .row.addr3 { grid-template-columns: 2fr 1fr 1fr; } }

.choices { display: grid; gap: .6rem; }
@media (min-width: 520px) { .choices.two { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: block; border: 2px solid #3a3a3a; border-radius: 8px; padding: .8rem .95rem; background: #000; font-weight: 700; }
.choice input:checked + span { border-color: var(--red); background: var(--red-deep); }
.choice input:focus-visible + span { outline: 3px solid #fff; outline-offset: 2px; }

.check { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer; }
.check input { width: 1.35rem; height: 1.35rem; margin-top: .2rem; accent-color: var(--red-dark); flex: none; }

.notice-box { border: 1px solid var(--red-dark); background: rgba(110,10,20,.35); border-radius: 8px; padding: .8rem 1rem; margin: 0 0 1rem; }
.notice-box p:last-child { margin: 0; }
.info-box { border: 1px solid var(--line); background: var(--card-2); border-radius: 8px; padding: .7rem 1rem; margin: 0 0 1rem; font-size: .98rem; }

/* date picker */
.cal { background: #000; border: 2px solid #3a3a3a; border-radius: 10px; padding: .8rem; max-width: 420px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.cal-title { font-family: var(--head); }
.cal-nav { background: var(--card-2); color: #fff; border: 1px solid #3a3a3a; border-radius: 8px; width: 44px; height: 44px; font-size: 1.2rem; cursor: pointer; }
.cal-nav:disabled { opacity: .3; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: .75rem; color: var(--muted); padding: .2rem 0; font-weight: 700; }
.cal-day { aspect-ratio: 1 / 1; min-height: 40px; border-radius: 8px; border: 1px solid transparent; background: var(--card-2); color: #fff; font: inherit; font-weight: 700; cursor: pointer; padding: 0; }
.cal-day:hover:not(:disabled) { border-color: var(--red); }
.cal-day:disabled { background: transparent; color: #555; cursor: not-allowed; text-decoration: line-through; text-decoration-color: #333; }
.cal-day.blank { visibility: hidden; }
.cal-day.sat-only:disabled { text-decoration: none; color: #7d5a5e; border: 1px dashed #4a2a2f; }
.cal-day.selected { background: var(--red-dark); border-color: #fff; }
.cal-legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .85rem; color: var(--muted); margin-top: .6rem; }
.cal-legend i { display: inline-block; width: .8rem; height: .8rem; border-radius: 3px; margin-right: .3rem; vertical-align: -1px; }

/* students */
.student { border: 1px solid var(--line); border-radius: 8px; padding: .8rem; margin: 0 0 .8rem; background: var(--card-2); }
.student-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.student-head strong { font-family: var(--head); font-size: .95rem; }
.link-btn { background: none; border: 0; color: #ff8b97; font: inherit; text-decoration: underline; cursor: pointer; padding: .3rem; }

/* summary */
.summary { background: var(--card); border: 2px solid var(--red-dark); border-radius: var(--radius); padding: 1.2rem; }
@media (min-width: 960px) { .summary { position: sticky; top: 84px; } }
.summary h2 { font-size: 1.2rem; }
.summary dl { margin: 0 0 1rem; display: grid; gap: .5rem; }
.summary dt { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.summary dd { margin: 0; font-weight: 700; }
.line { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: .8rem; font-family: var(--head); font-size: 1.5rem; }
.total .amt { color: var(--red); }
.total-label { font-size: .85rem; color: var(--muted); margin: .3rem 0 1rem; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 1rem 0 0; font-weight: 700; }
.form-status.error { color: #ff8b97; }
.success { background: var(--card); border: 2px solid var(--red-dark); border-radius: var(--radius); padding: 2rem 1.4rem; text-align: center; margin: 2rem 0 3rem; }
.success h2 { color: var(--red); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- Landing page: grouped class list ---------- */
.hero-compact { padding: 1.6rem 0 1.8rem; }
.hero-compact .hero-logo { width: min(70%, 420px); margin-bottom: 1rem; }
.hero-compact .tagline { margin-bottom: .9rem; }
.hero-compact .price-strip { margin-bottom: .6rem; }
.hero-compact .hero-note { margin: 0; }
.class-group { display: grid; gap: 1.2rem; }
.group-title { font-size: clamp(1.4rem, 4.5vw, 1.9rem); margin: .6rem 0 0; padding-bottom: .5rem; border-bottom: 3px solid var(--red-dark); }
.class-card h3 { font-size: 1.4rem; margin-bottom: .5rem; }
@media (min-width: 760px) { .class-list { gap: 2.2rem; } }

/* ---------- Landing page v3: compact rows ---------- */
.intro { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--red-dark); border-radius: var(--radius); padding: 1.1rem 1.3rem .6rem; margin: 1.6rem 0 0; }
.intro h2 { font-size: 1.15rem; margin-bottom: .7rem; }
.group-note { margin: -.4rem 0 0; color: #e1e1e1; font-weight: 600; }
.class-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1.1rem; }
.class-row .cr-main { min-width: 0; }
.class-row h3 { font-size: 1.2rem; margin: 0 0 .2rem; }
.cr-meta { margin: 0; display: flex; flex-wrap: wrap; gap: .1rem 1rem; color: var(--muted); font-weight: 700; }
.cr-meta span:first-child { color: var(--red); }
.class-desc { background: var(--card-2); border: 1px solid var(--line); border-radius: 8px; padding: .8rem 1rem; margin: 0 0 1rem; font-size: .97rem; color: #dedede; }
.class-desc strong { color: #fff; }

/* =====================================================================
   v5: clean system-font look, grid on the hero only, heartbeat sweep
   ===================================================================== */
:root {
  --head: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bg: #000;
  --card: rgba(255,255,255,.05);
  --card-2: rgba(255,255,255,.08);
  --line: rgba(255,255,255,.14);
  --red: #ff453a;
  --red-dark: #c8121f;
  --radius: 18px;
}
body { font-family: var(--body); background: #000; font-size: 1.0625rem; line-height: 1.55; letter-spacing: -.005em; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; letter-spacing: -.022em; line-height: 1.1; }

.site-header { background: rgba(0,0,0,.72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.brand { text-transform: none; font-family: var(--head); }
.brand .b1 { font-size: 1.1rem; font-weight: 600; letter-spacing: -.01em; }
.brand .b2 { font-size: .68rem; font-weight: 600; letter-spacing: .09em; color: var(--red); }
.nav a { font-weight: 500; }
.nav a.nav-cta, .btn { border-radius: 999px; font-family: var(--body); font-weight: 600; text-transform: none; letter-spacing: 0; }
.btn { font-size: 1rem; padding: .85rem 1.6rem; }
.btn-small { font-size: .92rem; padding: .5rem 1.15rem; }
.btn-ghost { border-color: rgba(255,255,255,.5); }
.eyebrow { font-family: var(--body); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .76rem; color: var(--red); }

/* hero: centered logo, small grid behind it only */
.hero3 { position: relative; overflow: hidden; text-align: center; padding: 1.6rem 0 0; border-bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(176,16,31,.34), rgba(0,0,0,0) 62%), #000; }
.hero3::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.075) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.075) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 50% 38%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 85% at 50% 38%, #000 25%, transparent 78%); }
.hero3 > * { position: relative; }
.hero3 .hero-logo { width: min(86%, 560px); margin: 0 auto 1.2rem; animation: heart 2.4s ease-in-out infinite; transform-origin: 50% 40%; }
.tagline { font-family: var(--head); font-weight: 600; font-size: clamp(1.4rem, 4.6vw, 2.1rem); letter-spacing: -.02em; line-height: 1.2; text-transform: none; margin: 0 0 1.3rem; }
.tagline span { display: block; color: var(--red); }
.price-strip li { border: 1px solid var(--line); background: var(--card); font-weight: 500; padding: .45rem 1rem; }
.who-label { margin: 1.5rem 0 .55rem; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.who { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.who li { border: 1px solid var(--line); background: var(--card); padding: .4rem .95rem; border-radius: 999px; font-weight: 500; font-size: .95rem; }

/* heartbeat sweep across the full width */
.pulse { height: 90px; margin: 1.6rem 0 0; position: relative; }
.pulse svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pulse path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.pulse-base { stroke: rgba(255,69,58,.28); stroke-width: 2; }
.pulse-run { stroke: var(--red); stroke-width: 3; stroke-dasharray: 150 1000; stroke-dashoffset: 150; animation: sweep 4.6s linear infinite; filter: drop-shadow(0 0 7px rgba(255,69,58,.9)); }
@keyframes sweep { to { stroke-dashoffset: -1000; } }
@keyframes heart { 0%, 38%, 100% { transform: scale(1); } 10% { transform: scale(1.03); } 20% { transform: scale(1); } 28% { transform: scale(1.02); } }
@media (prefers-reduced-motion: reduce) {
  .pulse-run { animation: none; stroke-dasharray: none; stroke-dashoffset: 0; opacity: .55; filter: none; }
  .hero3 .hero-logo { animation: none; }
}

/* intro + class list */
.intro { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem .8rem; margin-top: 1.8rem; }
.intro h2 { font-size: 1.2rem; }
.checks li::before { width: .5rem; height: .5rem; top: .6em; background: var(--red); }
.group-title { font-size: clamp(1.5rem, 4.6vw, 1.9rem); font-weight: 600; border-bottom: 1px solid var(--line); padding-bottom: .6rem; }
.group-note { color: #d1d1d6; font-weight: 400; }
.class-row { background: var(--card); border-radius: var(--radius); transition: border-color .15s, background .15s; }
.class-row:hover { border-color: rgba(255,69,58,.55); background: var(--card-2); }
.class-row h3 { font-size: 1.2rem; font-weight: 600; }
.cr-meta { font-weight: 500; }
.cr-meta span:first-child { color: var(--red); }
.site-footer { border-top: 1px solid var(--line); }
.site-footer .fname { font-family: var(--head); text-transform: none; letter-spacing: -.01em; font-weight: 600; }
.hero3 .tagline { text-transform: none; letter-spacing: -.02em; font-weight: 600; font-size: clamp(1.4rem, 4.6vw, 2.1rem); }
.nav-toggle { border: 1px solid var(--line); border-radius: 999px; font-weight: 600; padding: .4rem 1rem; background: var(--card); }

/* =====================================================================
   v6: booking page. One size, two weights. Bold only for section titles,
   the class title, and class length. Grid behind the page heading.
   ===================================================================== */
.page-head { position: relative; overflow: hidden; border-bottom: 0; }
.page-head::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.075) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.075) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 80% 120% at 25% 20%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 120% at 25% 20%, #000 20%, transparent 78%); }
.page-head > * { position: relative; }
.page-head h1 { font-weight: 600; letter-spacing: -.025em; }

.book-layout { font-size: 1rem; font-weight: 400; }
.book-layout strong { font-weight: 400; }
.book-layout .b { font-weight: 600; }
.book-layout .fieldset { border-radius: var(--radius); background: var(--card); }
.book-layout .fieldset > legend, .book-layout .fieldset > .legend { font: 600 1.25rem/1.2 var(--head); letter-spacing: -.02em; }
.book-layout .fieldset .legend .n { font: 600 .875rem/1 var(--body); width: 1.75rem; height: 1.75rem; }
.book-layout .field > label, .book-layout .field > .lbl { font-weight: 400; font-size: 1rem; color: #d1d1d6; margin-bottom: .4rem; }
.book-layout .field .hint, .book-layout .err, .book-layout .muted { font-size: .875rem; font-weight: 400; }
.book-layout .muted { color: var(--muted); }
.book-layout input[type="text"], .book-layout input[type="email"], .book-layout input[type="tel"], .book-layout select, .book-layout textarea { font: 400 1rem/1.4 var(--body); border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(0,0,0,.55); }
.book-layout input:focus, .book-layout select:focus, .book-layout textarea:focus { border-color: var(--red); }
.book-layout .choice span { font-weight: 400; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); }
.book-layout .choice input:checked + span { border-color: var(--red); background: rgba(200,18,31,.28); }
.book-layout .check { align-items: flex-start; }
.book-layout .check > span { font-weight: 400; }
.book-layout .notice-box, .book-layout .info-box, .book-layout .class-desc { font-size: 1rem; font-weight: 400; border-radius: 12px; }
.book-layout .notice-box { border-color: rgba(255,69,58,.5); background: rgba(200,18,31,.14); }
.book-layout .class-desc { font-size: .9375rem; color: #d1d1d6; }
.book-layout .class-desc .notice-text { color: #fff; font-weight: 400; }
.book-layout .info-box { background: var(--card-2); }
.start-readout { margin: .2rem 0 0; padding: .75rem 1rem; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); }

.book-layout .cal { border-radius: 14px; border: 1px solid rgba(255,255,255,.2); background: rgba(0,0,0,.55); }
.book-layout .cal-title { font: 600 1rem var(--body); }
.book-layout .cal-dow { font-size: .8125rem; font-weight: 400; }
.book-layout .cal-day { font: 400 1rem var(--body); border-radius: 10px; }
.book-layout .cal-day:disabled { text-decoration: none; color: #4a4a4f; background: transparent; }
.book-layout .cal-day.selected { background: var(--red-dark); border-color: #fff; font-weight: 400; }
.book-layout .cal-nav { border-radius: 999px; }

.book-layout .student { border-radius: 12px; }
.book-layout .student-head strong { font: 400 .875rem var(--body); color: var(--muted); }
.book-layout .link-btn { font-size: .875rem; }
.book-layout .btn, .book-layout .btn-ghost { font-weight: 600; }

.summary { border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.summary h2 { font: 600 1.25rem/1.2 var(--head); letter-spacing: -.02em; }
.summary dt { font-size: .875rem; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted); }
.summary dd { font-weight: 400; }
.summary .line { font-size: 1rem; font-weight: 400; }
.summary .total { font: 600 1.25rem/1.2 var(--head); }
.summary .total .amt { color: var(--red); }
.summary .total-label { font-size: .875rem; }
@media (max-width: 559px) {
  .book-layout .row.addr { grid-template-columns: 1fr 1fr; }
  .book-layout .row.addr > :first-child { grid-column: 1 / -1; }
}

/* v7: compact phone layout (shorter page) */
@media (max-width: 559px) {
  .page-head { padding: 1.25rem 0 .9rem; }
  .page-head h1 { font-size: 1.6rem; margin: 0 0 .35rem; }
  .page-head p { font-size: .9rem; line-height: 1.4; }
  .book-layout { font-size: .9375rem; }
  .book-layout .fieldset { padding: .9rem; margin: 0 0 .75rem; }
  .book-layout .fieldset > legend, .book-layout .fieldset > .legend { font-size: 1.05rem; margin: 0 0 .65rem; }
  .book-layout .fieldset .legend .n { width: 1.5rem; height: 1.5rem; font-size: .8rem; margin-right: .45rem; }
  .book-layout .field { margin: 0 0 .65rem; }
  .book-layout .field > label, .book-layout .field > .lbl { font-size: .875rem; margin-bottom: .25rem; }
  .book-layout input[type="text"], .book-layout input[type="email"], .book-layout input[type="tel"], .book-layout select { min-height: 42px; padding: .5rem .75rem; font-size: 1rem; }
  .book-layout textarea { min-height: 72px; padding: .5rem .75rem; }
  .book-layout .choices.two { grid-template-columns: 1fr 1fr; gap: .45rem; }
  .book-layout .choice span { padding: .55rem .5rem; font-size: .875rem; text-align: center; }
  .book-layout .notice-box, .book-layout .info-box, .book-layout .class-desc { padding: .55rem .75rem; margin: 0 0 .65rem; font-size: .875rem; line-height: 1.4; }
  .book-layout .field .hint, .book-layout .err, .book-layout .muted { font-size: .8125rem; }
  .start-readout { padding: .5rem .75rem; font-size: .9375rem; }
  .book-layout .cal { padding: .5rem; }
  .book-layout .cal-grid { gap: 2px; }
  .book-layout .cal-nav { width: 36px; height: 36px; }
  .book-layout .cal-head { margin-bottom: .25rem; }
  .book-layout .cal-day { aspect-ratio: auto; min-height: 36px; height: 36px; font-size: .9375rem; }
  .book-layout .cal-dow { font-size: .75rem; padding: .1rem 0; }
  .book-layout .student { padding: .6rem; margin: 0 0 .55rem; }
  .book-layout .student-head { margin-bottom: .3rem; }
  .book-layout .check { gap: .55rem; }
  .book-layout .check input { width: 1.15rem; height: 1.15rem; }
  .book-layout .btn { padding: .7rem 1.2rem; }
  .summary { padding: .9rem; }
  .summary h2 { font-size: 1.05rem; margin: 0 0 .5rem; }
  .summary dl { gap: .35rem; margin: 0 0 .6rem; }
}
@media (max-width: 559px) {
  .book-layout .field > label[for="class"] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .book-layout .class-desc { font-size: .8125rem; line-height: 1.35; }
  .book-layout .cal-day { min-height: 34px; height: 34px; }
  .book-layout .cal-nav { width: 32px; height: 32px; }
  .page-head p { font-size: .875rem; }
}

/* v8: desktop - date details sit to the right of the calendar */
.start-readout .sr-k { display: block; font-size: .875rem; color: var(--muted); margin-bottom: .1rem; }
.start-readout > div + div { margin-top: .7rem; }
@media (min-width: 760px) {
  .book-layout .date-split { display: flex; gap: 1.5rem; align-items: flex-start; }
  .book-layout .date-split > .field { flex: 0 1 420px; min-width: 0; margin: 0; }
  .book-layout .date-split .start-readout { flex: 1 1 0; min-width: 0; margin: 1.85rem 0 0; padding: 1rem 1.2rem; }
}
@media (max-width: 759px) {
  .start-readout > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
  .start-readout .sr-k { display: inline; margin: 0; }
  .start-readout > div + div { margin-top: .3rem; }
}

/* v9: logo beats exactly when the red line reaches each heartbeat spike (same 4.6s cycle as the sweep) */
.hero3 .hero-logo { animation: heart 4.6s linear infinite; }
@keyframes heart {
  0%, 16% { transform: scale(1); animation-timing-function: ease-out; }
  18.5%   { transform: scale(1.035); animation-timing-function: ease-in-out; }
  22.5%   { transform: scale(1); animation-timing-function: ease-out; }
  25%     { transform: scale(1.015); animation-timing-function: ease-in-out; }
  29%, 61% { transform: scale(1); animation-timing-function: ease-out; }
  63.3%   { transform: scale(1.035); animation-timing-function: ease-in-out; }
  67.3%   { transform: scale(1); animation-timing-function: ease-out; }
  69.8%   { transform: scale(1.015); animation-timing-function: ease-in-out; }
  73.8%, 100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) { .hero3 .hero-logo { animation: none; } }

/* v10: no top bar. Booking page gets a small back link; home hero sits at the top. */
.back-link { display: inline-block; color: var(--muted); text-decoration: none; font-size: .9375rem; margin: 0 0 .6rem; }
.back-link:hover { color: #fff; }
.hero3 { padding-top: 2.25rem; }
.page-head { padding-top: 1.6rem; }
@media (max-width: 559px) { .page-head { padding-top: 1.1rem; } .hero3 { padding-top: 1.6rem; } }

/* v11: phones get a single heartbeat, timed with the logo; desktop keeps the two-beat line */
.pulse-m { display: none; }
@media (max-width: 700px) {
  .pulse > svg:not(.pulse-m) { display: none; }
  .pulse .pulse-m { display: block; }
  .pulse-m .pulse-run { animation-duration: 2.6s; }
  .hero3 .hero-logo { animation: heart-m 2.6s linear infinite; }
}
/* the red line reaches the spike 38% into the 2.6s cycle */
@keyframes heart-m {
  0%, 35%  { transform: scale(1); animation-timing-function: ease-out; }
  38%      { transform: scale(1.035); animation-timing-function: ease-in-out; }
  42%      { transform: scale(1); animation-timing-function: ease-out; }
  44.5%    { transform: scale(1.015); animation-timing-function: ease-in-out; }
  48.5%, 100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) { .hero3 .hero-logo { animation: none !important; } }

/* v12: landing copy (headline, stats, why train, classes header) */
.hero-q { font-size: clamp(1.25rem, 4.6vw, 1.75rem); line-height: 1.2; font-weight: 600; letter-spacing: -.01em; margin: 1.2rem auto .5rem; max-width: 30ch; text-wrap: balance; }
.hero-sub { color: var(--muted); font-size: clamp(.95rem, 3.6vw, 1.1rem); max-width: 42ch; margin: 0 auto 1rem; text-wrap: balance; }
.hero-cta { margin: 0 0 1.1rem; }
.hero-cta .btn { padding: .75rem 1.8rem; }
.statband { border-block: 1px solid var(--line); background: rgba(255,255,255,.025); padding: 1.4rem 0 1rem; margin-top: 1.4rem; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 1rem; text-align: center; }
.stats li { display: grid; gap: .15rem; }
.stats b { font-size: clamp(2rem, 8vw, 2.8rem); line-height: 1; font-weight: 700; color: var(--red); letter-spacing: -.02em; }
.stats span { color: var(--muted); font-size: .95rem; max-width: 26ch; margin: 0 auto; }
.stat-src { font-style: italic; text-align: center; color: var(--muted); font-size: .75rem; margin: 1rem 0 0; opacity: .8; }
.why { padding-top: 2rem; }
.why > h2, .classes-head h2 { font-size: clamp(1.4rem, 5vw, 1.9rem); margin: 0 0 .9rem; letter-spacing: -.01em; }
.why-grid { display: grid; grid-template-columns: 1fr; gap: .8rem; }
.why-grid > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.15rem; }
.why-grid h3 { font-size: 1.05rem; margin: 0 0 .3rem; }
.why-grid p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.classes-head { padding-top: 2.2rem; }
.classes-head p { color: var(--muted); margin: -.4rem 0 0; }
.class-list { padding-top: 1.2rem; }
@media (min-width: 760px) {
  .stats { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  .stats b { font-size: clamp(1.7rem, 3.4vw, 2.5rem); white-space: nowrap; }
  .stats span { font-size: .9rem; }
  .why-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .why-grid > div { padding: 1.25rem 1.3rem; }
}

/* v13: two main class cards + secondary class buttons */
.class-cards { display: grid; gap: .8rem; padding-top: 1.2rem; }
.class-card { display: flex; align-items: center; gap: .9rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; transition: border-color .15s, background .15s; }
.class-card:hover { border-color: rgba(255,69,58,.55); background: var(--card-2); }
.cc-icon { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--red); background: rgba(200,18,31,.16); border: 1px solid rgba(255,69,58,.35); }
.cc-icon .ico { width: 26px; height: 26px; }
.cc-main { flex: 1; min-width: 0; }
.class-card h3 { font-size: 1.15rem; font-weight: 600; margin: 0 0 .15rem; }
.cc-note { margin: .35rem 0 0; color: var(--muted); font-size: .8125rem; line-height: 1.35; }
.class-card .btn { flex: none; }
.more-label { margin: 1.5rem 0 .6rem; color: var(--muted); font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; text-align: center; }
.more-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; padding-bottom: 2.2rem; }
.chip-btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: .5rem 1.1rem .5rem .85rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: #fff; text-decoration: none; font-weight: 500; font-size: .95rem; transition: border-color .15s, background .15s; }
.chip-btn .ico { width: 20px; height: 20px; color: var(--red); flex: none; }
.chip-btn:hover, .chip-btn:focus-visible { border-color: rgba(255,69,58,.7); background: var(--card-2); }
@media (max-width: 559px) {
  .class-card { padding: .85rem .9rem; gap: .7rem; }
  .cc-icon { width: 40px; height: 40px; }
  .cc-icon .ico { width: 22px; height: 22px; }
  .class-card h3 { font-size: 1.05rem; }
  .more-btns { flex-direction: column; align-items: stretch; }
  .chip-btn { justify-content: flex-start; }
}
@media (max-width: 559px) {
  .class-card { gap: .6rem; padding: .8rem .8rem; }
  .cc-icon { width: 36px; height: 36px; }
  .cc-icon .ico { width: 20px; height: 20px; }
  .class-card h3 { font-size: .98rem; line-height: 1.25; }
  .class-card .cr-meta { font-size: .84rem; gap: .05rem .7rem; }
  .class-card .btn { padding: .5rem .95rem; }
  .cc-note { font-size: .78rem; }
}

/* v14: booking info moved below "Why train" */
.ready { text-align: center; padding-top: 2.2rem; }
.ready .hero-sub { margin-top: 0; }
.ready .price-strip { justify-content: center; }
.ready .who-label { margin-top: 1.4rem; }
.hero3 .hero-q { margin-bottom: 1.1rem; }

/* v15: phone summary bar + sheet; desktop summary rides higher now that there is no top bar */
.sum-bar, .sum-sheet, .sum-dim { display: none; }
@media (max-width: 959px) {
  .sum-bar:not([hidden]) { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; gap: .8rem; background: #111; border-top: 2px solid var(--red-dark); padding: .65rem max(1rem, env(safe-area-inset-left, 0px)) calc(.65rem + env(safe-area-inset-bottom, 0px)); }
  .sum-bar .sb-t { flex: 1; min-width: 0; }
  .sum-bar small { display: block; color: var(--muted); font-size: .8125rem; }
  .sum-bar b { font-size: 1.25rem; font-weight: 600; }
  .sum-bar .sb-btn { border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: .5rem .9rem; font: 600 .875rem/1.2 var(--body); background: transparent; color: #fff; cursor: pointer; white-space: nowrap; }
  .sum-dim:not([hidden]) { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 65; }
  .sum-sheet:not([hidden]) { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #111; border-top: 2px solid var(--red); border-radius: 18px 18px 0 0; border: 0; border-top: 2px solid var(--red); padding: 1rem max(1.1rem, env(safe-area-inset-left, 0px)) calc(1.2rem + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -20px 40px rgba(0,0,0,.6); max-height: 80vh; overflow-y: auto; }
  .sum-sheet .sb-close { float: right; background: none; border: 0; color: var(--muted); font: 400 .9375rem var(--body); cursor: pointer; padding: .2rem 0 .2rem .8rem; }
  .sum-sheet h2 { font-size: 1.125rem; margin: 0 0 .6rem; }
}
@media (min-width: 960px) { .summary { top: 24px; } }

/* v16: submit + terms live in the summary card */
.sum-actions { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.sum-actions .field { margin-bottom: .9rem; }
.sum-actions .btn { width: 100%; }
.summary .total-label { margin: .4rem 0 0; }

/* v17: justified terms text in the summary card */
.sum-actions .check span { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }

/* Short-notice request */
.short-notice { margin: .9rem 0 0; padding: .7rem .9rem; border: 1px dashed var(--line); border-radius: 12px; }
.short-notice .sn-q { margin: 0; font-size: .9375rem; max-width: none; }
.short-notice .link-btn { padding: .2rem .1rem; }
.short-notice #snPanel { margin-top: .6rem; }
.short-notice label { display: block; font-weight: 600; margin: 0 0 .3rem; }
.short-notice input[type=date] { width: 100%; max-width: 15rem; }

/* Phones: smaller "Classes for" pills so they pack into fewer rows */
@media (max-width: 600px) {
  .who { gap: .35rem; }
  .who li { padding: .25rem .65rem; font-size: .8rem; }
}

/* Floating contact button and message form (assets/js/contact.js) */
.kt-chat { position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: .6rem; }
.kt-chat-fab { width: 58px; height: 58px; border-radius: 50%; border: 0; background: #fff; color: #c8102e; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.12); }
.kt-chat-fab:hover { background: #f1f1f1; }
.kt-chat.kt-open .kt-chat-fab { display: none; }
.kt-chat-menu { position: fixed; left: 0; right: 0; bottom: 0; display: flex; gap: .5rem; align-items: center; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom, 0px)); background: rgba(10,8,8,.97); border-top: 1px solid #2a2020; }
.kt-chat-menu[hidden] { display: none; }
.kt-chat-opt { flex: 1; text-align: center; background: transparent; color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; padding: .8rem .4rem; border-radius: 999px; border: 2px solid #fff; }
.kt-chat-opt.primary { background: #c8102e; border-color: #c8102e; }
.kt-chat-opt:hover { filter: brightness(1.15); }
.kt-chat-close { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #1d1515; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
@media (min-width: 760px) { .kt-chat-menu { left: auto; right: 1.2rem; bottom: 1.2rem; border: 1px solid #2a2020; border-radius: 999px; padding: .5rem; } .kt-chat-opt { flex: none; padding: .6rem 1.2rem; } }
.kt-modal { position: fixed; inset: 0; z-index: 120; background: rgba(0,0,0,.78); display: flex; align-items: flex-end; justify-content: center; }
.kt-modal[hidden] { display: none; }
.kt-card { position: relative; width: 100%; max-width: 460px; max-height: 92vh; overflow: auto; background: #0f0b0b; border: 1px solid #2e2222; border-radius: 18px 18px 0 0; padding: 1.4rem 1.2rem 1.6rem; color: #fff; }
@media (min-width: 760px) { .kt-modal { align-items: center; } .kt-card { border-radius: 18px; } }
.kt-card h2 { margin: 0 0 .3rem; font-size: 1.4rem; }
.kt-muted { color: #aaa; margin: 0 0 .6rem; }
.kt-card label { display: block; font-size: .85rem; color: #ccc; margin-top: .8rem; }
.kt-card input, .kt-card textarea { display: block; width: 100%; margin-top: .3rem; background: #161111; border: 1px solid #3a2e2e; border-radius: 8px; color: #fff; padding: .7rem; font: inherit; font-size: 1rem; }
.kt-card .btn { width: 100%; margin-top: 1.1rem; }
.kt-card .btn[disabled] { opacity: .45; cursor: not-allowed; }
.kt-x { position: absolute; right: .7rem; top: .4rem; background: none; border: 0; color: #fff; font-size: 1.8rem; cursor: pointer; }
.kt-fine { font-size: .75rem; color: #9a9a9a; margin: .8rem 0 0; }
.kt-req { color: #ff5b5b; }
.kt-err { color: #ff7b7b; margin: .8rem 0 0; font-size: .9rem; }
.kt-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media print { .kt-chat, .kt-modal { display: none !important; } }
@media (max-width: 760px) { body.has-chat-pad { padding-bottom: 5rem; } }
/* Booking page on phones: keep the contact button above the "Your request" bar */
@media (max-width: 760px) { body:has(.sum-bar:not([hidden])) .kt-chat { bottom: calc(5.6rem + env(safe-area-inset-bottom, 0px)); } body:has(.sum-bar:not([hidden])) .kt-chat-menu { bottom: calc(4.6rem + env(safe-area-inset-bottom, 0px)); } }

/* Free AED finder sign-up (home page) */
.aedcheck{padding-top:1.8rem}
.aed-card{border:2px solid var(--red);border-radius:16px;background:#0e0e0e;padding:1.3rem 1.1rem;margin:0 auto}
@media (min-width:760px){.aed-card{padding:1.8rem 2rem}}
.aed-tag{display:inline-block;background:var(--red);color:#000;font-size:.8125rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;border-radius:999px;padding:.25rem .75rem}
.aed-card h2{margin:.7rem 0 0;font-size:clamp(2rem,8vw,2.8rem);line-height:1.05;font-weight:700;letter-spacing:-.02em;color:var(--red)}
.aed-lead{margin:.6rem 0 0;color:#e6e6e6}
.aed-card label{display:block;font-weight:700;margin-top:.9rem}
.aed-card input[type=text],.aed-card input[type=email],.aed-card input[type=tel],.aed-card select{display:block;width:100%;margin-top:.35rem;height:3.25rem;border-radius:10px;border:2px solid #444;background:#000;color:#fff;font:inherit;font-weight:400;padding:0 .85rem}
.aed-card .aed-check{display:flex;gap:.65rem;align-items:flex-start;font-weight:400;font-size:.9375rem;color:#d6d6d6}
.aed-check input{width:1.35rem;height:1.35rem;margin-top:.15rem;flex:none}
.aed-go{width:100%;margin-top:1.1rem}
.aed-fine{margin:.7rem 0 0;font-size:.875rem;text-align:center;color:var(--muted)}
.aed-ok{margin:1rem 0 0;font-weight:700;color:#7ee08f}
.aed-step{background:#111;border:1px solid #333;border-radius:12px;padding:1rem;margin-top:.9rem}
.aed-n{font-size:.8125rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--red)}
.aed-step h3{margin:.2rem 0 0;text-transform:uppercase;font-size:1.15rem}
.aed-step p,.aed-step ul{margin:.5rem 0 0}
.aed-step ul{padding-left:1.2rem}
.aed-h{display:flex;align-items:center;gap:.75rem;margin-top:.35rem}
.aed-h h3{margin:0}
.aed-step h3.aed-one{white-space:nowrap;font-size:min(1.3rem,5.2vw);margin-top:.2rem !important}
.aed-pp{width:52px;height:52px;border-radius:12px;flex:none}
.aed-row{display:flex;gap:.8rem;align-items:flex-start;margin-top:.7rem}
.aed-row p{margin:0 !important}
.aed-store img{width:auto;height:26px;max-width:none;border-radius:6px;flex:none;display:block}
.aed-store span{display:block;line-height:26px}
.aed-stores{display:flex;gap:.7rem;margin-top:1rem;margin-bottom:.4rem}
.aed-store{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;gap:.5rem;height:3.25rem;padding:0 .5rem;border-radius:12px;background:#fff;color:#000;font-weight:700;font-size:.9375rem;line-height:1;white-space:nowrap;text-decoration:none}
.aed-step ul + p{margin-top:1rem}
.aed-step .btn{display:flex;align-items:center;justify-content:center;margin-top:1.1rem;margin-bottom:.2rem}
.aed-small{font-size:.8125rem;line-height:1.45;font-style:italic;color:#8f8f94}

.aed-err{margin:.35rem 0 0;color:#ff7b7b;font-size:.875rem;font-weight:400;min-height:0}
.aed-err:empty{display:none}
.aed-card select{appearance:auto}
.aed-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.aed-go[disabled]{opacity:.6;cursor:wait}

/* Booking page: curriculum note and "What you will learn" list */
.linkbtn { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.linkbtn:hover, .linkbtn:focus-visible { color: #fff; }
.cur-line { margin-top: .75rem; }
.cur-note { margin: .5rem 0 0; font-size: .8125rem; line-height: 1.45; color: #b9b9b9; font-style: italic; }
#classDesc { background: transparent !important; border: 0 !important; padding: .1rem 0 0 !important; }
.learn-h { margin: .9rem 0 .6rem; font-weight: 700; font-size: .9375rem; color: #fff; }
.learn-grid { margin: 0; padding: 0 0 0 1.15rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); grid-auto-flow: column; gap: .4rem 1rem; list-style: disc; }
.learn-grid li { font-size: .875rem; line-height: 1.35; font-weight: 400; color: #e6e6e6; padding-left: .15rem; }
.learn-grid li::marker { color: #ff2a3d; }
@media (min-width: 760px) { .learn-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, auto); column-gap: 2rem; } }

@media (min-width: 760px) {
  .aed-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; align-items: start; }
}

/* Interest sign-up (shared by the home page pop-up and /interest) */
.int-eye{margin:0 0 .5rem}
.int-card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:1.4rem 1.2rem}
.int-row2{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:.7rem}
.int-row2 input{padding-left:.7rem;padding-right:.7rem}
.int-chips{display:flex;flex-wrap:wrap;gap:.5rem}
.int-chips label{margin:0;cursor:pointer;font-weight:400}
.int-chips input{position:absolute;opacity:0;pointer-events:none}
.int-chips span{display:inline-block;border:1px solid #3a3a3d;background:#000;border-radius:999px;padding:.6rem 1rem;font-size:.95rem}
.int-chips input:checked+span{background:var(--red-dark);border-color:var(--red)}
.int-chips input:focus-visible+span{outline:2px solid var(--red);outline-offset:2px}
.int-perk{display:flex;align-items:center;gap:.9rem;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:.6rem 1rem .6rem .6rem;margin:0 0 1rem}
.int-perk img{flex:none;width:128px;max-width:42%;height:auto;aspect-ratio:1200/896;object-fit:contain;border-radius:10px}
.int-perk b{display:block;margin:0 0 .15rem}.int-perk span{color:var(--muted);font-size:.88rem;line-height:1.4}
.int-done{display:flex;align-items:center;gap:.7rem;margin:0 0 .4rem;font-family:var(--head);font-size:1.3rem;font-weight:700}
.int-tick{flex:none;width:1.8rem;height:1.8rem;border-radius:50%;background:var(--red-dark);display:grid;place-items:center;font-size:.9rem}
.int-banner{background:#12301a;border:1px solid #2a7a3b;border-radius:10px;padding:.8rem 1rem;margin:0 0 1rem;font-weight:600}
.int-fine{color:var(--muted);font-size:.82rem;margin:.9rem 0 0;text-align:center}
.int-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.int-btn{width:100%;margin-top:.3rem}
@media(max-width:600px){.int-row2{grid-template-columns:1fr}}
.notready{margin:1.75rem 0 2.5rem;padding:1.5rem 1.2rem;border:1px solid var(--line);border-radius:16px;background:var(--card);text-align:center}
.notready h2{font-size:clamp(1.3rem,4.6vw,1.6rem);margin:0 0 .5rem;letter-spacing:-.01em}
.notready p{margin:0 auto 1.1rem;max-width:36rem;color:var(--muted)}
.int-modal{position:fixed;inset:0;z-index:110;background:rgba(0,0,0,.78);display:flex;align-items:flex-end;justify-content:center}
.int-modal[hidden]{display:none}
.int-modal-card{position:relative;width:100%;max-width:36rem;max-height:92vh;overflow:auto;background:#0f0b0b;border:1px solid #2e2222;border-radius:18px 18px 0 0;padding:1.5rem 1.2rem calc(1.6rem + env(safe-area-inset-bottom,0px))}
.int-modal-card .int-card{background:transparent;border:0;padding:0}
.int-modal-card h2{font-size:1.45rem;margin:0 2rem .2rem 0;letter-spacing:-.01em}
.int-x{position:absolute;right:.6rem;top:.3rem;background:none;border:0;color:#fff;font-size:1.9rem;line-height:1;cursor:pointer;padding:.3rem .5rem}
@media(min-width:760px){.int-modal{align-items:center}.int-modal-card{border-radius:18px;padding:1.8rem 1.8rem 1.8rem}}

/* ---- Parent/Guardian Consent: fillable form and print layout ---- */
.pc-form { margin-top: 1.4rem; color: #d1d1d6; }
.pc-check { display: flex; gap: .7rem; align-items: flex-start; margin: .9rem 0 0; font-weight: 400; line-height: 1.5; cursor: pointer; }
.pc-check input { flex: none; width: 1.35rem; height: 1.35rem; margin-top: .15rem; accent-color: var(--red); }
.pc-check em { color: #a1a1a6; font-style: normal; }
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; margin-top: 1.2rem; }
.pc-grid label { display: block; font-size: .875rem; color: #a1a1a6; font-weight: 400; }
.pc-grid input { display: block; width: 100%; margin-top: .3rem; height: 3rem; border-radius: 10px; border: 2px solid #444; background: #000; color: #fff; font: inherit; font-size: 1rem; padding: 0 .8rem; }
.pc-grid input:focus { border-color: var(--red); outline: none; }
.pc-grid label:nth-child(3) { grid-column: 1 / -1; }
.pc-sign { margin-top: 1.6rem; }
.pc-sign span { font-size: .875rem; color: #a1a1a6; }
.pc-sigline { height: 3.2rem; border-bottom: 2px solid #777; }
.pc-actions { margin-top: 1.6rem; }
.pc-actions .btn { width: 100%; }
.pc-actions p { margin: .7rem 0 0; font-size: .875rem; color: #a1a1a6; max-width: none; }
@media (max-width: 560px) { .pc-grid { grid-template-columns: 1fr; } .pc-grid label:nth-child(3) { grid-column: auto; } }
@media print {
  @page { margin: .6in; }
  html, body { background: #fff !important; color: #000 !important; }
  .skip, .site-header, .site-footer, .back-link, #saleBanner, .pc-actions, .page-head p { display: none !important; }
  .page-head { background: #fff !important; border: 0 !important; padding: 0 0 .5rem !important; }
  .page-head h1 { color: #000 !important; font-size: 1.5rem !important; }
  article.card, article.card * { background: transparent !important; color: #000 !important; box-shadow: none !important; border-color: #000 !important; }
  article.card { border: 0 !important; padding: 0 !important; max-width: none !important; }
  article.card a { text-decoration: none !important; }
  article.card p, article.card li { font-size: 10.5pt !important; line-height: 1.35 !important; }
  article.card h2 { font-size: 11.5pt !important; margin: .7rem 0 .2rem !important; }
  article.card h2 { break-after: avoid; }
  .pc-check input { accent-color: #000; }
  .pc-check, .pc-grid { break-inside: avoid; }
  .pc-grid input { border: 0 !important; border-bottom: 1px solid #000 !important; border-radius: 0 !important; height: 1.9rem !important; padding: 0 .2rem !important; font-size: 11pt !important; }
  .pc-grid label { color: #000 !important; font-size: 9pt !important; }
  .pc-check input { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .pc-sigline { border-bottom: 1px solid #000 !important; height: 2.4rem; }
  .pc-sign { break-inside: avoid; }
}

/* Footer social icons: X and TikTok are hidden for now (their links stay in the page code). */
.follow a[href*="tiktok.com"], .follow a[href*="x.com"] { display: none !important; }

/* Interest list: the text-message opt-in sits right under the phone number and is easy to see and tick. */
.int-text { display: flex; gap: .8rem; align-items: flex-start; margin: 0 0 1.1rem; padding: .8rem .9rem; border: 1px solid #3a3a3d; border-radius: 12px; background: #0e0e0e; cursor: pointer; font-weight: 400; }
.int-text input { flex: none; width: 1.5rem; height: 1.5rem; margin-top: .1rem; accent-color: var(--red); }
.int-text b { display: block; font-weight: 600; font-size: 1rem; color: #fff; }
.int-text small { display: block; margin-top: .15rem; color: var(--muted); font-size: .8rem; line-height: 1.35; }

/* Home page AED sign-up as a pop-up. The card on the page is now just the question and a button. */
.int-modal-card.aed-card{border:1px solid #2e2222;border-radius:18px 18px 0 0;background:#0f0b0b;margin:0;padding:1.5rem 1.2rem calc(1.6rem + env(safe-area-inset-bottom,0px))}
@media (min-width:760px){.int-modal-card.aed-card{border-radius:18px;padding:1.8rem}}
.int-modal-card.aed-card h2{font-size:1.45rem;line-height:1.2;font-weight:700;letter-spacing:-.01em;color:#fff;margin:0 2rem .2rem 0}
.aedcheck .aed-card .aed-go{margin-top:1.1rem}
.aedcheck .aed-card .aed-fine{text-align:left}

/* ---- class sign-up page (/join/CODE) ---- */
.jh{max-width:42rem;margin:0 auto}
.join{max-width:42rem;margin:0 auto;padding:1.6rem 0 3rem}
.cls{border:1px solid var(--line);border-radius:var(--radius);background:var(--card);padding:1.1rem 1.2rem;margin-bottom:1.2rem}
.cls h2{margin:.1rem 0 .5rem;font-size:1.35rem;line-height:1.2}
.cls .tags{display:flex;flex-wrap:wrap;gap:.4rem;margin:0 0 .9rem}
.cls .tag{font-size:.78rem;border:1px solid var(--line);border-radius:99px;padding:.15rem .6rem;color:#ddd;background:#0d0d0d;text-transform:uppercase;letter-spacing:.04em}
.cls .tag.red{border-color:var(--red-dark);color:#ffd7dc;background:rgba(176,16,31,.18)}
.cls dl{display:grid;grid-template-columns:7rem 1fr;gap:.55rem 1rem;margin:0}
.cls dt{color:#9a9aa2;font-size:.9rem}.cls dd{margin:0}
.cls .note{margin:.9rem 0 0;padding:.65rem .8rem;border-left:3px solid var(--red-dark);background:#0d0d0d;border-radius:0 8px 8px 0;font-size:.92rem;color:#d8d8dc}
.legal{display:flex;flex-wrap:wrap;gap:.3rem 1.1rem;margin:.2rem 0 .9rem;font-size:.92rem}
@media (max-width:480px){.cls dl{grid-template-columns:1fr;gap:.1rem}.cls dd{margin-bottom:.5rem}}

.notready .nr-consult{margin:1.1rem auto 0;font-size:.95rem}.notready .nr-consult a,.aed-step a[data-kt-open]{color:#fff;text-decoration:underline}

/* Reviews banner (home page) */
.reviews{margin:2rem auto}
.rv-head{text-align:center;margin:0 0 1.1rem}
.rv-eyebrow{margin:0 0 .3rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--red);font-size:.8125rem}
.rv-head h2{margin:0 0 .35rem;font-size:clamp(1.3rem,4.6vw,1.7rem);letter-spacing:-.01em}
.rv-sub{margin:0;color:var(--muted);font-size:.95rem}
.rv-wrap{position:relative}
.rv-track{display:flex;gap:1rem;overflow-x:auto;scroll-snap-type:x mandatory;padding:.25rem .1rem 1rem;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.rv-card{flex:0 0 min(84%,22rem);scroll-snap-align:start;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:1.1rem 1.1rem 1.2rem;display:flex;flex-direction:column;gap:.55rem}
.rv-top{display:flex;align-items:center;gap:.7rem}
.rv-av{width:48px;height:48px;border-radius:50%;object-fit:cover;flex:0 0 48px;background:#2a2a2d}
.rv-ini{display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.2rem;color:#fff;background:#8f0d1a}
.rv-who{display:flex;flex-direction:column;min-width:0}
.rv-name{font-size:1rem;line-height:1.2;overflow-wrap:anywhere}
.rv-src{font-size:.8rem;color:var(--muted)}
a.rv-src{text-decoration:underline}
.rv-stars{color:#f5b301;letter-spacing:.12em;font-size:1.1rem;line-height:1}
.rv-rec{font-weight:700;font-size:.9rem;color:#fff}
.rv-text{margin:0;color:#e4e4e7;font-size:.97rem;line-height:1.5}
.rv-nav{position:absolute;top:42%;z-index:2;width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:#111;color:#fff;font-size:1.4rem;line-height:1;cursor:pointer;display:none}
.rv-prev{left:-20px}.rv-next{right:-20px}
@media(min-width:760px){.rv-nav{display:block}.rv-nav[hidden]{display:none}.rv-card{flex-basis:21rem}}
.rv-foot{text-align:center;margin:.2rem 0 0;font-size:.9rem;color:var(--muted)}
.rv-foot a{color:#fff;text-decoration:underline}

/* Larger class cards and Book button */
.class-card { padding: 1.25rem 1.4rem; gap: 1.1rem; }
.class-card h3 { font-size: 1.45rem; }
.class-card .cr-meta { font-size: 1.05rem; }
.cc-note { font-size: 1rem; line-height: 1.4; }
.class-card .btn, .class-card .btn.btn-small { font-family: var(--head); font-size: 1.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: .5rem 1.4rem; line-height: 1.1; }
@media (max-width: 559px) {
  .class-card { padding: 1rem .95rem; gap: .7rem; }
  .class-card h3 { font-size: 1.2rem; }
  .class-card .cr-meta { font-size: .95rem; }
  .cc-note { font-size: .9rem; }
  .class-card { flex-direction: column; align-items: center; text-align: center; gap: .6rem; padding: 1.2rem 1rem 1.3rem; }
  .class-card .cc-main { width: 100%; flex: none; }
  .class-card .cr-meta { justify-content: center; }
  .class-card .btn, .class-card .btn.btn-small { font-size: 1.6rem; padding: .55rem 1rem; letter-spacing: .08em; margin-top: .3rem; width: 88%; max-width: 20rem; text-align: center; }
}

/* Home class cards on phones: same line layout in every card */
.class-card .mbr { display: none; }
@media (max-width: 559px) {
  .class-card .mbr { display: inline; }
  .class-card .cr-meta { justify-content: center; }
  .class-card .cr-meta span:nth-child(3) { flex-basis: 100%; }
  .class-card .cc-note { min-height: 2.8em; }
}

/* ===== Home page v3 (AED hook, map, who tiles, bottom cards) ===== */
/* ===== MOCKUP: home redesign ===== */
.aed3{padding:2rem 0 1.2rem}
.aed3-grid{display:grid;grid-template-columns:1fr;gap:1.4rem;align-items:center}
.aed3-copy h2{font-size:clamp(2rem,6.4vw,3.4rem);line-height:1.04;letter-spacing:-.02em;margin:0 0 .8rem}
.aed3-copy h2::after{content:"";display:block;width:90px;height:4px;background:var(--red);border-radius:2px;margin-top:.9rem}
.aed3-lead{font-size:1.15rem;line-height:1.5;color:#e6e6e6;margin:0 0 1.2rem;max-width:34ch}
.aed3-lead b{color:#fff}
.aed3-cta{display:flex;flex-wrap:wrap;align-items:center;gap:.8rem 1.4rem;margin-bottom:1rem}
.aed3-btn{font-size:1.15rem;padding:1rem 1.8rem;box-shadow:0 0 0 0 rgba(255,42,61,.5);animation:aedglow 2.6s ease-out infinite}
@keyframes aedglow{0%{box-shadow:0 0 0 0 rgba(255,42,61,.45)}70%,100%{box-shadow:0 0 0 14px rgba(255,42,61,0)}}
.aed3-link{color:#fff;font-weight:600;text-decoration:none;border-bottom:1px solid var(--red)}
.aed3-link:hover{color:var(--red)}
.aed3-badges{display:flex;flex-wrap:wrap;gap:.4rem .5rem;margin:0;padding:0;list-style:none}
.aed3-badges span{border:1px solid var(--line);background:var(--card);border-radius:999px;padding:.3rem .8rem;font-size:.86rem;color:var(--muted)}
.aed3-map{position:relative;max-width:460px;width:100%;margin:0 auto}
.cmap{width:100%;height:auto;display:block;filter:drop-shadow(0 0 24px rgba(255,42,61,.18))}
.cm-fill{fill:#2a070c}
.cm-grid line{stroke:rgba(255,42,61,.22);stroke-width:.3}
.cm-line{fill:none;stroke:var(--red);stroke-width:.9;stroke-linejoin:round}
.cm-ring{fill:rgba(0,0,0,.55);stroke:rgba(255,255,255,.5);stroke-width:.5}
.cm-pin{fill:var(--red)}
.aed3-seal{position:absolute;left:50%;bottom:-2%;transform:translateX(-50%);text-align:center;background:#000;border:1px solid var(--red-dark);border-radius:999px;padding:.35rem 1rem;white-space:nowrap;line-height:1.15}
.aed3-seal b{display:block;font:600 .68rem var(--body);letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.aed3-seal span{font:700 .98rem var(--head);color:#fff}
.aed3-steps-h{display:flex;align-items:center;justify-content:center;gap:1rem;margin:2.2rem 0 1.2rem;font-size:1.15rem;text-align:center}
.aed3-steps-h i{flex:1;height:1px;background:var(--red-dark);max-width:180px}
.aed3-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr;gap:.8rem;counter-reset:s}
.aed3-steps li{position:relative;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:1rem 1.1rem 1rem 4.6rem;min-height:5.6rem}
.aed3-steps .n{position:absolute;left:1rem;top:1rem;width:2rem;height:2rem;border-radius:50%;background:var(--red-dark);display:grid;place-items:center;font:700 1rem var(--head)}
.aed3-steps .ico{position:absolute;left:1.05rem;top:3.4rem;color:var(--red);width:26px;height:26px;display:none}
.aed3-steps h4{margin:0 0 .25rem;font:700 1.05rem var(--body)}
.aed3-steps p{margin:0;color:var(--muted);font-size:.95rem;line-height:1.4}
.who3{padding-top:2.2rem}
.who3 h2{font-size:clamp(1.4rem,5vw,1.9rem);margin:0 0 .9rem}
.who3-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:.7rem}
.who3-grid li{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:1rem .9rem;display:grid;gap:.25rem;justify-items:start}
.who3-grid .ico{color:var(--red);margin-bottom:.35rem}
.who3-grid b{font:700 1rem var(--body)}
.who3-grid span{color:var(--muted);font-size:.88rem;line-height:1.35}
/* stats: 2x2 on phones too */
.stats{grid-template-columns:repeat(2,1fr)!important;gap:1.2rem .8rem}
.stats b{font-size:clamp(1.7rem,7vw,2.8rem)}
.stats span{font-size:.88rem}
@media(min-width:700px){
 .aed3-grid{grid-template-columns:1.1fr .9fr;gap:2rem}
 .aed3-steps{grid-template-columns:repeat(3,1fr)}
 .aed3-steps li{padding:1rem 1.1rem 1.1rem;min-height:0;text-align:center}
 .aed3-steps .n{position:static;margin:0 auto .5rem}
 .aed3-steps .ico{display:block;position:static;margin:0 auto .5rem;width:30px;height:30px}
 .who3-grid{grid-template-columns:repeat(3,1fr)}
 .stats{grid-template-columns:repeat(4,1fr)!important}
}
@media(max-width:699px){.aed3-steps .ico{display:none}}
@media(max-width:699px){.aed3-map{max-width:300px}}
.cm-road{fill:none;stroke:rgba(255,255,255,.28);stroke-width:.5;stroke-linejoin:round}
.cm-city{fill:#fff}
.cm-lbl{fill:#d8d8d8;font:600 3.7px var(--body)}
.cm-ocean{fill:rgba(255,255,255,.22);font:600 3.2px var(--body);letter-spacing:.35em}
.aed3-seal{position:static;transform:none;display:table;margin:.6rem auto 0}
/* v2 map */
.cm-base{fill:#12040a}
.cm-line{fill:none;stroke:var(--red);stroke-width:2.4;stroke-linejoin:round}
.cm-ring{fill:rgba(0,0,0,.45);stroke:rgba(255,255,255,.55);stroke-width:1.4}
/* feedback tweaks: quieter badges, stronger icons */
.aed3-badges{margin-top:.2rem}
.aed3-badges span{font-size:.78rem;padding:.22rem .65rem;background:transparent}
.who3-grid .ico{color:#ff5a68;stroke-width:2;filter:drop-shadow(0 0 6px rgba(255,42,61,.35))}
.aed3-steps .ico{color:#ff5a68;stroke-width:2}
/* ===== v3 ===== */
.aed3-seal{position:absolute;left:54%;top:50%;transform:translate(-50%,-50%);width:46%;aspect-ratio:1;border-radius:50%;display:grid;place-content:center;gap:.15rem;text-align:center;margin:0;padding:0;
  background:radial-gradient(circle at 50% 40%,rgba(20,3,7,.88),rgba(0,0,0,.92));border:2px solid var(--red);box-shadow:0 0 0 7px rgba(255,42,61,.12),0 0 40px rgba(255,42,61,.25)}
.aed3-seal b{font:600 clamp(.6rem,1.5vw,.78rem) var(--body);letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.aed3-seal span{font:900 clamp(1.05rem,3.2vw,1.7rem)/1.08 var(--head);color:#fff;white-space:normal}
.aed3-steps li{padding:1.3rem 1.3rem 1.4rem!important;min-height:0!important;text-align:left!important;display:block}
.aed3-steps .n,.aed3-steps > li > .ico{display:none!important}
.aed3-steps .s-top{display:flex;align-items:center;gap:.8rem;margin-bottom:.9rem}
.aed3-steps .s-ico{flex:none;width:46px;height:46px;border-radius:50%;border:1.5px solid var(--red);display:grid;place-items:center;color:#ff5a68;background:rgba(255,42,61,.08)}
.aed3-steps .s-ico .ico{position:static!important;display:block!important;width:24px!important;height:24px!important;margin:0!important}
.aed3-steps .s-n{font:700 .78rem var(--body);letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.aed3-steps h4{margin:0 0 .35rem;font:700 1.12rem var(--body)}
.aed3-steps p{margin:0;font-size:.97rem;line-height:1.45}
@media(max-width:699px){
 .aed3-steps li{display:grid!important;grid-template-columns:46px 1fr;column-gap:1rem;padding:1.1rem 1.1rem!important}
 .aed3-steps .s-top{display:contents}
 .aed3-steps .s-ico{grid-row:1/4;align-self:start}
 .aed3-steps .s-n{grid-column:2;margin-bottom:.15rem;font-size:.72rem}
 .aed3-steps h4{grid-column:2;margin:0 0 .25rem}
 .aed3-steps p{grid-column:2}
 .aed3-map{max-width:340px}
}
/* v4 seal */
.aed3-seal{gap:.1rem}
.aed3-seal .shield{width:clamp(26px,4.4vw,40px);height:auto;color:var(--red);margin:0 auto .25rem}
.aed3-seal span{font-size:clamp(1.15rem,3.4vw,1.8rem)}
.aed3-seal small{font:500 clamp(.58rem,1.3vw,.78rem)/1.25 var(--body);color:var(--muted);max-width:14ch;margin:.25rem auto 0}
.aed3-seal{grid-template-columns:72%;justify-content:center;justify-items:center}
.aed3-seal small{max-width:none;text-align:center;margin-top:.2rem}
.aed3-seal{white-space:normal}
.aed3-seal small{display:block;width:100%;text-wrap:balance}
.aed3-seal span{font-size:clamp(1.1rem,2.6vw,1.5rem);white-space:nowrap}
.aed3-seal small{max-width:13ch}
/* ===== v5: shield seal ===== */
.aed3-seal{all:unset;box-sizing:border-box;position:absolute;left:55%;top:50%;transform:translate(-50%,-50%);width:38%;aspect-ratio:100/118;display:block;filter:drop-shadow(0 0 22px rgba(255,42,61,.35))}
.aed3-seal .seal-bg{position:absolute;inset:0;width:100%;height:100%}
.seal-in{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:12% 14% 10%;gap:.12rem}
.seal-in .cross{width:clamp(18px,3vw,30px);color:var(--red);margin-bottom:.35rem}
.seal-in b{font:600 clamp(.56rem,1.35vw,.74rem) var(--body);letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.seal-in span{font:900 clamp(1.05rem,2.7vw,1.55rem)/1.05 var(--head);color:#fff;white-space:nowrap}
.seal-in small{font:500 clamp(.56rem,1.2vw,.74rem)/1.25 var(--body);color:var(--muted);margin-top:.35rem;max-width:12ch}
.aed3-seal{width:52%!important}
.seal-in{padding:13% 15% 11%}
.seal-in span{font-size:clamp(1.05rem,2.4vw,1.6rem)}
.aed3-seal{width:42%!important}
.seal-in{padding:15% 14% 12%}
.seal-in span{font-size:clamp(.98rem,2.1vw,1.4rem)}
.seal-in span{font-size:clamp(1.35rem,3.2vw,2.05rem);line-height:1.02;white-space:normal}
.seal-in{padding:14% 12% 11%;gap:.1rem}
.seal-in small{margin-top:.4rem}
/* v6: shield text rhythm + mobile order */
.seal-in{justify-content:flex-start;padding:25% 12% 0;gap:0}
.seal-in b{margin:0 0 .5rem}
.seal-in span{margin:0}
.seal-in small{margin-top:.75rem;max-width:11ch}
@media(max-width:699px){
 .aed3-grid{gap:1.1rem}
 .aed3-copy{display:contents}
 .aed3-copy h2{order:1;margin:0}
 .aed3-lead{order:2;margin:0}
 .aed3-map{order:3}
 .aed3-cta{order:4;margin:0}
}
/* v7: centered step cards */
@media(min-width:700px){
 .aed3-steps li{text-align:center!important}
 .aed3-steps .s-top{flex-direction:column;justify-content:center;gap:.6rem;margin-bottom:.9rem}
 .aed3-steps .s-ico{width:52px;height:52px}
 .aed3-steps .s-ico .ico{width:26px!important;height:26px!important}
}
@media(max-width:699px){
 .aed3-steps .s-ico{grid-row:1/4;align-self:center}
}
.seal-in{padding-top:30%}
.seal-in span{font-size:clamp(1.3rem,3vw,1.95rem)}
.seal-in{padding-top:24%}
.cm-base{fill:#a8233a}
.cm-grid2 line{stroke:rgba(255,90,104,.22);stroke-width:1.1}

/* bottom section v3 */
.nr3{padding:2rem 1.2rem 2.2rem}
.nr3 .nr3-lead{margin:0 auto 1.4rem}
.nr3-grid{display:grid;gap:.9rem;grid-template-columns:1fr;text-align:left}
@media(min-width:760px){.nr3-grid{grid-template-columns:1.25fr 1fr 1fr}}
.nr3-card{display:flex;flex-direction:column;padding:1.2rem 1.1rem;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.02)}
.nr3-card h3{margin:0 0 .4rem;font-size:1.15rem;color:#fff}
.nr3-card p{margin:0 0 1.1rem;max-width:none;font-size:.96rem}
.nr3-card .nr3-btn{margin-top:auto;align-self:flex-start;text-align:center}
.nr3-main{border-color:#c8101f;background:linear-gradient(160deg,rgba(200,16,31,.16),rgba(0,0,0,0))}
.nr3-tag{align-self:flex-start;margin-bottom:.6rem;padding:.18rem .6rem;border-radius:99px;background:#c8101f;color:#fff;font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.nr3-card .nr3-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px}

/* ===== AED check popup ===== */
/* AED check popup v3 */
.ac-card{padding-top:1.6rem}
.ac-card .int-eye{display:flex;align-items:center;gap:.5rem}
.ac-free{background:#c8101f;color:#fff;border-radius:99px;padding:.12rem .55rem;font-size:.68rem;letter-spacing:.08em;font-weight:700}
.ac-card h2{font-size:1.6rem!important;margin-bottom:.35rem!important}
.ac-lead{margin:.2rem 0 1rem;color:#cfcfcf;font-size:.98rem;line-height:1.5}
.ac-flow{list-style:none;margin:0 0 1.1rem;padding:.7rem .8rem;display:grid;grid-template-columns:repeat(3,1fr);gap:.4rem;border:1px solid #2e2222;border-radius:12px;background:rgba(255,255,255,.02);counter-reset:s}
.ac-flow li{counter-increment:s;display:flex;flex-direction:column;align-items:center;text-align:center;gap:.3rem;font-size:.8rem;line-height:1.25;color:#ddd}
.ac-flow li::before{content:counter(s);width:1.5rem;height:1.5rem;border-radius:50%;background:#c8101f;color:#fff;font-weight:700;font-size:.8rem;display:grid;place-items:center}
.ac-q{display:block;font-weight:700;margin:.2rem 0 .5rem}
.ac-have{display:grid;grid-template-columns:1fr;gap:.5rem;margin-bottom:1rem}
@media(min-width:520px){.ac-have{grid-template-columns:repeat(3,1fr)}}
.ac-have label{margin:0!important;cursor:pointer;font-weight:400!important}
.ac-have input{position:absolute;opacity:0;pointer-events:none}
.ac-have span{display:flex;flex-direction:column;gap:.1rem;height:100%;border:1px solid #3a3a3d;background:#000;border-radius:12px;padding:.65rem .8rem;font-size:.95rem;color:#fff}
.ac-have small{color:var(--muted);font-size:.78rem;line-height:1.3}
.ac-have input:checked+span{background:var(--red-dark);border-color:var(--red)}
.ac-opt{font-weight:400;color:var(--muted);font-size:.85rem}
.ac-card textarea{display:block;width:100%;margin-top:.35rem;min-height:4.6rem;border-radius:10px;border:2px solid #444;background:#000;color:#fff;font:inherit;font-weight:400;padding:.7rem .85rem;resize:vertical}
.ac-card .aed-go{margin-top:1.2rem}
.ac-ok{text-align:center;padding:.6rem 0 .2rem}
.ac-tick{width:3.4rem;height:3.4rem;border-radius:50%;background:rgba(126,224,143,.12);border:2px solid #7ee08f;color:#7ee08f;display:grid;place-items:center;margin:0 auto .9rem;font-size:1.7rem}
.ac-ok h2{margin:0 0 .5rem!important;font-size:1.5rem!important}
.ac-ok p{margin:0 auto .8rem;max-width:26rem;color:#cfcfcf}
.ac-next{text-align:left;margin:1.1rem 0 0;padding:.9rem 1rem;border:1px solid #2e2222;border-radius:12px;background:rgba(255,255,255,.02)}
.ac-next b{display:block;margin-bottom:.4rem}
.ac-next ul{margin:0;padding-left:1.2rem;color:#cfcfcf;font-size:.95rem}
.ac-next li+li{margin-top:.3rem}

/* K-12 small option on the home page */
.k12-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.4rem 1rem;margin:1.4rem 0 0;padding:.7rem 1rem;border:1px dashed #3a3a3d;border-radius:12px;font-size:.92rem}
.k12-row p{margin:0}.k12-row .muted{display:block;font-size:.85rem}
.k12-row .k12-link{color:#fff;text-decoration:underline;white-space:nowrap}

.small-grp{margin:1.3rem 0 0;text-align:center;color:#e6e6e6;font-size:1rem}

/* spacing around the class boxes */
#classes .classes-head p:last-child{margin:.35rem 0 0}
#classes .price-strip{margin:1.1rem 0 .2rem}
#classes .class-cards{padding-top:.9rem;gap:1rem}
@media(max-width:700px){
  #classes .class-card .cr-meta{gap:.3rem .9rem;margin-top:.15rem}
  #classes .class-card .cc-note{margin-top:.5rem}
  #classes .class-card .btn,#classes .class-card .btn.btn-small{margin-top:.6rem}
  #classes .more-label{margin:1.8rem 0 .8rem}
}

/* AED popup: two steps */
.ac-prog{display:grid;grid-template-columns:1fr 1fr;gap:.4rem;margin:0 0 .5rem}
.ac-prog span{height:4px;border-radius:4px;background:#3a2a2c}.ac-prog span.on{background:#c8101f}
.ac-step-l{margin:0 0 .9rem;font-size:.82rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.ac-back{display:block;margin:.8rem auto 0;background:none;border:0;color:#fff;text-decoration:underline;font:inherit;font-size:.95rem;cursor:pointer;padding:.4rem .8rem}
.ac-have.ac-3 span{padding:.6rem .8rem}

.ac-have.ac-3{grid-template-columns:repeat(3,1fr)}

/* shield: "Proudly serving" large, the rest normal size */
.seal-in b{display:none}
.seal-in small{font-size:clamp(.66rem,1.5vw,.9rem);line-height:1.3;color:#e2e2e2;max-width:14ch;margin-top:.6rem}

/* home page: the hero grid fades back in at the very bottom */
body:has(.aed3) .site-footer{position:relative;overflow:hidden;padding-top:5rem;border-top:0;background:linear-gradient(to bottom,#000 0,#000 100%)}
body:has(.aed3) .site-footer::before{content:"";position:absolute;inset:0;pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.075) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.075) 1px,transparent 1px);
  background-size:22px 22px;
  -webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 85%);mask-image:linear-gradient(to bottom,transparent 0,#000 85%)}
body:has(.aed3) .site-footer::after{content:"";position:absolute;left:0;right:0;bottom:0;height:70%;pointer-events:none;background:radial-gradient(ellipse at 50% 100%,rgba(176,16,31,.28),rgba(0,0,0,0) 70%)}
body:has(.aed3) .site-footer>*{position:relative;z-index:1}

.ac-have.ac-4{grid-template-columns:1fr 1fr}
@media(min-width:520px){.ac-have.ac-4{grid-template-columns:repeat(4,1fr)}}
.ac-lead b{color:#fff}

/* ===== Home sorter, classes / AED / employers pages ===== */
.topbar{background:#000;border-bottom:1px solid #1d1d1d;font-size:.85rem}
.topbar .wrap{display:flex;justify-content:flex-end;gap:1.1rem;padding-top:.55rem;padding-bottom:.55rem}
.topbar a{color:#e6e6e6;text-decoration:none;font-weight:600}.topbar a b{color:#ff5a68}
.trust{margin:0;padding:.8rem 1rem;text-align:center;font-size:.82rem;letter-spacing:.04em;color:#d6d6d6;border-bottom:1px solid #1d1d1d;background:#0a0a0a}
.choose{padding-top:1.6rem;padding-bottom:.4rem}
.choose h2{margin:0 0 .3rem;font-size:1.5rem}.choose .sub{color:#c9c9c9;margin:0 0 1rem}
.paths{display:grid;gap:.8rem;list-style:none;padding:0;margin:0}
@media(min-width:900px){.paths{grid-template-columns:repeat(2,1fr)}}
.paths li{background:#101010;border:1px solid #2a2a2a;border-radius:16px;padding:1.1rem;display:grid;gap:.45rem;align-content:start}
.paths li.hi{border-color:#7a1622;box-shadow:0 0 0 1px #7a1622 inset}
.paths .eyb{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:#ff5a68;font-weight:700}
.paths h3{margin:0;font-size:1.2rem}.paths p{margin:0;color:#d6d6d6;font-size:.93rem;line-height:1.45}
.paths .meta{color:#b9b9b9;font-size:.85rem}.paths .fine{color:#8f8f94;font-size:.75rem}.paths .fine a{color:#fff}
.paths .btn{justify-self:start;margin-top:.3rem}
.nr-simple{text-align:center;padding:1.4rem 1rem;margin:1.2rem 0;border:1px solid #2a2a2a;border-radius:16px;background:#101010}
.nr-simple h2{margin:0 0 .4rem;font-size:1.3rem}.nr-simple p{color:#c9c9c9;margin:0 0 .8rem}
.emp{max-width:60rem}
.emp h1{font-size:clamp(1.9rem,6vw,2.8rem);line-height:1.1;margin:.4rem 0 .6rem}
.emp .sub{color:#e0e0e0;font-size:1.1rem;margin:0 0 1rem}
.emp-for{display:flex;flex-wrap:wrap;gap:.45rem;list-style:none;padding:0;margin:0 0 .4rem}
.emp-for li{border:1px solid #3a3a3d;border-radius:999px;padding:.4rem .8rem;font-size:.88rem}
.opts{display:grid;gap:1rem;margin:1.4rem 0}
.opt{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:1.2rem 1.1rem;display:grid;gap:.6rem}
.opt.mid{border-color:#7a1622;box-shadow:0 0 0 1px #7a1622 inset}
.opt .num{font:700 .78rem var(--body);letter-spacing:.14em;text-transform:uppercase;color:#ff5a68}
.opt h2{margin:0;font-size:1.3rem}.opt p{margin:0;color:#d6d6d6;font-size:.95rem;line-height:1.45}
.opt .btn{justify-self:start}
.tier{width:100%;border-collapse:collapse;font-size:.9rem;margin:.2rem 0}
.tier th,.tier td{padding:.5rem .3rem;border-bottom:1px solid #2a2a2a;text-align:right;white-space:nowrap}
.tier th:first-child,.tier td:first-child{text-align:left;padding-right:.4rem}
.tier tr.pr td{border-bottom:0}
.tier tr.d td{text-align:left;padding-top:0;border-top:0;font-size:.78rem;color:#b9b9b9;line-height:1.4;white-space:normal}
.tier .q{text-align:center;vertical-align:middle;border-left:1px solid #2a2a2a;line-height:1.2}
.tier .q a{color:#ff8b97;font-weight:700;font-size:.78rem;text-decoration:underline;text-underline-offset:2px}
.tier .q small{display:block;color:#b9b9b9;font-size:.7rem;font-weight:400;margin-top:.5rem;line-height:1.3;white-space:normal}
.tier thead th{color:#b9b9b9;font-weight:600;font-size:.78rem;vertical-align:bottom}
.tier td:first-child b{display:block}.tier td:first-child span{color:#b9b9b9;font-size:.8rem}
.incl{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:1.1rem;margin:0 0 1.4rem}
.incl h2{margin:0 0 .6rem;font-size:1.15rem}.incl ul{margin:0;padding:0;list-style:none;display:grid;gap:.5rem}
.incl li{display:flex;gap:.6rem;align-items:flex-start;color:#e0e0e0}.incl li:before{content:"\2713";color:#ff5a68;font-weight:700}
@media(min-width:900px){.incl ul{grid-template-columns:repeat(3,1fr)}}
.req{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:1.3rem 1.1rem;margin:0 0 1.4rem}
.req h2{margin:0 0 .3rem}.req .lead{color:#c9c9c9;margin:0 0 .6rem}
.req .two{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}
@media(max-width:520px){.req .two,.partner-form .two{grid-template-columns:1fr}}
.req .field,.partner-form .field{margin:0 0 .9rem}
.req .field label,.partner-form .field label{display:block;font-weight:600;margin:0 0 .3rem}
.req input[type=text],.req input[type=email],.req input[type=tel],.req select,.req textarea,
.partner-form input,.partner-form textarea{width:100%;min-height:3rem;padding:.7rem .8rem;border-radius:12px;border:2px solid #444;background:#050505;color:#fff;font:inherit}
.req .err,.partner-form .err{color:#ff8b97;font-size:.85rem;margin:.25rem 0 0;min-height:0}
.chk{display:flex;gap:.6rem;align-items:flex-start;margin:.2rem 0 1rem;font-weight:400}.chk input{margin-top:.25rem}
.chk a{color:#fff}
.req .hp,.partner-form .hp{position:absolute;left:-9999px;opacity:0;height:0;overflow:hidden}
.partner{border:1px dashed #5a5a5e;border-radius:16px;padding:1.2rem 1.1rem;margin:0 0 1.6rem}
.partner h2{margin:0 0 .4rem;font-size:1.3rem}.partner p{margin:0 0 .8rem;color:#d6d6d6}
.partner-form{display:grid;gap:.1rem;margin-top:.8rem;padding-top:.8rem;border-top:1px solid #2a2a2a}
.aboutl{margin:.4rem 0 0;padding-left:1.1rem;color:#d6d6d6;line-height:1.5}.aboutl li{margin:.25rem 0}
.form-ok{border-left:3px solid #ff2a3d;background:rgba(200,16,31,.08);padding:.8rem 1rem;border-radius:0 10px 10px 0;margin:0 0 1rem}

.k12-line{margin:.5rem 0 0;font-size:.9rem;color:#c9c9c9}
.k12-card{max-width:480px}.k12-card h2{padding-right:2.4rem}
.k12-list{margin:.4rem 0 .8rem;padding-left:1.1rem;color:#e6e6e6;font-size:.95rem;line-height:1.5}.k12-list li{margin:.35rem 0}
.k12-card .btn{display:inline-block;margin-top:.3rem}
.nr-simple{margin:1.2rem 0}
.opts{grid-template-columns:minmax(0,1fr)}
.opt{min-width:0;box-sizing:border-box}
.tier td:first-child{white-space:normal}
@media (max-width:480px){.tier{font-size:.85rem}.tier th,.tier td{padding:.5rem .2rem}.opt{padding:1.1rem .9rem}}
