/* ==========================================================================
   Poise — Pilates Studio Template
   Style: Editorial / Calm-Luxe  ·  "Porcelain & Forest"
   Stack: Vanilla HTML5 + CSS3 + JS  (no frameworks)
   --------------------------------------------------------------------------
   1. Tokens   2. Base   3. Primitives   4. Nav   5. Hero   6. Marquee
   7. About    8. Pillars 9. Classes    10. Pricing 11. Team 12. Schedule
   13. Stories 14. Voices 15. Gallery   16. BMI    17. FAQ  18. Contact
   19. Footer  20. Floating  21. Reveal 22. Responsive
   ========================================================================== */

/* ============================== 1. TOKENS ============================== */
:root {
  /* Surfaces — cool porcelain, not warm cream */
  --porcelain: #ECEEE8;   /* page background            */
  --paper:     #F4F6F0;   /* raised sections            */
  --white:     #FBFCF9;   /* cards                       */
  --blush:     #E6E1D7;   /* soft neutral fill           */

  /* Deep forest — identity dark used for dark sections + primary buttons */
  --forest:    #1F2A24;
  --forest-2:  #263229;

  /* Text */
  --ink:       #222B26;   /* primary                     */
  --ink-dim:   #55605A;   /* body                        */
  --ink-faint: #8A938C;   /* captions                    */

  /* Accents */
  --sage:      #5B7060;   /* muted eucalyptus — labels/tints */
  --sage-soft: #DCE3DA;
  --gold:      #B4894A;   /* ochre jewel accent (sparingly)  */

  /* On-dark text */
  --on-forest:      #EDEFE8;
  --on-forest-dim:  rgba(237, 239, 232, 0.66);

  --line:      rgba(34, 43, 38, 0.12);
  --line-soft: rgba(34, 43, 38, 0.07);
  --line-light:rgba(237, 239, 232, 0.16);

  /* Rounded, soft geometry (opposite of a sharp/urban look) */
  --r:    18px;
  --r-lg: 28px;
  --r-pill: 999px;

  --f-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-sans:  'DM Sans', system-ui, -apple-system, sans-serif;

  --wrap: 1200px;
  --pad:  clamp(20px, 5vw, 60px);
  --sec:  clamp(72px, 10vw, 132px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 10px 30px -18px rgba(31, 42, 36, 0.35);
  --shadow:    0 30px 70px -34px rgba(31, 42, 36, 0.45);
}

/* =============================== 2. BASE =============================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-sans);
  background: var(--porcelain);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, select { font-family: inherit; }
button { cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--sage); color: var(--white); }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -999px; top: 10px; z-index: 200;
  background: var(--forest); color: var(--on-forest); padding: 10px 18px; border-radius: var(--r-pill); font-weight: 600;
}
.skip-link:focus { left: 12px; }

/* ============================ 3. PRIMITIVES ============================ */
.wrap { width: min(var(--wrap), 100%); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--sec); position: relative; }

/* Serif headings */
.h-serif {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.h-serif--light { color: var(--on-forest); }
.h-serif em, .hero__title em { font-style: italic; color: var(--sage); font-weight: 500; }
.h-serif--light em { color: var(--gold); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage);
  margin-bottom: 18px;
}
.eyebrow--light { color: var(--gold); }
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

.lead { color: var(--ink-dim); font-size: 1.08rem; max-width: 58ch; }
.lead--light { color: var(--on-forest-dim); }

.sec-head { max-width: 680px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; max-width: none; flex-wrap: wrap; }
.sec-note { color: var(--ink-dim); max-width: 340px; font-size: 0.98rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--forest); font-size: 0.98rem;
  border-bottom: 1.5px solid var(--gold); padding-bottom: 3px; width: fit-content;
  transition: gap .3s var(--ease), color .25s;
}
.link-arrow:hover { gap: 14px; color: var(--sage); }

