/* ==========================================================================
   Align Pilates — stylesheet
   ========================================================================== */

:root {
  /* Palette — blush and pink with mocha and deep brown; sage green as a small accent */
  --walnut: #3a2620;  /* deep brown: text, dark band, footer */
  --bark: #5e3a2d;
  --umber: #7a5e52;   /* secondary text */
  --mocha: #9c6b57;   /* banners, highlights */
  --mocha-deep: #7a5242; /* buttons */
  --stone: #c99a88;   /* dusty rose */
  --sand: #eccfc3;    /* pink */
  --oat: #f4e2da;     /* blush */
  --rose-mist: #ebc9bc; /* rose section background */
  --linen: #faf0eb;   /* blush white page */
  --white: #fffbf9;
  --sage: #8a9a76;      /* leaves, logo dot */
  --sage-deep: #56644a; /* green text on light backgrounds */
  --sage-mist: #dfe3d3; /* green section background */

  /* Roles */
  --bg: var(--linen);
  --ink: var(--walnut);
  --ink-soft: var(--umber);
  --line: rgba(122, 82, 66, 0.18);
  --focus: #1e6fd9;

  /* Type */
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-brand: "Jost", "Futura", "Century Gothic", sans-serif;
  --font-display: "Jost", "Futura", "Century Gothic", sans-serif; /* headings: Jost Light */

  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-h3: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem);
  --fs-h2: clamp(2.25rem, 1.4rem + 3.4vw, 4.25rem);
  --fs-h1: clamp(3.25rem, 1.5rem + 7.6vw, 8.5rem);

  /* Space */
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(88px, 12vw, 176px);
  --radius-lg: clamp(20px, 2.4vw, 32px);
  --radius-md: 20px;
  --max: 1320px;

  --frame: 14px;      /* space around framed cards */
  --frame-pad: 0px;   /* extra inset inside framed cards (none) */

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

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

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; max-width: 62ch; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 300; line-height: 1.06; letter-spacing: -0.01em; }
h1 { font-size: var(--fs-h1); font-weight: 300; letter-spacing: -0.015em; line-height: 1; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.015em; text-wrap: balance; }
h3 { font-size: var(--fs-h3); font-weight: 400; line-height: 1.2; }
ul, ol.steps { margin: 0; padding: 0; list-style: none; }
.h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.025em; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--white);
  color: var(--walnut);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

.lede { font-size: var(--fs-lg); line-height: 1.6; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }

/* ---------- Section background flow ----------
   Without motion, each section paints its own background.
   With motion on, the body color animates as sections enter. */
