/* =====================================================================
   MASTERS CPR — one-page site
   Brand system mirrors Masters-CPR-Brand-Book.pdf exactly:
   - Brand red #DC2626 (Committed strategy), neutral ink scale
   - Inter typeface across every weight (brand-mandated)
   - Signature motif: ECG / heartbeat pulse + heart-in-hands mark
   ===================================================================== */

/* ---------- Design tokens (exact brand book values) ---------- */
:root {
  /* Signature */
  --red-600: #DC2626;
  --red-700: #B91C1C;
  --red-300: #FCA5A5;
  --red-50:  #FEF2F2;

  /* Ink scale */
  --ink-900: #0F172A;
  --ink-800: #1E293B;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748B;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50:  #F8FAFC;
  --white: #ffffff;

  /* Roles */
  --bg: var(--white);
  --text: var(--ink-700);
  --heading: var(--ink-900);
  --muted: var(--ink-500);
  --border: var(--slate-200);

  /* Typography */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Fluid type scale (ratio ~1.25) */
  --fs-display: clamp(2.6rem, 1.6rem + 4.4vw, 5.0rem);
  --fs-h2: clamp(1.85rem, 1.25rem + 2.4vw, 3.0rem);
  --fs-h3: clamp(1.2rem, 1.02rem + 0.7vw, 1.5rem);
  --fs-lead: clamp(1.05rem, 0.98rem + 0.45vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-label: 0.78rem;

  /* Spacing rhythm */
  --space-section: clamp(4rem, 3rem + 6vw, 8rem);
  --container: 1200px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);

  /* Radii & elevation */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 2px 6px rgba(15,23,42,.05);
  --shadow: 0 12px 30px -12px rgba(15,23,42,.18), 0 6px 14px -10px rgba(15,23,42,.12);
  --shadow-lg: 0 40px 80px -30px rgba(15,23,42,.32), 0 18px 40px -24px rgba(15,23,42,.22);
  --shadow-red: 0 18px 40px -16px rgba(220,38,38,.5);

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease: cubic-bezier(.4, 0, .2, 1);

  /* Z-index scale */
  --z-header: 100;
  --z-mobilenav: 110;
  --z-skip: 200;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
:focus-visible {
  outline: 3px solid var(--red-600);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--red-300); color: var(--ink-900); }

/* Honor scroll padding for sticky header anchor offset */
:root { scroll-padding-top: 88px; }

.skip-link {
  position: absolute;
  left: 1rem; top: -120px;
  z-index: var(--z-skip);
  background: var(--ink-900);
  color: #fff;
  padding: .75rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- Typography helpers ---------- */
h1, h2, h3, h4 {
  color: var(--heading);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
  text-wrap: balance;
}
h3 { font-weight: 700; line-height: 1.2; }
p { text-wrap: pretty; }
strong { color: var(--ink-800); font-weight: 700; }
.text-red { color: var(--red-600); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--space-section); position: relative; }
.section--tint { background: var(--slate-50); }
.section--dark {
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(220,38,38,.22), transparent 60%),
    radial-gradient(800px 500px at 0% 110%, rgba(220,38,38,.12), transparent 55%),
    var(--ink-900);
  color: rgba(255,255,255,.84);
}

