/* ==========================================================================
   Tribe Wellness Co — design system
   Tokens → base → layout → components → pages → utilities
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --orange: #F2621E;
  --orange-deep: #C94A12;
  --orange-soft: #FFF1E8;
  --black: #111111;
  --ink: #0B0B0B;
  --charcoal: #2A2A2A;
  --white: #FFFFFF;
  --off-white: #F7F5F2;
  --grey: #8A8A8A;
  --line: rgba(17, 17, 17, .1);
  --line-dark: rgba(255, 255, 255, .12);

  --font-display: "Anton", "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --font-body: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --max: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(80px, 11vw, 150px);
  --header-h: 84px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-lg: 0 30px 60px -20px rgba(17, 17, 17, .35);
  --shadow-orange: 0 14px 30px -10px rgba(242, 98, 30, .6);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
main { overflow-x: clip; } /* pre-reveal transforms must not add horizontal scroll */
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
strong { font-weight: 700; color: var(--black); }
::selection { background: var(--orange); color: var(--white); }
[hidden] { display: none !important; } /* the hidden attribute must win over display:grid/flex on components */
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--orange); color: var(--white); padding: 10px 18px; border-radius: var(--radius-pill);
  font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: .005em;
  color: var(--black);
}
.display-xl { font-size: clamp(4rem, 14vw, 12.5rem); }
.display-lg { font-size: clamp(3.25rem, 9vw, 7.5rem); }
.display-md { font-size: clamp(2.5rem, 6vw, 4.75rem); }
.display-sm { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1; }
.accent { color: var(--orange); }
.outline-text { color: transparent; -webkit-text-stroke: 2px var(--stroke, var(--black)); }
.section--dark .outline-text, .hero .outline-text, .page-hero .outline-text { --stroke: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }

.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.65; color: var(--charcoal); }
.muted { color: var(--grey); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--off { background: var(--off-white); }
.section--dark { background: var(--black); color: rgba(255, 255, 255, .72); }
.section--dark .display, .section--dark strong, .section--dark h3 { color: var(--white); }
.section--dark .lead { color: rgba(255, 255, 255, .78); }

.section-head { display: grid; gap: 28px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head--split { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.2fr 1fr; gap: 64px; }
}

.split { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.15fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}

.grid-3 { display: grid; gap: 24px; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--orange); --btn-fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 28px;
  border-radius: var(--radius-pill); border: 1.5px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 800; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-3px); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(-1px); }
.btn--primary:hover { background: var(--orange-deep); box-shadow: var(--shadow-orange); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--white); border-color: rgba(255, 255, 255, .45); }
.btn--ghost:hover { --btn-bg: var(--white); --btn-fg: var(--black); border-color: var(--white); }
.btn--dark { --btn-bg: var(--black); --btn-fg: var(--white); }
.btn--dark:hover { box-shadow: var(--shadow-lg); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--black); border-color: var(--black); }
.btn--outline:hover { --btn-bg: var(--black); --btn-fg: var(--white); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--black); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .78rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--black);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); color: var(--orange); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: background-color .4s var(--ease), backdrop-filter .4s, height .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  --header-h: 72px;
  background: rgba(11, 11, 11, .82);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-color: var(--line-dark);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { height: 46px; width: auto; transition: height .4s var(--ease); }
.is-scrolled .brand img { height: 40px; }

.header-right { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px); }
.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: clamp(10px, 1.1vw, 24px); }
.nav__link {
  position: relative; padding: 8px 0;
  font-size: .84rem; font-weight: 700; letter-spacing: .01em; color: rgba(255, 255, 255, .82);
  transition: color .25s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--white); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { display: none; }

.menu-toggle {
  position: relative; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
  display: grid; place-items: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--white); border-radius: 2px;
  transition: transform .35s var(--ease), background-color .2s;
}
.menu-toggle span { position: relative; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { transform: translateY(-6px); }
.menu-toggle span::after { transform: translateY(6px); }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: rotate(45deg); }
.menu-open .menu-toggle span::after { transform: rotate(-45deg); }

@media (min-width: 1024px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; overflow-y: auto;
  background: var(--ink) radial-gradient(ellipse at 110% -10%, rgba(242,98,30,.28), transparent 55%);
  padding: calc(var(--header-h) + 8px) var(--gutter) 28px;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.menu-open .site-header { background: var(--ink); border-color: var(--line-dark); }
.mobile-menu__inner { min-height: 100%; display: flex; flex-direction: column; }
.mobile-menu [style*="--i"] { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: 0s; }
.menu-open .mobile-menu [style*="--i"] { opacity: 1; transform: none; transition-delay: calc(80ms + var(--i) * 45ms); }
.mobile-menu__primary li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu__primary a {
  display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 12px;
  padding: 13px 0; font-family: var(--font-display); font-size: clamp(1.55rem, 6.4vw, 2rem); line-height: 1;
  text-transform: uppercase; color: var(--white); transition: color .2s;
}
.mobile-menu__primary small { font-family: var(--font-body); font-size: .68rem; font-weight: 800; letter-spacing: .1em; color: var(--orange); }
.mobile-menu__primary svg { width: 20px; height: 20px; color: rgba(255,255,255,.35); transition: color .2s, transform .3s var(--ease); }
.mobile-menu__primary a:active, .mobile-menu__primary a[aria-current="page"] { color: var(--orange); }
.mobile-menu__primary a[aria-current="page"] svg { color: var(--orange); transform: translateX(4px); }
.mobile-menu__label { margin: 22px 0 10px; font-size: .68rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.mobile-menu__secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mobile-menu__secondary a {
  display: flex; align-items: center; min-height: 46px; padding: 0 16px; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  font-size: .92rem; font-weight: 700; color: rgba(255,255,255,.85);
}
.mobile-menu__secondary a[aria-current="page"] { border-color: var(--orange); color: var(--orange); }
.mobile-menu__foot { margin-top: auto; padding-top: 24px; display: grid; gap: 14px; justify-items: center; text-align: center; }
.mobile-menu__contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: .85rem; color: rgba(255,255,255,.6); }
.mobile-menu__contact a { color: rgba(255,255,255,.85); }
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--white); background: var(--ink); overflow: hidden; isolation: isolate;
}
.hero__media, .page-hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .page-hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 18s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,11,11,.55) 0%, rgba(11,11,11,.15) 30%, rgba(11,11,11,.55) 62%, rgba(11,11,11,.96) 100%),
    linear-gradient(90deg, rgba(11,11,11,.7) 0%, rgba(11,11,11,0) 70%);
}
.hero__inner { padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(32px, 5vw, 56px); width: 100%; }
.hero__title { color: var(--white); margin: 0 0 28px; }
.hero__title .accent { display: inline-block; }
.hero__sub { max-width: 540px; font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: rgba(255, 255, 255, .82); margin-bottom: 36px; }
.hero .eyebrow { color: var(--white); }
.hero .eyebrow::before { background: var(--orange); }

.hero__stats {
  margin-top: clamp(48px, 7vw, 88px);
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-dark);
}
.hero__stat { padding: 22px 0 0; display: grid; gap: 4px; }
.hero__stat strong { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; color: var(--white); }
.hero__stat span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); font-weight: 700; }
@media (min-width: 820px) {
  .hero__stats { grid-template-columns: repeat(4, 1fr); }
  .hero__stat + .hero__stat { padding-left: 28px; border-left: 1px solid var(--line-dark); }
}
@media (max-width: 819px) {
  .hero__stat:nth-child(n+3) { padding-top: 18px; }
}

.scroll-cue {
  position: absolute; right: var(--gutter); bottom: 40px; display: none;
  writing-mode: vertical-rl; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.6);
  align-items: center; gap: 14px; font-weight: 700;
}
.scroll-cue::after { content: ""; width: 1px; height: 60px; background: linear-gradient(var(--orange), transparent); animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }
@media (min-width: 1360px) { .scroll-cue { display: flex; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; min-height: clamp(460px, 68vh, 720px);
  display: flex; align-items: flex-end; color: var(--white); background: var(--ink);
  overflow: hidden; isolation: isolate;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,11,11,.6) 0%, rgba(11,11,11,.35) 40%, rgba(11,11,11,.92) 100%);
}
.page-hero__inner { width: 100%; padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(44px, 6vw, 80px); }
.page-hero .display { color: var(--white); }
.page-hero__sub { max-width: 560px; margin-top: 24px; font-size: 1.15rem; color: rgba(255,255,255,.82); }
.page-hero .btn-row { margin-top: 32px; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 22px; }
.crumbs a:hover { color: var(--white); }
.crumbs span[aria-current] { color: var(--orange); }

/* ---------- Marquee ---------- */
.marquee {
  position: relative; background: var(--ink); color: var(--white); overflow: hidden; padding: 30px 0;
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
}
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: clamp(60px, 12vw, 220px); z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--ink), transparent); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 44px; padding-right: 44px;
  font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 2rem); letter-spacing: .06em;
  text-transform: uppercase; line-height: 1; white-space: nowrap; color: var(--white);
}
.marquee__item:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .55); }
.marquee__item::after {
  content: ""; width: 11px; height: 11px; flex-shrink: 0; background: var(--orange);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}
@media (prefers-reduced-motion: no-preference) {
  html:not(.js) .marquee__track, .no-js-marquee .marquee__track { animation: marquee 40s linear infinite; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Media ---------- */
.media { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #ddd; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.media:hover img { transform: scale(1.04); }
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 16 / 10; }
.media--square { aspect-ratio: 1; }

.collage { position: relative; padding-bottom: 18%; padding-right: 14%; }
.collage__main { aspect-ratio: 4 / 5; }
.collage__float {
  position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 3 / 4;
  border: 8px solid var(--white); box-shadow: var(--shadow-lg);
}
.section--off .collage__float { border-color: var(--off-white); }
.badge-round {
  position: absolute; left: -14px; top: 32px; z-index: 2;
  width: 128px; height: 128px; border-radius: 50%;
  background: var(--orange); color: var(--white);
  display: grid; place-items: center; text-align: center;
  box-shadow: var(--shadow-orange);
}
.badge-round strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 2.4rem; line-height: 1; color: var(--white); }
.badge-round span { display: block; font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-top: 4px; }
@media (min-width: 960px) { .badge-round { left: -40px; width: 148px; height: 148px; } }

/* ---------- Pillars (Health / Fitness / Wellbeing) ---------- */
.pillars { display: grid; gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
@media (min-width: 820px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { background: var(--white); padding: clamp(32px, 4vw, 52px); display: grid; gap: 16px; align-content: start; transition: background-color .4s; }
.pillar:hover { background: var(--orange-soft); }
.pillar__num { font-family: var(--font-display); font-size: 1rem; color: var(--orange); letter-spacing: .1em; }
.pillar h3 { font-family: var(--font-display); font-size: clamp(2.2rem, 3.6vw, 3rem); text-transform: uppercase; color: var(--black); line-height: 1; }

/* ---------- Service tiles ---------- */
.tiles { display: grid; gap: 20px; }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile {
  position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 3 / 4; color: var(--white); isolation: isolate;
  transform: perspective(1000px) rotateX(0) rotateY(0);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,11,11,0) 35%, rgba(11,11,11,.92) 100%); transition: background .5s; }
.tile:hover { box-shadow: 0 40px 60px -30px rgba(242, 98, 30, .55); }
.tile:hover img { transform: scale(1.07); }
.tile__num { position: absolute; top: 24px; left: 24px; font-family: var(--font-display); font-size: 1rem; letter-spacing: .1em; padding: 6px 12px; border-radius: var(--radius-pill); background: rgba(255,255,255,.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.2); }
.tile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.tile__title { font-family: var(--font-display); font-size: clamp(1.9rem, 2.8vw, 2.5rem); line-height: .98; text-transform: uppercase; }
.tile__arrow {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--orange);
  display: grid; place-items: center; transition: transform .4s var(--ease);
}
.tile__arrow svg { width: 20px; height: 20px; }
.tile:hover .tile__arrow { transform: rotate(-45deg); }

/* ---------- Plan cards (home overview) ---------- */
.plans { display: grid; gap: 24px; }
@media (min-width: 980px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: #191919; border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .5s var(--ease), border-color .4s;
}
.plan:hover { transform: translateY(-8px); border-color: rgba(242, 98, 30, .55); }
.plan__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.plan__media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 14s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -2%); } }
.plan__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, #191919 100%); }
.plan__tag { position: absolute; top: 18px; left: 18px; z-index: 2; }
.plan__body { padding: 8px clamp(24px, 3vw, 34px) clamp(28px, 3vw, 36px); display: flex; flex-direction: column; gap: 22px; flex: 1; }
.plan__title { font-family: var(--font-display); font-size: clamp(2rem, 3vw, 2.5rem); text-transform: uppercase; line-height: 1; color: var(--white); }
.plan__list { display: grid; gap: 12px; color: rgba(255, 255, 255, .78); font-size: .98rem; }
.plan__list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.plan__list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--orange); }
.plan__foot { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.price-chip {
  display: inline-flex; align-items: baseline; gap: 6px;
  background: var(--orange); color: var(--white);
  padding: 9px 16px; border-radius: var(--radius-pill);
  font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1;
}
.price-chip b { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; letter-spacing: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--radius-pill);
  font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(255,255,255,.14); color: var(--white); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.chip--light { background: var(--orange-soft); color: var(--orange-deep); border-color: transparent; backdrop-filter: none; }
.chip--dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

/* ---------- Service cards (memberships page) ---------- */
.services { display: grid; gap: 28px; }
@media (min-width: 720px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service {
  display: flex; flex-direction: column; background: var(--white);
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.service:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service__media { position: relative; aspect-ratio: 4 / 4.2; overflow: hidden; }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service:hover .service__media img { transform: scale(1.06); }
.service__media .price-chip { position: absolute; left: 20px; bottom: 20px; box-shadow: var(--shadow-orange); }
.service__media .chip { position: absolute; top: 20px; left: 20px; }
.service__body { padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 16px; flex: 1; }
.service__title { font-family: var(--font-display); font-size: clamp(1.9rem, 2.6vw, 2.35rem); text-transform: uppercase; line-height: 1; color: var(--orange); }
.service__text { font-size: .98rem; line-height: 1.7; }
.service__text .more { display: none; }
.service.is-expanded .service__text .more { display: inline; }
.service__toggle { background: none; border: 0; padding: 0; font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-deep); align-self: flex-start; }
.service__pricing { display: grid; gap: 8px; padding: 16px 18px; background: var(--off-white); border-radius: var(--radius-sm); font-size: .9rem; }
.service__pricing div { display: flex; justify-content: space-between; gap: 12px; }
.service__pricing b { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; color: var(--black); }
.service__foot { margin-top: auto; padding-top: 8px; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 24px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: clamp(28px, 3vw, 40px); border-radius: var(--radius-lg); background: #191919; border: 1px solid var(--line-dark); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--font-display); font-size: 4.5rem; line-height: 1; color: transparent;
  -webkit-text-stroke: 1.5px var(--orange); margin-bottom: 24px;
}
.step h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.8rem; line-height: 1; margin-bottom: 12px; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: 24px; }
@media (min-width: 980px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote {
  margin: 0; position: relative; display: flex; flex-direction: column; gap: 28px;
  background: var(--white); border-radius: var(--radius-lg); padding: clamp(30px, 3.4vw, 44px);
  border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.quote--feature { background: var(--black); color: rgba(255,255,255,.85); border-color: var(--black); }
.quote__mark { font-family: Georgia, "Times New Roman", serif; font-size: 6rem; line-height: .6; color: var(--orange); height: 40px; }
.quote__text { font-size: 1.12rem; line-height: 1.7; margin: 0; flex: 1; }
.quote--feature .quote__text { color: var(--white); }
.quote__by { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.quote--feature .quote__by { border-color: var(--line-dark); }
.quote__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--orange); color: var(--white); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.1rem; }
.quote__by strong { display: block; font-size: .95rem; }
.quote--feature .quote__by strong { color: var(--white); }
.quote__by span { font-size: .8rem; color: var(--grey); }
.stars { display: flex; gap: 3px; color: var(--orange); }
.stars svg { width: 16px; height: 16px; }

/* ---------- Full-bleed image band ---------- */
.image-band { position: relative; height: clamp(320px, 52vw, 680px); overflow: hidden; isolation: isolate; color: var(--white); display: flex; align-items: flex-end; }
.image-band img { position: absolute; inset: 0; width: 100%; height: 120%; object-fit: cover; z-index: -2; will-change: transform; }
.image-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,11,11,0) 40%, rgba(11,11,11,.8)); }
.image-band__inner { padding-block: clamp(32px, 5vw, 64px); width: 100%; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.image-band .display { color: var(--white); }

/* ---------- CTA band (orange) ---------- */
.cta-band { background: var(--orange); color: var(--white); position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before {
  content: "TRIBE"; position: absolute; right: -2%; bottom: -14%; z-index: -1;
  font-family: var(--font-display); font-size: clamp(10rem, 30vw, 26rem); line-height: 1; color: rgba(255,255,255,.08);
  pointer-events: none;
}
.cta-band__inner { display: grid; gap: 36px; align-items: center; padding-block: clamp(72px, 9vw, 120px); }
@media (min-width: 960px) { .cta-band__inner { grid-template-columns: 1.4fr auto; } }
.cta-band .display { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.9); max-width: 520px; margin-top: 18px; font-size: 1.12rem; }
.cta-band .btn--dark:hover { background: var(--ink); }

/* ---------- Feature list ---------- */
.ticks { display: grid; gap: 16px; }
.ticks li { display: flex; gap: 16px; align-items: flex-start; }
.ticks__icon { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-deep); display: grid; place-items: center; margin-top: 1px; }
.ticks__icon svg { width: 15px; height: 15px; }
.section--dark .ticks__icon { background: rgba(242,98,30,.15); color: var(--orange); }

