/* ==========================================================================
   Purposeful Pilates — design system
   Deep teal authority + bright white fields + aqua accents.
   ========================================================================== */

:root {
  --teal: #0e3f4f;
  --teal-deep: #08222b;
  --teal-mid: #17566a;
  --teal-soft: #e8f1f3;
  --aqua: #86d8da;
  --aqua-bright: #a9e6e7;
  --aqua-soft: #e4f6f6;
  --ink: #14242a;
  --muted: #5c727a;
  --line: #e2e9ea;
  --sand: #f8f6f2;
  --white: #fff;

  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 18px 40px -28px rgba(14, 63, 79, 0.45);
  --shadow-lg: 0 34px 70px -40px rgba(14, 63, 79, 0.55);
  --container: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(16px, 0.55vw + 14.6px, 17.5px);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-mid); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0 0 0.6em; color: var(--teal); }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.15rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.85rem, 3.3vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 1.5vw, 1.5rem); }
h4 { font-size: 1.02rem; font-family: var(--sans); font-weight: 700; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: 0.45em; }

.container { 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(--teal); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* Set by the head bootstrap when the host served the root shell for a different
   path; removed as soon as the router renders the real page. */

:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; }

/* ------------------------------------------------------------- type pieces */

.eyebrow {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--teal-mid);
  margin: 0 0 0.9em;
}

.block { padding: clamp(56px, 8vw, 108px) 0; position: relative; }
.block--center { text-align: center; }
.block--center .block__intro,
.block--center > .container > p { max-width: 62ch; margin-left: auto; margin-right: auto; }
.block__intro { font-size: 1.06rem; color: var(--muted); max-width: 66ch; margin-bottom: 2.2em; }
.block h2 { max-width: 24ch; }
.block--center h2 { margin-left: auto; margin-right: auto; }

.prose-quote {
  font-family: var(--serif);
  font-size: 1.22rem;
  color: var(--teal);
  border-left: 3px solid var(--aqua);
  padding-left: 1.1em;
}

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--sans); font-weight: 600; font-size: 0.94rem;
  letter-spacing: 0.01em; line-height: 1;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--teal); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--teal-deep); color: #fff; }
.btn--aqua { background: var(--aqua); color: var(--teal-deep); box-shadow: 0 14px 30px -22px rgba(14, 63, 79, 0.8); }
.btn--aqua:hover { background: var(--aqua-bright); color: var(--teal-deep); }
.btn--outline { background: transparent; color: var(--teal); border-color: rgba(14, 63, 79, 0.28); }
.btn--outline:hover { border-color: var(--teal); background: var(--teal-soft); }
.btn--ghost { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.5); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.24); color: #fff; }
.btn--lg { padding: 18px 32px; font-size: 1rem; }
.btn--block { width: 100%; }

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

.link-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55em; margin: 1.2em 0 0; }
.link-row__sep { color: var(--line); }
.text-link { font-weight: 600; color: var(--teal); text-decoration: none; border-bottom: 2px solid var(--aqua); padding-bottom: 1px; }
.text-link:hover { border-bottom-color: var(--teal); }

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

.announce {
  display: flex; align-items: center; justify-content: center; gap: 0.5em;
  background: var(--teal); color: #fff; text-decoration: none;
  font-size: 0.83rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 10px var(--gutter); text-align: center;
}
.announce:hover { background: var(--teal-deep); color: #fff; }
.announce__arrow { transition: transform 0.2s ease; }
.announce:hover .announce__arrow { transform: translateX(4px); }

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

.nav-bar { background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-bar__inner { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); min-height: 76px; }

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

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

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { padding: 12px 20px; font-size: 0.87rem; }

/* the schedule action is intentionally the loudest item in the header */
.btn--schedule {
  position: relative;
  background: var(--aqua);
  color: var(--teal-deep);
  font-weight: 700;
  letter-spacing: 0.02em;
  border-color: var(--teal-deep);
  box-shadow: 0 0 0 4px rgba(134, 216, 218, 0.28);
}
.btn--schedule::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal-deep); flex-shrink: 0;
}
.btn--schedule:hover { background: var(--aqua-bright); color: var(--teal-deep); }

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