.section__head { max-width: 760px; margin-inline: auto; text-align: center; margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.section__kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red-700);
  margin-bottom: 1rem;
}
.section__kicker::before {
  content: "";
  width: 26px; height: 12px;
  background: currentColor;
  -webkit-mask: var(--ecg-tick) center / contain no-repeat;
  mask: var(--ecg-tick) center / contain no-repeat;
}
:root { --ecg-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 16'%3E%3Cpath d='M0 8h12l3-6 4 12 3-6h15' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.section__kicker--light { color: var(--red-300); }
.section__title { font-size: var(--fs-h2); }
.section__title--light { color: #fff; }
.section__lead { font-size: var(--fs-lead); color: var(--ink-600); margin-top: 1.1rem; max-width: 60ch; }
.section__lead--center { margin-inline: auto; }
.section__lead--light { color: rgba(255,255,255,.78); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--red-600);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: -0.01em;
  padding: .8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background-color .2s var(--ease);
  white-space: nowrap;
}
.btn svg { transition: transform .25s var(--ease-out); }
.btn--primary { box-shadow: var(--shadow-red); }
.btn--primary:hover { background: var(--red-700); transform: translateY(-2px); box-shadow: 0 22px 46px -16px rgba(185,28,28,.6); }
.btn--primary:hover svg { transform: translateX(3px); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--ink-800);
  border-color: var(--slate-200);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { border-color: var(--ink-900); transform: translateY(-2px); background: var(--white); }

.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn--outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; transform: translateY(-2px); }

.btn--lg { padding: 1rem 1.7rem; font-size: 1rem; }
.btn--sm { padding: .6rem 1.05rem; font-size: .875rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--red-700);
  font-weight: 700;
  margin-top: 1.4rem;
}
.link-arrow svg { transition: transform .25s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Pulse dot ---------- */
.pulse-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--red-600);
  position: relative;
  flex: none;
  box-shadow: 0 0 0 0 rgba(220,38,38,.55);
  animation: pulse-ring 1.8s var(--ease-out) infinite;
}
.pulse-dot--light { background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.6); }
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(220,38,38,.5); }
  70%  { box-shadow: 0 0 0 9px rgba(220,38,38,0); }
  100% { box-shadow: 0 0 0 0 rgba(220,38,38,0); }
}

/* =====================================================================
   HEADER / NAV
   ===================================================================== */
.site-header {
  position: sticky; top: 0;
  z-index: var(--z-header);
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.92);
  border-bottom-color: var(--slate-200);
  box-shadow: 0 6px 24px -18px rgba(15,23,42,.5);
}
.site-header__inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 72px;
}
.site-header__logo { display: flex; align-items: center; flex: none; }
.site-header__logo img { height: 30px; width: auto; }

.primary-nav { margin-inline-start: auto; }
.primary-nav__list { display: flex; align-items: center; gap: .15rem; }
.primary-nav__list a {
  display: inline-block;
  padding: .5rem .7rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-700);
  border-radius: 8px;
  position: relative;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.primary-nav__list a::after {
  content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .28rem;
  height: 2px; background: var(--red-600);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease-out);
}
.primary-nav__list a:hover { color: var(--ink-900); }
.primary-nav__list a:hover::after,
.primary-nav__list a.is-active::after { transform: scaleX(1); }
.primary-nav__list a.is-active { color: var(--red-700); }

.site-header__actions { display: flex; align-items: center; gap: .85rem; flex: none; }
.header-phone {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 700; font-size: .9rem; color: var(--ink-800);
}
.header-phone svg { color: var(--red-600); }
.header-phone:hover { color: var(--red-700); }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--slate-200); border-radius: 12px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle__bar { width: 20px; height: 2px; background: var(--ink-900); border-radius: 2px; transition: transform .3s var(--ease-out), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 72px 0 auto 0;
  z-index: var(--z-mobilenav);
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow);
  padding: 1rem var(--gutter) 1.5rem;
  max-height: calc(100dvh - 72px); overflow-y: auto;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav li { border-bottom: 1px solid var(--slate-100); }
.mobile-nav a { display: block; padding: .95rem .25rem; font-size: 1.05rem; font-weight: 600; color: var(--ink-800); }
.mobile-nav a:hover { color: var(--red-700); }
.mobile-nav__cta { display: grid; gap: .6rem; margin-top: 1.2rem; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 2rem + 6vw, 6rem) clamp(3rem, 2rem + 6vw, 6.5rem);
  background:
    radial-gradient(120% 120% at 100% 0%, var(--red-50), transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--slate-50) 100%);
  overflow: clip;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.hero__glow--1 { width: 460px; height: 460px; right: -120px; top: -120px; background: radial-gradient(circle, rgba(252,165,165,.7), transparent 70%); }