section[data-bg="linen"] { --sbg: var(--linen); }
section[data-bg="oat"] { --sbg: var(--oat); }
section[data-bg="sand"] { --sbg: var(--sand); }
section[data-bg="sage"] { --sbg: var(--rose-mist); } /* name kept; now rose pink */
section[data-bg="walnut"] { --sbg: var(--walnut); }
section[data-bg] { background: var(--sbg); }
section[data-bg="walnut"] { color: var(--linen); --ink-soft: #f6e4dc; --line: rgba(250, 240, 235, 0.28); }
section[data-bg="sage"] { --ink-soft: #6a4a3f; --line: rgba(122, 82, 66, 0.25); }
html.bg-flow section[data-bg] { background: transparent; }
/* The terracotta band keeps its own color (its light text must never sit on blush) and floats as a rounded panel */
html.bg-flow section[data-bg="walnut"], section[data-bg="walnut"] {
  background: radial-gradient(90% 120% at 85% 0%, #b06650, #9a5440 65%);
  margin-inline: var(--frame);
  border-radius: var(--radius-lg);
}
html.bg-flow body { transition: none; }

.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }

/* ---------- Buttons ---------- */
.btn {
  --h: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 500 0.95rem/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  touch-action: manipulation;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.35s var(--ease-out); }
.btn:hover svg { transform: translate(2px, -2px); }

.btn--light { background: var(--white); color: var(--walnut); }
.btn--light:hover { background: var(--oat); }

.btn--glass {
  background: rgba(255, 253, 250, 0.14);
  color: var(--white);
  border-color: rgba(255, 253, 250, 0.32);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.btn--glass:hover { background: rgba(255, 253, 250, 0.26); }

.btn--dark { background: var(--mocha-deep); color: var(--white); }
.btn--dark:hover { background: var(--bark); }

.btn--outline { border-color: var(--line); color: inherit; background: transparent; }
.btn--outline:hover { border-color: currentColor; }

.btn--sm { --h: 42px; padding: 0 18px; font-size: 0.9rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.text-link svg { width: 14px; height: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: calc(var(--frame) + var(--frame-pad)) calc(var(--frame) + var(--frame-pad) + 8px) 0;
  pointer-events: none;
  transition: padding 0.45s var(--ease-out);
}
.site-header.is-solid { padding: 10px 12px 0; }
.site-header__bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
  padding: 0 clamp(14px, 2.4vw, 28px);
  border-radius: calc(var(--radius-lg) - 6px);
  color: var(--white);
  transition: background-color 0.45s var(--ease-out), color 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out), transform 0.5s var(--ease-out);
}
.site-header.is-solid .site-header__bar {
  background: rgba(255, 250, 247, 0.82);
  color: var(--walnut);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 1px 0 rgba(122, 82, 66, 0.12);
}
.site-header.is-hidden .site-header__bar { transform: translateY(-120%); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex: none;
}
.brand { gap: 10px; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__dot { fill: var(--sage); }
.site-header:not(.is-solid) .brand__dot, .site-footer .brand__dot { fill: #b9c6a5; }
.brand__name {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.14);
  border: 1px solid rgba(255, 253, 250, 0.24);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.site-header.is-solid .nav-pill { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-pill a {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.nav-pill a:hover { background: rgba(255, 253, 250, 0.18); }
.site-header.is-solid .nav-pill a:hover { background: rgba(46, 38, 31, 0.07); }
.nav-pill a[aria-current="page"] { background: var(--white); color: var(--walnut); }
.site-header.is-solid .nav-pill a[aria-current="page"] { background: #f1d9cf; color: var(--bark); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.site-header.is-solid .btn--glass { color: var(--walnut); border-color: rgba(46, 38, 31, 0.18); background: transparent; }
.site-header.is-solid .btn--glass:hover { background: rgba(46, 38, 31, 0.06); }
.site-header.is-solid .btn--light { background: #a85b43; color: var(--white); }
.site-header.is-solid .btn--light:hover { background: #924c37; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 253, 250, 0.3);
  background: rgba(255, 253, 250, 0.14);
  color: inherit;
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.site-header.is-solid .menu-toggle { border-color: rgba(46, 38, 31, 0.18); background: transparent; }
.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}
.menu-open .menu-toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  /* Start below the header; on tall screens the nav's auto margin pushes content down,
     on short screens it collapses and the menu scrolls instead of hiding items under the header */
  justify-content: flex-start;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: calc(var(--frame) + var(--header-h) + 32px) var(--gutter) 32px;
  background: var(--walnut);
  color: var(--linen);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.7s var(--ease-out), visibility 0s linear 0.7s;
}
.menu-open .mobile-menu {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path 0.7s var(--ease-out), visibility 0s;
}
.menu-open .site-header__bar { color: var(--linen); background: var(--walnut) !important; box-shadow: none !important; backdrop-filter: none !important; }
.menu-open .site-header { background: var(--walnut); pointer-events: auto; }
.mobile-menu nav a {
  display: block;
  padding: 6px 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, min(9vw, 5.6vh), 3rem);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.15;
  text-decoration: none;
}
.mobile-menu nav { margin-top: auto; }
.mobile-menu nav a[aria-current="page"] { color: var(--stone); }
.mobile-menu .btn-row { margin-top: clamp(20px, 4vh, 32px); }
.mobile-menu__meta { margin-top: 28px; color: #cdbfae; font-size: var(--fs-sm); }

@media (max-width: 1080px) {
  .nav-pill, .header-actions .btn--glass { display: none; }
  .menu-toggle { display: block; }
}
@media (max-width: 560px) {
  .header-actions .btn--light { display: none; }
  :root { --header-h: 64px; }
}
@media (max-width: 400px) {
  .site-header__bar { padding: 0 8px 0 12px; }
  .brand__name { font-size: 1.05rem; }
  .menu-toggle { width: 42px; height: 42px; flex: none; }
}

/* ---------- Hero ---------- */
/* Photo cards sit cleanly on the page background, inset by the frame gap */
.hero, .cta {
  position: relative;
  padding: var(--frame);
  isolation: isolate;
  overflow: hidden;
  background: var(--bg);
}
.hero {
  height: 100vh;
  height: 100svh;
  min-height: 600px;
}
.hero--page { height: 74svh; min-height: 520px; }
.hero--short { height: 56svh; min-height: 440px; }
.hero__card {
  position: relative;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--mocha);
  color: var(--white);
  isolation: isolate;
}
.hero__card > .photo { position: absolute; inset: 0; border-radius: 0; z-index: -2; }
.hero__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(74, 44, 33, 0.25) 0%, rgba(74, 44, 33, 0) 26%),
    linear-gradient(0deg, rgba(64, 38, 29, 0.55) 0%, rgba(64, 38, 29, 0.12) 46%, rgba(64, 38, 29, 0) 70%);
}
.hero__content {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 400px);
  align-items: end;
  gap: 32px;
  padding: clamp(24px, 4vw, 56px);
}
.hero__content h1 { text-wrap: balance; }
.hero__aside p { color: rgba(255, 253, 250, 0.86); margin-bottom: 22px; }
/* Frosted panel so banner copy stays readable over busy photos */
.hero:not(.hero--home) .hero__aside {
  padding: 22px 24px;
  border: 1px solid rgba(255, 253, 250, 0.2);
  border-radius: 22px;
  background: rgba(58, 38, 30, 0.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  backdrop-filter: blur(18px) saturate(1.1);
}
.hero:not(.hero--home) .hero__aside p { color: var(--white); }
.hero:not(.hero--home) .hero__aside > :last-child { margin-bottom: 0; }
.hero--page h1 { font-size: clamp(2.75rem, 1.5rem + 5.2vw, 6.25rem); }
.hero--short h1 { font-size: clamp(2.5rem, 1.4rem + 4.2vw, 5rem); }
.hero--page h1, .hero--short h1 { line-height: 1.04; }

@media (max-width: 820px) {
  .hero__content { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- Photo slots ---------- */
.photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--sand);
  color: var(--umber);
}
.photo img.photo__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus-x, 50%) 50%; /* set --focus-x on a slot to shift its crop */
}
.photo__art {
  /* Drawing box as a share of the slot's own width/height (padding % would follow width only) */
  --art-t: 12%; --art-r: 12%; --art-b: 12%; --art-l: 12%;
  position: absolute;
  inset: 0;
  /* Default: pink with mocha lines */
  background:
    radial-gradient(110% 90% at 30% 15%, rgba(255, 244, 238, 0.5), transparent 60%),
    #e2b8a7; /* deeper pink so cards stand out on blush sections */
  color: var(--mocha-deep);
}
.photo__art svg {
  position: absolute;
  top: var(--art-t);
  left: var(--art-l);
  width: calc(100% - var(--art-l) - var(--art-r));
  height: calc(100% - var(--art-t) - var(--art-b));
  max-width: none;
}
.photo__art svg * { vector-effect: non-scaling-stroke; }
[data-icon] { display: inline-flex; }
/* Tones: oat = light blush, stone = dusty rose, dark = mocha banner */
.photo[data-tone="oat"] .photo__art { background: radial-gradient(110% 90% at 70% 15%, rgba(255, 246, 241, 0.6), transparent 60%), var(--rose-mist); }
.photo[data-tone="stone"] .photo__art { background: radial-gradient(110% 90% at 30% 15%, rgba(255, 240, 234, 0.35), transparent 60%), var(--stone); color: var(--white); }
.photo[data-tone="dark"] .photo__art {
  background:
    radial-gradient(70% 70% at 50% 0%, rgba(214, 160, 136, 0.55), transparent 62%),
    linear-gradient(170deg, #b98670 0%, #8e5d4a 55%, #6e4434 100%);
  color: rgba(255, 246, 240, 0.72);
}
/* Plant leaves in the line art are sage green */
.photo__art .leaf { stroke: var(--sage-deep); }
.photo[data-tone="dark"] .photo__art .leaf,
.photo[data-tone="stone"] .photo__art .leaf { stroke: #dde8cc; }
/* Keep hero/CTA drawings clear of the header and the text at the bottom */
.hero .photo__art { --art-t: 16%; --art-r: 10%; --art-b: 40%; --art-l: 10%; }
.cta .photo__art { --art-t: 8%; --art-r: 14%; --art-b: 46%; --art-l: 14%; }
@media (max-width: 820px) {
  .hero .photo__art { --art-t: calc(var(--header-h) + 40px); --art-r: 6%; --art-b: 62%; --art-l: 6%; }
  .cta .photo__art { --art-b: 58%; }
}
.photo__inner { position: absolute; inset: 0; will-change: transform; }

.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-1x1 { aspect-ratio: 1; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-16x9 { aspect-ratio: 16 / 9; }

/* ---------- Line reveal (SplitType) ---------- */
.line-mask { overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line-mask > .line { display: block; }

/* Scrubbed statement */
.statement {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.6rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 24ch;
  text-wrap: pretty;
}
.statement .word { display: inline-block; }

/* ---------- Intro (home) ---------- */
.intro {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}
.intro__side { display: grid; gap: 28px; }
.intro__side p { color: var(--ink-soft); }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; } }

/* ---------- Section heads ---------- */
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 24px 48px;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.section-head p { margin: 0; color: var(--ink-soft); max-width: 42ch; }

/* ---------- Class list (home) ---------- */
.class-list { border-top: 1px solid var(--line); }
.class-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto;
  gap: 24px 40px;
  align-items: center;
  padding: clamp(24px, 3vw, 36px) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.class-row h3 {
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.9rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  transition: transform 0.5s var(--ease-out);
}
.class-row p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.class-row__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}
.class-row__arrow {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out), border-color 0.4s;
}
.class-row__arrow svg { width: 18px; height: 18px; }
.class-row:hover .class-row__arrow,
.class-row:focus-visible .class-row__arrow { background: var(--mocha-deep); color: var(--white); border-color: var(--mocha-deep); }
.class-row:hover h3 { transform: translateX(10px); }

.class-row__peek {
  position: absolute;
  right: 120px;
  top: 50%;
  width: 220px;
  aspect-ratio: 4 / 3;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-50%) rotate(-3deg) scale(0.9);
  transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out);
  z-index: 2;
  box-shadow: 0 24px 48px -24px rgba(46, 38, 31, 0.45);
}
@media (hover: hover) and (min-width: 1000px) {
  .class-row:hover .class-row__peek { opacity: 1; transform: translateY(-50%) rotate(-3deg) scale(1); }
}
@media (max-width: 820px) {
  .class-row { grid-template-columns: 1fr auto; }
  .class-row > p { grid-column: 1 / -1; grid-row: 2; }
  .class-row__peek { display: none; }
}