.value-grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
.value {
  padding: 30px; border-radius: var(--radius-md); background: var(--white); border: 1px solid var(--line);
  display: grid; gap: 12px; align-content: start; transition: border-color .3s, transform .4s var(--ease);
}
.value:hover { border-color: var(--orange); transform: translateY(-4px); }
.value__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--black); color: var(--orange); display: grid; place-items: center; }
.value__icon svg { width: 24px; height: 24px; }
.value h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.55rem; line-height: 1.05; color: var(--black); }
.value p { font-size: .98rem; }

/* ---------- Big statement ---------- */
.statement { text-align: center; max-width: 1100px; margin-inline: auto; }
.statement .display { line-height: .98; }
.statement .eyebrow { justify-content: center; }
.statement .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }

/* ---------- Team ---------- */
.team { display: grid; gap: 32px; }
@media (min-width: 760px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .team { grid-template-columns: repeat(3, 1fr); } }
.member { display: flex; flex-direction: column; gap: 24px; }
.member__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--black); }
.member__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.member:hover .member__media img { transform: scale(1.04); }
.member__media::after { content: ""; position: absolute; inset: auto 0 0; height: 6px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.member:hover .member__media::after { transform: scaleX(1); }
.member__name { font-family: var(--font-display); font-size: clamp(2.6rem, 4vw, 3.4rem); text-transform: uppercase; line-height: 1; color: var(--black); }
.member__role { font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin-top: 8px; }
.member__bio { font-size: .98rem; }
.member__tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Timetable ---------- */
.tt-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 32px; scrollbar-width: none; }
.tt-tabs::-webkit-scrollbar { display: none; }
.tt-tab {
  flex-shrink: 0; min-width: 96px; padding: 14px 18px; border-radius: var(--radius-md);
  background: var(--white); border: 1px solid var(--line); text-align: left;
  display: grid; gap: 2px; transition: background-color .25s, border-color .25s, color .25s;
}
.tt-tab b { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1; text-transform: uppercase; color: var(--black); }
.tt-tab span { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.tt-tab:hover { border-color: var(--orange); }
.tt-tab[aria-selected="true"] { background: var(--black); border-color: var(--black); }
.tt-tab[aria-selected="true"] b { color: var(--white); }
.tt-tab[aria-selected="true"] span { color: var(--orange); }
.tt-panel[hidden] { display: none; }
.tt-list { display: grid; gap: 12px; }
.tt-row {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: center;
  padding: 22px 24px; border-radius: var(--radius-md); background: var(--white); border: 1px solid var(--line);
  transition: border-color .3s, transform .3s var(--ease);
}
.tt-row:hover { border-color: var(--orange); transform: translateX(4px); }
.tt-time { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--black); }
.tt-time small { display: block; font-family: var(--font-body); font-size: .75rem; color: var(--grey); font-weight: 700; letter-spacing: .08em; margin-top: 6px; }
.tt-class h3 { font-weight: 800; font-size: 1.05rem; color: var(--black); }
.tt-class p { font-size: .88rem; color: var(--grey); margin: 2px 0 0; }
.tt-row .btn { grid-column: 2; grid-row: 1 / span 2; }
@media (min-width: 760px) {
  .tt-row { grid-template-columns: 150px 1fr auto auto; }
  .tt-row .btn { grid-column: auto; grid-row: auto; }
}
.tt-legend { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }

/* ---------- Offer cards (kickstarter) ---------- */
.offers { display: grid; gap: 20px; }
@media (min-width: 720px) { .offers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .stack > .offers { grid-template-columns: 1fr; } }
.offer {
  position: relative; padding: clamp(28px, 3.4vw, 40px); border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line); display: grid; gap: 14px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.offer:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.offer--hot { background: var(--black); border-color: var(--black); color: rgba(255,255,255,.75); }
.offer__name { font-weight: 800; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.offer__price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.offer__price b { font-family: var(--font-display); font-weight: 400; font-size: clamp(3.4rem, 6vw, 4.6rem); line-height: 1; color: var(--black); }
.offer--hot .offer__price b { color: var(--white); }
.offer__price s { font-size: 1.05rem; color: var(--grey); font-weight: 700; }
.offer__save { position: absolute; top: 24px; right: 24px; }

.notice {
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap; justify-content: space-between;
  padding: 22px 26px; border-radius: var(--radius-md); background: var(--orange-soft); border: 1px dashed rgba(242,98,30,.5);
}
.notice p { margin: 0; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--black); font-size: .95rem; }

/* ---------- Signup (GymMaster embed) ---------- */
.signup { display: grid; gap: 28px; align-items: stretch; }
@media (min-width: 1000px) { .signup { grid-template-columns: 1.25fr 1fr; } }
.signup__panel { background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); box-shadow: 0 30px 80px -40px rgba(17,17,17,.4); border: 1px solid var(--line); }
.signup__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.signup__head h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.9rem; line-height: 1; color: var(--black); }
.gmiframe { width: 100%; min-height: 720px; border: 0; border-radius: var(--radius-sm); background: var(--off-white); }
.signup__media { position: relative; min-height: 420px; border-radius: 30px; overflow: hidden; }
.signup__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.signup__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(11,11,11,.85)); }
.signup__caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 32px; color: var(--white); display: grid; gap: 14px; }
.signup__caption .display { color: var(--white); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1.35fr 1fr; } }
.form-card { background: var(--white); border-radius: var(--radius-md); padding: clamp(28px, 4vw, 52px); border: 1px solid var(--line); box-shadow: 0 30px 80px -50px rgba(17,17,17,.45); }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; }
.field label { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--black); }
.field label i { color: var(--orange); font-style: normal; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--black);
  padding: 15px 18px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--off-white);
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--orange); background: var(--white); box-shadow: 0 0 0 4px rgba(242,98,30,.14); }
.field input::placeholder, .field textarea::placeholder { color: #aaa; }
.field.has-error input, .field.has-error textarea { border-color: #d93025; }
.field__error { font-size: .8rem; color: #d93025; font-weight: 600; display: none; }
.field.has-error .field__error { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--orange); margin-top: 3px; flex-shrink: 0; }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success__icon { width: 84px; height: 84px; border-radius: 50%; background: var(--orange); color: var(--white); display: grid; place-items: center; margin: 0 auto 24px; box-shadow: var(--shadow-orange); }
.form-success__icon svg { width: 36px; height: 36px; }
.is-sent .form-success { display: block; animation: fadeUp .6s var(--ease) both; }
.is-sent form { display: none; }

.hq { background: var(--black); color: rgba(255,255,255,.75); border-radius: var(--radius-md); padding: clamp(28px, 4vw, 48px); display: grid; gap: 28px; align-content: start; position: relative; overflow: hidden; isolation: isolate; }
.hq::after { content: "HQ"; position: absolute; right: -10px; bottom: -40px; font-family: var(--font-display); font-size: 14rem; line-height: 1; color: rgba(255,255,255,.04); z-index: -1; }
.hq .display { color: var(--white); }
.info-list { display: grid; gap: 22px; }
.info { display: flex; gap: 16px; align-items: flex-start; }
.info__icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; background: rgba(242,98,30,.14); color: var(--orange); display: grid; place-items: center; }
.info__icon svg { width: 20px; height: 20px; }
.info__label { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 2px; }
.info a, .info p { color: var(--white); font-weight: 600; }
.info a:hover { color: var(--orange); }
.light .info__label { color: var(--grey); }
.light .info a, .light .info p { color: var(--black); }
.light .info__icon { background: var(--orange-soft); color: var(--orange-deep); }
.hours { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: .95rem; }
.hours dt { color: rgba(255,255,255,.6); }
.hours dd { margin: 0; color: var(--white); font-weight: 700; text-align: right; }
.hours-note { font-size: .85rem; color: var(--orange); font-weight: 700; letter-spacing: .04em; }
.open-status { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.open-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--grey); }
.open-status.is-open::before { background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.2); }

/* Map card: dark-styled Google embed with a custom pin and floating info panel */
.map-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  background: #161616; border: 1px solid var(--line-dark); min-height: 520px; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.map-card--mini { min-height: 240px; border-radius: var(--radius-md); }
.map-card__frame { position: absolute; inset: 0; overflow: hidden; }
/* Crop the top strip so Google's place card is out of frame; attribution at the bottom stays visible */
.map-card__frame iframe {
  position: absolute; left: 0; top: -110px; width: 100%; height: calc(100% + 110px); border: 0;
  filter: invert(1) hue-rotate(180deg) saturate(.15) brightness(.82) contrast(1.08);
  transition: filter .6s;
}
.map-card:hover .map-card__frame iframe { filter: invert(1) hue-rotate(180deg) saturate(.3) brightness(.9) contrast(1.08); }
.map-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), inset 0 0 140px rgba(0,0,0,.75);
  background: radial-gradient(circle at 50% calc(50% - 55px), transparent 18%, rgba(0,0,0,.35) 100%);
}
.map-card__pin { position: absolute; left: 50%; top: calc(50% - 55px); z-index: 2; pointer-events: none; transform: translate(-50%, -50%); width: 44px; height: 44px; }
.map-card__pin::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: rgba(242,98,30,.5); animation: pinPulse 2.4s var(--ease) infinite; }
.map-card__pin-icon {
  position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%;
  background: var(--orange); color: var(--white); border: 3px solid var(--white);
  box-shadow: 0 10px 24px rgba(242,98,30,.55);
  animation: pinPop .7s cubic-bezier(.34, 1.56, .64, 1) both, pinBounce 2.4s var(--ease) .7s infinite;
}
.map-card__pin-icon svg { width: 22px; height: 22px; }
.map-card--mini .map-card__pin { width: 36px; height: 36px; }
.map-card--mini .map-card__pin-icon svg { width: 18px; height: 18px; }
@keyframes pinPop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes pinBounce { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-7px) scale(1.06); } }
.map-card__pin span.map-card__pin-label {
  position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%);
  background: var(--white); color: var(--black); font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 12px; border-radius: var(--radius-pill); white-space: nowrap; box-shadow: var(--shadow-lg);
}
.map-card__pin-label::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--white); }
@keyframes pinPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(3.2); opacity: 0; } }
.map-card__panel {
  position: relative; z-index: 3; margin: 20px; padding: 22px 24px; max-width: 320px;
  background: rgba(14,14,14,.78); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-md); color: rgba(255,255,255,.72);
  display: grid; gap: 14px; box-shadow: var(--shadow-lg);
}
.map-card__panel .eyebrow { margin-bottom: 0; }
.map-card__panel .display { color: var(--white); }
.map-card__panel p { font-size: .9rem; margin: 0; }
.map-card__panel .btn-row { margin-top: 4px; }
.map-card__meta { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 760px) {
  .map-card:not(.map-card--mini) { justify-content: flex-start; }
  .map-card__panel { margin: 28px; align-self: flex-start; }
  .map-card__panel .display-sm { font-size: clamp(1.6rem, 2.3vw, 2.1rem); }
}
/* Phones: map strip on top, panel below, so neither hides the other */
@media (max-width: 759px) {
  .map-card:not(.map-card--mini) { min-height: 0; }
  .map-card:not(.map-card--mini) .map-card__frame { position: relative; height: 280px; }
  .map-card:not(.map-card--mini) .map-card__pin { top: 85px; }
  .map-card:not(.map-card--mini)::after { background: none; }
  .map-card__panel { margin: 0; border-radius: 0; border-width: 1px 0 0; max-width: none; box-shadow: none; }
}

/* ---------- Gallery & lightbox ---------- */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.gallery__item { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius-md); overflow: hidden; padding: 0; border: 0; background: var(--black); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .4s; }
.gallery__item::after {
  content: "+"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 3rem; font-weight: 300; color: var(--white); background: rgba(242,98,30,.55); opacity: 0; transition: opacity .4s;
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover::after { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(8,8,8,.94);
  display: grid; place-items: center; padding: 64px 16px;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 84vh; width: auto; border-radius: var(--radius-md); box-shadow: 0 40px 100px rgba(0,0,0,.6); }
.lightbox__btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08); color: var(--white); display: grid; place-items: center; transition: background-color .25s;
}
.lightbox__btn:hover { background: var(--orange); border-color: var(--orange); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.6); font-size: .8rem; letter-spacing: .2em; font-weight: 700; }

/* ---------- Social ---------- */
.socials { display: flex; gap: 10px; }
.social {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-dark); color: var(--white); transition: background-color .3s, border-color .3s, transform .3s var(--ease);
}
.social svg { width: 19px; height: 19px; }
.social:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-3px); }
.socials--light .social { border-color: var(--line); color: var(--black); }
.socials--light .social:hover { color: var(--white); }