.hero__glow--2 { width: 380px; height: 380px; left: -140px; bottom: -160px; background: radial-gradient(circle, rgba(220,38,38,.18), transparent 70%); }
.hero__ecg { position: absolute; left: 0; right: 0; bottom: 14%; width: 100%; height: 180px; opacity: .5; }
.hero__ecg-line {
  fill: none;
  stroke: var(--red-300);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .01em;
  color: var(--ink-600);
  background: rgba(255,255,255,.7);
  border: 1px solid var(--slate-200);
  padding: .5rem .9rem; border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}
.hero__title { font-size: var(--fs-display); letter-spacing: -0.035em; }
.hero__lede {
  font-size: var(--fs-lead);
  color: var(--ink-600);
  margin-top: 1.4rem;
  max-width: 36ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 1.1rem 1.5rem;
  margin-top: 2.2rem; padding-top: 1.6rem;
  border-top: 1px solid var(--slate-200);
}
.hero__trust li { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .92rem; color: var(--ink-700); }
.hero__trust svg { color: var(--red-600); flex: none; }

/* Hero visual */
.hero__visual { position: relative; perspective: 1200px; }
.hero__visual-inner {
  position: relative;
  transform-style: preserve-3d;
  transition: transform .4s var(--ease-out);
  will-change: transform;
}
.hero__photo {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
  aspect-ratio: 4 / 5;
  background: var(--slate-100);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15,23,42,.28));
}

.hero__mark {
  position: absolute; top: -26px; left: -26px;
  width: clamp(78px, 11vw, 104px); height: clamp(78px, 11vw, 104px);
  background: #fff;
  border-radius: 22px;
  display: grid; place-items: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--slate-100);
  transform: translateZ(60px);
  padding: 16px;
}
.hero__mark .brand-mark { width: 100%; height: 100%; }

.hero__chip {
  position: absolute; right: -18px; bottom: 34px;
  display: flex; align-items: center; gap: .7rem;
  background: #fff;
  padding: .7rem .95rem;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  transform: translateZ(80px);
}
.hero__chip-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--red-50); color: var(--red-600); flex: none; }
.hero__chip-text { display: flex; flex-direction: column; line-height: 1.25; font-size: .8rem; color: var(--ink-500); }
.hero__chip-text strong { color: var(--ink-900); font-size: .95rem; }

/* Brand mark heartbeat */
.brand-mark { overflow: visible; }
.brand-mark__heart { transform-box: fill-box; transform-origin: center; }

/* =====================================================================
   TRUST STRIP
   ===================================================================== */