/* ---------- Studio (dark band) ---------- */
.studio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.studio .photo { aspect-ratio: 4 / 5; }
.studio__text h2 { margin-bottom: 24px; }
.studio__text p { color: var(--ink-soft); }
.studio__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 36px 0 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.fact__num { font-family: var(--font-display); font-size: clamp(2.5rem, 1.8rem + 2vw, 3.5rem); font-weight: 300; line-height: 1; }
.fact__label { margin-top: 8px; color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 900px) { .studio { grid-template-columns: 1fr; } .studio .photo { aspect-ratio: 4 / 3; } }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
  counter-reset: step;
}
.step { padding-top: 24px; border-top: 1px solid var(--line); }
.step__num {
  display: block;
  margin-bottom: 40px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--mocha);
  font-variant-numeric: tabular-nums;
}
.step h3 { margin-bottom: 12px; }
.step p { color: var(--ink-soft); margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } .step__num { margin-bottom: 16px; } }

/* ---------- Offer band ---------- */
.offer {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.offer__price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 24px 0 8px;
}
.offer__price strong { font-family: var(--font-display); font-size: clamp(3.5rem, 2rem + 5vw, 6rem); font-weight: 300; letter-spacing: -0.02em; line-height: 1; }
.offer__price span { color: var(--ink-soft); }
.offer .photo { aspect-ratio: 1; }
@media (max-width: 900px) { .offer { grid-template-columns: 1fr; } .offer .photo { aspect-ratio: 3 / 2; } }

