/* ==========================================================================
   H-Town Muscle — main stylesheet. Mobile-first. Stops: 768 (tablet), 1024 (desktop).
   Tokens live in tokens.css. Nothing rounded, nothing shadowed, no gradients.
   ========================================================================== */

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html.menu-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--body-m);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}
.site-main { flex: 1 0 auto; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 2px; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--oxblood); color: #fff; padding: 12px 16px;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: var(--track-button);
}
.skip-link:focus { left: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Type roles ---------- */
.display, .page-title, .hero__title, .title-band__title, .section-header__title,
.card__title, .price, .cta-band__title, .btn, .tag, .not-found__code, .not-found__title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: var(--lh-display);
}
.page-title { font-size: var(--title); letter-spacing: var(--track-display); }
.hero__title { font-size: var(--hero); line-height: .96; letter-spacing: var(--track-display); }
.h2, .section-header__title { font-size: var(--h2); }
.eyebrow, .label {
  font-family: var(--font-body); font-weight: 700; font-size: var(--label-m);
  text-transform: uppercase; letter-spacing: var(--track-label);
}
.eyebrow--oxblood { color: var(--oxblood); }
.muted { color: var(--ink-mute); }
.on-ink .muted, .muted--on-ink { color: var(--paper-mute); }
.note { font-size: 13px; color: var(--ink-mute); }
.prose { max-width: var(--measure); color: var(--ink-body); line-height: var(--lh-prose); }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 1em; }
.prose h2, .prose h3 {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  color: var(--ink); line-height: var(--lh-display); margin: 1.6em 0 .5em;
}
.prose h2 { font-size: 28px; }
.prose h3 { font-size: 22px; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose a { color: var(--oxblood); }

@media (min-width: 1024px) {
  body { font-size: var(--body-d); }
  .eyebrow, .label { font-size: var(--label-d); }
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: var(--pad-side-m); padding-right: var(--pad-side-m); }
.section { padding-top: var(--pad-block-m); padding-bottom: var(--pad-block-m); }
.section--tight { padding-top: 20px; padding-bottom: 20px; }
.section--ink { background: var(--ink); color: var(--paper); }
.section--paper-2 { background: var(--paper-2); }
.grid { display: grid; gap: var(--gap-card); }
.grid--tiles { gap: var(--gap-tile); }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-row > .btn { flex: 1 1 0; }
.stack > * + * { margin-top: 16px; }
.hide-mobile { display: none !important; }

@media (min-width: 768px) {
  .container { padding-left: var(--pad-side-t); padding-right: var(--pad-side-t); }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .btn-row > .btn { flex: 0 1 auto; }
}
@media (min-width: 1024px) {
  .container { padding-left: var(--pad-side-d); padding-right: var(--pad-side-d); }
  .section { padding-top: var(--pad-block-d); padding-bottom: var(--pad-block-d); }
  .hide-mobile { display: revert !important; }
  .hide-desktop { display: none !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--hit-min); padding: 12px 22px;
  font-size: 13px; letter-spacing: var(--track-button); line-height: 1;
  text-decoration: none; text-align: center; border: 2px solid transparent;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn--primary { background: var(--oxblood); border-color: var(--oxblood); color: #fff; }
/* Hover must read on dark sections (header, hero, call bar) and light ones, so it brightens
   to the coral accent with dark text instead of turning ink, which vanished on dark grounds. */
.btn--primary:hover, .btn--primary:focus-visible { background: var(--flag); border-color: var(--flag); color: var(--ink); }
.btn--secondary { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--secondary:hover { background: var(--oxblood); border-color: var(--oxblood); }
.btn--outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--dark { background: transparent; border-color: var(--paper); color: var(--paper); }
.btn--dark:hover { background: var(--paper); color: var(--ink); }
.btn--on-oxblood { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--on-oxblood:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--block { display: flex; width: 100%; }
.btn--sm { min-height: var(--hit-min); padding: 8px 14px; font-size: 12px; }
.btn.is-copied { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (min-width: 1024px) { .btn { font-size: 14px; padding: 13px 26px; } .btn--sm { min-height: 36px; } }

/* ---------- Section header ---------- */
.section-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.section-header__num {
  font-family: var(--font-display); color: var(--oxblood);
  font-size: 11px; letter-spacing: var(--track-number); line-height: 1; padding-top: 4px;
}
.section-header__title { line-height: .96; }
.section-header__rule { flex: 1; height: 2px; background: var(--ink); margin-left: 8px; }
.on-ink .section-header__rule, .section--ink .section-header__rule { background: var(--paper); }
@media (min-width: 1024px) {
  .section-header { gap: 16px; margin-bottom: 28px; }
  .section-header__num { font-size: 14px; }
}

/* ---------- Tags / chips ---------- */
.tag {
  display: inline-block; background: var(--oxblood); color: #fff;
  font-size: 10px; letter-spacing: var(--track-tag); padding: 5px 8px 4px; line-height: 1;
  vertical-align: middle;
}
.caps { font-family: var(--font-body); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--oxblood); }
.chip {
  display: inline-block; border: var(--border); font-weight: 600; font-size: 12px;
  text-transform: uppercase; letter-spacing: .04em; padding: 6px 10px; line-height: 1;
}
.chip--code {
  border: 2px dashed var(--oxblood); color: var(--oxblood);
  font-family: var(--font-display); font-weight: 400; font-size: 14px; letter-spacing: .14em;
  padding: 8px 12px;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
@media (min-width: 1024px) {
  .tag { font-size: 12px; padding: 6px 10px 5px; }
  .caps { font-size: 12px; }
  .chip { font-size: 13px; }
}

/* ---------- Card ---------- */
.card { border: var(--border); background: var(--paper); display: flex; flex-direction: column; }
.card > .photo, .card__media { width: 100%; object-fit: cover; }
.card__media { border-bottom: var(--border); }
.card__body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.card__title { font-size: var(--card-title-m); line-height: 1; }
.card__meta { color: var(--ink-mute); font-size: 14px; line-height: 1.45; }
.card__meta a, .card__title a { text-decoration: none; }
.card__actions { display: flex; gap: 8px; margin-top: auto; padding-top: 8px; }
.card__actions > .btn { flex: 1; }
.card--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.card--ink .card__meta { color: var(--paper-mute); }
.card--row { flex-direction: row; }
.card--row > .photo, .card--row .card__media { width: 120px; flex: 0 0 120px; height: auto; border-bottom: 0; border-right: var(--border); }
@media (min-width: 1024px) {
  .card__body { padding: 22px; gap: 10px; }
  .card__title { font-size: var(--card-title-d); }
  .card__meta { font-size: 15px; }
}

/* ---------- Photos ---------- */
.photo { width: 100%; height: 100%; object-fit: cover; }
.photo--empty {
  display: flex; align-items: center; justify-content: center;
  background: var(--photo-empty); color: var(--ink-mute);
  font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-align: center; padding: 8px;
}
.photo--bordered { border: var(--border); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--paper); min-height: 440px; display: flex; align-items: flex-end; overflow: hidden; }
.hero__photo { position: absolute; inset: 0; }
.hero__photo > img, .hero__photo > .photo--empty {
  width: 100%; height: 100%; object-fit: cover;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.hero__video.is-playing { opacity: 1; }
.hero__photo > .photo--empty { background: transparent; color: var(--paper-mute); align-items: flex-start; justify-content: flex-end; padding: 12px 20px; filter: none; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  /* Photos stay in full colour. Only a soft shade at the bottom keeps the headline readable. */
  background: linear-gradient(to top, rgba(20,17,15,.78) 0%, rgba(20,17,15,.45) 38%, rgba(20,17,15,0) 70%);
}
.hero__copy { position: relative; z-index: 1; padding-top: 48px; padding-bottom: 28px; width: 100%; }
.hero__copy > .tag { margin-bottom: 14px; }
.loc-card__area, .contact-gym__area { margin-bottom: 8px; }
.loc-card__area { align-self: flex-start; }
.hero__sub { color: var(--paper-mute); font-size: 16px; margin-top: 14px; }
.hero__actions { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; }
.hero--short { min-height: 300px; }
@media (min-width: 768px) {
  .hero__actions { flex-direction: row; }
}
@media (min-width: 1024px) {
  .hero { min-height: 580px; }
  .hero--short { min-height: 420px; }
  .hero__copy { padding-bottom: 48px; }
  .hero__sub { font-size: 18px; margin-top: 18px; }
  .hero__actions { margin-top: 28px; }
}

/* ---------- Title band ---------- */
.title-band { background: var(--ink); color: var(--paper); padding: 28px 0 26px; }
.title-band__title { font-size: var(--title); line-height: .96; letter-spacing: var(--track-display); }
.title-band__sub { color: var(--paper-mute); margin-top: 10px; font-size: 15px; }
.title-band__sub strong { color: var(--paper); }
.title-band .tag { margin-bottom: 12px; }
@media (min-width: 1024px) {
  .title-band { padding: 48px 0 44px; }
  .title-band__sub { font-size: 17px; margin-top: 14px; }
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--oxblood); color: #fff; padding: 32px 0; }
.cta-band__inner { display: flex; flex-direction: column; gap: 20px; }
.cta-band__title { font-size: 34px; line-height: .96; }
.cta-band__sub { margin-top: 10px; font-size: 15px; }
.cta-band .btn { align-self: stretch; }
@media (min-width: 1024px) {
  .cta-band { padding: 52px 0; }
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .cta-band__title { font-size: 48px; }
  .cta-band__sub { font-size: 17px; }
  .cta-band .btn { align-self: center; }
}

/* ---------- Notice / inset panel ---------- */
.panel { border: var(--border); padding: 16px; }
.panel--inset { background: var(--paper-2); border: 0; }
.panel--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.panel--oxblood { background: var(--oxblood); color: #fff; border-color: var(--oxblood); }
.panel__title { font-family: var(--font-display); text-transform: uppercase; font-size: 22px; line-height: 1; }
.panel__title--lg { font-size: 30px; }
.panel p { margin-top: 8px; }
.panel .btn { margin-top: 14px; }
.panel--ink p { color: var(--paper-mute); }
@media (min-width: 1024px) { .panel { padding: 24px; } .panel__title { font-size: 26px; } .panel__title--lg { font-size: 40px; } }

/* ---------- Price table ---------- */
.price { font-size: var(--price-m); line-height: 1; letter-spacing: -.01em; }
.price__suffix { font-size: .45em; letter-spacing: 0; }
.price-table { display: grid; border: var(--border); }
.price-table__cell { padding: 16px; border-bottom: var(--border); display: flex; flex-direction: column; gap: 6px; position: relative; }
.price-table__cell:last-child { border-bottom: 0; }
.price-table__cell--hi { background: var(--ink); color: var(--paper); }
.price-table__cell--hi .price-table__note { color: var(--paper-mute); }
.price-table__label { font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: var(--track-label); }
.price-table__cell--hi .price-table__label { color: var(--flag); }
.price-table__note { color: var(--ink-mute); font-size: 13px; }
.flag { position: absolute; top: 0; right: 0; background: var(--flag); color: var(--ink); font-family: var(--font-display); font-size: 10px; letter-spacing: var(--track-tag); text-transform: uppercase; padding: 5px 8px 4px; line-height: 1; }
@media (min-width: 768px) {
  .price-table--2 { grid-template-columns: repeat(2, 1fr); }
  .price-table--2 .price-table__cell { border-bottom: var(--border); border-right: var(--border); }
  .price-table--2 .price-table__cell:nth-child(2n) { border-right: 0; }
  .price-table--2 .price-table__cell:nth-last-child(-n+2):nth-child(2n+1),
  .price-table--2 .price-table__cell:last-child { border-bottom: 0; }
}
@media (min-width: 1024px) {
  .price { font-size: var(--price-d); }
  .price-table__cell { padding: 22px; }
  .price-table--4, .price-table--5 { grid-template-columns: repeat(var(--cols, 4), 1fr); }
  .price-table--4 .price-table__cell, .price-table--5 .price-table__cell { border-bottom: 0; border-right: var(--border); }
  .price-table--4 .price-table__cell:last-child, .price-table--5 .price-table__cell:last-child { border-right: 0; }
  .price-table--5 { --cols: 5; }
}

/* ---------- Accordion ---------- */
.accordion { border-top: var(--border); }
.accordion > details { border-bottom: var(--border-hair); }
.accordion > details > summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px 0; font-weight: 600; font-size: 15px; min-height: var(--hit-min);
}
.accordion > details > summary::-webkit-details-marker { display: none; }
.accordion > details > summary::after { content: "+"; color: var(--oxblood); font-family: var(--font-display); font-size: 22px; line-height: 1; flex: 0 0 auto; }
.accordion > details[open] > summary::after { content: "\2212"; }
.accordion__body { padding: 0 0 16px; color: var(--ink-body); line-height: var(--lh-prose); max-width: var(--measure); }
.accordion__body p + p { margin-top: .8em; }
@media (min-width: 1024px) { .accordion > details > summary { font-size: 16px; padding: 16px 0; } }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: var(--track-label); }
.field__label .req { color: var(--oxblood); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: transparent; border: var(--border); border-radius: 0;
  min-height: 46px; padding: 10px 12px; width: 100%; appearance: none; -webkit-appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--oxblood); outline: 2px solid var(--oxblood); outline-offset: -2px; }
.field__error { color: var(--oxblood); font-size: 13px; font-weight: 600; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--oxblood); }
.form-notice { border: var(--border); padding: 14px 16px; font-weight: 600; margin-bottom: 16px; }
.form-notice--ok { background: var(--ink); color: var(--paper); }
.form-notice--error { border-color: var(--oxblood); color: var(--oxblood); }
.hp { position: absolute; left: -9999px; }

/* ---------- Sticky call bar ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; gap: 2px; padding: 10px; background: var(--ink);
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
}
.sticky-bar > .btn { flex: 1; }
body { padding-bottom: 66px; }
@media (min-width: 1024px) {
  .sticky-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Header ---------- */
.site-header { background: var(--ink); color: var(--paper); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.wordmark {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em;
  font-size: 16px; line-height: 1; text-decoration: none; color: var(--paper); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 9px;
}
.wordmark__mark { width: 34px; height: auto; flex: 0 0 auto; display: block; }
.nav-desktop, .site-header__cta { display: none; }
.burger { width: 22px; height: 22px; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 0; }
.burger span { display: block; height: 2px; width: 100%; background: var(--paper); }
@media (min-width: 1024px) {
  .site-header__bar { padding-top: 16px; padding-bottom: 16px; }
  .wordmark { font-size: 19px; }
  .burger { display: none; }
  .nav-desktop { display: block; flex: 1; }
  .nav-desktop__list { display: flex; gap: 20px; align-items: center; }
  .nav-desktop__item { position: relative; }
  .nav-desktop__item > a {
    display: block; padding: 10px 0; text-decoration: none;
    font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .12em;
  }
  .nav-desktop__item > a:hover { color: var(--paper-mute); }
  .nav-dropdown {
    position: absolute; top: 100%; left: 0; min-width: 200px; z-index: 40;
    background: var(--ink); border: 2px solid var(--paper); display: none;
  }
  .has-dropdown:hover .nav-dropdown, .has-dropdown:focus-within .nav-dropdown { display: block; }
  .nav-dropdown a { display: block; padding: 12px 16px; text-decoration: none; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
  .nav-dropdown a:hover { background: var(--paper); color: var(--ink); }
  .site-header__cta { display: inline-flex; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; overflow-y: auto;
  opacity: 0; transition: opacity 150ms ease;
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu__bar { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; border-bottom: 2px solid var(--divider); }
.mobile-menu__close { font-size: 22px; line-height: 1; width: 44px; height: 44px; margin-right: -11px; display: flex; align-items: center; justify-content: center; }
.mobile-menu__nav { padding-top: 24px; flex: 1; }
.mobile-menu__list > li > a, .mobile-menu__toggle {
  display: block; width: 100%; text-align: left; text-decoration: none;
  font-family: var(--font-display); text-transform: uppercase; font-size: 30px; line-height: 1; padding: 10px 0;
}
.mobile-menu__sub { border-left: 2px solid var(--oxblood); margin: 4px 0 8px; padding-left: 18px; }
.mobile-menu__sub a { display: block; padding: 6px 0; text-decoration: none; font-weight: 500; font-size: 17px; }
.mobile-menu__foot { padding-top: 24px; padding-bottom: 28px; }
.mobile-menu__handles { color: var(--footer-text); font-size: 15px; margin-top: 18px; }
.mobile-menu__handles a { text-decoration: none; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--footer-text); font-size: 14px; padding: 32px 0 36px; }
.site-footer__grid { display: grid; gap: 22px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--paper); }
.wordmark--footer { font-size: 18px; }
.wordmark--footer .wordmark__mark { width: 40px; }
.site-footer__handles, .site-footer__note { margin-top: 8px; }
.site-footer__heading { display: block; color: var(--paper); font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.site-footer__col p { line-height: 1.5; }
.site-footer__col--pages { border-top: 1px solid var(--divider); padding-top: 18px; }
.site-footer__legal { margin-top: 10px; font-size: 13px; }
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .site-footer { padding: 44px 0 48px; }
  .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
  .site-footer__col--pages { border-top: 0; padding-top: 0; }
}

/* ---------- Long-form pages ---------- */
.long-form__header { margin-bottom: 22px; }
.long-form__header .eyebrow { margin-top: 8px; }
.long-form__download { max-width: var(--measure); margin-top: 28px; }
.long-form__download + .note { margin-top: 8px; font-style: italic; }
.breadcrumb { border-bottom: var(--border); padding: 12px 0; font-size: 13px; color: var(--ink-mute); }
.breadcrumb a { text-decoration: none; }
.breadcrumb span[aria-hidden] { margin: 0 6px; }

/* ---------- 404 ---------- */
.not-found { padding-top: 48px; padding-bottom: 64px; }
.not-found__code { font-size: 64px; color: var(--oxblood); line-height: .9; }
.not-found__title { font-size: 34px; margin-top: 8px; }
.not-found__sub { color: var(--ink-mute); margin-top: 8px; margin-bottom: 20px; font-size: 16px; }
@media (min-width: 1024px) {
  .not-found { padding-top: 80px; padding-bottom: 120px; }
  .not-found__code { font-size: 120px; }
  .not-found__title { font-size: 56px; }
}

/* ==========================================================================
   Location page
   ========================================================================== */
.loc-hero__title { max-width: 12ch; }
.loc-info { background: var(--paper-2); padding: 20px 0; }
.loc-info__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.loc-info__access { font-size: 32px; line-height: 1; margin-top: 4px; }
.loc-info__hours { text-align: right; }
.loc-info__hours .tag { margin-top: 6px; }
.loc-info__actions { margin-top: 18px; }
.hours__row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 3px 0; }
.hours--sm .hours__row { font-size: 13px; justify-content: flex-end; }
.loc-section { padding-top: 26px; padding-bottom: 26px; border-bottom: 2px solid var(--ink); }
.loc-section:last-child { border-bottom: 0; }
.loc-section__more { margin-top: 12px; }
.loc-section__addr { margin-top: 12px; line-height: 1.5; }
.loc-section__addr a { text-decoration: none; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap-tile); }
.tile { border: var(--border); padding: 14px 14px 12px; }
.tile__label { font-family: var(--font-display); text-transform: uppercase; font-size: 17px; line-height: 1; }
.tile__detail { font-size: 14px; margin-top: 4px; line-height: 1.35; }
.inside-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap-tile); }
.inside-grid__cell { aspect-ratio: 4 / 3; }
.inside-grid__cell .photo { width: 100%; height: 100%; }
.map { border: var(--border); aspect-ratio: 16 / 9; max-height: 280px; }
.map iframe { width: 100%; height: 100%; border: 0; }
.map__empty { width: 100%; height: 100%; text-decoration: none; }
.rail { display: none; }
.qr-block { border: var(--border); padding: 14px; display: flex; gap: 16px; align-items: center; }
.qr-block__img { flex: 0 0 72px; width: 72px; height: 72px; background: var(--ink); display: block; }
.qr-block__img img { width: 100%; height: 100%; object-fit: cover; }
.qr-block__price { font-size: 30px; }
.qr-block__name { font-family: var(--font-display); text-transform: uppercase; font-size: 18px; line-height: 1; margin-bottom: 4px; }
.qr-block__text > p + p { margin-top: 4px; }
.qr-block__text .btn { margin-top: 10px; }
.qr-block--compact { border: 0; padding: 0; }
.qr-block--compact .qr-block__img { flex-basis: 64px; width: 64px; height: 64px; }
.qr-block--compact .qr-block__price { font-size: 26px; }

@media (min-width: 768px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .loc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
  .loc-section { padding-top: 40px; padding-bottom: 44px; border-bottom: 0; }
  .loc-section:first-child { padding-top: 48px; }
  .tile { padding: 18px 18px 16px; }
  .tile__label { font-size: 20px; }
  .inside-grid { grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, 1fr); }
  .inside-grid__cell { aspect-ratio: auto; height: 145px; }
  .inside-grid__cell:first-child { grid-row: 1 / 3; height: 300px; }
  .inside-grid__cell:nth-child(4) { display: none; }
  .loc-section__more .btn--block { display: inline-flex; width: auto; }
  .map { aspect-ratio: auto; height: 280px; max-height: none; }
  .rail { display: block; position: sticky; top: 20px; padding-top: 48px; }
  .rail__box { border: var(--border); }
  .rail__seg { padding: 18px 20px; border-bottom: var(--border); }
  .rail__seg:last-child { border-bottom: 0; }
  .rail__seg--ink { background: var(--ink); color: var(--paper); }
  .rail__seg .label { margin-bottom: 6px; }
  .rail__access { font-size: 34px; line-height: 1; }
  .rail__phone { font-family: var(--font-display); font-size: 24px; margin-top: 8px; line-height: 1; }
  .rail__phone a { text-decoration: none; }
  .rail__actions { display: flex; flex-direction: column; gap: 8px; }
  .rail__actions .btn { width: 100%; }
  .qr-block__img { flex-basis: 100px; width: 100px; height: 100px; }
  .qr-block__price { font-size: 34px; }
}

