/* =========================================================
   Ladies Super Fitness — rebuild
   Visual language sourced from ladies-fit.jpg:
   deep purple ground, lavender mid-tones, lime accent,
   heavy rounding, pill labels, circular arc motifs.
   ========================================================= */

:root {
  --ink:        #23094a;
  --ink-2:      #300c62;
  --purple:     #4c1d95;
  --purple-mid: #6d34c9;
  --purple-lt:  #9a6bec;
  --lav:        #c9b6ee;
  --lav-soft:   #ede7fb;
  --lav-tint:   #f6f2fe;
  --lime:       #c9e94f;
  --lime-deep:  #a9cf2c;
  --pink-soft:  #fbe7f1;
  --pink:       #e786b8;
  --white:      #ffffff;
  --body:       #40325c;
  --muted:      #6f5f92;
  --line:       rgba(76, 29, 149, .14);

  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-xl: 44px;

  --shadow-sm: 0 4px 18px rgba(35, 9, 74, .07);
  --shadow-md: 0 14px 40px rgba(35, 9, 74, .12);
  --shadow-lg: 0 28px 70px rgba(35, 9, 74, .20);

  --wrap: 1200px;
  --gut: clamp(20px, 5vw, 48px);

  --font-head: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* header is fixed and shrinks on scroll; --header-h is the tall (at rest)
     height and also the body offset, so the shrink never shifts the page */
  --header-h: 108px;
  --header-h-sm: 74px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  /* reserve the tall header height once — the header itself is fixed, so its
     shrink-on-scroll cannot reflow the document or jog the content */
  padding-top: var(--header-h);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.72;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
  /* long unbreakable tokens (the location card prints a full URL) otherwise
     blow past their container on narrow screens — overflow-x:hidden only hid
     the scrollbar, it still clipped the text */
  overflow-wrap: break-word;
  -webkit-tap-highlight-color: rgba(109, 52, 201, .15);
}
img { max-width: 100%; display: block; }
/* <picture> only exists to carry the WebP <source>; it must not become a box,
   or rules like `.tile img { height: 100% }` would resolve against an inline
   wrapper instead of the sized parent and every media crop would collapse. */
picture { display: contents; }
a { color: var(--purple-mid); text-decoration: none; }
a:hover { color: var(--purple); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(2.4rem, 6.2vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem);     font-weight: 800; }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); font-weight: 700; }
h4 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 700; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
ul { padding-left: 1.15em; }
strong { color: var(--ink); font-weight: 700; }