/* ---------- Quotes ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
}
.quote { margin: 0; }
.quote blockquote {
  margin: 0 0 20px;
  font-size: 1.15rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
}
.quote figcaption { color: var(--ink-soft); font-size: 0.95rem; }
.quote__title { font-size: var(--fs-h3); line-height: 1.2; margin-bottom: 10px; }
.quote p { margin: 0; color: var(--ink-soft); line-height: 1.6; }
.quote--feature { grid-column: 1 / -1; padding-bottom: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.quote--feature blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.015em;
  max-width: 36ch;
  text-wrap: balance;
}
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- CTA card ---------- */
.cta__card {
  position: relative;
  min-height: min(78svh, 720px);
  display: grid;
  align-content: end;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--mocha);
  color: var(--white);
  isolation: isolate;
  padding: clamp(28px, 5vw, 72px);
}
.cta__card > .photo { position: absolute; inset: 0; border-radius: 0; z-index: -2; }
.cta__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(64, 38, 29, 0.6), rgba(64, 38, 29, 0.05) 70%);
}
.cta__card h2 { max-width: 14ch; margin-bottom: 20px; }
.cta__card p { color: rgba(255, 253, 250, 0.86); margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--walnut);
  color: var(--linen);
  padding: clamp(64px, 9vw, 120px) 0 28px;
  --ink-soft: #cdbfae;
  --line: rgba(244, 239, 232, 0.16);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr repeat(2, 1fr);
  gap: 40px;
  padding-bottom: clamp(48px, 7vw, 96px);
}
.footer-brand .brand__mark { width: 40px; height: 40px; }
.footer-brand .brand__name { font-size: 1.6rem; }
.footer-brand p { margin-top: 28px; color: var(--ink-soft); max-width: 34ch; }
.footer-col h2 {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 18px;
}
.footer-col li { margin-bottom: 10px; color: var(--ink-soft); }
.footer-col a { text-decoration: none; color: var(--ink-soft); transition: color 0.3s; }
.footer-col a:hover { color: var(--linen); }
.footer-col dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; color: var(--ink-soft); font-size: 0.95rem; }
.footer-col dt { color: var(--linen); }
.footer-col dd { margin: 0; }
.footer-word {
  font-family: var(--font-display);
  font-size: clamp(4rem, 24vw, 22rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  padding-bottom: 0.16em; /* room for the "g" descender above the bottom rule */
  white-space: nowrap;
  color: rgba(247, 242, 234, 0.1);
  margin: 0 0 24px -0.04em;
  user-select: none;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: var(--fs-sm);
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--linen); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Generic two-column ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.split--top { align-items: start; }
.split--reverse > :first-child { order: 2; }
.split .photo { aspect-ratio: 4 / 5; }
.split__text h2 { margin-bottom: 24px; }
.split__text p { color: var(--ink-soft); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .split .photo { aspect-ratio: 4 / 3; }
}

/* ---------- Values ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
}
.value h3 { margin-bottom: 14px; }
.value p { color: var(--ink-soft); margin: 0; }
.value__icon { width: 44px; height: 44px; margin-bottom: 28px; color: var(--umber); }
section[data-bg="walnut"] .value__icon { color: var(--sand); }
@media (max-width: 900px) { .values { grid-template-columns: 1fr; } }

/* ---------- Equipment gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 14px; display: flex; justify-content: space-between; gap: 12px; font-weight: 500; }
.gallery figcaption span { color: var(--ink-soft); font-weight: 400; }
/* Three arches side by side */
.gallery { row-gap: clamp(32px, 4vw, 56px); gap: clamp(16px, 2.4vw, 32px); }
.gallery .g-a { grid-column: 1 / span 4; }
.gallery .g-b { grid-column: 5 / span 4; }
.gallery .g-c { grid-column: 9 / span 4; }
@media (max-width: 820px) {
  .gallery figure { grid-column: 1 / -1 !important; grid-row: auto !important; }
}

/* ---------- Class detail blocks ---------- */
.class-detail + .class-detail { margin-top: clamp(80px, 10vw, 160px); }
.class-detail dl {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 4px 40px;
  margin: 28px 0 32px;
  padding: 20px 0;
  border-block: 1px solid var(--line);
}
.class-detail dt { font-size: var(--fs-sm); color: var(--ink-soft); }
.class-detail dd { margin: 0; font-weight: 500; grid-row: 2; }
.class-detail ul { margin: 0 0 32px; display: grid; gap: 10px; }
.class-detail li { display: flex; gap: 12px; color: var(--ink-soft); }
.class-detail li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--umber); }
@media (max-width: 520px) { .class-detail dl { grid-template-columns: repeat(2, auto); } .class-detail dd { grid-row: auto; } }

