/* ============================================================
   THE CLUB — Website Mockup Stylesheet
   Visual prototype only. Not production code.
   ============================================================ */

/* ---------- Fonts (Google Fonts loaded in each page head) ---------- */

:root {
  --red: #d9161c;
  --red-dark: #b01016;
  --red-tint: #fdeeee;
  --ink: #17171b;
  --charcoal: #222226;
  --charcoal-2: #2c2c31;
  --body: #4a4a52;
  --muted: #6e6e77;  /* was #7d7d86 (4.08:1 on white, 3.75:1 on --bg-soft); now 5.05 / 4.64, both WCAG AA */
  --white: #ffffff;
  --bg-soft: #f7f5f2;
  --bg-gray: #f1f1f2;
  --line: #e6e4e0;
  --line-dark: #3a3a40;
  --shadow-sm: 0 1px 3px rgba(23, 23, 27, 0.07);
  --shadow-md: 0 6px 24px rgba(23, 23, 27, 0.09);
  --shadow-lg: 0 14px 40px rgba(23, 23, 27, 0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --font-sans: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-serif: "Lora", Georgia, serif;
  --header-h: 96px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* The header is sticky, so in-page jumps (#plans, #trial, #contact-form…)
     must stop short of it or the section heading lands underneath. */
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  font-family: var(--font-sans);
  color: var(--body);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--ink);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin: 0; }

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

ul { list-style: none; }

.container {
  width: min(1180px, 100% - 2.5rem);
  margin-inline: auto;
}

.section { padding: clamp(3.5rem, 8vw, 6.25rem) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--charcoal); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: #c9c9cf; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

/* ---------- Section headings ---------- */
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.kicker {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--red);
  font-size: 1.05rem;
  display: block;
  margin-bottom: 0.6rem;
}
.section-head h2 { position: relative; padding-bottom: 0.9rem; margin-bottom: 0.9rem; }
.section-head h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 52px; height: 4px;
  border-radius: 2px;
  background: var(--red);
}
.section-head--center h2::after { left: 50%; transform: translateX(-50%); }
.section--dark .kicker { color: #ff6b6f; }
/* Links on charcoal need a lighter red to stay readable */
.section--dark a:not(.btn) { color: #ff8589; }
.lede { font-size: 1.08rem; color: var(--muted); }
.section--dark .lede { color: #b9b9c1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  line-height: 1.3;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 48px;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid rgba(217, 22, 28, 0.4); outline-offset: 2px; }

.btn--primary { background: var(--red); color: var(--white); box-shadow: 0 4px 14px rgba(217, 22, 28, 0.28); }
.btn--primary:hover { background: var(--red-dark); color: var(--white); box-shadow: 0 6px 18px rgba(217, 22, 28, 0.34); }

.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); }

.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--bg-soft); color: var(--ink); }

.btn--ghost-light { border-color: rgba(255, 255, 255, 0.65); color: var(--white); background: transparent; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); border-color: var(--white); }