.social-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .social-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.social-grid a { position: relative; aspect-ratio: 1; border-radius: var(--radius-md); overflow: hidden; display: block; }
.social-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.social-grid a::after { content: ""; position: absolute; inset: 0; background: rgba(242,98,30,.6); opacity: 0; transition: opacity .4s; }
.social-grid a svg { position: absolute; z-index: 2; left: 50%; top: 50%; width: 34px; height: 34px; color: var(--white); transform: translate(-50%, -50%) scale(.6); opacity: 0; transition: opacity .4s, transform .4s var(--ease); }
.social-grid a:hover img { transform: scale(1.08); }
.social-grid a:hover::after { opacity: 1; }
.social-grid a:hover svg { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.62); font-size: .95rem; position: relative; overflow: hidden; }
.footer-top { padding-block: clamp(72px, 8vw, 110px) 56px; display: grid; gap: 48px; }
@media (min-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1120px) { .footer-top { grid-template-columns: 1.35fr .75fr 1fr 1.35fr; gap: 56px; } }
.footer-brand img { height: 56px; width: auto; margin-bottom: 24px; }
.footer-brand p { max-width: 360px; margin-bottom: 28px; }
.footer-brand strong { color: var(--white); }
.footer-title { font-size: .75rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--white); margin-bottom: 22px; }
.footer-links { display: grid; gap: 12px; }
.footer-links a { display: inline-flex; align-items: center; gap: 10px; transition: color .25s, transform .3s var(--ease); }
.footer-links a::before { content: ""; width: 0; height: 2px; background: var(--orange); transition: width .3s var(--ease); }
.footer-links a:hover { color: var(--white); }
.footer-links a:hover::before { width: 14px; }
.footer-contact { display: grid; gap: 14px; }
.footer-contact a:hover { color: var(--orange); }
.footer-map { min-height: 220px; }
.footer-map .map-card { display: flex; }
.footer-map .map-card__frame iframe { pointer-events: none; }
.footer-map .map-card:hover .map-card__pin-label { background: var(--orange); color: var(--white); }
.footer-map .map-card:hover .map-card__pin-label::after { border-top-color: var(--orange); }
.footer-word {
  font-family: var(--font-display); text-transform: uppercase; line-height: .8;
  font-size: clamp(3rem, 12.4vw, 10.6rem); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12);
  white-space: nowrap; text-align: center; user-select: none; margin-bottom: -.12em;
}
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: 26px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .82rem; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Reveal animation ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.js [data-reveal] {
  opacity: 0; transform: translate3d(var(--tx, 0), var(--ty, 36px), 0) scale(var(--sc, 1));
  transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="scale"] { --ty: 0; --sc: .94; }
.js [data-reveal="left"] { --ty: 0; --tx: -56px; }
.js [data-reveal="right"] { --ty: 0; --tx: 56px; }
@media (min-width: 960px) {
  .js .split > [data-reveal]:first-child { --ty: 0; --tx: -48px; }
  .js .split > [data-reveal]:last-child { --ty: 0; --tx: 48px; }
}
.hero [data-anim] { animation: fadeUp 1s var(--ease) both; animation-delay: var(--d, 0s); }

/* Eyebrow rule draws in */
.js [data-reveal] .eyebrow::before { transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease) calc(var(--d, 0s) + .25s); }
.js [data-reveal].is-visible .eyebrow::before { transform: none; }

/* Images unmask from the bottom and settle from a slight zoom.
   The clip is never put on the [data-reveal] element itself: Chrome's IntersectionObserver
   honours clip-path, so a fully clipped target would never be reported as visible. */
.js [data-reveal] :is(.media:not(.collage__float), .member__media, .service__media, .plan__media, .signup__media),
.js [data-reveal]:is(.tile, .gallery__item, .social-grid a, .media) > img,
.js [data-reveal].map-card > .map-card__frame {
  clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease); transition-delay: var(--d, 0s);
}
.js [data-reveal].is-visible :is(.media:not(.collage__float), .member__media, .service__media, .plan__media, .signup__media),
.js [data-reveal].is-visible:is(.tile, .gallery__item, .social-grid a, .media) > img,
.js [data-reveal].is-visible.map-card > .map-card__frame { clip-path: inset(0 0 0 0); }
.js [data-reveal]:is(.tile, .gallery__item, .social-grid a, .media) > img,
.js [data-reveal] :is(.media, .member__media, .service__media, .plan__media, .signup__media) > img {
  scale: 1.22; transition: scale 1.8s var(--ease), clip-path 1.2s var(--ease); transition-delay: var(--d, 0s);
}
.js [data-reveal].is-visible:is(.tile, .gallery__item, .social-grid a, .media) > img,
.js [data-reveal].is-visible :is(.media, .member__media, .service__media, .plan__media, .signup__media) > img { scale: 1; }
.js .collage__float { transition-delay: calc(var(--d, 0s) + .35s); }

/* Headings rise word by word */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .04em .02em .12em 0; margin-bottom: -.12em; }
.split-words .w > span { display: inline-block; will-change: transform; }
.js .split-words .w > span { transform: translateY(115%); transition: transform 1s var(--ease); transition-delay: calc(var(--d, 0s) + var(--i, 0) * 70ms); }
.js .split-words.is-in .w > span { transform: none; }

/* Scroll progress + header hide on scroll down */
.scroll-progress { position: fixed; left: 0; top: 0; z-index: 110; height: 3px; width: 100%; background: var(--orange); transform-origin: left; transform: scaleX(0); pointer-events: none; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header { transition: background-color .4s var(--ease), backdrop-filter .4s, height .4s var(--ease), border-color .4s, transform .5s var(--ease); }

/* Hero parallax hooks */
.hero__media, .page-hero__media { will-change: transform; }
.hero__inner, .page-hero__inner { will-change: transform, opacity; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .js [data-reveal] img { scale: 1; }
  .js .split-words .w > span { transform: none; }
}

/* ---------- Utilities ---------- */
.mt-s { margin-top: 18px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.mb-m { margin-bottom: 32px; }
.center { text-align: center; }
.maxw { max-width: 640px; }
.stack { display: grid; gap: 22px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ==========================================================================
   Leaderboard & Tribe Wall
   ========================================================================== */

/* ---------- Avatars (initials, on-brand palette) ---------- */
.avatar { display: inline-grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; font-weight: 800; font-size: .78rem; letter-spacing: .04em; line-height: 1; }
.avatar--sm { width: 32px; height: 32px; font-size: .66rem; }
/* ---------- Tour (spotlight walk-through) ---------- */
.tour__mask { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1200; display: block; }
.tour__dim { fill: rgba(12, 12, 12, .64); }
.tour__spot { position: fixed; top: 0; left: 0; z-index: 1201; pointer-events: none; border-radius: 18px; box-shadow: 0 0 0 3px var(--orange), 0 0 0 7px rgba(242, 98, 30, .22); opacity: 0; transition: opacity .25s; will-change: transform; }
.tour__card { position: fixed; top: 0; left: 0; z-index: 1202; width: min(380px, calc(100vw - 32px)); background: var(--white); color: var(--black); border-radius: 20px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); will-change: transform; animation: tour-pop .3s cubic-bezier(.22, 1, .36, 1) both; }
.tour__card::before { content: ""; position: absolute; left: var(--arrow-x, 50%); top: -8px; width: 16px; height: 16px; background: var(--white); transform: translateX(-50%) rotate(45deg); border-radius: 3px; }
.tour__card--above::before { top: auto; bottom: -8px; }
.tour__card--center { top: 50%; left: 50%; transform: translate(-50%, -50%) !important; }
.tour__card--center::before { display: none; }
.tour__inner { padding: 20px 22px 18px; transition: opacity .12s ease, transform .12s ease; }
.tour__inner.is-switching { opacity: 0; transform: translateY(4px); }
.tour__step { margin: 0 0 6px; }
.tour__card h3 { margin: 0 0 8px; font-size: 1.35rem; }
.tour__text { margin: 0; color: rgba(0, 0, 0, .68); font-size: .95rem; line-height: 1.5; }
.tour__dots { display: flex; gap: 5px; margin: 14px 0 12px; }
.tour__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(0, 0, 0, .14); transition: background-color .2s, transform .2s; }
.tour__dots i.is-done { background: rgba(0, 0, 0, .35); }
.tour__dots i.is-on { background: var(--orange); transform: scale(1.3); }
.tour__actions { display: flex; align-items: center; gap: 8px; }
.tour__spacer { flex: 1; }
.tour__skip { background: none; border: 0; padding: 6px 0; font: inherit; font-size: .8rem; font-weight: 700; color: rgba(0, 0, 0, .68); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tour__skip:hover { color: var(--black); }
@keyframes tour-pop { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 719px) {
  .tour__card { top: auto; bottom: 12px; left: 12px; right: 12px; width: auto; transform: none !important; }
  .tour__card::before { display: none; }
  .tour__card--center { top: 50%; bottom: auto; left: 16px; right: 16px; transform: translateY(-50%) !important; }
  .tour__inner { padding: 18px 18px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .tour__spot, .tour__inner, .tour__dots i { transition: none; }
  .tour__card { animation-duration: .01s; }
}

.avatar--photo { overflow: hidden; background: var(--off-white); }
.avatar--photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; }
.avatar--lg { width: 64px; height: 64px; font-size: 1.05rem; }
.avatar--xl { width: 88px; height: 88px; font-size: 1.5rem; font-family: var(--font-display); font-weight: 400; }
.avatar[data-style="1"] { background: var(--black); color: var(--white); }
.avatar[data-style="2"] { background: var(--orange); color: var(--white); }
.avatar[data-style="3"] { background: var(--off-white); color: var(--black); border: 1px solid var(--line); }
.avatar[data-style="4"] { background: var(--orange-soft); color: var(--orange-deep); }
.avatar[data-style="5"] { background: var(--charcoal); color: var(--orange); }
.avatar[data-style="6"] { background: var(--white); color: var(--black); border: 2px solid var(--black); }

/* ---------- Segmented control ---------- */
.seg { display: inline-flex; gap: 2px; padding: 4px; max-width: 100%; overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-pill); scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg__btn { border: 0; background: transparent; padding: 10px 18px; border-radius: var(--radius-pill); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); white-space: nowrap; transition: background-color .25s, color .25s; }
.seg__btn:hover { color: var(--black); }
.seg__btn[aria-pressed="true"] { background: var(--black); color: var(--white); }
.seg--tabs .seg__btn[aria-pressed="true"] { background: var(--orange); }
.lb-toolbar { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; margin-bottom: 40px; }

/* ---------- Podium ---------- */
.podium { display: grid; gap: 20px; margin-bottom: 28px; }
@media (min-width: 820px) { .podium { grid-template-columns: 1fr 1.15fr 1fr; align-items: end; } }
.podium__card {
  position: relative; display: grid; justify-items: center; gap: 10px; text-align: center;
  padding: 36px 28px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  animation: fadeUp .7s var(--ease) both;
}
.podium__card--1 { background: var(--black); border-color: var(--black); color: rgba(255,255,255,.7); padding-top: 48px; padding-bottom: 40px; box-shadow: var(--shadow-lg); }
.podium__card--2 { animation-delay: .08s; } .podium__card--3 { animation-delay: .16s; }
@media (max-width: 819px) { .podium__card--1 { order: -1; } }
.podium__rank { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--black); color: var(--white); font-family: var(--font-display); font-size: 1.15rem; }
.podium__card--1 .podium__rank { background: var(--orange); box-shadow: var(--shadow-orange); width: 46px; height: 46px; top: -23px; font-size: 1.4rem; }
.podium__name { font-family: var(--font-display); font-size: 1.9rem; text-transform: uppercase; line-height: 1; color: var(--black); margin-top: 6px; }
.podium__card--1 .podium__name { color: var(--white); font-size: 2.3rem; }
.podium__meta { font-size: .82rem; color: var(--grey); margin: 0; }
.podium__score { display: flex; align-items: baseline; gap: 6px; font-family: var(--font-display); font-size: 2.8rem; line-height: 1; color: var(--orange); margin-top: 6px; }
.podium__card--1 .podium__score { font-size: 3.6rem; }
.podium__score b { font-weight: 400; }
.podium__score span { font-family: var(--font-body); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.podium__chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.podium__card--1 .chip--light { background: rgba(255,255,255,.12); color: var(--white); }

.flame { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: .9rem; color: var(--grey); }
.flame svg { width: 16px; height: 16px; color: #c9c9c9; }
.flame--hot { color: var(--orange-deep); }
.flame--hot svg { color: var(--orange); filter: drop-shadow(0 2px 6px rgba(242,98,30,.5)); }
.podium__card--1 .flame--hot { color: var(--orange); }

/* ---------- Ranking table ---------- */
.lb-table { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.lb-head, .lb-row { display: grid; grid-template-columns: 48px 1fr 110px 110px 100px 170px 90px; align-items: center; gap: 12px; padding: 16px 24px; }
.lb-head { font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); background: var(--off-white); border-bottom: 1px solid var(--line); }
.lb-row { border-bottom: 1px solid var(--line); animation: fadeUp .6s var(--ease) both; animation-delay: var(--d, 0s); transition: background-color .25s; }
.lb-row:last-child { border-bottom: 0; }
.lb-row:hover { background: var(--orange-soft); }
.lb-rank { font-family: var(--font-display); font-size: 1.4rem; color: var(--grey); }
.lb-member { display: flex; align-items: center; gap: 14px; min-width: 0; }
.lb-member strong { display: block; line-height: 1.2; }
.lb-member small { color: var(--grey); font-size: .78rem; }
.lb-cell { font-weight: 700; color: var(--charcoal); }
.lb-points { display: grid; gap: 6px; }
.lb-points b { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; line-height: 1; color: var(--black); }
.lb-points i { display: block; position: relative; height: 5px; border-radius: 3px; background: var(--off-white); overflow: hidden; }
.lb-points i::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: 3px; background: linear-gradient(90deg, var(--orange-deep), var(--orange)); animation: grow 1.1s var(--ease) both; }
@keyframes grow { from { width: 0; } }
.trend { font-weight: 800; font-size: .85rem; color: var(--grey); }
.trend--up { color: #1d9f5a; }
.trend--down { color: #d93025; }
.goal-pips { color: var(--orange); font-size: .55rem; letter-spacing: 2px; vertical-align: middle; }
@media (max-width: 859px) {
  .lb-head { display: none; }
  .lb-row { grid-template-columns: 36px 1fr 110px; padding: 14px 18px; }
  .lb-cell { display: none; }
}
.lb-foot { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; margin-top: 28px; padding: 28px 32px; background: var(--white); border: 1px dashed rgba(17,17,17,.3); border-radius: var(--radius-md); }
.lb-foot strong { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.lb-foot p { margin: 0; max-width: 560px; font-size: .95rem; }

/* ---------- Scoring ---------- */
.score-grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .score-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .score-grid { grid-template-columns: repeat(3, 1fr); } }
.score { padding: 30px; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--white); display: grid; gap: 8px; align-content: start; transition: transform .4s var(--ease), border-color .3s; }
.score:hover { transform: translateY(-4px); border-color: var(--orange); }
.score__pts { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--orange); }
.score__pts small { font-family: var(--font-body); font-size: .9rem; font-weight: 800; color: var(--grey); margin-left: 2px; }
.score h3 { font-weight: 800; font-size: 1.05rem; color: var(--black); margin-top: 6px; }
.score p { font-size: .95rem; margin: 0; }
.score a { color: var(--orange-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.score--hot { background: var(--black); border-color: var(--black); color: rgba(255,255,255,.72); }
.score--hot h3 { color: var(--white); }

/* ---------- Spotlight + heatmap ---------- */
.spotlight { background: #191919; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: clamp(28px, 3.5vw, 44px); display: grid; gap: 26px; align-content: start; }
.spotlight__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.spotlight__quote { font-size: 1.08rem; line-height: 1.6; color: rgba(255,255,255,.82); margin: 0; border-left: 3px solid var(--orange); padding-left: 18px; }
.spotlight__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 600px) { .spotlight__stats { grid-template-columns: repeat(4, 1fr); } }
.spotlight__stats div { display: grid; gap: 4px; padding: 14px 16px; background: rgba(255,255,255,.05); border-radius: var(--radius-sm); }
.spotlight__stats b { font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; line-height: 1; color: var(--white); }
.spotlight__stats span { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); font-weight: 700; }
.heat-wrap { display: grid; gap: 10px; }
.heat-label { display: flex; justify-content: space-between; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.heat-legend { display: inline-flex; align-items: center; gap: 4px; }
.heat { display: grid; grid-template-rows: repeat(7, 1fr); grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; }
.heat i, .heat-legend i { display: block; aspect-ratio: 1; border-radius: 3px; background: rgba(255,255,255,.07); }
.heat-legend i { width: 10px; }
.heat i { animation: popIn .4s var(--ease) both; animation-delay: calc(var(--i) * 10ms); }
[data-level="1"] { background: rgba(242,98,30,.35) !important; }
[data-level="2"] { background: rgba(242,98,30,.65) !important; }
[data-level="3"] { background: var(--orange) !important; }
@keyframes popIn { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }

/* ---------- Challenge ring + ticker ---------- */
.challenge { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; padding: clamp(24px, 3vw, 36px); background: #191919; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); }
.challenge > div:last-child { flex: 1; min-width: 220px; }
.challenge__ring { position: relative; width: 136px; height: 136px; flex-shrink: 0; }
.challenge__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring__bg { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 10; }
.ring__fg { fill: none; stroke: var(--orange); stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset 1.8s var(--ease); }
.challenge__pct { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.9rem; color: var(--white); }
.challenge__pct b { font-weight: 400; }
.challenge p b { color: var(--orange); font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; }
.ticker { padding: clamp(24px, 3vw, 36px); background: #191919; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); }
.ticker .eyebrow { gap: 10px; }
.ticker .eyebrow::before { display: none; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; animation: livePulse 1.8s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.55); } 100% { box-shadow: 0 0 0 10px rgba(61,220,132,0); } }
.ticker li { display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--line-dark); font-size: .95rem; animation: fadeUp .6s var(--ease) both; animation-delay: var(--d, 0s); }
.ticker strong { color: var(--white); }
.ticker time { margin-left: auto; font-size: .72rem; color: rgba(255,255,255,.45); font-weight: 700; letter-spacing: .06em; }

/* ---------- Badges ---------- */
.badges { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .badges { grid-template-columns: repeat(4, 1fr); } }
.badge-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 26px; display: grid; gap: 8px; justify-items: start; align-content: start; transition: transform .4s var(--ease), border-color .3s; }
.badge-card:hover { transform: translateY(-4px); border-color: var(--orange); }
.badge-card__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--black); color: var(--orange); display: grid; place-items: center; margin-bottom: 8px; }
.badge-card__icon svg { width: 26px; height: 26px; }
.badge-card h3 { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; line-height: 1; color: var(--black); }
.badge-card p { font-size: .92rem; margin: 0; }
.badge-card small { color: var(--grey); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-top: 6px; }

