/* USTA Martial Arts — Live. A faithful rebuild of the live ustabellingham /
   ustalynden / ustaferndale.com look: clean modern Montserrat, steel-blue and
   signal-red, photo-forward hero with dark overlay, generous white space,
   centered sections, soft 8px cards. Bright and welcoming — nothing shouts. */

:root {
  --usta-blue: #2b5672;
  --usta-blue-deep: #1f405a;
  --usta-blue-tint: #eef3f7;
  --usta-red: #ec2517;
  --usta-red-deep: #c41e0f;
  --usta-bg: #ffffff;
  --usta-surface: #ffffff;
  --usta-soft: #fafafa;
  --usta-border: #e6e6e6;
  --usta-ink: #262626;
  --usta-ash: #6b7280;
  --usta-white: #ffffff;

  --usta-font: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  --usta-radius: 8px;
  --usta-radius-sm: 6px;
  --usta-radius-pill: 40px;
  --usta-shadow: 0 2px 10px rgba(38, 38, 38, 0.06);
  --usta-shadow-md: 0 12px 34px rgba(31, 64, 90, 0.12);
  --usta-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --usta-nav-h: 82px;

  --usta-z-nav: 100;
  --usta-z-dialog: 200;
}

/* Per-site preset hook — theme settings inject --theme-primary/secondary.
   Primary drives the red CTA accent; secondary drives the steel-blue brand. */
:root {
  --usta-red: var(--theme-primary, #ec2517);
  --usta-blue: var(--theme-secondary, #2b5672);
}

/* ── Base ─────────────────────────────────────────────────────────────── */

body {
  font-family: var(--usta-font);
  font-size: 1.0625rem;
  line-height: 1.7;
  background: var(--usta-bg);
  color: var(--usta-ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--usta-red); color: #fff; }

a { color: inherit; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--usta-blue);
  color: #fff;
  padding: 0.6rem 1.2rem;
  z-index: calc(var(--usta-z-dialog) + 1);
}
.skip-link:focus { left: 0; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.75rem);
}

h1, h2, h3 { text-wrap: balance; }

/* Section headings — centered, medium weight, short red rule beneath. */
.ma-section-heading,
.programs-head h2,
.studios-head h2,
.testi h2 {
  font-family: var(--usta-font);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--usta-blue);
  text-align: center;
  margin: 0 0 1.5rem;
}
.ma-section-heading::after,
.programs-head h2::after,
.studios-head h2::after,
.testi h2::after {
  content: '';
  display: block;
  width: 3.25rem;
  height: 3px;
  margin: 1rem auto 0;
  background: var(--usta-red);
  border-radius: 3px;
}
.testi h2 em, .ma-section-heading em { font-style: normal; color: var(--usta-red); }

/* ── Buttons ──────────────────────────────────────────────────────────── */

