/* FitFirst Arena — tokens taken straight from the brochure */
:root {
  --lime: #95c11f;
  --olive: #6f9a2c;
  --plan: #78a02a;     /* exact green of the "Your plan" photo panel */
  --ink: #141412;
  --paper: #ffffff;
  --mist: #d4d4ce;     /* the pale grey "IS A" from the cover */
  --tint: #f3f4ef;
  --steel: #5c5c56;
  --night: #0e0e0c;

  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --sec: clamp(72px, 10vw, 140px);
  --gap: 0px;          /* mosaic tiles butt together, like the print */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip:focus { left: 8px; }

/* ---------- Type ---------- */
.eyebrow, .tag {
  font: 700 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow { color: var(--steel); margin: 0 0 18px; }
.tag {
  display: inline-block; background: var(--olive); color: #fff; padding: 9px 14px 8px; margin: 0;
}

.headline { margin: 0 0 clamp(24px, 3vw, 40px); font-family: var(--display); text-transform: uppercase; font-weight: 700; line-height: .86; }
.headline .kicker { display: block; color: var(--ink); font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 500; letter-spacing: -.005em; }
.headline .big { display: block; color: var(--lime); font-size: clamp(3.6rem, 10.5vw, 8.4rem); letter-spacing: -.01em; }
.headline--sm .big { font-size: clamp(3rem, 7vw, 5.6rem); }
.headline--sm .kicker { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.headline--light .kicker, .headline--light .big { color: #fff; }
.headline--dark .kicker { color: #fff; }

.body-it { font-style: italic; font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.55; margin: 0 0 1em; max-width: 60ch; }
.measure { max-width: 64ch; }
.lede { font-style: italic; font-size: clamp(1.1rem, 1.5vw, 1.3rem); max-width: 34ch; margin: 28px 0 32px; color: var(--steel); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border: 2px solid transparent; border-radius: 0;
  font: 700 .95rem/1 var(--body); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, transform .2s var(--ease), border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: var(--ink); color: var(--lime); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--lime); color: var(--ink); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: #e7e7e2; }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand span { font: 800 1.45rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.brand em { font-style: normal; color: var(--olive); }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav a:not(.btn) {
  font-weight: 600; font-size: .95rem; text-decoration: none; padding: 6px 0;
  background: linear-gradient(var(--lime), var(--lime)) 0 100% / 0 3px no-repeat; transition: background-size .25s var(--ease);
}
.nav a:not(.btn):hover, .nav a.is-active { background-size: 100% 3px; }
.nav-cta { min-height: 42px; padding: 0 18px; }
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 var(--sec); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-title {
  margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(5rem, 14.5vw, 12.5rem); line-height: .8; letter-spacing: -.015em;
}
.hero-title span { display: block; }
.hero-title .lime { color: var(--lime); }
.hero-title .mist { color: var(--mist); }
.hero-media { position: relative; height: min(80vh, 780px); min-height: 460px; }
.hero-media > img:first-child { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: clamp(-56px, -4vw, -24px); bottom: 36px; width: clamp(110px, 12vw, 160px);
  border-radius: 50%; box-shadow: 0 10px 30px rgba(0,0,0,.25);
  animation: spin-in 1.2s .5s var(--ease) both;
}

/* ---------- Sections ---------- */
.section { padding: var(--sec) 0; }
.section--tint { background: var(--tint); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 4vw, 56px); margin-bottom: clamp(32px, 5vw, 64px); }
.bleed { margin-top: clamp(32px, 5vw, 56px); }
.bleed img { width: 100%; height: clamp(320px, 52vw, 680px); object-fit: cover; }
.wide img { width: 100%; height: clamp(200px, 30vw, 420px); object-fit: cover; }

/* Highlights */
.highlights { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(20px, 4vw, 56px); margin: clamp(32px, 4vw, 48px) 0 clamp(48px, 6vw, 80px); }
.hl-group ul { list-style: none; margin: 18px 0 0; padding: 0; }
.hl-group li {
  position: relative; padding: 11px 0 11px 22px; border-bottom: 1px solid #e6e6e0;
  font-weight: 600; font-size: 1.05rem;
}
.hl-group li::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 2px; background: var(--lime); }

/* ---------- Mosaic (signature) ---------- */
.mosaic { --u: clamp(84px, 10.5vw, 132px); display: grid; gap: var(--gap); }
.mosaic--a, .mosaic--b { grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(4, var(--u)); }
.mosaic--c { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, clamp(70px, 8vw, 110px)); }
.mosaic--d { grid-template-columns: repeat(4, 1fr); grid-template-rows: clamp(170px, 20vw, 290px) repeat(2, clamp(150px, 17vw, 240px)); }

.tile { position: relative; overflow: hidden; margin: 0; padding: 0; border: 0; min-height: 0; }
.tile.lime { background: var(--lime); }
.tile.olive { background: var(--olive); }
.tile.photo { background: #222; cursor: zoom-in; display: block; }
.tile.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.tile.photo:hover img { transform: scale(1.05); }
.tile.photo:focus-visible { outline-offset: -3px; }
.cap { display: flex; padding: clamp(12px, 1.6vw, 20px); }
.cap span { color: #fff; font: italic 500 clamp(.85rem, 1.1vw, 1rem)/1.25 var(--body); max-width: 14ch; }
.cap--end { align-items: flex-end; }

/* ---------- Plan ---------- */
.plan { background: var(--plan); color: var(--ink); padding-top: var(--sec); overflow: hidden; }
.plan-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 56px); align-items: end; }
.plan-copy { padding-bottom: var(--sec); }
.plan-media img { width: 100%; height: auto; }
.steps { list-style: none; counter-reset: s; margin: 32px 0 36px; padding: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; padding: 16px 0; border-top: 1px solid rgba(20,20,18,.25); }
.steps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font: 700 2.2rem/1 var(--display); color: #fff; }
.steps strong { font: 700 1.6rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.steps span { font-size: 1rem; }

/* ---------- Spaces ---------- */
.spaces-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(16px, 4vw, 56px); align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }

/* ---------- Dark (cardio) ---------- */
.dark { background: var(--night); color: #f1f1ec; padding-top: var(--sec); }
.dark-media { position: relative; }
.dark-media::before { content: ""; position: absolute; inset: 0 0 auto; height: 40%; background: linear-gradient(var(--night), transparent); z-index: 1; }
.dark-media img { width: 100%; height: clamp(360px, 60vw, 820px); object-fit: cover; }

/* ---------- Purpose ---------- */
.strip { display: grid; grid-template-columns: 1fr .45fr 1fr; height: clamp(200px, 30vw, 380px); margin-bottom: clamp(32px, 5vw, 56px); }
.strip-tiles { display: grid; grid-template-rows: 1fr 1fr; }

/* ---------- Recovery ---------- */
.recovery { display: grid; grid-template-columns: 1fr 1fr; }
.rc-top { grid-column: 1 / -1; }
.rc-top img { width: 100%; height: clamp(220px, 32vw, 420px); object-fit: cover; }
.rc-band { grid-column: 1 / -1; margin: 0; background: var(--olive); color: #fff; font-style: italic; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.5; padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 48px); }
.recovery figure:not(.rc-top) img { width: 100%; height: clamp(220px, 28vw, 380px); object-fit: cover; }
.balance { margin-top: var(--sec); }
.balance-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: start; }

/* ---------- Visit ---------- */
.visit { padding: var(--sec) 0; background: var(--ink); color: #fff; }
.visit .headline .kicker { color: #fff; }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; }
.contact-list li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid #2c2c29; }
.contact-list .tag { min-width: 72px; text-align: center; }
.contact-list a { text-decoration: none; font-weight: 600; font-size: 1.1rem; }
.contact-list a:hover { color: var(--lime); }

.book { background: #fff; color: var(--ink); padding: clamp(24px, 3.5vw, 40px); border-top: 8px solid var(--lime); }
.book h3 { margin: 0 0 20px; font: 700 2.2rem/1 var(--display); text-transform: uppercase; }
.field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; padding: 0; }
.opt { font-weight: 400; color: var(--steel); }
.field input:not([type=radio]), .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--tint);
  border: 2px solid transparent; border-radius: 0; padding: 12px 14px; min-height: 48px; transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field [aria-invalid="true"] { border-color: #c0392b !important; }
.err { margin: 6px 0 0; color: #b03a2e; font-size: .88rem; min-height: 0; }
.err:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 14px; border: 2px solid #dcdcd5; font-weight: 600; font-size: .92rem; transition: all .15s; }
.chips input:checked + span { background: var(--lime); border-color: var(--lime); }
.chips input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.form-note { margin: 12px 0 0; font-size: .92rem; color: var(--steel); }
.form-note:empty { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #bdbdb6; padding: 48px 0 calc(48px + env(safe-area-inset-bottom)); border-top: 1px solid #22221f; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.foot-tag { margin: 0; font: 700 2rem/1 var(--display); text-transform: uppercase; color: var(--lime); flex: 1; }
.foot-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-nav a, .foot-meta a { text-decoration: none; }
.foot-nav a:hover, .foot-meta a:hover { color: var(--lime); }
.foot-meta { margin: 0; width: 100%; font-size: .88rem; }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10,10,8,.9); }
.lightbox img { max-width: 94vw; max-height: 88vh; width: auto; object-fit: contain; }
.lb-close { position: absolute; top: -48px; right: 0; width: 44px; height: 44px; border: 0; background: var(--lime); color: var(--ink); font-size: 1.8rem; line-height: 1; cursor: pointer; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40; width: 56px; height: 56px;
  display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink);
  box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Motion ---------- */
.hero-title span { animation: rise .9s var(--ease) both; }
.hero-title span:nth-child(2) { animation-delay: .08s; }
.hero-title span:nth-child(3) { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(40%); } }
@keyframes spin-in { from { opacity: 0; transform: rotate(-120deg) scale(.6); } }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .plan-grid, .visit-grid, .spaces-head, .balance-grid { grid-template-columns: 1fr; }
  .hero-media { height: 62vh; min-height: 380px; }
  .hero-badge { left: auto; right: 16px; bottom: -40px; }
  .highlights { grid-template-columns: 1fr 1fr; }
  .highlights .hl-group:first-child { grid-column: 1 / -1; }
  .plan-copy { padding-bottom: 0; }
}

@media (max-width: 820px) {
  .menu-btn {
    display: grid; place-content: center; gap: 6px; width: 46px; height: 46px; border: 0; background: var(--ink); cursor: pointer;
  }
  .menu-btn span { display: block; width: 20px; height: 2px; background: #fff; transition: transform .25s var(--ease); }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 68px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 8px var(--gutter) 24px; border-bottom: 1px solid #e7e7e2;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s var(--ease);
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; font-size: 1.15rem; border-bottom: 1px solid #efefea; background: none; }
  .nav-cta { margin-top: 16px; min-height: 50px; }
}

@media (max-width: 720px) {
  .two-col { grid-template-columns: 1fr; gap: 0; }
  .highlights { grid-template-columns: 1fr; }
  .mosaic--a, .mosaic--b, .mosaic--c, .mosaic--d {
    grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 150px; grid-auto-flow: dense;
  }
  .mosaic > .tile { grid-area: auto !important; }
  .mosaic > .blank { display: none; }
  .mosaic > .wide { grid-column: span 2 !important; }
  .mosaic > .cap { min-height: 150px; }
  .strip { grid-template-columns: 1fr 1fr; height: auto; }
  .strip > .photo { aspect-ratio: 1; }
  .strip-tiles { display: none; }
  .recovery { grid-template-columns: 1fr; }
  .contact-list li { align-items: flex-start; flex-direction: column; gap: 8px; }
  .wa-float { width: 52px; height: 52px; }
}