/* ---------- Tribe Wall ---------- */
.wall { display: grid; gap: 28px; }
@media (min-width: 1000px) { .wall { grid-template-columns: 1fr 360px; align-items: start; } .wall__aside { position: sticky; top: 96px; } }
.wall__aside { display: grid; gap: 18px; }
.wall__main, .wall__aside { min-width: 0; }
.lb-toolbar > .seg { min-width: 0; }
.composer { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 22px; box-shadow: 0 30px 60px -45px rgba(17,17,17,.4); }
.composer__row { display: flex; gap: 14px; align-items: flex-start; }
.composer textarea { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1.05rem; line-height: 1.5; resize: vertical; min-height: 76px; padding: 10px 0; color: var(--black); outline: none; }
.composer textarea::placeholder { color: #aaa; }
.composer__foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.composer__hint { font-size: .78rem; color: var(--grey); margin: 12px 0 0; }
.tagpick { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; padding: 7px 12px; border-radius: var(--radius-pill); font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line); background: var(--white); color: var(--charcoal); cursor: default; }
.tagpick .tag { cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.tagpick .tag:hover { border-color: var(--black); }
.tagpick .tag[aria-pressed="true"] { background: var(--black); color: var(--white); border-color: var(--black); }
.tag--win { background: var(--orange-soft); color: var(--orange-deep); border-color: transparent; }
.tag--question { background: var(--off-white); color: var(--charcoal); border-color: transparent; }
.tag--shoutout { background: var(--black); color: var(--white); border-color: var(--black); }
.tag--motivation { background: var(--orange); color: var(--white); border-color: var(--orange); }
/* staff topic tags */
.tag--important-updates { background: var(--orange); color: var(--white); border-color: var(--orange); }
.tag--member-spotlight, .tag--wins, .tag--progress, .tag--goals { background: var(--orange-soft); color: var(--orange-deep); border-color: transparent; }
.tag--events, .tag--community-news, .tag--challenges { background: var(--black); color: var(--white); border-color: var(--black); }
.tag--mindset, .tag--training-tips, .tag--nutrition, .tag--recovery, .tag--wellbeing, .tag--accountability { background: var(--off-white); color: var(--charcoal); border-color: transparent; }
/* topic chips under the main wall filters: wrap on desktop, swipe on phones */
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.topics .tag { cursor: pointer; background: var(--white); color: var(--charcoal); border: 1px solid var(--line); transition: background-color .2s, color .2s, border-color .2s; }
.topics .tag:hover { border-color: var(--black); }
.topics .tag[aria-pressed="true"] { background: var(--orange); color: var(--white); border-color: var(--orange); }
@media (max-width: 720px) { .topics { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; margin-left: calc(var(--gutter, 16px) * -1); margin-right: calc(var(--gutter, 16px) * -1); padding-left: var(--gutter, 16px); padding-right: var(--gutter, 16px); } .topics::-webkit-scrollbar { display: none; } .topics .tag { flex: none; } }
/* a chip that sits on a light photo */
.chip--dark { background: rgba(20, 20, 20, .82); color: var(--white); border-color: transparent; }
.feed-tabs { margin-bottom: 18px; }
.post { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 2.5vw, 28px); margin-bottom: 16px; animation: fadeUp .6s var(--ease) both; animation-delay: var(--d, 0s); }
.post--pinned { border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.post--new { animation: popIn .5s var(--ease); }
.post__head { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.post__head > div { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; flex: 1; min-width: 0; }
.post__head strong { font-size: 1rem; color: var(--black); }
.post__head time { font-size: .78rem; color: var(--grey); font-weight: 600; }
.post__tags { display: flex; gap: 6px; }
.pill { font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: var(--radius-pill); background: var(--off-white); color: var(--charcoal); }
.pill--coach { background: var(--orange); color: var(--white); }
.post__text { margin: 16px 0 0; font-size: 1.02rem; line-height: 1.65; white-space: pre-line; }
.post__actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.react { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--white); font-weight: 800; font-size: .82rem; color: var(--charcoal); transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.react svg { width: 16px; height: 16px; }
.react:hover { border-color: var(--orange); color: var(--orange-deep); }
.react.is-on { background: var(--orange); border-color: var(--orange); color: var(--white); }
.react.pop { animation: pop .35s var(--ease); }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.25); } 100% { transform: scale(1); } }
.post__reply-btn { margin-left: auto; background: none; border: 0; padding: 8px 0; font-weight: 800; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.post__reply-btn:hover { color: var(--black); }
.replies { margin-top: 18px; display: grid; gap: 12px; }
.replies[hidden] { display: none; }
.reply { display: flex; gap: 12px; padding: 14px 16px; background: var(--off-white); border-radius: var(--radius-sm); }
.reply > div { min-width: 0; }
.reply strong { font-size: .9rem; color: var(--black); margin-right: 8px; }
.reply time { font-size: .74rem; color: var(--grey); font-weight: 600; }
.reply p { margin: 4px 0 0; font-size: .95rem; }
.reply--new { animation: fadeUp .5s var(--ease); }
.reply-form { display: flex; gap: 10px; align-items: center; }
.reply-form input { flex: 1; min-width: 0; font: inherit; padding: 12px 16px; border-radius: var(--radius-pill); border: 1.5px solid var(--line); background: var(--white); outline: none; transition: border-color .2s; }
.reply-form input:focus { border-color: var(--orange); }
.feed-empty { padding: 48px 20px; text-align: center; color: var(--grey); background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius-lg); }
.shake { animation: shake .4s; }
@keyframes shake { 0%, 100% { transform: none; } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.confetti { position: fixed; z-index: 400; width: 8px; height: 8px; border-radius: 2px; background: var(--orange); pointer-events: none; animation: confetti .9s var(--ease) forwards; }
@keyframes confetti { to { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; } }

.aside-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; display: grid; gap: 12px; align-content: start; }
.aside-card .eyebrow { margin-bottom: 2px; }
.aside-card p { font-size: .95rem; margin: 0; }
.aside-card--dark { background: var(--black); border-color: var(--black); color: rgba(255,255,255,.75); }
.aside-card--dark strong { color: var(--white); }
.aside-card--soft { background: var(--orange-soft); border-color: transparent; }
.aside-card .ticks { gap: 10px; }
.aside-card .ticks li { font-size: .9rem; }
.shout { display: flex; gap: 14px; align-items: center; }
.shout > div { display: grid; gap: 2px; }
.shout > div > span { font-size: .78rem; color: var(--orange); font-weight: 700; letter-spacing: .04em; }
.mini-bar { height: 8px; border-radius: 4px; background: var(--off-white); overflow: hidden; margin-top: 6px; }
.mini-bar span { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--orange-deep), var(--orange)); animation: grow 1.2s var(--ease) both; }
.hype-list { display: grid; gap: 10px; }
.hype-list li { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.hype-rank { font-family: var(--font-display); color: var(--grey); width: 16px; }
.hype-list strong { flex: 1; font-size: .92rem; }
.hype-n { font-weight: 800; color: var(--orange-deep); font-size: .85rem; }
.events { display: grid; gap: 12px; }
.events li { display: flex; gap: 14px; align-items: center; }
.events__date { flex-shrink: 0; width: 52px; text-align: center; background: var(--black); color: var(--white); border-radius: 12px; padding: 8px 0 7px; font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; line-height: 1; }
.events__date b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; margin-bottom: 3px; }
.events strong { display: block; font-size: .95rem; color: var(--black); }
.events div > span { font-size: .8rem; color: var(--grey); }

/* ==========================================================================
   Round 3: mobile compaction, pricing funnel, finder, partners
   ========================================================================== */

/* ---------- Mobile compaction ---------- */
@media (max-width: 759px) {
  :root { --section-y: clamp(52px, 12vw, 72px); --header-h: 68px; }
  .brand img { height: 38px; }
  .display-xl { font-size: clamp(3.4rem, 16vw, 5rem); }
  .display-lg { font-size: clamp(2.8rem, 12vw, 4rem); }
  .section-head { margin-bottom: 32px; gap: 16px; }
  .lead { font-size: 1.05rem; }
  .hero { min-height: 0; }
  .hero__inner { padding-top: calc(var(--header-h) + 36px); padding-bottom: 28px; }
  .hero__title { margin-bottom: 18px; }
  .hero__sub { margin-bottom: 24px; font-size: 1.02rem; }
  .hero .btn-row { gap: 10px; }
  .hero .btn { min-height: 50px; padding: 0 22px; font-size: .82rem; flex: 1 1 auto; }
  .hero__stats { margin-top: 30px; grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .hero__stat { padding-top: 16px; }
  .hero__stat strong { font-size: 1.3rem; }
  .hero__stat span { font-size: .58rem; letter-spacing: .08em; }
  .page-hero { min-height: 0; }
  .page-hero__inner { padding-top: calc(var(--header-h) + 36px); padding-bottom: 36px; }
  .page-hero__sub { font-size: 1.02rem; margin-top: 16px; }
  .marquee { padding: 18px 0; }
  .collage { padding-bottom: 14%; }
  .badge-round { width: 104px; height: 104px; left: -6px; top: 16px; }
  .badge-round strong { font-size: 1.9rem; }
  .image-band { height: 300px; }
  .cta-band__inner { padding-block: 56px; gap: 24px; }
  .cta-band::before { font-size: 9rem; }
  .footer-top { gap: 36px; padding-top: 56px; }
  .service__media { aspect-ratio: 16 / 10; }
  .value { padding: 24px; }
  .pillar { padding: 26px; }
  body { padding-bottom: 76px; } /* room for the sticky CTA bar */
}

/* Swipe rows: on phones, card groups become one horizontal snapping row */
@media (max-width: 759px) {
  .snap-m.snap-m { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .snap-m::-webkit-scrollbar { display: none; }
  .snap-m > * { flex: 0 0 82%; scroll-snap-align: start; }
  .snap-m.tiles > * { flex-basis: 72%; aspect-ratio: 3 / 3.6; }
  .snap-m.quotes > * { flex-basis: 86%; }
  .snap-m.price-row > * { flex-basis: 58%; }
  .snap-hint { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
  .snap-hint::after { content: ""; width: 28px; height: 2px; background: var(--orange); animation: swipeHint 1.6s var(--ease) infinite; }
  @keyframes swipeHint { 0%, 100% { transform: translateX(0); opacity: .5; } 50% { transform: translateX(10px); opacity: 1; } }
  .section--dark .snap-hint { color: rgba(255,255,255,.5); }
}
@media (min-width: 760px) { .snap-hint { display: none; } }

/* ---------- Pricing at a glance (home funnel) ---------- */
.price-strip { background: var(--off-white); padding-block: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.price-strip__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.price-strip__head .eyebrow { margin-bottom: 10px; }
.price-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.price-card {
  position: relative; display: grid; gap: 6px; align-content: start; padding: 20px 20px 22px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease);
}
.price-card:hover { transform: translateY(-4px); border-color: var(--orange); box-shadow: var(--shadow-lg); }
.price-card--hot { background: var(--black); border-color: var(--black); color: rgba(255,255,255,.7); }
.price-card__name { padding-right: 36px; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.price-card__price { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--black); }
.price-card--hot .price-card__price { color: var(--white); }
.price-card__price b { font-weight: 400; }
.price-card__price small { font-family: var(--font-body); font-size: .8rem; font-weight: 700; color: var(--grey); margin-left: 2px; }
.price-card__meta { font-size: .82rem; color: var(--grey); line-height: 1.4; }
.price-card--hot .price-card__meta { color: rgba(255,255,255,.6); }
.price-card__go { position: absolute; right: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--off-white); color: var(--black); transition: background-color .3s, color .3s, transform .4s var(--ease); }
.price-card__go svg { width: 14px; height: 14px; }
.price-card:hover .price-card__go { background: var(--orange); color: var(--white); transform: rotate(-45deg); }
.price-card--hot .price-card__go { background: rgba(255,255,255,.12); color: var(--white); }

/* ---------- Sticky mobile CTA bar ---------- */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 95;
  display: none; align-items: center; gap: 10px; padding: 10px 10px 10px 16px;
  background: rgba(14,14,14,.9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.14); border-radius: 18px; color: var(--white);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.7);
  transform: translateY(calc(100% + 24px)); transition: transform .5s var(--ease);
  padding-bottom: max(10px, env(safe-area-inset-bottom));
}
.mobile-cta.is-shown { transform: none; }
.mobile-cta__text { flex: 1; min-width: 0; display: grid; line-height: 1.2; }
.mobile-cta__text strong { color: var(--white); font-size: .95rem; }
.mobile-cta__text span { font-size: .72rem; color: rgba(255,255,255,.6); }
.mobile-cta .btn--sm { min-height: 42px; padding: 0 16px; font-size: .72rem; }
.mobile-cta .btn--outline { --btn-fg: var(--white); border-color: rgba(255,255,255,.4); }
@media (max-width: 759px) { .mobile-cta { display: flex; } }