/* ---------- Pricing ---------- */
.price-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--radius-lg);
  background: radial-gradient(70% 90% at 80% 0%, #b98670, #8e5d4a 60%, #6e4434);
  color: var(--white);
  --ink-soft: #f0ddd4;
}
.price-intro h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); margin-bottom: 14px; }
.price-intro p { color: var(--ink-soft); margin: 0; }
.price-intro__amount { text-align: right; }
.price-intro__amount strong { display: block; font-family: var(--font-display); font-size: clamp(3.5rem, 2rem + 5vw, 6rem); font-weight: 300; letter-spacing: -0.02em; line-height: 1; margin-bottom: 18px; }
@media (max-width: 760px) { .price-intro { grid-template-columns: 1fr; } .price-intro__amount { text-align: left; } }

.price-group + .price-group { margin-top: clamp(64px, 8vw, 112px); }
.price-group__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; margin-bottom: 24px; }
.price-group__head h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); }
.price-group__head p { margin: 0; color: var(--ink-soft); }

.price-table { border-top: 1px solid var(--line); }
.price-line {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.4fr) auto auto;
  gap: 16px 32px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.price-line h3 { font-size: 1.3rem; }
.price-line p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }
.price-line__amount { font-family: var(--font-display); font-size: 1.75rem; font-weight: 400; letter-spacing: 0; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.price-line__amount small { display: block; font-size: 0.8rem; font-weight: 400; color: var(--ink-soft); letter-spacing: 0; }
.price-line--featured h3::after {
  content: "Most popular";
  display: inline-block;
  margin-left: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--mocha);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
  vertical-align: middle;
}
@media (max-width: 820px) {
  .price-line { grid-template-columns: 1fr auto; }
  .price-line p { grid-column: 1 / -1; grid-row: 2; }
  .price-line .btn { grid-column: 1 / -1; justify-self: start; }
}

.policy-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 48px; }
.policy-list h3 { font-size: 1.1rem; margin-bottom: 8px; }
.policy-list p { color: var(--ink-soft); margin: 0; font-size: 0.97rem; }
@media (max-width: 760px) { .policy-list { grid-template-columns: 1fr; } }

/* ---------- Instructors ---------- */
.team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(48px, 6vw, 96px) clamp(24px, 4vw, 64px);
}
.member .photo { aspect-ratio: 4 / 5; margin-bottom: 24px; }
.member:nth-child(even) { margin-top: clamp(0px, 10vw, 140px); }
.member__role { color: var(--ink-soft); margin: 6px 0 16px; }
.member p { color: var(--ink-soft); }
.member .chip { margin: 0 6px 8px 0; }
@media (max-width: 760px) { .team { grid-template-columns: 1fr; } .member:nth-child(even) { margin-top: 0; } }

/* Instructor page: monogram arch in place of a portrait */
.portrait-card {
  position: relative;
  aspect-ratio: 4 / 4.6;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  background: radial-gradient(80% 70% at 50% 22%, #e9bfae, #c07a62 58%, #a85b43);
  color: #fff7f2;
  display: grid;
  place-content: center;
  text-align: center;
  overflow: hidden;
}
.portrait-card::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 247, 242, 0.35);
  border-radius: 999px 999px calc(var(--radius-lg) - 8px) calc(var(--radius-lg) - 8px);
  pointer-events: none;
}
.portrait-card__mono { font-family: var(--font-brand); font-weight: 300; font-size: clamp(5rem, 3rem + 7vw, 10rem); letter-spacing: 0.06em; line-height: 1; }
.portrait-card__sub { margin-top: 14px; font-size: 0.95rem; letter-spacing: 0.04em; color: #fbe6dc; }
.instructor-quote { max-width: 980px; margin: 0 auto; text-align: center; }
.instructor-quote blockquote { margin: 0 auto 20px; max-width: 26ch; font-family: var(--font-display); font-weight: 300; font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); line-height: 1.15; letter-spacing: -0.02em; }
.instructor-quote figcaption { color: var(--ink-soft); }

