/* ============================================================
   SWC — Strength + Wellness Collective
   Dark editorial theme drawn from the 2026 photoshoot:
   warm blacks, near-white text, SWC blues (pale blue for in-text accents).
   ============================================================ */

@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dmsans-latin.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2074, U+20AC, U+2122;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dmsans-latin-ext.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC;
}

:root {
  --ink: #0e0c0a;
  --ink-2: #14110e;
  --panel: #1a1613;
  --panel-2: #201b17;
  --line: rgba(237, 232, 223, 0.14);
  --line-soft: rgba(237, 232, 223, 0.08);
  --text: #f7f6f4;
  --muted: #dbdad6;
  --blue: #0084cc;
  --blue-vivid: #009de6;
  --blue-bright: #4db4f0;
  --blue-pale: #9ed3f6;
  --blue-dim: rgba(0, 132, 204, 0.16);
  --brass: #c7a369;
  --brass-bright: #d9b57c;
  --brass-dim: rgba(199, 163, 105, 0.16);
  --radius: 14px;
  --pad: clamp(20px, 4vw, 48px);
  --nav-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* always-on scrollbar: the MT iframe resizes with page width, so a
     scrollbar that comes and goes at threshold heights creates a reflow
     oscillation (the "flickering sidebar"). Pin it. */
  overflow-y: scroll;
}
/* with html as the scroller, locks must happen at html level */
html:has(body.panel-open), html:has(body.menu-open) { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

::selection { background: var(--blue); color: #fff; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- type ---------- */

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-bright);
}

.display {
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 0.98;
}

h1.display { font-size: clamp(2.6rem, 8.5vw, 6.8rem); }
h2.display { font-size: clamp(2rem, 5vw, 3.8rem); }

.lede {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  max-width: 46ch;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.9em;
  border-radius: 12px; /* rounded rectangle, not a pill */
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-solid { background: var(--blue); color: #fff; }
.btn-solid:hover { background: var(--blue-vivid); }

.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--blue-bright); color: var(--blue-bright); }

.btn-sm { padding: 0.65em 1.3em; font-size: 0.85rem; }

/* ---------- member reviews ---------- */

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 24px);
}
.review-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px 24px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.review-stars {
  color: var(--blue-bright);
  font-size: 0.8rem;
  letter-spacing: 0.28em;
}
.review-card blockquote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}
.review-card figcaption {
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}
.review-card figcaption strong {
  display: block;
  color: var(--text);
  font-weight: 600;
}
@media (max-width: 900px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .review-grid { grid-template-columns: 1fr; } }

/* ---------- events + news ---------- */

/* own head class: skips the SplitText pass, which mis-measures inside
   the [hidden] section; reveal runs with the cards after the feed loads */
.event-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 6vh, 64px);
}
.event-head .eyebrow { display: block; margin-bottom: 14px; }

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 24px);
}
.event-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--panel);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.event-card:hover { border-color: rgba(0, 132, 204, 0.55); transform: translateY(-4px); }
.event-card img {
  width: 100%;
  aspect-ratio: 1200 / 628;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) { .event-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  /* one-card-wide snap rail on phones */
  .event-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    margin: 0 -20px;
    padding: 0 20px 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .event-grid::-webkit-scrollbar { display: none; }
  .event-card { flex: 0 0 84%; scroll-snap-align: start; }
}

/* ---------- promo bar ---------- */