/* Buttons */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 30px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 0.96rem; letter-spacing: 0.005em;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.btn--sm { --h: 44px; padding: 0 22px; font-size: 0.88rem; }
.btn--block { width: 100%; }
.btn--ink { background: var(--forest); color: var(--on-forest); }
.btn--ink:hover { background: var(--forest-2); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--outline { background: transparent; color: var(--forest); border: 1.5px solid var(--forest); }
.btn--outline:hover { background: var(--forest); color: var(--on-forest); transform: translateY(-2px); }

/* ================================ 4. NAV ================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.stuck {
  background: rgba(236, 238, 232, 0.82);
  backdrop-filter: blur(16px) saturate(1.1);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 82px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { border-radius: 10px; }
.brand__name { font-family: var(--f-serif); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.01em; }
.brand--light .brand__name { color: var(--on-forest); }

.nav__menu { display: flex; gap: 30px; }
.nav__menu a {
  font-size: 0.94rem; font-weight: 500; color: var(--ink-dim); position: relative; padding: 6px 0;
  transition: color .25s var(--ease);
}
.nav__menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0; background: var(--gold);
  transition: width .3s var(--ease);
}
.nav__menu a:hover, .nav__menu a.active { color: var(--ink); }
.nav__menu a.active::after { width: 100%; }

.nav__end { display: flex; align-items: center; gap: 14px; }
.burger { display: none; width: 44px; height: 44px; flex-direction: column; gap: 6px; align-items: center; justify-content: center; }
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ================================ 5. HERO ================================ */
.hero { padding-top: 120px; padding-bottom: clamp(50px, 7vw, 90px); }
.hero__grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title {
  font-family: var(--f-serif); font-weight: 500;
  font-size: clamp(2.9rem, 6.6vw, 5.4rem);
  line-height: 1.0; letter-spacing: -0.02em; margin: 20px 0 22px;
}
.hero__lead { color: var(--ink-dim); font-size: 1.14rem; max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 34px; }

.hero__trust { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 44px; }
.hero__trust li { display: flex; flex-direction: column; }
.hero__trust .t-num { font-family: var(--f-serif); font-size: 2rem; line-height: 1; color: var(--forest); }
.hero__trust .t-num sup { color: var(--gold); font-size: 0.5em; top: -0.7em; }
.hero__trust .t-lab { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); margin-top: 6px; }

.hero__media { position: relative; }
.hero__frame {
  border-radius: 220px 220px var(--r-lg) var(--r-lg); /* arch top — reformer/studio motif */
  overflow: hidden; box-shadow: var(--shadow);
}
.hero__frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.hero__card {
  position: absolute; left: -18px; bottom: 34px;
  background: var(--white); border-radius: var(--r); padding: 16px 20px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--line-soft);
  animation: floatY 5s var(--ease) infinite;
}
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero__card-label { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage); font-weight: 600; }
.hero__card-title { font-family: var(--f-serif); font-size: 1.2rem; color: var(--ink); }
.hero__card-meta { font-size: 0.82rem; color: var(--ink-faint); }

/* ============================== 6. MARQUEE ============================== */
.marquee { border-block: 1px solid var(--line); padding-block: 20px; overflow: hidden; background: var(--paper); }
.marquee__track { display: flex; gap: 0; width: max-content; animation: slide 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-family: var(--f-serif); font-style: italic; font-size: 1.5rem; color: var(--ink); padding: 0 34px; display: inline-flex; align-items: center; gap: 34px; }
.marquee__item::after { content: "✦"; color: var(--gold); font-style: normal; font-size: 0.7em; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =============================== 7. ABOUT =============================== */
.about__grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 5/6; object-fit: cover; border-radius: var(--r-lg); }
.about__stat {
  position: absolute; right: -16px; bottom: 28px; background: var(--forest); color: var(--on-forest);
  border-radius: var(--r); padding: 20px 24px; display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.about__stat-num { font-family: var(--f-serif); font-size: 3rem; line-height: 0.9; }
.about__stat-lab { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-forest-dim); margin-top: 4px; }
.about__body h2 { margin: 14px 0 20px; }
.pullquote {
  font-family: var(--f-serif); font-style: italic; font-size: 1.3rem; line-height: 1.5; color: var(--forest);
  border-left: 2px solid var(--gold); padding-left: 22px; margin: 26px 0 28px; max-width: 46ch;
}

/* ============================== 8. PILLARS ============================== */
.pillars { background: var(--paper); }
.pillars__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 5vw, 72px); }
.pillar {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 30px 0;
  border-top: 1px solid var(--line);
}
.pillar__no { font-family: var(--f-serif); font-size: 1.1rem; color: var(--gold); padding-top: 4px; }
.pillar h3 { font-family: var(--f-serif); font-weight: 500; font-size: 1.35rem; margin-bottom: 8px; }
.pillar p { color: var(--ink-dim); font-size: 0.98rem; }