.ma-btn {
  display: inline-block;
  font-family: var(--usta-font);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.1rem;
  border-radius: var(--usta-radius);
  transition: background-color 0.25s var(--usta-ease), color 0.25s var(--usta-ease),
    transform 0.25s var(--usta-ease), box-shadow 0.25s var(--usta-ease);
}
.ma-btn--primary {
  background: var(--usta-red);
  color: #fff;
  box-shadow: 0 8px 20px rgba(236, 37, 23, 0.25);
}
.ma-btn--primary:hover {
  background: var(--usta-red-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(236, 37, 23, 0.32);
}
.ma-btn--ghost {
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: #fff;
  background: transparent;
}
.ma-btn--ghost:hover { background: #fff; color: var(--usta-blue); }

/* On light sections a ghost button flips to blue outline. */
.programs .ma-btn--ghost,
.ma-stats-bar .ma-btn--ghost {
  border-color: var(--usta-blue);
  color: var(--usta-blue);
}
.programs .ma-btn--ghost:hover,
.ma-stats-bar .ma-btn--ghost:hover { background: var(--usta-blue); color: #fff; }

/* ── Nav ──────────────────────────────────────────────────────────────── */

.usta-live-nav {
  position: sticky;
  top: 0;
  z-index: var(--usta-z-nav);
  background: #fff;
  border-bottom: 1px solid var(--usta-border);
  transition: box-shadow 0.35s var(--usta-ease);
}
.usta-live-nav.scrolled { box-shadow: 0 6px 22px rgba(38, 38, 38, 0.08); }
.usta-live-nav__inner {
  max-width: 1220px;
  margin: 0 auto;
  min-height: var(--usta-nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.75rem clamp(1.25rem, 4vw, 2.75rem);
}
.usta-live-nav__logo { display: flex; align-items: center; text-decoration: none; }
.usta-live-nav__logo img { height: 58px; width: auto; display: block; }
.usta-live-nav__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.usta-live-nav__wordmark strong {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--usta-blue);
}
.usta-live-nav__wordmark span {
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--usta-red);
  margin-top: 0.35rem;
}
.usta-live-nav__links ul {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.usta-live-nav__links a {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--usta-ink);
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.25s var(--usta-ease);
}
.usta-live-nav__links a:not(.usta-live-nav__cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -0.4rem;
  width: 100%; height: 3px;
  background: var(--usta-red);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--usta-ease);
}
.usta-live-nav__links a:not(.usta-live-nav__cta):hover { color: var(--usta-red); }
.usta-live-nav__links a:not(.usta-live-nav__cta):hover::after,
.usta-live-nav__links a.is-active:not(.usta-live-nav__cta)::after { transform: scaleX(1); }
.usta-live-nav__cta {
  background: var(--usta-red);
  color: #fff !important;
  padding: 0.8rem 1.6rem;
  border-radius: var(--usta-radius-sm);
  box-shadow: 0 6px 16px rgba(236, 37, 23, 0.22);
  transition: background-color 0.25s var(--usta-ease), transform 0.25s var(--usta-ease);
}
.usta-live-nav__cta:hover { background: var(--usta-red-deep); transform: translateY(-1px); }

.usta-live-nav__menu-button {
  display: none;
  background: none;
  border: 0;
  padding: 0.6rem;
  cursor: pointer;
}
.usta-live-nav__menu-button span {
  display: block;
  width: 26px; height: 3px;
  border-radius: 3px;
  background: var(--usta-blue);
  margin: 5px 0;
}

@media (max-width: 860px) {
  .usta-live-nav__links { display: none; }
  .usta-live-nav__menu-button { display: block; }
}

body.has-admin-bar .usta-live-nav { top: var(--admin-bar-h, 2.25rem); }
body.has-admin-bar.has-impersonate-bar .usta-live-nav {
  top: calc(var(--admin-bar-h, 2.25rem) + var(--impersonate-bar-h, 2rem));
}

/* ── Mobile nav ───────────────────────────────────────────────────────── */

.usta-live-mobile-nav {
  border: 0;
  padding: 0;
  width: min(86vw, 22rem);
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 0 0 auto;
  background: var(--usta-blue);
  color: #fff;
  z-index: var(--usta-z-dialog);
}
.usta-live-mobile-nav::backdrop { background: rgba(31, 64, 90, 0.55); }
.usta-live-mobile-nav__panel { padding: 4.5rem 2.25rem 2.25rem; }
.usta-live-mobile-nav__close {
  position: absolute;
  top: 1.1rem; right: 1.25rem;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.usta-live-mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.usta-live-mobile-nav li + li { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.usta-live-mobile-nav a {
  display: block;
  padding: 1rem 0;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

/* ── Footer ───────────────────────────────────────────────────────────── */

.usta-live-footer {
  background: var(--usta-blue);
  color: #fff;
  margin-top: clamp(4rem, 9vw, 8rem);
}
.usta-live-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5rem;
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2.75rem) 2rem;
}
.usta-live-footer__logo { height: 52px; width: auto; }
.usta-live-footer__wordmark { font-weight: 800; font-size: 1.35rem; letter-spacing: 0.02em; }
.usta-live-footer__ethos { color: rgba(255, 255, 255, 0.72); margin-top: 0.75rem; max-width: 34ch; }
.usta-live-footer__nav h3 {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 1rem;
}
.usta-live-footer__nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.usta-live-footer__nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}
.usta-live-footer__nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.usta-live-footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
  padding: 1.25rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}
