/* Fitness Spot — site styles. Tokens come from tokens.css, a copy of
   design-system/tokens.css, which index.html loads first. */

html { scroll-behavior: smooth; }
html, body { min-height: 100%; }
body { overflow-x: hidden; display: flex; flex-direction: column; }
main { flex: 1; }

img { display: block; max-width: 100%; height: auto; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--fs-volt); color: var(--fs-onyx);
  padding: 8px 12px; font-weight: 700;
}
.skip:focus { left: 8px; top: 8px; z-index: var(--fs-z-modal); }

/* --- Section primitives (from UI kit) --- */
.section {
  padding: 96px 0;
  border-top: var(--fs-border);
  position: relative;
}
.section-id {
  position: absolute;
  top: 24px;
  right: 32px;
  font-family: var(--fs-display);
  font-weight: 800;
  font-size: clamp(96px, 14vw, 180px);
  color: rgba(244, 242, 236, 0.04);
  line-height: 1;
  letter-spacing: -0.02em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.section-inner { position: relative; z-index: 1; }
.section h2 {
  font-size: clamp(36px, 6vw, 72px);
  margin: 0 0 32px;
  line-height: 0.95;
}
.eyebrow {
  font-family: var(--fs-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fs-volt);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--fs-volt);
}

/* Headings can stay on one line on wide screens and wrap as whole phrases
   on narrow ones — wrap each phrase in <span class="phrase">. */
h1 .phrase, h2 .phrase, h3 .phrase {
  display: inline-block;
  white-space: nowrap;
}

/* The design system's .fs-btn adds a "→" via ::after. The site
   convention is no trailing arrow on Book buttons, so suppress it. */
.fs-btn::after { content: none; }

@media (max-width: 760px) {
  .section { padding: 64px 0; }
}

/* ─── Nav ─── */
.nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--fs-border);
  height: 64px;
}
.nav-inner {
  max-width: var(--fs-max);
  margin: 0 auto;
  padding: 0 var(--fs-gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav .lockup img { height: 30px; width: auto; display: block; }
.nav .cta {
  font-family: var(--fs-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 18px;
  background: var(--fs-volt);
  color: var(--fs-onyx);
  cursor: pointer;
  transition: background 150ms var(--fs-ease);
  border: 0;
  text-decoration: none;
}
.nav .cta:hover { background: var(--fs-volt-glow); text-decoration: none; }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 64px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(assets/photos/floor-08.jpg) center / cover no-repeat;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.45) 0%,
    rgba(10, 10, 10, 0.55) 50%,
    rgba(10, 10, 10, 0.95) 100%
  );
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--fs-max);
  margin: 0 auto;
  padding: 0 var(--fs-gutter);
  width: 100%;
}
.hero-script {
  font-family: var(--fs-script);
  font-size: clamp(56px, 9vw, 110px);
  color: var(--fs-volt);
  line-height: 0.95;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(56px, 11vw, 132px);
  line-height: 0.88;
  margin: 0 0 24px;
  letter-spacing: -0.015em;
}
.hero h1 .alt { color: var(--fs-volt); }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
  margin: 0 0 32px;
  font-family: var(--fs-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fs-bone);
}
.hero-meta__chunk { white-space: nowrap; }
.hero-meta__chunk--muted { color: var(--fs-ash); }

@media (max-width: 1024px) {
  .hero-meta { flex-direction: column; gap: 4px; }
}

@media (max-width: 760px) {
  .hero { min-height: 80vh; padding-bottom: 48px; }
  .hero h1 { font-size: 14vw; }
}