/* ---------- layout ---------- */
.wrap { width: min(var(--wrap), 100% - (var(--gut) * 2)); margin-inline: auto; }
.wrap--narrow { width: min(880px, 100% - (var(--gut) * 2)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--lav  { background: var(--lav-tint); }
.section--soft { background: var(--lav-soft); }
.section--ink  { background: var(--ink); color: var(--lav); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: var(--white); }
.section--ink strong { color: var(--lime); }
.center { text-align: center; }

/* arc motif lifted from the reference art */
.arc-bg { position: relative; overflow: hidden; }
.arc-bg::before {
  content: "";
  position: absolute;
  width: 640px; height: 640px;
  border-radius: 50%;
  border: 92px solid rgba(154, 107, 236, .13);
  top: -230px; right: -210px;
  pointer-events: none;
}
.arc-bg::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(201, 233, 79, .14);
  bottom: -130px; left: -110px;
  pointer-events: none;
}
.section--ink.arc-bg::before { border-color: rgba(201, 233, 79, .12); }
.section--ink.arc-bg::after  { background: rgba(154, 107, 236, .22); }
.arc-bg > * { position: relative; z-index: 1; }

/* ---------- pills / eyebrows ---------- */
.pill {
  display: inline-block;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .5em 1.35em;
  border-radius: 999px;
  margin-bottom: 1.1em;
}
.pill--outline {
  background: transparent;
  border: 2px solid var(--lime);
  color: var(--lime);
}
.pill--lav { background: var(--lav-soft); color: var(--purple); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 1.05em 2.1em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn--lime {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(169, 207, 44, .38);
}
.btn--lime:hover { background: var(--lime-deep); color: var(--ink); box-shadow: 0 16px 34px rgba(169, 207, 44, .45); }
.btn--purple {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(76, 29, 149, .3);
}
.btn--purple:hover { background: var(--ink-2); color: var(--white); }
.btn--ghost {
  background: transparent;
  border-color: var(--lav);
  color: var(--purple);
}
.btn--ghost:hover { background: var(--purple); border-color: var(--purple); color: var(--white); }
.btn--ghost-lt {
  background: transparent;
  border-color: rgba(255, 255, 255, .45);
  color: var(--white);
}
.btn--ghost-lt:hover { background: var(--white); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

/* =========================================================
   HEADER
   ========================================================= */
/* --h is the live header height: tall at rest, compact once scrolled.
   Children read it so the mobile panel always starts at the right offset. */
.site-header {
  --h: var(--header-h);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .28s ease;
}
.site-header.is-scrolled { --h: var(--header-h-sm); }
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--h);
  transition: min-height .28s cubic-bezier(.4, 0, .2, 1);
}
.site-header.is-scrolled {
  box-shadow: 0 6px 26px rgba(35, 9, 74, .09);
}

/* One logo, always inside the bar. It scales down in step with the header:
   the whole bar goes 108px -> 74px and the lockup 152px -> 104px. */
.site-logo {
  --logo-w: 152px;
  flex: 0 0 auto;
  display: block;
  line-height: 0;
}
.site-logo img {
  width: var(--logo-w);
  height: auto;
  transition: width .28s cubic-bezier(.4, 0, .2, 1);
}
.site-header.is-scrolled .site-logo { --logo-w: 104px; }
.site-nav { margin-left: auto; }
.site-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .93rem;
  color: var(--ink);
  padding: .65em .9em;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .16s ease, color .16s ease;
}
.site-nav a:hover,
.site-nav .is-current > a { background: var(--lav-soft); color: var(--purple); }
.site-nav .has-sub { position: relative; }
.site-nav .has-sub > a::after {
  content: "";
  display: inline-block;
  width: .4em; height: .4em;
  margin-left: .45em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.site-nav .sub {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 250px;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  padding: 10px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.site-nav .has-sub:hover .sub,
.site-nav .has-sub:focus-within .sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.site-nav .sub a { font-weight: 500; font-size: .9rem; padding: .6em .85em; }
.header-cta { flex-shrink: 0; }
.header-cta .btn { padding: .85em 1.5em; font-size: .92rem; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  border: none;
  border-radius: 14px;
  background: var(--lav-soft);
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 20px; height: 2.5px;
  background: var(--purple);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform .22s ease, opacity .22s ease;
}
.nav-toggle span { top: 50%; margin-top: -1.25px; }
.nav-toggle span::before { content: ""; top: -7px; }
.nav-toggle span::after  { content: ""; top:  7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateX(-50%) translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after  { transform: translateX(-50%) translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 120% at 78% 12%, rgba(109, 52, 201, .48) 0%, rgba(35, 9, 74, .84) 58%, rgba(35, 9, 74, .95) 100%);
}
.hero__inner {
  position: relative;
  padding: clamp(88px, 13vw, 168px) 0 clamp(76px, 11vw, 148px);
}
.hero h1, .hero h2 { color: var(--white); }
.hero__eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  color: var(--lime);
  letter-spacing: .02em;
  margin: 0 0 .5em;
}
.hero__lede {
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  color: rgba(255, 255, 255, .88);
  max-width: 62ch;
  margin-bottom: 2em;
}
.hero__inner .btn-row { margin-top: 2rem; }
.hero__tag {
  position: absolute;
  top: clamp(28px, 5vw, 56px);
  right: var(--gut);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 1;
  color: rgba(255, 255, 255, .09);
  letter-spacing: -.03em;
  pointer-events: none;
}
.hero--tall .hero__inner { padding-block: clamp(110px, 16vw, 210px) clamp(96px, 13vw, 180px); }

/* hero with a form beside it */
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

/* =========================================================
   PAGE INTRO (heroes with no photo of their own)
   ========================================================= */
.hero--flat {
  background:
    radial-gradient(105% 130% at 88% 0%, #6d34c9 0%, #3d1180 46%, #23094a 100%);
}
.hero--flat::after { display: none; }
.hero--flat .hero__inner { padding-block: clamp(84px, 12vw, 150px); }

/* =========================================================
   CARDS
   ========================================================= */
.grid { display: grid; gap: clamp(20px, 2.6vw, 32px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card__media { aspect-ratio: 16 / 11; overflow: hidden; background: var(--lav-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: clamp(22px, 2.4vw, 32px); flex: 1; display: flex; flex-direction: column; }
.card__body h3, .card__body h4 { margin-bottom: .55em; }
.card__body p { color: var(--body); font-size: .98rem; }
.card__link {
  margin-top: auto;
  padding-top: 1.1em;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  color: var(--purple-mid);
  display: inline-flex;
  align-items: center;
  gap: .4em;
}
.card__link::after { content: "→"; transition: transform .18s ease; }
.card:hover .card__link::after { transform: translateX(4px); }

/* numbered "why" card, straight from the reference layout */
.why-card { position: relative; }
.why-card__num {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 2;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .95rem;
  padding: .45em 1em;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(35, 9, 74, .22);
}
.why-card .card__media { aspect-ratio: 4 / 3; }
.why-card h3 { text-transform: lowercase; }

/* tile grid — the gif nav tiles */
.tile {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
  aspect-ratio: 4 / 3;
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease, opacity .3s ease;
  opacity: .82;
}
.tile:hover img { transform: scale(1.05); opacity: .62; }
.tile__label {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(20px, 2.4vw, 30px);
  background: linear-gradient(to top, rgba(35, 9, 74, .93) 8%, rgba(35, 9, 74, .55) 55%, transparent 100%);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.tile__label::after {
  content: "→";
  color: var(--lime);
  font-size: 1.1em;
  transition: transform .2s ease;
}
.tile:hover .tile__label::after { transform: translateX(5px); }
/* tile with no photograph available */
.tile--plain {
  background: linear-gradient(150deg, #6d34c9 0%, #3d1180 62%, #23094a 100%);
  display: flex;
  align-items: flex-end;
}
.tile--plain::before {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 54px solid rgba(201, 233, 79, .16);
  top: -110px; right: -84px;
}

/* =========================================================
   BENEFIT / ICON ROW
   ========================================================= */
.benefits { display: grid; gap: clamp(20px, 2.6vw, 34px); }
.benefit {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: clamp(28px, 3vw, 40px);
  text-align: center;
}
.section--ink .benefit {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .14);
  box-shadow: none;
}
.section--ink .benefit p { color: rgba(255, 255, 255, .8); }
.benefit__icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--lime);
  display: grid;
  place-items: center;
  color: var(--ink);
}
.benefit__icon svg { width: 34px; height: 34px; }
.benefit h4 { margin-bottom: .4em; }
.benefit p { font-size: .96rem; margin: 0; color: var(--muted); }

/* =========================================================
   SPLIT / MEDIA BLOCKS
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.split--wide-media { grid-template-columns: 1.15fr .85fr; }
.split__media {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--tall img { aspect-ratio: 3 / 4; }
.split--flip .split__media { order: 2; }

/* full-bleed photo band with a card floating over it */
.band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}
.band__media { position: absolute; inset: 0; z-index: -2; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(35, 9, 74, .94) 0%, rgba(35, 9, 74, .74) 46%, rgba(35, 9, 74, .35) 100%);
}
.band__inner { padding: clamp(70px, 10vw, 132px) 0; color: var(--white); }
.band h2, .band h3 { color: var(--white); }
.band p { color: rgba(255, 255, 255, .86); max-width: 58ch; }

/* =========================================================
   PROSE
   ========================================================= */
.prose { font-size: 1.06rem; }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1.4em; }
.prose li { margin-bottom: .55em; }
.prose a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose .lead {
  font-size: clamp(1.12rem, 1.9vw, 1.35rem);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.6;
}
.callout {
  background: var(--lav-soft);
  border-left: 5px solid var(--lime);
  border-radius: var(--r-md);
  padding: clamp(22px, 3vw, 34px);
  margin: 2em 0;
}
.check-list { list-style: none; padding: 0; margin: 0 0 1.5em; }
.check-list li {
  position: relative;
  padding-left: 2.1em;
  margin-bottom: .7em;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .42em;
  width: 1.25em; height: 1.25em;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: inset 0 0 0 .32em var(--ink);
}
.section--ink .check-list li::before { box-shadow: inset 0 0 0 .32em var(--ink); }

/* pill list, for the medical conditions column */
.pill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .5em 1.15em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  color: var(--purple);
}