.promo {
  display: block;
  background: var(--blue);
  color: #fff;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 9px var(--pad);
}
.promo s { opacity: 0.55; margin: 0 0.35em; }
.promo .go { text-decoration: underline; text-underline-offset: 3px; margin-left: 0.5em; }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s ease, border-color 0.4s ease, top 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(14, 12, 10, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
body.has-promo .nav { top: 40px; }
@media (max-width: 640px) { body.has-promo .nav { top: 58px; } }
/* once scrolling, the banner is gone: dock the bar to the very top */
body.has-promo .nav.is-scrolled { top: 0; }

.nav-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 1rem;
  white-space: nowrap;
}
.brand .logo-badge {
  /* asset is the white disc itself (transparent corners) — no chrome needed */
  width: 50px;
  height: 50px;
  flex: none;
}
.brand-name {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.14;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand-name .plus { font-style: normal; color: var(--blue-bright); }
@media (max-width: 760px) {
  .nav .brand .logo-badge { width: 42px; height: 42px; }
  .nav .brand-name { font-size: 0.82rem; }
}
@media (max-width: 760px) {
  .nav .brand .logo-badge { width: 46px; height: 46px; }
}
@media (max-width: 480px) {
  .nav-links > a.keep:not(.btn) { display: none; }
}
@media (max-width: 640px) {
  .nav-links > a.btn { display: none; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 34px);
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links > a:not(.btn) {
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav-links > a:not(.btn):hover { color: var(--text); }

@media (max-width: 860px) {
  .nav-links > a:not(.btn):not(.keep) { display: none; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 78%;
  transform-origin: center;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(14,12,10,0.96) 0%, rgba(14,12,10,0.45) 40%, rgba(14,12,10,0.35) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(48px, 8vh, 96px);
}
.hero .eyebrow { display: inline-block; margin-bottom: 20px; }
.hero h1 { max-width: 12ch; color: #fff; }
.hero h1 .hl { display: block; overflow: hidden; }
.hero h1 .hl-inner { display: block; }
.hero h1 .slot { position: relative; height: 0.98em; }
.hero h1 .slot-reel { display: block; }
.hero h1 .slot-reel span { display: block; height: 0.98em; line-height: 0.98; }
.hero h1 .plus { color: var(--blue-vivid); display: inline-block; }
.hero-sub {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}
.hero .lede { max-width: 42ch; color: #fff; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- marquee ---------- */

.marquee {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 18px 0;
  overflow: hidden;
  background: var(--ink);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  white-space: nowrap;
}
.marquee-track span {
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: clamp(0.9rem, 1.6vw, 1.15rem);
  color: var(--muted);
}
.marquee-track span i { font-style: normal; color: var(--blue-pale); padding: 0 1.2em; }

/* ---------- sections ---------- */

.section { padding: clamp(72px, 12vh, 140px) 0; }
.section-alt { background: var(--ink-2); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 6vh, 64px);
}
.section-head .eyebrow { display: block; margin-bottom: 14px; }
.section-head .lede { margin-top: 16px; }

/* ---------- classes ---------- */

.class-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
@media (max-width: 980px) { .class-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .class-grid { grid-template-columns: 1fr; } }

.class-card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.class-card:hover { border-color: rgba(0, 132, 204, 0.55); transform: translateY(-4px); }

.class-card .media {
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
  position: relative;
}
.class-card .media img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  will-change: transform;
}
.class-card .body { padding: 22px 24px 26px; }
.class-card h3 {
  font-size: 1.15rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}
.class-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.class-card .tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 10px;
}

/* ---------- statement ---------- */

.statement { position: relative; overflow: hidden; }
.statement-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 860px) { .statement-grid { grid-template-columns: 1fr; } }

.statement h2 { margin: 18px 0 22px; }
.statement h2 em { font-style: normal; color: var(--blue-pale); }
.statement .media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  position: relative;
}
.statement .media img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.statement .lede { margin-bottom: 26px; }

/* ---------- coaches ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(28px, 4vh, 44px);
}
.filter {
  padding: 0.55em 1.25em;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 550;
  color: var(--muted);
  transition: all 0.25s ease;
  min-height: 40px;
}
.filter:hover { color: var(--text); border-color: var(--muted); }
.filter.is-active { background: var(--text); color: var(--ink); border-color: var(--text); }

.coach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 24px);
}
@media (max-width: 1020px) { .coach-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .coach-grid { grid-template-columns: repeat(2, 1fr); } }

.coach {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--panel);
  border: 1px solid var(--line-soft);
}
.coach img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(0.25) contrast(1.02);
  transform: scale(1.01);
  transition: filter 0.45s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.coach:hover img { filter: grayscale(0); transform: scale(1.06); }

.coach .plate {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 44px 16px 14px;
  background: linear-gradient(to top, rgba(10, 8, 6, 0.92), rgba(10, 8, 6, 0));
}
.coach .plate strong {
  display: block;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}
.coach .plate span {
  display: block;
  font-size: 0.72rem;
  font-weight: 550;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-top: 3px;
}

.coach.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 90% at 50% 10%, var(--panel-2), var(--panel));
}
.coach.is-placeholder .ph {
  text-align: center;
  padding: 20px;
}
.coach.is-placeholder .ph svg { width: 84px; height: 40px; color: var(--blue-bright); opacity: 0.85; margin: 0 auto 12px; }
.coach.is-placeholder .ph small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.coach.is-hidden { display: none; }

/* ---------- services ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
@media (max-width: 900px) { .service-grid { grid-template-columns: 1fr; } }

.service {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel);
  padding: clamp(26px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.service:hover { border-color: rgba(0, 132, 204, 0.55); transform: translateY(-4px); }
.service .num {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--blue-bright);
}
.service h3 {
  font-size: 1.45rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.service .with { color: var(--text); font-size: 0.9rem; font-weight: 600; }
.service p { color: var(--muted); font-size: 0.92rem; flex: 1; }
.service a {
  align-self: flex-start;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue-bright);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
  padding: 6px 0;
}
.service a:hover { border-color: var(--blue-bright); }
.services-note { margin-top: 28px; color: var(--muted); font-size: 0.9rem; }

/* ---------- community band ---------- */

.band {
  position: relative;
  min-height: 72svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.band .band-media { position: absolute; inset: 0; overflow: hidden; }
.band .band-media img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center 30%;
  will-change: transform;
}
.band .band-veil {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(14,12,10,0.94) 12%, rgba(14,12,10,0.62) 55%, rgba(14,12,10,0.3) 100%);
}
.band .wrap { position: relative; z-index: 2; width: 100%; padding-top: 80px; padding-bottom: 80px; }
.band h2 { max-width: 14ch; margin: 16px 0 20px; }
.band .lede { margin-bottom: 30px; }

