/* ==========================================================================
   H-Town Muscle — "Iron House, lights on" layer (2026-11 redesign).
   Loads after main.css and restyles it: darker rhythm, bigger type, image-led cards,
   restrained motion. Same tokens, logo, fonts. Mobile-first; 768 / 1024 / 1280.
   ========================================================================== */

:root {
  --ink-2:      #1c1815;  /* raised surface on ink */
  --ink-3:      #27221e;  /* hairlines / hover on ink */
  --oxblood-hi: #ad2619;  /* hover state of oxblood */
  --ember:      #e0583f;  /* small accent text on ink (AA on --ink) */
  --ease:       cubic-bezier(.2, .7, .2, 1);
  --header-h:   64px;
  --sec-m:      64px;
  --sec-d:      112px;
  --hatch: repeating-linear-gradient(135deg, rgba(232,228,220,.035) 0 1px, transparent 1px 7px);
}
@media (min-width: 1024px) { :root { --header-h: 84px; } }

::selection { background: var(--oxblood); color: #fff; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { text-rendering: optimizeLegibility; background: var(--ink); }
.site-main { background: var(--paper); }

/* ---------- Rhythm ---------- */
.section { padding-top: var(--sec-m); padding-bottom: var(--sec-m); }
.section--ink { background: var(--ink); color: var(--paper); background-image: var(--hatch); }
.section--paper-2 { background: var(--paper-2); }
@media (min-width: 1024px) {
  .section { padding-top: var(--sec-d); padding-bottom: var(--sec-d); }
}

/* ---------- Buttons ---------- */
.btn {
  letter-spacing: .1em; padding: 14px 24px; min-height: 48px;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--oxblood-hi); border-color: var(--oxblood-hi); color: #fff; }
.btn--secondary:hover { background: var(--oxblood); border-color: var(--oxblood); color: #fff; }
.btn--lg { min-height: 56px; padding: 18px 30px; font-size: 15px; }
.btn--primary::after, .btn--lg.btn--dark::after {
  content: ""; width: 14px; height: 10px; margin-left: 12px; flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 4h11L8 1l1-1 5 5-5 5-1-1 3-3H0z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 4h11L8 1l1-1 5 5-5 5-1-1 3-3H0z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 180ms var(--ease);
}
.btn--primary:hover::after, .btn--lg.btn--dark:hover::after { transform: translateX(4px); }
.btn--sm.btn--primary::after, .sticky-bar .btn::after, .site-header__cta::after, .mobile-menu .btn::after { display: none; }
@media (min-width: 1024px) { .btn { padding: 15px 28px; } .btn--lg { padding: 20px 34px; font-size: 16px; } }

/* ---------- Section header: "01 ——" kicker over a big title ---------- */
.section-header { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; margin-bottom: 28px; }
.section-header__num {
  flex-basis: 100%; display: flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: .2em; padding: 0;
}
.section-header__num::after { content: ""; width: 44px; height: 2px; background: var(--oxblood); }
.section-header__title { font-size: clamp(42px, 8.4vw, 104px); line-height: .9; letter-spacing: -.005em; }
.section-header__rule { display: none; }
.section--ink .section-header__num { color: var(--ember); }
.section--ink .section-header__num::after { background: var(--ember); }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-head-row .section-header { margin-bottom: 0; }
.section-head-row > .btn { flex: 0 0 auto; margin-bottom: 8px; }
@media (min-width: 1024px) {
  .section-header, .section-head-row { margin-bottom: 48px; }
  .section-header__num { font-size: 13px; }
}

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 55; transition: background-color 250ms ease, box-shadow 250ms ease; }
.site-header__bar { min-height: var(--header-h); padding-top: 10px; padding-bottom: 10px; }
.site-header--overlay { position: absolute; top: 0; left: 0; right: 0; background: transparent; }
.site-header--overlay::before {
  content: ""; position: absolute; inset: 0 0 -40px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(20,17,15,.75), rgba(20,17,15,0));
  transition: opacity 250ms ease;
}
.site-header__bar { position: relative; }
.burger { width: 44px; height: 44px; padding: 13px 10px; margin-right: -10px; }
@media (min-width: 1024px) {
  .site-header { position: sticky; top: 0; }
  .site-header--overlay { position: fixed; }
  .site-header.is-scrolled { background: var(--ink); box-shadow: 0 1px 0 var(--ink-3); }
  .site-header.is-scrolled::before { opacity: 0; }
  .site-header.is-scrolled .site-header__bar { min-height: 68px; }
  .site-header__bar { transition: min-height 250ms var(--ease); }
  .nav-desktop { display: flex; justify-content: center; }
  .nav-desktop__list { gap: 26px; }
  .nav-desktop__item > a { position: relative; font-size: 12px; letter-spacing: .14em; padding: 12px 0; }
  .nav-desktop__item > a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--oxblood);
    transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease);
  }
  .nav-desktop__item > a:hover { color: var(--paper); }
  .nav-desktop__item > a:hover::after, .nav-desktop__item > a:focus-visible::after { transform: scaleX(1); }
  .nav-dropdown { border: 0; border-top: 2px solid var(--oxblood); background: var(--ink); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
  .nav-dropdown a { padding: 14px 18px; }
  .nav-dropdown a:hover { background: var(--oxblood); color: #fff; }
  .rail, .faq-rail { top: 96px; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu { background: var(--ink); background-image: var(--hatch); }
.mobile-menu__list > li { border-bottom: 1px solid var(--ink-3); }
.mobile-menu__list > li > a, .mobile-menu__toggle { font-size: 38px; padding: 14px 0 12px; }
.mobile-menu__sub { margin: 0 0 14px; }

/* ---------- Home hero ---------- */
.hero { isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background-image: var(--hatch); }
.hero__copy { z-index: 2; }
.hero__title { text-wrap: balance; }
.hero--home {
  min-height: calc(100svh - 66px); min-height: max(560px, calc(100svh - 66px));
  align-items: flex-end;
}
.hero--home::after {
  background:
    linear-gradient(to top, rgba(20,17,15,.95) 0%, rgba(20,17,15,.55) 45%, rgba(20,17,15,.2) 75%, rgba(20,17,15,.45) 100%),
    linear-gradient(90deg, rgba(20,17,15,.55) 0%, rgba(20,17,15,0) 70%);
}
.hero--home .hero__copy { padding-top: calc(var(--header-h) + 48px); padding-bottom: 40px; }
.hero--home .hero__title { font-size: clamp(56px, 17vw, 152px); line-height: .88; max-width: none; letter-spacing: -.012em; }
.hero__line { display: block; }
.hero__line--outline { color: transparent; -webkit-text-stroke: 1.5px var(--paper); paint-order: stroke fill; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-weight: 700; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--paper);
  padding: 8px 12px 8px 10px; background: rgba(20,17,15,.55); border: 1px solid rgba(232,228,220,.18);
}
.hero__dot { width: 8px; height: 8px; border-radius: 50%; background: #e2412f; box-shadow: 0 0 0 0 rgba(226,65,47,.6); animation: htm-pulse 2.2s ease-out infinite; }
.hero--home .hero__sub { font-size: 18px; color: var(--paper); opacity: .82; max-width: 30em; margin-top: 20px; }
.hero--home .hero__actions { margin-top: 28px; gap: 10px; }
.hero--home .hero__actions .btn { width: 100%; }
.hero__scroll {
  position: absolute; z-index: 2; right: var(--pad-side-d); bottom: 48px;
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none;
  font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--paper-mute);
  writing-mode: vertical-rl;
}
.hero__scroll::after { content: ""; width: 2px; height: 64px; background: linear-gradient(var(--paper) 0 50%, rgba(232,228,220,.2) 50%); background-size: 100% 200%; animation: htm-scrollcue 2s var(--ease) infinite; }
.hero__line { animation: htm-rise-t 1s var(--ease) both; } /* transform only: the headline may be the LCP */
.hero__eyebrow, .hero--home .hero__sub, .hero--home .hero__actions { animation: htm-rise .9s var(--ease) both; }
.hero__line:nth-child(2) { animation-delay: .08s; }
.hero__line:nth-child(3) { animation-delay: .16s; }
.hero--home .hero__sub { animation-delay: .18s; }
.hero--home .hero__actions { animation-delay: .26s; }
@media (min-width: 768px) {
  .hero--home .hero__actions .btn { width: auto; }
  .hero__line--outline { -webkit-text-stroke-width: 2px; }
}
@media (min-width: 1024px) {
  .hero--home { min-height: 100vh; min-height: clamp(680px, 100vh, 1080px); }
  .hero--home .hero__copy { padding-bottom: 88px; }
  .hero--home .hero__sub { font-size: 21px; margin-top: 26px; }
  .hero--home .hero__actions { margin-top: 36px; gap: 14px; }
}

/* Inner heroes (gym pages, trainers): taller, bigger type, hatch. */
.hero--short { min-height: 440px; }
.hero--short .hero__title { font-size: clamp(54px, 12vw, 136px); line-height: .88; }
.hero--short .hero__copy { padding-bottom: 36px; }
.hero--short .hero__sub { color: var(--paper); opacity: .85; }
@media (min-width: 1024px) {
  .hero--short { min-height: 600px; }
  .hero--short .hero__copy { padding-bottom: 72px; }
}

/* ---------- Ticker ---------- */
.ticker { background: var(--oxblood); color: #fff; overflow: hidden; border-block: 2px solid var(--ink); }
.ticker__track { display: flex; width: max-content; animation: htm-marquee 38s linear infinite; }
.ticker__list { display: flex; flex: 0 0 auto; }
.ticker__list li {
  display: flex; align-items: center; white-space: nowrap;
  font-family: var(--font-display); text-transform: uppercase; font-size: 22px; line-height: 1; letter-spacing: .02em;
  padding: 16px 0;
}
.ticker__list li::after { content: "\2605"; font-size: .7em; margin: 0 26px; color: var(--ink); }
.ticker:hover .ticker__track { animation-play-state: paused; }
@media (min-width: 1024px) { .ticker__list li { font-size: 30px; padding: 20px 0; } .ticker__list li::after { margin: 0 36px; } }

/* ---------- Proof strip ---------- */
.proof { background: var(--ink); color: var(--paper); background-image: var(--hatch); }
.proof__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.proof__item { padding: 28px 0 26px; border-bottom: 1px solid var(--ink-3); }
.proof__item:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--ink-3); }
.proof__item:nth-child(even) { padding-left: 20px; }
.proof__num { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(46px, 13vw, 96px); line-height: .9; letter-spacing: -.01em; }
.proof__num--price { white-space: nowrap; }
.proof__num .price__suffix { font-size: .3em; letter-spacing: .02em; margin-left: 2px; color: var(--paper-mute); }
.proof__label { margin-top: 10px; color: var(--paper-mute); font-size: 13px; line-height: 1.35; font-weight: 500; }
@media (min-width: 1024px) {
  .proof__grid { grid-template-columns: repeat(4, 1fr); }
  .proof__item, .proof__item:nth-child(odd), .proof__item:nth-child(even) { padding: 56px 28px 52px; border-bottom: 0; border-right: 1px solid var(--ink-3); }
  .proof__item:first-child { padding-left: 0; }
  .proof__item:last-child { border-right: 0; }
  .proof__label { font-size: 15px; margin-top: 14px; }
}

/* ---------- Location cards: ink, image-led ---------- */
.loc-card { border: 0; background: var(--ink); color: var(--paper); overflow: hidden; position: relative; }
.loc-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--oxblood); transform: scaleX(0); transform-origin: left; transition: transform 400ms var(--ease); }
.loc-card:hover::after, .loc-card:focus-within::after { transform: scaleX(1); }
.loc-card__photo, .loc-card--index .loc-card__photo { position: relative; height: auto; aspect-ratio: 16 / 10; border-bottom: 0; overflow: hidden; }
.loc-card__photo .photo { transition: transform 900ms var(--ease); }
.loc-card:hover .loc-card__photo .photo { transform: scale(1.05); }
.loc-card__photo::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(to top, var(--ink), rgba(20,17,15,0)); }
.loc-card .card__body { padding: 0 20px 24px; margin-top: -44px; position: relative; z-index: 1; gap: 10px; }
.loc-card .card__title { font-size: clamp(32px, 8vw, 52px); line-height: .92; }
.loc-card .card__meta { color: var(--paper-mute); font-size: 15px; }
.loc-card .card__meta a, .loc-card__phone a { color: var(--paper); }
.loc-card .card__actions { padding-top: 14px; }
.loc-card .btn--secondary { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.loc-card .btn--secondary:hover { background: var(--oxblood); border-color: var(--oxblood); color: #fff; }
.loc-card .btn--outline { border-color: rgba(232,228,220,.4); color: var(--paper); }
.loc-card .btn--outline:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.loc-card .chip { border-color: rgba(232,228,220,.35); color: var(--paper); }
.loc-card .loc-card__phone { font-size: 30px; }
@media (min-width: 1024px) {
  .loc-grid { gap: 28px; }
  .loc-card .card__body, .loc-card--index .card__body { padding: 0 36px 36px; margin-top: -64px; }
  .loc-card .card__meta { font-size: 16px; }
}

/* ---------- Membership: switcher + plan cards ---------- */
.plans__ask { color: var(--oxblood); }
.gym-switch { border: 2px solid var(--ink); background: var(--paper); }
.gym-switch__btn { position: relative; transition: background-color 180ms ease, color 180ms ease; }
.gym-switch__btn[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--oxblood); }
.gym-switch__btn[aria-selected="true"] .gym-switch__area { color: var(--ember); }
.plan-cards { gap: 12px; }
.plan-card {
  border: 2px solid var(--ink); background: var(--paper); gap: 10px; position: relative;
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}
.plan-card:first-child { background: var(--ink); color: var(--paper); }
.plan-card:first-child .plan-card__note { color: var(--paper-mute); }
.plan-card:first-child .plan-card__label { color: var(--ember); }
.plan-card__label { letter-spacing: .16em; }
.plan-card__price { font-size: 42px; }
.plan-card__price .price__suffix { font-size: .38em; letter-spacing: .02em; }
@media (hover: hover) {
  .plan-card:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--oxblood); }
}
@media (min-width: 768px) {
  .plan-card { padding: 28px 26px 26px; }
  .plan-card__price { font-size: 60px; margin: 6px 0 2px; }
  .plan-cards { gap: 18px; }
}
@media (min-width: 1024px) { .plan-card__price { font-size: 72px; } }
.home-dual { margin-top: 28px; padding-top: 24px; border-top: 2px solid var(--ink); font-size: 16px; }
.home-dual strong { color: var(--oxblood); }
.plan-list__price { font-size: 26px; }
.plan-list__rows { border-top-width: 2px; }