/* =========================================================
   STEPS
   ========================================================= */
.steps { display: grid; gap: clamp(22px, 2.8vw, 34px); grid-template-columns: repeat(3, 1fr); }
.step {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: clamp(28px, 3vw, 40px);
  position: relative;
  overflow: hidden;
}
.step__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 4.2rem;
  line-height: 1;
  color: var(--lav);
  opacity: .55;
  position: absolute;
  top: 12px; right: 20px;
}
.step .pill { margin-bottom: .8em; }
.step h3 { margin-bottom: .5em; }
.step p { color: var(--body); font-size: .99rem; margin: 0; }
.section--ink .step {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .14);
  box-shadow: none;
}
.section--ink .step p { color: rgba(255, 255, 255, .8); }
.section--ink .step__num { color: rgba(201, 233, 79, .28); opacity: 1; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.quote-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: clamp(26px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.quote-card::before {
  content: "\201C";
  font-family: Georgia, serif;
  font-size: 5.5rem;
  line-height: .8;
  color: var(--lav);
  opacity: .55;
  position: absolute;
  top: 14px; right: 24px;
}
.quote-card p {
  font-size: 1rem;
  color: var(--body);
  margin: 0;
  position: relative;
  z-index: 1;
}
.quote-card__who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.quote-card__who img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--lime);
}
.quote-card__who .initial {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lav-soft);
  border: 3px solid var(--lime);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--purple);
}
.quote-card__who cite {
  font-style: normal;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
}
.section--ink .quote-card {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .15);
  box-shadow: none;
}
.section--ink .quote-card p { color: rgba(255, 255, 255, .88); }
.section--ink .quote-card cite { color: var(--white); }
.section--ink .quote-card::before { color: rgba(201, 233, 79, .3); opacity: 1; }