/* ============================== 9. CLASSES ============================== */
.classes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.class {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.class:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.class__media { position: relative; overflow: hidden; aspect-ratio: 9/7; }
.class__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.class:hover .class__media img { transform: scale(1.06); }
.class__level {
  position: absolute; top: 14px; left: 14px; background: rgba(251,252,249,0.92); backdrop-filter: blur(4px);
  color: var(--forest); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--r-pill);
}
.class__body { padding: 24px 26px 28px; }
.class__body h3 { font-family: var(--f-serif); font-weight: 500; font-size: 1.5rem; margin-bottom: 8px; }
.class__body p { color: var(--ink-dim); font-size: 0.95rem; margin-bottom: 16px; }
.class__meta { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line-soft); padding-top: 14px; }
.class__dur { font-size: 0.85rem; color: var(--ink-faint); }
.class__go { font-weight: 600; color: var(--forest); font-size: 0.9rem; display: inline-flex; gap: 6px; transition: gap .3s var(--ease); }
.class:hover .class__go { gap: 12px; }

/* ============================== 10. PRICING ============================== */
.pricing { background: var(--forest); }
.pricing .sec-head { margin-inline: auto; text-align: center; }
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column; background: var(--forest-2);
  border: 1px solid var(--line-light); border-radius: var(--r-lg); padding: 36px 32px;
  transition: transform .4s var(--ease), border-color .4s; position: relative;
}
.plan:hover { transform: translateY(-6px); }
.plan--feat { background: var(--porcelain); color: var(--ink); border-color: var(--gold); box-shadow: var(--shadow); }
.plan__flag {
  position: absolute; top: -13px; left: 32px; background: var(--gold); color: var(--forest);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 14px; border-radius: var(--r-pill);
}
.plan__name { font-family: var(--f-serif); font-size: 1.4rem; color: var(--on-forest); }
.plan--feat .plan__name { color: var(--ink); }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 4px; }
.plan__price .amt { font-family: var(--f-serif); font-size: 3rem; line-height: 1; color: var(--on-forest); }
.plan--feat .plan__price .amt { color: var(--forest); }
.plan__price .per { color: var(--on-forest-dim); font-size: 0.9rem; }
.plan--feat .plan__price .per { color: var(--ink-dim); }
.plan__blurb { color: var(--on-forest-dim); font-size: 0.94rem; margin-bottom: 24px; }
.plan--feat .plan__blurb { color: var(--ink-dim); }
.plan__feats { display: grid; gap: 12px; flex: 1; margin-bottom: 28px; }
.plan__feats li { display: flex; gap: 10px; align-items: flex-start; color: var(--on-forest-dim); font-size: 0.94rem; }
.plan--feat .plan__feats li { color: var(--ink-dim); }
.plan__feats li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F2A24' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}
.plan .btn--outline { color: var(--on-forest); border-color: var(--on-forest-dim); }
.plan .btn--outline:hover { background: var(--on-forest); color: var(--forest); border-color: var(--on-forest); }
.pricing__note { text-align: center; color: var(--on-forest-dim); font-size: 0.9rem; margin-top: 30px; }

/* ================================ 11. TEAM ================================ */
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.member { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--white); }
.member__media { position: relative; overflow: hidden; aspect-ratio: 4/5; }
.member__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.member:hover .member__media img { transform: scale(1.05); }
.member__overlay {
  position: absolute; inset: auto 0 0 0; padding: 20px;
  background: linear-gradient(0deg, rgba(31,42,36,0.9), transparent);
  color: var(--on-forest); transform: translateY(calc(100% - 78px)); transition: transform .45s var(--ease);
}
.member:hover .member__overlay { transform: translateY(0); }
.member__spec { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.member__name { font-family: var(--f-serif); font-size: 1.35rem; margin: 3px 0 4px; }
.member__exp { font-size: 0.82rem; color: var(--on-forest-dim); }
.member__social { display: flex; gap: 10px; margin-top: 14px; }
.member__social a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(237,239,232,0.14); color: var(--on-forest); transition: background .25s, color .25s; }
.member__social a:hover { background: var(--gold); color: var(--forest); }
.member__social svg { width: 16px; height: 16px; }