/* ---------- Membership finder ---------- */
.finder { display: grid; gap: 28px; background: var(--black); color: rgba(255,255,255,.72); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 48px); position: relative; overflow: hidden; isolation: isolate; }
.finder::after { content: "FIT"; position: absolute; right: -2%; top: -12%; z-index: -1; font-family: var(--font-display); font-size: clamp(8rem, 22vw, 18rem); line-height: 1; color: rgba(255,255,255,.04); pointer-events: none; }
@media (min-width: 1000px) { .finder { grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; } .finder__intro { grid-column: 1 / -1; } }
.finder__intro .display { color: var(--white); }
.finder__intro p:last-child { max-width: 560px; margin-top: 14px; }
.finder__form { display: grid; gap: 22px; }
.finder__form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.finder__form legend { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin-bottom: 4px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { position: relative; cursor: pointer; }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices span { display: inline-flex; align-items: center; padding: 11px 16px; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,.18); font-size: .88rem; font-weight: 700; color: rgba(255,255,255,.8); transition: background-color .25s, border-color .25s, color .25s, transform .25s var(--ease); }
.choices label:hover span { border-color: rgba(255,255,255,.5); }
.choices input:checked + span { background: var(--white); border-color: var(--white); color: var(--black); }
.choices input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 3px; }
.finder__result { background: var(--white); color: var(--charcoal); border-radius: var(--radius-md); padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; align-content: start; position: sticky; top: 100px; }
.finder__result .eyebrow { margin-bottom: 0; }
.finder__result h3 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); text-transform: uppercase; line-height: 1; color: var(--black); animation: fadeUp .45s var(--ease); }
.finder__result p { font-size: .95rem; margin: 0; }
.finder__also { padding-top: 14px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--grey); }
.finder__also a { color: var(--orange-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Partners ---------- */
.partners { display: grid; gap: 24px; }
@media (min-width: 900px) { .partners { grid-template-columns: repeat(2, 1fr); } }
.partner { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.partner:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.partner__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.partner__media img { width: 100%; height: 100%; object-fit: cover; }
.partner__media .chip { position: absolute; top: 18px; left: 18px; }
.partner__mark { position: absolute; left: 24px; bottom: -28px; width: 72px; height: 72px; border-radius: 20px; background: var(--black); color: var(--white); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.5rem; border: 4px solid var(--white); box-shadow: var(--shadow-lg); }
.partner__mark--orange { background: var(--orange); }
.partner__body { padding: 44px clamp(22px, 3vw, 32px) clamp(24px, 3vw, 32px); display: grid; gap: 14px; align-content: start; flex: 1; }
.partner__type { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.partner__name { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.8rem); text-transform: uppercase; line-height: 1; color: var(--black); }
.partner__services { display: flex; flex-wrap: wrap; gap: 6px; }
.partner__perk { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--orange-soft); border-radius: var(--radius-sm); font-size: .9rem; }
.partner__perk svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--orange-deep); margin-top: 2px; }
.partner__foot { margin-top: auto; padding-top: 8px; display: flex; gap: 10px; flex-wrap: wrap; }
.partner__hours { font-size: .85rem; color: var(--grey); }

/* ---------- Word-split: never clip descenders / punctuation ---------- */
.split-words .w { padding: .06em .03em .16em 0; margin-bottom: -.16em; }

/* ---------- 404 ---------- */
.lost { min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--ink); color: rgba(255,255,255,.7); padding: calc(var(--header-h) + 40px) var(--gutter) 60px; }
.lost .display { color: var(--white); }
.lost .btn-row { justify-content: center; margin-top: 32px; }

/* ---------- Compact membership cards (home) ---------- */
.mini-plans { display: grid; gap: 14px; }
@media (min-width: 720px) { .mini-plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .mini-plans { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.mini-plan {
  display: grid; grid-template-columns: 104px 1fr auto; gap: 16px; align-items: center;
  padding: 12px 16px 12px 12px; background: #191919; border: 1px solid var(--line-dark); border-radius: var(--radius-md);
  color: rgba(255,255,255,.65); transition: transform .4s var(--ease), border-color .3s, background-color .3s;
}
.mini-plan:hover { transform: translateY(-4px); border-color: rgba(242,98,30,.6); background: #1d1d1d; }
.mini-plan__thumb { width: 104px; height: 104px; border-radius: 14px; overflow: hidden; background: var(--black); }
.mini-plan__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.mini-plan:hover .mini-plan__thumb img { transform: scale(1.08); }
.mini-plan__body { display: grid; gap: 4px; min-width: 0; }
.mini-plan__name { font-family: var(--font-display); font-size: 1.45rem; line-height: 1; text-transform: uppercase; color: var(--white); }
.mini-plan__meta { font-size: .8rem; line-height: 1.4; }
.mini-plan__foot { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; }
.mini-plan .price-chip { padding: 7px 12px; font-size: .68rem; }
.mini-plan .price-chip b { font-size: 1.1rem; }
.mini-plan .chip { padding: 6px 10px; font-size: .62rem; }
.mini-plan__arrow { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--white); transition: background-color .3s, transform .4s var(--ease); }
.mini-plan__arrow svg { width: 16px; height: 16px; }
.mini-plan:hover .mini-plan__arrow { background: var(--orange); transform: rotate(-45deg); }
@media (max-width: 759px) {
  .mini-plan { grid-template-columns: 84px 1fr; padding: 10px 14px 10px 10px; }
  .mini-plan__thumb { width: 84px; height: 84px; }
  .mini-plan__arrow { display: none; }
  .mini-plan__name { font-size: 1.3rem; }
}

/* ---------- Partner strip (home) ---------- */
.partner-strip { display: grid; gap: 18px; }
@media (min-width: 860px) { .partner-strip { grid-template-columns: repeat(2, 1fr); } }
.partner-card {
  display: grid; grid-template-columns: 150px 1fr auto; gap: 20px; align-items: center;
  padding: 14px 20px 14px 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease);
}
.partner-card:hover { transform: translateY(-4px); border-color: var(--orange); box-shadow: var(--shadow-lg); }
.partner-card__thumb { position: relative; width: 150px; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--black); }
.partner-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.partner-card:hover .partner-card__thumb img { transform: scale(1.08); }
.partner-card__mark { position: absolute; left: 10px; bottom: 10px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--black); color: var(--white); font-family: var(--font-display); font-size: 1rem; border: 2px solid var(--white); }
.partner-card__mark--orange { background: var(--orange); }
.partner-card__body { display: grid; gap: 4px; min-width: 0; }
.partner-card__type { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.partner-card__name { font-family: var(--font-display); font-size: 1.8rem; line-height: 1; text-transform: uppercase; color: var(--black); }
.partner-card__meta { font-size: .9rem; color: var(--charcoal); line-height: 1.5; margin-top: 4px; }
.partner-card__arrow { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--off-white); color: var(--black); transition: background-color .3s, color .3s, transform .4s var(--ease); }
.partner-card__arrow svg { width: 18px; height: 18px; }
.partner-card:hover .partner-card__arrow { background: var(--orange); color: var(--white); transform: rotate(-45deg); }
@media (max-width: 759px) {
  .partner-card { grid-template-columns: 96px 1fr; padding: 10px 14px 10px 10px; gap: 14px; }
  .partner-card__thumb { width: 96px; }
  .partner-card__arrow { display: none; }
  .partner-card__name { font-size: 1.4rem; }
}

/* ---------- Page loader: orange barbell ---------- */
.loader {
  position: fixed; inset: 0; z-index: 500; display: grid; place-content: center; justify-items: center; gap: 26px;
  background: var(--ink); color: var(--white);
  transition: opacity .55s var(--ease), visibility .55s;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__barbell { display: flex; align-items: center; animation: rep 1.15s cubic-bezier(.45, 0, .2, 1) infinite; filter: drop-shadow(0 14px 24px rgba(242,98,30,.45)); }
.loader__shaft { width: 112px; height: 7px; border-radius: 4px; background: linear-gradient(90deg, var(--orange-deep), var(--orange) 30%, var(--orange) 70%, var(--orange-deep)); }
.loader__collar { width: 7px; height: 16px; border-radius: 2px; background: var(--orange-deep); }
.loader__plate { width: 13px; height: 46px; border-radius: 4px; background: var(--orange); margin: 0 2px; box-shadow: inset 0 0 0 2px rgba(0,0,0,.18); transform-origin: center bottom; animation: plate 1.15s cubic-bezier(.45, 0, .2, 1) infinite; }
.loader__plate--outer { height: 36px; background: var(--orange-deep); }
.loader__word { position: relative; font-family: var(--font-display); font-size: 1.1rem; letter-spacing: .4em; text-transform: uppercase; padding-left: .4em; color: rgba(255,255,255,.75); }
.loader__word i { position: absolute; left: 0; right: 0; bottom: -12px; height: 2px; background: rgba(255,255,255,.1); overflow: hidden; }
.loader__word i::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--orange); animation: loadbar 1.1s var(--ease) infinite; }
@keyframes rep { 0%, 100% { transform: translateY(14px); } 50% { transform: translateY(-16px); } }
@keyframes plate { 0%, 100% { transform: scaleY(.9); } 50% { transform: scaleY(1.04); } }
@keyframes loadbar { from { transform: translateX(-120%); } to { transform: translateX(300%); } }
/* Hold the hero entrance until the loader clears */
.js:not(.is-loaded) .hero [data-anim], .js:not(.is-loaded) .page-hero [data-anim] { animation-play-state: paused; }
.js:not(.is-loaded) .split-words.is-in .w > span { transform: translateY(115%); }
.js:not(.is-loaded) .hero__media img, .js:not(.is-loaded) .page-hero__media img { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .loader__barbell, .loader__plate, .loader__word i::after { animation: none; } }

/* ---------- Swipe indicators ---------- */
.swipe-wrap { position: relative; max-width: 100%; min-width: 0; --swipe-bg: var(--white); --dot: rgba(17,17,17,.18); }
.lb-toolbar > .swipe-wrap { flex: 0 1 auto; }
.section--off .swipe-wrap, .page-hero + .section--off .swipe-wrap { --swipe-bg: var(--off-white); }
.section--dark .swipe-wrap { --swipe-bg: var(--black); --dot: rgba(255,255,255,.25); }
.swipe-wrap--inline { display: inline-block; max-width: 100%; vertical-align: top; }
.swipe-wrap--bleed { margin-inline: calc(-1 * var(--gutter)); }
.swipe-wrap--bleed > .snap-m { margin-inline: 0; }
.swipe-wrap:has(> .tt-tabs) { margin-bottom: 28px; }
.swipe-wrap > .tt-tabs, .swipe-wrap > .feed-tabs { margin-bottom: 0; }
.swipe-wrap:has(> .feed-tabs) { margin-bottom: 18px; }
/* edge fades: "there's more this way" */
.swipe-wrap::before, .swipe-wrap::after {
  content: ""; position: absolute; top: 0; bottom: var(--ind-h, 0px); width: 40px; z-index: 2; pointer-events: none;
  opacity: 0; transition: opacity .3s;
}
.swipe-wrap--dots { --ind-h: 26px; }
.swipe-wrap--bar { --ind-h: 12px; }
.swipe-wrap::before { left: 0; background: linear-gradient(90deg, var(--swipe-bg), transparent); }
.swipe-wrap::after { right: 0; background: linear-gradient(270deg, var(--swipe-bg), transparent); }
.swipe-wrap.is-scrollable:not(.at-start):not(.swipe-wrap--nofade)::before { opacity: 1; }
.swipe-wrap.is-scrollable:not(.at-end):not(.swipe-wrap--nofade)::after { opacity: 1; }
/* dots under card rows */
.swipe-dots { display: none; justify-content: center; gap: 6px; padding-top: 14px; height: 26px; }
.swipe-wrap.is-scrollable > .swipe-dots { display: flex; }
.swipe-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--dot); transition: width .3s var(--ease), background-color .3s; cursor: pointer; }
.swipe-dots i.is-active { width: 20px; background: var(--orange); }
/* progress bar under tab strips */
.swipe-bar { display: none; position: relative; height: 2px; margin: 10px 8px 0; border-radius: 2px; background: var(--dot); overflow: hidden; }
.swipe-wrap.is-scrollable > .swipe-bar { display: block; }
.swipe-bar i { position: absolute; left: 0; top: 0; height: 100%; border-radius: 2px; background: var(--orange); will-change: transform; }

/* ---------- Mobile: dark blocks become rounded sheets over the light page ----------
   Instead of a hard seam (or a colour band), each dark block ends in rounded corners and
   overlaps the light section beneath it by the corner radius, so the light page is visibly
   sitting behind the dark one. Light sections use a transparent border to reserve that
   overlap so their content is never covered. */
@media (max-width: 759px) {
  :root { --seam: 30px; }
  .hero, .page-hero, .section--dark, .cta-band, .site-footer, .image-band { position: relative; z-index: 1; }
  .section:not(.section--dark) { z-index: 0; }
  .image-band { z-index: 0; }
  .site-footer { z-index: 2; }

  /* dark → light: round the dark block's bottom, tuck the light section under it */
  .hero:has(+ .section:not(.section--dark)), .page-hero:has(+ .section:not(.section--dark)),
  .section--dark:has(+ .section:not(.section--dark)), .marquee:has(+ .section:not(.section--dark)) {
    border-radius: 0 0 var(--seam) var(--seam);
  }
  .hero + .section:not(.section--dark), .page-hero + .section:not(.section--dark),
  .section--dark + .section:not(.section--dark), .marquee + .section:not(.section--dark) {
    margin-top: calc(-1 * var(--seam)); border-top: var(--seam) solid transparent;
    background-image: linear-gradient(180deg, rgba(242,98,30,.07), rgba(242,98,30,0) 180px);
  }

  /* light → dark / orange / photo band: round the next block's top, it overlaps the light section */
  .section:not(.section--dark) + .section--dark, .section:not(.section--dark) + .cta-band, .section:not(.section--dark) + .image-band {
    border-radius: var(--seam) var(--seam) 0 0; margin-top: calc(-1 * var(--seam));
  }
  .section:not(.section--dark):has(+ .section--dark), .section:not(.section--dark):has(+ .cta-band), .section:not(.section--dark):has(+ .image-band) {
    border-bottom: var(--seam) solid transparent;
  }

  /* photo band → orange band → footer: each sits as a sheet on the one before */
  .image-band + .cta-band { border-radius: var(--seam) var(--seam) 0 0; margin-top: calc(-1 * var(--seam)); }
  .image-band:has(+ .cta-band) { height: calc(300px + var(--seam)); }
  .image-band:has(+ .cta-band) .image-band__inner { padding-bottom: calc(32px + var(--seam)); }
  .cta-band + .site-footer { border-radius: var(--seam) var(--seam) 0 0; margin-top: calc(-1 * var(--seam)); }
  .cta-band:has(+ .site-footer) { border-bottom: var(--seam) solid transparent; }
}