/* ---------- Trainer cards (shared) ---------- */
.trainer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap-tile) 12px; }
.trainer-card__photo { display: block; aspect-ratio: 4 / 5; text-decoration: none; }
.trainer-card__photo .photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.trainer-card__body { padding-top: 8px; }
.trainer-card__name { font-family: var(--font-display); text-transform: uppercase; font-size: 18px; line-height: 1; }
.trainer-card__name a { text-decoration: none; }
.trainer-card__spec { font-size: 14px; margin-top: 3px; }
.trainer-card .caps { margin-top: 4px; }
.trainer-card__link { display: inline-block; margin-top: 6px; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; text-decoration: underline; text-underline-offset: 3px; }
.trainer-card--row { display: grid; grid-template-columns: 120px 1fr; gap: 14px; border: var(--border); }
.trainer-card--row .trainer-card__photo { aspect-ratio: auto; height: 100%; min-height: 120px; }
.trainer-card--row .trainer-card__photo .photo--bordered { border: 0; border-right: var(--border); }
.trainer-card--row .trainer-card__body { padding: 12px 12px 12px 0; }
@media (min-width: 768px) {
  .trainer-grid { grid-template-columns: repeat(3, 1fr); gap: var(--gap-card); }
  .trainer-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .trainer-card__name { font-size: 20px; }
}
@media (min-width: 1024px) {
  .trainer-card__body { padding-top: 12px; }
  .trainer-card__name { font-size: 22px; }
}