/* =========================================================
   FORM
   ========================================================= */
.form-card {
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(28px, 3.4vw, 46px);
}
.form-card h3 { margin-bottom: .25em; }
.form-card__note { color: var(--muted); font-size: .95rem; margin-bottom: 1.6em; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  color: var(--ink);
  margin-bottom: .45em;
}
.field input {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  padding: .95em 1.15em;
  border: 2px solid var(--lav-soft);
  border-radius: var(--r-sm);
  background: var(--lav-tint);
  transition: border-color .18s ease, background .18s ease;
}
.field input:focus {
  outline: none;
  border-color: var(--purple-lt);
  background: var(--white);
}
.form-card .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

/* Honeypot. Taken out of the layout and off the tab order rather than
   display:none, which the better bots know to skip. */
.hp {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip-path: inset(50%);
  white-space: nowrap;
}

/* Submit outcome. Hidden via the `hidden` attribute, which the handler
   toggles — the display rule has to beat the flex/block defaults above. */
.form-msg {
  margin: 14px 0 0;
  padding: .9em 1.1em;
  border-radius: var(--r-sm);
  font-size: .95rem;
  line-height: 1.5;
}
.form-msg[hidden] { display: none; }
.form-msg--ok {
  background: var(--lav-tint);
  border: 2px solid var(--lime-deep);
  color: var(--ink);
}
.form-msg--err {
  background: var(--pink-soft);
  border: 2px solid var(--pink);
  color: var(--ink);
}
.form-msg--err a { color: var(--purple); font-weight: 600; }