/* ---------- Member portal ---------- */
.portal { display: grid; gap: 24px; }
@media (min-width: 960px) { .portal { grid-template-columns: 1.1fr .9fr; align-items: start; } .portal--dash { grid-template-columns: 1.4fr .8fr; } }
.portal__main { display: grid; gap: 18px; }
.portal__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; align-content: start; }
.portal__card .eyebrow { margin-bottom: 0; }
.portal__form { display: grid; gap: 16px; margin-top: 8px; }
.portal__error { margin: 0; padding: 12px 14px; border-radius: var(--radius-sm); background: #fdecea; color: #b3261e; font-size: .9rem; font-weight: 600; }
.portal__hint { font-size: .85rem; color: var(--grey); margin: 0; }
.portal__hint a { color: var(--orange-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.portal__aside { background: var(--black); color: rgba(255,255,255,.75); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px; align-content: start; }
.portal__aside .display { color: var(--white); }
.portal__aside .ticks__icon { background: rgba(242,98,30,.15); color: var(--orange); }
.portal__aside strong { color: var(--white); }
.portal__aside .portal__hint { color: rgba(255,255,255,.5); }
.portal__aside .btn--outline { --btn-fg: var(--white); border-color: rgba(255,255,255,.4); }
@media (min-width: 960px) { .portal__aside--consent { position: sticky; top: 100px; } }
.portal__profile { grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; }
@media (max-width: 600px) { .portal__profile { grid-template-columns: auto 1fr; } .portal__profile .btn { grid-column: 1 / -1; justify-self: start; } }
.mystats { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.mystat { display: grid; gap: 2px; padding: 16px; border-radius: var(--radius-sm); background: var(--off-white); }
.mystat span { font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.mystat b { font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--black); }
.mystat small { font-size: .78rem; color: var(--orange-deep); font-weight: 700; }
@media (max-width: 480px) { .mystats { grid-template-columns: 1fr; } }
.portal__streak { grid-template-columns: auto 1fr; align-items: center; }
.portal__streak .flame svg { width: 44px; height: 44px; }
.mystreak { display: grid; gap: 2px; }
.mystreak b { font-family: var(--font-display); font-weight: 400; font-size: 2.6rem; line-height: 1; color: var(--black); }
.mystreak span { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.mystreak small { color: var(--grey); font-size: .85rem; }
.myactivity { display: grid; gap: 0; }
.myactivity li { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.myactivity li:first-child { border-top: 0; }
.myactivity time { font-size: .78rem; color: var(--grey); }
.myactivity b { font-family: var(--font-display); font-weight: 400; color: var(--orange-deep); }
.portal__flash { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 120; margin: 0; padding: 12px 20px; border-radius: var(--radius-pill); background: var(--black); color: var(--white); font-weight: 700; font-size: .9rem; box-shadow: var(--shadow-lg); animation: fadeUp .4s var(--ease); max-width: calc(100% - 32px); }
.portal__flash.is-bad { background: #b3261e; }
@media (max-width: 759px) { .portal__flash { bottom: 90px; } }
.btn.is-busy { opacity: .7; pointer-events: none; }

/* toggle switch */
.switch { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; cursor: pointer; padding: 14px 0; border-top: 1px solid var(--line-dark); }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track { position: relative; width: 46px; height: 26px; border-radius: 13px; background: rgba(255,255,255,.18); transition: background-color .25s; margin-top: 2px; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); transition: transform .25s var(--ease); }
.switch input:checked + .switch__track { background: var(--orange); }
.switch input:checked + .switch__track::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--orange); outline-offset: 3px; }
.switch input:disabled + .switch__track { opacity: .5; }
.switch__text { display: grid; gap: 2px; }
.switch__text strong { color: var(--white); }
.switch__text small { font-size: .82rem; color: rgba(255,255,255,.55); }

.header-signin { display: none; font-size: .84rem; font-weight: 700; color: rgba(255,255,255,.82); padding: 8px 0; }
.header-signin:hover, .header-signin[aria-current="page"] { color: var(--orange); }
@media (min-width: 1024px) { .header-signin { display: inline-block; } }

/* ---------- Members hub: the three doors ---------- */
.doors { display: grid; gap: 14px; align-content: start; }
.door { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 22px 24px; background: var(--black); color: rgba(255,255,255,.7); border-radius: var(--radius-md); border: 1px solid var(--black); transition: transform .4s var(--ease), border-color .3s; }
.door:hover { transform: translateY(-4px); border-color: var(--orange); }
.door--note { background: var(--white); color: var(--grey); border-color: var(--line); grid-template-columns: 1fr; font-size: .88rem; }
.door--note:hover { transform: none; border-color: var(--line); }
.door__num { font-family: var(--font-display); font-size: .9rem; letter-spacing: .1em; color: var(--orange); }
.door__body { display: grid; gap: 2px; }
.door__title { font-family: var(--font-display); font-size: 1.7rem; line-height: 1; text-transform: uppercase; color: var(--white); }
.door__text { font-size: .9rem; line-height: 1.5; }
.door__arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--white); transition: background-color .3s, transform .4s var(--ease); }
.door__arrow svg { width: 18px; height: 18px; }
.door:hover .door__arrow { background: var(--orange); transform: rotate(-45deg); }

/* ---------- Members-only gate ---------- */
.gate__card { max-width: 720px; margin-inline: auto; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px); display: grid; gap: 14px; justify-items: center; }
.gate__card .eyebrow { margin-bottom: 0; justify-content: center; }
.gate__card .lead { max-width: 520px; }
.gate__card .btn-row { justify-content: center; margin-top: 8px; }
.gate__lock { width: 64px; height: 64px; border-radius: 50%; background: var(--black); color: var(--orange); display: grid; place-items: center; }
.gate__lock svg { width: 28px; height: 28px; }

/* ---------- Grouped navigation: dropdown panels ---------- */
.nav__list { gap: clamp(18px, 2.2vw, 34px); }
.nav__group { position: relative; }
.nav__trigger { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; font: inherit; font-size: .9rem; font-weight: 700; color: rgba(255,255,255,.82); padding: 8px 0; }
.nav__chev { width: 14px; height: 14px; opacity: .6; transition: transform .3s var(--ease); }
.nav__group:hover .nav__chev, .nav__group.is-open .nav__chev, .nav__group:focus-within .nav__chev { transform: rotate(180deg); opacity: 1; }
.nav__group:hover > .nav__trigger, .nav__group.is-open > .nav__trigger, .nav__group.is-current > .nav__trigger { color: var(--white); }
.nav__group.is-current > .nav__trigger::after { transform: scaleX(1); }
.nav__link.nav__trigger::after { right: 20px; }
.nav__menu {
  position: absolute; top: 100%; left: -18px; min-width: 300px; padding: 10px; margin-top: 14px;
  background: rgba(14,14,14,.94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.12); border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
.nav__group:hover > .nav__menu, .nav__group.is-open > .nav__menu, .nav__group:focus-within > .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu li a { display: grid; gap: 2px; padding: 11px 14px; border-radius: 12px; transition: background-color .2s; }
.nav__menu li a:hover, .nav__menu li a:focus-visible, .nav__menu li a[aria-current="page"] { background: rgba(255,255,255,.08); }
.nav__item-title { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: .92rem; color: var(--white); }
.nav__menu li a[aria-current="page"] .nav__item-title { color: var(--orange); }
.nav__item-desc { font-size: .78rem; color: rgba(255,255,255,.55); }
.nav__chip { display: inline-block; padding: 2px 7px; border-radius: 999px; background: var(--orange); color: var(--white); font-size: .6rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; line-height: 1.4; vertical-align: middle; }

/* ---------- Mobile menu: grouped ---------- */
.mobile-menu__group { padding: 14px 0 6px; border-top: 1px solid var(--line-dark); }
.mobile-menu__group:first-child { border-top: 0; padding-top: 4px; }
.mobile-menu__label { margin: 0 0 6px; font-size: .66rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--orange); }
.mobile-menu__links a {
  display: flex; align-items: center; gap: 10px; padding: 9px 0;
  font-family: var(--font-display); font-size: clamp(1.45rem, 6vw, 1.85rem); line-height: 1; text-transform: uppercase; color: var(--white);
}
.mobile-menu__links a svg { width: 18px; height: 18px; margin-left: auto; color: rgba(255,255,255,.35); }
.mobile-menu__links a[aria-current="page"] { color: var(--orange); }
.mobile-menu__links a[aria-current="page"] svg { color: var(--orange); }
.mobile-menu__links .nav__chip { font-family: var(--font-body); }
.mobile-menu__links--row { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 6px; }
.mobile-menu__links--row a { font-family: var(--font-body); font-size: .9rem; font-weight: 700; text-transform: none; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.85); }
.mobile-menu__links--row a[aria-current="page"] { border-color: var(--orange); color: var(--orange); }

/* local-testing helper on the members page (only rendered when the API runs with DEV_LOGIN=1) */
.portal__dev { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 14px 18px; border-radius: var(--radius-md); background: #fff7ed; border: 1px dashed var(--orange); font-size: .88rem; color: var(--charcoal); }
.portal__dev select { font: inherit; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); }

/* ---------- Join the dashboard prompt ---------- */
.portal__join { border: 2px solid var(--orange); background: var(--orange-soft); }
.portal__join .ticks { gap: 10px; }
.portal__join .ticks li { font-size: .92rem; }
.portal__join .check { padding: 10px 14px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); }
.portal__join .btn-row { margin-top: 6px; }
.portal__aside--consent.is-locked .switch { opacity: .45; }
.portal__leave { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.portal__leave:hover { color: var(--orange) !important; }

/* ---------- My Tribe: tabbed portal ---------- */
#portal-dash > .portal__profile { margin-bottom: 18px; }
.ptabs { display: flex; gap: 4px; overflow-x: auto; padding: 6px; margin-bottom: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-pill); scrollbar-width: none; }
.ptabs::-webkit-scrollbar { display: none; }
.ptabs a { flex-shrink: 0; padding: 10px 18px; border-radius: var(--radius-pill); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); transition: background-color .25s, color .25s; }
.ptabs a:hover { color: var(--black); }
.ptabs a[aria-current="page"] { background: var(--black); color: var(--white); }
.ptab[hidden] { display: none !important; }
.portal__card-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.portal__card-head .eyebrow { margin-bottom: 4px; }
.portal__readonly { margin: 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--orange-soft); border: 1px dashed var(--orange); font-size: .9rem; }
.plist { display: grid; gap: 0; }
.plist li { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.plist li:first-child { border-top: 0; }
.plist li span { color: var(--grey); font-size: .85rem; text-align: right; }
.portal__aside .plist li { border-color: var(--line-dark); }
.portal__aside .plist strong { color: var(--white); }
.portal__aside .plist li span { color: rgba(255,255,255,.5); }
.portal__aside--next #m-next { color: rgba(255,255,255,.8); font-size: 1.05rem; line-height: 1.5; }
.portal__aside--next #m-next strong { color: var(--white); font-size: 1.2rem; }
.portal #b-schedule .tt-row { grid-template-columns: 90px 1fr auto auto; padding: 16px 18px; }
@media (max-width: 759px) { .portal #b-schedule .tt-row { grid-template-columns: 1fr auto; } .portal #b-schedule .tt-time { grid-column: 1 / -1; } }
.mcard__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.mcard__head .eyebrow { margin-bottom: 4px; }
.mcard__facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0; }
@media (min-width: 700px) { .mcard__facts { grid-template-columns: repeat(4, 1fr); } }
.mcard__facts div { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--off-white); }
.mcard__facts dt { font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.mcard__facts dd { margin: 2px 0 0; font-weight: 700; color: var(--black); }

/* ---------- Anonymous leaderboard teaser ---------- */
.anon-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 24px; padding: 14px 18px; border-radius: var(--radius-md); background: var(--black); color: rgba(255,255,255,.8); font-size: .92rem; }
.avatar--anon { background: var(--off-white) !important; color: var(--grey) !important; border: 1px dashed var(--line); }
.podium__card--1 .avatar--anon { background: rgba(255,255,255,.08) !important; color: rgba(255,255,255,.5) !important; border-color: rgba(255,255,255,.2); }
.lb-mine { margin: -8px 0 20px; font-size: .92rem; color: var(--charcoal); }
.lb-mine b { color: var(--orange-deep); }
.lb-empty { padding: 36px 24px; text-align: center; color: var(--grey); list-style: none; }

/* ---------- Wall: live extras ---------- */
.post__report { margin-left: auto; background: none; border: 0; color: var(--grey); font: inherit; font-size: .8rem; cursor: pointer; padding: 6px; }
.post__report:hover { color: var(--orange-deep); text-decoration: underline; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 1200; background: var(--black); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: .9rem; box-shadow: 0 12px 32px rgba(0,0,0,.25); animation: toast-in .25s ease; max-width: min(92vw, 520px); }
.toast--bad { background: #B3261E; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
.hype-list .muted { list-style: none; }
.is-member .lb-foot--visitor { display: none; }
.aside-card--dark .display { color: var(--white); }

/* ---------- Portal: tab bar with identity, embedded board + wall ---------- */
.portal__bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.portal__bar .ptabs { margin-bottom: 0; flex: 1 1 auto; min-width: 0; }
.portal__who { display: flex; align-items: center; gap: 12px; font-size: .9rem; }
.portal__who .avatar { width: 40px; height: 40px; font-size: .8rem; }
.ptab { animation: ptab-in .32s ease both; }
@keyframes ptab-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ptab--board .lb-mine { margin-top: 4px; }
.ptab.wall .composer { margin-bottom: 18px; }
@media (min-width: 1000px) { .ptab.wall .wall__aside { top: 110px; } }
/* signed in: the hero becomes a slim greeting so the tabs sit right under the header */
body.is-member-dash #members-hero { min-height: 0 !important; }
body.is-member-dash #members-hero .page-hero__inner { padding-top: calc(var(--header-h) + 26px); padding-bottom: 30px; }
body.is-member-dash #members-hero .crumbs { margin-bottom: 8px; }
body.is-member-dash #members-hero .display-xl { font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1; }
body.is-member-dash #members-hero .page-hero__sub { margin-top: 10px; font-size: 1rem; max-width: 560px; }
body.is-member-dash #members-body { padding-top: 28px; }

/* ---------- Portal: Q&A, Updates, Polls ---------- */
.ptabs__n { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px; border-radius: 999px; background: var(--orange); color: var(--white); font-size: .62rem; font-style: normal; letter-spacing: 0; vertical-align: 1px; }
.ptabs a[aria-current="page"] .ptabs__n { background: var(--white); color: var(--black); }

.updates { display: grid; gap: 16px; }
.update { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); display: grid; gap: 12px; }
.update--pinned { border-color: var(--orange); }
.update header { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--grey); }
.update__dot { display: none; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(242,98,30,.18); }
.update.is-unread .update__dot { display: inline-block; }
.update h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1; letter-spacing: .01em; }
.update__body { display: grid; gap: 10px; color: var(--charcoal); line-height: 1.6; }
.update__body a { color: var(--orange-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.update footer { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .85rem; padding-top: 12px; border-top: 1px solid var(--line); }

.polls { display: grid; gap: 16px; }
.poll { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); display: grid; gap: 16px; }
.poll header { display: grid; gap: 6px; }
.poll header .eyebrow { margin-bottom: 2px; }
.poll h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.05; }
.poll header p:not(.eyebrow) { color: var(--charcoal); }
.poll__opts { display: grid; gap: 8px; }
.poll__opt { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--off-white); cursor: pointer; overflow: hidden; transition: border-color .2s, background-color .2s; }
.poll__opt:hover { border-color: var(--black); }
.poll__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.poll__opt input:focus-visible ~ .poll__label { outline: 2px solid var(--orange); outline-offset: 4px; }
.poll__opt.is-mine { border-color: var(--orange); background: var(--white); }
.poll__opt.is-mine .poll__label::before { content: "\2713  "; color: var(--orange-deep); font-weight: 800; }
.poll__label, .poll__pct { position: relative; z-index: 1; font-weight: 700; }
.poll__pct { font-size: .85rem; color: var(--orange-deep); }
.poll__bar { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w, 0%); background: rgba(242,98,30,.12); transition: width .6s var(--ease); }
.poll--closed .poll__opt { cursor: default; }
.poll--closed .poll__opt:hover { border-color: var(--line); }
.poll footer { margin: 0; }