/* ==========================================================================
   Locations index + location cards
   ========================================================================== */
.loc-card__photo { display: block; height: 150px; border-bottom: var(--border); text-decoration: none; }
.loc-card__photo .photo { width: 100%; height: 100%; }
.loc-card--index .loc-card__photo { height: 170px; }
.loc-card__phone { font-family: var(--font-display); font-size: 20px; line-height: 1; margin-top: 2px; }
.loc-card__phone a { text-decoration: none; }
.loc-card__chips { margin-top: 4px; }
.loc-index-panels { margin-top: var(--gap-card); }
.panel--bordered { border: var(--border); }
.panel--split { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.panel--split .btn { margin-top: 0; flex: 0 0 auto; }
@media (min-width: 768px) {
  .loc-card__photo { height: 220px; }
  .loc-card--index .loc-card__photo { height: 220px; }
}
@media (min-width: 1024px) {
  .loc-card__photo { height: 240px; }
  .loc-card--index .loc-card__photo { height: 300px; }
  .loc-card--index .card__body { padding: 26px; }
  .loc-card__phone { font-size: 28px; }
  .loc-card__actions > .btn { flex: 0 1 auto; }
}

/* ==========================================================================
   Membership
   ========================================================================== */
.price-table--full { border: 0; gap: 12px; }
.price-table--full .price-table__cell { border: var(--border); padding: 18px 16px; }
.price-table--full .price-table__cell--hi { border-color: var(--ink); }
.price-table--full .price { font-size: 44px; }
.price--sm { font-size: 30px !important; }
.passes { display: flex; gap: 20px; }
.passes > div { display: flex; flex-direction: column; gap: 2px; }
.dual { background: var(--oxblood); }
.dual__panel { padding: 30px 0; }
.dual__grid { display: grid; }
.included { background: var(--paper); }
.dash-list { margin-top: 12px; }
.dash-list li { position: relative; padding-left: 22px; line-height: 1.5; margin-top: 8px; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 12px; height: 2px; background: var(--oxblood); }
.included--mobile { border-top: 2px solid var(--ink); }
.included--mobile .h2 { font-size: 24px; }
.signup-card { border: var(--border); padding: 16px; display: flex; gap: 16px; align-items: center; }
.signup-card__qr { flex: 0 0 72px; width: 72px; height: 72px; background: var(--ink); display: flex; align-items: center; justify-content: center; text-decoration: none; }
.signup-card__qr img { width: 100%; height: 100%; object-fit: cover; }
.signup-card__qr--empty span { color: var(--paper-mute); font-size: 9px; letter-spacing: .14em; font-weight: 700; }
.signup-card__body { display: flex; flex-direction: column; gap: 6px; }
.signup-card__body .btn { align-self: flex-start; margin-top: 4px; }
.faq-cols { display: grid; gap: 0 40px; }
@media (min-width: 768px) {
  .price-table--full { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .price-table--full { border: var(--border); gap: 0; grid-template-columns: repeat(5, 1fr); }
  .price-table--full .price-table__cell { border: 0; border-right: var(--border); padding: 26px 26px 24px; }
  .price-table--full .price-table__cell:last-child { border-right: 0; }
  .price-table--full .price { font-size: 48px; }
  .price--sm { font-size: 34px !important; }
  .dual { background: transparent; }
  .dual__grid { grid-template-columns: repeat(2, 1fr); gap: var(--gap-card); }
  .dual__panel { padding: 34px; }
  .included { padding: 34px; }
  .signup-card { padding: 26px; gap: 22px; }
  .signup-card__qr { flex-basis: 100px; width: 100px; height: 100px; }
  .faq-cols { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Home
   ========================================================================== */
.hero--home .hero__copy { padding-top: 90px; }
.hero--home .hero__title { max-width: 14ch; }
.home-dual { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.home-trainers > .trainer-card:nth-child(n+3) { display: none; }
.home-trainers__more { margin-top: 16px; }
.home-tests { gap: var(--gap-card); }
@media (min-width: 768px) {
  .home-trainers > .trainer-card:nth-child(n+3) { display: block; }
}
@media (min-width: 1024px) {
  .home-dual { flex-direction: row; justify-content: space-between; align-items: center; margin-top: 22px; }
}

/* ---------- Testimonial cards (shared) ---------- */
.tcard { border: var(--border); display: flex; flex-direction: column; margin: 0; }
.tcard__body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tcard__quote { margin: 0; font-size: 15px; line-height: 1.5; font-weight: 500; }
.tcard__by { font-size: 11px; }
.tcard--featured { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tcard--featured .tcard__by { color: var(--flag); }
.tcard__glyph { font-family: var(--font-display); color: var(--oxblood); font-size: 40px; line-height: .6; }
.tcard--featured .tcard__quote { font-size: 17px; }
.tcard--photo { flex-direction: row; }
.tcard__photo { flex: 0 0 110px; width: 110px; border-right: var(--border); }
.tcard__photo .photo { height: 100%; width: 100%; }
@media (min-width: 1024px) {
  .tcard__body { padding: 22px; }
  .tcard__quote { font-size: 16px; }
  .tcard--featured .tcard__quote { font-size: 26px; line-height: 1.3; }
  .tcard--featured .tcard__glyph { display: none; }
  .tcard--featured.tcard--featured { flex-direction: row; }
  .tcard--featured .tcard__photo { flex-basis: 220px; width: 220px; border-right-color: var(--divider); }
  .tcard__photo { flex-basis: 120px; width: 120px; }
}

/* ==========================================================================
   Trainers
   ========================================================================== */
.hero__sub--measure { max-width: 34em; }
.filter-bar { border-bottom: var(--border); padding: 16px 0; }
.filter-bar__row { display: flex; gap: 8px; flex-wrap: wrap; }
.trainer-list { display: grid; gap: 14px; }
.trainer-card--boxed.trainer-card--row .trainer-card__photo { min-height: 150px; }
.trainer-card--boxed .trainer-card__body { padding: 14px 14px 14px 0; }
.trainer-card--boxed .trainer-card__name { font-size: 22px; }
@media (min-width: 768px) {
  .trainer-list { grid-template-columns: repeat(2, 1fr); gap: var(--gap-card); }
  .trainer-list .trainer-card--row { display: block; }
  .trainer-list .trainer-card--row .trainer-card__photo { aspect-ratio: 1 / 1; height: auto; }
  .trainer-list .trainer-card--row .trainer-card__photo .photo--bordered { border: 0; border-bottom: var(--border); }
  .trainer-list .trainer-card--boxed .trainer-card__body { padding: 18px 20px 20px; }
}
@media (min-width: 1024px) {
  .trainer-list { grid-template-columns: repeat(3, 1fr); }
  .trainer-list .trainer-card--row .trainer-card__photo { aspect-ratio: auto; height: 300px; }
  .trainer-card--boxed .trainer-card__name { font-size: 24px; }
}

/* Bio */
.tbio-head__photo { height: 300px; max-height: 420px; border-bottom: var(--border); }
.tbio-head__photo .photo { width: 100%; height: 100%; }
.tbio-head__inner { padding-top: 22px; padding-bottom: 22px; }
.tbio-head__name { font-size: 36px; }
.tbio-head__meta { margin-top: 6px; }
.tbio-head__actions { margin-top: 16px; }
.tbio-section { padding: 22px 0; border-top: var(--border); }
.tbio-section .h2 { font-size: 26px; margin-bottom: 12px; }
.tbio-side__rates .panel { padding: 16px; }
.tbio-side__at .btn { margin-top: 12px; }
.tbio-side__at p + p { margin-top: 12px; }
.tbio-others { border-top: var(--border); }
.tbio-others .h2 { font-size: 26px; margin-bottom: 14px; }
.trainer-grid--others { grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (min-width: 768px) {
  .tbio-head__photo { height: 420px; }
}
@media (min-width: 1024px) {
  .tbio-head { display: grid; grid-template-columns: 560px 1fr; border-bottom: var(--border); }
  .tbio-head__photo { height: 520px; max-height: none; border-bottom: 0; border-right: var(--border); }
  .tbio-head__copy { display: flex; align-items: center; }
  .tbio-head__inner { padding: 48px 56px; }
  .tbio-head__name { font-size: 64px; max-width: 8ch; }
  .tbio-head__meta { margin-top: 12px; }
  .tbio-head__opening { margin-top: 18px; max-width: 34em; font-size: 16px; line-height: 1.55; }
  .tbio-head__actions { margin-top: 26px; }
  .tbio-body { display: grid; grid-template-columns: 2fr 1fr; gap: 56px; padding-top: 24px; padding-bottom: 24px; }
  .tbio-section { border-top: 0; padding: 24px 0; }
  .tbio-side .tbio-section { padding: 24px 0 0; }
  .tbio-side__rates .panel { padding: 24px; }
  .tbio-others { border-top: 0; }
  .trainer-grid--others { grid-template-columns: repeat(4, 1fr); gap: var(--gap-card); }
}

/* ==========================================================================
   About
   ========================================================================== */
.about-hero__title { max-width: 10ch; }
.standfirst { padding: 24px 0; border-bottom: var(--border); }
.standfirst__text { font-size: 19px; font-weight: 500; line-height: 1.4; max-width: 900px; }
.about-story__grid { display: grid; gap: 22px; }
.about-story__photo { aspect-ratio: 4 / 3; }
.about-story__photo .photo { width: 100%; height: 100%; }
.about-owners, .about-rules { border-top: var(--border); }
.owner-card__photo { height: 200px; border-bottom: var(--border); }
.owner-card__photo .photo { width: 100%; height: 100%; }
.rules { display: grid; gap: 14px; }
.rule { border-left: 3px solid var(--oxblood); padding-left: 12px; }
.rule__title { font-family: var(--font-display); text-transform: uppercase; font-size: 20px; line-height: 1; }
.rule p { margin-top: 4px; font-size: 14px; }
@media (min-width: 768px) {
  .rules { grid-template-columns: repeat(3, 1fr); gap: var(--gap-card); }
}
@media (min-width: 1024px) {
  .standfirst { padding: 40px 0; }
  .standfirst__text { font-size: 26px; }
  .about-story__grid { grid-template-columns: 1fr 520px; gap: 56px; align-items: start; }
  .about-story__photo { aspect-ratio: auto; height: 360px; }
  .about-owners, .about-rules { border-top: 0; }
  .owner-card { flex-direction: row; }
  .owner-card__photo { flex: 0 0 220px; width: 220px; height: auto; border-bottom: 0; border-right: var(--border); }
  .rule { border-left-width: 4px; padding-left: 18px; }
  .rule__title { font-size: 24px; }
  .rule p { font-size: 16px; }
}

/* ==========================================================================
   Supplements
   ========================================================================== */
.notice { background: var(--paper-2); border-bottom: var(--border); padding: 18px 0; }
.brand-card { border: var(--border); padding: 18px; display: flex; flex-direction: column; gap: 16px; }
.brand-card__head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.brand-card__head .card__meta { margin-top: 6px; }
.brand-card__logo { flex: 0 0 56px; width: 56px; height: 56px; }
.brand-card__logo .photo { width: 100%; height: 100%; }
.brand-card__logo .photo--empty { font-size: 8px; }
.brand-card__row { display: flex; gap: 10px; align-items: stretch; }
.brand-card__code { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.stock { border-top: var(--border); }
.stock__title { font-size: 24px; margin-bottom: 14px; }
@media (min-width: 1024px) {
  .notice { padding: 26px 0; }
  .brand-card { padding: 24px; }
  .brand-card__logo { flex-basis: 80px; width: 80px; height: 80px; }
  .brand-card__code { font-size: 18px; }
  .stock { border-top: 0; }
  .stock__title { font-size: 30px; }
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews-grid { gap: var(--gap-card); align-items: stretch; }
@media (min-width: 1024px) {
  .section .tcard--featured { padding: 24px; }
  .section .tcard--featured .tcard__photo { flex-basis: 220px; width: 220px; height: 220px; border: 0; }
  .section .tcard--featured .tcard__body { justify-content: center; padding: 12px 36px; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-layout { padding-top: 24px; padding-bottom: 32px; }
.faq-group + .faq-group { margin-top: 30px; }
.faq-group__title { font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--oxblood); margin-bottom: 10px; }
.faq-rail { display: none; }
@media (min-width: 1024px) {
  .faq-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; padding-top: 48px; padding-bottom: 64px; align-items: start; }
  .faq-rail { display: block; position: sticky; top: 20px; }
  .faq-rail__label { padding-bottom: 12px; border-bottom: var(--border); }
  .faq-rail__list a { display: block; padding: 14px 0; text-decoration: none; font-weight: 500; color: var(--ink-mute); border-bottom: 1px solid var(--ink); }
  .faq-rail__list a.is-active { font-weight: 700; color: var(--ink); }
  .faq-rail__box { margin-top: 24px; padding: 22px; }
  .faq-rail__box .btn { margin-top: 14px; }
  .faq-group + .faq-group { margin-top: 44px; }
  .faq-group__title { font-family: var(--font-display); font-weight: 400; font-size: 32px; letter-spacing: 0; color: var(--ink); margin-bottom: 16px; line-height: 1; }
  .faq-main .accordion > details > summary { font-size: 17px; }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-gyms { padding: 20px 0; }
.contact-gyms__grid { display: grid; gap: 16px; }
.contact-gym { border: var(--border); padding: 20px; }
.contact-gym__name { margin-bottom: 6px; }
.contact-gym__phone { font-family: var(--font-display); font-size: 24px; line-height: 1; margin-top: 8px; }
.contact-gym__phone a { text-decoration: none; }
.contact-gym__actions { margin-top: 14px; }
.contact-gym__map { margin-top: 18px; height: 220px; max-height: none; aspect-ratio: auto; }
.contact-layout { display: grid; gap: 28px; }
.contact-form { display: grid; gap: 16px; }
.field--submit .btn { width: 100%; }
.hours-panel__big { font-size: 24px; line-height: 1; margin: 6px 0 8px; }
.follow-panel__list { display: grid; gap: 8px; margin-top: 12px; }
.follow-panel__list .btn { margin-top: 0; text-transform: none; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; font-size: 15px; }
.follow-panel { margin-top: 20px; }
@media (min-width: 768px) {
  .contact-gyms__grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form { grid-template-columns: repeat(2, 1fr); }
  .field--full, .field--submit { grid-column: 1 / -1; }
  .field--submit .btn { width: auto; min-width: 380px; }
  .follow-panel__list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .contact-gyms { padding: 0; border-bottom: var(--border); }
  .contact-gyms__grid { gap: 0; }
  .contact-gym { border: 0; padding: 48px 56px 40px 0; }
  .contact-gym + .contact-gym { border-left: var(--border); padding-left: 56px; padding-right: 0; }
  .contact-gym__phone { font-size: 34px; margin-top: 12px; }
  .contact-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
  .hours-panel { padding: 24px; }
  .hours-panel__big { font-size: 28px; }
  .follow-panel { padding: 24px; margin-top: 20px; }
  .follow-panel__list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-filters__row { display: flex; flex-direction: column; gap: 10px; }
.gfeature { position: relative; border: var(--border); height: 210px; background: var(--photo-empty); overflow: hidden; margin-bottom: var(--gap-tile); }
.gfeature__poster { width: 100%; height: 100%; object-fit: cover; }
.gfeature.is-playing { background: var(--ink); }
.gfeature iframe, .gfeature video { width: 100%; height: 100%; border: 0; display: block; }
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 72px; height: 72px; border-radius: 50%; /* the one round element in the system */
  background: var(--oxblood); border: 2px solid var(--ink); cursor: pointer;
}
.play::after { content: ""; position: absolute; left: 55%; top: 50%; transform: translate(-50%, -50%); border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; }
.play:hover { background: var(--ink); }
.play--sm { width: 44px; height: 44px; pointer-events: none; }
.play--sm::after { border-width: 8px 0 8px 13px; }
.ggrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gtile { position: relative; display: block; aspect-ratio: 4 / 3; border: var(--border); background: var(--photo-empty); overflow: hidden; padding: 0; }
.gtile img { width: 100%; height: 100%; object-fit: cover; }
.gtile .photo--empty { width: 100%; height: 100%; }
.gtile:hover img { opacity: .85; }
.gallery__more { margin-top: 20px; }
.gallery__more .btn { width: 100%; }
.gallery__empty { padding: 32px 0; text-align: center; font-size: 17px; }
.lightbox { position: fixed; inset: 0; z-index: 70; background: rgba(20,17,15,.94); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 16px 24px; }
.lightbox__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; color: var(--paper); font-size: 22px; display: flex; align-items: center; justify-content: center; }
.lightbox__body { width: 100%; max-width: 1100px; max-height: calc(100vh - 120px); display: flex; align-items: center; justify-content: center; }
.lightbox__body img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border: var(--border); }
.lightbox__body iframe, .lightbox__body video { width: 100%; aspect-ratio: 16 / 9; max-height: calc(100vh - 120px); border: 0; background: #000; }
.lightbox__caption { color: var(--paper-mute); font-size: 13px; margin-top: 10px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
@media (min-width: 768px) {
  .ggrid { grid-template-columns: repeat(3, 1fr); }
  .gallery__more { text-align: center; }
  .gallery__more .btn { width: auto; }
}
@media (min-width: 1024px) {
  .gallery-filters__row { flex-direction: row; justify-content: space-between; }
  .gfeature { height: 440px; margin-bottom: 12px; }
  .ggrid { grid-template-columns: repeat(4, 1fr); }
}

/* Contact nudge shown on a gym with no staffed hours set. */
.loc-info__nudge { font-family: var(--font-display); text-transform: uppercase; font-size: 17px; line-height: 1; margin-top: 4px; }
.rail__nudge { font-size: 14px; line-height: 1.5; color: var(--ink-body); margin-top: 6px; }

/* Per-gym plan grid: as many cells as the gym has plans, wrapping to fit. */
.plans-gym + .plans-gym { margin-top: 36px; }
.plans-gym__name { margin-bottom: 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.price-table--plans { border: 0; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.price-table--plans .price-table__cell,
.price-table--plans .price-table__cell:last-child { border: var(--border); padding: 18px 16px; }
.price-table--plans .price { font-size: 40px; }
@media (min-width: 1024px) { .price-table--plans .price { font-size: 44px; } }

/* Real logo (from the gym's sign artwork) in place of the typed name. */
.wordmark__logo { display: block; height: 38px; width: auto; }
.wordmark--footer .wordmark__logo { height: 52px; }
@media (min-width: 1024px) { .wordmark__logo { height: 44px; } }

/* ---------- Trainer tiles + modal ---------- */
.ttile-grid { display: grid; gap: var(--gap-card); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .ttile-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .ttile-grid { grid-template-columns: repeat(4, 1fr); } }
.ttile__link { display: flex; flex-direction: column; height: 100%; border: var(--border); color: var(--ink); text-decoration: none; background: var(--paper); }
.ttile__photo { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-bottom: var(--border); }
.ttile__photo .photo { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.ttile__link:hover .ttile__photo .photo, .ttile__link:focus-visible .ttile__photo .photo { transform: scale(1.03); }
.ttile__play { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; background: var(--oxblood); }
.ttile__play::after { content: ""; position: absolute; left: 17px; top: 13px; border-style: solid; border-width: 9px 0 9px 14px; border-color: transparent transparent transparent #fff; }
.ttile__body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.ttile__name { font-family: var(--font-display); text-transform: uppercase; font-size: 22px; line-height: 1; }
.ttile__spec { color: var(--ink-mute); font-size: 14px; }
.ttile__where { font-size: 11px; }
.ttile__cta { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; text-decoration: underline; text-underline-offset: 3px; }
.ttile__link:focus-visible { outline: 3px solid var(--oxblood); outline-offset: 2px; }

.tmodal { width: min(980px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: var(--border); background: var(--paper); color: var(--ink); overflow: auto; }
.tmodal::backdrop { background: rgba(20,17,15,.85); }
.tmodal__close { position: absolute; top: 8px; right: 8px; z-index: 2; width: 44px; height: 44px; background: var(--ink); color: var(--paper); border: 0; font-size: 18px; cursor: pointer; }
.tmodal__close:focus-visible { outline: 3px solid var(--oxblood); }
.tmodal__body { display: grid; grid-template-columns: 1fr; }
.tmodal__media { background: var(--ink); display: flex; justify-content: center; align-items: center; }
.tmodal__media video, .tmodal__media iframe { display: block; width: 100%; aspect-ratio: 9 / 16; max-height: 70vh; border: 0; background: #000; object-fit: contain; }
.tmodal__media--photo .photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tmodal__info { padding: 22px 20px 24px; display: flex; flex-direction: column; gap: 10px; }
.tmodal__name { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 34px; line-height: 1; margin: 0; }
.tmodal__spec { color: var(--ink-mute); margin: 0; }
.tmodal__where { margin: 0; }
.tmodal__bio { margin-top: 4px; }
.tmodal__actions { margin-top: 8px; }
@media (min-width: 768px) {
  .tmodal__body { grid-template-columns: minmax(0, 380px) 1fr; }
  .tmodal__media video, .tmodal__media iframe { max-height: calc(100vh - 34px); height: 100%; }
  .tmodal__info { padding: 36px 32px; max-height: calc(100vh - 34px); overflow-y: auto; }
  .tmodal__name { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) { .ttile__photo .photo { transition: none; } .hero__video { display: none; } }

/* ---------- Membership: gym switcher, main plan cards, grouped list ---------- */
.plans__ask { margin-bottom: 10px; }
.gym-switch { display: grid; grid-template-columns: 1fr 1fr; border: var(--border); margin-bottom: 24px; }
.gym-switch__btn { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; text-decoration: none; color: var(--ink); background: var(--paper); min-height: 44px; }
.gym-switch__btn + .gym-switch__btn { border-left: var(--border); }
.gym-switch__btn[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.gym-switch__btn:hover:not([aria-selected="true"]) { background: rgba(20,17,15,.06); }
.gym-switch__name { font-family: var(--font-display); font-size: 18px; white-space: nowrap; line-height: 1; text-transform: uppercase; }
.gym-switch__area { font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: var(--track-label); color: var(--oxblood); }
.gym-switch__btn[aria-selected="true"] .gym-switch__area { color: var(--flag); }

.plan-cards { display: grid; gap: 12px; }
.plan-card { border: var(--border); padding: 18px; display: flex; flex-direction: column; gap: 8px; background: var(--paper); }
.plan-card__label { font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: var(--track-label); }
.plan-card__note { color: var(--ink-mute); font-size: 14px; flex: 1; }
.plan-card .btn { margin-top: 6px; }
@media (max-width: 767px) {
  .gym-switch__btn { padding: 12px; }
  .plan-card { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 4px; padding: 14px 16px; align-items: center; }
  .plan-card__label, .plan-card__price, .plan-card__note { grid-column: 1; }
  .plan-card .btn { grid-column: 2; grid-row: 1 / span 3; margin: 0; width: auto; padding-inline: 20px; }
  .plan-card__price { font-size: 34px; }
}

.plan-list { display: grid; gap: 28px; margin-top: 32px; }
.plan-list__title { margin-bottom: 8px; }
.plan-list__rows { list-style: none; margin: 0; padding: 0; border-top: var(--border); }
.plan-list__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(20,17,15,.18); }
.plan-list__label { font-size: 16px; }
.plan-list__label small { display: block; color: var(--ink-mute); font-size: 13px; margin-top: 2px; }
.plan-list__price { font-family: var(--font-display); font-size: 22px; white-space: nowrap; }
.plan-list__price .price__suffix { font-size: .6em; }

@media (min-width: 768px) {
  .gym-switch__btn { padding: 18px 22px; }
  .gym-switch__name { font-size: 26px; }
  .plan-cards { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .plan-card { padding: 24px; }
  .plan-list { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}