.usta-live-footer__legal p { margin: 0; }

/* ── Reveal motion ────────────────────────────────────────────────────── */

html.usta-reveal-on .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--usta-ease), transform 0.7s var(--usta-ease);
}
html.usta-reveal-on .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}

/* ── ma-hero ──────────────────────────────────────────────────────────── */

.ma-hero {
  position: relative;
  min-height: min(82vh, 720px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: var(--usta-blue-deep);
  overflow: hidden;
}
.ma-hero__background,
.ma-hero__background-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ma-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 100% at 50% 40%, rgba(15, 26, 40, 0.35) 0%, rgba(15, 26, 40, 0.62) 70%),
    linear-gradient(180deg, rgba(15, 26, 40, 0.5) 0%, rgba(15, 26, 40, 0.35) 45%, rgba(15, 26, 40, 0.72) 100%);
}
.ma-hero__content {
  position: relative;
  max-width: 60rem;
  padding: clamp(4rem, 9vw, 7rem) 1rem;
}
.ma-hero__headline {
  font-family: var(--usta-font);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 auto;
  max-width: 18ch;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}
.ma-hero__subheadline {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 500;
  line-height: 1.6;
  max-width: 46ch;
  margin: 1.5rem auto 0;
  color: rgba(255, 255, 255, 0.92);
}
.ma-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}
.ma-hero__eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 1.1rem;
}
.ma-hero__headline .ma-hero__accent { color: #fff; }
.ma-hero__headline .ma-hero__accent::after {
  content: '';
  display: block;
  width: 4rem;
  height: 4px;
  margin: 0.9rem auto 0;
  background: var(--usta-red);
  border-radius: 4px;
}

/* image-text: text + media columns; hide media wrapper when empty. */
.block-image-text__media { display: grid; gap: 1rem; }
.block-image-text__text .prog-age { display: inline-block; margin-bottom: 0.5rem; }
.block-image-text__text h2 { margin-top: 0; }
.block-image-text__text .ma-btn { margin-top: 1.25rem; }

/* ── ma-trial-cta ─────────────────────────────────────────────────────── */

.ma-trial-cta {
  background:
    linear-gradient(135deg, var(--usta-blue) 0%, var(--usta-blue-deep) 100%);
  color: #fff;
  margin-top: clamp(3.5rem, 8vw, 6.5rem);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  text-align: center;
}
.ma-trial-cta__intake {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 1rem;
}
.ma-trial-cta__heading {
  font-family: var(--usta-font);
  font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.1;
  margin: 0;
}
.ma-trial-cta__body {
  max-width: 52ch;
  margin: 1.25rem auto 0;
  color: rgba(255, 255, 255, 0.88);
}
.ma-trial-cta__button { margin-top: 2.25rem; }
.ma-trial-cta .ma-btn--primary {
  background: #fff;
  color: var(--usta-red);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}
.ma-trial-cta .ma-btn--primary:hover { background: #fff; color: var(--usta-red-deep); }

/* ── programs → age cards ─────────────────────────────────────────────── */

.programs { padding: clamp(3.5rem, 8vw, 6rem) 0 0; }
.programs-head { text-align: center; }
.programs-head p {
  color: var(--usta-ash);
  max-width: 54ch;
  margin: 0 auto 2.5rem;
}
.prog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}
.prog {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--usta-surface);
  border: 1px solid var(--usta-border);
  border-radius: var(--usta-radius);
  padding: 2rem 1.6rem;
  text-align: center;
  box-shadow: var(--usta-shadow);
  transition: transform 0.3s var(--usta-ease), box-shadow 0.3s var(--usta-ease),
    border-color 0.3s var(--usta-ease);
  position: relative;
  overflow: hidden;
}
.prog::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--usta-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--usta-ease);
}
.prog:hover {
  transform: translateY(-6px);
  box-shadow: var(--usta-shadow-md);
  border-color: transparent;
}
.prog:hover::before { transform: scaleX(1); }
.prog-name {
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--usta-blue);
}
.prog-age {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--usta-red);
}
.prog-desc { color: var(--usta-ash); font-size: 0.98rem; line-height: 1.6; }
.prog-times {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--usta-ash);
}
.prog-times li { padding: 0.1rem 0; }
.prog-go {
  margin-top: auto;
  color: var(--usta-red);
  font-size: 1.35rem;
  font-weight: 700;
}