.btn--sm { padding: 0.6rem 1.2rem; font-size: 0.87rem; min-height: 42px; }
.btn--lg { padding: 1rem 2.2rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.btn-row--center { justify-content: center; }

/* ---------- Badges & labels ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.badge--247 { background: rgba(255, 255, 255, 0.12); color: var(--white); border: 1px solid rgba(255, 255, 255, 0.3); }
.badge--247 .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #3ecf6e;
  box-shadow: 0 0 0 0 rgba(62, 207, 110, 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(62, 207, 110, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(62, 207, 110, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 207, 110, 0); }
}
.badge--red { background: var(--red-tint); color: var(--red-dark); }
.badge--dark { background: var(--charcoal); color: var(--white); }
.badge--outline { border: 1px solid var(--line); color: var(--muted); background: var(--white); }

.sample-note {
  display: inline-block;
  font-size: 0.8rem;
  color: #66666e;  /* --muted is 4.47:1 on --bg-gray, just short of AA; this is 5.04 */
  background: var(--bg-gray);
  border: 1px dashed #cfcdc9;
  border-radius: 6px;
  padding: 0.45rem 0.9rem;
  margin-top: 1.4rem;
}
.section--dark .sample-note { background: rgba(255,255,255,0.06); color: #a9a9b2; border-color: var(--line-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.logo:hover { text-decoration: none; }

/* Brand lockup — transparent PNGs, dark artwork on light bg / light artwork on dark bg.
   The encircling arc makes this a tall lockup, so it needs more height than a
   wordmark would to keep "THE CLUB" legible. */
.logo-img { display: block; height: 70px; width: auto; }
.site-footer .logo-img { height: 84px; }
.logo-mark {
  width: 40px; height: 40px;
  background: var(--red);
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo-text { line-height: 1.1; }
.logo-text .logo-name {
  display: block;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.logo-text .logo-sub {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--muted);
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.4rem 0;
  position: relative;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -2px;
  height: 3px;
  border-radius: 2px;
  background: var(--red);
  transition: right 0.25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.main-nav a.active { color: var(--red); }

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 12px;
  border-radius: 8px;
}
.nav-toggle:focus-visible { outline: 3px solid rgba(217, 22, 28, 0.4); }
.nav-toggle .bar {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile menu panel */
.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  z-index: 99;
  padding: 1.5rem 1.25rem 3rem;
  overflow-y: auto;
}
.mobile-menu.is-open { display: block; animation: menuIn 0.25s ease; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mobile-menu ul { display: flex; flex-direction: column; }
.mobile-menu a:not(.btn) {
  display: block;
  padding: 1rem 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a.active { color: var(--red); }
.mobile-menu .mobile-cta { margin-top: 1.5rem; }
.mobile-menu .mobile-247 { margin-top: 1.5rem; text-align: center; color: var(--muted); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

body.menu-open { overflow: hidden; }

/* ---------- Image placeholders ---------- */
.ph {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 200px;
  isolation: isolate;
}
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 15%, rgba(255, 255, 255, 0.16), transparent 55%),
    radial-gradient(ellipse at 85% 90%, rgba(0, 0, 0, 0.18), transparent 60%);
  z-index: 1;
}
.ph-label {
  position: relative;
  z-index: 2;
  margin: 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(23, 23, 27, 0.55);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  backdrop-filter: blur(2px);
}
.ph-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1;
  color: rgba(255, 255, 255, 0.35);
}
.ph-icon svg { width: 52px; height: 52px; }

/* Real photo dropped into a .ph slot — no gradient wash, no placeholder label */
.ph.has-photo { background: var(--bg-gray); }
.ph.has-photo::before { content: none; }
.ph.has-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Nudge the visual centre of a crop when the subject isn't dead-centre */
.ph.has-photo img.pos-top { object-position: center 22%; }
.ph.has-photo img.pos-upper { object-position: center 35%; }

/* Placeholder gradient variants — warm neutrals with charcoal + a restrained red accent */
.ph--a { background: linear-gradient(135deg, #3a3a41, #55555e 55%, #6c6c76); }
.ph--b { background: linear-gradient(135deg, #8b8b94, #a7a7ae 60%, #c2c2c8); }
.ph--c { background: linear-gradient(140deg, #494950, #2f2f35 60%, #202024); }
.ph--d { background: linear-gradient(135deg, #a89f94, #c4bcb1 60%, #d9d2c8); }
.ph--e { background: linear-gradient(140deg, #7d2c2e, #9c3a3d 55%, #5a2224); }
.ph--f { background: linear-gradient(135deg, #5d636e, #7a808b 60%, #99a0ab); }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-body { padding: 1.6rem; }

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Amenity / feature cards */
.feature-card { padding: 1.9rem 1.6rem; }
.feature-icon {
  width: 54px; height: 54px;
  border-radius: 12px;
  background: var(--red-tint);
  color: var(--red);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.feature-card p { font-size: 0.93rem; color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 1rem;
}
.gallery .ph { min-height: 0; height: 100%; border-radius: var(--radius); }
.gallery .g-wide { grid-column: span 2; }
.gallery .g-tall { grid-row: span 2; }
/* Every source photo is landscape (1.3-1.78), so gallery cells stay landscape
   too - a portrait cell would crop away more than half the frame. */
.gallery .g-hero { grid-column: span 2; grid-row: span 2; }

/* ---------- 404 quick links ---------- */
.notfound-link { color: inherit; text-decoration: none; transition: border-color 0.2s, transform 0.2s; }
.notfound-link:hover { text-decoration: none; border-color: var(--red); transform: translateY(-2px); }
.notfound-link h3 { color: var(--ink); }
.notfound-link p { color: var(--muted); }

/* ---------- Price table (golf sim) ---------- */
.price-table-card { max-width: 640px; margin-inline: auto; padding: 1.4rem 1.6rem 1.5rem; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th,
.price-table td { padding: 0.95rem 0.6rem; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid var(--red);
}
.price-table tbody th { font-weight: 700; color: var(--ink); }
.price-table td { font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.price-table th:not(:first-child),
.price-table td { text-align: right; }
.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table-note { margin: 1.1rem 0 0; font-size: 0.9rem; color: var(--muted); }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Promo code ---------- */
.promo-code {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin-top: 1.1rem;
  padding: 0.55rem 0.6rem 0.55rem 0.95rem;
  border: 2px dashed var(--red);
  border-radius: var(--radius-sm);
  background: var(--red-tint);
}
.promo-code-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--red-dark);
}
.promo-code-value {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: none;
  padding: 0;
  user-select: all;
}
.promo-code-copy {
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  /* 44px minimum so it is a comfortable tap target on a phone */
  min-height: 44px;
  padding: 0.35rem 1rem;
  border: 0;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  cursor: pointer;
}
.promo-code-copy:hover { background: var(--red-dark); }
.promo-code-copy:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

/* ---------- Tax note under price grids ---------- */
.tax-note {
  margin: 1.6rem 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Cookie consent bar ---------- */
.cookie-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.6rem;
  padding: 1.1rem 1.4rem;
  border-top: 3px solid var(--red);
  background: var(--white);
  box-shadow: 0 -8px 30px rgba(23, 23, 27, 0.16);
}
.cookie-bar p {
  max-width: 62ch;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--body);
}
.cookie-bar a { color: var(--red-dark); text-decoration: underline; }
.cookie-bar-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.cookie-bar .btn { padding: 0.6rem 1.5rem; font-size: 0.87rem; min-height: 42px; }
.cookie-bar-link {
  min-height: 42px;
  padding: 0 0.4rem;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--red-dark);
  text-decoration: underline;
  cursor: pointer;
}
@media (max-width: 640px) {
  .cookie-bar { justify-content: flex-start; padding: 1rem 1.1rem 1.15rem; }
  .cookie-bar-actions { width: 100%; }
  .cookie-bar .btn { flex: 1 1 auto; }
}

/* ---------- Privacy / cookie settings panel (js/consent.js) ---------- */
.privacy-dialog {
  /* margin:auto restores the browser's centring, which the global
     "* { margin: 0 }" reset at the top of this file removes */
  margin: auto;
  width: min(560px, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: 0;
  border: 0;
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--body);
  box-shadow: var(--shadow-lg);
  overflow: auto;
}
.privacy-dialog::backdrop { background: rgba(23, 23, 27, 0.55); }
.privacy-form { position: relative; padding: 1.6rem 1.5rem 1.4rem; }
.privacy-form h2 { font-size: 1.3rem; margin: 0 2rem 0.5rem 0; }
.privacy-intro { font-size: 0.92rem; color: var(--muted); margin-bottom: 0.6rem; }
.privacy-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.privacy-name { font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.privacy-desc { margin-top: 0.2rem; font-size: 0.86rem; line-height: 1.5; color: var(--muted); }
.privacy-gpc { margin-top: 0.4rem; font-size: 0.84rem; font-weight: 600; color: var(--red-dark); }
.privacy-always { flex: 0 0 auto; font-size: 0.8rem; font-weight: 700; color: var(--muted); padding-top: 0.15rem; }
.privacy-note { margin: 1rem 0 0; font-size: 0.84rem; color: var(--muted); }
.privacy-note a { color: var(--red-dark); text-decoration: underline; }
.privacy-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.privacy-actions .btn { padding: 0.6rem 1.2rem; font-size: 0.87rem; min-height: 44px; }
.privacy-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: none;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.privacy-close:hover, .privacy-close:focus-visible { background: var(--bg-gray); color: var(--ink); }

/* on/off switch: a real checkbox, restyled */
.privacy-switch { position: relative; flex: 0 0 auto; width: 52px; height: 30px; margin-top: 0.1rem; }
.privacy-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.privacy-switch span {
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: #b9b9c1;
  transition: background 0.2s ease;
}
.privacy-switch span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}
.privacy-switch input:checked + span { background: var(--red); }
.privacy-switch input:checked + span::after { transform: translateX(22px); }
.privacy-switch input:focus-visible + span { outline: 3px solid rgba(217, 22, 28, 0.4); outline-offset: 2px; }
.privacy-switch input:disabled { cursor: not-allowed; }
.privacy-switch input:disabled + span { opacity: 0.45; }
@media (max-width: 480px) {
  .privacy-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .privacy-switch span, .privacy-switch span::after { transition: none; }
}

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; margin-inline: auto; }
.legal-updated {
  display: inline-block;
  margin-bottom: 2rem;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  background: var(--bg-gray);
  font-size: 0.85rem;
  font-weight: 700;
  color: #66666e;
}
.legal h2 { font-size: 1.25rem; margin: 2.4rem 0 0.7rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal p { margin-bottom: 1rem; }
.legal .legal-h3 { font-size: 1.02rem; margin: 1.6rem 0 0.5rem; }
.legal ul { margin: 0 0 1.4rem; padding-left: 1.2rem; list-style: disc; }
.legal li { margin-bottom: 0.6rem; padding-left: 0.2rem; }
.footer-bottom a { color: inherit; text-decoration: underline; }

/* ---------- Form result ---------- */
.form-status {
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  background: var(--white);
  outline: none;
}
.form-status h3 { margin-bottom: 0.4rem; }
.form-status p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.form-error {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--red-tint);
  color: var(--red-dark);
  font-size: 0.92rem;
}
.form-error a { color: var(--red-dark); text-decoration: underline; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 1000;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.15s ease;
}
.skip-link:focus { transform: none; outline: 3px solid var(--red); outline-offset: 2px; }
main:focus { outline: none; }

/* ---------- Door access steps ---------- */
.access-card { max-width: 760px; margin: 0 auto 1.5rem; padding: 1.8rem 1.9rem; }
.access-card:last-child { margin-bottom: 0; }
.access-part { display: flex; align-items: baseline; gap: 0.65rem; font-size: 1.15rem; margin-bottom: 0.5rem; }
.access-part span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--red-dark);
}
.access-card .btn-row { margin-top: 1rem; }
.unlock-steps { list-style: none; margin: 1.1rem 0 0; padding: 0; counter-reset: none; }
.unlock-steps li {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.unlock-steps li:first-child { border-top: 0; padding-top: 0.25rem; }
.unlock-steps p { margin: 0; line-height: 1.65; }
.unlock-num {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
}
.unlock-sub { margin-top: 0.5rem !important; font-size: 0.92rem; color: var(--muted); }
.ui-label {
  display: inline-block;
  padding: 0.05rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--bg-gray);
  font-weight: 700;
  font-size: 0.92em;
  color: var(--ink);
  white-space: nowrap;
}
.access-signin { margin: 1.2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); line-height: 1.65; }
.access-help { margin: 1.2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--muted); }
.video-fallback { margin-top: 0.9rem; text-align: center; font-size: 0.9rem; color: var(--muted); }
.hero-link { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Class schedule ---------- */
.schedule-card { max-width: 720px; margin-inline: auto; padding: 1.9rem 1.9rem 1.6rem; }
.schedule-list li { padding: 0.7rem 0; }
.schedule-list .eq-name { font-size: 1rem; }
.schedule-list .eq-spec { font-size: 0.92rem; white-space: nowrap; }
.instructor-note {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.instructor-note .ph {
  flex: 0 0 76px;
  width: 76px;
  min-height: 0;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
}
.instructor-note h4 { margin-bottom: 0.15rem; }
.instructor-note p { font-size: 0.9rem; color: var(--muted); margin: 0; }
@media (max-width: 560px) {
  .schedule-list .eq-name { font-size: 0.94rem; }
}

/* ---------- Contact methods ---------- */
.contact-methods { display: grid; gap: 1rem; margin-bottom: 1.75rem; }
.contact-method {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
}
.contact-method--primary {
  border-left: 4px solid var(--red);
  box-shadow: var(--shadow-sm);
}
.cm-badge {
  display: inline-block;
  margin-bottom: 0.6rem;
  padding: 0.2rem 0.6rem;
  border-radius: 5px;
  background: var(--red-tint);
  color: var(--red-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-method h4 { margin-bottom: 0.15rem; }
.cm-value {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  word-break: break-word;
}
.cm-value a { color: inherit; }
.cm-value .cm-ext { font-weight: 500; color: var(--muted); }
.contact-method p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* ---------- Testimonial ---------- */
.testimonial {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.4rem 2rem 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
}
.testimonial::before {
  content: "“";
  position: absolute;
  top: -0.35em;
  left: 50%;
  transform: translateX(-50%);
  font-family: Lora, Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--red);
  opacity: 0.25;
}
.testimonial blockquote {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--body);
}
.testimonial figcaption { margin-top: 1.4rem; }
.testimonial .t-name {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}
.testimonial .t-meta {
  display: block;
  margin-top: 0.2rem;
  font-family: Lora, Georgia, serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--muted);
}
.section--soft .testimonial { background: #fff; }

/* ---------- Pricing ---------- */
.pricing-grid { align-items: stretch; }
.price-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem 1.9rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card--popular {
  border-top: 5px solid var(--red);
  box-shadow: var(--shadow-md);
}
.popular-flag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}
.price-name { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.7rem; }
.price-amount { font-size: 2.6rem; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -0.02em; }
.price-amount .per { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-desc { font-size: 0.9rem; color: var(--muted); margin-top: 0.7rem; }
.price-features { margin: 1.4rem 0 1.8rem; flex-grow: 1; }
.price-features li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.42rem 0;
  font-size: 0.92rem;
  color: var(--body);
}
.price-features li::before {
  content: "";
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--red-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9161c' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- Split (two-column) sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split .ph { min-height: 420px; }
.split h2 { position: relative; padding-bottom: 0.9rem; margin-bottom: 1rem; }
.split h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 52px; height: 4px;
  border-radius: 2px;
  background: var(--red);
}
.split p + p { margin-top: 0.9rem; }
.split .btn-row { margin-top: 1.8rem; }

/* ---------- Class cards ---------- */
.class-card { overflow: hidden; display: flex; flex-direction: column; }
.class-card .ph { border-radius: 0; min-height: 185px; }
.class-card .card-body { display: flex; flex-direction: column; flex-grow: 1; }
.class-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.8rem 0;
}
.class-meta span {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: var(--bg-gray);
  color: var(--body);
}
.class-meta .level { background: var(--red-tint); color: var(--red-dark); }
.class-card h3 { margin-bottom: 0.2rem; }
.class-card .desc { font-size: 0.92rem; color: var(--muted); flex-grow: 1; }
.class-sched {
  font-size: 0.85rem;
  color: var(--body);
  background: var(--bg-soft);
  border-left: 3px solid var(--red);
  border-radius: 6px;
  padding: 0.65rem 0.9rem;
  margin: 1rem 0 1.2rem;
}
.class-sched strong { color: var(--ink); }

/* ---------- Accordion (FAQ) ---------- */
.accordion { max-width: 780px; margin-inline: auto; }
.acc-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 0.8rem;
  overflow: hidden;
}
.acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  transition: color 0.2s ease;
}
.acc-btn:hover { color: var(--red); }
.acc-btn:focus-visible { outline: 3px solid rgba(217, 22, 28, 0.35); outline-offset: -3px; }
.acc-btn .acc-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--red-tint);
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.25s ease;
}
.acc-item.is-open .acc-icon { transform: rotate(45deg); }
.acc-panel {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.3s ease, visibility 0s linear 0.3s;
}
.acc-item.is-open .acc-panel {
  visibility: visible;
  transition: max-height 0.3s ease, visibility 0s linear 0s;
}
.acc-panel-inner {
  padding: 0 1.4rem 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(217, 22, 28, 0.12);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 1rem; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 900px 500px at 78% 20%, rgba(217, 22, 28, 0.16), transparent 65%),
    radial-gradient(ellipse 700px 460px at 12% 88%, rgba(217, 22, 28, 0.10), transparent 60%),
    linear-gradient(150deg, #26262b 0%, #1c1c21 55%, #232329 100%);
  color: var(--white);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 40%, black 20%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.hero h1 { color: var(--white); margin: 1.1rem 0 1.2rem; }
.hero h1 .accent { color: var(--red); }
.hero .hero-copy { color: #c6c6cd; font-size: 1.08rem; max-width: 520px; }
.hero .btn-row { margin-top: 2rem; }
.hero-visual { position: relative; }
.hero-visual .ph { min-height: 430px; box-shadow: var(--shadow-lg); }
.hero-chip {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.hero-chip .chip-icon {
  width: 38px; height: 38px;
  background: var(--red-tint);
  color: var(--red);
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hero-chip .chip-icon svg { width: 20px; height: 20px; }
.hero-chip small { display: block; font-weight: 500; color: var(--muted); font-size: 0.75rem; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(ellipse 800px 400px at 80% 10%, rgba(217, 22, 28, 0.18), transparent 60%),
    linear-gradient(150deg, #26262b 0%, #1d1d22 60%, #232329 100%);
  color: var(--white);
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 75% 30%, black 15%, transparent 70%);
  pointer-events: none;
}

/* Photo-backed page hero.
   Add .page-hero--photo plus one image modifier, e.g.
     <section class="page-hero page-hero--photo hero-weights">
   NOTE: image URLs live here rather than in an inline custom property —
   a relative url() inside a custom property resolves against this stylesheet
   (/css/), not the page, which silently 404s. */
:root {
  --hero-wash: linear-gradient(100deg,
    rgba(18, 18, 22, 0.95) 0%,
    rgba(18, 18, 22, 0.88) 38%,
    rgba(18, 18, 22, 0.62) 70%,
    rgba(18, 18, 22, 0.45) 100%);
}
.page-hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero--photo.hero-weights::before { background-image: var(--hero-wash), url("../images/weight-room.jpg"); }
.page-hero--photo.hero-cardio::before  { background-image: var(--hero-wash), url("../images/cardio-room.jpg"); }
.page-hero--photo.hero-pool::before    { background-image: var(--hero-wash), url("../images/pool.jpg"); }

/* Narrow screens: text spans the full width, so the wash has to be even */
@media (max-width: 760px) {
  :root {
    --hero-wash: linear-gradient(180deg, rgba(18, 18, 22, 0.90) 0%, rgba(18, 18, 22, 0.84) 100%);
  }
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin: 0.9rem 0 1rem; }
.page-hero p { color: #c6c6cd; font-size: 1.05rem; max-width: 620px; }
.page-hero .btn-row { margin-top: 1.8rem; }
.page-hero .crumb {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9a9aa3;
}
.page-hero .crumb a { color: #9a9aa3; }
.page-hero .crumb .sep { margin: 0 0.5rem; color: var(--red); }
.page-hero .crumb .here { color: var(--white); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--red) 0%, #b81218 100%);
  color: var(--white);
  text-align: center;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 300px at 15% 20%, rgba(255,255,255,0.14), transparent 60%);
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: var(--white); margin-bottom: 0.7rem; }
.cta-band p { color: rgba(255, 255, 255, 0.88); max-width: 560px; margin-inline: auto; }
.cta-band .btn-row { margin-top: 2rem; justify-content: center; }
.cta-band .btn--outline-white { border-color: rgba(255,255,255,0.7); color: var(--white); }
.cta-band .btn--outline-white:hover { background: rgba(255,255,255,0.14); border-color: var(--white); color: var(--white); }

/* ---------- Map placeholder ---------- */
.map-ph {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  background:
    linear-gradient(rgba(180, 180, 186, 0.35) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(180, 180, 186, 0.35) 1.5px, transparent 1.5px),
    linear-gradient(rgba(180, 180, 186, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 180, 186, 0.18) 1px, transparent 1px),
    linear-gradient(135deg, #e9e8e4, #dfe0dc);
  background-size: 90px 90px, 90px 90px, 22px 22px, 22px 22px, cover;
  border: 1px solid var(--line);
}
.map-ph::before {
  content: "";
  position: absolute;
  left: 8%; top: 60%;
  width: 130%;
  height: 14px;
  background: #cfcec9;
  transform: rotate(-9deg);
  border-radius: 7px;
}
.map-ph::after {
  content: "";
  position: absolute;
  left: -10%; top: 24%;
  width: 130%;
  height: 9px;
  background: #d7d6d1;
  transform: rotate(14deg);
  border-radius: 5px;
}
.map-pin {
  position: absolute;
  left: 50%; top: 42%;
  transform: translate(-50%, -100%);
  z-index: 2;
  text-align: center;
}
.map-pin .pin {
  width: 44px; height: 44px;
  margin-inline: auto;
  background: var(--red);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 6px 16px rgba(217, 22, 28, 0.4);
  display: grid;
  place-items: center;
}
.map-pin .pin::after {
  content: "";
  width: 15px; height: 15px;
  background: var(--white);
  border-radius: 50%;
}
.map-pin .pin-label {
  margin-top: 0.7rem;
  background: var(--white);
  border-radius: 6px;
  box-shadow: var(--shadow-md);
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.map-ph .map-note {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.85);
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
}

/* ---------- Video embed (16:9) ---------- */
.video-embed {
  position: relative;
  padding-top: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--charcoal);
}
.video-embed iframe,
.video-embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
/* Placeholder shown until the real video is dropped in */
.video-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(140deg, #3a3a41, #26262b 60%, #1d1d22);
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  padding: 1.5rem;
}
.video-ph .play {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--red);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 26px rgba(217, 22, 28, 0.45);
}
.video-ph .play svg { width: 30px; height: 30px; color: #fff; margin-left: 4px; }
.video-ph p { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.75); }

/* ---------- App walkthrough steps ---------- */
.app-steps { counter-reset: appstep; }
.app-step {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  counter-increment: appstep;
}
.app-step .shot {
  position: relative;
  background: linear-gradient(150deg, #4a4a52, #33333a 60%, #26262b);
  aspect-ratio: 9 / 16;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
}
.app-step .shot::before {
  content: counter(appstep, decimal-leading-zero);
  position: absolute;
  top: 0.9rem; left: 0.9rem;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--red);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
}
.app-step .shot .shot-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(23, 23, 27, 0.55);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  text-align: center;
  max-width: 85%;
}
.app-step .card-body { flex-grow: 1; padding: 1.4rem 1.5rem 1.6rem; }
.app-step h3 { font-size: 1.05rem; margin-bottom: 0.45rem; }
.app-step p { font-size: 0.92rem; color: var(--muted); }

/* ---------- Trial offer ---------- */
.offer {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.6rem, 4vw, 2.8rem);
}
.offer-price {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 0.5rem 0 0.8rem;
}
.offer-price .amount {
  font-size: clamp(3.2rem, 8vw, 4.4rem);
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  letter-spacing: -0.03em;
}
.offer-price .unit { font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.offer h2 { margin-bottom: 0.3rem; }
.offer .offer-sub { color: var(--muted); font-size: 1.02rem; }

/* Auto-renewal disclosure — deliberately legible, not mouse type */
.disclosure {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: var(--bg-gray);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
}
.disclosure .disc-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  color: var(--muted);
  margin-top: 1px;
}
.disclosure .disc-icon svg { width: 100%; height: 100%; }
.disclosure h4 { font-size: 0.95rem; margin-bottom: 0.3rem; color: var(--ink); }
.disclosure p { font-size: 0.9rem; color: var(--body); line-height: 1.6; }
.disclosure p + p { margin-top: 0.5rem; }
.disclosure strong { color: var(--ink); }

/* ---------- Offering cards (Personal Training hub) ---------- */
.offering {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem 1.85rem;
}
.offering--featured { border-top: 5px solid var(--red); box-shadow: var(--shadow-md); }
.offering h3 { font-size: 1.22rem; margin-bottom: 0.35rem; }
.offering .offering-tag {
  display: inline-block;   /* so margin-bottom also applies inside .offering-lead */
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-dark);
  background: var(--red-tint);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}
/* "Most popular" matches the Most Popular flag on the Memberships plans */
.offering .offering-tag--popular {
  color: var(--white);
  background: var(--red);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  padding: 0.35rem 1rem;
}
.offering .offering-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0.6rem 0 0.2rem;
}
.offering .offering-price .per { font-size: 0.92rem; font-weight: 600; color: var(--muted); }
.offering .offering-price--tbd { font-size: 1.05rem; font-weight: 700; color: var(--muted); }
.offering .desc { font-size: 0.93rem; color: var(--muted); }
.offering .price-features { margin: 1.1rem 0 1.5rem; }
.offering .price-features li { font-size: 0.89rem; padding: 0.32rem 0; }
.offering .offering-actions { margin-top: auto; }

/* 1-2-1 layout: the 1-on-1 and athlete cards span the full row so the two
   headline services get more room than the pair between them. A full-width
   card would otherwise leave a short feature list stranded in white space, so
   above tablet it splits internally into copy and details. */
.offering--wide { grid-column: 1 / -1; }
@media (min-width: 861px) {
  .offering--wide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
    align-items: center;
  }
  .offering--wide .offering-lead { align-self: center; }
  .offering--wide .price-features { margin-top: 0; }
  .offering--wide .offering-actions { margin-top: 1.5rem; }
}

/* ---------- Related options row ---------- */
.related-row { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
.related-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.related-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d8d5d0; }
.related-card .r-label { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-bottom: 0.3rem; }
.related-card .r-name { display: block; font-weight: 700; color: var(--ink); font-size: 1rem; }
.related-card .r-price { display: block; font-size: 0.85rem; color: var(--muted); margin-top: 0.15rem; }

/* ---------- Detail-page includes list ---------- */
.includes-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1.8rem 1.7rem; }
.includes-card h3 { margin-bottom: 1rem; }

/* ---------- Equipment spec list ---------- */
.equip-card { padding: 1.75rem 1.6rem 1.5rem; display: flex; flex-direction: column; }
.equip-card .feature-icon { width: 46px; height: 46px; margin-bottom: 0.9rem; }
.equip-card .feature-icon svg { width: 22px; height: 22px; }
.equip-card h3 { font-size: 1.08rem; margin-bottom: 0.15rem; }
.equip-card .equip-sub {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
/* Lists sit directly under the heading — cards with fewer items just end sooner
   rather than floating their list at the bottom of a stretched card. */
.equip-list { margin-top: 0; }

/* Full-width card whose list flows into internal columns */
.equip-card--wide { grid-column: 1 / -1; }
/* Strength card: three labelled groups. Machines spans two tracks and flows in
   two internal columns so all three groups end up roughly the same height. */
.equip-groups {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem 2.6rem;
}
.equip-group--wide { grid-column: span 2; }
.equip-group-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.6rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--red);
}
.equip-list--cols2 { column-count: 2; column-gap: 2.6rem; }
.equip-list--cols2 li { break-inside: avoid; }
@media (max-width: 1024px) {
  .equip-groups { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .equip-groups { grid-template-columns: 1fr; }
  .equip-group--wide { grid-column: span 1; }
  .equip-list--cols2 { column-count: 1; }
}
.equip-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.52rem 0;
  border-bottom: 1px dashed var(--line);
}
.equip-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.eq-name { font-size: 0.92rem; color: var(--body); }
.eq-spec {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.eq-spec--brand { color: var(--red-dark); background: var(--red-tint); padding: 0.15rem 0.5rem; border-radius: 5px; }

/* Colour swatches for the resistance bands */
.band-dots { display: inline-flex; gap: 4px; align-items: center; }
.band-dots i {
  width: 9px; height: 9px;
  border-radius: 50%;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

/* ---------- Good-to-know grid ---------- */
.gtk-item { display: flex; gap: 1rem; align-items: flex-start; }
.gtk-item .gtk-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--red-tint);
  color: var(--red);
  display: grid;
  place-items: center;
}
.gtk-item .gtk-icon svg { width: 21px; height: 21px; }
.gtk-item h4 { margin-bottom: 0.25rem; }
.gtk-item p { font-size: 0.92rem; color: var(--muted); }