/* ---------- Trainer cards (shared) ---------- */
.trainer-card__photo { position: relative; overflow: hidden; background: var(--ink-2); }
.trainer-card__photo .photo--bordered { border: 0; }
.trainer-card__photo .photo { transition: transform 900ms var(--ease); }
.trainer-card:hover .trainer-card__photo .photo { transform: scale(1.05); }
.trainer-card__photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--oxblood); transform: scaleX(0); transform-origin: left; transition: transform 400ms var(--ease); }
.trainer-card:hover .trainer-card__photo::after { transform: scaleX(1); }
.trainer-card__body { padding-top: 14px; }
.trainer-card__name { font-size: 24px; }
.trainer-card .caps { margin-top: 6px; }
.section--ink .trainer-card .caps { color: var(--ember); }
.section--ink .trainer-card__spec { color: var(--paper-mute); }
.trainer-grid { gap: 28px 12px; }
.home-trainers__more { margin-top: 28px; }
@media (min-width: 768px) { .trainer-grid { gap: 36px 20px; } }
@media (min-width: 1024px) { .trainer-card__name { font-size: 30px; } }

/* ---------- Testimonials ---------- */
.tcard { border: 2px solid var(--ink); background: var(--paper); position: relative; }
.tcard__body { padding: 56px 22px 24px; gap: 18px; }
.tcard::before {
  content: "\201C"; position: absolute; top: 14px; left: 18px;
  font-family: var(--font-display); font-size: 72px; line-height: 1; color: var(--oxblood); height: 40px; overflow: visible;
}
.tcard__quote { font-size: 18px; line-height: 1.45; font-weight: 500; color: var(--ink); }
.tcard__by { color: var(--oxblood); }
.tcard--featured { background: var(--ink); color: var(--paper); }
.tcard--featured .tcard__quote { color: var(--paper); }
.tcard--featured .tcard__glyph { display: none; }
.home-tests { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: calc(var(--pad-side-m) * -1); padding-right: var(--pad-side-m); }
.home-tests::-webkit-scrollbar { display: none; }
.home-tests > * { scroll-snap-align: start; }
.home-tests > .tcard:first-child { background: var(--ink); }
.home-tests > .tcard:first-child .tcard__quote { color: var(--paper); }
.home-tests > .tcard:first-child .tcard__by { color: var(--ember); }
@media (min-width: 768px) {
  .home-tests { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; margin-right: 0; padding-right: 0; gap: 20px; }
}
@media (min-width: 1024px) {
  .tcard__body { padding: 72px 30px 30px; }
  .tcard::before { font-size: 96px; top: 18px; left: 26px; }
  .tcard__quote { font-size: 20px; }
}

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; padding: 64px 0; isolation: isolate; }
.cta-band__ghost {
  position: absolute; z-index: -1; right: -2vw; bottom: -.18em; white-space: nowrap; pointer-events: none;
  font-family: var(--font-display); text-transform: uppercase; font-size: 30vw; line-height: 1; color: rgba(0,0,0,.09);
}
.cta-band__title { font-size: clamp(52px, 12vw, 128px); line-height: .88; }
.cta-band__sub { font-size: 17px; margin-top: 16px; opacity: .9; }
.cta-band .btn { min-height: 56px; padding: 18px 30px; font-size: 15px; }
@media (min-width: 1024px) {
  .cta-band { padding: 120px 0; }
  .cta-band__ghost { font-size: 22vw; }
  .cta-band__sub { font-size: 20px; }
  .cta-band .btn { padding: 22px 38px; font-size: 16px; }
}