.monogram {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-brand);
  font-size: clamp(4rem, 10vw, 8rem);
  letter-spacing: 0.1em;
  color: rgba(46, 38, 31, 0.18);
  pointer-events: none;
}

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.faq-layout aside { position: sticky; top: calc(var(--header-h) + 40px); }
.faq-layout aside p { color: var(--ink-soft); }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group > h2 { font-size: 1.5rem; margin-bottom: 12px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  font-size: 1.15rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  position: relative;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.faq-item summary .plus::before,
.faq-item summary .plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease-out);
}
.faq-item summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item__body { padding: 0 56px 24px 0; color: var(--ink-soft); }
.faq-item__body p:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .faq-layout aside { position: static; } }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-info { display: grid; gap: 36px; }
.contact-info h2 { font-size: 1.05rem; font-weight: 600; letter-spacing: 0; margin-bottom: 10px; }
.contact-info p, .contact-info dl { margin: 0; color: var(--ink-soft); }
.contact-info dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; }
.contact-info dt { color: var(--ink); font-weight: 500; }
.contact-info dd { margin: 0; }
.contact-info a { text-decoration-color: var(--line); text-underline-offset: 4px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
}
.form .full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; font-size: 0.92rem; font-weight: 500; }
.field label .req { color: var(--umber); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(46, 38, 31, 0.2);
  background: var(--linen);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.25s, background-color 0.25s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(46, 38, 31, 0.4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--walnut); background: var(--white); box-shadow: 0 0 0 3px rgba(30, 111, 217, 0.25); }
.field .error { display: none; margin-top: 6px; color: #9b2c1f; font-size: 0.88rem; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #9b2c1f; }
.field.is-invalid .error { display: block; }
.form__status { grid-column: 1 / -1; margin: 0; font-size: 0.95rem; }
.form__status[data-state="ok"] { color: #2f5d3a; }
.form__status[data-state="err"] { color: #9b2c1f; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* ---------- Embeds (Book, Pay) ---------- */
.embed-card {
  border-radius: var(--radius-lg);
  background: var(--white);
  padding: clamp(12px, 2vw, 24px);
  border: 1px solid var(--line);
  min-height: 560px;
}
.embed-card iframe { width: 100%; min-height: 900px; border: 0; }
.setup-note {
  display: grid;
  gap: 16px;
  place-content: center;
  justify-items: start;
  min-height: 460px;
  max-width: 560px;
  margin-inline: auto;
  padding: 32px 8px;
}
.setup-note h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
.setup-note p { color: var(--ink-soft); margin: 0; }
.setup-note code { font-size: 0.92em; background: var(--oat); padding: 2px 6px; border-radius: 6px; }
.setup-note ol { margin: 0; padding-left: 20px; color: var(--ink-soft); display: grid; gap: 6px; }

.buy-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.buy-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 16px;
  align-items: center;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid rgba(46, 38, 31, 0.08);
}
.buy-item h3 { font-size: 1.15rem; }
.buy-item p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; grid-column: 1; }
.buy-item .price-line__amount { grid-row: 1 / 3; grid-column: 2; }
.buy-item .btn { grid-column: 1 / -1; margin-top: 14px; justify-self: start; }
.buy-item.is-target { outline: 2px solid var(--walnut); outline-offset: 2px; }
@media (max-width: 760px) { .buy-list { grid-template-columns: 1fr; } }

/* ---------- Account ---------- */
.account-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.account-card {
  display: grid;
  align-content: space-between;
  gap: 48px;
  min-height: 340px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
}
.account-card--dark { background: var(--mocha-deep); color: var(--white); --ink-soft: #f0ddd4; }
.account-card h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); margin-bottom: 14px; }
.account-card p { color: var(--ink-soft); margin: 0; }
.account-card .value__icon { margin-bottom: 24px; }
.account-card--dark .value__icon { color: var(--sand); }
@media (max-width: 760px) { .account-grid { grid-template-columns: 1fr; } }