/* ---------- Hours callout ---------- */
.hours-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius-sm);
  padding: 1.3rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.hours-card .hours-time {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0.2rem 0 0.4rem;
}

/* Real embedded map */
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  line-height: 0;
}
.map-embed iframe { width: 100%; height: 440px; border: 0; }

/* ---------- Info / contact blocks ---------- */
.info-list { display: flex; flex-direction: column; gap: 1.1rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-item .info-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--red-tint);
  color: var(--red);
  display: grid;
  place-items: center;
}
.info-item .info-icon svg { width: 22px; height: 22px; }
.info-item h4 { margin-bottom: 0.15rem; }
.info-item p { font-size: 0.93rem; color: var(--muted); }

/* ---------- Trainer profile ---------- */
.trainer-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(1.4rem, 3vw, 2rem);
  align-items: center;
  overflow: hidden;
}
/* Landscape portrait shot — a wide-ish frame keeps the crop (and the upscale) gentle */
.trainer-card .ph { border-radius: var(--radius-sm); min-height: 0; aspect-ratio: 16 / 11; }
.trainer-body { padding: 0; }
.trainer-body .role {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--red);
  margin-bottom: 1rem;
}
.cred-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.2rem 0 1.4rem; }
.cred-list li {
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--bg-gray);
  color: var(--body);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step-item {
  position: relative;
  padding: 1.7rem 1.5rem 1.6rem;
  counter-increment: step;
}
.step-item::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--red);
  opacity: 0.85;
  line-height: 1;
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}
.step-item h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.step-item p { font-size: 0.9rem; color: var(--muted); }

