/* =========================================================
   GỌN Fitness & Yoga — styles
   ========================================================= */
:root {
  --bg: #111111;
  --bg-2: #1a1a1a;
  --line: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --muted: #9a9a9a;
  --accent: #eabb87;
  --accent-ink: #1a1208;
  --cream: #fff1de;
  --ink: #111111;
  --radius: 24px;
  --font-head: "Bricolage Grotesque", "Be Vietnam Pro", system-ui, sans-serif;
  --font-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-h: 80px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.container { width: min(1240px, 100% - 48px); margin-inline: auto; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px;
  font-weight: 600; font-size: 15px; letter-spacing: .04em;
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--cream); transform: translateY(-2px); }

.link-arrow {
  display: inline-flex; gap: 10px; align-items: center;
  font-size: 14px; font-weight: 600; letter-spacing: .06em;
  border-bottom: 1px solid currentColor; padding-bottom: 4px;
}
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }

.eyebrow { font-size: 14px; color: var(--text); margin-bottom: 28px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding-left: 24px;
  background: rgba(17, 17, 17, .55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .3s;
}
.nav.is-solid { background: rgba(17, 17, 17, .92); }
.nav__brand {
  font-family: var(--font-head); font-weight: 600; font-size: 20px; letter-spacing: -.01em;
  padding-right: 24px; height: 60px; display: flex; align-items: center;
  border-right: 1px solid var(--line); white-space: nowrap;
}
.nav__links { display: flex; gap: 56px; margin-left: auto; padding-right: 56px; }
.nav__links a { font-size: 18px; color: rgba(255,255,255,.85); position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__phone {
  display: flex; align-items: center; gap: 8px; height: 100%;
  padding: 0 34px; border-left: 1px solid var(--line); font-size: 16px; white-space: nowrap;
}
.nav__cta {
  height: 100%; padding: 0 32px; margin-right: 56px;
  background: var(--accent); color: var(--accent-ink); font-size: 18px;
  transition: background .3s;
}
.nav__cta:hover { background: var(--cream); }
.nav__burger { display: none; width: 56px; height: 100%; margin-left: auto; position: relative; }
.nav__burger span { position: absolute; left: 16px; right: 16px; height: 2px; background: #fff; transition: transform .3s var(--ease), top .3s; }
.nav__burger span:first-child { top: 34px; }
.nav__burger span:last-child { top: 44px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 39px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 39px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 49;
  background: var(--bg);
  display: flex; flex-direction: column; gap: 8px; padding: 32px 24px;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}
.mobile-menu.is-open { opacity: 1; transform: none; visibility: visible; }
.mobile-menu a { font-family: var(--font-head); font-size: 32px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.05); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.1) 40%, rgba(0,0,0,.75) 100%); }
.dial { position: absolute; left: 0; right: 0; bottom: 0; height: 62%; pointer-events: none; }
.dial__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dial__ticks line { stroke: #fff; }
.dial__words {
  position: absolute; left: 50%; bottom: 60%; transform: translateX(-50%);
  width: 100%; text-align: center;
}
.dial__words span {
  position: absolute; left: 50%; bottom: 0;
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(28px, 5vw, 64px); letter-spacing: .5em; white-space: nowrap;
  transform: translate(-50%, 40px) perspective(600px) rotateX(55deg);
  opacity: 0; filter: blur(6px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s;
  text-shadow: 0 4px 30px rgba(0,0,0,.5);
}
.dial__words span.is-active { opacity: 1; filter: blur(0); transform: translate(-50%, 0) perspective(600px) rotateX(18deg); }
.dial__words span.is-leaving { opacity: 0; transform: translate(-50%, -30px) perspective(600px) rotateX(-20deg); filter: blur(6px); }
.hero__scroll {
  position: absolute; left: 32px; bottom: 32px; z-index: 2;
  display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .3em; color: rgba(255,255,255,.75);
}
.hero__scroll i { width: 1px; height: 48px; background: linear-gradient(#fff, transparent); animation: drip 1.8s infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Manifesto ---------- */
.manifesto {
  position: relative; overflow: hidden;
  padding: 180px 24px 140px;
  display: grid; justify-items: center; text-align: center; gap: 48px;
}
.manifesto__bigO {
  position: absolute; left: 50%; top: 30px; transform: translateX(-50%);
  font-family: var(--font-head); font-weight: 700; font-size: clamp(320px, 50vw, 760px); line-height: .8;
  color: rgba(255,255,255,.05); pointer-events: none; user-select: none;
}
.manifesto__title {
  position: relative; max-width: 1100px;
  font-size: clamp(36px, 6vw, 88px); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; line-height: 1.05;
}
.manifesto__title em { font-style: normal; color: var(--accent); }
.manifesto__text { position: relative; max-width: 760px; font-size: clamp(18px, 2vw, 26px); line-height: 1.5; }
.word-reveal .w { opacity: .18; transition: opacity .4s; }
.word-reveal .w.on { opacity: 1; }
.split-reveal .ch { display: inline-block; opacity: 0; transform: translateY(.4em); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.split-reveal.in .ch { opacity: 1; transform: none; }
.split-reveal .sp { display: inline; }

/* ---------- Tour ---------- */
.tour { padding: 40px 24px 140px; display: flex; justify-content: center; }
.tour__card {
  position: relative; width: min(1020px, 100%); aspect-ratio: 16 / 10;
  border-radius: 40px; overflow: hidden; display: block;
}
.tour__card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tour__card:hover img { transform: scale(1.04); }
.tour__card::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.2); transition: background .4s; }
.tour__card:hover::after { background: rgba(0,0,0,.35); }
.tour__play {
  position: absolute; inset: 0; z-index: 1;
  display: grid; place-content: center; justify-items: center; gap: 46px;
  font-size: clamp(16px, 2vw, 22px); letter-spacing: .08em; color: #fff;
}
.tour__dot { width: 12px; height: 12px; border-radius: 50%; background: #fff; position: relative; }
.tour__dot::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); animation: pulse 2s infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }

/* ---------- Section head ---------- */
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(36px, 4.6vw, 64px); }
.section-head p { color: rgba(255,255,255,.75); margin-bottom: 20px; }
.section-head--dark p { color: rgba(17,17,17,.7); }

/* ---------- Classes ---------- */
.classes { background: var(--cream); color: var(--ink); padding: 120px 0 0; }
.classes__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid rgba(17,17,17,.2); }
.class-col { border-right: 1px solid rgba(17,17,17,.2); padding: 0 0 80px; min-height: 620px; }
.class-col__img { position: relative; aspect-ratio: 4 / 4.3; overflow: hidden; }
.class-col__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; filter: grayscale(.2); }
.class-col:hover .class-col__img img { transform: scale(1.06); filter: none; }
.class-col__img h3 {
  position: absolute; left: 20px; bottom: 16px; color: #fff;
  font-size: clamp(40px, 5vw, 72px); font-weight: 700; letter-spacing: .02em;
  text-shadow: 0 4px 24px rgba(0,0,0,.4);
  transform: translateY(16px); opacity: 0; transition: transform .5s var(--ease), opacity .5s;
}
.class-col:hover .class-col__img h3 { transform: none; opacity: 1; }
.tags { list-style: none; margin: 0; padding: 24px 20px; display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.tags li:not(:last-child)::after { content: "/"; margin: 0 10px; font-weight: 400; opacity: .6; }

/* ---------- Services (sticky stack) ---------- */
.services { padding: 140px 0 80px; }
.stack { display: grid; gap: 40px; }
.stack__card {
  position: sticky; top: calc(var(--nav-h) + 40px);
  height: min(560px, 70vh); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 -20px 60px rgba(0,0,0,.6);
}
.stack__card:nth-child(2) { top: calc(var(--nav-h) + 64px); }
.stack__card:nth-child(3) { top: calc(var(--nav-h) + 88px); }
.stack__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stack__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.25) 55%, transparent 100%); }
.stack__body { position: absolute; left: 0; bottom: 0; z-index: 1; padding: 48px; max-width: 520px; }
.stack__num { display: block; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.stack__body h3 { font-size: clamp(32px, 4vw, 56px); font-weight: 700; margin-bottom: 16px; }
.stack__body p { color: rgba(255,255,255,.85); }

/* ---------- Member ---------- */
.member { position: relative; padding: 160px 0; overflow: hidden; }
.member__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.member::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 10%, rgba(17,17,17,.6) 60%, var(--bg)); z-index: 0; }
.member__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.member__intro h2 { font-size: clamp(30px, 3.4vw, 48px); text-transform: uppercase; margin-bottom: 32px; }
.member__intro p { color: rgba(255,255,255,.78); }
.member__panel { background: #1b1b1b; border: 1px solid var(--line); padding: 48px; position: relative; display: grid; grid-template-columns: 1fr; }
.member__card { position: absolute; right: -56px; top: -110px; width: 44%; transform: rotate(-6deg); box-shadow: 0 30px 60px rgba(0,0,0,.6); transition: transform .6s var(--ease); }
.member__panel:hover .member__card { transform: rotate(-2deg) translateY(-8px); }
.member__panel .form { max-width: 380px; }
.member__panel h3 { color: var(--accent); font-weight: 400; font-size: clamp(24px, 2.4vw, 34px); margin-bottom: 40px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 28px; }
.form label { display: grid; gap: 8px; font-size: 15px; font-weight: 500; }
.form input {
  background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.3);
  padding: 10px 0; color: #fff; font: inherit; font-weight: 300; outline: none;
  transition: border-color .3s;
}
.form input::placeholder { color: rgba(255,255,255,.4); }
.form input:focus { border-color: var(--accent); }
.form input:user-invalid { border-color: #ff7575; }
.form .btn { justify-self: start; margin-top: 8px; }
.form .btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- PT slider ---------- */
.pt { position: relative; height: 100vh; min-height: 680px; overflow: hidden; }
.pt__slides { position: absolute; inset: 0; }
.pt__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.2s ease, transform 7s linear; }
.pt__slide.is-active { opacity: 1; transform: scale(1); }
.pt__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.15) 40%, rgba(0,0,0,.85)); }
.pt__title { position: absolute; left: 24px; top: calc(var(--nav-h) + 48px); font-size: clamp(36px, 4.4vw, 60px); font-weight: 500; }
.marquee { position: absolute; left: 0; right: 0; bottom: 260px; overflow: hidden; opacity: .18; pointer-events: none; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--font-head); font-weight: 700; font-size: clamp(48px, 8vw, 120px); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }
.pt__tabs { position: absolute; left: 24px; right: 24px; bottom: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pt__tab {
  text-align: left; padding: 24px; border-radius: 12px; display: grid; gap: 12px; align-content: end;
  transition: background .5s, backdrop-filter .5s;
  position: relative; overflow: hidden;
}
.pt__tab strong { font-family: var(--font-head); font-weight: 500; font-size: 20px; line-height: 1.3; }
.pt__tab span, .pt__tab em { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .4s; }
.pt__tab span { font-size: 14px; color: rgba(255,255,255,.7); }
.pt__tab em { font-style: normal; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.pt__tab.is-active { background: rgba(80,80,80,.45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.pt__tab.is-active span, .pt__tab.is-active em { max-height: 140px; opacity: 1; }
.pt__bar { display: block; height: 3px; background: rgba(255,255,255,.25); margin-top: 8px; }
.pt__bar b { display: block; height: 100%; width: 0; background: var(--accent); }
.pt__tab.is-active .pt__bar b { animation: fill var(--slide-ms, 6000ms) linear forwards; }
@keyframes fill { to { width: 100%; } }

/* ---------- Team ---------- */
.team { padding: 140px 0; }
.team__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; }
.team__lead { font-size: 18px; max-width: 640px; margin-bottom: 56px; color: rgba(255,255,255,.85); }
.pledges { list-style: none; margin: 0; padding: 0 0 0 80px; display: grid; gap: 36px; max-width: 700px; }
.pledges li { border-bottom: 2px solid var(--accent); padding-bottom: 16px; }
.pledges div { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: 15px; }
.pledges p { color: var(--muted); font-size: 15px; }
.team__left { position: sticky; top: calc(var(--nav-h) + 40px); }
.coaches { display: grid; gap: 48px; }
.coach { margin: 0; }
.coach__img { aspect-ratio: 4 / 3.2; overflow: hidden; border-radius: 6px; background: repeating-linear-gradient(135deg, #222 0 10px, #1c1c1c 10px 20px); }
.coach__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .6s, transform 1s var(--ease); }
.coach:hover .coach__img img { filter: none; transform: scale(1.04); }
.coach figcaption { padding-top: 14px; display: grid; }
.coach figcaption b { font-weight: 600; font-size: 18px; }
.coach figcaption span { color: var(--muted); font-size: 14px; }
.coaches .link-arrow { justify-self: start; }

/* ---------- Results ---------- */
.results { padding: 80px 0 140px; overflow: hidden; }
.results__quote { margin: 0 auto 72px; max-width: 760px; text-align: center; }
.results__quote p { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; }
.results__quote cite { display: block; margin-top: 18px; color: var(--accent); font-style: normal; }
.carousel { perspective: 1400px; overflow: hidden; padding: 20px 0; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.carousel__track { display: flex; gap: 28px; width: max-content; animation: marquee 50s linear infinite; }
.carousel:hover .carousel__track { animation-play-state: paused; }
.carousel figure { margin: 0; width: 240px; position: relative; border-radius: 16px; overflow: hidden; transform: rotateY(-14deg); transition: transform .6s var(--ease); background: #222; }
.carousel figure:hover { transform: rotateY(0) scale(1.04); }
.carousel figure img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; filter: grayscale(1); }
.carousel figure.is-after img { filter: none; }
.carousel figcaption { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; font-size: 12px; background: rgba(0,0,0,.6); }
.carousel figure.is-after figcaption { background: var(--accent); color: var(--accent-ink); font-weight: 600; }

/* ---------- Signup ---------- */
.signup { position: relative; padding: 120px 0 220px; overflow: hidden; }
.signup h2 { text-align: center; font-size: clamp(36px, 5vw, 72px); margin-bottom: 64px; }
.form--wide { grid-template-columns: 1fr 1fr; gap: 32px 48px; max-width: 900px; margin: 0 auto; }
.form--wide .btn { grid-column: 1 / -1; justify-self: center; }
.signup__dial { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 200px; }

/* ---------- Blog ---------- */
.blog { padding: 60px 0 140px; }
.blog__title { text-align: center; font-size: clamp(32px, 3.6vw, 48px); margin-bottom: 64px; }
.blog__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.blog__cat { font-size: 22px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.post { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.post img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; transition: transform .6s var(--ease); }
.post:hover img { transform: scale(1.03); }
.post time { color: var(--muted); font-size: 13px; }
.post p { font-weight: 500; margin: 6px 0 10px; line-height: 1.45; }
.post span { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.post:hover span { color: var(--accent); }
.blog__all { display: flex; width: max-content; margin: 48px auto 0; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { padding: 0 0 100px; }
.cta__card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 520px; display: flex; align-items: center; }
.cta__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.7), rgba(0,0,0,.1)); }
.cta__body { position: relative; z-index: 1; padding: 56px; display: grid; gap: 24px; justify-items: start; }
.cta__body h2 { font-size: clamp(36px, 4.6vw, 64px); }
.cta__body p { color: rgba(255,255,255,.8); }

/* ---------- Footer ---------- */
.footer { padding: 40px 0 32px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1fr 2.6fr; gap: 48px; }
.footer__social { display: grid; align-content: start; gap: 6px; }
.footer__social p { font-size: 14px; margin-bottom: 12px; }
.footer__social a { font-family: var(--font-head); font-size: 24px; color: rgba(255,255,255,.55); letter-spacing: .04em; transition: color .3s, transform .3s var(--ease); width: max-content; }
.footer__social a:hover { color: var(--accent); transform: translateX(6px); }
.footer__main { border-top: 1px solid var(--line); padding-top: 24px; }
.footer__quote { font-size: 14px; margin-bottom: 40px; max-width: 760px; color: rgba(255,255,255,.85); }
.footer__info { display: grid; grid-template-columns: auto 1fr 1fr 1.4fr; gap: 32px; align-items: end; }
.footer__info small { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.footer__info a { font-size: 15px; }
.footer__info a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

.logo { display: grid; justify-items: center; line-height: 1; }
.logo__word { font-family: var(--font-head); font-weight: 600; font-size: 40px; letter-spacing: .06em; }
.logo__dots { display: flex; gap: 5px; align-items: center; margin: 4px 0; }
.logo__dots i { width: 3px; height: 3px; border-radius: 50%; background: #fff; }
.logo__dots i:nth-child(3) { width: 6px; height: 6px; }
.logo__sub { font-size: 8px; letter-spacing: .2em; }

/* ---------- FAB / Modal / Toast ---------- */
.fab {
  position: fixed; right: 28px; bottom: 28px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  transition: transform .3s var(--ease);
}
.fab:hover { transform: scale(1.08) rotate(-8deg); }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); animation: pulse 2.4s infinite; }

.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(6px); animation: fade .3s; }
.modal__box { position: relative; width: min(480px, 100%); background: #1b1b1b; border: 1px solid var(--line); padding: 48px 40px 40px; animation: pop .4s var(--ease); max-height: 90vh; overflow: auto; }
.modal__box h3 { font-size: 28px; color: var(--accent); margin-bottom: 32px; }
.modal__close { position: absolute; right: 12px; top: 8px; font-size: 32px; line-height: 1; width: 44px; height: 44px; color: rgba(255,255,255,.7); z-index: 2; }
.modal__close:hover { color: #fff; }
.modal__video { position: relative; width: min(1100px, 100%); animation: pop .4s var(--ease); }
.tour__card--playing { aspect-ratio: 16 / 9; background: #000; }
.tour__card--playing::after { display: none; }
.tour__card--playing iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal__video .modal__close { top: -48px; right: 0; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }

.toast {
  position: fixed; left: 50%; bottom: 32px; z-index: 200;
  transform: translate(-50%, 140%); padding: 14px 22px; border-radius: 10px;
  background: var(--cream); color: var(--ink); font-weight: 500; box-shadow: 0 10px 40px rgba(0,0,0,.5);
  transition: transform .45s var(--ease), opacity .3s, visibility .45s; max-width: calc(100% - 32px); text-align: center;
  opacity: 0; visibility: hidden;
}
.toast.is-show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast.is-error { background: #ff7575; color: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-scale { transform: scale(.88); transition: transform 1.2s var(--ease); }
.reveal-scale.in { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__links { gap: 32px; padding-right: 32px; }
  .nav__links a, .nav__cta { font-size: 16px; }
  .nav__phone { padding: 0 20px; }
  .nav__cta { margin-right: 0; }
}
@media (max-width: 960px) {
  :root { --nav-h: 68px; }
  .nav__links, .nav__phone, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__burger span:first-child { top: 28px; }
  .nav__burger span:last-child { top: 38px; }
  .nav__burger[aria-expanded="true"] span { top: 33px !important; }
  .nav__brand { border-right: 0; font-size: 18px; }

  .section-head, .member__grid, .team__grid, .blog__cols, .footer__grid { grid-template-columns: 1fr; }
  .section-head { gap: 20px; margin-bottom: 40px; }
  .classes__grid { grid-template-columns: 1fr; border-left: 0; }
  .class-col { border-right: 0; min-height: 0; padding-bottom: 32px; }
  .class-col__img { aspect-ratio: 16 / 10; }
  .class-col__img h3 { opacity: 1; transform: none; }
  .member__card { position: relative; right: auto; top: auto; width: 70%; margin: 0 auto 32px; }
  .member__panel { padding: 32px 24px; }
  .pt__tabs { grid-template-columns: 1fr; gap: 8px; bottom: 24px; }
  .pt__tab:not(.is-active) { padding: 12px 16px; }
  .pt__tab:not(.is-active) strong { font-size: 15px; }
  .marquee { display: none; }
  .team__left { position: static; }
  .pledges { padding-left: 0; }
  .coaches { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer__info { grid-template-columns: 1fr 1fr; }
  .stack__body { padding: 28px; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .manifesto { padding: 120px 16px 100px; }
  .tour { padding: 0 16px 100px; }
  .tour__card { border-radius: 24px; aspect-ratio: 4 / 5; }
  .tour__card.tour__card--playing { aspect-ratio: 16 / 9; }
  .classes, .services, .team { padding-top: 90px; }
  .member { padding: 100px 0; }
  .form--wide { grid-template-columns: 1fr; }
  .post { grid-template-columns: 110px 1fr; gap: 14px; }
  .coaches { grid-template-columns: 1fr; }
  .cta__body { padding: 32px 24px; }
  .cta__body p br { display: none; }
  .dial__words span { letter-spacing: .3em; }
  .fab { right: 16px; bottom: 16px; }
  .hero__scroll { left: 16px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
  .stack__card { height: 72vh; }
}

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