/* ==========================================================
   Just Move Fitness with Autumn Nelson
   ========================================================== */

:root {
  /* light only: stops phone browsers from auto-darkening the page */
  color-scheme: only light;
  --ink: #0d2426;
  --ink-2: #143236;
  --ink-soft: #3d5153;
  --muted: #647677;
  --cream: #f6f1ea;
  --paper: #fffdf9;
  --sand: #e8dfd2;
  --line: rgba(13, 36, 38, .12);
  --teal: #00c2cb;
  --teal-deep: #087f86;
  --teal-soft: #d9f3f4;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 30px 60px -30px rgba(13, 36, 38, .35);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
strong { color: var(--ink); font-weight: 500; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 380;
  color: var(--ink);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -.015em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.5rem; line-height: 1.2; }
h1 em, h2 em { font-style: italic; font-weight: 340; color: var(--teal-deep); }

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

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 140px) 0; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }

.eyebrow {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin: 0 0 1.4em;
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow--light { color: var(--teal); }

.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__sub { font-size: 1.2rem; margin: 1.4em 0 0; max-width: 620px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 500 .95rem/1 var(--sans);
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn--sm { min-height: 46px; padding: 0 22px; font-size: .82rem; }
.btn--primary { background: var(--ink); color: #fff; box-shadow: 0 14px 30px -14px rgba(13, 36, 38, .6); }
.btn--primary:hover { background: var(--teal-deep); }
.btn--ghost { border-color: rgba(13, 36, 38, .3); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--teal { background: var(--teal); color: var(--ink); }
.btn--teal:hover { background: #fff; }
.btn--ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--ink); color: #fff; }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  padding: 10px 0;
}
.link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.link:hover { color: var(--teal-deep); }
.link:hover svg { transform: translateX(5px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
}
/* blur lives on a pseudo-element so the fixed mobile menu isn't trapped inside the bar */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(246, 241, 234, .88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  opacity: 0; transition: opacity .35s var(--ease);
}
.nav.is-stuck::before { opacity: 1; }
.nav__inner {
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto; padding: 14px var(--gutter);
  display: flex; align-items: center; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__mark {
  width: 48px; height: 48px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; flex: none;
  box-shadow: 0 0 0 1px var(--line), 0 8px 18px -10px rgba(13, 36, 38, .4);
}
.brand__mark img { width: 34px; height: auto; }
.brand__mark--lg { width: 104px; height: 104px; }
.brand__mark--lg img { width: 92px; }
.brand__text { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }
.brand__text em { color: var(--teal-deep); }

.nav__links { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); }
.nav__links a:not(.btn) {
  position: relative;
  font-size: .86rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; padding: 10px 0; white-space: nowrap;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px;
  background: var(--teal-deep); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }
.nav__cta-mobile { display: none; }
.nav__toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(120px, 14vw, 170px) 0 clamp(48px, 6vw, 80px);
  background:
    radial-gradient(900px 600px at 88% 8%, rgba(0, 194, 203, .16), transparent 60%),
    radial-gradient(700px 500px at -5% 90%, rgba(232, 223, 210, .9), transparent 60%),
    var(--cream);
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.hero__title { font-size: clamp(2.9rem, 7vw, 5.6rem); line-height: 1; letter-spacing: -.025em; }
.hero__title em { display: block; }
.hero__lede { font-size: clamp(1.15rem, 1.6vw, 1.32rem); max-width: 540px; margin: 1.6em 0 2em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__motto { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--muted); margin: 2.2em 0 0; }

.hero__visual { position: relative; max-width: 500px; width: 100%; justify-self: end; }
.hero__arch {
  position: relative;
  border-radius: 999px 999px 26px 26px;
  overflow: hidden;
  aspect-ratio: 5 / 6.2;
  box-shadow: var(--shadow);
  background: var(--sand);
}
.hero__arch img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero__visual::before {
  content: ""; position: absolute; inset: -18px 18px 18px -18px;
  border: 1px solid var(--teal-deep); opacity: .45;
  border-radius: 999px 999px 26px 26px;
}
.hero__badge {
  position: absolute; top: 4%; right: -6%;
  width: 136px; height: 136px; border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 18px 40px -18px rgba(13, 36, 38, .5);
  display: grid; place-items: center;
}
.hero__badge svg { position: absolute; inset: 0; animation: spin 26s linear infinite; }
.hero__badge text { font: 500 15.5px var(--sans); letter-spacing: .1em; fill: var(--ink); }
.hero__badge img { width: 58px; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__card {
  position: absolute; left: -9%; bottom: 9%;
  display: flex; align-items: center; gap: 14px;
  background: var(--ink); color: #fff;
  padding: 16px 22px; border-radius: 18px;
  box-shadow: 0 24px 44px -20px rgba(13, 36, 38, .7);
}
.hero__card-num { font-family: var(--serif); font-size: 2.5rem; line-height: 1; color: var(--teal); }
.hero__card-label { font-size: .82rem; line-height: 1.35; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(56px, 8vw, 100px);
  border-top: 1px solid var(--line);
}
.stats li { padding: 28px 24px 0 0; display: flex; flex-direction: column; gap: 6px; }
.stats li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.stats strong { font-family: var(--serif); font-weight: 360; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: var(--ink); }
.stats span { font-size: .95rem; color: var(--muted); max-width: 190px; line-height: 1.4; }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 22px 0; }
.marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 42s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: 1.5rem; white-space: nowrap; opacity: .92; }
.marquee i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.services { background: var(--paper); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 34px 30px 26px;
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease), background .45s var(--ease);
}
.card:hover { transform: translateY(-8px); background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 14px; }
.card p { font-size: 1.04rem; flex: 1; }

/* ---------- Pilates ---------- */
.pilates { background: var(--ink); color: rgba(255, 255, 255, .78); position: relative; overflow: hidden; }
.pilates::before {
  content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -250px;
  background: radial-gradient(closest-side, rgba(0, 194, 203, .2), transparent);
  pointer-events: none;
}
.pilates h2 { color: #fff; }
.pilates h2 em, .contact h2 em, .ondemand h2 em { color: var(--teal); }
.pilates__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 7vw, 100px); align-items: center; position: relative; }
.pilates__media { position: relative; }
.pilates__media img { border-radius: 260px 260px var(--radius) var(--radius); aspect-ratio: 4 / 5.2; object-fit: cover; width: 100%; }
.pilates__tag {
  position: absolute; right: -14px; bottom: 36px;
  background: var(--teal); color: var(--ink);
  font-size: .8rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  padding: 12px 18px; border-radius: 999px;
}
.pilates__copy > p { font-size: 1.18rem; max-width: 600px; }
.pilates__copy h2 { margin-bottom: .6em; }
.facts { margin: 2.4em 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255, 255, 255, .16); }
.facts div { padding: 20px 20px 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.facts dt { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; }
.facts dd { margin: 0; color: #fff; font-size: 1.08rem; line-height: 1.4; }
.pilates__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.pilates .fineprint { font-size: .92rem; color: rgba(255, 255, 255, .55); margin: 1.6em 0 0; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.about__media { position: sticky; top: 110px; padding: 0 12% 16% 0; }
.about__img { border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.about__img--a { width: 100%; aspect-ratio: 4 / 5; }
.about__img--b { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; border: 8px solid var(--cream); border-radius: calc(var(--radius) + 6px); }
.about__copy h2 { margin-bottom: .7em; }
.lead { font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.4; color: var(--ink); }
.feature {
  margin: 2.2em 0; padding: 28px 30px;
  background: var(--paper); border-radius: var(--radius);
  border-left: 3px solid var(--teal);
  box-shadow: 0 20px 40px -30px rgba(13, 36, 38, .4);
}
.feature__label { display: block; font-size: .76rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 8px; }
.feature p { margin: 0; }
.about__certs-title { font-family: var(--sans); font-size: .8rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { font-size: .95rem; line-height: 1.3; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .55); color: var(--ink); }
.chips li:last-child { border-style: dashed; color: var(--muted); background: none; }

/* ---------- Training / Pricing ---------- */
.training { background: var(--paper); }
.tabs__list {
  display: inline-flex; gap: 4px; padding: 6px;
  background: var(--cream); border: 1px solid var(--line); border-radius: 999px;
  margin-bottom: 32px; max-width: 100%;
}
.tabs__list button {
  font: 500 .88rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); background: none; border: 0; cursor: pointer;
  min-height: 48px; padding: 0 clamp(16px, 3vw, 30px); border-radius: 999px;
  transition: background .3s var(--ease), color .3s var(--ease);
  white-space: nowrap;
}
.tabs__list button:hover { color: var(--ink); }
.tabs__list button[aria-selected="true"] { background: var(--ink); color: #fff; }
html:not(.js) .tabs__list { display: none; }
html:not(.js) .tabs__panel[hidden] { display: block; margin-top: 48px; }
.tabs__panel { animation: fade .5s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } }
.tabs__panel-title { font-size: 1.7rem; margin-bottom: 24px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.tabs__panel-title small { font: 400 .82rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan {
  padding: 36px 32px 32px;
  background: var(--cream); border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan--featured { background: var(--ink); }
.plan p { margin: 0; }
.plan__name { font-size: .86rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.plan__freq { font-family: var(--serif); font-style: italic; color: var(--muted); margin-top: 4px !important; }
.plan__price { font-family: var(--serif); font-weight: 340; font-size: clamp(3rem, 5vw, 4.2rem); line-height: 1; color: var(--ink); margin-top: 44px !important; letter-spacing: -.02em; }
.plan__price sup { font-size: .45em; color: var(--teal-deep); margin-left: 2px; }
.plan--featured .plan__name, .plan--featured .plan__price { color: #fff; }
.plan--featured .plan__freq { color: rgba(255, 255, 255, .65); }
.plan--featured .plan__price sup { color: var(--teal); }

.includes { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 12px 36px; margin-top: 30px; }
.includes li, .ticks li { position: relative; padding-left: 30px; font-size: 1.02rem; color: var(--ink); }
.includes li::before, .ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.300l2.700 2.700L13 6.500' fill='none' stroke='%23087f86' stroke-width='1.700' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.menu { border-top: 1px solid var(--line); }
.menu__row { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 20px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.menu p { margin: 0; }
.menu__name { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); line-height: 1.25; }
.menu__note { font-size: .9rem; color: var(--muted); margin-top: 4px !important; }
.menu__opt { font-family: var(--serif); font-size: 2rem; line-height: 1.1; color: var(--ink); }
.menu__opt span { display: block; font: 500 .74rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 6px; }
.travel { margin: 24px 0 0; font-size: .98rem; color: var(--muted); }

.training__notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.note { padding: 22px 26px; border: 1px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 1rem; line-height: 1.5; }
.note strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; }
.note--accent { background: var(--teal-soft); border-color: transparent; }
.training__cta { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.training__cta p { margin: 0; color: var(--muted); font-size: 1rem; }

/* ---------- On Demand ---------- */
.ondemand { padding-top: clamp(72px, 9vw, 120px); padding-bottom: 0; }
.ondemand__card {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(32px, 5vw, 72px);
  padding: clamp(32px, 6vw, 76px);
  border-radius: clamp(24px, 4vw, 40px);
  background:
    radial-gradient(600px 400px at 100% 0%, rgba(0, 194, 203, .35), transparent 65%),
    linear-gradient(135deg, #0d2426, #12474c);
  color: rgba(255, 255, 255, .8);
  overflow: hidden;
}
.ondemand h2 { color: #fff; margin-bottom: .55em; }
.ticks { margin: 1.6em 0 2.2em; display: grid; gap: 10px; }
.ondemand .ticks li { color: #fff; }
.ondemand .ticks li::before { background-color: rgba(0, 194, 203, .25); filter: brightness(2.2); }
.ondemand__media { position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7); transform: rotate(1.5deg); transition: transform .5s var(--ease); }
.ondemand__media:hover { transform: rotate(0) scale(1.02); }
.ondemand__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.ondemand__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 36, 38, .1), rgba(13, 36, 38, .6)); }
.play {
  position: absolute; inset: 0; margin: auto; z-index: 1;
  width: 84px; height: 84px; border-radius: 50%; background: rgba(255, 255, 255, .94);
  display: grid; place-items: center; transition: transform .4s var(--ease), background .4s;
}
.play svg { width: 30px; height: 30px; fill: var(--ink); margin-left: 4px; }
.ondemand__media:hover .play { transform: scale(1.1); background: var(--teal); }
.ondemand__count { position: absolute; z-index: 1; left: 18px; bottom: 16px; color: #fff; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; }
.ondemand__count strong { color: var(--teal); font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0; margin-right: 4px; }

/* ---------- Stories ---------- */
.pull { margin: 0 0 clamp(48px, 7vw, 80px); max-width: 980px; }
.pull blockquote {
  margin: 0; font-family: var(--serif); font-weight: 340; font-style: italic;
  font-size: clamp(1.7rem, 3.6vw, 2.9rem); line-height: 1.25; color: var(--ink); letter-spacing: -.01em;
}
.pull figcaption { margin-top: 20px; font-size: .9rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-deep); }

.quotes { columns: 3; column-gap: 20px; }
.quote {
  break-inside: avoid; margin: 0 0 20px; padding: 30px 30px 26px;
  background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line);
}
.stars { color: var(--teal-deep); letter-spacing: .2em; font-size: .9rem; margin-bottom: 14px; }
.quote blockquote { margin: 0; font-size: 1.04rem; line-height: 1.65; color: var(--ink-soft); }
.js .quote blockquote.is-clamped { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 8; line-clamp: 8; overflow: hidden; }
.quote__more { background: none; border: 0; padding: 10px 0 0; cursor: pointer; font: 500 .8rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); min-height: 44px; }
.quote__more:hover { color: var(--ink); }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 500; color: var(--ink); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-deep); display: grid; place-items: center; font-family: var(--serif); font-size: 1.15rem; }

/* ---------- Facebook feed ---------- */
.social-feed { background: var(--paper); }
.social-feed__grid { display: grid; grid-template-columns: 1fr minmax(0, 540px); gap: clamp(36px, 6vw, 90px); align-items: center; }
.social-feed__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2em; }
.social-feed__frame { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
/* the plugin pins a page header to the top of its frame; shift the frame up and clip it away */
.social-feed__crop { --fb-header: 72px; height: 660px; max-width: 500px; margin: 0 auto; overflow: hidden; border-radius: 10px; }
.social-feed__crop iframe { display: block; width: 100%; height: calc(660px + var(--fb-header)); margin-top: calc(var(--fb-header) * -1); border: 0; }
.social-feed__fallback { margin: 14px 0 0; text-align: center; font-size: .92rem; color: var(--muted); }
.social-feed__fallback a { color: var(--teal-deep); }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: rgba(255, 255, 255, .78); }
.contact__head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.contact h2 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: .45em; }
.contact__head p { font-size: 1.2rem; margin: 0; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.contact__item {
  display: flex; align-items: center; gap: 20px; padding: 22px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  text-decoration: none; transition: padding .35s var(--ease), background .35s var(--ease);
  border-radius: 6px;
}
.contact__item:first-child { border-top: 1px solid rgba(255, 255, 255, .14); }
.contact__item:hover { padding-left: 18px; background: rgba(255, 255, 255, .04); }
.contact__icon { width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(0, 194, 203, .5); display: grid; place-items: center; flex: none; transition: background .35s; }
.contact__icon svg, .social svg { width: 22px; height: 22px; fill: none; stroke: var(--teal); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.contact__item:hover .contact__icon { background: rgba(0, 194, 203, .15); }
.contact__item > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.contact__item small { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); }
.contact__item strong { color: #fff; font-family: var(--serif); font-weight: 380; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.3; overflow-wrap: anywhere; }
.contact__item em { font-style: normal; font-size: .95rem; color: rgba(255, 255, 255, .6); }
.social { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.social a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; color: #fff; text-decoration: none; font-size: .86rem; letter-spacing: .1em; text-transform: uppercase; transition: background .3s, border-color .3s; }
.social a:hover { background: rgba(0, 194, 203, .16); border-color: var(--teal); }
.contact__map { border-radius: var(--radius); overflow: hidden; height: 360px; background: var(--ink-2); margin-top: clamp(40px, 6vw, 72px); }
.contact__map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.75) contrast(1.05); }

.form { background: var(--cream); color: var(--ink-soft); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); align-self: start; }
.form__title { font-size: 1.8rem; margin-bottom: 8px; }
.form__intro { font-size: 1.02rem; margin-bottom: 24px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field label { font-size: .76rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.field label span { letter-spacing: .04em; text-transform: none; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  font: 400 1.05rem/1.4 var(--sans); color: var(--ink);
  background: #fff; border: 1px solid rgba(13, 36, 38, .2); border-radius: 12px;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-deep); box-shadow: 0 0 0 3px rgba(0, 194, 203, .25); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { margin-top: 6px; }
.form__submit[disabled] { opacity: .6; cursor: progress; transform: none; }
.form__status { margin: 16px 0 0; font-size: 1rem; min-height: 1.5em; }
.form__status.is-ok { color: var(--teal-deep); font-weight: 500; }
.form__status.is-error { color: #b3261e; }

/* ---------- Footer ---------- */
.footer { background: #091a1c; color: rgba(255, 255, 255, .6); padding: 64px 0 40px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1fr auto; gap: 32px 48px; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 22px; }
.footer p { margin: 0; }
.footer__name { font-family: var(--serif); font-size: 1.5rem; color: #fff; line-height: 1.2; }
.footer__name em { color: var(--teal); }
.footer__motto { font-family: var(--serif); font-style: italic; margin-top: 6px !important; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 26px; justify-content: flex-end; max-width: 440px; }
.footer__links a { color: rgba(255, 255, 255, .8); text-decoration: none; font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; padding: 8px 0; }
.footer__links a:hover { color: var(--teal); }
.footer__fine, .footer__copy { grid-column: 1 / -1; }
.footer__fine { padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); max-width: 860px; font-size: .88rem; line-height: 1.6; }
.footer__copy { font-size: .82rem; color: rgba(255, 255, 255, .42); }
.footer__copy a { color: rgba(255, 255, 255, .7); text-underline-offset: 3px; }
.footer__copy a:hover { color: var(--teal); }

.sticky-cta { display: none; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track, .hero__badge svg { animation: none; }
  .tabs__panel { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .quotes { columns: 2; }
  .includes { grid-template-columns: repeat(2, auto); }
  .nav__cta { display: none; }
}

@media (max-width: 1020px) {
  .nav__toggle {
    display: grid; place-content: center; gap: 7px;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--ink); border: 0; cursor: pointer; z-index: 2;
  }
  .nav__toggle span { display: block; width: 20px; height: 1.5px; background: #fff; transition: transform .35s var(--ease); }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .brand { position: relative; z-index: 2; }

  .nav__links {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px;
    padding: 96px var(--gutter) 40px;
    background: var(--cream);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__links a:not(.btn) { font: 380 clamp(1.9rem, 7vw, 2.6rem)/1.2 var(--serif); letter-spacing: -.01em; text-transform: none; padding: 10px 0; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__cta-mobile { display: inline-flex; margin-top: 28px; }
  html:not(.js) .nav__links { position: static; opacity: 1; visibility: visible; transform: none; flex-direction: row; flex-wrap: wrap; padding: 0; background: none; }
}

@media (max-width: 900px) {
  .hero__grid, .pilates__grid, .about__grid, .ondemand__card, .contact__grid, .social-feed__grid { grid-template-columns: 1fr; }
  .hero__visual { justify-self: center; max-width: 420px; margin-top: 24px; width: 86%; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li { padding: 24px 16px 24px 0; }
  .stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pilates__media { max-width: 440px; }
  .about__media { position: relative; top: 0; max-width: 520px; }
  .plans, .training__notes { grid-template-columns: 1fr; }
  .plan { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 26px 28px; }
  .plan__price { grid-column: 2; grid-row: 1 / span 2; margin-top: 0 !important; font-size: 2.8rem; }
  .menu__row { grid-template-columns: 1fr 1fr; }
  .menu__row > div { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__links { justify-content: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .cards { grid-template-columns: 1fr; }
  .quotes { columns: 1; }
  .facts { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .form__submit { width: 100%; }
  .includes { grid-template-columns: 1fr; }
  .social-feed__frame { padding: 10px; }
  .hero__actions .btn, .social-feed__actions .btn, .pilates__actions .btn, .training__cta .btn, .ondemand .btn { width: 100%; }
  .btn { padding: 0 22px; font-size: .88rem; }
  .hero__badge { width: 104px; height: 104px; right: -5%; }
  .hero__badge img { width: 44px; }
  .hero__card { left: -6%; padding: 12px 16px; }
  .hero__card-num { font-size: 2rem; }
  .hero__card-label { font-size: .72rem; }
  .brand__text { font-size: 1.15rem; }
  .tabs__list { display: flex; }
  .tabs__list button { flex: 1; padding: 0 8px; font-size: .78rem; letter-spacing: .06em; }
  .pilates__tag { right: 8px; }
  .footer__brand { flex-direction: column; align-items: flex-start; }
  .footer { padding-bottom: 110px; }

  .sticky-cta {
    position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 90;
    display: flex; align-items: center; justify-content: center;
    min-height: 54px; border-radius: 999px;
    background: var(--teal); color: var(--ink);
    font: 500 .9rem var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
    box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .55);
    transform: translateY(130%); transition: transform .45s var(--ease);
  }
  .sticky-cta.is-on { transform: none; }
}