/* ---------- Pre-motion hidden states (only when motion is on) ---------- */
html.motion [data-split]:not(.is-split) { visibility: hidden; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Linked tag (e.g., certification) */
a.chip { gap: 6px; text-decoration: none; transition: border-color 0.3s, background-color 0.3s; }
a.chip svg { width: 12px; height: 12px; }
a.chip:hover { border-color: currentColor; background: rgba(46, 38, 31, 0.04); }

/* ---------- Home banner: centered text over a row of arches ---------- */
.hero--home .hero__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: radial-gradient(70% 80% at 50% 0%, #b98670, #8e5d4a 60%, #6e4434 100%);
}
.hero--home .hero__card { justify-content: center; }
.hero--home .hero__card::after {
  background: linear-gradient(180deg, rgba(52, 32, 24, 0.45) 0%, rgba(52, 32, 24, 0.18) 45%, rgba(52, 32, 24, 0.5) 100%);
}
.hero__center { padding: var(--header-h) var(--gutter) 6vh; max-width: 960px; }
.hero__tag {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 251, 249, 0.16);
  border: 1px solid rgba(255, 251, 249, 0.22);
  color: #f6e3da;
  font-size: 0.85rem;
}
.hero--home h1 { font-size: clamp(3rem, 1.4rem + 6vw, 7.25rem); text-wrap: balance; }
.hero--home .hero__aside p { max-width: 46ch; margin: 20px auto 28px; color: rgba(255, 246, 240, 0.9); }
.hero--home .btn-row { justify-content: center; }
.hero__arches {
  width: 100%;
  margin-top: auto;
  padding: clamp(28px, 5vh, 56px) clamp(8px, 1.4vw, 18px) 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(8px, 1.4vw, 18px);
  align-items: end;
}
.hero__arches .photo { border-radius: 999px 999px 0 0; height: clamp(140px, 25vh, 280px); }
.hero__arches .photo:nth-child(3) { height: clamp(170px, 31vh, 340px); }
.hero__arches .photo__art { --art-t: 34%; --art-r: 14%; --art-b: 16%; --art-l: 14%; }
@media (max-width: 820px) {
  .hero__arches { grid-template-columns: repeat(3, 1fr); }
  .hero__arches .photo:nth-child(1), .hero__arches .photo:nth-child(5) { display: none; }
  .hero__arches .photo { height: clamp(110px, 18vh, 170px); }
  .hero__arches .photo:nth-child(3) { height: clamp(130px, 22vh, 200px); }
  .hero__arches .photo__art { --art-t: 34%; --art-r: 12%; --art-b: 14%; --art-l: 12%; }
}

/* Home banner arch motion (ring squeeze, leaf sway); the reformer glide is in site.js */
.hero__arches .photo[data-art="reformer"] .photo__art { --art-t: 34%; --art-r: 7%; --art-b: 12%; --art-l: 7%; }
.hero__arches .anim-ring { transform-box: fill-box; transform-origin: center; animation: arch-squeeze 3.2s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
.hero__arches .anim-leaves { transform-origin: 305px 190px; animation: arch-sway 3.6s ease-in-out infinite; }
@keyframes arch-squeeze { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(0.9, 1.05); } }
@keyframes arch-sway { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
@media (prefers-reduced-motion: reduce) {
  .hero__arches .anim-ring, .hero__arches .anim-leaves { animation: none; }
}

/* ---------- Livelier Home sections ---------- */
/* Statement with a bold lead sentence and an arch window */
.statement strong { font-weight: 400; color: var(--walnut); }
/* Every content photo is an arch; this outranks the per-layout aspect ratios */
section .photo.photo--arch { aspect-ratio: 4 / 4.8; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); }
.intro__more { margin-top: 36px; }
.intro__more p { color: var(--ink-soft); }
.photo--arch { aspect-ratio: 4 / 4.6; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); }
.photo--arch .photo__art { --art-t: 30%; --art-r: 12%; --art-b: 18%; --art-l: 12%; }

/* Color-blocked class cards */
.class-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.class-card {
  --art-line: #fbf2ec;
  display: flex;
  flex-direction: column;
  padding: 14px 14px 24px;
  border-radius: 28px;
  background: var(--card);
  color: #fbf2ec;
  text-decoration: none;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.class-card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -30px rgba(58, 38, 32, 0.55); }
