/* ==========================================================================
   Premiere Fitness — main stylesheet
   Concept: gym-floor signage. Cool wall grey, rubber-floor black,
   oversized condensed type, one accent color per brand.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --wall: #eceef0;          /* painted cinder-block wall */
  --paper: #ffffff;
  --rubber: #18191c;        /* rubber floor / turf */
  --rubber-2: #222429;
  --steel: #666b73;         /* chrome, secondary text */
  --line: #d3d6da;
  --line-dark: #34373d;

  --red: #e0262f;           /* Premiere Fitness / Power Blendz */
  --blue: #2b4fd8;          /* Athletix */
  --pink: #ec1c8c;          /* Premiere Lady */
  --gold: #f5a01a;          /* Premiere Tans */

  --accent: var(--red);
  --accent-ink: #fff;

  --font-display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", "DejaVu Sans Condensed", Impact, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* type scale (perfect fourth-ish, fluid) */
  --t-xs: .8125rem;
  --t-sm: .9375rem;
  --t-md: 1.0625rem;
  --t-lg: clamp(1.2rem, 1.1rem + .4vw, 1.4rem);
  --t-xl: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem);
  --t-2xl: clamp(2.4rem, 1.8rem + 2.8vw, 4rem);
  --t-3xl: clamp(3.2rem, 2rem + 6vw, 7.5rem);
  --t-mega: clamp(4.5rem, 2rem + 14vw, 17rem);

  --gutter: clamp(1rem, .6rem + 2vw, 2.5rem);
  --max: 1280px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 92px;
}

[data-brand="athletix"] { --accent: var(--blue); }
[data-brand="lady"]     { --accent: var(--pink); }
[data-brand="tans"]     { --accent: var(--gold); --accent-ink: var(--rubber); }
[data-brand="fitness"]  { --accent: var(--red); }
[data-brand="nutrition"]{ --accent: var(--red); }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--t-md);
  line-height: 1.6;
  color: var(--rubber);
  background: var(--wall);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, iframe { display: block; max-width: 100%; }
[hidden]:not(.day) { display: none !important; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 999; background: var(--accent); color: var(--accent-ink); padding: .6rem 1rem; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 1rem; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.005em;
  margin: 0 0 .5em;
  text-transform: uppercase;
}
h1 { font-size: var(--t-3xl); font-weight: 900; }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-xl); line-height: 1; }
h4 { font-size: var(--t-lg); line-height: 1.1; letter-spacing: .01em; }
p { margin: 0 0 1.1em; }
.lede { font-size: var(--t-lg); line-height: 1.5; max-width: 62ch; }
.prose { max-width: 66ch; }
.prose a, .text-link { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; font-weight: 600; }
.prose a:hover, .text-link:hover { color: var(--accent); }
.muted { color: var(--steel); }
.small { font-size: var(--t-sm); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 3rem + 5vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 2rem + 3vw, 5rem); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--rubber); color: #f1f2f3; }
.section--dark .muted { color: #a3a8b0; }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); max-width: 60rem; }
.section-head p { margin: 0; max-width: 58ch; }
.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr .95fr; }
  .split--flip > :first-child { order: 2; }
  .split--top { align-items: start; }
}
.stack > * + * { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--accent); --b-fg: var(--accent-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.6rem;
  background: var(--b-bg); color: var(--b-fg);
  border: 2px solid var(--b-bg); border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--rubber); transform: translateY(101%); transition: transform .35s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: #fff; border-color: var(--rubber); }