/* ---------- Title band (index pages) ---------- */
.title-band { position: relative; background-color: var(--ink); background-image: var(--hatch); padding: 56px 0 48px; overflow: hidden; }
.title-band__title { font-size: clamp(56px, 13vw, 148px); line-height: .88; }
.title-band__title::after { content: ""; display: block; width: 72px; height: 6px; background: var(--oxblood); margin-top: 22px; }
.title-band__sub { font-size: 17px; margin-top: 18px; max-width: 40em; color: var(--paper); opacity: .8; }
@media (min-width: 1024px) {
  .title-band { padding: 120px 0 88px; }
  .title-band__title::after { margin-top: 30px; height: 8px; width: 96px; }
  .title-band__sub { font-size: 20px; }
}

/* ---------- Breadcrumb sits on ink, between header and hero ---------- */
.breadcrumb { background: var(--ink); color: var(--paper-mute); border-bottom: 1px solid var(--ink-3); padding: 10px 0; font-size: 12px; letter-spacing: .04em; }
.breadcrumb strong { color: var(--paper); font-weight: 600; }
.breadcrumb a:hover { color: var(--paper); }

/* ---------- Location page ---------- */
.loc-info { background: var(--ink); color: var(--paper); padding: 24px 0 26px; }
.loc-info .muted { color: var(--paper-mute); }
.loc-info__access { font-size: 40px; }
.loc-info .btn--secondary { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.loc-info__nudge a { color: var(--paper); }
.tiles { gap: 10px; }
.tile { border: 0; background: var(--paper-2); padding: 20px 16px 18px; position: relative; }
.tile::before { content: ""; position: absolute; left: 16px; top: 0; width: 28px; height: 4px; background: var(--oxblood); }
.tile__label { font-size: 20px; }
.inside-grid__cell { overflow: hidden; }
.inside-grid__cell .photo { transition: transform 900ms var(--ease); }
.inside-grid__cell:hover .photo { transform: scale(1.04); }
.inside-grid .photo--bordered { border: 0; }
.map { border: 2px solid var(--ink); }
.loc-section { padding-top: 40px; padding-bottom: 40px; }
.section-header__rule.hide-mobile { display: none !important; }
@media (min-width: 1024px) {
  .loc-section, .loc-section:first-child { padding-top: 64px; padding-bottom: 8px; }
  .loc-main { padding-bottom: 72px; }
  .loc-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; }
  .loc-section .section-header__title { font-size: 64px; }
  .rail__box { border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); background: var(--paper); }
  .rail__seg--ink { background-image: var(--hatch); }
  .rail__access { font-size: 44px; }
  .tile { padding: 24px 20px 20px; }
  .tile::before { left: 20px; }
  .tile__label { font-size: 24px; }
  .inside-grid__cell { height: 190px; }
  .inside-grid__cell:first-child { height: 390px; }
  .map { height: 340px; }
}

