/* ==========================================================================
   Purposeful Pilates
   One design system for every page: one type family, one accent colour built
   from #0e3f4f, one set of heading, section, button and image proportions.
   ========================================================================== */

@font-face {
  font-family: "Open Sauce Sans";
  src: url("/assets/fonts/opensaucesans-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Open Sauce Sans";
  src: url("/assets/fonts/opensaucesans-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Open Sauce Sans";
  src: url("/assets/fonts/opensaucesans-medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Open Sauce Sans";
  src: url("/assets/fonts/opensaucesans-semibold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Open Sauce Sans";
  src: url("/assets/fonts/opensaucesans-bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --brand: #0e3f4f;
  --brand-deep: #0a2c38;
  --brand-mid: #1c5c70;
  --brand-tint: #eef3f5;
  --brand-line: #d5e1e4;

  --ink: #16272c;
  --muted: #52686f;
  --line: #e3e8e9;
  --accent: #2f8fa3;
  --tint: #f5f8f9;
  --white: #fff;

  --font: "Open Sauce Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;

  --container: 1440px;
  --gutter: clamp(20px, 4vw, 44px);
  --section-pad: clamp(64px, 8vw, 128px);
  --radius: 10px;
  --radius-sm: 6px;

  --h1: clamp(2.35rem, 5.2vw, 3.7rem);
  --h2: clamp(1.65rem, 3.2vw, 2.35rem);
  --h3: clamp(1.1rem, 1.5vw, 1.24rem);
  --body: 1.06rem;
  --measure: 66ch;
}

*, *::before, *::after { box-sizing: border-box; }

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

/* An extensionless route is answered with the root document; keep the
   placeholder paint hidden until the router has rendered the requested page. */
html.route-pending #app { visibility: hidden; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--brand-mid); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }

:focus-visible { outline: 3px solid var(--brand-mid); outline-offset: 2px; }

h1, h2, h3, h4 {
  margin: 0 0 0.55em;
  color: var(--brand);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.005em;
}
h1 { font-size: var(--h1); line-height: 1.1; max-width: 26ch; }
h2 { font-size: var(--h2); max-width: 26ch; }
h3 { font-size: var(--h3); }
h4 { font-size: 0.98rem; font-weight: 700; }

p { margin: 0 0 1.1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: 0.4em; }

.container {
  margin-inline: auto;
  width: 100%;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand); color: #fff; padding: 14px 20px;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------- sections */

.block { padding: var(--section-pad) 0; }
.block--center { text-align: center; }
.block--center h2, .block--center p { margin-left: auto; margin-right: auto; }
.block__intro { color: var(--muted); font-size: 1.06rem; margin-bottom: 2em; }
.block__note { color: var(--muted); font-size: 0.92rem; margin-top: 1.4em; }

.block--practice,
.block--steps,
.block--booking,
.block--hours,
.block--quals { background: var(--tint); }

.prose-quote {
  border-left: 3px solid var(--brand-line);
  padding-left: 1.15em;
  font-style: italic;
  color: var(--brand);
}

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 15px 26px;
  border: 1.5px solid transparent; border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 1rem; font-weight: 600;
  line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-deep); color: #fff; }
.btn--quiet { background: transparent; color: var(--brand); border-color: var(--brand-line); }
.btn--quiet:hover { background: var(--brand-tint); border-color: var(--brand); color: var(--brand); }
.btn--block { width: 100%; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8em; }
.block--center .cta-row { justify-content: center; }

.link-row { display: flex; flex-wrap: wrap; gap: 1.2em; margin: 1.4em 0 0; }
.text-link { font-weight: 600; color: var(--brand); text-decoration: underline; }
.text-link:hover { color: var(--brand-mid); }

/* ---------------------------------------------------------------- header */

.site-header { position: sticky; top: 0; z-index: 40; }

.nav-bar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.nav-bar__inner {
  display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px);
  min-height: 78px;
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: clamp(32px, 3.2vw, 40px); width: auto; }

.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 26px); list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav a {
  display: block; padding: 8px 0;
  color: var(--ink); font-size: 0.95rem; font-weight: 500;
  text-decoration: none; border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav a:hover { color: var(--brand); border-bottom-color: var(--brand-line); }
.nav a[aria-current="page"] { color: var(--brand); font-weight: 700; border-bottom-color: var(--brand); }

.nav-actions { display: flex; align-items: center; }
.nav-actions .btn { min-height: 46px; padding: 12px 20px; font-size: 0.9rem; }

.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px; cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 4px; }
.nav-toggle__bars i { display: block; width: 20px; height: 2px; background: var(--brand); border-radius: 2px; }

.mobile-nav { background: #fff; border-bottom: 1px solid var(--line); }
.mobile-nav .container { display: grid; gap: 12px; padding-top: 20px; padding-bottom: 26px; }
.mobile-nav__list { list-style: none; margin: 4px 0 0; padding: 0; }
.mobile-nav__list li { margin: 0; border-bottom: 1px solid var(--line); }
.mobile-nav__list a { display: block; padding: 15px 2px; color: var(--ink); font-weight: 500; text-decoration: none; }
.mobile-nav__contact { display: grid; gap: 6px; margin-top: 10px; font-size: 0.95rem; }
.mobile-nav__contact a { color: var(--muted); text-decoration: none; }

/* ------------------------------------------------------------------ hero */

.hero { background: var(--tint); }
.hero__inner {
  display: grid; grid-template-columns: 1.02fr 1fr;
  gap: clamp(32px, 5vw, 76px); align-items: center;
  padding-top: clamp(48px, 7vw, 92px);
  padding-bottom: clamp(48px, 7vw, 92px);
}
.hero__body h1 { margin-bottom: 0.45em; }
.hero__text { color: #33474d; font-size: clamp(1.06rem, 1.5vw, 1.2rem); }
.hero__media { border-radius: var(--radius); overflow: hidden; }
.hero__media img, .hero__media video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ------------------------------------------------------------- page hero */

.page-hero { background: var(--tint); padding: clamp(44px, 6vw, 80px) 0; }
.page-hero__text { color: var(--muted); font-size: clamp(1.04rem, 1.4vw, 1.16rem); margin: 0; }

/* ---------------------------------------------------------------- prose */

.block--prose p { max-width: var(--measure); }

/* ------------------------------------------------------ differentiators */

.differentiators {
  display: grid; gap: clamp(24px, 3vw, 44px);
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  margin-top: 2.4em;
}
.differentiator { border-top: 2px solid var(--brand); padding-top: 20px; }
.differentiator h3 { margin-bottom: 0.4em; }
.differentiator p { color: var(--muted); font-size: 0.98rem; margin: 0; }

/* ----------------------------------------------------------------- split */

.split {
  display: grid; gap: clamp(28px, 4vw, 64px); align-items: center;
  grid-template-columns: 1fr 1fr;
}
.block--reverse .split__media { order: 2; }
.split__media { margin: 0; border-radius: var(--radius); overflow: hidden; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__body p { color: #33474d; }
.split__body .link-row { margin-top: 1.6em; }

/* --------------------------------------------------------------- practice */

.practice { display: grid; gap: clamp(24px, 3vw, 40px); grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); margin-top: 2.4em; }
.practice__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.practice__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6em; margin-bottom: 0.7em; }
.practice__head h3 { margin: 0; }
.practice__price { margin: 0; font-size: 1.5rem; font-weight: 700; color: var(--brand); }
.practice__price span { display: block; font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.practice__item p { color: var(--muted); font-size: 0.98rem; }

/* ----------------------------------------------------------------- steps */

.steps { list-style: none; padding: 0; margin: 2.4em 0 0; display: grid; gap: clamp(22px, 3vw, 40px); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.step { display: flex; gap: 16px; border-top: 2px solid var(--brand); padding-top: 20px; }
.step__num {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 0.95rem;
  display: inline-flex; align-items: center; justify-content: center;
}
.step__body h3 { margin-bottom: 0.35em; }
.step__body p { color: var(--muted); font-size: 0.98rem; margin: 0; }
.block--steps .cta-row { margin-top: 2.4em; }

/* -------------------------------------------------------------- benefits */

.tick-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 0.6rem; grid-template-columns: 1fr;
}
.tick-list li { position: relative; padding-left: 1.7em; margin: 0; font-weight: 500; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 12px; height: 7px;
  border-left: 2.5px solid var(--brand-mid);
  border-bottom: 2.5px solid var(--brand-mid);
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------- gallery */

.gallery { display: grid; gap: clamp(14px, 2vw, 24px); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.gallery__item { margin: 0; border-radius: var(--radius); overflow: hidden; }
.gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ------------------------------------------------------------------ team */

.team { display: grid; gap: clamp(32px, 4vw, 56px); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.member { border-top: 2px solid var(--brand); padding-top: 22px; }
.member__media { margin: 0 0 20px; border-radius: var(--radius); overflow: hidden; }
.member__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 18%; }
.member__body h3 { margin-bottom: 0.15em; }
.member__role {
  color: var(--muted); font-size: 0.86rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 1em;
}
.member__body p { color: #33474d; font-size: 0.99rem; }
.member__certs { margin-top: 1.3em; border-top: 1px solid var(--line); padding-top: 1em; }
.member__certs h4 { color: var(--muted); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.6em; }
.member__certs ul { margin: 0; padding-left: 1.1em; }
.member__certs li { color: var(--muted); font-size: 0.92rem; }

.member__lead { margin-bottom: 0; }
.member__more { margin-top: 1em; }
.member__more > summary {
  display: inline-flex; align-items: center; gap: 0.55em;
  padding: 6px 0; cursor: pointer;
  color: var(--brand); font-size: 0.95rem; font-weight: 600;
  list-style: none;
}
.member__more > summary::-webkit-details-marker { display: none; }
.member__more > summary::after { content: "+"; font-size: 1.1rem; line-height: 1; }
.member__more[open] > summary::after { content: "-"; }
.member__more-close { display: none; }
.member__more[open] .member__more-open { display: none; }
.member__more[open] .member__more-close { display: inline; }
.member__more > p:first-of-type { margin-top: 0.9em; }
.member__more > .member__certs:first-child { margin-top: 1em; }
.member__more[open] > .member__certs { margin-bottom: 0; }
.member__more > p { color: #33474d; font-size: 0.99rem; }

.lead-widget__note { margin-top: 1.1em; color: var(--muted); font-size: 0.95rem; }
.lead-widget__toggle {
  margin-top: 0.5em; padding: 0;
  border: 0; background: none; cursor: pointer;
  color: var(--brand); font: inherit; font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
}
.lead-widget__toggle:hover { color: var(--brand-dark); }
.lead-widget__fallback { margin-top: 1.4em; }
.lead-widget__fallback .lead-form { margin-top: 0.6em; }

/* WellnessLiving embeds arrive with a very short default frame, which clips their
   content. Give the frame room so the whole form or schedule is visible without
   waiting for the embed to resize itself. */
.lead-widget iframe,
.booking__frame iframe {
  display: block; width: 100%; min-height: 520px; border: 0;
}

/* The class schedule is the studio's busiest page, so it sits in the header next to
   the booking action rather than only in the footer. */
.nav-schedule {
  margin-right: 1.25rem; white-space: nowrap;
  color: var(--brand); font-size: 0.95rem; font-weight: 600; text-decoration: none;
}
.nav-schedule:hover { text-decoration: underline; text-underline-offset: 3px; }
.nav-schedule--mobile { display: inline-block; margin: 0.9rem 0 0; }
@media (max-width: 1180px) {
  .nav-actions .nav-schedule { display: none; }
}

.video { margin: 0; }
.video video {
  display: block; width: 100%; max-height: 78vh;
  border-radius: var(--radius-lg); background: #0d1a1f; object-fit: cover;
}

.block__eyebrow {
  margin: 0 0 0.55rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.booking__toggle {
  border: 1px solid var(--brand-line);
  border-radius: var(--radius);
  padding: 0 1.25rem;
}
.booking__toggle summary {
  padding: 1.1rem 0;
  color: var(--brand);
  font-weight: 600;
  cursor: pointer;
}
.booking__toggle[open] summary {
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

/* The studio's own site runs these cards as a deep teal colour block with white
   cards on top, rather than as a white strip with teal rules. */
.block--differentiators {
  background: var(--brand);
  color: #fff;
  padding: var(--section-pad) 0;
}
.block--differentiators h2 { color: #fff; }
.block--differentiators .differentiator {
  background: #fff;
  border-top: 0;
  border-radius: var(--radius);
  padding: 26px 22px;
}
.block--differentiators .differentiator h3 { color: var(--brand); }
.block--differentiators .differentiator p { color: var(--muted); }

/* A light wash keeps the rhythm between two white sections. */
.block--benefits { background: var(--brand-tint); }

.differentiator__icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 0.9rem;
}
.block--differentiators h2 {
  max-width: 26ch;
  margin: 0 auto 2.6rem;
  text-align: center;
}
.block--differentiators .differentiators { align-items: stretch; }
.block--differentiators .differentiator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  padding: 30px 24px;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(6, 30, 38, 0.18);
}
.block--differentiators .differentiator h3 { font-size: 1.08rem; margin: 0; }
.block--differentiators .differentiator p { font-size: 0.98rem; }

/* band sections: heading, intro and call to action sit on the centre line so the
   band reads as a composed block rather than a left-aligned strip */
.block--steps h2,
.block--benefits h2,
.block--reviews h2,
.block--booking h2 {
  max-width: 24ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.block--steps .block__intro,
.block--benefits .block__intro,
.block--reviews .block__intro,
.block--booking .block__intro {
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.block--steps .cta-row,
.block--reviews .cta-row { justify-content: center; }
.block--steps .step { text-align: left; }

/* wide layout: the site is built to fill the screen rather than sit in a narrow
   column, with the content line kept comfortable inside generous fluid padding */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 84px);
}
.block--split { padding-block: clamp(56px, 7vw, 112px); }
.split {
  align-items: center;
  gap: clamp(28px, 5vw, 88px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.split__media img { aspect-ratio: 3 / 2; }
.split__body h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.block--differentiators .differentiators {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 1180px) {
  .block--differentiators .differentiators { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .block--differentiators .differentiators { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .block--differentiators .differentiators { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------- booking */

.booking__frame {
  margin-top: 2.2em; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(14px, 2vw, 26px); min-height: 420px;
}
.booking__frame wl-appointments-widget { display: block; width: 100%; }

/* --------------------------------------------------------------- reviews */

.elfsight-app-21421cd7-a49e-402a-b87c-f3365f5c598c { margin-top: 2em; min-height: 220px; }

/* --------------------------------------------------------------- contact */

.contact { display: grid; gap: clamp(30px, 4vw, 64px); grid-template-columns: 1fr 1.15fr; align-items: start; }
.contact__list { margin: 0; }
.contact__list dt {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin-top: 1.6em;
}
.contact__list dt:first-child { margin-top: 0; }
.contact__list dd { margin: 0.3em 0 0; font-size: 1.08rem; }
.contact__list dd a { text-decoration: none; color: var(--ink); }
.contact__list dd a:hover { color: var(--brand); text-decoration: underline; }

.lead-widget { min-height: 320px; }
.lead-widget wl-lead-capture-widget { display: block; width: 100%; }

/* ----------------------------------------------------------------- hours */

.hours table { width: 100%; border-collapse: collapse; max-width: 460px; }
.hours th, .hours td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--brand-line); font-weight: 500; }
.hours th { color: var(--muted); font-weight: 600; }

/* ----------------------------------------------------------------- quals */

.quals { display: grid; gap: clamp(24px, 3vw, 44px); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 2.2em; }
.qual { border-top: 2px solid var(--brand); padding-top: 20px; }
.qual h3 { margin-bottom: 0.7em; }
.qual ul { margin: 0; padding-left: 1.15em; }
.qual li { color: var(--muted); font-size: 0.95rem; }

/* ------------------------------------------------------------ cta band */

.cta-band { background: var(--brand); color: #fff; padding: var(--section-pad) 0; }
.cta-band h2 { color: #fff; max-width: 30ch; }
.cta-band p { color: rgba(255, 255, 255, 0.88); }
.cta-band .btn--primary { background: #fff; color: var(--brand); }
.cta-band .btn--primary:hover { background: var(--brand-tint); color: var(--brand); }
.cta-band .btn--quiet { color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.cta-band .btn--quiet:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* ----------------------------------------------------------------- press */

.block--press { padding: 32px 0 44px; }
.press { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------------------------------------------------------------- legal */

.block--legal h2 { font-size: 1.3rem; margin-top: 2em; }
.block--legal p, .block--legal li { color: #33474d; font-size: 1rem; }

/* ----------------------------------------------------------------- forms */

.lead-form { display: grid; gap: 16px; }
.lead-form__grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.field { margin: 0; display: grid; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 0.92rem; font-weight: 600; color: var(--brand); }
.field .optional { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  font-family: var(--font); font-size: 1rem; color: var(--ink);
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-mid); outline: none; }
.lead-form__hp { position: absolute; left: -9999px; }
.lead-form__submit { justify-self: start; }
.form__status { margin: 0; font-weight: 600; color: var(--brand); }
.form__status--error { color: #8a2c2c; }

/* ---------------------------------------------------------------- footer */

.site-footer { background: var(--brand-deep); color: rgba(255, 255, 255, 0.82); }
.footer__top {
  display: grid; gap: clamp(30px, 4vw, 56px);
  grid-template-columns: 1.5fr 1fr 1fr;
  padding-top: clamp(52px, 6vw, 84px); padding-bottom: clamp(36px, 4vw, 56px);
}
.footer__brand img { height: 42px; width: auto; margin-bottom: 20px; }
.footer__brand p { font-size: 1rem; color: rgba(255, 255, 255, 0.82); max-width: 40ch; }
.footer__col h2 {
  color: #fff; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1.1em;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-bottom: 0.7em; }
.footer__col a { color: rgba(255, 255, 255, 0.82); text-decoration: none; font-size: 0.98rem; }
.footer__col a:hover { color: #fff; text-decoration: underline; }
.social { display: flex; gap: 14px; list-style: none; margin: 1.6em 0 0; padding: 0; }
.social img { height: 26px; width: auto; opacity: 0.85; }
.social a:hover img { opacity: 1; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 22px; padding-bottom: 26px;
  font-size: 0.88rem; color: rgba(255, 255, 255, 0.62);
}
.footer__bottom a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.footer__bottom a:hover { color: #fff; text-decoration: underline; }
.footer__legal { display: flex; gap: 20px; margin: 0; }

/* --------------------------------------------------------------- widgets */

.elfsight-app-lazy { min-height: 200px; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 1080px) {
  .nav, .nav-actions { display: none; }
  .nav-toggle { display: block; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --body: 1.05rem; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { margin-top: 8px; }
  .split, .contact { grid-template-columns: 1fr; }
  .block--reverse .split__media { order: 0; }
  .split__media { order: -1; }
  .member__media img { aspect-ratio: 4 / 3; object-position: center 22%; }
  .differentiators, .steps, .practice, .quals { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .cta-row .btn { width: 100%; }
  .block__intro { margin-bottom: 1.6em; }
  .hours th, .hours td { padding: 10px 0; }
}

/* ---------------------------------------------------------------- wide layout
   The site fills the window instead of sitting in a narrow column: a 1440px
   content line with fluid padding, and the Why Us cards holding one row of five. */
.container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 84px);
}
.block--differentiators .differentiators {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 1180px) {
  .block--differentiators .differentiators { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .block--differentiators .differentiators { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .block--differentiators .differentiators { grid-template-columns: minmax(0, 1fr); }
}
.split { align-items: center; gap: clamp(28px, 5vw, 88px); }
.split__media img { aspect-ratio: 3 / 2; }
.block--split { padding-block: clamp(56px, 7vw, 112px); }

/* Alternating service blocks: with .block--reverse the photograph moves to the left
   and the copy to the right, so the page steps down the screen instead of repeating
   the same shape four times. */
.block--reverse .split__media { order: -1; }
.block--reverse .split__body { order: 1; }
@media (max-width: 900px) {
  .block--reverse .split__media,
  .block--reverse .split__body { order: 0; }
}

/* Footer social icons read as white against the deep teal, and the opening hours sit
   with the address instead of in their own section further down the page. */
.site-footer .social img,
.site-footer .footer-social img { filter: brightness(0) invert(1); opacity: 0.92; }
.site-footer .social img:hover,
.site-footer .footer-social img:hover { opacity: 1; }
.block--contact { padding-bottom: 0; }
.block--hours { background: transparent; padding-top: 0; }
.block--hours h2 { font-size: 1.15rem; }

/* The map closes the address block, so it sits directly beneath the hours rather than
   floating below the page's call to action. */
.block--map { padding-top: 0; padding-bottom: 3rem; }
.map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 18px 40px rgba(11, 63, 74, 0.12); }
.map iframe { display: block; width: 100%; height: 380px; border: 0; }
@media (max-width: 700px) { .map iframe { height: 260px; } }

/* The weekly class schedule: day cards on white, with the level colour-coded so a
   reader can find their own class at a glance. */
.schedule {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.1rem;
  margin: 2rem 0 1.4rem;
}
.schedule__day {
  background: #fff;
  border: 1px solid rgba(11, 63, 74, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.2rem 1.2rem;
  box-shadow: 0 10px 26px rgba(11, 63, 74, 0.07);
}
.schedule__day h3 {
  margin: 0 0 0.75rem;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(11, 63, 74, 0.12);
}
.schedule__day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.schedule__day li { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.schedule__level {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}
.schedule__level--beginner-1 { background: #e6f4f6; color: #0b3f4a; }
.schedule__level--beginner-2 { background: #cfe9ee; color: #0b3f4a; }
.schedule__level--intermediate { background: #2f8fa3; color: #fff; }
.schedule__level--advanced { background: #0e3f4f; color: #fff; }
.schedule__time { font-weight: 600; color: #1d2b2f; white-space: nowrap; }
.schedule__note { color: #5b6b70; font-size: 0.95rem; margin: 0 0 1.6rem; }
@media (max-width: 700px) {
  .schedule { grid-template-columns: 1fr; }
}

/* The schedule stays folded away until someone asks for it, like the booking widget
   it replaced. The summary is styled as a button so it reads as a control. */
.schedule__panel { margin: 1.6rem 0 0; }
.schedule__panel summary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  border: 1px solid var(--brand);
  transition: background 0.18s ease, color 0.18s ease;
}
.schedule__panel summary:hover { background: var(--brand-deep); }
.schedule__panel summary::-webkit-details-marker { display: none; }
.schedule__panel summary::after {
  content: "";
  width: 0.5rem; height: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
}
.schedule__panel[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.schedule__panel[open] summary { margin-bottom: 0.4rem; }

.lead-form label { display: grid; gap: 6px; font-weight: 600; color: var(--ink); }
.lead-form input, .lead-form textarea {
  font: inherit; padding: 0.7rem 0.85rem; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; color: var(--ink); width: 100%;
}
.lead-form textarea { resize: vertical; }
.lead-form input:focus, .lead-form textarea:focus { outline: 2px solid var(--brand-mid); outline-offset: 1px; }

/* The WellnessLiving widget builds its own frame inside this container and reports
   its height once it is ready, so reserve the space it needs up front. */
.contact__form { min-height: 520px; }
.contact__form iframe { width: 100%; border: 0; }

/* Scroll target for the booking buttons; the sticky header would otherwise cover it. */
.anchor-target { display: block; position: relative; top: -100px; visibility: hidden; }

/* Buttons inside a page hero sit just below the intro paragraph. */
.page-hero .btn, .page-hero .cta-row, .page-hero .btn-row { margin-top: 1.5rem; }
.contact__logo { display: block; margin: 0 auto 1.4rem; height: auto; }

.block__media { margin: 1.6rem 0 2rem; }
.block__media img { width: 100%; height: auto; border-radius: 16px; }

.page-hero__media { margin: 0; }
.page-hero__media img { display: block; width: 100%; height: clamp(260px, 38vw, 460px); object-fit: cover; }

main[data-page="now-hiring"] .block--prose h2 { column-span: all; }
@media (max-width: 860px) {
  main[data-page="now-hiring"] .block--prose .container { column-count: 1; }
}

/* A prose block with a photo: copy in a column on the left, photo to its right,
   both spanning the page width. The photo keeps its own shape, no cropping. */
.block--prose--media .prose__split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 76px); align-items: start;
}
.block--prose--media .prose__copy p { max-width: none; }
.block--prose--media .prose__media {
  margin: 0; position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 3 / 2;
}
.block--prose--media .prose__media img {
  display: block; width: 100%; height: 100%; object-fit: cover;
}
@media (min-width: 901px) {
  /* the photo is taller than its frame so it can travel as the page scrolls */
  .block--prose--media .prose__media img {
    position: absolute; left: 0; top: -9%; width: 100%; height: 118%;
    object-fit: cover; will-change: transform; transform: translate3d(0, 0, 0);
  }
}
@media (max-width: 900px) {
  .block--prose--media .prose__split { grid-template-columns: 1fr; }
}

/* The qualification list photo should sit with the heading, not fill the page. */
.block--quals .block__media { max-width: 620px; margin: 1.6rem 0 2.4rem; }

/* The benefits section reads left, in line with the rest of the page. */
.block--benefits h2,
.block--benefits .block__intro {
  max-width: none; margin-left: 0; margin-right: 0; text-align: left;
}

/* Keep the studio hours clear of the address above them. */
.contact__hours { margin-top: 2.4rem; }

/* Mobile legibility: no body text below 16px on small screens, and tap targets
   that clear 44px. Sizes only change where they were below the readable floor. */
@media (max-width: 700px) {
  body { font-size: 17px; }
  .block__note, .practice__price span, .site-footer, .footer__legal,
  .hours, .contact__list, .qual li, .step__body p, .practice__item p,
  .differentiator p, .member__bio, .member__role { font-size: 16px; }
  .btn, .nav-actions .btn, .btn--quiet { min-height: 48px; }
  .footer__nav a, .social a, .mobile-nav__list a { min-height: 44px; display: inline-flex; align-items: center; }
  .social a img { width: 26px; height: 26px; }
}