/* =========================================================
   ACCORDION (FAQs)
   ========================================================= */
.faq-group { margin-bottom: clamp(40px, 5vw, 64px); }
.faq-group > h3 {
  display: inline-block;
  background: var(--purple);
  color: var(--white);
  padding: .55em 1.4em;
  border-radius: 999px;
  font-size: 1.05rem;
  margin-bottom: 1.2em;
}
.acc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.acc__q {
  width: 100%;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.15em 3.4em 1.15em 1.5em;
  position: relative;
  line-height: 1.4;
}
.acc__q::after {
  content: "";
  position: absolute;
  right: 1.5em; top: 50%;
  width: 11px; height: 11px;
  border-right: 2.5px solid var(--purple-mid);
  border-bottom: 2.5px solid var(--purple-mid);
  transform: translateY(-65%) rotate(45deg);
  transition: transform .22s ease;
}
.acc.is-open .acc__q::after { transform: translateY(-25%) rotate(-135deg); }
.acc.is-open .acc__q { color: var(--purple); }
.acc__a {
  display: none;
  padding: 0 1.5em 1.5em;
  color: var(--body);
  font-size: .99rem;
}
.acc.is-open .acc__a { display: block; }
.acc__a ul { margin: .6em 0 0; }

/* =========================================================
   LOCATION
   ========================================================= */
.location {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  background: var(--white);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.location__media { height: 100%; min-height: 260px; background: var(--lav-soft); }
.location__media img { width: 100%; height: 100%; object-fit: cover; }
.location__body { padding: clamp(28px, 3.4vw, 48px); }
.location__body address { font-style: normal; font-size: 1.06rem; line-height: 1.7; margin-bottom: 1.2em; }
.location--noimg { grid-template-columns: 1fr; text-align: center; }
.location--noimg .location__body { padding-block: clamp(38px, 5vw, 64px); }

/* video */
.video-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
  background: var(--ink);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* gallery strip */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.gallery a {
  display: block;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery a:hover img { transform: scale(1.08); }

/* schedule list */
.schedule { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.schedule__item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  padding: 18px 22px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.schedule__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.schedule__play {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--lime);
  display: grid;
  place-items: center;
  color: var(--ink);
}
.schedule__play svg { width: 18px; height: 18px; margin-left: 2px; }
.schedule__meta { min-width: 0; }
.schedule__day {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.3;
}
.schedule__class {
  font-size: .85rem;
  font-weight: 600;
  color: var(--purple-mid);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* video modal — the schedule links stay real YouTube hrefs (so they still
   work without JS, and open in a new tab from a long-press / middle click);
   JS intercepts the plain click and plays the class in here instead */
.vidmodal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(35, 9, 74, .84);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .22s ease;
}
.vidmodal.is-open { display: flex; }
.vidmodal.is-shown { opacity: 1; }
.vidmodal__dialog {
  position: relative;
  width: min(1040px, 100%);
  max-height: 100%;
  background: var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(14px) scale(.985);
  transition: transform .26s cubic-bezier(.2, .8, .3, 1);
}
.vidmodal.is-shown .vidmodal__dialog { transform: none; }
.vidmodal__head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.vidmodal__title { min-width: 0; }
.vidmodal__day {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.3;
}
.vidmodal__class {
  font-size: .8rem;
  font-weight: 600;
  color: var(--purple-mid);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.vidmodal__close {
  flex: 0 0 auto;
  margin-left: auto;
  width: 42px; height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--lav-soft);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.vidmodal__close:hover { background: var(--lime); transform: rotate(90deg); }
.vidmodal__close svg { width: 20px; height: 20px; }
.vidmodal__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}
.vidmodal__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
@media (max-width: 620px) {
  .vidmodal { padding: 12px; }
  .vidmodal__head { padding: 12px 14px; }
  .vidmodal__day { font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) {
  .vidmodal, .vidmodal__dialog, .vidmodal__close { transition: none; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}
.footer-band__media { position: absolute; inset: 0; z-index: -2; }
.footer-band__media img { width: 100%; height: 100%; object-fit: cover; }
.footer-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(35, 9, 74, .95) 0%, rgba(61, 17, 128, .88) 100%);
}
.footer-band__inner {
  padding: clamp(64px, 9vw, 110px) 0;
  text-align: center;
  color: var(--white);
  position: relative;
}
.footer-band h2 { color: var(--white); margin-bottom: .2em; }
.footer-band .hero__eyebrow { margin-bottom: .3em; }
.footer-band__tag {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 5rem);
  color: rgba(255, 255, 255, .07);
  position: absolute;
  left: var(--gut); top: 24px;
  pointer-events: none;
}

.site-footer { background: var(--ink-2); color: var(--lav); padding: clamp(52px, 7vw, 78px) 0 0; }
/* Exclude buttons: `.site-footer a` outranks `.btn--lime`, so without the
   :not() it repainted the Get Started label lavender on lime — 1.3:1, unreadable.
   Scoping by :not(.btn) keeps every button variant on its own colours here. */
.site-footer a:not(.btn) { color: var(--lav); }
.site-footer a:not(.btn):hover { color: var(--lime); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 60px);
}
.site-footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6em; font-size: .96rem; }
/* The footer sits on deep purple and the mark is mid-purple, so here it does
   need a light plate to read — the bare + glow treatment is header-only. */