/* ── ma-stats-bar ─────────────────────────────────────────────────────── */

.ma-stats-bar { padding: clamp(3.5rem, 8vw, 6rem) 0 0; }
.ma-stats-bar__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(2rem, 6vw, 5rem);
  margin: 0;
  padding: 2.5rem clamp(1.5rem, 4vw, 3rem);
  background: var(--usta-blue-tint);
  border-radius: var(--usta-radius);
}
.ma-stats-bar__item { display: flex; flex-direction: column-reverse; text-align: center; }
.ma-stats-bar__value {
  font-family: var(--usta-font);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  color: var(--usta-red);
  margin: 0;
}
.ma-stats-bar__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--usta-blue);
  margin-top: 0.7rem;
}

/* ── ma-instructor-grid ───────────────────────────────────────────────── */

.ma-instructor-grid { padding: clamp(3.5rem, 8vw, 6rem) 0 0; }
.ma-instructor-grid__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
}
.ma-instructor-card {
  background: var(--usta-surface);
  border: 1px solid var(--usta-border);
  border-radius: var(--usta-radius);
  overflow: hidden;
  box-shadow: var(--usta-shadow);
  text-align: center;
}
.ma-instructor-card__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
.ma-instructor-card__name {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--usta-blue);
  margin: 1.1rem 1rem 0.15rem;
}
.ma-instructor-card__title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--usta-red);
  margin: 0 1rem;
}
.ma-instructor-card__disciplines {
  font-size: 0.9rem;
  color: var(--usta-ash);
  margin: 0.6rem 1rem 0;
}
.ma-instructor-card__lineage {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--usta-ash);
  margin: 0.5rem 1rem 1.4rem;
}

/* ── ma-belt-journey ──────────────────────────────────────────────────── */

.ma-belt-journey { padding: clamp(3.5rem, 8vw, 6rem) 0 0; }
.ma-belt-journey__track {
  list-style: none;
  margin: 0;
  padding: 1.25rem 0 0.5rem;
  display: flex;
  gap: 2.25rem;
  overflow-x: auto;
  position: relative;
  scrollbar-width: thin;
}
.ma-belt-journey__track::before {
  content: '';
  position: absolute;
  top: calc(1.25rem + 14px);
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--usta-border);
}
.ma-belt-journey__rank { flex: 0 0 auto; width: 7.5rem; text-align: center; position: relative; }
.ma-belt-journey__belt {
  display: inline-block;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--belt-color, #e5e7eb);
  border: 3px solid var(--usta-blue);
  position: relative;
  z-index: 1;
}
.ma-belt-journey__name { display: block; font-size: 0.85rem; font-weight: 700; margin-top: 0.6rem; color: var(--usta-blue); }
.ma-belt-journey__description { display: block; font-size: 0.85rem; color: var(--usta-ash); margin-top: 0.3rem; }

/* ── ma-location-map ──────────────────────────────────────────────────── */