/* ─── Pricing ─── */
.price-card { border: var(--fs-border); background: var(--fs-carbon); margin-top: 8px; }
.price-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 32px 24px;
  border-bottom: var(--fs-border);
}
.price-head h3 {
  font-size: 48px;
  margin: 0;
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.price-head .meta {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fs-volt);
  font-weight: 700;
  text-align: right;
}
.price-rows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.price-row {
  padding: 32px;
  border-right: var(--fs-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 250ms var(--fs-ease);
}
.price-row:last-child { border-right: 0; }
.price-row:hover { background: var(--fs-steel); }
.price-row .who {
  font-family: var(--fs-display);
  font-weight: 800;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fs-bone);
}
.price-row .who small {
  display: block;
  font-family: var(--fs-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--fs-ash);
  font-weight: 700;
  margin-top: 4px;
}
.price-row .amt {
  font-family: var(--fs-display);
  font-weight: 900;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--fs-volt);
  margin-top: 12px;
}
.price-row .unit {
  font-family: var(--fs-mono);
  font-size: 11px;
  color: var(--fs-ash);
  letter-spacing: 0.06em;
}
.price-foot {
  padding: 20px 32px;
  border-top: var(--fs-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.price-foot .note { font-size: 13px; color: #bdbab3; line-height: 1.5; }

@media (max-width: 760px) {
  .price-head { flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px; }
  .price-head h3 { font-size: 36px; }
  .price-head .meta { text-align: left; }
  .price-rows { grid-template-columns: 1fr; }
  .price-row {
    border-right: 0;
    border-bottom: var(--fs-border);
    padding: 20px 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "who amt"
      "who unit";
    align-items: center;
    column-gap: 16px;
    row-gap: 2px;
  }
  .price-row:last-child { border-bottom: 0; }
  .price-row .who { grid-area: who; }
  .price-row .amt { grid-area: amt; margin-top: 0; font-size: 36px; text-align: right; }
  .price-row .unit { grid-area: unit; text-align: right; }
  .price-foot { padding: 20px 24px; }
}

/* ─── Floor ─── */
.floor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.floor-tile {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border: var(--fs-border);
}
@media (max-width: 560px) {
  .floor-grid { grid-template-columns: 1fr; }
}

/* ─── Contact ─── */
.hours {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
  margin: -16px 0 var(--fs-space-7);
  max-width: none;
  font-family: var(--fs-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fs-bone);
}
.hours__chunk { display: inline-flex; align-items: baseline; gap: 10px; }
.hours__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--fs-volt);
}
.hours__chunk--muted { color: var(--fs-ash); }

@media (max-width: 1024px) {
  .hours { flex-direction: column; gap: 6px; }
}

.channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--fs-space-4);
  margin-top: 32px;
}
.channel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--fs-space-3);
  padding: var(--fs-space-6);
  background: var(--fs-carbon);
  border: var(--fs-border);
  color: var(--fs-bone);
  transition: border-color 250ms var(--fs-ease),
              background 250ms var(--fs-ease);
}
.channel:hover {
  background: var(--fs-steel);
  border-color: var(--fs-volt);
  text-decoration: none;
}
.channel__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fs-ash);
}
.channel__value {
  font-family: var(--fs-display);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--fs-bone);
  line-height: 1;
}
.channel__arrow {
  position: absolute;
  top: 50%;
  right: var(--fs-space-5);
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--fs-volt);
  transition: transform 250ms var(--fs-ease);
}
.channel:hover .channel__arrow { transform: translate(4px, -50%); }

@media (max-width: 880px) {
  .channels { grid-template-columns: 1fr; }
}

/* ─── Footer ─── */
footer {
  background: var(--fs-carbon);
  border-top: var(--fs-border);
  padding: 40px 0 32px;
}
.foot {
  max-width: var(--fs-max);
  margin: 0 auto;
  padding: 0 var(--fs-gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fs-ash);
  font-weight: 700;
}
.foot .mark {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--fs-bone);
}
.foot .mark img { height: 24px; width: auto; }
.foot .mark__name {
  font-family: var(--fs-script);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--fs-volt);
  line-height: 1;
}

/* ─── WhatsAppPin ─── */
.pin-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 54px;
  height: 54px;
  background: var(--fs-volt);
  color: var(--fs-onyx);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 150ms var(--fs-ease);
  z-index: 90;
  border: 0;
}
.pin-cta:hover { background: var(--fs-volt-glow); text-decoration: none; }
.pin-icon { width: 24px; height: 24px; }