.footer-logo {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 14px 20px;
  display: inline-block;
  line-height: 0;
  margin-bottom: 22px;
}
.footer-logo img { width: 150px; height: auto; }
.footer-hours { font-size: .96rem; line-height: 2; }
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a {
  width: 44px; height: 44px;   /* minimum comfortable touch target */
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: background .18s ease, transform .18s ease, color .18s ease;
}
.socials a:hover { background: var(--lime); color: var(--ink); transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }
.footer-phone {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--lime) !important;
  display: inline-block;
  margin-top: .3em;
}
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 24px 0;
  font-size: .9rem;
  color: rgba(201, 182, 238, .75);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1320px) {
  /* trim the at-rest logo so it stays clear of the desktop nav */
  .site-logo { --logo-w: 132px; }
}

@media (max-width: 1080px) {
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .site-nav.is-open {
    display: block;
    position: fixed;
    /* --h, not --header-h: the panel must start below the header's *current*
       height, so it stays flush whether the bar is tall or already shrunk */
    inset: var(--h) 0 0;
    background: var(--white);
    overflow-y: auto;
    padding: 24px var(--gut) 60px;
    z-index: 199;
  }
  .site-nav.is-open > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav.is-open a { padding: .85em 1em; font-size: 1.02rem; }
  .site-nav.is-open .has-sub > a::after { float: right; margin-top: .5em; }
  .site-nav.is-open .sub {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--lav-soft);
    border-radius: 0;
    margin: 0 0 8px 14px;
    padding: 0 0 0 10px;
    min-width: 0;
  }
  .grid--5 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .schedule { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .split, .split--wide-media { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .grid--3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .location { grid-template-columns: 1fr; }
  .location__media { min-height: 220px; }
  .grid--5 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  :root { --header-h: 88px; --header-h-sm: 64px; }
  /* footer links are pure text — give them real height to tap */
  .site-footer li { margin-bottom: 0; }
  .site-footer li a { display: block; padding: .55em 0; }
  /* the location card prints a full URL; let it break rather than clip */
  .location__body p, .location__body address { overflow-wrap: anywhere; }
  .site-logo { --logo-w: 122px; }
  .site-header.is-scrolled .site-logo { --logo-w: 92px; }
  .grid--2, .grid--4, .grid--5 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .schedule { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .hero__tag { display: none; }
  .arc-bg::before { width: 340px; height: 340px; border-width: 56px; top: -140px; right: -120px; }
}

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