/* ============================== 12. SCHEDULE ============================== */
.schedule { background: var(--paper); }
.schedule__days { display: flex; flex-wrap: wrap; gap: 8px; }
.day-tab {
  padding: 9px 18px; border-radius: var(--r-pill); border: 1px solid var(--line);
  font-size: 0.88rem; font-weight: 500; color: var(--ink-dim); background: var(--white);
  transition: background .25s, color .25s, border-color .25s;
}
.day-tab:hover { border-color: var(--sage); }
.day-tab.on { background: var(--forest); color: var(--on-forest); border-color: var(--forest); }
.schedule__list { display: grid; gap: 12px; }
.slot {
  display: grid; grid-template-columns: 120px 1fr auto auto; gap: 20px; align-items: center;
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 20px 26px;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.slot:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.slot__time { font-family: var(--f-serif); font-size: 1.2rem; color: var(--forest); }
.slot__name { font-weight: 600; color: var(--ink); }
.slot__name small { display: block; font-weight: 400; color: var(--ink-faint); font-size: 0.82rem; }
.slot__coach { color: var(--ink-dim); font-size: 0.9rem; }
.slot__tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sage); background: var(--sage-soft); padding: 6px 12px; border-radius: var(--r-pill); }
.slot--empty { color: var(--ink-faint); justify-content: center; text-align: center; display: block; padding: 40px; }

/* ============================== 13. STORIES ============================== */
.stories__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.story { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden; }
.story__imgs { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.story__imgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease); }
.story__imgs .is-after { opacity: 0; }
.story.show-after .story__imgs .is-after { opacity: 1; }
.story__badge {
  position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(251,252,249,0.92); backdrop-filter: blur(4px);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--r-pill); color: var(--forest);
}
.story__toggle {
  position: absolute; bottom: 14px; right: 14px; z-index: 2; display: inline-flex; background: var(--white); border-radius: var(--r-pill); padding: 4px; box-shadow: var(--shadow-sm);
}
.story__toggle button { padding: 7px 16px; border-radius: var(--r-pill); font-size: 0.8rem; font-weight: 600; color: var(--ink-dim); transition: background .25s, color .25s; }
.story__toggle button.on { background: var(--forest); color: var(--on-forest); }
.story__body { padding: 22px 26px 26px; }
.story__body h3 { font-family: var(--f-serif); font-weight: 500; font-size: 1.4rem; }
.story__body p { color: var(--ink-dim); font-size: 0.95rem; margin-top: 8px; }
.story__result { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--sage); font-size: 0.9rem; }

/* ============================== 14. VOICES ============================== */
.voices { background: var(--forest); }
.voices__inner { max-width: 860px; margin-inline: auto; text-align: center; }
.voices__stage { position: relative; min-height: 200px; margin-top: 12px; }
.voice { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.voice.on { opacity: 1; transform: none; position: relative; pointer-events: auto; }
.voice__text { font-family: var(--f-serif); font-weight: 500; font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.45; color: var(--on-forest); }
.voice__by { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; }
.voice__by img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.voice__name { font-weight: 600; color: var(--on-forest); text-align: left; }
.voice__role { font-size: 0.82rem; color: var(--on-forest-dim); text-align: left; }
.voices__nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 34px; }
.voices__btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-light); color: var(--on-forest); transition: background .25s, color .25s; }
.voices__btn:hover { background: var(--gold); color: var(--forest); border-color: var(--gold); }
.voices__dots { display: flex; gap: 8px; }
.voices__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--on-forest-dim); opacity: 0.5; cursor: pointer; transition: opacity .25s, transform .25s, background .25s; }
.voices__dots i.on { opacity: 1; background: var(--gold); transform: scale(1.3); }