/* ---------- faq ---------- */

.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item:first-child { border-top: 1px solid var(--line-soft); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  padding: 22px 4px;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 600;
  min-height: 48px;
}
.faq-q .ind {
  flex: none;
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue-bright);
  transition: transform 0.35s ease, background 0.35s ease;
  font-weight: 500;
}
.faq-item.is-open .ind { transform: rotate(45deg); background: var(--blue-dim); }
.faq-a { height: 0; overflow: hidden; }
.faq-a p {
  color: var(--muted);
  padding: 0 4px 24px;
  max-width: 65ch;
  font-size: 0.95rem;
}

/* ---------- visit ---------- */

.visit-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } }

.visit .media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.visit .media img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.visit h2 { margin: 16px 0 20px; }
.visit address {
  font-style: normal;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 10px;
}
.visit .note { color: var(--muted); margin-bottom: 28px; max-width: 44ch; }
.visit-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- embed pages ---------- */

.page-head {
  padding: calc(var(--nav-h) + clamp(60px, 10vh, 110px)) 0 clamp(36px, 6vh, 60px);
}
body.has-promo .page-head { padding-top: calc(var(--nav-h) + 40px + clamp(60px, 10vh, 110px)); }
.page-head h1 { margin-top: 14px; }
.page-head .lede { margin-top: 18px; }

.embed-shell {
  background: #f7f5f2;
  border-radius: var(--radius);
  padding: clamp(10px, 2vw, 24px);
  min-height: 640px;
  color: #1a1613;
}
/* embeds get extra width: MT's internal layout re-wraps (and its height
   resizer oscillates) when squeezed near its breakpoints at ~1200px */
.embed-wide {
  max-width: 1520px;
  margin: 0 auto;
  padding-left: clamp(16px, 2.5vw, 40px);
  padding-right: clamp(16px, 2.5vw, 40px);
}
.embed-note { margin-top: 18px; color: var(--muted); font-size: 0.88rem; }

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 28px);
  margin-bottom: clamp(40px, 6vh, 64px);
}
@media (max-width: 760px) { .offer-grid { grid-template-columns: 1fr; } }

.offer {
  border: 1px solid var(--line-soft);
  background: var(--panel);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 40px);
}
.offer.is-featured { border-color: rgba(0, 132, 204, 0.55); background: linear-gradient(160deg, rgba(0,132,204,0.14), var(--panel) 55%); }
.offer .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 14px;
}
.offer h3 { font-size: 1.3rem; font-weight: 650; text-transform: uppercase; letter-spacing: 0.02em; }
.offer .price {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  margin: 12px 0 6px;
}
.offer .price s { font-size: 0.5em; color: var(--muted); font-weight: 500; margin-right: 0.35em; }
.offer p { color: var(--muted); font-size: 0.92rem; }

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line-soft);
  background: var(--ink);
  padding: clamp(48px, 8vh, 80px) 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  margin-bottom: 48px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