.trust { background: var(--ink-900); color: #fff; padding-block: clamp(2.2rem, 4vw, 3.2rem); }
.trust__list {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.trust__item { display: flex; flex-direction: column; gap: .3rem; padding: .6rem 0; }
.trust__num {
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.7rem);
  font-weight: 800; line-height: 1; letter-spacing: -0.03em;
  color: #fff;
}
.trust__item:nth-child(2) .trust__num,
.trust__item:nth-child(4) .trust__num { color: var(--red-300); }
.trust__label { font-size: .82rem; color: rgba(255,255,255,.66); font-weight: 500; max-width: 22ch; margin-inline: auto; }
.trust__partners { text-align: center; margin-top: 1.6rem; color: rgba(255,255,255,.66); font-size: .95rem; }
.trust__partners strong { color: #fff; }

/* =====================================================================
   BRAND PROMISE / TAGLINE (drenched red)
   ===================================================================== */
.promise {
  position: relative;
  overflow: clip;
  text-align: center;
  color: #fff;
  padding-block: clamp(3.5rem, 3rem + 6vw, 7rem);
  background:
    radial-gradient(120% 150% at 50% -30%, var(--red-600) 0%, var(--red-700) 62%, #9f1818 100%);
}
.promise::before {
  content: "";
  position: absolute; right: -3%; top: 50%; transform: translateY(-50%);
  width: clamp(260px, 38vw, 460px); aspect-ratio: 1;
  background: var(--mark-watermark) center / contain no-repeat;
  opacity: .07; pointer-events: none;
}
.promise__bg { position: absolute; inset: 0; pointer-events: none; }
.promise__ecg { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); width: 100%; height: 170px; opacity: .4; }
.promise__ecg path { fill: none; stroke: rgba(255,255,255,.5); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.promise__inner { position: relative; max-width: 920px; z-index: 1; }
.promise__mark { display: inline-grid; place-items: center; width: clamp(58px, 7vw, 76px); aspect-ratio: 1; margin-bottom: 1.4rem; }
.promise__mark .brand-mark { width: 100%; height: 100%; }
.promise__statement {
  font-size: clamp(2.1rem, 1.3rem + 4vw, 4.6rem);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.04;
  color: #fff; text-wrap: balance;
}
.promise__hl { position: relative; white-space: nowrap; }
.promise__hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em;
  height: .085em; border-radius: 99px; background: var(--red-300);
}
.promise__sub {
  margin: 1.5rem auto 0; max-width: 56ch;
  font-size: var(--fs-lead); color: rgba(255,255,255,.92); line-height: 1.6;
}
.promise .btn { margin-top: 2.1rem; }
.btn--on-red { background: #fff; color: var(--red-700); box-shadow: 0 18px 40px -16px rgba(0,0,0,.45); }
.btn--on-red:hover { background: var(--red-50); color: var(--red-700); transform: translateY(-2px); box-shadow: 0 24px 50px -18px rgba(0,0,0,.5); }

/* =====================================================================
   ABOUT
   ===================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.framed-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.framed-photo img { width: 100%; height: 100%; object-fit: cover; }
.framed-photo--tall { aspect-ratio: 4 / 5; }
.framed-photo__tag {
  position: absolute; left: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(15,23,42,.62);
  backdrop-filter: blur(6px);
  color: #fff; font-weight: 600; font-size: .82rem;
  padding: .5rem .85rem; border-radius: 999px;
}
.about__content .section__lead { color: var(--ink-700); }
.about__points { display: grid; gap: 1rem; margin-top: 1.8rem; }
.about__points li { display: flex; gap: .85rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--ink-700); }
.about__points svg { color: var(--red-600); flex: none; margin-top: 2px; }

/* =====================================================================
   THE CLASS
   ===================================================================== */
.class__layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: start;
}
.class__card {
  background: var(--ink-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-lg);
  position: sticky; top: 96px;
  overflow: hidden;
}
.class__card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px 180px at 110% -10%, rgba(220,38,38,.5), transparent 60%);
  pointer-events: none;
}
.class__card-head { display: flex; align-items: baseline; gap: .6rem; position: relative; padding-bottom: 1.2rem; margin-bottom: 1.2rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.class__price { font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: #fff; }
.class__price-cur { font-size: 1.5rem; vertical-align: top; color: var(--red-300); margin-right: 2px; }
.class__price-note { color: rgba(255,255,255,.6); font-weight: 500; }

.spec-list { display: grid; gap: .1rem; position: relative; }
.spec-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed rgba(255,255,255,.12); font-size: .92rem; }
.spec-list li:last-child { border-bottom: 0; }
.spec-list__k { color: rgba(255,255,255,.62); }
.spec-list__v { color: #fff; font-weight: 600; text-align: right; }
.class__card .btn { margin-top: 1.5rem; }
.class__card-foot { margin-top: .9rem; font-size: .8rem; color: rgba(255,255,255,.55); text-align: center; }

.class__detail { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); }
.class__subtitle { font-size: var(--fs-h3); margin-bottom: 1.1rem; }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem 1.5rem; }
.check-grid li { position: relative; padding-left: 1.9rem; font-weight: 500; color: var(--ink-700); font-size: var(--fs-sm); }
.check-grid li::before {
  content: ""; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 7px;
  background: var(--red-50) var(--check-icon) center / 14px no-repeat;
}
:root { --check-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23DC2626' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.class__photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 10; }
.class__photo img { width: 100%; height: 100%; object-fit: cover; }

.class__bring p { color: var(--ink-600); margin-bottom: 1rem; }
.bring-list { display: grid; gap: .8rem; }
.bring-list li { display: flex; align-items: center; gap: .9rem; font-size: var(--fs-sm); color: var(--ink-700); background: #fff; border: 1px solid var(--slate-200); padding: .85rem 1rem; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.bring-list__no { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--red-600); color: #fff; font-weight: 700; font-size: .9rem; }

/* =====================================================================
   WHY US
   ===================================================================== */
.why__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.feature {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease);
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--red-300); }
.feature__icon {
  display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 15px;
  background: var(--red-50); color: var(--red-600);
  margin-bottom: 1.1rem;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.feature:hover .feature__icon { background: var(--red-600); color: #fff; }
.feature h3 { font-size: 1.18rem; margin-bottom: .5rem; }
.feature p { font-size: var(--fs-sm); color: var(--ink-600); }

/* =====================================================================
   PROCESS (dark)
   ===================================================================== */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
.steps__item {
  position: relative;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.5rem;
}
.steps__num {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--red-600); color: #fff;
  font-weight: 800; font-size: 1.25rem;
  margin-bottom: 1.1rem;
  box-shadow: var(--shadow-red);
}
.steps__item h3 { color: #fff; font-size: 1.15rem; margin-bottom: .5rem; }
.steps__item p { color: rgba(255,255,255,.72); font-size: var(--fs-sm); }
/* connector */
.steps__item:not(:last-child)::after {
  content: ""; position: absolute; top: 38px; right: -.75rem;
  width: 1.5rem; height: 2px;
  background: repeating-linear-gradient(90deg, var(--red-300) 0 6px, transparent 6px 11px);
  opacity: .5;
}
.process__cta { text-align: center; margin-top: clamp(2.2rem, 4vw, 3.2rem); }

/* =====================================================================
   ON-SITE
   ===================================================================== */
.onsite__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.onsite__facts { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin: 1.8rem 0; }
.onsite__facts li { display: flex; flex-direction: column; }
.onsite__facts-num { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); font-weight: 800; color: var(--red-600); letter-spacing: -0.03em; line-height: 1; }
.onsite__facts-label { font-size: .85rem; color: var(--ink-600); margin-top: .35rem; max-width: 16ch; }
.onsite__note { font-size: var(--fs-sm); color: var(--ink-600); margin-bottom: 1.8rem; }

.onsite__panel {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow);
  display: grid; gap: 1.4rem;
}
.onsite__panel-row { display: flex; gap: 1rem; align-items: flex-start; }
.onsite__panel-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--red-50); color: var(--red-600); }
.onsite__panel-row h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.onsite__panel-row p { font-size: .9rem; color: var(--ink-600); }
.onsite__panel .link-arrow { margin-top: .2rem; }