/* ---------- Trainers index on ink ---------- */
.post-type-archive-trainer .site-main { background: var(--ink); color: var(--paper); }
.post-type-archive-trainer .site-main > .section { background-image: var(--hatch); }
.filter-bar { border-bottom: 1px solid var(--ink-3); background: var(--ink); padding: 18px 0; }
.filter-bar .btn--outline { border-color: rgba(232,228,220,.35); color: var(--paper); }
.filter-bar .btn--outline:hover { background: var(--paper); color: var(--ink); }
.filter-bar .btn--secondary { background: var(--oxblood); border-color: var(--oxblood); color: #fff; }
.ttile-grid { gap: 28px 12px; }
.ttile__link { border: 0; background: transparent; color: var(--paper); }
.ttile__photo { border-bottom: 0; background: var(--ink-2); }
.ttile__photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--oxblood); transform: scaleX(0); transform-origin: left; transition: transform 400ms var(--ease); }
.ttile__link:hover .ttile__photo::after, .ttile__link:focus-visible .ttile__photo::after { transform: scaleX(1); }
.ttile__link:hover .ttile__photo .photo { transform: scale(1.05); }
.ttile__photo .photo { transition: transform 900ms var(--ease); }
.ttile__play { transition: transform 260ms var(--ease), background-color 180ms ease; }
.ttile__link:hover .ttile__play { transform: scale(1.12); background: var(--oxblood-hi); }
.ttile__body { padding: 14px 0 0; gap: 6px; }
.ttile__name { font-size: 26px; }
.ttile__spec { color: var(--paper-mute); }
.ttile__where { color: var(--ember); }
.ttile__cta { color: var(--paper); text-decoration-color: var(--oxblood); text-decoration-thickness: 2px; }
.tmodal { box-shadow: 0 30px 80px rgba(0,0,0,.5); }
@media (min-width: 768px) { .ttile-grid { gap: 40px 20px; } }
@media (min-width: 1024px) { .ttile__name { font-size: 30px; } }