.btn--ghost { --b-bg: transparent; --b-fg: currentColor; border-color: currentColor; }
.btn--ghost::before { background: currentColor; }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--rubber); border-color: #fff; }
.btn--ghost:hover::before { background: #fff; }
.section--paper .btn--ghost:hover, .section:not(.section--dark) .btn--ghost:hover { color: #fff; border-color: var(--rubber); }
.section:not(.section--dark) .btn--ghost:hover::before { background: var(--rubber); }
.on-dark .btn:hover, .section--dark .btn:hover { border-color: #fff; color: var(--rubber); }
.on-dark .btn:hover::before, .section--dark .btn:not(.btn--ghost):hover::before { background: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn svg { width: 1.1em; height: 1.1em; }

/* ---------- Top bar & header ---------- */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.55); } 70% { box-shadow: 0 0 0 8px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(24, 25, 28, .0);
  color: #fff;
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-solid, body:not(.has-hero) .site-header { background: rgba(24, 25, 28, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line-dark); }
body:not(.has-hero) main { padding-top: var(--header-h); }
@media (min-width: 1080px) { :root { --header-h: 128px; } }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; transition: height .35s var(--ease); }
.site-header.is-solid .wrap { height: calc(var(--header-h) - 28px); }
.brand-mark { display: flex; align-items: center; flex-shrink: 0; }
.brand-mark img { height: 64px; width: auto; transition: height .35s var(--ease); }
.site-header.is-solid .brand-mark img { height: 48px; }
@media (min-width: 1080px) { .brand-mark img { height: 96px; } .site-header.is-solid .brand-mark img { height: 70px; } }

.nav { display: none; }
@media (min-width: 1080px) {
  .nav { display: flex; align-items: center; gap: .25rem; }
  .nav-toggle { display: none !important; }
}
.nav__item { position: relative; }
.nav__link { white-space: nowrap; }
@media (min-width: 1080px) {
  .nav { gap: 0; }
  .nav .nav__link { font-size: .95rem; padding: .55rem .6rem; letter-spacing: .03em; }
  .nav .nav__link::after { left: .6rem; right: .6rem; }
}
@media (min-width: 1080px) and (max-width: 1239px) {
  .nav .nav__link { font-size: .86rem; padding: .5rem .45rem; letter-spacing: .02em; }
  .nav .nav__link::after { left: .45rem; right: .45rem; }
  .brand-mark img { height: 80px; }
}
.nav__link {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .6rem .85rem; background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: .05em; text-transform: uppercase;
  color: #fff; text-decoration: none; position: relative;
}
.nav__link::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .3rem; height: 3px; background: var(--c, var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__link:hover::after, .nav__link[aria-expanded="true"]::after, .nav__link[aria-current="page"]::after, .nav__item.is-current > .nav__link::after { transform: scaleX(1); }
.nav__link svg { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__item[data-c="athletix"] { --c: var(--blue); }
.nav__item[data-c="lady"] { --c: var(--pink); }
.nav__item[data-c="tans"] { --c: var(--gold); }
.nav__item[data-c="fitness"] { --c: var(--red); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  width: 520px; transform: translate(-50%, 8px);
  display: grid; grid-template-columns: 190px 1fr;
  background: var(--paper); color: var(--rubber);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c, var(--accent)); z-index: 2; }
.nav__item.is-open .dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s; }
.dropdown__media { position: relative; background: var(--rubber); }
.dropdown__media img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.dropdown__media .dropdown__logo { position: absolute; left: 50%; top: 50%; width: 110px; height: 110px; transform: translate(-50%, -50%); object-fit: contain; opacity: 1; filter: drop-shadow(0 8px 18px rgba(0,0,0,.4)); }
.dropdown ul { list-style: none; margin: 0; padding: 1rem .5rem 1rem; }
.dropdown a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .55rem 1rem; border-radius: var(--radius); text-decoration: none; font-weight: 600; font-size: var(--t-sm); transition: background .2s, color .2s; }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--wall); color: var(--c, var(--accent)); }
.dropdown a .ext { font-size: .75rem; color: var(--steel); font-weight: 500; }
.dropdown a.dropdown__join { margin-top: .4rem; background: var(--c, var(--accent)); color: #fff; }
.nav__item[data-c="tans"] .dropdown a.dropdown__join { color: var(--rubber); }
.dropdown a.dropdown__join:hover { background: var(--rubber); color: #fff; }
.dropdown--narrow { width: 300px; grid-template-columns: 1fr; }

.header-cta { display: none; }
@media (min-width: 1240px) { .header-cta { display: inline-flex; min-height: 44px; padding: .55rem 1.1rem; font-size: 1rem; } }

/* mobile menu */
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: none; border: 2px solid rgba(255,255,255,.25); border-radius: var(--radius); cursor: pointer; color: #fff; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: transform .3s var(--ease), background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 90; padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem;
  background: var(--rubber); color: #fff; overflow-y: auto;
  clip-path: circle(0 at calc(100% - 44px) calc(var(--header-h) / 2));
  transition: clip-path .6s var(--ease), visibility 0s .6s; visibility: hidden;
}
.nav-open .mobile-nav { clip-path: circle(150% at calc(100% - 44px) calc(var(--header-h) / 2)); visibility: visible; transition-delay: 0s; }
.nav-open { overflow: hidden; }
.nav-open .site-header { background: var(--rubber); }
.mobile-nav details { border-bottom: 1px solid var(--line-dark); }
.mobile-nav summary, .mobile-nav > a {
  display: flex; justify-content: space-between; align-items: center; list-style: none; cursor: pointer;
  padding: 1rem 0; font-family: var(--font-display); font-weight: 800; font-size: 2rem; text-transform: uppercase; text-decoration: none; letter-spacing: .01em;
}
.mobile-nav > a { border-bottom: 1px solid var(--line-dark); }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::after { content: "+"; font-weight: 400; color: var(--c, var(--accent)); transition: transform .3s var(--ease); }
.mobile-nav details[open] summary::after { transform: rotate(45deg); }
.mobile-nav details[data-c="athletix"] { --c: var(--blue); }
.mobile-nav details[data-c="lady"] { --c: var(--pink); }
.mobile-nav details[data-c="tans"] { --c: var(--gold); }
.mobile-nav ul { list-style: none; margin: 0; padding: 0 0 1rem; border-left: 3px solid var(--c, var(--accent)); }
.mobile-nav ul a { display: block; padding: .55rem 1rem; text-decoration: none; color: #d6d9dd; font-weight: 500; font-size: 1.05rem; }
.mobile-nav ul a:hover, .mobile-nav ul a[aria-current="page"] { color: #fff; }
.mobile-nav .btn-row { margin-top: 2rem; }
.mobile-nav .btn-row .btn { flex: 1 1 200px; }
.mobile-nav .mobile-nav__contact { margin-top: 2rem; color: #a3a8b0; font-size: var(--t-sm); }
.mobile-nav .mobile-nav__contact a { color: #fff; }
.mobile-nav > * { opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.nav-open .mobile-nav > * { opacity: 1; transform: none; }
.nav-open .mobile-nav > *:nth-child(2) { transition-delay: .05s; }
.nav-open .mobile-nav > *:nth-child(3) { transition-delay: .1s; }
.nav-open .mobile-nav > *:nth-child(4) { transition-delay: .15s; }
.nav-open .mobile-nav > *:nth-child(5) { transition-delay: .2s; }
.nav-open .mobile-nav > *:nth-child(n+6) { transition-delay: .25s; }
@media (min-width: 1080px) { .mobile-nav { display: none; } }

/* ---------- Home hero ---------- */
.hero {
  position: relative; min-height: 100svh; min-height: 100vh;
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: end;
  color: #fff; background: var(--rubber); overflow: hidden; isolation: isolate;
}
@supports (min-height: 100svh) { .hero { min-height: 100svh; } }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(24,25,28,.55) 0%, rgba(24,25,28,.15) 30%, rgba(24,25,28,.35) 55%, rgba(24,25,28,.95) 100%),
  linear-gradient(90deg, rgba(24,25,28,.75) 0%, rgba(24,25,28,0) 65%); }
.hero__inner { padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(2.5rem, 2rem + 3vw, 5rem); }
.hero__kicker { display: inline-flex; align-items: center; gap: .75rem; font-weight: 600; font-size: var(--t-sm); color: #e5e7ea; margin-bottom: 1.25rem; }
.hero__kicker img { width: 64px; height: auto; }
.hero h1 { font-size: clamp(2.4rem, .6rem + 7vw, 7rem); line-height: .86; margin: 0 0 1.75rem; letter-spacing: -.01em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .line > span { display: block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
.hero h1 .outline { color: transparent; -webkit-text-stroke: 2px #fff; }
@keyframes rise { to { transform: translateY(0); } }
.hero__bottom { display: grid; gap: 2rem; align-items: end; opacity: 0; animation: fadein 1s .7s var(--ease) forwards; }
@media (min-width: 900px) { .hero__bottom { grid-template-columns: 1fr auto; } }
.hero__bottom p { max-width: 46ch; margin: 0; font-size: var(--t-lg); color: #e5e7ea; }
@keyframes fadein { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
/* ---------- Interior page hero ---------- */
.page-hero {
  position: relative; color: #fff; background: var(--rubber); overflow: hidden; isolation: isolate;
  min-height: clamp(380px, 52vh, 560px); display: grid; grid-template-columns: minmax(0, 1fr); align-items: end;
}
.page-hero__img { position: absolute; inset: 0; z-index: -2; }
.page-hero__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero__img img { width: 100%; height: 115%; object-fit: cover; will-change: transform; animation: settle 1.6s var(--ease) both; }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(24,25,28,.7) 0%, rgba(24,25,28,.35) 45%, rgba(24,25,28,.92) 100%); }
.page-hero .wrap { padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(2rem, 1.5rem + 2.5vw, 3.75rem); }
.page-hero h1 { overflow-wrap: normal; word-break: normal; hyphens: manual; -webkit-hyphens: manual; margin: 0; font-size: clamp(2rem, 1.3rem + 4vw, 5.5rem); line-height: .88; max-width: 14ch; animation: fadein .9s .1s var(--ease) both; }
.page-hero__bar { display: block; width: 72px; height: 6px; background: var(--accent); margin-bottom: 1.25rem; transform-origin: left; animation: grow .8s .3s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem .6rem; padding: 0; margin: 0 0 1rem; font-size: var(--t-sm); color: #c9ccd1; }
.crumbs li + li::before { content: "/"; margin-right: .6rem; color: #7d828a; }
.crumbs a { text-decoration: none; color: #fff; }
.crumbs a:hover { color: var(--accent); }
.page-hero__logo { position: absolute; right: var(--gutter); bottom: clamp(2rem, 1.5rem + 2.5vw, 3.75rem); width: clamp(110px, 8vw + 50px, 210px); filter: drop-shadow(0 10px 24px rgba(0,0,0,.45)); animation: fadein 1s .4s var(--ease) both; }
@media (max-width: 640px) { .page-hero__logo { top: calc(var(--header-h) + 1rem); bottom: auto; width: 92px; } }

/* ---------- Highlights banner (static, wraps to fit) ---------- */
.ticker { background: #fff; color: #111; }
.ticker ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .45rem clamp(1.1rem, .6rem + 1.6vw, 2.2rem); list-style: none; margin: 0 auto; padding: 1.1rem var(--gutter); max-width: var(--max); }
.ticker li { display: flex; align-items: center; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.05rem, .8rem + .9vw, 1.6rem); line-height: 1.2; text-transform: uppercase; white-space: nowrap; letter-spacing: .02em; }
.ticker li::before { content: ""; width: 8px; height: 8px; margin-right: .6rem; background: currentColor; transform: rotate(45deg); opacity: .55; flex: 0 0 auto; }

.noscript-nav { display: flex; flex-wrap: wrap; gap: 1rem; padding: 1rem var(--gutter); background: var(--rubber); }
.noscript-nav a { color: #fff; font-weight: 600; }

/* ---------- Brand panels (home "features") ---------- */
.brands { display: grid; gap: 4px; background: var(--rubber); }
.brand-panel {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 420px; padding: 1.75rem; color: #fff; text-decoration: none; overflow: hidden; isolation: isolate;
  transition: flex-grow .7s var(--ease);
}
.brand-panel__img { position: absolute; inset: 0; z-index: -2; }
.brand-panel__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) contrast(1.05); transform: scale(1.04); transition: filter .7s var(--ease), transform 1.2s var(--ease); }
.brand-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(24,25,28,.2) 0%, rgba(24,25,28,.92) 85%); transition: opacity .5s; }
.brand-panel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--accent); transform: scaleX(.25); transform-origin: left; transition: transform .6s var(--ease); }
.brand-panel__logo { width: 140px; height: 140px; margin-bottom: auto; transition: transform .6s var(--ease); }
.brand-panel h3 { font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); margin: 1.5rem 0 .5rem; }
.brand-panel p { margin: 0 0 1rem; color: #d6d9dd; max-width: 34ch; }
.brand-panel__go { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: 1.05rem; color: var(--accent); }
.brand-panel[data-brand="tans"] .brand-panel__go { color: var(--gold); }
.brand-panel__go svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.brand-panel:hover .brand-panel__img img, .brand-panel:focus-visible .brand-panel__img img { filter: grayscale(0) contrast(1.05); transform: scale(1); }
.brand-panel:hover::after, .brand-panel:focus-visible::after { transform: scaleX(1); }
.brand-panel:hover .brand-panel__go svg { transform: translateX(6px); }
.brand-panel:hover .brand-panel__logo { transform: rotate(-6deg) scale(1.04); }
@media (min-width: 700px) { .brands { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) {
  .brands { display: flex; height: min(78vh, 720px); }
  .brand-panel { flex: 1 1 0; min-height: 0; }
  .brand-panel p { opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .brands:hover .brand-panel { flex-grow: .8; }
  .brands .brand-panel:hover, .brands .brand-panel:focus-visible { flex-grow: 1.9; }
  .brand-panel:hover p, .brand-panel:focus-visible p { opacity: 1; transform: none; transition-delay: .2s; }
}

/* ---------- Amenity index ---------- */
.amenities { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); }
@media (min-width: 960px) { .amenities { grid-template-columns: 5fr 7fr; } .amenities__head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }
.amenity-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--rubber); }
.amenity-list li { border-bottom: 1px solid var(--line); }
.amenity-list a, .amenity-list .row { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1.5rem; align-items: baseline; padding: 1.25rem 0; text-decoration: none; position: relative; }
.amenity-list h3 { font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.4rem); margin: 0; transition: transform .4s var(--ease), color .3s; }
.amenity-list p { grid-column: 1 / -1; margin: 0; color: var(--steel); max-width: 56ch; }
.amenity-list .where { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: flex-end; }
.tag { display: inline-flex; align-items: center; gap: .35rem; font-size: var(--t-xs); font-weight: 600; padding: .2rem .55rem; border-radius: 99px; background: var(--wall); color: var(--rubber); white-space: nowrap; }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dot, var(--steel)); }
.tag--athletix { --dot: var(--blue); } .tag--lady { --dot: var(--pink); } .tag--tans { --dot: var(--gold); } .tag--all { --dot: var(--red); }
.section--paper .tag { background: var(--wall); }
.amenity-list a:hover h3 { transform: translateX(10px); color: var(--accent); }

/* ---------- Owners ---------- */
.owners__photo { position: relative; }
.owners__photo img { width: 100%; border-radius: var(--radius); }
.owners__photo::before { content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; border: 3px solid var(--accent); border-radius: var(--radius); z-index: -1; }
.owners { isolation: isolate; }
@media (max-width: 899px) { .owners__photo::before { inset: .75rem -.6rem -.75rem .75rem; } }
html, body { overflow-x: clip; }
.signature { font-family: var(--font-display); font-weight: 800; font-size: var(--t-xl); text-transform: uppercase; margin: 0; line-height: 1; }

/* ---------- Testimonials ---------- */
.quotes { position: relative; }
.quotes__rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(86vw, 520px); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem var(--gutter) 1.5rem; margin-inline: calc(-1 * var(--gutter)); scrollbar-width: none; cursor: grab; }
.quotes__rail::-webkit-scrollbar { display: none; }
.quotes__rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.quote { scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; padding: 2rem; background: var(--rubber-2); border-radius: var(--radius); border-top: 4px solid var(--q, var(--accent)); user-select: none; }
.quote blockquote { margin: 0; font-size: var(--t-lg); line-height: 1.5; color: #eef0f2; }
.quote blockquote::before { content: "\201C"; display: block; font-family: var(--font-display); font-weight: 900; font-size: 5rem; line-height: .6; height: 2.2rem; color: var(--q, var(--accent)); }
.quote figcaption { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; }
.quote[data-q="lady"] { --q: var(--pink); } .quote[data-q="athletix"] { --q: var(--blue); }
.quotes__controls { display: flex; gap: .5rem; align-items: center; }
.icon-btn { width: 52px; height: 52px; display: inline-grid; place-items: center; border-radius: 50%; border: 2px solid currentColor; background: none; cursor: pointer; transition: background .25s, color .25s; color: inherit; }
.icon-btn:hover { background: #fff; color: var(--rubber); border-color: #fff; }
.icon-btn svg { width: 20px; height: 20px; }
.quotes__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; }
.quotes__head h2 { margin: 0; }

/* testimonial wall (page) */
.quote-wall { columns: 1; column-gap: 1.25rem; }
@media (min-width: 720px) { .quote-wall { columns: 2; } }
@media (min-width: 1100px) { .quote-wall { columns: 3; } }
.quote-wall .quote { break-inside: avoid; margin-bottom: 1.25rem; background: var(--paper); color: var(--rubber); border-top-color: var(--q, var(--red)); user-select: text; }
.quote-wall .quote blockquote { color: var(--rubber); font-size: var(--t-md); }
.quote-wall .quote blockquote p:last-child { margin: 0; }
.quote-wall .quote figcaption { font-size: 1.25rem; }
.quote-wall .quote:nth-child(1) blockquote, .quote-wall .quote.is-feature blockquote { font-size: var(--t-lg); }
.clamp { display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.clamp.is-open { -webkit-line-clamp: unset; }
.read-more { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 7fr 5fr; } }
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: var(--t-sm); }
.field label .req { color: var(--accent); }
.field input, .field textarea, .field select {
  width: 100%; padding: .9rem 1rem; min-height: 52px;
  background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.section--paper .field input, .section--paper .field textarea, .section--paper .field select { background: var(--wall); border-color: transparent; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: #c81e1e; }
.field__error { color: #c81e1e; font-size: var(--t-xs); font-weight: 600; min-height: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.form__note { font-size: var(--t-xs); color: var(--steel); margin: 0; }
.form-status { display: none; padding: 1rem 1.25rem; border-radius: var(--radius); font-weight: 600; }
.form-status.is-shown { display: block; animation: fadein .4s var(--ease); }
.form-status.is-ok { background: #e3f7ec; color: #0f5132; border-left: 4px solid #22a061; }
.form-status.is-err { background: #fde8e8; color: #8a1c1c; border-left: 4px solid #c81e1e; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn__label { opacity: .4; }
.btn.is-loading::after { content: ""; width: 18px; height: 18px; border: 3px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; position: absolute; }
@keyframes spin { to { transform: rotate(360deg); } }
.form.is-sent .form__fields { display: none; }

.info-card { background: var(--rubber); color: #eef0f2; border-radius: var(--radius); overflow: hidden; }
.info-card__body { padding: 2rem; display: grid; gap: 1.5rem; }
.info-card h3 { margin: 0; color: #fff; }
.info-item { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.info-item svg { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--rubber-2); color: var(--accent); }
.info-item strong { display: block; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.1rem; letter-spacing: .03em; color: #a3a8b0; }
.info-item a { color: #fff; text-decoration: none; font-weight: 600; font-size: var(--t-lg); }
.info-item a:hover { color: var(--accent); }
.map { aspect-ratio: 4 / 3; width: 100%; border: 0; filter: grayscale(1) contrast(1.05); transition: filter .5s; }
.map:hover { filter: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--rubber); color: #c9ccd1; padding-top: clamp(4rem, 3rem + 4vw, 7rem); overflow: hidden; position: relative; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; } }
.site-footer h2 { font-size: 1.35rem; color: #fff; margin: 0 0 1rem; letter-spacing: .05em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: #c9ccd1; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-col[data-c="athletix"] h2 { border-left: 4px solid var(--blue); padding-left: .6rem; }
.footer-col[data-c="lady"] h2 { border-left: 4px solid var(--pink); padding-left: .6rem; }
.footer-col[data-c="tans"] h2 { border-left: 4px solid var(--gold); padding-left: .6rem; }
.footer-col[data-c="fitness"] h2 { border-left: 4px solid var(--red); padding-left: .6rem; }
.footer-about img.logo { width: min(300px, 100%); margin-bottom: 1.5rem; }
.footer-about p { font-size: var(--t-sm); max-width: 38ch; }
.social { display: flex; gap: .6rem; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-dark); transition: background .25s, border-color .25s, transform .25s var(--ease); }
.social a:hover { background: #fff; color: var(--rubber); border-color: #fff; transform: translateY(-3px); }
.social svg { width: 18px; height: 18px; }
.footer-contact li { display: grid; gap: .1rem; margin-bottom: .6rem; }
.footer-contact span { font-size: var(--t-xs); color: #8d929a; }
.footer-contact a { color: #fff; font-weight: 600; }
.badge-24 { width: 96px; margin-top: 1rem; opacity: .9; }
.footer-word {
  margin: clamp(3rem, 2rem + 4vw, 6rem) 0 0; padding: 0; text-align: center; user-select: none;
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase; line-height: .78;
  font-size: clamp(4.5rem, 1rem + 19.5vw, 22rem); letter-spacing: -.01em;
  color: transparent; -webkit-text-stroke: 1.5px #3a3d44;
  white-space: nowrap; transform: translateY(.12em);
}
.footer-word span { display: inline-block; transition: color .5s var(--ease), -webkit-text-stroke-color .5s; }
.footer-word span:hover { color: var(--red); -webkit-text-stroke-color: var(--red); transition-duration: .1s; }
.footer-bottom { border-top: 1px solid var(--line-dark); position: relative; z-index: 2; background: var(--rubber); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; padding-block: 1.25rem; font-size: var(--t-xs); color: #8d929a; }
.footer-bottom a { color: #c9ccd1; }

.to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 80; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); border: 0; cursor: pointer; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Content blocks ---------- */
/* two-photo collage (Tans) */
.collage { position: relative; padding: 0 0 18% 0; }
.collage__main { display: block; width: 78%; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--rubber); }
.collage__inset { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; border: 6px solid var(--paper, #fff); box-shadow: 0 18px 40px rgba(0,0,0,.25); background: var(--rubber); }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.collage a:hover img { transform: scale(1.05); }
.collage__tag { position: absolute; left: 1rem; top: 1rem; background: var(--gold, #f2b705); color: var(--rubber); font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: .85rem; padding: .45rem .75rem; border-radius: var(--radius); }
.media-frame { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--rubber); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--wide { aspect-ratio: 16 / 10; }
.media-frame--logo { background: var(--paper); display: grid; place-items: center; padding: 2rem; }
.media-frame--logo img { object-fit: contain; width: auto; max-height: 420px; }
.media-frame figcaption { position: absolute; left: 1rem; bottom: 1rem; background: var(--rubber); color: #fff; padding: .4rem .75rem; font-size: var(--t-xs); font-weight: 600; border-radius: var(--radius); }

.facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.facts > div { background: var(--paper); padding: 1.5rem; }
.facts dt { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.25rem; margin-bottom: .25rem; color: var(--accent); }
[data-brand="tans"] .facts dt { color: #b36b00; }
.facts dd { margin: 0; }

.price-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--rubber); }
.price-list li { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1.5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.price-list h3, .price-list h4 { margin: 0; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.price-list .price { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); text-align: right; white-space: nowrap; }
.price-list p { grid-column: 1 / -1; margin: 0; color: var(--steel); max-width: 60ch; }
.section--dark .price-list { border-top-color: #fff; }
.section--dark .price-list li { border-bottom-color: var(--line-dark); }

.price-cards { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .price-cards { grid-template-columns: 1fr 1fr; } }
.price-card { background: var(--paper); border-radius: var(--radius); padding: 2rem; border-top: 5px solid var(--accent); }
.price-card h3 { font-size: var(--t-xl); }
.price-card .sub { color: var(--steel); margin-top: -.25rem; }
.price-card ul { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.price-card li { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--line); font-weight: 500; }
.price-card li b { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; line-height: 1; }

.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .75rem; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: .75rem; }
.checklist li::before { content: ""; width: 12px; height: 12px; margin-top: .5em; background: var(--accent); transform: rotate(45deg); }

.hours { display: grid; gap: .5rem; padding: 1.5rem; background: var(--rubber); color: #eef0f2; border-radius: var(--radius); }
.hours h3 { color: #fff; margin-bottom: .5rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--line-dark); }
.hours div span:last-child { font-weight: 600; color: #fff; text-align: right; }

.callout { padding: 1.5rem 1.75rem; border-left: 5px solid var(--accent); background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0; }
.callout p:last-child { margin: 0; }

/* image strip */
.photo-grid { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .photo-grid--4 { grid-template-columns: repeat(4, 1fr); } .photo-grid--5 { grid-template-columns: repeat(5, 1fr); } .photo-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.photo-grid a, .photo-grid figure { margin: 0; display: block; border-radius: var(--radius); overflow: hidden; background: var(--rubber); aspect-ratio: 1; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .3s; }
.photo-grid a:hover img { transform: scale(1.06); }
.photo-grid--portrait a, .photo-grid--portrait figure { aspect-ratio: 3 / 4; }

/* masonry gallery */
.gallery { columns: 2 220px; column-gap: .75rem; }
@media (min-width: 1000px) { .gallery { columns: 3; } }
.gallery a { display: block; margin-bottom: .75rem; break-inside: avoid; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--rubber); }
.gallery img { width: 100%; transition: transform .9s var(--ease), filter .5s; }
.gallery a::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -5px 0 var(--accent); opacity: 0; transition: opacity .3s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery a:hover::after { opacity: 1; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(14,15,17,.96); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 1rem var(--gutter); color: #c9ccd1; font-size: var(--t-sm); }
.lightbox__stage { display: grid; place-items: center; padding: 0 var(--gutter); min-height: 0; position: relative; }
.lightbox__stage { overflow: hidden; }
.lightbox__stage img { width: auto; height: auto; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); max-width: 100%; object-fit: contain; border-radius: var(--radius); animation: lbin .45s var(--ease); }
@keyframes lbin { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.lightbox__nav { display: flex; justify-content: center; gap: .75rem; padding: 1rem; color: #fff; }
.lightbox .icon-btn { color: #fff; }

/* trainers */
.trainers { display: grid; gap: 2.5rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.trainer { text-align: center; }
.trainer button { all: unset; cursor: pointer; display: block; width: 100%; border-radius: var(--radius); }
.trainer button:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
.trainer__photo { width: min(220px, 70%); aspect-ratio: 1; margin: 0 auto 1.25rem; border-radius: 50%; position: relative; }
.trainer__photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; transition: transform .6s var(--ease); }
.trainer__photo::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px dashed var(--accent); opacity: 0; transform: rotate(0deg); transition: opacity .3s; }
.trainer button:hover .trainer__photo::after, .trainer button:focus-visible .trainer__photo::after { opacity: 1; animation: spin 14s linear infinite; }
.trainer button:hover .trainer__photo img { transform: scale(1.04); }
.trainer h3 { font-size: 1.75rem; margin: 0 0 .25rem; }
.trainer p { margin: 0 0 .75rem; color: var(--steel); font-size: var(--t-sm); }
.trainer .view { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); border-bottom: 2px solid currentColor; }

dialog.modal { width: min(760px, calc(100% - 2rem)); max-height: calc(100vh - 2rem); padding: 0; border: 0; border-radius: var(--radius); background: var(--paper); color: var(--rubber); box-shadow: 0 40px 100px -20px rgba(0,0,0,.6); overflow: auto; }
dialog.modal::backdrop { background: rgba(14,15,17,.75); backdrop-filter: blur(4px); }
dialog.modal[open] { animation: modalin .4s var(--ease); }
@keyframes modalin { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__head { display: grid; grid-template-columns: 96px 1fr auto; gap: 1.25rem; align-items: center; padding: 1.75rem 1.75rem 1.25rem; border-bottom: 4px solid var(--accent); }
.modal__head img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.modal__head h2 { font-size: var(--t-xl); margin: 0; }
.modal__head p { margin: .25rem 0 0; color: var(--steel); font-size: var(--t-sm); }
.modal__body { padding: 1.5rem 1.75rem 2rem; }
.modal__contact { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.modal__contact a { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: 99px; background: var(--wall); text-decoration: none; font-weight: 600; font-size: var(--t-sm); word-break: break-all; }
.modal__contact a:hover { background: var(--accent); color: #fff; }
.modal__contact svg { width: 16px; height: 16px; flex-shrink: 0; }
.modal__close { color: var(--rubber); width: 44px; height: 44px; align-self: start; }
.modal__close:hover { background: var(--rubber); color: #fff; border-color: var(--rubber); }
@media (max-width: 560px) { .modal__head { grid-template-columns: 64px 1fr auto; padding: 1.25rem; gap: .9rem; } .modal__head img { width: 64px; height: 64px; } .modal__body { padding: 1.25rem; } }

/* schedule board */
.day-tabs { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; margin-bottom: 1.5rem; padding-bottom: .25rem; }
.day-tabs::-webkit-scrollbar { display: none; }
.day-tabs button { flex: 0 0 auto; min-height: 44px; padding: .5rem 1.1rem; border: 2px solid var(--line); border-radius: 99px; background: var(--paper); cursor: pointer; font-weight: 600; transition: background .2s, color .2s, border-color .2s; }
.day-tabs button[aria-pressed="true"] { background: var(--rubber); color: #fff; border-color: var(--rubber); }
.day-tabs button:hover { border-color: var(--rubber); }
.week { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 1000px) { .week { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .week { grid-template-columns: repeat(6, minmax(0, 1fr)); } .class-block { grid-template-columns: 1fr; gap: .5rem; } .class-block img { width: 44px; height: 44px; } .day h3 { flex-direction: column; gap: .2rem; } }
.day { background: var(--paper); padding: 1rem; display: grid; align-content: start; gap: .6rem; }
.day h3 { font-size: 1.5rem; margin: 0 0 .25rem; display: flex; justify-content: space-between; align-items: baseline; }
.day h3 small { font-family: var(--font-body); font-weight: 500; font-size: var(--t-xs); color: var(--steel); text-transform: none; }
.class-block { display: grid; grid-template-columns: 56px 1fr; gap: .75rem; align-items: center; padding: .6rem; border-radius: var(--radius); background: var(--wall); border-left: 4px solid var(--accent); transition: transform .3s var(--ease), opacity .3s; }
.class-block img { width: 56px; height: 56px; object-fit: cover; border-radius: 3px; }
.class-block b { display: block; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.15rem; line-height: 1.05; }
.class-block span { font-size: var(--t-xs); color: var(--steel); }
.class-block time { font-weight: 700; color: var(--rubber); }
@media (max-width: 999px) { .day[hidden] { display: none; } .week.show-all .day[hidden] { display: grid; } }
@media (min-width: 1000px) { .day-tabs { display: none; } .day[hidden] { display: grid; } }

.accordion { border-top: 2px solid var(--rubber); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.05; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line); background: linear-gradient(currentColor, currentColor) center/12px 2px no-repeat, linear-gradient(currentColor, currentColor) center/2px 12px no-repeat; transition: transform .35s var(--ease), background-color .2s; }
.accordion details[open] summary::after { transform: rotate(135deg); border-color: var(--accent); background-color: var(--accent); color: #fff; }
.accordion .acc-body { padding: 0 0 1.5rem; max-width: 70ch; }
.accordion .acc-body p:last-child { margin: 0; }
.accordion .acc-sub { display: block; font-family: var(--font-body); font-weight: 600; font-size: var(--t-sm); text-transform: none; color: var(--accent); margin-top: .35rem; letter-spacing: 0; }
[data-brand="tans"] .accordion .acc-sub { color: #b36b00; }

/* nutrition highlight grid */
.pillars { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar { padding: 1.75rem 0 0; border-top: 4px solid var(--accent); }
.pillar h3 { font-size: 1.6rem; }
.pillar p { margin: 0; color: var(--steel); }
.section--dark .pillar p { color: #a3a8b0; }

.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video iframe, .video button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video button { cursor: pointer; padding: 0; background: #000; }
.video button img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .3s, transform .6s var(--ease); }
.video button:hover img { opacity: 1; transform: scale(1.03); }
.video button .play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: var(--accent-ink); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 50%, transparent); animation: ring 2.4s infinite; }
.video button .play svg { width: 30px; height: 30px; margin-left: 4px; }
@keyframes ring { 70% { box-shadow: 0 0 0 22px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.cta-band { position: relative; overflow: hidden; background: var(--accent); color: var(--accent-ink); isolation: isolate; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding-block: clamp(3rem, 2rem + 3vw, 5rem); }
.cta-band h2 { margin: 0; max-width: 18ch; }
.cta-band .btn { --b-bg: var(--rubber); --b-fg: #fff; }
.cta-band .btn::before { background: #fff; }
.cta-band .btn:hover { color: var(--rubber); border-color: #fff; }
.cta-band .btn--ghost { --b-bg: transparent; --b-fg: currentColor; border-color: currentColor; }

/* ---------- Reveal (scroll) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; }
.js [data-reveal="clip"] img { clip-path: inset(0 0 100% 0); transform: scale(1.08); transition: clip-path 1.2s var(--ease), transform 1.6s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="clip"].is-in img { clip-path: inset(0 0 0 0); transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero h1 .line > span { transform: none; }
  .js [data-reveal], .js [data-reveal="clip"] img { opacity: 1; transform: none; clip-path: none; }
}
