/* style.css — The 100 Club. Black floor, brand orange, condensed type: the gym's own posters, turned into a site. */

@font-face { font-family: 'Anton'; src: url('../fonts/anton-400.woff2?v=b9beea08') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --bg: #0b0b0a;
  --fg: #f3efe7;
  --paper: #eee8dd;
  --ink: #0d0d0c;
  --muted: #9a958c;
  --accent: #ff5a1f;          /* the orange of their "100" */
  --accent-deep: #c63d0b;     /* orange that still reads on paper */
  --wa: #25d366;
  --line: rgba(255, 255, 255, .12);
  --display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --radius: 14px;

  --chat-paper: #f4efe6;
  --chat-paper-2: #fff;
  --chat-ink: #0d0d0c;
  --chat-brand: #0d0d0c;
  --chat-on-brand: #f4efe6;
  --chat-accent: #ff5a1f;
  --chat-on-accent: #0d0d0c;
}

::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline-color: var(--accent); }

/* ---------- type ---------- */
.title { font: 400 clamp(46px, 6.4vw, 108px)/.92 var(--display); text-transform: uppercase; letter-spacing: .004em; }
.title em, .hero-title em, .climb-title em { font-style: normal; color: var(--accent); }
.eyebrow { color: var(--accent); }
.eyebrow.muted { color: var(--muted); }
.lead { font-size: clamp(17px, 1.3vw, 20px); }