/* ---------- Membership page extras ---------- */
.dual__panel.panel--oxblood, .panel--oxblood { background-image: var(--hatch); }
.signup-card { border-width: 2px; transition: box-shadow 260ms var(--ease), transform 260ms var(--ease); background: var(--paper); }
@media (hover: hover) { .signup-card:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--ink); } }
.accordion > details > summary { transition: color 180ms ease; }
.accordion > details > summary:hover { color: var(--oxblood); }
.accordion > details > summary::after { transition: transform 220ms var(--ease); }
.accordion > details[open] > summary::after { transform: rotate(180deg); }

/* ---------- Footer ---------- */
.site-footer { padding-top: 56px; padding-bottom: 0; background-image: var(--hatch); }
.site-footer__heading { font-size: 15px; letter-spacing: .02em; margin-bottom: 8px; }
.site-footer__base { margin-top: 44px; border-top: 1px solid var(--ink-3); padding-top: 20px; padding-bottom: 24px; overflow: hidden; }
.site-footer__giant {
  font-family: var(--font-display); text-transform: uppercase; white-space: nowrap; line-height: .8;
  font-size: 13.2vw; color: transparent; -webkit-text-stroke: 1px #3a332d; letter-spacing: -.01em;
  margin: 0 0 18px; user-select: none;
}
.site-footer__copy { font-size: 12px; letter-spacing: .06em; }
@media (min-width: 1024px) {
  .site-footer { padding-top: 88px; }
  .site-footer__giant { font-size: min(14.2vw, 196px); margin-bottom: 26px; }
}