/* ============================== 15. GALLERY ============================== */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 14px; }
.gitem { position: relative; overflow: hidden; border-radius: var(--r); }
.gitem:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gitem:nth-child(4) { grid-row: span 2; }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gitem:hover img { transform: scale(1.08); }
.gitem::after {
  content: attr(data-cap); position: absolute; left: 16px; bottom: 12px; color: var(--white);
  font-family: var(--f-serif); font-style: italic; font-size: 1.05rem; text-shadow: 0 2px 12px rgba(31,42,36,0.6);
  opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.gitem:hover::after { opacity: 1; transform: none; }

/* ========================= 16. BMI + 17. FAQ (tools) ========================= */
.tools__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.bmi h2, .faq h2 { margin: 12px 0 16px; }
.bmi__card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow-sm); margin-top: 26px; }
.bmi__toggle { display: inline-flex; background: var(--porcelain); border-radius: var(--r-pill); padding: 4px; margin-bottom: 24px; }
.bmi__u { padding: 8px 22px; border-radius: var(--r-pill); font-weight: 600; font-size: 0.86rem; color: var(--ink-dim); transition: background .25s, color .25s; }
.bmi__u.is-on { background: var(--forest); color: var(--on-forest); }
.bmi__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__l { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }
.field__l em { color: var(--sage); font-style: normal; }
.field input, .field textarea, .field select {
  background: var(--porcelain); border: 1px solid var(--line); border-radius: var(--r);
  padding: 13px 15px; color: var(--ink); font-size: 1rem; transition: border-color .25s, background .25s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--sage); background: var(--white); }
.field textarea { resize: vertical; }

.bmi__out { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.bmi__scoreline { display: flex; align-items: baseline; gap: 14px; }
.bmi__score { font-family: var(--f-serif); font-size: 3.4rem; line-height: 1; color: var(--forest); }
.bmi__cat { font-weight: 600; letter-spacing: 0.04em; color: var(--sage); }
.bmi__scale { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 24px 0 16px; border-radius: var(--r-pill); overflow: hidden; }
.bmi__scale span { font-size: 0.7rem; text-align: center; padding: 8px 0; color: var(--white); font-weight: 600; }
.bmi__scale [data-seg="under"]   { background: #7FA6C4; }
.bmi__scale [data-seg="healthy"] { background: var(--sage); }
.bmi__scale [data-seg="over"]    { background: var(--gold); }
.bmi__scale [data-seg="obese"]   { background: #B4685A; }
.bmi__pin { position: absolute; top: -6px; left: 0; width: 3px; height: calc(100% + 12px); background: var(--ink); border-radius: 2px; transition: left .5s var(--ease); }
.bmi__pin::after { content: ""; position: absolute; top: -5px; left: 50%; transform: translateX(-50%); width: 11px; height: 11px; border-radius: 50%; background: var(--ink); }
.bmi__hint { color: var(--ink-dim); font-size: 0.92rem; }

.faq__list { display: grid; gap: 12px; margin-top: 24px; }
.faq__item { border: 1px solid var(--line-soft); border-radius: var(--r); background: var(--white); overflow: hidden; }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; text-align: left; font-family: var(--f-serif); font-weight: 500; font-size: 1.12rem; color: var(--ink); }
.faq__ic { flex: none; width: 22px; height: 22px; position: relative; }
.faq__ic::before, .faq__ic::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--gold); transform: translate(-50%, -50%); transition: transform .3s var(--ease), opacity .3s; }
.faq__ic::before { width: 13px; height: 2px; }
.faq__ic::after { width: 2px; height: 13px; }
.faq__item.open .faq__ic::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a p { padding: 0 24px 24px; color: var(--ink-dim); font-size: 0.96rem; }

/* ============================== 18. CONTACT ============================== */
.contact { background: var(--forest); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); }
.contact__left h2 { margin: 12px 0 16px; }
.contact__list { display: grid; gap: 16px; margin: 28px 0 30px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__list .ic { flex: none; width: 44px; height: 44px; border-radius: var(--r); background: rgba(237,239,232,0.1); color: var(--gold); display: grid; place-items: center; }
.contact__list .ic svg { width: 20px; height: 20px; }
.contact__list .l1 { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-forest-dim); }
.contact__list .l2 { color: var(--on-forest); font-weight: 500; }
.contact__list a.l2:hover { color: var(--gold); }

.contact__hours { border-top: 1px solid var(--line-light); padding-top: 22px; margin-bottom: 26px; }
.contact__hours h3 { font-family: var(--f-serif); font-weight: 500; font-size: 1.2rem; color: var(--on-forest); margin-bottom: 12px; }
.contact__hours li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line-light); font-size: 0.92rem; }
.contact__hours li span:first-child { color: var(--on-forest-dim); }
.contact__hours li span:last-child { color: var(--on-forest); font-weight: 500; }
.contact__hours li.closed span:last-child { color: var(--on-forest-dim); }