/* ---------- Members Corner ---------- */
.mc-card { overflow: hidden; display: flex; flex-direction: column; }
.mc-card .ph { border-radius: 0; min-height: 170px; }
.mc-card .card-body { flex-grow: 1; display: flex; flex-direction: column; }
.mc-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-dark);
  background: var(--red-tint);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
}
.mc-card .date { font-size: 0.82rem; font-weight: 600; color: var(--muted); margin-bottom: 0.35rem; }
.mc-card h3 { margin-bottom: 0.45rem; font-size: 1.15rem; }
.mc-card p { font-size: 0.92rem; color: var(--muted); flex-grow: 1; }
.mc-card .card-link {
  margin-top: 1.1rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Announcement bar style card */
.announce {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.announce + .announce { margin-top: 0.9rem; }
.announce .a-date { flex-shrink: 0; font-size: 0.78rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 0.06em; padding-top: 0.15rem; min-width: 74px; }
.announce h4 { margin-bottom: 0.2rem; }
.announce p { font-size: 0.9rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: #b9b9c1;
  padding: clamp(3rem, 6vw, 4.5rem) 0 0;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.8rem;
}
.site-footer .logo-text .logo-name { color: var(--white); }
.site-footer .logo-text .logo-sub { color: #8b8b94; }
.footer-desc { margin-top: 1.1rem; max-width: 300px; font-size: 0.9rem; }
.footer-247 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-dark);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}
.footer-247 .dot { width: 7px; height: 7px; border-radius: 50%; background: #3ecf6e; }
.site-footer h4 {
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a { color: #b9b9c1; text-decoration: none; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--white); }
.footer-contact li { margin-bottom: 0.7rem; display: flex; gap: 0.6rem; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 4px; color: var(--red); }
.social-row { display: flex; gap: 0.7rem; margin-top: 1.3rem; }
.social-row a {
  width: 40px; height: 40px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-dark);
  color: #d5d5da;
  display: grid;
  place-items: center;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.social-row a:hover { background: var(--red); color: var(--white); transform: translateY(-2px); }
.social-row svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 1.4rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #8b8b94;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.6rem;
  transform: translate(-50%, 16px);
  z-index: 200;
  background: var(--ink);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.9rem 1.4rem;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  max-width: min(92vw, 460px);
  text-align: center;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast .toast-dot { color: var(--red); margin-right: 0.4rem; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .badge--247 .dot { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.center-btn { display: flex; justify-content: center; margin-top: 2.5rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* The header collapses a little earlier than the layout breakpoint: with eight
   nav items the "Join The Club" button no longer fits at 1025px. */
@media (max-width: 1100px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 1024px) {

  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual .ph { min-height: 320px; }
  .hero-chip { left: 12px; bottom: -14px; }

  /* Below the desktop breakpoint the grid is only two columns wide, so a fixed
     row height stretches the cells as the viewport width changes. Size them by
     aspect ratio instead and drop the spans, keeping every crop gentle. */
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .gallery .ph { aspect-ratio: 3 / 2; height: auto; }
  .gallery .g-wide,
  .gallery .g-tall,
  .gallery .g-hero { grid-column: span 1; grid-row: span 1; }

  .split { grid-template-columns: 1fr; }
  .split .ph { min-height: 300px; }

  .trainer-card { grid-template-columns: 1fr; }
  .trainer-card .ph { min-height: 0; aspect-ratio: 16 / 10; }

  /* Two narrow columns cramp the disclosure text — stack early */
  .offer { grid-template-columns: 1fr; }

  .related-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 76px; }

  .logo-img { height: 56px; }
  .site-footer .logo-img { height: 68px; }

  body { font-size: 0.97rem; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }


  .hero-inner { padding: 3.2rem 0 3.8rem; }
  .hero-visual .ph { min-height: 250px; }
  .hero .btn-row .btn { width: 100%; }
  .page-hero .btn-row .btn { width: 100%; }
  .cta-band .btn-row .btn { width: 100%; }

  .form-grid { grid-template-columns: 1fr; }

  .price-card { padding: 2rem 1.5rem 1.7rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .announce { flex-direction: column; gap: 0.4rem; }
  .split .ph { min-height: 240px; }

  .map-embed iframe { height: 340px; }

  /* Screenshots stay readable but don't dominate the phone screen */
  .app-step .shot { aspect-ratio: 4 / 3; }

  .offer { grid-template-columns: 1fr; }
  .video-ph .play { width: 58px; height: 58px; }
  .video-ph .play svg { width: 24px; height: 24px; }
}

/* thank-you page: the "something not right?" line under the link cards */
.ty-help { text-align: center; margin-top: 2rem; color: var(--muted); }