.ma-location-map { padding: clamp(3.5rem, 8vw, 6rem) 0 0; }
.ma-location-map__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.ma-location-map__address { font-style: normal; }
.ma-location-map__subheading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--usta-red);
  margin: 1.5rem 0 0.4rem;
}
.ma-location-map__phone a { color: var(--usta-blue); font-weight: 700; text-underline-offset: 3px; }
.ma-location-map__map iframe {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--usta-border);
  border-radius: var(--usta-radius);
  display: block;
}

/* ── ma-schedule-embed ────────────────────────────────────────────────── */

.ma-schedule-embed { padding: clamp(3.5rem, 8vw, 6rem) 0 0; }
.ma-schedule-embed__days {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.ma-schedule-embed__day-name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--usta-blue);
  border-bottom: 3px solid var(--usta-red);
  padding-bottom: 0.5rem;
  margin: 0 0 0.75rem;
}
.ma-schedule-embed__sessions { list-style: none; margin: 0; padding: 0; }
.ma-schedule-embed__session {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--usta-border);
}
.ma-schedule-embed__time { font-size: 0.9rem; color: var(--usta-ash); white-space: nowrap; }
.ma-schedule-embed__program { font-size: 1rem; font-weight: 600; }

/* ── studios (umbrella studio selector) ───────────────────────────────── */

.studios-dir { padding: clamp(3.5rem, 8vw, 6rem) 0 0; }
.studios-head { text-align: center; }
.studios-head p { color: var(--usta-ash); max-width: 54ch; margin: 0 auto 2.5rem; }
.studio-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}
.studio-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: var(--usta-surface);
  border: 1px solid var(--usta-border);
  border-radius: var(--usta-radius);
  padding: 1.9rem 1.6rem;
  text-decoration: none;
  box-shadow: var(--usta-shadow);
  transition: transform 0.3s var(--usta-ease), box-shadow 0.3s var(--usta-ease);
  position: relative;
  overflow: hidden;
}
.studio-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--usta-red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--usta-ease);
}
.studio-card:hover { transform: translateY(-6px); box-shadow: var(--usta-shadow-md); }
.studio-card:hover::before { transform: scaleY(1); }
.studio-name { font-weight: 700; font-size: 1.3rem; color: var(--usta-blue); }
.studio-loc {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--usta-red);
}
.studio-tag { color: var(--usta-ash); font-size: 0.98rem; }
.studio-go { margin-top: 0.4rem; color: var(--usta-red); font-weight: 700; }

/* ── testimonials (star-card grid) ────────────────────────────────────── */

.testi { padding: clamp(3.5rem, 8vw, 6rem) 0 0; }
.testi-sub { text-align: center; color: var(--usta-ash); max-width: 52ch; margin: 0 auto 2.5rem; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}
.tcard {
  margin: 0;
  background: var(--usta-surface);
  border: 1px solid var(--usta-border);
  border-radius: var(--usta-radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--usta-shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.tcard .stars { color: #f5a623; font-size: 1.05rem; letter-spacing: 0.15em; }
.tcard p { margin: 0; color: var(--usta-ink); font-size: 1.02rem; line-height: 1.6; }
.tcard figcaption { margin-top: auto; }
.tcard .who { font-weight: 700; color: var(--usta-blue); }
.tcard .where { font-size: 0.88rem; color: var(--usta-ash); }

/* ── trial booking (studio Livewire wrapper) ──────────────────────────── */

.trial-booking { padding: clamp(3.5rem, 8vw, 6rem) 0 0; }
.trial-booking-head { text-align: center; }
.trial-booking-head h2 {
  font-weight: 700;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  color: var(--usta-blue);
  margin: 0 0 0.5rem;
}
.trial-booking-head p { color: var(--usta-ash); margin: 0 auto 1.5rem; max-width: 52ch; }

/* ── Generic CMS blocks, USTA voice ───────────────────────────────────── */

.block-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: var(--usta-blue-deep);
  padding: clamp(6rem, 12vw, 9rem) 0;
  overflow: hidden;
}
.block-hero__background img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.block-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 26, 40, 0.5), rgba(15, 26, 40, 0.7));
}
.block-hero__content {
  position: relative;
  z-index: 1;
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.75rem);
}
.block-hero__heading {
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.06;
  margin: 0;
}
.block-hero__subheading {
  font-size: 1.15rem;
  max-width: 46ch;
  margin: 1.4rem auto 0;
  color: rgba(255, 255, 255, 0.9);
}
.block-hero__cta {
  display: inline-block;
  margin-top: 2rem;
  background: var(--usta-red);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.1rem;
  border-radius: var(--usta-radius);
  transition: background-color 0.25s var(--usta-ease);
}
.block-hero__cta:hover { background: var(--usta-red-deep); }