/* ---------- Sticky call bar ---------- */
.sticky-bar { gap: 8px; padding: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 30px rgba(0,0,0,.25); }
.sticky-bar .btn { min-height: 48px; }

/* ---------- Generic polish ---------- */
.photo { background: var(--ink-2); }
.panel--ink { background-image: var(--hatch); }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.not-found__code { font-size: clamp(120px, 34vw, 260px); }

/* ---------- Scroll reveal (main.js tags below-the-fold blocks with .rv) ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); transition-delay: var(--rv-d, 0ms); }
.rv.is-in { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes htm-rise { from { transform: translateY(36px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes htm-rise-t { from { transform: translateY(40px); } to { transform: none; } }
@keyframes htm-marquee { to { transform: translateX(-50%); } }
@keyframes htm-pulse { 0% { box-shadow: 0 0 0 0 rgba(226,65,47,.6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(226,65,47,0); } }
@keyframes htm-scrollcue { 0% { background-position: 0 100%; } 100% { background-position: 0 -100%; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ticker__track { animation: none; }
  .rv { opacity: 1; transform: none; }
}

/* ---------- Trainer profile: ink head ---------- */
.tbio-head { background: var(--ink); color: var(--paper); background-image: var(--hatch); }
.tbio-head__photo { border-bottom: 0; overflow: hidden; }
.tbio-head__name { font-size: clamp(56px, 14vw, 120px); line-height: .88; }
.tbio-head .caps { color: var(--ember); }
.tbio-head__opening { color: var(--paper); opacity: .82; }
.tbio-head .btn--outline { border-color: rgba(232,228,220,.4); color: var(--paper); }
.tbio-head .btn--outline:hover { background: var(--paper); color: var(--ink); }
.tbio-head .btn--secondary { background: var(--paper); border-color: var(--paper); color: var(--ink); }
@media (min-width: 1024px) {
  .tbio-head { border-bottom: 0; }
  .tbio-head__photo { border-right: 0; height: 620px; }
  .tbio-head__name { max-width: none; }
}
.tbio-others .h2, .tbio-section .h2 { font-size: clamp(32px, 5vw, 48px); }

/* ---------- Breakpoint fixes ---------- */
.wordmark { flex: 0 0 auto; }
.site-main { overflow-x: clip; }
@media (min-width: 768px) {
  .hero--home .hero__title { font-size: min(11.5vw, 152px); }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .nav-desktop__list { gap: 16px; }
  .nav-desktop__item > a { font-size: 11px; letter-spacing: .1em; }
  .site-header__cta { padding-inline: 18px; }
  .site-header__bar { gap: 16px; }
}