.qlist { display: grid; gap: 14px; }
.qa { display: grid; gap: 10px; padding: 18px 0; border-top: 1px solid var(--line); }
.qa:first-child { border-top: 0; padding-top: 0; }
.qa header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .9rem; }
.qa header time { color: var(--grey); font-size: .8rem; margin-left: auto; }
.qa__q { font-size: 1.05rem; line-height: 1.55; color: var(--black); }
.qa__answer { display: grid; gap: 6px; padding: 16px 18px; border-left: 3px solid var(--orange); background: var(--orange-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; line-height: 1.55; }
.qa__answer .eyebrow { margin-bottom: 2px; }
.qa__wait { font-size: .85rem; color: var(--grey); font-style: italic; }
.qa footer { display: flex; justify-content: space-between; gap: 12px; font-size: .85rem; }
.qa footer a { color: var(--orange-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ask { display: grid; gap: 12px; }
.ask textarea { width: 100%; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-sm); background: rgba(255,255,255,.06); color: var(--white); font: inherit; font-size: .95rem; line-height: 1.5; padding: 12px 14px; resize: vertical; min-height: 110px; }
.ask textarea::placeholder { color: rgba(255,255,255,.4); }
.ask textarea:focus { outline: none; border-color: var(--orange); }
.service__pricing b { white-space: nowrap; }

.tt-row.is-full .tt-class h3 { color: var(--grey); }
.tt-row--empty { grid-template-columns: 1fr; color: var(--grey); }

/* ---- GymMaster-fed bits ---- */
.member__media--initials { display: grid; place-items: center; background: linear-gradient(160deg, var(--black), #2a2a2a); color: var(--orange); font-family: var(--font-display); font-size: clamp(4rem, 8vw, 6rem); }
.member__week { font-size: .82rem; font-weight: 700; color: var(--orange-deep); }
.hint-line { margin-top: 18px; font-size: .82rem; color: var(--grey); }
.mt-l { margin-top: 32px; }
.service--plain { grid-template-rows: auto; }
.service--plain .service__body { padding-top: 32px; }
.tt-legend button.chip { cursor: pointer; border: 1px solid transparent; font: inherit; }
.tt-legend button.chip.is-on { background: var(--black); color: var(--white); }
.offer__price s { max-width: 100%; }

.finder__plans { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.finder__plans li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; background: var(--off-white); border-radius: 8px; font-size: .9rem; }
.finder__plans b { font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; color: var(--black); white-space: nowrap; }
.form__error { display: block; }

/* ---------- Q&A: private coach chat ---------- */
.qthreads { display: grid; gap: 10px; }
.qthread { text-align: left; display: grid; gap: 4px; width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--off-white); cursor: pointer; font: inherit; color: inherit; transition: border-color .2s; }
.qthread:hover { border-color: var(--black); }
.qthread.is-unread { border-color: var(--orange); background: var(--white); }
.qthread__top { display: flex; justify-content: space-between; gap: 12px; }
.qthread__top time { font-size: .78rem; color: var(--grey); white-space: nowrap; }
.qthread__meta { font-size: .8rem; color: var(--grey); }
.qthread__meta b { color: var(--orange-deep); }
.qthread__preview { font-size: .9rem; color: var(--charcoal); }
.chatlog { display: grid; gap: 10px; max-height: 55vh; overflow: auto; padding: 4px 2px; }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: var(--orange-soft); }
.bubble--coach { margin-left: auto; background: var(--off-white); border-radius: 14px 14px 4px 14px; }
.bubble small { display: block; font-size: .72rem; color: var(--grey); margin-bottom: 3px; }
.bubble p { white-space: pre-wrap; line-height: 1.5; }
.chatform { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.chatform textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; font: inherit; resize: vertical; background: var(--off-white); }
.chatform textarea:focus { outline: none; border-color: var(--orange); background: var(--white); }
.field--dark { display: grid; gap: 6px; }
.field--dark > span { font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.field--dark select, .field--dark input { width: 100%; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-sm); background: rgba(255,255,255,.06); color: var(--white); font: inherit; padding: 10px 12px; }
.field--dark select option { color: var(--black); }
.field--dark select:focus, .field--dark input:focus { outline: none; border-color: var(--orange); }

.breakdown { font-size: .85rem; color: var(--grey); }
.breakdown b { color: var(--charcoal); font-weight: 700; }
.feed__more { justify-self: center; margin: 8px auto 0; display: block; }
.reply__del { background: none; border: 0; padding: 0 0 0 10px; font: inherit; font-size: .75rem; color: var(--grey); cursor: pointer; text-decoration: underline; }
.reply__del:hover { color: var(--orange-deep); }
.join-nudge { grid-column: 1 / -1; margin: 0 0 16px; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--orange-soft); color: var(--charcoal); font-size: .92rem; }
.join-nudge a { color: var(--orange-deep); font-weight: 700; text-decoration: underline; }


/* ---------- Live gym traffic (member overview) ---------- */
.portal__traffic .portal__card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.traffic { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; margin: 6px 0 4px; }
.traffic__gauge b { display: block; font-size: 2.4rem; line-height: 1; font-weight: 800; letter-spacing: -.02em; }
.traffic__gauge span { display: block; font-size: .85rem; opacity: .75; margin-top: 4px; }
.traffic__bar { height: 14px; border-radius: 999px; background: rgba(127,127,127,.18); overflow: hidden; }
.traffic__bar i { display: block; height: 100%; width: 0; border-radius: 999px; transition: width .6s ease; background: #4caf7d; }
.traffic__bar i.is-moderate { background: #e3a93a; }
.traffic__bar i.is-busy { background: #e0553f; }
.traffic__hours { display: flex; align-items: flex-end; gap: 3px; height: 64px; margin-top: 12px; }
.traffic__h { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; position: relative; }
.traffic__h i { display: block; width: 100%; border-radius: 3px 3px 0 0; background: rgba(127,127,127,.35); min-height: 4px; }
.traffic__h.is-now i { background: var(--accent, #e0553f); }
.traffic__h small { position: absolute; bottom: -16px; font-size: .62rem; opacity: .65; white-space: nowrap; }
.traffic__hours { margin-bottom: 18px; }

/* ---------- Membership pause ---------- */
.portal__aside--hold .field input, .portal__aside--hold .field select { width: 100%; }
.holds { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.holds__item { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.08); font-size: .9rem; }
.holds__item em { font-style: normal; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.14); white-space: nowrap; }
.holds__item.is-active em { background: #e3a93a; color: #1a1a1a; }
.holds__item.is-ended { opacity: .55; }

/* ---------- Your details form ---------- */
.portal__form--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-top: 12px; }
.portal__form--grid .field--wide { grid-column: 1 / -1; }
.portal__form--grid .eyebrow { margin: 8px 0 0; }
.portal__form--grid textarea { width: 100%; font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(127,127,127,.3); background: transparent; color: inherit; }
@media (max-width: 640px) { .portal__form--grid { grid-template-columns: 1fr; } .traffic { grid-template-columns: 1fr; } }

.tt-low { color: #e0553f; font-weight: 600; }


/* ---------- Team page: groups, story button, owner quote, bio dialog ---------- */
.team-group { font-family: var(--font-display); font-size: clamp(1.6rem, 2.4vw, 2rem); text-transform: uppercase; letter-spacing: .02em; margin: 56px 0 24px; display: flex; align-items: center; gap: 16px; }
.team-group::after { content: ""; flex: 1; height: 1px; background: rgba(0,0,0,.12); }
.section-head + .team-group { margin-top: 8px; }
.member__photo { all: unset; display: block; cursor: pointer; border-radius: var(--radius-lg); }
.member__photo:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.member__bio { color: rgba(0,0,0,.72); }
.member__more { all: unset; cursor: pointer; align-self: flex-start; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--black); border-bottom: 2px solid var(--orange); padding-bottom: 4px; transition: color .2s, gap .2s; display: inline-flex; gap: 8px; }
.member__more:hover, .member__more:focus-visible { color: var(--orange); gap: 12px; }
.member { gap: 18px; }

.team-quote { margin: 64px 0 8px; padding: clamp(28px, 4vw, 48px); background: var(--black); color: #fff; border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.team-quote { border-left: 6px solid var(--orange); }
.team-quote blockquote { font-family: var(--font-display); font-size: clamp(1.5rem, 2.8vw, 2.3rem); line-height: 1.15; text-transform: uppercase; max-width: 30ch; margin: 0; }
.team-quote figcaption { margin-top: 18px; font-size: .9rem; opacity: .75; }
.team-quote figcaption strong { color: var(--orange); opacity: 1; }

.bio { border: 0; padding: 0; border-radius: var(--radius-lg); max-width: min(960px, calc(100vw - 32px)); width: 100%; max-height: calc(100dvh - 32px); background: #fff; color: var(--black); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.bio::backdrop { background: rgba(10,10,10,.72); backdrop-filter: blur(4px); }
.bio[open] { animation: bio-in .35s var(--ease) both; }
@keyframes bio-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.bio__inner { display: grid; grid-template-columns: 1fr; max-height: calc(100dvh - 32px); }
@media (min-width: 820px) { .bio__inner { grid-template-columns: 340px 1fr; } }
.bio__media .member__media { border-radius: 0; height: 100%; aspect-ratio: auto; min-height: 260px; max-height: 42vh; }
@media (min-width: 820px) { .bio__media .member__media { max-height: none; } }
.bio__media .member__media img { filter: none; }
.bio__body { position: relative; padding: clamp(24px, 4vw, 44px); overflow-y: auto; }
.bio__body .display { margin: 6px 0 18px; }
.bio__text p { margin: 0 0 14px; line-height: 1.65; color: rgba(0,0,0,.78); }
.bio__quote { margin: 18px 0; padding-left: 16px; border-left: 3px solid var(--orange); font-style: italic; color: var(--black); }
.bio__close { all: unset; cursor: pointer; position: absolute; z-index: 2; top: 12px; right: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.15); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; line-height: 1; background: var(--orange-soft); color: var(--orange-deep); }
.bio__close:hover, .bio__close:focus-visible { background: var(--orange); color: #fff; }
.bio__close { background: #fff; color: var(--black); }
@media (max-width: 819px) { .bio__media .member__media { min-height: 0; height: 220px; } .bio__media .member__media img { object-position: center 20%; } }
.has-dialog body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .bio[open] { animation: none; } }


/* ---------- Partners: third card, red mark, embedded booking ---------- */
@media (min-width: 1180px) { .partners { grid-template-columns: repeat(3, 1fr); } }
.partner__mark--red, .partner-card__mark--red { background: #d7261e; color: #fff; }
.partner__mark--sage, .partner-card__mark--sage { background: #4f7f6a; color: #fff; }
.partner__mark--navy, .partner-card__mark--navy { background: #0b1f3a; color: #fff; }
/* a designed poster in the media slot (WBW): shown whole, never cropped */
.partner__media--poster { aspect-ratio: 4 / 3; background: #0b1f3a; }
.partner__media--poster a { display: block; width: 100%; height: 100%; }
.partner__media--poster img { object-fit: contain; }
.partner__caption { position: absolute; right: 18px; bottom: 14px; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
/* the WBW poster already shows its logo, button and address: no mark or caption over it, chip in the empty top-right corner */
.partner--wbw .partner__mark, .partner--wbw .partner__caption { display: none; }
.partner--wbw .partner__media .chip { left: auto; right: 18px; }
.partner__contact { margin: 12px 0 0; }
.partner__contact a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* linked offer banner under the partner grid */
.offer-banner { display: block; border-radius: 22px; overflow: hidden; box-shadow: 0 18px 50px rgba(0, 0, 0, .18); transition: transform .25s, box-shadow .25s; }
.offer-banner:hover { transform: translateY(-2px); box-shadow: 0 24px 60px rgba(0, 0, 0, .24); }
.offer-banner img { display: block; width: 100%; height: auto; }
@media (max-width: 720px) {
  .partner__media--poster { aspect-ratio: 1; }
  .partner__media--poster img { object-fit: cover; object-position: 0% 0%; }   /* the logo corner as the phone thumbnail */
  .partner__caption { display: none; }
}
.booking-embed { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.booking-embed__banner { aspect-ratio: 1400 / 518; background: #1a0d0b; }
.booking-embed__banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.booking-embed__head { display: grid; gap: 16px; padding: clamp(24px, 4vw, 44px) clamp(20px, 4vw, 44px) 8px; align-items: end; }
@media (min-width: 900px) { .booking-embed__head { grid-template-columns: 1fr 1.2fr; } }
.booking-embed__head a { color: var(--orange-deep); font-weight: 700; }
.booking-embed__frame { display: block; width: 100%; height: 1000px; border: 0; background: var(--white); }

/* ---------- Wall reactions: emoji + word, count only when someone reacted ---------- */
.react { gap: 7px; padding: 7px 14px 7px 10px; font-size: .8rem; letter-spacing: .01em; }
.react__emoji { font-size: 1.05rem; line-height: 1; }
.react__label { font-weight: 700; }
.react__n { min-width: 18px; padding: 1px 6px; border-radius: 999px; background: var(--orange-soft); color: var(--orange-deep); font-size: .72rem; text-align: center; }
.react__n[hidden] { display: none; }
.react.is-on .react__n { background: rgba(255,255,255,.25); color: #fff; }
@media (max-width: 480px) { .react { padding: 6px 10px 6px 8px; } .react__label { font-size: .74rem; } }

/* ---------- Member bookings ---------- */
.bk-count { font-style: normal; display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 999px; background: var(--orange); color: #fff; font-size: .7rem; letter-spacing: 0; vertical-align: 1px; }
.bks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.bk { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); transition: opacity .3s, transform .3s; }
.bk.is-gone { opacity: 0; transform: translateX(12px); }
.bk--wait { border-style: dashed; }
.bk__date { display: grid; place-items: center; align-content: center; gap: 0; border-radius: 12px; background: var(--black); color: #fff; padding: 8px 4px; text-transform: uppercase; height: fit-content; }
.bk__date span { font-size: .66rem; font-weight: 800; letter-spacing: .12em; opacity: .75; }
.bk__date b { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: var(--orange); }
.bk__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bk__top strong { font-size: 1.08rem; margin-right: 4px; }
.bk__when { margin: 6px 0 0; font-weight: 600; }
.bk__meta { margin: 2px 0 0; color: rgba(0,0,0,.6); font-size: .9rem; }
.bk__policy { margin: 10px 0 0; font-size: .84rem; color: rgba(0,0,0,.6); }
.bk__policy.is-late { color: var(--orange-deep); }
.bk__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 12px; }
.bk__confirm { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; }
.bk__confirm[hidden] { display: none; }
.linkbtn { all: unset; cursor: pointer; font-size: .82rem; font-weight: 700; color: var(--black); border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.linkbtn:hover, .linkbtn:focus-visible { color: var(--orange-deep); }
.bk-empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0 0; }
.bk-empty p { margin: 0; color: rgba(0,0,0,.6); }
@media (max-width: 520px) { .bk { grid-template-columns: 52px 1fr; gap: 12px; padding: 14px; } .bk__date b { font-size: 1.5rem; } }
.bk__status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #e7f6ec; color: #1f7a3f; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bk__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.bk__status.is-wait { background: #fff4dc; color: #8a5a00; }
.bk { color: var(--black); }
.bk__when { color: var(--black); }

/* ---------- Skeleton placeholders (instead of "Loading...") ---------- */
.skel { display: block; height: 14px; margin: 10px 0; border-radius: 8px; background: linear-gradient(90deg, rgba(127,127,127,.12) 25%, rgba(127,127,127,.24) 37%, rgba(127,127,127,.12) 63%); background-size: 400% 100%; animation: shimmer 1.3s ease infinite; }
.skel--short { width: 55%; }
.portal__aside .skel { background: linear-gradient(90deg, rgba(255,255,255,.08) 25%, rgba(255,255,255,.18) 37%, rgba(255,255,255,.08) 63%); background-size: 400% 100%; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } }
/* tab switches fade in instead of popping */
.ptab:not([hidden]) { animation: tabIn .22s ease both; }
@keyframes tabIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ptab:not([hidden]) { animation: none; } }

/* ---------- Booking feedback: busy / done / shake, toast with action ---------- */
.spin { display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn.is-busy { opacity: .9; cursor: progress; }
.btn.is-done { background: #1f7a3f !important; border-color: #1f7a3f !important; color: #fff !important; }
.btn.is-confirm { background: #b3261e; border-color: #b3261e; color: #fff; }
.tt-book, .tt-cancel { min-width: 132px; justify-content: center; }
.tt-note { font-size: .78rem; color: var(--orange-deep); font-weight: 700; max-width: 140px; text-align: right; }
.tt-row { transition: border-color .3s, background-color .6s, box-shadow .3s; }
.tt-row.is-mine { border-color: var(--orange); }
.tt-row.is-flash { background-color: #f0faf3; }
.tt-row[aria-busy="true"] { box-shadow: 0 0 0 3px rgba(242,98,30,.15); }
.tt-row.is-shake { animation: shake .35s ease; }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.portal__flash { display: flex; align-items: center; gap: 12px; max-width: min(560px, calc(100vw - 32px)); opacity: 0; transform: translate(-50%, 16px); transition: opacity .22s ease, transform .22s ease; }
.portal__flash.is-in { opacity: 1; transform: translate(-50%, 0); }
.flash__icon { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #1f7a3f; color: #fff; font-size: .8rem; font-weight: 900; }
.portal__flash.is-bad .flash__icon { background: #fff; color: #b3261e; }
.flash__msg { line-height: 1.35; }
.flash__act { all: unset; cursor: pointer; flex: none; padding: 6px 12px; border-radius: 999px; background: var(--orange); color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .04em; }
.flash__act:hover, .flash__act:focus-visible { background: #fff; color: var(--black); }
@media (prefers-reduced-motion: reduce) { .spin, .tt-row.is-shake { animation: none; } .portal__flash { transition: none; } }

/* ---------- Member goals ---------- */
.goals { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.goal { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; }
.goal strong { font-size: 1rem; }
.goal small { display: block; margin-top: 2px; color: rgba(0,0,0,.6); font-size: .82rem; }
.goal__dot { width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--orange); }
.goal__tick { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #1f7a3f; color: #fff; font-size: .75rem; font-weight: 900; }
.goal.is-done { background: #f6fbf7; border-color: #d7efdf; }
.goal.is-done strong { color: rgba(0,0,0,.75); }
.goal__pts { font-family: var(--font-display); font-size: 1.2rem; color: #1f7a3f; }
.goal__pts--open { color: var(--orange); opacity: .8; }
.goal--empty { grid-template-columns: 1fr; color: rgba(0,0,0,.65); border-style: dashed; }
/* personal bests reuse the goal rows: orange PB marker, a lighter tint for superseded bests */
.goal__tick--pb { background: var(--orange); font-size: .5rem; letter-spacing: .5px; }
.goal.is-done:not(.is-best) .goal__tick--pb { background: rgba(0,0,0,.35); }
.goal.is-done:not(.is-best) strong { color: rgba(0,0,0,.55); }

/* ==========================================================================
   Mobile, round 4: compact cards, tap-to-load embeds, quicker motion
   ========================================================================== */

/* Touch: no grey flash, no double-tap zoom delay, no sticky hover lifts */
a, button, summary, label, [role="button"] { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
@media (hover: none) {
  .btn:hover, .service:hover, .partner:hover, .value:hover, .score:hover, .mini-plan:hover, .partner-card:hover { transform: none; box-shadow: none; }
  .member:hover .member__media img, .service:hover .service__media img, .mini-plan:hover .mini-plan__thumb img, .partner-card:hover .partner-card__thumb img { transform: none; }
  .btn:active { transform: scale(.97); }
}

/* "More" under clamped text */
.clamp-more { all: unset; cursor: pointer; justify-self: start; align-self: start; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-deep); border-bottom: 2px solid currentColor; padding-bottom: 2px; margin-top: -6px; }
.clamp-more:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.clamp-more[hidden] { display: none; }
@media (max-width: 759px) {
  [data-clamp]:not(.is-open) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}

/* Jump chips (memberships) */
.jump { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: -8px 0 28px; padding: 2px 0; -webkit-overflow-scrolling: touch; }
.jump::-webkit-scrollbar { display: none; }
.jump a { flex: none; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--black); transition: background-color .25s, color .25s, border-color .25s; }
.jump a:hover, .jump a[aria-current] { background: var(--black); border-color: var(--black); color: var(--white); }
.jump a[hidden] { display: none; }
.service, .partner { scroll-margin-top: calc(var(--header-h) + 72px); }
@media (max-width: 759px) {
  .jump { position: sticky; top: var(--header-h); z-index: 20; margin: -12px calc(-1 * var(--gutter)) 16px; padding: 10px var(--gutter); background: rgba(244, 242, 239, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: top .5s var(--ease); }
  body:has(.site-header.is-hidden) .jump { top: 0; }
  .jump a { padding: 9px 14px; font-size: .68rem; }
}

/* Cliniko gate */
.booking-embed__frame[hidden] { display: none; }
.booking-embed__gate { display: grid; justify-items: start; gap: 10px; padding: 8px clamp(20px, 4vw, 44px) clamp(24px, 4vw, 40px); }
.booking-embed__gate[hidden] { display: none; }
.booking-embed__gate small { color: var(--grey); font-size: .82rem; }

@media (max-width: 759px) {
  /* ---- Membership cards: photo thumb beside the title, text clamped ---- */
  .services { gap: 14px; }
  .service { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 12px 14px; padding: 14px; border-radius: var(--radius-md); }
  .service__media { aspect-ratio: 1; border-radius: 14px; }
  .service__media .chip, .service__media .price-chip { display: none; }
  .service__body { display: contents; }
  .service__body > :not(.service__title) { grid-column: 1 / -1; }
  .service__title { font-size: 1.55rem; }
  .service--plain, .service--live { grid-template-columns: 1fr; padding: 18px; }
  .service__text { font-size: .92rem; line-height: 1.55; }
  .service__toggle { margin-top: -6px; justify-self: start; }
  .service__pricing { padding: 12px 14px; }
  .service__foot { padding-top: 0; }

  /* ---- Partner cards: same compact pattern ---- */
  .partners { gap: 14px; }
  .partner { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 12px 14px; padding: 14px; border-radius: var(--radius-md); }
  .partner__media { aspect-ratio: 1; border-radius: 14px; }
  .partner__media .chip, .partner__mark { display: none; }
  .partner__body { display: contents; }
  .partner__body > :not(:first-child) { grid-column: 1 / -1; }
  .partner__name { font-size: 1.55rem; }
  .partner__type { font-size: .62rem; letter-spacing: .12em; margin-bottom: 4px; }
  .partner [data-clamp] { font-size: .92rem; line-height: 1.55; }
  .partner__services { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -14px; padding-inline: 14px; }
  .partner__services::-webkit-scrollbar { display: none; }
  .partner__services .chip { flex: none; }
  .partner__perk { padding: 10px 12px; font-size: .82rem; gap: 10px; }
  .partner__foot { padding-top: 0; flex-direction: column; align-items: stretch; gap: 4px; }
  .partner__foot .btn { justify-content: center; }
  .partner__foot .btn--outline { border: 0; min-height: 36px; background: none; color: var(--grey); text-decoration: underline; text-underline-offset: 4px; }
  .partner .clamp-more[aria-expanded="false"]:not([hidden]) ~ .partner__perk { display: none; }
  .partner [data-clamp], .service__text { margin: 0; }
  .booking-embed__head { padding: 20px 18px 4px; gap: 10px; }
  .booking-embed__head p { font-size: .9rem; }
  .booking-embed__gate { padding: 12px 18px 22px; justify-items: stretch; text-align: center; }

  /* ---- Team: two photos per row, full story in the tap-to-open card ---- */
  .team { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .member { gap: 10px; }
  .member__media { border-radius: 16px; }
  .member__name { font-size: 1.6rem; }
  .member__role { font-size: .6rem; letter-spacing: .1em; margin-top: 4px; }
  .member__bio, .member__tags { display: none; }
  .member__more { font-size: .64rem; letter-spacing: .1em; }
  .team-quote { margin-top: 36px; }

  /* ---- Icon + text rows instead of tall boxes ---- */
  .value-grid { gap: 10px; }
  .value { grid-template-columns: 44px 1fr; gap: 2px 14px; padding: 16px 18px; }
  .value__icon { width: 44px; height: 44px; border-radius: 12px; grid-row: span 2; align-self: start; }
  .value__icon svg { width: 20px; height: 20px; }
  .value h3 { font-size: 1.25rem; }
  .value p { grid-column: 2; font-size: .9rem; }

  /* ---- Leaderboard: point values two to a row ---- */
  .score-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .score { padding: 16px; gap: 4px; }
  .score__pts { font-size: 2.1rem; }
  .score h3 { font-size: .92rem; margin-top: 2px; }
  .score p { font-size: .8rem; line-height: 1.45; }

  /* ---- Quicker, shorter motion on small screens ---- */
  .js [data-reveal] { transform: translate3d(calc(var(--tx, 0px) * .4), calc(var(--ty, 36px) * .5), 0) scale(var(--sc, 1)); transition-duration: .6s, .7s; }
  .js [data-reveal] :is(.media:not(.collage__float), .member__media, .service__media, .plan__media, .signup__media) { transition-duration: .8s; }
  .js [data-reveal] :is(.media, .member__media, .service__media, .plan__media, .signup__media) > img { scale: 1.08; transition-duration: 1s, .8s; }

}
@media (hover: none) { .offer:hover, .badge-card:hover { transform: none; box-shadow: none; } }
@media (max-width: 759px) {
  /* ---- Steps: number beside the title ---- */
  .steps { gap: 12px; }
  .step { display: grid; grid-template-columns: 58px 1fr; column-gap: 14px; padding: 20px 20px 22px; border-radius: var(--radius-md); }
  .step::before { font-size: 2.9rem; margin: 0; grid-row: span 2; }
  .step h3 { font-size: 1.4rem; margin: 4px 0 6px; }
  .step p { grid-column: 2; font-size: .92rem; margin: 0; }

  /* ---- Offer cards ---- */
  .offers { gap: 12px; }
  .offer { padding: 20px 20px 22px; gap: 8px; border-radius: var(--radius-md); }
  .offer__price b { font-size: 2.9rem; }
  .offer__save { top: 16px; right: 16px; }
  .offer p { font-size: .92rem; margin: 0; }
  .offer .btn { margin-top: 6px; }

  /* ---- Badges ---- */
  .badges { gap: 10px; }
  .badge-card { padding: 16px; gap: 4px; }
  .badge-card__icon { width: 42px; height: 42px; margin-bottom: 6px; }
  .badge-card__icon svg { width: 20px; height: 20px; }
  .badge-card h3 { font-size: 1.2rem; }
  .badge-card p { font-size: .82rem; line-height: 1.45; }

  /* ---- Forms: first + last name share a row, tighter rhythm (inputs stay 16px so iOS doesn't zoom) ---- */
  .form-card { padding: 22px 18px; }
  .form-grid { grid-template-columns: 1fr 1fr; gap: 14px 10px; }
  .form-grid > * { grid-column: 1 / -1; }
  .form-grid > .field:has(#fname), .form-grid > .field:has(#lname) { grid-column: auto; }
  .field { gap: 6px; }
  .field input, .field select { padding: 13px 14px; }
  .field textarea { min-height: 120px; padding: 13px 14px; }
}

/* ---------- Fixes: challenge %, sticky bar, home swipe rows ---------- */
.challenge__pct { display: flex; align-items: center; justify-content: center; gap: 1px; } /* number and % on one line */
.ch-count { color: var(--orange); font-size: 1.15em; }
@media (max-width: 759px) {
  /* one whole card at a time: no half cards peeking in, no fades over them */
  .swipe-wrap--dots { margin-inline: 0; }
  .swipe-wrap--dots > .snap-m.snap-m, .snap-m.snap-m { gap: var(--gutter); margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
  .snap-m.snap-m > * { flex-basis: 100%; scroll-snap-stop: always; }
  .snap-m.tiles > * { aspect-ratio: 5 / 4; }
  .swipe-wrap--dots::before, .swipe-wrap--dots::after { display: none; }
}

/* plain text pages (privacy) */
.legal { max-width: 800px; }
.legal h2 { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .01em; margin: 36px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 1.02rem; line-height: 1.7; color: rgba(0,0,0,.8); }
.legal ul { padding-left: 22px; margin: 8px 0 16px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--orange-deep); text-decoration: underline; text-underline-offset: 3px; }