/* ---------- buttons ---------- */
.btn { white-space: nowrap; }
.btn--sm { min-height: 42px; padding: 10px 20px; }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--fg); color: var(--ink); }
.btn--ghost { background: rgba(11, 11, 10, .25); }
.btn--wa { background: var(--wa); color: #06210f; }
.btn--wa:hover { background: var(--ink); color: var(--fg); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--accent); color: var(--ink); }
.btn--ghost-ink { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(13, 13, 12, .3); }
.btn--ghost-ink:hover { background: var(--ink); color: var(--paper); }
.wa-icon { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* ---------- header ---------- */
.brand { display: inline-flex; align-items: center; gap: 8px; line-height: 1; }
.brand-num { font: 400 38px/.8 var(--display); color: var(--accent); letter-spacing: -.01em; }
.brand-words { display: grid; gap: 3px; font-size: 10.5px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
.site-header.is-solid { background: color-mix(in srgb, var(--bg) 88%, transparent); }

/* ---------- 1 · hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: var(--bg); isolation: isolate; }
/* The stage is a 16:9 picture that always covers the screen (with a little bleed for the camera shake).
   Layers inside it share its coordinates, so the cut-out athlete sits exactly where he was photographed. */
.hero-stage { --sw: max(104vw, 185svh); position: absolute; width: var(--sw); height: calc(var(--sw) * .5625); left: calc(50% - var(--sw) / 2); top: calc(50% - var(--sw) * .28125); }
.layer { position: absolute; inset: 0; will-change: transform; }
.layer-athlete { transform-origin: 50.75% 52.6%; }
.hero-gym { width: 100%; height: 100%; object-fit: cover; filter: brightness(.42) saturate(.8) contrast(1.05); }
.hero-num {
  position: absolute; left: 0; right: 0; top: calc(36% - .4em); display: flex; justify-content: center; gap: .02em;
  font: 400 min(calc(var(--sw) * .36), 82vw)/.8 var(--display); color: var(--accent); letter-spacing: -.02em;
  text-shadow: 0 0 .25em rgba(255, 90, 31, .28); user-select: none; pointer-events: none;
}
.hero-num span { display: inline-block; }
.hero-athlete { position: absolute; left: 39.31%; top: 8.574%; width: 21.34%; height: auto; max-width: none; }
.hero-chalk { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.hero-flash {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at var(--fx, 50%) var(--fy, 52%), rgba(255, 250, 242, .95), rgba(255, 240, 225, .35) 18%, transparent 46%);
}
.hero-shade {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(11, 11, 10, .92) 0%, rgba(11, 11, 10, .35) 26%, transparent 46%),
    linear-gradient(180deg, rgba(11, 11, 10, .65) 0%, transparent 18%),
    radial-gradient(ellipse at 50% 45%, transparent 45%, rgba(11, 11, 10, .55) 100%);
}
.hero-copy {
  position: absolute; inset: auto 0 0; z-index: 4; max-width: none; padding-bottom: clamp(36px, 8vh, 88px);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
}
.hero-left { width: min(34vw, 520px); }
.hero-left .eyebrow { margin-bottom: 18px; }
.hero-h1 { font: inherit; }
.hero-title { display: block; font: 400 clamp(44px, 4.7vw, 86px)/.92 var(--display); text-transform: uppercase; }
.hero-right { width: min(30vw, 420px); }
.hero-lead { font-size: clamp(15px, 1.15vw, 18px); line-height: 1.6; color: rgba(243, 239, 231, .8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-cue {
  position: absolute; z-index: 4; left: 0; right: 0; bottom: 26px; width: max-content; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: rgba(243, 239, 231, .6);
}
.hero-cue span { width: 1px; height: 38px; background: linear-gradient(var(--accent), transparent); transform-origin: 50% 0; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- 2 · the climb (one tall still, the camera climbs it) ---------- */
.climb { position: relative; background: #070706; }
.climb.is-live { height: 460vh; height: 460svh; }
.climb-stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.climb.is-live:not(.is-pinned) .climb-stage { position: sticky; top: 0; }
.climb-shot { position: absolute; left: 50%; bottom: 0; width: max(100vw, 146svh); max-width: none; height: auto; transform: translateX(-50%); transform-origin: 50% 100%; }
.climb.is-live .climb-shot { top: 0; bottom: auto; transform: none; will-change: transform; }
.climb-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 7, 6, .82) 0%, rgba(7, 7, 6, .35) 34%, transparent 55%), linear-gradient(0deg, rgba(7, 7, 6, .7), transparent 38%);
}
.climb-chapter { position: absolute; left: var(--gutter); bottom: clamp(96px, 15vh, 150px); max-width: 600px; padding-right: 20px; }
.climb-chapter + .climb-chapter { display: none; }
.climb.is-live .climb-chapter { display: block; will-change: opacity, transform; }
.climb-chapter .eyebrow { margin-bottom: 18px; }
.climb-title { font: 400 clamp(52px, 6.6vw, 112px)/.9 var(--display); text-transform: uppercase; }
.climb-lead { margin-top: 22px; max-width: 25em; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.6; color: rgba(243, 239, 231, .78); }
.climb-hud {
  position: absolute; right: var(--gutter); top: 50%; height: 42vh; translate: 0 -50%; display: none; flex-direction: column; align-items: center; gap: 12px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: rgba(243, 239, 231, .6);
}
.climb.is-live .climb-hud { display: flex; }
.climb-bar { position: relative; flex: 1; width: 2px; border-radius: 2px; overflow: hidden; background: rgba(243, 239, 231, .18); }
.climb-bar i { position: absolute; inset: 0; background: var(--accent); transform-origin: 50% 100%; transform: scaleY(0); }

/* ---------- 3 · team ---------- */
.coaches { background: #121110; border-top: 1px solid var(--line); }
.roster { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(36px, 5vw, 96px); align-items: start; }
.reviews-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.reviews-score { font-size: 13px; color: var(--muted); }
.reviews-score b { color: var(--fg); }
.review { margin: 0; padding: clamp(20px, 2vw, 28px); border-radius: var(--radius); background: #1b1a18; box-shadow: inset 0 0 0 1px var(--line); }
.review blockquote { margin: 0; }
.review blockquote p { font-size: 15px; line-height: 1.6; color: rgba(243, 239, 231, .78); }
.review figcaption { margin-top: 14px; font-size: 13px; color: var(--muted); }
.review figcaption b { color: var(--fg); font-weight: 600; }
.review-rating { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-stars { color: var(--accent); font-size: 18px; letter-spacing: .12em; line-height: 1; }
.review--main { padding: clamp(26px, 3vw, 40px); background: var(--fg); color: var(--ink); box-shadow: none; }
.review--main .review-stars { font-size: clamp(30px, 2.6vw, 40px); color: var(--accent-deep); }
.review-badge { padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--fg); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.review--main blockquote p { font: 400 clamp(26px, 2.4vw, 36px)/1.1 var(--display); text-transform: uppercase; color: var(--ink); }
.review--main figcaption { display: flex; align-items: center; gap: 12px; margin-top: 22px; color: rgba(13, 13, 12, .6); }
.review--main figcaption b { display: block; color: var(--ink); font-size: 15px; }
.review-initial { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--ink); font: 400 20px/1 var(--display); }
.review-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.roster-label { margin-bottom: 22px; }
.roster-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.roster-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 16px 0 14px; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease); }
.roster-name { font: 400 clamp(30px, 3.4vw, 54px)/1 var(--display); text-transform: uppercase; transition: color .3s; }
.roster-role { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-align: right; }
@media (hover: hover) { .roster-list li:hover { padding-left: 14px; } .roster-list li:hover .roster-name { color: var(--accent); } }

/* ---------- 4 · join & visit (paper) ---------- */
.visit { background: var(--paper); color: var(--ink); }
.visit .eyebrow { color: var(--accent-deep); }
.visit .title em { color: var(--accent-deep); }
.programs { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: clamp(16px, 2.2vw, 32px); }
.program-media { aspect-ratio: 4 / 5; border-radius: var(--radius); margin-bottom: 18px; background: #d9d2c5; }
.program-title { font: 400 clamp(24px, 2vw, 32px)/1.02 var(--display); text-transform: uppercase; margin-bottom: 10px; }
.program p { font-size: 15px; line-height: 1.55; color: rgba(13, 13, 12, .72); max-width: 30em; }
.program--list { align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 2.4vw, 36px); border-radius: var(--radius); background: var(--ink); color: var(--paper); }
.program--list .program-title { color: var(--accent); margin-bottom: 18px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 15px; }
.checks li { display: flex; gap: 12px; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid rgba(238, 232, 221, .14); }
.checks li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); translate: 0 -1px; }