.block-rich-text {
  max-width: 68ch;
  margin: clamp(3rem, 7vw, 5rem) auto 0;
  padding: 0 clamp(1.25rem, 4vw, 2.75rem);
  text-wrap: pretty;
}
.block-rich-text h2, .block-rich-text h3 { font-weight: 700; color: var(--usta-blue); }
.block-rich-text a { color: var(--usta-red); text-underline-offset: 3px; }

.block-image-text {
  max-width: 1180px;
  margin: clamp(3rem, 7vw, 5rem) auto 0;
  padding: 0 clamp(1.25rem, 4vw, 2.75rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.block-image-text img { width: 100%; display: block; border-radius: var(--usta-radius); }
.block-image-text h2 { font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: var(--usta-blue); }

/* Feature grids → four clean pillars (Discipline / Focus / Respect / Confidence). */
.block-cta,
.block-feature-grid,
.block-features,
.block-columns,
.block-staff-grid,
.block-gallery,
.block-pricing-table,
.block-form,
.block-map,
.block-video,
.block-image,
.block-image-banner {
  max-width: 1180px;
  margin: clamp(3rem, 7vw, 5rem) auto 0;
  padding: 0 clamp(1.25rem, 4vw, 2.75rem);
}
.block-features__grid,
.block-feature-grid__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.25rem);
}
.block-features__card,
.block-feature-grid__card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--usta-soft);
  border: 1px solid var(--usta-border);
  border-radius: var(--usta-radius);
}
.block-features__card-heading,
.block-feature-grid__card-heading {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--usta-blue);
  margin: 0.75rem 0 0.5rem;
}
.block-features__card-text,
.block-feature-grid__card-text { color: var(--usta-ash); font-size: 0.98rem; }

.block-cta { text-align: center; background: var(--usta-blue-tint); padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem); border-radius: var(--usta-radius); }
.block-cta h2 { font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.9rem); color: var(--usta-blue); margin: 0 0 1rem; }

.block-faq-accordion {
  max-width: 820px;
  margin: clamp(3rem, 7vw, 5rem) auto 0;
  padding: 0 clamp(1.25rem, 4vw, 2.75rem);
}
.block-faq-accordion details { border-bottom: 1px solid var(--usta-border); }
.block-faq-accordion summary {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--usta-blue);
  padding: 1.1rem 0;
  cursor: pointer;
  list-style: none;
}
.block-faq-accordion summary::-webkit-details-marker { display: none; }

.block-image img, .block-image-banner img, .block-gallery img { display: block; width: 100%; border-radius: var(--usta-radius); }
.block-video iframe, .block-map iframe { width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--usta-border); border-radius: var(--usta-radius); }

.block-testimonial {
  max-width: 880px;
  margin: clamp(3rem, 7vw, 5rem) auto 0;
  padding: 0 clamp(1.25rem, 4vw, 2.75rem);
  text-align: center;
}
.block-testimonial blockquote {
  font-weight: 500;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  line-height: 1.4;
  color: var(--usta-blue);
  margin: 0;
}

/* Small-screen niceties */
@media (max-width: 640px) {
  .ma-hero__actions { flex-direction: column; align-items: stretch; }
  .ma-hero__actions .ma-btn { text-align: center; }
}