.footer .brand { margin-bottom: 16px; }
.footer .brand .logo-badge { width: 92px; height: 92px; }
.footer .tagline { color: var(--muted); font-size: 0.92rem; max-width: 32ch; }
.footer h4 {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: var(--text); font-size: 0.95rem; opacity: 0.85; transition: opacity 0.2s ease, color 0.2s ease; }
.footer ul a:hover { opacity: 1; color: var(--blue-bright); }
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.8rem;
}

/* ---------- reveal defaults (JS enhances) ---------- */

.st-line { overflow: hidden; }

/* Elements JS animates get visibility handled in JS; keep site fully
   readable if JS never runs. */
.no-js .reveal, .no-js .reveal-item { opacity: 1 !important; transform: none !important; }

/* ---------- utility ---------- */

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

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

/* ---------- coach detail panel ---------- */

.coach { cursor: pointer; }
.coach .hint {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(14, 12, 10, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(247, 246, 244, 0.25);
  color: var(--blue-pale);
  font-size: 1.15rem;
  font-weight: 500;
  transition: background 0.25s ease, transform 0.25s ease;
}
.coach:hover .hint { background: var(--blue); color: #fff; transform: rotate(90deg); }

.coach-overlay { position: fixed; inset: 0; z-index: 80; }
.coach-backdrop {
  position: absolute; inset: 0;
  background: rgba(8, 7, 5, 0.65);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}
.coach-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(540px, 100vw);
  background: var(--ink-2);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.55);
}
.coach-close {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 4;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(14, 12, 10, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(247, 246, 244, 0.25);
  color: var(--text);
  font-size: 1rem;
  transition: background 0.25s ease, transform 0.25s ease;
}
.coach-close:hover { background: var(--blue); color: #fff; transform: rotate(90deg); }

.coach-photo {
  position: relative;
  height: min(58vh, 560px);
  min-height: 380px;
}
.coach-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.coach-fade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--ink-2) 2%, rgba(20, 17, 14, 0.55) 26%, rgba(20, 17, 14, 0) 60%);
  pointer-events: none;
}
.coach-info {
  position: relative;
  margin-top: 14px;
  padding: 0 clamp(24px, 6vw, 40px) 56px;
}
.coach-info .coach-spec { display: block; margin-bottom: 10px; }
.coach-name { font-size: clamp(1.9rem, 5vw, 2.6rem); }
.coach-ig {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-bright);
}
.coach-ig:hover { text-decoration: underline; text-underline-offset: 3px; }
.coach-bio {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.7;
  white-space: pre-line;
}
body.panel-open { overflow: hidden; }
@media (max-width: 620px) {
  .coach-photo { height: 48vh; min-height: 320px; }
}

/* morph clone: wrapper with its own in-flight gradient */
.coach-morph {
  position: fixed;
  z-index: 90;
  overflow: hidden;
  pointer-events: none;
  border-radius: var(--radius);
}
.coach-morph .morph-img,
.class-morph .morph-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.coach-morph .morph-fade,
.class-morph .morph-fade {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(to top, var(--ink-2) 2%, rgba(20, 17, 14, 0.5) 28%, rgba(20, 17, 14, 0) 60%);
  pointer-events: none;
}

/* dark vignette option for brighter coach photos */
.coach.vignette::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(115% 90% at 50% 42%, transparent 52%, rgba(10, 8, 6, 0.55) 100%);
  pointer-events: none;
}
.coach.vignette .plate, .coach.vignette .hint { z-index: 1; }

/* dark vignette option for brighter class photos */
.media.vignette::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(115% 90% at 50% 42%, transparent 52%, rgba(10, 8, 6, 0.55) 100%);
  pointer-events: none;
}

/* Mega+ card crossfades between its two halves */
.class-card .media .xfade-alt {
  position: absolute;
  inset: 0;
  height: 118%;
  opacity: 0;
}

/* ---------- statement band + stronger vignette ---------- */

.band.statement { min-height: 62svh; }
.band.statement h2 { max-width: 16ch; }

.media.vignette img { filter: brightness(0.84) saturate(0.92); }
.media.vignette::after {
  background: radial-gradient(115% 92% at 50% 40%, rgba(10, 8, 6, 0.1) 38%, rgba(10, 8, 6, 0.72) 100%);
}

/* mobile hero crop: subject sits upper right, above the headline */
@media (max-width: 640px) {
  .hero-media img { object-position: 20% 50%; }
}