.class-card--light { color: var(--walnut); --art-line: #6e4434; }
.class-card__win { height: clamp(190px, 18vw, 250px); border-radius: 999px 999px 18px 18px; margin-bottom: 22px; }
.class-card__win .photo__art {
  --art-t: 32%; --art-r: 12%; --art-b: 14%; --art-l: 12%;
  background: radial-gradient(80% 70% at 50% 15%, rgba(255, 255, 255, 0.24), transparent 65%), var(--win);
  color: var(--art-line);
}
.class-card__win .photo__art .leaf { stroke: #dde8cc; }
.class-card h3 { font-size: clamp(1.6rem, 1.2rem + 0.8vw, 2rem); margin: 0 6px 6px; }
.class-card__meta { margin: 0 6px 12px; font-size: 0.85rem; opacity: 0.9; }
.class-card p { margin: 0 6px 20px; font-size: 0.97rem; line-height: 1.55; }
.class-card__go {
  margin: auto 6px 0;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fbf2ec;
  color: var(--walnut);
  font-size: 0.9rem;
  font-weight: 500;
}
.class-card__go svg { width: 14px; height: 14px; }
.class-cards:has(.class-card--soon) { grid-template-columns: repeat(4, 1fr); gap: 16px; }
/* Classes page: the coming-soon arch, faded with a big label */
.soon-photo { position: relative; overflow: hidden; }
.soon-photo > .photo { opacity: 0.45; filter: saturate(0.6); }
.soon-photo__label {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 2rem + 4vw, 6rem);
  line-height: 0.95;
  color: var(--bark);
  transform: rotate(-6deg);
  pointer-events: none;
}

/* Coming-soon card: content faded back, a big announcement on top */
.class-card--soon { position: relative; overflow: hidden; }
.class-card--soon > :not(.class-card__badge) { opacity: 0.38; filter: saturate(0.6); transition: opacity 0.4s var(--ease-out); }
.class-card--soon:hover > :not(.class-card__badge) { opacity: 0.55; }
.class-card__badge {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 1.6rem + 2vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: #fffbf9;
  text-shadow: 0 2px 18px rgba(58, 38, 32, 0.35);
  transform: rotate(-6deg);
  pointer-events: none;
}
@media (max-width: 1240px) { .class-cards:has(.class-card--soon) { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1100px) { .class-cards, .class-cards:has(.class-card--soon) { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .class-cards, .class-cards:has(.class-card--soon) { grid-template-columns: 1fr; } .class-card__win { height: 200px; } }

/* Numbers band */
.section--band { padding-block: 0 calc(var(--section) * 0.6); }
.stats-band {
  margin-inline: var(--frame);
  padding: clamp(40px, 5vw, 64px) var(--gutter);
  border-radius: var(--radius-lg);
  background: radial-gradient(70% 120% at 80% 0%, #b98670, #8e5d4a 60%, #6e4434);
  color: #fbf2ec;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 16px;
  text-align: center;
}
.stats-band b { display: block; font-family: var(--font-display); font-weight: 300; font-size: clamp(3rem, 2rem + 3vw, 4.5rem); line-height: 1; }
.stats-band span { display: block; margin-top: 10px; font-size: 0.95rem; color: #f0ddd4; }
@media (max-width: 760px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }

/* Colored arch windows (Classes page) */
.photo--color .photo__art {
  background: radial-gradient(80% 70% at 50% 15%, rgba(255, 255, 255, 0.24), transparent 65%), var(--win);
  color: var(--art-line, #fbf2ec);
}
.photo--color .photo__art .leaf { stroke: #dde8cc; }
.photo--arch[data-art="reformer"] .photo__art { --art-t: 40%; --art-r: 10%; --art-b: 24%; --art-l: 10%; }

/* Pricing: highlight the most popular pack */
.price-line--featured {
  margin: 8px -20px;
  padding: 24px 20px;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--rose-mist);
}

/* Not-yet-available items (private sessions): visible but can't be bought */
.price-line.is-soon > :not(.btn--soon), .buy-item.is-soon > :not(.btn--soon) { opacity: 0.45; }
.btn--soon { cursor: not-allowed; pointer-events: none; border-style: dashed; background: transparent; color: var(--ink-soft); }
.btn--soon:active { transform: none; }

/* ---------- Weekly timetable (Book page) ---------- */
.timetable {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 20px;
  margin-top: clamp(24px, 3vw, 40px);
}
.timetable__day {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.4vw, 32px);
}
.timetable__day.is-today { border-color: var(--stone); }
.timetable__day h3 {
  display: flex; align-items: center; gap: 10px;
  font-size: var(--fs-h3); margin: 0 0 8px;
}
.timetable__tag {
  font-family: var(--font); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--oat); color: var(--mocha-deep);
  padding: 4px 10px; border-radius: 999px;
}
.timetable__day ul { list-style: none; margin: 0; padding: 0; }
.timetable__row {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.timetable__row:first-child { border-top: 0; }
.timetable__time { font-weight: 600; font-variant-numeric: tabular-nums; }
.timetable__name { display: grid; gap: 2px; padding-left: 16px; position: relative; }
.timetable__name::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--dot);
}
.timetable__name a { color: inherit; text-decoration: none; font-weight: 500; }
.timetable__name a:hover { text-decoration: underline; }
.timetable__name small { color: var(--ink-soft); font-size: var(--fs-sm); }
.timetable__empty { margin: 0; }
@media (max-width: 420px) {
  .timetable__row { grid-template-columns: 1fr auto; }
  .timetable__time { grid-column: 1 / -1; }
  .timetable__name { grid-row: 2; }
}

/* Booking pop-up */
.book-modal {
  width: min(760px, calc(100vw - 24px));
  height: min(860px, calc(100dvh - 24px));
  max-width: none; max-height: none;
  padding: 0; border: 0;
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--ink);
  overflow: hidden;
}
.book-modal[open] { display: flex; flex-direction: column; }
.book-modal::backdrop { background: rgba(58, 38, 32, 0.55); }
.book-modal__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 16px 14px 24px;
  border-bottom: 1px solid var(--line);
}
.book-modal__title { font-size: 1.4rem; margin: 0; }
.book-modal__close {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--linen);
  font-size: 1.6rem; line-height: 1; color: var(--ink); cursor: pointer;
}
.book-modal__close:hover { background: var(--oat); }
.book-modal__body { flex: 1; min-height: 0; }
.book-modal__body iframe { width: 100%; height: 100%; border: 0; display: block; }
html.modal-open { overflow: hidden; }