.mobile-nav { border-bottom: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.mobile-nav .container { padding-top: 18px; padding-bottom: 22px; display: grid; gap: 10px; }
.mobile-nav__list { list-style: none; margin: 8px 0 0; padding: 0; }
.mobile-nav__list li { margin: 0; border-bottom: 1px solid var(--line); }
.mobile-nav__list a { display: block; padding: 14px 2px; color: var(--ink); text-decoration: none; font-weight: 500; }
.mobile-nav__contact { display: grid; gap: 4px; margin-top: 10px; font-size: 0.9rem; }
.mobile-nav__contact a { color: var(--muted); text-decoration: none; }

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

.hero { position: relative; overflow: hidden; background: var(--teal-deep); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8, 34, 43, 0.86) 0%, rgba(8, 34, 43, 0.62) 48%, rgba(14, 63, 79, 0.45) 100%);
}
.hero__inner { position: relative; padding: clamp(76px, 12vw, 150px) 0 clamp(72px, 11vw, 140px); color: #fff; }
.hero__inner h1 { color: #fff; max-width: 17ch; margin-bottom: 0.4em; }
.hero__inner .eyebrow { color: var(--aqua); }
.hero__text { color: rgba(255, 255, 255, 0.9); font-size: clamp(1.02rem, 1.1vw, 1.2rem); max-width: 52ch; }

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

.page-hero { position: relative; overflow: hidden; background: var(--teal); }
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(8, 34, 43, 0.9), rgba(14, 63, 79, 0.66));
}
.page-hero__inner { position: relative; padding: clamp(58px, 8vw, 104px) 0; color: #fff; }
.page-hero__inner h1 { color: #fff; margin-bottom: 0.35em; }
.page-hero__inner .eyebrow { color: var(--aqua); }
.page-hero__text { color: rgba(255, 255, 255, 0.9); max-width: 62ch; font-size: clamp(1rem, 1vw, 1.14rem); }
.page-hero__hint { color: rgba(255, 255, 255, 0.68); font-size: 0.85rem; margin: 1.1em 0 0; }

/* ---------------------------------------------------------------- values */

.block--values { background: var(--sand); }
.values { display: grid; gap: clamp(14px, 1.6vw, 22px); grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.value {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px 24px; text-align: left; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value__icon { display: inline-flex; margin-bottom: 14px; }
.value__icon img { height: 46px; width: auto; }
.value h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin-bottom: 0.35em; }
.value p { margin: 0; color: var(--muted); font-size: 0.94rem; }

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

.split { display: grid; gap: clamp(26px, 4vw, 62px); align-items: center; grid-template-columns: 1fr 1fr; }
.block--reverse .split__media { order: 2; }
.split__media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__body h2 { margin-bottom: 0.5em; }
.split__body p { color: #33474d; }

/* ---------------------------------------------------------------- cards */

.cards { display: grid; gap: clamp(16px, 2vw, 26px); grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); margin-top: 2.4em; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card__price { font-family: var(--serif); font-size: 2.1rem; color: var(--teal); margin: 0 0 0.5em; line-height: 1.1; }
.card__price span { font-family: var(--sans); font-size: 0.82rem; color: var(--muted); font-weight: 600; display: block; margin-top: 4px; }
.card__list { list-style: none; padding: 0; margin: 0 0 1em; }
.card__list li { padding-left: 1.4em; position: relative; color: var(--muted); font-size: 0.94rem; }
.card__list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); }
.card .cta-row { margin-top: auto; padding-top: 1.2em; }
.card--featured { background: var(--teal); border-color: var(--teal); color: #fff; }
.card--featured h3, .card--featured .card__price { color: #fff; }
.card--featured p, .card--featured .card__price span, .card--featured .card__list li { color: rgba(255, 255, 255, 0.82); }
.card__badge {
  align-self: flex-start; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; background: var(--aqua); color: var(--teal-deep);
  padding: 6px 12px; border-radius: 999px; margin: 0 0 1em;
}
.cards--media { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card--media { padding: 0; overflow: hidden; }
.card--media img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card--media h3, .card--media p { padding: 0 26px; }
.card--media h3 { padding-top: 22px; }
.card--media p { padding-bottom: 26px; margin-bottom: 0; }

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

.block--steps { background: var(--sand); }
.steps { list-style: none; padding: 0; margin: 2.4em 0 0; display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); counter-reset: step; }
.step { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 30px 26px; }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; background: var(--aqua-soft); color: var(--teal);
  font-weight: 700; margin-bottom: 16px;
}
.step h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; }
.step p { margin: 0; color: var(--muted); font-size: 0.94rem; }

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

.tick-list { list-style: none; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.tick-list li { position: relative; padding-left: 1.9em; margin: 0; font-weight: 500; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 0.42em; width: 14px; height: 8px;
  border-left: 2.5px solid var(--aqua); border-bottom: 2.5px solid var(--aqua);
  transform: rotate(-45deg);
}

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

.block--quals { background: var(--sand); }
.quals { display: grid; gap: clamp(18px, 2.4vw, 30px); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 2.2em; }
.qual { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.qual h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--teal); padding-bottom: 12px; border-bottom: 2px solid var(--aqua-soft); }
.qual ul { margin: 0; padding-left: 1.1em; }
.qual li { color: var(--muted); font-size: 0.94rem; }

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

.gallery { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); margin-top: 2.2em; }
.gallery__item { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery__item img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 0.5s ease; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item--wide { grid-column: span 2; grid-row: span 2; }
.gallery__item--wide img { aspect-ratio: auto; }

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

.block--instructors { background: var(--sand); }
.team { display: grid; gap: clamp(22px, 3vw, 40px); margin-top: 2.4em; }
.member {
  display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: clamp(22px, 3vw, 46px);
  align-items: start; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(20px, 2.4vw, 32px); box-shadow: var(--shadow);
}
.member__media { margin: 0; border-radius: var(--radius); overflow: hidden; }
.member__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%; }
.member__role { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal-mid); margin: 0 0 0.4em; }
.member__body h3 { margin-bottom: 0.5em; }
.member__body p { color: #3b4f55; font-size: 0.96rem; }
.member__certs { margin-top: 1.4em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.member__certs h4 { color: var(--teal); margin-bottom: 0.6em; letter-spacing: 0.02em; }
.member__certs ul { margin: 0; padding-left: 1.1em; }
.member__certs li { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.3em; }

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

.block--booking { background: var(--teal); color: #fff; }
.block--booking h2, .block--booking .eyebrow { color: #fff; }
.block--booking .eyebrow { color: var(--aqua); }
.block--booking .block__intro { color: rgba(255, 255, 255, 0.82); }
.booking__frame { background: #fff; border-radius: var(--radius-lg); padding: clamp(16px, 2.4vw, 28px); min-height: 640px; box-shadow: var(--shadow-lg); }
/* WellnessLiving renders its booking UI into a custom element; it must be a
   block box so the injected iframe (width:100%) can size correctly. */
.booking__frame wl-appointments-widget { display: block; width: 100%; }
.booking__frame iframe { display: block; width: 100%; border: 0; }
.booking__fallback { color: rgba(255, 255, 255, 0.78); font-size: 0.88rem; margin-top: 1.1em; }
.booking__fallback a { color: var(--aqua); }

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

.block--reviews { background: var(--sand); }
.reviews__fallback { color: var(--muted); font-size: 0.9rem; margin-top: 1.4em; }

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

.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(26px, 4vw, 60px); align-items: start; }
.contact__info p { font-size: 1.02rem; }
.contact__map { margin-top: 1.6em; }
.contact__form {
  background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 38px); display: grid; gap: 6px;
}
.contact__form h2 { font-size: 1.5rem; margin-bottom: 0.6em; }
.contact__form label { font-size: 0.84rem; font-weight: 600; color: var(--teal); margin-top: 10px; }
.contact__form .optional { font-weight: 400; color: var(--muted); }
.contact__form input, .contact__form textarea {
  font-family: var(--sans); font-size: 0.98rem; padding: 13px 15px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); width: 100%;
}
.contact__form textarea { resize: vertical; }
.contact__form input:focus, .contact__form textarea:focus { border-color: var(--aqua); outline: none; box-shadow: 0 0 0 3px var(--aqua-soft); }
.contact__form .btn { margin-top: 18px; justify-self: start; }
.form__status { font-size: 0.86rem; color: var(--teal-mid); margin: 12px 0 0; min-height: 1.2em; }

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

.block--hours { background: var(--sand); }
.hours { display: grid; grid-template-columns: minmax(0, 520px); gap: 1.4em; }
.hours table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hours th, .hours td { text-align: left; padding: 14px 22px; border-bottom: 1px solid var(--line); font-size: 0.96rem; }
.hours th { font-weight: 600; color: var(--teal); width: 45%; }
.hours td { color: var(--muted); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours__address { font-weight: 600; }

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

.block--legal { max-width: 82ch; }
.block--legal h2 { font-size: 1.35rem; margin-top: 2.2em; }
.block--legal h2:first-child { margin-top: 0; }
.block--legal p { color: #3b4f55; }

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

.cta-band { background: var(--teal-deep); color: #fff; padding: clamp(56px, 7vw, 92px) 0; }
.cta-band__inner { text-align: center; }
.cta-band h2 { color: #fff; margin-left: auto; margin-right: auto; max-width: 26ch; }
.cta-band p { color: rgba(255, 255, 255, 0.82); max-width: 60ch; margin: 0 auto; }
.cta-band .cta-row { justify-content: center; }

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

.site-footer { background: var(--teal); color: rgba(255, 255, 255, 0.82); padding: clamp(52px, 6vw, 84px) 0 26px; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: clamp(26px, 3vw, 48px); }
.footer__brand img { height: 46px; width: auto; margin-bottom: 18px; }
.footer__brand p { font-size: 0.93rem; max-width: 34ch; }
.site-footer h2 { color: #fff; font-family: var(--sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.17em; text-transform: uppercase; margin-bottom: 1.1em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.5em; }
.site-footer a { color: rgba(255, 255, 255, 0.84); text-decoration: none; font-size: 0.93rem; }
.site-footer a:hover { color: var(--aqua); }
.social { display: flex; gap: 10px; margin-top: 1.4em; }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease, transform 0.2s ease;
}
.social a:hover { background: var(--aqua); transform: translateY(-2px); }
.social img { width: 19px; height: 19px; }
.subscribe { display: grid; gap: 10px; margin-top: 0.4em; }
.subscribe input {
  font-family: var(--sans); font-size: 0.95rem; padding: 13px 15px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.1); color: #fff;
}
.subscribe input::placeholder { color: rgba(255, 255, 255, 0.6); }
.subscribe .btn { justify-self: start; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  margin-top: clamp(34px, 4vw, 56px); padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 0.84rem;
}
.footer__bottom p { margin: 0; }

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

@media (max-width: 1100px) {
  .nav { display: none; }
  .nav-actions { margin-left: auto; }
  .nav-toggle { display: block; margin-left: 6px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .split, .contact { grid-template-columns: 1fr; }
  .block--reverse .split__media { order: 0; }
  .split__media img { aspect-ratio: 16 / 10; }
  .member { grid-template-columns: 1fr; }
  .member__media { max-width: 320px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--wide { grid-column: span 2; grid-row: auto; }
  .gallery__item--wide img { aspect-ratio: 16 / 10; }
}

@media (max-width: 720px) {
  /* keep the schedule action prominent on phones; the full CTA set lives in the menu */
  .nav-actions .btn--primary { display: none; }
  .nav-actions .btn--schedule { padding: 10px 14px; font-size: 0.8rem; }
  .nav-actions .btn--schedule::before { width: 6px; height: 6px; }
  .brand img { height: 32px; }
  .hero__inner h1 { max-width: none; }
  .footer__top { grid-template-columns: 1fr; }
  .hours th, .hours td { padding: 12px 16px; font-size: 0.9rem; }
}

@media (max-width: 380px) {
  .nav-actions .btn--schedule { padding: 9px 11px; font-size: 0.74rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .hero__video { display: none; }
  .hero { background-image: var(--hero-fallback, none); background-size: cover; }
}

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

/* reserve the booking widget area so the page does not jump while the
   WellnessLiving app loads inside its frame */
@media (max-width: 720px) {
  .booking__frame { min-height: 520px; }
}

/* ------------------------------------------------ first-party capture */

.block--lead { background: var(--sand); }
.lead-form { display: grid; gap: 18px; margin: 0; }
.lead-form .lead-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
}
.lead-form .field { display: grid; gap: 6px; margin: 0; }
.lead-form .field--wide { grid-column: 1 / -1; }
.lead-form label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal-mid);
}
.lead-form .optional {
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}
.lead-form input,
.lead-form select,
.lead-form textarea {
  font: inherit;
  color: #0e3f4f;
  width: 100%;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid rgba(14, 63, 79, 0.2);
  border-radius: 10px;
}
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 2px solid var(--aqua);
  outline-offset: 1px;
  border-color: var(--aqua);
}
.lead-form textarea { resize: vertical; }
.lead-form__submit { justify-self: start; }
.lead-form__note { font-size: 0.88rem; color: var(--muted); margin: 0; }
.lead-form__note a { color: var(--teal-mid); font-weight: 600; }
.lead-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__status[data-kind="pending"] { color: var(--muted); }
.form__status[data-kind="success"] { color: #146c43; font-weight: 600; }
.form__status[data-kind="error"] { color: #b02a37; font-weight: 600; }
.form__status a { color: inherit; text-decoration: underline; }
@media (max-width: 720px) {
  .lead-form .lead-form__grid { grid-template-columns: 1fr; }
}