.contact__social { display: flex; gap: 12px; }
.contact__social a, .footer__social a {
  width: 42px; height: 42px; border-radius: var(--r); border: 1px solid var(--line-light); display: grid; place-items: center;
  color: var(--on-forest-dim); transition: background .25s, color .25s, transform .25s, border-color .25s;
}
.contact__social a:hover, .footer__social a:hover { background: var(--gold); color: var(--forest); transform: translateY(-3px); border-color: var(--gold); }
.contact__social svg, .footer__social svg { width: 18px; height: 18px; }

.cform { background: var(--porcelain); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 36px); display: grid; gap: 18px; }
.cform__note { font-size: 0.88rem; color: var(--sage); min-height: 1.2em; font-weight: 500; }
.contact__map { display: block; margin-top: 18px; position: relative; border-radius: var(--r-lg); overflow: hidden; }
.contact__map img { width: 100%; aspect-ratio: 2/1; object-fit: cover; transition: transform .6s var(--ease); }
.contact__map:hover img { transform: scale(1.04); }
.contact__map-tag { position: absolute; right: 14px; bottom: 14px; background: var(--forest); color: var(--on-forest); font-weight: 600; font-size: 0.82rem; padding: 8px 16px; border-radius: var(--r-pill); }

/* =============================== 19. FOOTER =============================== */
.footer { background: var(--forest-2); color: var(--on-forest); padding-top: clamp(56px, 7vw, 88px); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.footer__tag { color: var(--on-forest-dim); font-size: 0.94rem; margin: 16px 0 20px; max-width: 34ch; }
.footer__social { display: flex; gap: 10px; }
.footer__col h4 { font-family: var(--f-serif); font-weight: 500; font-size: 1.15rem; margin-bottom: 16px; color: var(--on-forest); }
.footer__col a, .footer__c { display: block; color: var(--on-forest-dim); font-size: 0.94rem; padding: 5px 0; transition: color .2s; }
.footer__col a:hover, .footer__c:hover { color: var(--gold); }
.footer__addr { color: var(--on-forest-dim); font-size: 0.94rem; margin-bottom: 10px; }
.footer__bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 26px 0; border-top: 1px solid var(--line-light); font-size: 0.86rem; color: var(--on-forest-dim); }
.footer__credit strong { color: var(--gold); }

/* =========================== 20. FLOATING BUTTONS =========================== */
.wa { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,0.6); transition: transform .3s var(--ease); }
.wa:hover { transform: scale(1.08) translateY(-2px); }
.totop { position: fixed; right: 25px; bottom: 90px; z-index: 90; width: 44px; height: 44px; border-radius: 50%; background: var(--forest); color: var(--on-forest); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s var(--ease), transform .3s var(--ease), background .25s; }
.totop.show { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--gold); color: var(--forest); }

/* ============================== 21. REVEAL ============================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .08s; }
[data-delay="2"] { transition-delay: .16s; }
[data-delay="3"] { transition-delay: .24s; }

/* ============================== 22. RESPONSIVE ============================== */
@media (max-width: 1080px) {
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .classes__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .nav__menu {
    position: fixed; inset: 82px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(236,238,232,0.98); backdrop-filter: blur(16px);
    padding: 10px var(--pad) 24px; border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .4s var(--ease); visibility: hidden;
  }
  .nav__menu.open { transform: none; visibility: visible; }
  .nav__menu a { padding: 15px 0; border-bottom: 1px solid var(--line-soft); font-size: 1.05rem; }
  .nav__menu a::after { display: none; }
  .burger { display: flex; }

  .hero__grid, .about__grid, .tools__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 460px; }
  .pillars__list, .pricing__grid, .stories__grid { grid-template-columns: 1fr; }
  .plan--feat { order: -1; }
  .slot { grid-template-columns: 90px 1fr; gap: 8px 16px; }
  .slot__coach, .slot__tag { grid-column: 2; }
}
@media (max-width: 560px) {
  .classes__grid, .team__grid, .footer__top { grid-template-columns: 1fr; }
  .bmi__row { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gitem:nth-child(1) { grid-column: span 2; }
  .gitem:nth-child(4) { grid-row: span 1; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .sec-head--row { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none !important; }
}