.join { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(36px, 6vw, 100px); align-items: center; margin-top: clamp(80px, 11vw, 150px); padding-top: clamp(56px, 7vw, 90px); border-top: 1px solid rgba(13, 13, 12, .14); }
.join-cta .eyebrow { margin-bottom: 20px; }
.join-title { font-size: clamp(56px, 8vw, 140px); }
.join-cta .lead { margin-top: 24px; color: rgba(13, 13, 12, .75); }
.join-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.rating { margin-top: 26px; font-size: 14px; color: rgba(13, 13, 12, .7); }
.stars { color: var(--accent-deep); letter-spacing: .1em; }
.card-visit { padding: clamp(26px, 3vw, 44px); border-radius: calc(var(--radius) + 6px); background: #fff; box-shadow: 0 30px 70px -40px rgba(13, 13, 12, .45); }
.status { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.status i { width: 9px; height: 9px; border-radius: 50%; background: #a8a296; }
.status.is-open i { background: #1fa855; box-shadow: 0 0 0 4px rgba(31, 168, 85, .18); }
.status.is-closed i { background: var(--accent-deep); }
.hours { width: 100%; border-collapse: collapse; font-size: 16px; }
.hours th, .hours td { padding: 12px 0; border-bottom: 1px solid rgba(13, 13, 12, .1); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; color: var(--accent-deep); }
.hours-note { margin-top: 10px; font-size: 13px; color: rgba(13, 13, 12, .55); }
.where { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(13, 13, 12, .1); }
.where p { font-size: 16px; line-height: 1.45; }
.phones { margin-top: 18px; font-size: 14px; color: rgba(13, 13, 12, .7); }
.phones a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg); color: var(--muted); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 30px 36px; }
.brand--footer .brand-num { font-size: 30px; }
.brand--footer .brand-words { color: var(--fg); font-size: 9px; }
.footer-links { display: flex; gap: 18px; }
.footer-links .link { color: var(--fg); }

/* ---------- floating WhatsApp + chat ---------- */
.wa-float {
  position: fixed; z-index: 64; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .6);
  translate: 0 calc(100% + 40px); transition: translate .7s var(--ease), transform .3s var(--ease), opacity .3s;
}
.wa-float.is-in { translate: 0 0; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
.chat-is-open .wa-float { opacity: 0; pointer-events: none; }
.chat-launch { bottom: 20px; }
.has-wa .chat-launch { bottom: 92px; } /* sits above the WhatsApp button once that slides in */
.chat-titles h2 { font: 400 25px/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.chat-wa { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--wa); color: #fff; }
.chat-wa svg { width: 20px; height: 20px; fill: currentColor; }
.chat-card {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; font-size: 14px; font-weight: 600; line-height: 1.3;
  background: var(--chat-paper-2); box-shadow: inset 0 0 0 1px var(--chat-line); transition: background .25s;
}
.chat-card:hover { background: #fbf7f0; }
.chat-card i { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-style: normal; }
.chat-card svg { width: 18px; height: 18px; fill: currentColor; }
.chat-card small { display: block; font-weight: 400; opacity: .6; margin-top: 2px; }
.chat-card--wa i { background: var(--wa); color: #fff; }
.chat-card--call i, .chat-card--map i { background: var(--ink); color: var(--paper); }

/* ---------- motion off ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-chalk, .hero-cue { display: none; }
}

/* ---------- tablets ---------- */
@media (max-width: 1100px) {
  .nav .link { display: none; }
  .programs { grid-template-columns: 1fr 1fr; }
  .program--list { grid-column: 1 / -1; }
  .review-row { grid-template-columns: 1fr; }
}

/* ---------- phones ---------- */
@media (max-width: 767px) {
  .site-header { height: 68px; }
  .brand-num { font-size: 32px; }
  .hero { min-height: 560px; }
  /* Phones: a smaller stage that starts below the header, so his head clears the menu and the top of the 100
     shows above his shoulders; the photo's edges fade into the black. */
  .hero-stage { --sw: max(104vw, 139svh); top: 13.5svh; }
  .layer-gym { -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 78%, transparent); mask-image: linear-gradient(180deg, transparent, #000 16%, #000 78%, transparent); }
  .hero-shade { background: linear-gradient(0deg, rgba(11, 11, 10, .96) 0%, rgba(11, 11, 10, .8) 24%, rgba(11, 11, 10, .15) 42%, transparent 50%), linear-gradient(180deg, rgba(11, 11, 10, .6) 0%, transparent 14%); }
  .hero-num { top: -3%; font-size: 70vw; }
  .hero-lead { display: none; }
  .hero-copy { flex-direction: column; align-items: stretch; gap: 16px; padding-bottom: 30px; }
  .hero-left, .hero-right { width: auto; }
  .hero-left .eyebrow { margin-bottom: 12px; font-size: 10.5px; letter-spacing: .16em; }
  .hero-title { font-size: clamp(40px, 12.4vw, 56px); }
  .hero-lead { font-size: 15px; }
  .hero-actions { margin-top: 18px; }
  .hero-actions .btn { min-height: 48px; padding: 12px 20px; }
  .hero-cue { display: none; }

  .climb-chapter { bottom: 150px; right: var(--gutter); } /* clear of the floating WhatsApp and chat buttons */
  .climb-title { font-size: clamp(44px, 13vw, 62px); }
  .climb-lead { font-size: 16px; }
  .climb-shade { background: linear-gradient(0deg, rgba(7, 7, 6, .9) 0%, rgba(7, 7, 6, .55) 34%, transparent 58%); }
  .climb-hud { right: 14px; height: 30vh; top: 38%; font-size: 9px; }

  .roster { grid-template-columns: 1fr; gap: 64px; }
  .roster-role { font-size: 10.5px; letter-spacing: .12em; }

  .programs { grid-template-columns: 1fr; gap: 40px; }
  .join { grid-template-columns: 1fr; }
  .join-actions .btn { width: 100%; justify-content: center; }
  .where .btn { width: 100%; justify-content: center; }
  .footer-inner { flex-direction: column; align-items: flex-start; padding-bottom: 150px; } /* room under the floating buttons */

  .wa-float { right: 14px; bottom: 14px; width: 54px; height: 54px; }
  .chat-launch { bottom: 14px; inset-inline-end: 14px; }
  .has-wa .chat-launch { bottom: 78px; }
}