/* ---------- mobile menu ---------- */

.nav-burger {
  display: none;
  width: 44px; height: 44px;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 95;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.25s ease;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-burger { display: flex; }
  .nav-links > a:not(.btn) { display: none !important; }
}

/* the menu overlay (z 90) outranks the nav's stacking context (z 50);
   lift the nav while the menu is open so the burger X stays tappable */
body.menu-open .nav { z-index: 95; }

.mobile-menu[hidden] { display: none; }
.mobile-menu:not(.is-open) { pointer-events: none; }
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(12, 10, 8, 0.9);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  /* clear the fixed header so the first link can't slide under it;
     scroll as the escape hatch on short screens */
  padding-top: calc(var(--nav-h) + 8px);
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 clamp(28px, 8vw, 64px);
  width: 100%;
  margin: auto 0; /* centers in the space above the offer card */
}
.mobile-menu nav a {
  font-size: clamp(1.9rem, 8vw, 2.6rem);
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
  padding: 7px 0;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu nav a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu nav a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu nav a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu nav a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu nav a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu nav a:nth-child(6) { transition-delay: 0.32s; }
.mobile-menu nav a:nth-child(7) { transition-delay: 0.36s; }
.mobile-menu nav a:nth-child(8) { transition-delay: 0.4s; }
.mobile-menu nav a:nth-child(9) { transition-delay: 0.44s; }
.mobile-menu nav a:nth-child(10) { transition-delay: 0.48s; }
/* short screens: 7 links + utility tier + offer card must fit above the fold */
@media (max-height: 700px) {
  .mobile-menu nav a { font-size: clamp(1.5rem, 6.5vw, 2rem); padding: 5px 0; }
  .mm-promo { padding: 10px 14px; font-size: 0.88rem; }
}
.mobile-menu nav .mm-link {
  text-align: left;
  font-size: clamp(1.9rem, 8vw, 2.6rem);
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
  padding: 7px 0;
  color: var(--text);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-menu.is-open nav .mm-link { opacity: 1; transform: none; transition-delay: 0.3s; }
.mm-promo {
  margin: 0 clamp(28px, 8vw, 64px) calc(22px + env(safe-area-inset-bottom));
  flex: none;
  display: block;
  background: var(--blue);
  color: #fff;
  border-radius: 12px; /* rounded square, not a pill */
  padding: 14px 18px;
  font-size: 0.95rem;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.45s ease 0.4s, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.4s;
}
.mobile-menu.is-open .mm-promo { opacity: 1; transform: none; }
.mm-promo strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.mm-promo s { opacity: 0.6; margin-right: 0.3em; }
.note-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.mobile-menu nav a.mm-small {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--blue-bright);
  line-height: 1.4;
  padding: 5px 0;
  margin: 0;
}
/* the utility tier separates from the big links with air + a hairline */
.mobile-menu nav .mm-link + .mm-small {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
body.menu-open { overflow: hidden; }

/* ---------- class detail modal ---------- */

.class-card { cursor: pointer; }
.class-card .more {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-bright);
}

.class-overlay { position: fixed; inset: 0; z-index: 80; }
.class-overlay[hidden] { display: none; }
.class-backdrop {
  position: absolute; inset: 0;
  background: rgba(8, 7, 5, 0.68);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}
.class-modal {
  /* drawer, same pattern as the coach panel */
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(540px, 100vw);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  background: var(--ink-2);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.55);
}
.class-close {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 4;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(14, 12, 10, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(247, 246, 244, 0.25);
  color: var(--text);
  transition: background 0.25s ease, transform 0.25s ease;
}
.class-close:hover { background: var(--blue); color: #fff; transform: rotate(90deg); }
.class-photo {
  position: relative;
  height: min(48vh, 460px);
  min-height: 320px;
}
.class-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.class-fade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--ink-2) 2%, rgba(20, 17, 14, 0.45) 30%, rgba(20, 17, 14, 0) 60%);
  pointer-events: none;
}
.class-detail {
  position: relative;
  margin-top: 14px;
  padding: 0 clamp(22px, 5vw, 40px) 40px;
}
.class-gear {
  display: block;
  margin: 18px 0 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}
