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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-stack-body);
  text-wrap: pretty;
  overflow-x: hidden;
}

img { max-width: 100%; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--brand-strong); }
::selection { background: var(--brand); color: var(--on-brand); }
:focus-visible { outline: 2px solid var(--brand-strong); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--font-stack-headings); font-weight: 400; margin: 0; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 900px; }
.section { padding-top: 56px; }
.section--tight { padding-top: 28px; }
.section--roomy { padding-top: 64px; }
.page-end { padding-bottom: 64px; }

.title-xl { font-size: clamp(40px, 8vw, 66px); line-height: .98; letter-spacing: -.03em; }
.title-lg { font-size: clamp(34px, 6vw, 44px); line-height: 1.05; letter-spacing: -.03em; }
.title-md { font-size: clamp(26px, 4.4vw, 32px); line-height: 1.1; letter-spacing: -.02em; }
.title-sm { font-size: 26px; line-height: 1.15; letter-spacing: -.015em; }
.title-card { font-size: 19px; line-height: 1.15; letter-spacing: -.01em; }
.lede { font-size: 17px; color: var(--body-text); margin: 12px 0 0; max-width: 56ch; }
.muted { color: var(--muted); }
.fine { font-size: 12px; line-height: 1.5; color: var(--faint); }
.body-text { color: var(--body-text); font-size: 15px; line-height: 1.65; margin: 0; }
.eyebrow { font: 600 12px/1.3 var(--font-stack-body); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-strong); margin-bottom: 10px; }
.stack > * + * { margin-top: 14px; }