/* =====================================================================
   INSTRUCTORS
   ===================================================================== */
.instructors__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.bio {
  display: grid; grid-template-columns: 130px 1fr; gap: 1.4rem;
  background: #fff; border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.bio:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bio__photo {
  position: relative; aspect-ratio: 1; border-radius: var(--radius);
  background: linear-gradient(150deg, var(--red-600), var(--red-700));
  display: grid; place-items: center;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.bio__photo::after {
  content: ""; position: absolute; inset: 0;
  background: var(--mark-watermark) center / 150% no-repeat;
  opacity: .12;
}
:root { --mark-watermark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='171 183 909 765'%3E%3Cpath fill='%23fff' d='M 440 220 L 392 475 L 606 687 L 635 692 L 862 473 L 904 376 L 884 284 L 828 227 L 775 208 L 695 217 L 642 250 L 626 263 L 584 228 L 519 207 L 466 211 Z'/%3E%3C/svg%3E"); }
.bio__initials { position: relative; font-size: 2.4rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.bio__photo-note { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; font-size: .62rem; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.bio__name { font-size: 1.3rem; }
.bio__suffix { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-500); letter-spacing: 0; margin-top: .2rem; }
.bio__role { color: var(--red-700); font-weight: 700; font-size: .85rem; margin: .35rem 0 .7rem; }
.bio__body p { font-size: var(--fs-sm); color: var(--ink-600); }

/* =====================================================================
   NASHVILLE AREA
   ===================================================================== */
.area__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.area__chips { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.6rem 0 1.4rem; }
.area__chips li { background: var(--red-50); color: var(--red-700); font-weight: 600; font-size: .85rem; padding: .45rem .9rem; border-radius: 999px; border: 1px solid rgba(220,38,38,.16); }
.area__foot { font-size: var(--fs-sm); color: var(--ink-600); }
.area__foot a { color: var(--red-700); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.area__card { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.area__map { position: relative; aspect-ratio: 16 / 10; background: var(--slate-100); }
.area__map-svg { width: 100%; height: 100%; }
.area__map-pulse { stroke-dasharray: 600; }
.area__pin { position: absolute; top: 42%; left: 54%; transform: translate(-50%,-100%); filter: drop-shadow(0 6px 8px rgba(15,23,42,.3)); }
.area__pin::after {
  content: ""; position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%);
  width: 16px; height: 5px; border-radius: 50%; background: rgba(15,23,42,.18);
}
.area__card-body { padding: 1.4rem 1.5rem 1.6rem; }
.area__card-body h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.area__card-body address { font-style: normal; color: var(--ink-600); font-size: var(--fs-sm); line-height: 1.5; }
.area__parking { display: flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 600; color: var(--ink-700); margin: .8rem 0; }
.area__parking svg { color: var(--red-600); }

/* =====================================================================
   RESULTS / SOCIAL PROOF
   ===================================================================== */
.results__highlight {
  display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
  margin-bottom: 2.2rem;
}
.results__quote {
  position: relative; background: #fff; border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-sm);
}
.results__quote-mark { color: var(--red-300); margin-bottom: .5rem; }
.results__quote p { font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); color: var(--ink-800); font-weight: 500; line-height: 1.45; }
.results__quote-foot { margin-top: 1.2rem; font-size: .8rem; font-weight: 600; letter-spacing: .03em; color: var(--ink-500); font-family: ui-monospace, "SF Mono", Menlo, monospace; }

.results__stats {
  display: grid; gap: 1rem;
  background: linear-gradient(155deg, var(--red-600), var(--red-700));
  color: #fff; border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-red);
  align-content: center;
}
.results__stats li { display: flex; flex-direction: column; padding: .5rem 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.results__stats li:last-child { border-bottom: 0; }
.results__stat-num { font-size: 2.1rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.results__stat-label { font-size: .82rem; color: rgba(255,255,255,.82); margin-top: .3rem; }

.results__partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem; text-align: center; color: var(--ink-600); }
.results__partners span:first-child { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: var(--ink-500); }
.results__partners strong { color: var(--ink-900); font-size: 1.05rem; }
.results__dot { color: var(--red-300); }

/* =====================================================================
   BOOKING (dark) + Acuity placeholder
   ===================================================================== */
.booking { display: grid; grid-template-columns: 1.5fr .8fr; gap: 1.5rem; align-items: stretch; }
.booking__embed {
  background: rgba(255,255,255,.04);
  border: 1px dashed rgba(255,255,255,.28);
  border-radius: var(--radius-lg);
  min-height: 340px;
  display: grid; place-items: center;
  padding: clamp(1.8rem, 4vw, 3rem);
}
.booking__placeholder { text-align: center; max-width: 460px; }
.booking__placeholder-icon { display: inline-grid; place-items: center; width: 70px; height: 70px; border-radius: 20px; background: rgba(220,38,38,.18); color: var(--red-300); margin-bottom: 1.2rem; }
.booking__placeholder h3 { color: #fff; font-size: 1.4rem; margin-bottom: .6rem; }
.booking__placeholder p { color: rgba(255,255,255,.72); font-size: var(--fs-sm); margin-bottom: 1.1rem; }
.booking__token {
  display: block;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .8rem; color: var(--red-300);
  background: rgba(0,0,0,.3);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px; padding: .7rem .9rem; margin-bottom: 1.4rem;
  word-break: break-all;
}
.booking__placeholder-actions { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }

.booking__summary {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
}
.booking__summary h3 { color: #fff; font-size: 1.1rem; margin-bottom: 1rem; }
.spec-list--dark li { border-bottom-color: rgba(255,255,255,.12); }
.booking__summary-note { margin-top: 1.1rem; font-size: .8rem; color: rgba(255,255,255,.55); }

/* =====================================================================
   CONTACT + FAQ
   ===================================================================== */
.contact__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.contact__list { display: grid; gap: 1.1rem; margin: 2rem 0 1.8rem; }
.contact__list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--red-50); color: var(--red-600); }
.contact__k { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-500); font-weight: 600; margin-bottom: .15rem; }
.contact__list a { font-weight: 700; color: var(--ink-900); }
.contact__list a:hover { color: var(--red-700); }
.contact__list div span:not(.contact__k) { color: var(--ink-700); font-size: var(--fs-sm); }
.contact__social { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; color: var(--ink-800); }
.contact__social svg { color: var(--red-600); }
.contact__social:hover { color: var(--red-700); }

.contact__faq-title { font-size: var(--fs-h3); margin-bottom: 1.2rem; }
.faq__item { border: 1px solid var(--slate-200); border-radius: var(--radius-sm); margin-bottom: .7rem; background: #fff; overflow: hidden; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.faq__item.is-open { border-color: var(--red-300); box-shadow: var(--shadow-sm); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: transparent; border: 0; text-align: left;
  padding: 1.05rem 1.2rem;
  font-weight: 700; font-size: 1.02rem; color: var(--ink-900);
}
.faq__chevron { flex: none; color: var(--red-600); transition: transform .3s var(--ease-out); }
.faq__item.is-open .faq__chevron { transform: rotate(180deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease-out); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; }
.faq__a-inner p { padding: 0 1.2rem 1.15rem; color: var(--ink-600); font-size: var(--fs-sm); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--ink-900); color: rgba(255,255,255,.7); padding-top: clamp(3rem, 5vw, 4.5rem); }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.site-footer__brand img { height: 30px; width: auto; margin-bottom: 1rem; }
.site-footer__tag { color: #fff; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; margin-bottom: .8rem; }
.site-footer__desc { font-size: .9rem; max-width: 42ch; color: rgba(255,255,255,.62); }
.site-footer__badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.badge-pill { font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: var(--red-300); background: rgba(220,38,38,.16); border: 1px solid rgba(220,38,38,.3); padding: .35rem .7rem; border-radius: 999px; }
.site-footer__col h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.site-footer__col ul { display: grid; gap: .6rem; margin-bottom: 1.2rem; }
.site-footer__col a, .site-footer__contact li { font-size: .9rem; color: rgba(255,255,255,.68); }
.site-footer__col a:hover { color: #fff; }
.site-footer__contact { display: grid; gap: .6rem; }
.site-footer__contact a { font-weight: 600; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; padding-block: 1.4rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; color: rgba(255,255,255,.5); }

/* =====================================================================
   MOTION / REVEAL
   ===================================================================== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* On-load hero choreography (JS adds .is-ready to body) */
.js .hero__eyebrow,
.js .hero__title,
.js .hero__lede,
.js .hero__actions,
.js .hero__trust,
.js .hero__visual { opacity: 0; transform: translateY(22px); }
.js .hero.is-ready .hero__eyebrow { animation: rise .8s var(--ease-out) .05s forwards; }
.js .hero.is-ready .hero__title { animation: rise .9s var(--ease-out) .15s forwards; }
.js .hero.is-ready .hero__lede { animation: rise .9s var(--ease-out) .28s forwards; }
.js .hero.is-ready .hero__actions { animation: rise .9s var(--ease-out) .4s forwards; }
.js .hero.is-ready .hero__trust { animation: rise .9s var(--ease-out) .5s forwards; }
.js .hero.is-ready .hero__visual { animation: rise-scale 1.1s var(--ease-out) .35s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes rise-scale { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }

/* Hero ECG draw + heart beat (run after load via .is-ready) */
.js .hero__ecg-line { stroke-dasharray: 2600; stroke-dashoffset: 2600; }
.js .hero.is-ready .hero__ecg-line { animation: ecg-draw 2.4s var(--ease-out) .5s forwards, ecg-flow 7s linear 3s infinite; }
@keyframes ecg-draw { to { stroke-dashoffset: 0; } }
@keyframes ecg-flow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -260; } }

.brand-mark__heart { animation: heartbeat 1.7s var(--ease) infinite; }
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  10% { transform: scale(1.09); }
  20% { transform: scale(1); }
  30% { transform: scale(1.05); }
  42% { transform: scale(1); }
}

.area__map-pulse { stroke-dashoffset: 600; }
.js .area__map.is-visible .area__map-pulse { animation: ecg-draw 1.6s var(--ease-out) forwards, ecg-flow 5s linear 1.6s infinite; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) {
  :root { scroll-padding-top: 76px; }
  .primary-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-phone span { display: none; }
  .header-phone { padding: .4rem; }

  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__content { max-width: 640px; }
  .hero__lede { max-width: 52ch; }
  .hero__visual { max-width: 460px; margin-inline: auto; width: 100%; }

  .about__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__media { max-width: 480px; }
  .class__layout { grid-template-columns: 1fr; }
  .class__card { position: static; max-width: 480px; }
  .onsite__grid { grid-template-columns: 1fr; }
  .area__grid { grid-template-columns: 1fr; }
  .area__card { max-width: 560px; }
  .results__highlight { grid-template-columns: 1fr; }
  .booking { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps__item:not(:last-child)::after { display: none; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --space-section: clamp(3rem, 2rem + 8vw, 4.5rem); }
  .trust__list { grid-template-columns: repeat(2, 1fr); gap: 1.5rem .5rem; }
  .check-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .bio { grid-template-columns: 1fr; }
  .bio__photo { width: 110px; }
  .onsite__facts { gap: 1.2rem 2rem; }
  .results__partners { flex-direction: column; gap: .3rem; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .site-footer__bottom { flex-direction: column; }
  .hero__chip { right: 8px; }
  .hero__mark { left: -10px; top: -18px; }
}

@media (max-width: 380px) {
  .hero__actions .btn { width: 100%; }
}

/* =====================================================================
   REDUCED MOTION
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal,
  .js .hero__eyebrow, .js .hero__title, .js .hero__lede,
  .js .hero__actions, .js .hero__trust, .js .hero__visual { opacity: 1 !important; transform: none !important; }
  .js .hero__ecg-line { stroke-dashoffset: 0; }
  .pulse-dot { animation: none; }
  .brand-mark__heart { animation: none; }
  .hero__visual-inner { transition: none; }
}