.class-gear[hidden] { display: none; }
.class-detail .class-tag { display: block; margin-bottom: 8px; }
.class-name { font-size: clamp(1.7rem, 4.5vw, 2.3rem); }
.class-desc {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.7;
  white-space: pre-line;
}
.class-facts {
  list-style: none;
  margin: 22px 0 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px 18px;
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
}
.class-facts li { font-size: 0.88rem; color: var(--muted); }
.class-facts li strong {
  display: block;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 2px;
}
.class-morph {
  position: fixed;
  z-index: 90;
  overflow: hidden;
  pointer-events: none;
  border-radius: var(--radius);
}

/* ---------- bands stack on phones: photo above text, no overlay ---------- */
@media (max-width: 640px) {
  .band { display: block; min-height: 0; }
  .band .band-media {
    position: relative;
    inset: auto;
    width: 100%;
    height: 44svh;
    overflow: hidden;
  }
  .band .band-media::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 40%;
    background: linear-gradient(to top, var(--ink) 4%, rgba(14, 12, 10, 0) 100%);
    pointer-events: none;
  }
  .band .band-veil { display: none; }
  .band .wrap { padding-top: 22px; padding-bottom: 54px; }
  /* community shot: keep her face in frame */
  .band:not(.statement) .band-media img { object-position: 35% 30%; }
}

/* class modal: quiet book link instead of a pill */
.class-book {
  display: block;
  margin-top: 4px;
  font-weight: 650;
  font-size: 1rem;
  color: var(--blue-bright);
}
.class-book:hover { text-decoration: underline; text-underline-offset: 4px; }

/* dark scrollbars everywhere, thin ones on the drawers */
.class-modal, .coach-panel { scrollbar-width: thin; scrollbar-color: rgba(237, 232, 223, 0.28) transparent; }
.class-modal::-webkit-scrollbar, .coach-panel::-webkit-scrollbar { width: 9px; background: transparent; }
.class-modal::-webkit-scrollbar-thumb, .coach-panel::-webkit-scrollbar-thumb { background: rgba(237, 232, 223, 0.24); border-radius: 6px; }

/* ---------- Rachael note form ---------- */

.service-note-btn {
  align-self: flex-start;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue-bright);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.service-note-btn:hover { border-color: var(--blue-bright); }

.note-overlay { position: fixed; inset: 0; z-index: 85; display: flex; align-items: center; justify-content: center; padding: 20px; }
.note-overlay[hidden] { display: none; }
.note-overlay:not(.is-open) { pointer-events: none; }
.note-backdrop {
  position: absolute; inset: 0;
  background: rgba(8, 7, 5, 0.68);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.note-modal {
  position: relative;
  width: min(460px, 100%);
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: clamp(24px, 5vw, 36px);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.note-overlay.is-open .note-backdrop { opacity: 1; }
.note-overlay.is-open .note-modal { opacity: 1; transform: none; }
.note-modal h3 { font-size: 1.5rem; margin: 8px 0 18px; }
.note-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  color: var(--text);
}
.note-close:hover { background: var(--blue); color: #fff; }
.note-form { display: flex; flex-direction: column; gap: 12px; }
.note-intents { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.note-intents label { cursor: pointer; }
.note-intents input { position: absolute; opacity: 0; pointer-events: none; }
.note-intents span {
  display: block;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.2s ease;
}
.note-intents input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.note-intents input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.note-name, .note-text {
  font: 16px/1.5 inherit;
  font-family: inherit;
  background: #12100e;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  padding: 12px 14px;
  width: 100%;
}
.note-name:focus, .note-text:focus { outline: 2px solid var(--blue); border-color: transparent; }
.note-hint { color: var(--muted); font-size: 0.8rem; }

/* ---------- legal pages ---------- */
.legal { max-width: 800px; }
.legal h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 56px 0 18px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.legal h3 { font-size: 1.05rem; font-weight: 650; margin: 26px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }
.legal p { margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--blue-bright); }
.legal a:hover { text-decoration: underline; }

/* keep the layout still while overlays lock scrolling */
body.panel-open, body.menu-open { padding-right: var(--sbw, 0px); }
body.panel-open .nav, body.menu-open .nav { padding-right: var(--sbw, 0px); }

/* footer contact opens the same form as the mobile menu */
.footer ul .footer-contact {
  color: var(--text);
  font-size: 0.95rem;
  opacity: 0.85;
  padding: 0;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.footer ul .footer-contact:hover { opacity: 1; color: var(--blue-bright); }

.footer-terms { transition: color 0.2s ease; }
.footer-terms:hover { color: var(--blue-bright); }