.heading-row { display: flex; gap: 12px 32px; flex-wrap: wrap; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.heading-row p { margin: 0; max-width: 46ch; color: var(--muted); }

.btn {
  display: inline-block;
  font: 600 15px/1 var(--font-stack-body);
  letter-spacing: .04em;
  padding: 23px 32px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--sm { font-size: 14px; padding: 20px 28px; }
.btn--xs { font-size: 13px; padding: 14px 22px; }
.btn--brand { background: var(--brand); color: var(--on-brand); }
.btn--brand:hover { background: var(--surface); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--surface); }
.btn--ink:hover { background: var(--surface); color: var(--ink); }
.btn--ink-teal { background: var(--ink); color: var(--surface); }
.btn--ink-teal:hover { background: var(--brand-strong); color: var(--surface); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--outline:hover { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.pill { display: inline-block; font: 600 10px/1.3 var(--font-stack-body); letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; color: var(--ink); flex: 0 0 auto; }
.tone-brand { background: var(--brand); }
.tone-soft { background: var(--brand-soft); }
.tone-stone { background: var(--panel-bg); }

.promo { display: block; background: var(--brand); color: var(--on-brand); padding: 10px 20px; text-align: center; font: 700 12px/1.4 var(--font-stack-body); letter-spacing: .04em; }
.promo:hover { color: var(--on-brand); text-decoration: underline; }

.site-header { position: relative; padding: 20px 20px 0; background: var(--page-bg); z-index: 20; }
.site-header__logo { display: block; line-height: 0; text-align: center; }
.site-header__logo img { height: 24px; width: auto; }
.site-nav { display: flex; gap: 10px 30px; flex-wrap: wrap; align-items: center; justify-content: center; padding: 18px 0 16px; }
.site-nav a, .site-nav summary { font: 500 13px/1 var(--font-stack-body); letter-spacing: .06em; }
.site-nav a[aria-current="page"] { font-weight: 700; }
.more summary { list-style: none; display: flex; align-items: center; gap: 6px; cursor: pointer; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "\25BE"; font-size: 10px; }
.more[open] summary::after { content: "\25B4"; }
.more__panel { position: absolute; top: 100%; left: 0; right: 0; background: var(--page-bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.more__panel div { max-width: 1240px; margin: 0 auto; padding: 18px 20px; display: flex; gap: 10px 28px; flex-wrap: wrap; justify-content: center; }

.site-footer { background: var(--surface); margin-top: 56px; }
.site-footer__row { display: flex; gap: 24px 44px; flex-wrap: wrap; align-items: center; justify-content: space-between; padding-top: 30px; padding-bottom: 30px; }
.site-footer__row img { display: block; height: 18px; width: auto; }
.site-footer__links { display: flex; gap: 14px 26px; flex-wrap: wrap; align-items: center; font: 500 13px/1 var(--font-stack-body); }
.site-footer__legal { padding-bottom: 26px; font-size: 12px; color: var(--faint); }

.hero { position: relative; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); color: var(--surface); min-height: var(--hero-height, 480px); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-shade, linear-gradient(180deg, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .68) 100%)); }
.hero__content { position: relative; width: 100%; max-width: 1240px; margin: 0 auto; padding: 100px 20px 44px; }
.hero__content h1 { margin-bottom: 18px; max-width: 18ch; }
.hero__content p { font-size: 17px; margin: 0 0 24px; max-width: 52ch; }
.hero--home { --hero-height: 620px; --hero-shade: linear-gradient(180deg, rgba(0, 0, 0, .38) 0%, rgba(0, 0, 0, .18) 40%, rgba(0, 0, 0, .72) 100%); }
.hero--home .hero__content { padding: 140px 20px 56px; }
.hero--home h1 { max-width: 16ch; margin-bottom: 24px; }
.hero--side { --hero-shade: linear-gradient(90deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .30) 55%, rgba(0, 0, 0, .10) 100%); }
.hero__tag { display: inline-block; font: 600 11px/1.3 var(--font-stack-body); letter-spacing: .1em; text-transform: uppercase; background: var(--brand); color: var(--on-brand); padding: 8px 14px; border-radius: 999px; margin-bottom: 16px; }
.hero__tabs { display: flex; gap: 10px 20px; flex-wrap: wrap; }
.hero__tabs a { font: 600 13px/1 var(--font-stack-body); letter-spacing: .04em; color: var(--surface); border-bottom: 2px solid rgba(255, 255, 255, .4); padding-bottom: 6px; }
.hero__tabs a:hover { border-color: var(--brand); color: var(--surface); }

.band { background: var(--brand); color: var(--on-brand); }
.band__inner { padding-top: 64px; padding-bottom: 64px; }
.band__inner h2 { font-size: clamp(30px, 5vw, 42px); line-height: 1.06; letter-spacing: -.028em; max-width: 20ch; margin-bottom: 16px; }
.band__inner p { font-size: 19px; margin: 0; max-width: 52ch; }
.ticks { display: flex; gap: 14px 40px; flex-wrap: wrap; margin-top: 30px; padding: 0; list-style: none; }
.ticks li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.ticks li::before { content: "\2713"; width: 22px; height: 22px; background: var(--ink); color: var(--brand); display: flex; align-items: center; justify-content: center; border-radius: 999px; font-size: 12px; flex: 0 0 auto; }

.cta-band { background: var(--brand); color: var(--on-brand); border-radius: 24px; padding: 44px 40px; display: flex; gap: 22px 40px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.cta-band h2 { font-size: clamp(26px, 4.4vw, 34px); line-height: 1.08; letter-spacing: -.025em; max-width: 22ch; }
.cta-band p { margin: 8px 0 0; max-width: 46ch; font-size: 15px; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 240px)), 1fr)); }
.grid--fill { grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--min, 240px)), 1fr)); }
.grid--split { --min: 320px; gap: 40px; align-items: center; }

.card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; background: transparent; }
.card__media { height: var(--media-height, 168px); overflow: hidden; background: var(--panel-bg); }
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body p { margin: 0; }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card__link { margin-top: auto; font: 500 13px/1.4 var(--font-stack-body); color: var(--brand-strong); }
.card--padded { padding: 24px; }
.card--soft { background: var(--brand-soft); justify-content: center; }
.stat { border: 1px solid var(--line); border-radius: 18px; padding: 24px; text-align: center; }
.stat strong { display: block; font: 400 40px/1 var(--font-stack-headings); }
.stat strong.stat--word { font-size: 22px; line-height: 1.2; }
.stat span { display: block; font: 500 13px/1.4 var(--font-stack-body); color: var(--muted); margin-top: 6px; }

.rail-head { display: flex; gap: 12px 32px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.rail-buttons { display: flex; gap: 10px; }
.round-btn { width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font: 400 16px/1 var(--font-stack-body); cursor: pointer; }
.round-btn:hover { background: var(--ink); color: var(--surface); }
.rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 4px 20px 6px; max-width: 1280px; margin: 0 auto; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail .card { flex: 0 0 268px; min-height: 340px; }
.quote { flex: 0 0 min(340px, 85vw); margin: 0; border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 14px; min-height: 210px; }
.quote p { font: 400 17px/1.45 var(--font-stack-headings); letter-spacing: -.01em; margin: 0; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.container > .quote { min-height: 0; }
.quote footer { margin-top: auto; font: 500 14px/1.5 var(--font-stack-body); color: var(--muted); }
.quote footer a { color: var(--brand-strong); }

.widget { margin-top: 8px; }

.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; font: 600 15px/1.4 var(--font-stack-body); min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 20px/1 var(--font-stack-body); flex: 0 0 auto; color: var(--brand-strong); }
.faq[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--brand-strong); }
.faq p { margin: 0 0 20px; color: var(--body-text); font-size: 15px; line-height: 1.65; max-width: 70ch; white-space: pre-line; }
.faq-box { border: 1px solid var(--line); border-radius: 20px; padding: 6px 24px; }
.faq-box .faq:last-child { border-bottom: 0; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips a, .chips span { font: 600 12px/1 var(--font-stack-body); letter-spacing: .04em; border: 1px solid var(--line-strong); border-radius: 999px; padding: 12px 18px; }
.chips a:hover { background: var(--ink); color: var(--surface); }
.chips--soft span { border: 0; background: rgba(255, 255, 255, .62); font-weight: 500; font-size: 13px; letter-spacing: 0; }

.offer-strip { background: var(--brand); color: var(--on-brand); }
.offer-strip .container { padding-top: 22px; padding-bottom: 22px; display: flex; gap: 16px 28px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.offer-strip strong { font: 400 22px/1.2 var(--font-stack-headings); letter-spacing: -.01em; }
.offer-card { background: var(--brand); border-radius: 24px; padding: 40px; }
.offer-card__price { font: 400 66px/.9 var(--font-stack-headings); letter-spacing: -.04em; }

.dark-strip { background: var(--ink); color: var(--surface); text-align: center; font: 700 13px/1.5 var(--font-stack-body); padding: 16px 20px; }

.rounded-img { border-radius: 18px; overflow: hidden; }
.rounded-img img { width: 100%; display: block; object-fit: cover; }
.list { margin: 0; padding-left: 18px; color: var(--body-text); font-size: 15px; line-height: 1.8; }
.phase { border-top: 1px solid var(--line); padding: 20px 0; }
.phase:last-child { border-bottom: 1px solid var(--line); }
.phase h3 { font-size: 22px; line-height: 1.2; margin-bottom: 8px; }

.trainer-card .card__media { --media-height: 280px; }
.trainer-card--small .card__media { --media-height: 200px; }
.trainer-card--small .initials { font-size: 34px; }
.trainer-card .card__media img { object-position: center 20%; }
.trainer-card .eyebrow { margin: 0; font-size: 11px; letter-spacing: .06em; }
.trainer-card p { font-size: 14px; color: var(--body-text); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.initials { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font: 400 44px/1 var(--font-stack-headings); color: var(--brand-strong); background: var(--brand-soft); }

.studio-list { display: grid; gap: 0 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); border-top: 1px solid var(--line); }
.studio-list a { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.studio-list strong { font: 400 17px/1.2 var(--font-stack-headings); }
.studio-list span { font-size: 13px; color: var(--muted); }

.studio-facts { display: flex; gap: 10px 26px; flex-wrap: wrap; align-items: center; margin: 0 0 24px; font-size: 15px; }
.studio-facts a { color: var(--surface); text-decoration: underline; text-underline-offset: 3px; }
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; display: block; }
.rating { display: flex; gap: 8px 14px; align-items: baseline; flex-wrap: wrap; }
.rating strong { font: 400 40px/1 var(--font-stack-headings); }

.instagram-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.instagram-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; display: block; }

@media (max-width: 640px) {
  .cta-band, .offer-card { padding: 32px 24px; border-radius: 20px; }
  .hero--home { --hero-height: 520px; }
  .hero--home .hero__content { padding-top: 100px; padding-bottom: 40px; }
  .offer-card__price { font-size: 52px; }
}
