/* =============================================================================
   FORGE Fitness — Premium coaching studio
   Mobile-first stylesheet. Breakpoints: 360 (base) / 480 / 640 / 768 / 1024 / 1200 / 1280
   Design intent, brand colours, typefaces and desktop layout values are
   unchanged from the original build. Everything below is either the original
   value verbatim or a mobile-first inversion of an original max-width rule.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1. TOKENS
   ------------------------------------------------------------------------ */
:root {
  /* Brand palette — unchanged */
  --bg: #f7f7f7;
  --surface: #ffffff;
  --fg: #111111;
  --primary: #ff6b2c;
  --primary-dark: #e8540f;
  --accent: #ff9158;
  --muted: #707070;
  --line: #e9e9e9;
  --shape: #f3f3f3;
  --dark: #111111;
  --dark-700: #262626;
  --dark-800: #1b1b1b;

  /* WCAG 2.2 AA text tokens (additive — brand fills are untouched) */
  --primary-ink: #c2410c;   /* 4.83:1 on --bg   */
  --primary-ink-dark: #ffd9c7;
  --muted-ink: #5c5c5c;     /* 6.6:1 on --bg     */
  --focus-ring: #111111;

  --font-display: "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;

  --radius-card: 24px;
  --radius-btn: 14px;

  --shadow-lift: 0 25px 70px rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 20px 50px rgba(17, 17, 17, 0.07);
  --shadow-orange: 0 18px 36px rgba(255, 107, 44, 0.32);

  /* Layout tokens — mobile first */
  --nav-h: 64px;
  --gutter: 20px;
  --tap: 44px;
  --bottom-bar-h: 66px;

  /* Safe-area insets */
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);

  /* Aspect-ratio tokens — one per section type (Phase 4) */
  --ratio-hero: 4 / 5;
  --ratio-program: 4 / 5;
  --ratio-card-media: 4 / 3;
  --ratio-coach: 3 / 4;
  --ratio-blog: 16 / 10;
  --ratio-gallery: 4 / 5;
  --ratio-video: 16 / 9;
  --ratio-nut: 4 / 3;
  --ratio-beforeafter: 4 / 5;
  --ratio-map: 5 / 4;
}

@media (min-width: 480px) {
  :root { --nav-h: 68px; }
}

@media (min-width: 640px) {
  :root { --gutter: 32px; --ratio-map: 16 / 9; }
}

@media (min-width: 768px) {
  :root { --nav-h: 76px; }
}

@media (min-width: 1024px) {
  :root {
    --nav-h: 90px;          /* original header height, unchanged */
    --gutter: 80px;
    --ratio-hero: 1 / 2;    /* original desktop 360x720 */
    --ratio-coach: 1 / 1.85;
    --ratio-video: 4 / 3;
    --ratio-nut: 6 / 5;
    --ratio-beforeafter: 1 / 1;
    --ratio-map: 3 / 2;
  }
}

@media (min-width: 1200px) {
  :root { --bottom-bar-h: 0px; }
}

/* ---------------------------------------------------------------------------
   2. RESET + BASE
   ------------------------------------------------------------------------ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + var(--safe-t) + 12px);
  overflow-x: hidden;
}
@supports (overflow: clip) { html { overflow-x: clip; } }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  /* Room for the sticky bottom action bar (mobile only) */
  padding-bottom: calc(var(--bottom-bar-h) + var(--safe-b));
}
@supports (overflow: clip) { body { overflow-x: clip; } }

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
ul { list-style: none; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }

[id] { scroll-margin-top: calc(var(--nav-h) + var(--safe-t) + 12px); }

::selection { background: var(--primary); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #d4d4d4; border-radius: 999px; border: 2px solid #f1f1f1; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* --- Focus: visible, high-contrast, never removed ---------------------- */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 6px;
}
:focus:not(:focus-visible) { outline: none; }

/* --- Tap / active feedback (replaces hover-only affordances) ----------- */
a, button, [role="button"], input[type="submit"], .tap {
  -webkit-tap-highlight-color: transparent;
}

/* --- Accessibility utilities ------------------------------------------- */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 8px; left: 8px;
  z-index: 200;
  padding: 14px 20px;
  border-radius: var(--radius-btn);
  background: var(--dark); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus-visible { transform: translateY(0); }

/* Hide scrollbars on horizontal snap rails while keeping them scrollable */
.scroll-x {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.scroll-x::-webkit-scrollbar { display: none; }

/* ---------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   ------------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: var(--gutter);
  padding-inline: max(var(--gutter), var(--safe-l)) max(var(--gutter), var(--safe-r));
}

.section { padding: 72px 0; position: relative; }

@media (min-width: 768px) { .section { padding: 96px 0; } }
@media (min-width: 1024px) { .section { padding: 120px 0; } }

.section-header { max-width: 680px; margin: 0 auto 44px; text-align: center; }
@media (min-width: 768px) { .section-header { margin-bottom: 64px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  text-transform: uppercase; letter-spacing: 3px;
  color: var(--primary-ink);
}
.eyebrow::before { content: ""; height: 1px; width: 40px; background: var(--primary); }
.section-header .eyebrow { justify-content: center; }
.section-header .eyebrow::after { content: ""; height: 1px; width: 40px; background: var(--primary); }

.section-title {
  margin-top: 20px;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.875rem, 7.6vw, 2.25rem);
  line-height: 1.12; letter-spacing: -0.02em; color: var(--dark);
  text-wrap: balance;
}
.section-title em { font-style: normal; color: var(--primary-ink); }
.section-sub { margin-top: 18px; font-size: 16px; line-height: 1.7; color: var(--muted-ink); }
@media (min-width: 768px) { .section-sub { font-size: 17px; } }

/* ---------------------------------------------------------------------------
   4. BUTTONS — 44px minimum tap target everywhere
   ------------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--tap);
  height: 56px;
  padding: 0 24px;
  border-radius: var(--radius-btn);
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  text-align: center; white-space: nowrap;
  transition: transform 0.25s ease, background-color 0.3s ease, color 0.3s ease,
              border-color 0.3s ease, box-shadow 0.3s ease;
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn-lg { height: 64px; padding: 0 28px; font-size: 16px; }
.btn-sm { height: 44px; padding: 0 18px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-orange); }
.btn-outline { background: var(--surface); color: var(--dark); border: 1px solid rgba(17, 17, 17, 0.2); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-white { background: #fff; color: var(--dark); }
.btn-plain { background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid rgba(255, 255, 255, 0.25); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; pointer-events: none; }

.play-chip {
  display: inline-grid; place-items: center; flex: none;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary); color: #fff;
  transition: transform 0.3s ease;
}

.icon-only {
  display: grid; place-items: center;
  width: var(--tap); height: var(--tap);
  border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); color: var(--dark);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.icon-only:active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Scroll reveal — gated on .js so a script failure can never hide content */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.in-view { opacity: 1; transform: translateY(0); }

@keyframes float-soft { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes bounce-soft { 0%, 100% { transform: translateY(0); opacity: 0.9; } 50% { transform: translateY(8px); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift-a { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(40px, -30px); } }
@keyframes drift-b { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 40px); } }
@keyframes nav-down { from { transform: translateY(-120px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes slide-up { to { transform: translateY(0); } }
@keyframes hero-fade { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ping { 0% { transform: scale(0.9); opacity: 1; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
@keyframes menu-in { to { opacity: 1; transform: translateX(0); } }
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* ---------------------------------------------------------------------------
   5. HEADER / NAVBAR
   ------------------------------------------------------------------------ */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: calc(var(--nav-h) + var(--safe-t));
  padding-top: var(--safe-t);
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  animation: nav-down 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
/* BUG FIX: the original toggled `.scrolled` on <body> while the rule below
   targets `.navbar.scrolled`, so the header never gained its background. */
.navbar.scrolled {
  background: rgba(247, 247, 247, 0.92);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-soft);
}
@media (min-width: 1024px) {
  .navbar.scrolled {
    background: rgba(247, 247, 247, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
}

.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
  gap: 12px;
}

.scroll-progress {
  position: absolute; top: var(--safe-t); left: 0; right: 0; height: 3px;
  background: var(--primary);
  transform: scaleX(0); transform-origin: left;
  will-change: transform;
}

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: var(--radius-btn);
  background: var(--primary); color: #fff;
  box-shadow: var(--shadow-orange);
  transition: transform 0.3s ease;
}
.logo-word { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: var(--dark); }
.logo-word span { color: var(--primary); }
.logo--dark .logo-word { color: #fff; }

.nav-links { display: none; gap: 36px; }
.nav-link {
  position: relative; display: inline-flex; align-items: center;
  min-height: var(--tap);
  font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--dark);
  transition: color 0.3s ease;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 8px;
  height: 2px; width: 0; border-radius: 999px; background: var(--primary);
  transition: width 0.3s ease;
}
.nav-actions { display: none; align-items: center; gap: 12px; }
.icon-btn {
  display: grid; place-items: center;
  width: var(--tap); height: var(--tap);
  border-radius: var(--radius-btn); color: var(--dark);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.icon-btn:active { background: rgba(17, 17, 17, 0.05); color: var(--primary-ink); }

.burger {
  display: grid; place-items: center; flex: none;
  width: var(--tap); height: var(--tap);
  color: var(--dark);
  border-radius: var(--radius-btn);
}
.burger:active { background: rgba(17, 17, 17, 0.05); }

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-actions { display: flex; }
  .burger { display: none; }
}

/* --- Accessible off-canvas drawer -------------------------------------- */
.drawer-scrim {
  position: fixed; inset: 0; z-index: 55;
  background: rgba(17, 17, 17, 0.45);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
body.nav-open .drawer-scrim {
  opacity: 1; visibility: visible;
  transition: opacity 0.3s ease, visibility 0s;
}

.drawer {
  position: fixed; z-index: 56;
  top: 0; right: 0;
  width: min(340px, 88vw);
  height: 100vh;
  height: 100dvh;
  padding: calc(16px + var(--safe-t)) 0 calc(16px + var(--safe-b));
  display: flex; flex-direction: column;
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.18);
  transform: translateX(100%);
  visibility: hidden;
  /* visibility flips instantly on open and only after the slide-out on close, so
     the links are focusable the moment JS moves focus into the drawer */
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.36s;
  overflow-y: auto;
  overscroll-behavior: contain;
}
body.nav-open .drawer {
  transform: translateX(0); visibility: visible;
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}

.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 0 16px 16px; border-bottom: 1px solid var(--line);
}
.drawer-close {
  display: grid; place-items: center; flex: none;
  width: var(--tap); height: var(--tap);
  border-radius: var(--radius-btn); color: var(--dark);
}
.drawer-close:active { background: var(--shape); }

.drawer-links { padding: 12px 16px; display: flex; flex-direction: column; gap: 4px; }
.drawer-link {
  display: flex; align-items: center;
  min-height: 52px; padding: 12px 16px;
  border-radius: var(--radius-btn);
  font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--dark);
  opacity: 0; transform: translateX(-16px);
  transition: background-color 0.3s ease, color 0.3s ease;
}
body.nav-open .drawer-link { animation: menu-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
body.nav-open .drawer-link:nth-child(1) { animation-delay: 0.05s; }
body.nav-open .drawer-link:nth-child(2) { animation-delay: 0.1s; }
body.nav-open .drawer-link:nth-child(3) { animation-delay: 0.15s; }
body.nav-open .drawer-link:nth-child(4) { animation-delay: 0.2s; }
body.nav-open .drawer-link:nth-child(5) { animation-delay: 0.25s; }
body.nav-open .drawer-link:nth-child(6) { animation-delay: 0.3s; }
body.nav-open .drawer-link:nth-child(7) { animation-delay: 0.35s; }
.drawer-link:active { background: rgba(17, 17, 17, 0.05); color: var(--primary-ink); }

.drawer-foot { margin-top: auto; padding: 20px 16px 0; display: grid; gap: 10px; }
.drawer-foot .btn { width: 100%; }
.drawer-note { font-size: 13px; color: var(--muted-ink); text-align: center; }
.drawer-note a { color: var(--primary-ink); font-weight: 600; }

/* ---------------------------------------------------------------------------
   6. STICKY BOTTOM ACTION BAR (mobile / tablet only)
   ------------------------------------------------------------------------ */
.action-bar {
  position: fixed; z-index: 45;
  left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 8px max(10px, var(--safe-r)) calc(8px + var(--safe-b)) max(10px, var(--safe-l));
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(17, 17, 17, 0.08);
  transform: translateY(110%);
  transition: transform 0.3s ease;
}
body.nav-open .action-bar, body.modal-open .action-bar { transform: translateY(110%); }
.js .action-bar-ready .action-bar { transform: translateY(0); }

.action-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 50px; padding: 6px 4px;
  border-radius: var(--radius-btn);
  font-family: var(--font-display); font-weight: 700; font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--dark);
  transition: transform 0.15s ease, background-color 0.2s ease;
}
.action-btn:active { transform: scale(0.96); background: var(--shape); }
.action-btn svg { width: 20px; height: 20px; }
.action-btn--primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-orange); }
.action-btn--primary:active { background: var(--primary-dark); }
.action-btn--wa { color: #128c7e; }
.action-btn--wa:active { background: rgba(18, 140, 126, 0.1); }

@media (min-width: 1200px) { .action-bar { display: none; } }

/* ---------------------------------------------------------------------------
   7. HERO
   ------------------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; padding-top: calc(var(--nav-h) + var(--safe-t)); background: var(--bg); }
@media (min-width: 1024px) { .hero { min-height: 860px; } }

/* Blobs: static + cheaper blur on mobile (animation off) to protect INP/battery */
.blob { position: absolute; border-radius: 50%; filter: blur(28px); pointer-events: none; }
.blob-orange { top: -96px; right: -128px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(255, 107, 44, 0.16), transparent 65%); }
.blob-accent { top: 160px; left: -160px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(255, 145, 88, 0.14), transparent 65%); }
@media (min-width: 1025px) {
  .blob { filter: blur(40px); }
  .blob-orange { animation: drift-a 18s ease-in-out infinite; }
  .blob-accent { animation: drift-b 22s ease-in-out infinite; }
}

.shape-corner {
  position: absolute; left: -96px; bottom: 96px;
  width: 160px; height: 160px; border-radius: 24px;
  background: var(--shape); transform: rotate(45deg);
  pointer-events: none; display: none;
}
.shape-dot, .ring { display: none; }
@media (min-width: 768px) {
  .shape-corner { display: block; }
  .shape-dot {
    display: block;
    position: absolute; top: 128px; right: 38%;
    width: 32px; height: 32px; border-radius: 8px;
    border: 2px solid rgba(255, 107, 44, 0.4);
    transform: rotate(45deg); pointer-events: none;
  }
}
@media (min-width: 1025px) {
  .ring { display: block; position: absolute; top: 18%; right: 12%; pointer-events: none; animation: spin 40s linear infinite; }
}

.hero-grid { display: grid; grid-template-columns: 1fr; gap: 24px; position: relative; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 38% 34% 28%; align-items: start; } }

.hero-left {
  position: relative; z-index: 2;
  padding-top: 28px;
  display: flex; flex-direction: column; align-items: flex-start;
}
@media (min-width: 640px) { .hero-left { padding-top: 56px; } }
@media (min-width: 1024px) { .hero-left { padding-top: 96px; } }

.hero-title {
  margin-top: 24px;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.5rem, 11.5vw, 3.25rem);
  line-height: 1.05; letter-spacing: -0.02em; color: var(--dark);
}
@media (min-width: 640px) { .hero-title { font-size: clamp(3.25rem, 8.5vw, 4rem); } }
@media (min-width: 1024px) { .hero-title { font-size: 72px; line-height: 88px; } }

.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span { display: inline-block; transform: translateY(110%); animation: slide-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.hero-title .line:nth-child(1) span { animation-delay: 0.15s; }
.hero-title .line:nth-child(2) span { animation-delay: 0.27s; }
.hero-title .accent { color: var(--primary); }

.hero-desc { margin-top: 24px; max-width: 42ch; font-size: 16px; line-height: 1.65; color: var(--muted-ink); }
@media (min-width: 480px) { .hero-desc { font-size: 17px; } }
@media (min-width: 1024px) { .hero-desc { font-size: 18px; } }

.hero-cta { margin-top: 32px; width: 100%; display: grid; gap: 12px; }
@media (min-width: 480px) { .hero-cta { width: auto; display: flex; flex-wrap: wrap; gap: 16px; } }

.hero-proof { margin-top: 32px; display: flex; align-items: center; gap: 12px; }
@media (min-width: 1024px) { .hero-proof { margin-top: 48px; } }
.avatars { display: flex; flex: none; }
.avatar { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--bg); background: linear-gradient(135deg, var(--shape), rgba(17, 17, 17, 0.2)); }
.avatar + .avatar { margin-left: -12px; }
.hero-proof p { font-size: 14px; color: var(--muted-ink); }
.hero-proof strong { font-family: var(--font-display); font-weight: 700; color: var(--dark); }

.stat-card {
  position: absolute; left: -40px; bottom: 64px;
  display: none; align-items: center; gap: 16px;
  background: var(--surface); border-radius: var(--radius-card); padding: 20px;
  box-shadow: var(--shadow-lift);
  animation: hero-fade 0.8s ease 0.85s both, float-soft 6s ease-in-out 1s infinite;
}
@media (min-width: 1201px) { .stat-card { display: flex; } }
.stat-icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 107, 44, 0.1); color: var(--primary-ink); }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1; color: var(--dark); }
.stat-num em { font-style: normal; color: var(--primary); }
.stat-label { font-size: 14px; font-weight: 500; color: var(--muted-ink); }

.hero-center { position: relative; z-index: 1; width: 100%; max-width: 620px; margin: 0 auto; }
.athlete-wrap { position: relative; margin-top: 16px; }

.panel, .float-item { display: none; }
@media (min-width: 1025px) {
  .panel { position: absolute; z-index: 0; border-radius: var(--radius-card); background: var(--shape); }
  .panel-a { top: -24px; left: -16px; width: 290px; height: 340px; transform: skewX(-6deg); }
  .panel-b { top: -8px; right: -24px; width: 250px; height: 300px; transform: skewX(6deg); background: #f1e9e3; }

  .athlete-wrap { animation: float-soft 7s ease-in-out infinite; }

  .float-item { display: block; position: absolute; z-index: 2; }
  .float-dumbbell { left: -28px; top: 64px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius-btn); background: var(--surface); color: var(--primary); box-shadow: var(--shadow-lift); transform: rotate(12deg); animation: float-soft 5.5s ease-in-out 0.4s infinite; }
  .float-plate { right: -32px; top: 112px; transform: rotate(-14deg); animation: float-soft 6.5s ease-in-out 1s infinite; }
  .float-bottle { left: -36px; bottom: 96px; transform: rotate(-6deg); animation: float-soft 5s ease-in-out 0.8s infinite; }
  .float-rope { right: -28px; bottom: 160px; display: flex; align-items: flex-end; gap: 4px; transform: rotate(12deg); animation: float-soft 7s ease-in-out 1.6s infinite; }
}

.athlete-frame {
  position: relative; overflow: hidden;
  aspect-ratio: var(--ratio-hero);
  border-radius: 32px 32px var(--radius-card) var(--radius-card);
  box-shadow: var(--shadow-lift);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 72%, transparent 99%);
  mask-image: linear-gradient(to bottom, black 0%, black 72%, transparent 99%);
  background: var(--shape);
}
.athlete-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.athlete-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(17, 17, 17, 0.25), transparent 55%); }
.ground-shadow { display: none; }

.weight-plate { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 8px solid var(--dark); background: var(--dark-700); box-shadow: var(--shadow-lift); }
.weight-plate::after { content: ""; width: 28px; height: 28px; border-radius: 50%; border: 4px solid var(--dark); }
.bottle { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 80px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.9); box-shadow: var(--shadow-lift); color: var(--primary); }
.bottle::before { content: ""; position: absolute; top: -4px; width: 16px; height: 8px; border-radius: 6px 6px 0 0; background: var(--dark); }
.rope-bar { width: 6px; height: 48px; border-radius: 999px; background: var(--dark); }
.rope-bar.mid { background: rgba(17, 17, 17, 0.4); transform: translateX(-4px); }

.hero-right {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start;
  justify-content: flex-end; gap: 28px; padding-bottom: 24px;
}
@media (min-width: 1024px) { .hero-right { justify-content: center; gap: 40px; padding-bottom: 0; } }

.video-card { position: relative; width: 100%; max-width: 420px; margin-inline: auto; }
.video-frame {
  position: relative;
  aspect-ratio: var(--ratio-video);
  overflow: hidden;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lift);
  background: var(--shape);
}
.video-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.video-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(17, 17, 17, 0.5), transparent); }
.video-play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; }
.play-circle {
  position: relative; display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.2); color: #fff;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.ping { position: absolute; inset: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.2); animation: ping 2s ease-out infinite; }

.badge {
  position: absolute; top: -16px; right: -8px;
  display: grid; place-items: center;
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--primary); color: #fff; text-align: center;
  box-shadow: var(--shadow-orange);
  transform: rotate(12deg);
}
@media (min-width: 641px) {
  .badge { top: -28px; right: -24px; width: 96px; height: 96px; animation: float-soft 5s ease-in-out 0.6s infinite; }
}
.badge p { font-family: var(--font-display); font-weight: 700; font-size: 11px; line-height: 1.3; text-transform: uppercase; letter-spacing: 0.04em; }

.rating-card {
  width: 100%; max-width: 420px; margin-inline: auto;
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line); border-radius: var(--radius-card);
  background: var(--surface); padding: 12px 20px;
  box-shadow: var(--shadow-soft);
}
.rating-icon { color: var(--primary); flex: none; }
.rating-title { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--dark); }
.rating-sub { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted-ink); }
.rating-sub svg { fill: var(--primary); color: var(--primary); }

.scroll-ind { display: none; flex-direction: column; align-items: center; gap: 12px; }
@media (min-width: 1024px) { .scroll-ind { display: flex; } }
.scroll-ind span:first-child { font-family: var(--font-display); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 3px; color: var(--muted-ink); }
.scroll-circle { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(17, 17, 17, 0.15); background: var(--surface); color: var(--dark); }
.scroll-arrow { animation: bounce-soft 2.2s ease-in-out infinite; }

@media (hover: hover) and (min-width: 1025px) {
  .logo:hover .logo-mark { transform: rotate(12deg); }
  .nav-link:hover { color: var(--primary-ink); }
  .nav-link:hover::after { width: 100%; }
  .icon-btn:hover { background: rgba(17, 17, 17, 0.05); color: var(--primary-ink); }
  .btn:hover { transform: translateY(-3px); }
  .btn-primary:hover { background: var(--primary-dark); }
  .btn-outline:hover { border-color: var(--dark); }
  .btn-dark:hover { background: var(--dark-700); }
  .btn-white:hover { background: var(--dark); color: #fff; }
  .btn-plain:hover { background: #fff; color: var(--dark); }
  .btn-outline:hover .play-chip { transform: scale(1.12); }
  .icon-only:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
  .video-frame:hover img { transform: scale(1.05); }
  .video-frame:hover .play-circle { transform: scale(1.1); background: var(--primary); }
}

/* ---------------------------------------------------------------------------
   8. PROGRAM PREVIEW (hero bottom)
   ------------------------------------------------------------------------ */
.program-preview { position: relative; z-index: 3; margin-top: 0; padding-bottom: 24px; }
@media (min-width: 1024px) { .program-preview { margin-top: -150px; } }

.program-row { margin: 0 auto; max-width: 1360px; padding-inline: max(20px, var(--safe-l)) max(20px, var(--safe-r)); }
@media (min-width: 640px) { .program-row { padding-inline: max(32px, var(--safe-l)) max(32px, var(--safe-r)); } }

.program-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .program-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) {
  .program-grid { grid-template-columns: repeat(4, 1fr); }
  .program-card:nth-child(even) { transform: translateY(40px); }
}

.program-card {
  position: relative;
  aspect-ratio: var(--ratio-program);
  overflow: hidden;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lift);
  display: block; color: #fff;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.program-card:active { transform: scale(0.99); }
.program-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.program-card .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(17, 17, 17, 0.9), rgba(17, 17, 17, 0.2) 55%, transparent); }
.program-index {
  position: absolute; left: 20px; top: 20px;
  padding: 4px 12px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.15);
  font-family: var(--font-display); font-weight: 600; font-size: 12px; color: #fff;
}
/* Hover-reveal on desktop; permanently visible on touch devices */
.program-arrow {
  position: absolute; right: 20px; top: 20px;
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); color: var(--dark);
  opacity: 1; transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
@media (hover: none) { .program-arrow { background: rgba(255, 255, 255, 0.92); } }
@media (hover: hover) and (min-width: 1025px) {
  .program-arrow { opacity: 0; transform: translateY(8px); }
  .program-card:hover { transform: translateY(-10px) !important; }
  .program-card:hover img { transform: scale(1.1); }
  .program-card:hover .program-arrow { opacity: 1; transform: translateY(0); }
}

.program-body { position: absolute; inset-inline: 0; bottom: 0; padding: 24px; }
.program-title { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.15; }
@media (min-width: 1024px) { .program-title { font-size: 28px; } }
.program-sub { margin-top: 4px; font-size: 14px; color: rgba(255, 255, 255, 0.78); }
.program-meta {
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, 0.85);
}
.program-meta span { display: inline-flex; align-items: center; gap: 6px; }
.program-meta svg { flex: none; }

/* ---------------------------------------------------------------------------
   9. FEATURED PROGRAMS
   ------------------------------------------------------------------------ */
#programs { background: var(--surface); }

.pg-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .pg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pg-grid { grid-template-columns: repeat(4, 1fr); } }

.pg-item {
  position: relative;
  background: var(--surface); border-radius: var(--radius-card);
  overflow: hidden; box-shadow: var(--shadow-lift);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.pg-photo { position: relative; aspect-ratio: var(--ratio-card-media); overflow: hidden; }
.pg-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.pg-tag {
  position: absolute; left: 16px; top: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  color: var(--primary-ink); box-shadow: var(--shadow-soft);
}
.pg-body { padding: 22px 20px 24px; }
.pg-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pg-title { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.2; color: var(--dark); }
.pg-title-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius-card); }
.pg-desc { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--muted-ink); }
.pg-list { margin-top: 16px; display: grid; gap: 8px; }
.pg-list li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted-ink); }
.pg-list li svg { color: var(--primary); flex: none; }
.pg-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.pg-cost { display: flex; flex-direction: column; }
.pg-cost strong { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--dark); }
.pg-cost small { font-size: 12px; color: var(--muted-ink); }
.pg-arrow { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--shape); color: var(--dark); transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease; }
.pg-title-link:focus-visible ~ .pg-foot .pg-arrow { background: var(--primary); color: #fff; }

.pg-extra { margin-top: 36px; }
.pg-extra-label { text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 3px; color: var(--muted-ink); }
.pg-pills { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.pg-pill {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: var(--tap); padding: 10px 20px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--dark);
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.pg-pill svg { color: var(--primary); flex: none; }

@media (hover: hover) and (min-width: 1025px) {
  .pg-item:hover { transform: translateY(-10px); }
  .pg-item:hover .pg-photo img { transform: scale(1.08); }
  .pg-item:hover .pg-arrow { background: var(--primary); color: #fff; transform: rotate(-45deg); }
  .pg-pill:hover { border-color: var(--primary); color: var(--primary-ink); transform: translateY(-2px); }
}

/* ---------------------------------------------------------------------------
   10. WHY TRAIN WITH US
   ------------------------------------------------------------------------ */
#why { background: var(--bg); }
.why-wrap { max-width: 760px; margin: 0 auto; }
.why-orbit {
  --r: 176px;
  position: relative;
  width: 100%; max-width: 620px;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 auto;
}
.why-lines, .why-core { display: none; }
.why-node { position: static; transform: none; }
.why-node-inner { transform: none; display: flex; flex-direction: row; align-items: center; text-align: left; gap: 14px; }
.why-icon { display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 50%; background: var(--surface); color: var(--primary); box-shadow: var(--shadow-lift); }
.why-node-inner strong { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--dark); }
.why-node-inner small { display: block; font-size: 13px; color: var(--muted-ink); }

@media (min-width: 561px) {
  .why-orbit { --r: 176px; display: block; aspect-ratio: 1; }
  .why-lines { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
  .why-lines line, .why-lines circle { stroke: var(--primary); stroke-opacity: 0.35; stroke-width: 1.5; }
  .why-core {
    display: grid; place-items: center;
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 132px; height: 132px; border-radius: 50%;
    background: var(--dark); color: var(--primary);
    box-shadow: var(--shadow-lift); z-index: 2;
  }
  .why-core span { display: grid; place-items: center; }
  .why-core small { position: absolute; bottom: 18px; font-family: var(--font-display); font-weight: 600; font-size: 9px; text-transform: uppercase; letter-spacing: 2px; color: rgba(255, 255, 255, 0.72); }
  .why-node { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(-1 * var(--r))); }
  .why-node-inner { transform: rotate(calc(-1 * var(--a))); flex-direction: column; align-items: center; text-align: center; gap: 12px; }
  .why-icon { width: 74px; height: 74px; }
  .why-node-inner strong { font-size: 15px; }
  .why-node-inner small { max-width: 130px; }
}
@media (min-width: 701px) { .why-orbit { --r: 210px; } }

@media (hover: hover) and (min-width: 561px) {
  .why-node:hover .why-icon { background: var(--primary); color: #fff; transform: scale(1.08); }
}

/* ---------------------------------------------------------------------------
   11. TRANSFORMATION JOURNEY
   ------------------------------------------------------------------------ */
#transformation { background: var(--surface); overflow: hidden; }
.ta-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .ta-grid { grid-template-columns: 1.05fr 1fr; gap: 64px; } }

.ta-slider {
  position: relative; width: 100%;
  aspect-ratio: var(--ratio-beforeafter);
  border-radius: var(--radius-card); overflow: hidden;
  box-shadow: var(--shadow-lift);
  user-select: none;
  /* BUG FIX: was `touch-action:none`, which blocked vertical page scrolling
     anywhere the finger landed on the slider. `pan-y` keeps page scroll. */
  touch-action: pan-y;
  cursor: ew-resize;
}
.ta-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.ta-after { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); }
.ta-after img { filter: saturate(1.05) contrast(1.05); }
.ta-label {
  position: absolute; top: 18px;
  padding: 6px 14px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 11px;
  text-transform: uppercase; letter-spacing: 2px; z-index: 3;
  background: rgba(17, 17, 17, 0.65); color: #fff;
}
.ta-label.before { left: 18px; }
.ta-label.after { right: 18px; }
.ta-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 3px; margin-left: -1.5px;
  background: #fff; z-index: 4;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.35);
}
.ta-knob {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--surface); color: var(--dark);
  box-shadow: var(--shadow-lift);
}

.ta-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 768px) { .ta-stats { gap: 20px; } }
.ta-stat {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: 22px 16px; text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
@media (min-width: 768px) { .ta-stat { padding: 28px 24px; } }
.ta-stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 9vw, 2.5rem); line-height: 1; color: var(--dark); }
.ta-stat-num em { font-style: normal; color: var(--primary); }
.ta-stat-label { margin-top: 10px; font-size: 13px; color: var(--muted-ink); }
@media (hover: hover) and (min-width: 1025px) { .ta-stat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); } }

/* ---------------------------------------------------------------------------
   12. MEMBERSHIP PLANS
   ------------------------------------------------------------------------ */
#membership { background: var(--bg); }
.plans { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: stretch; }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .plans { grid-template-columns: repeat(3, 1fr); } }

.plan {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: 36px 24px 28px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
@media (min-width: 480px) { .plan { padding: 32px 26px; } }
@media (min-width: 1024px) { .plan { padding: 40px 32px; } }

.plan--featured { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: var(--shadow-orange); }
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  padding: 6px 16px; border-radius: 999px;
  background: var(--dark); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 11px;
  text-transform: uppercase; letter-spacing: 2px; white-space: nowrap;
}
.plan-badge--light { background: #fff; color: var(--primary-ink); }
.plan-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: 1px; }
.plan-price { margin-top: 16px; display: flex; align-items: flex-end; gap: 6px; flex-wrap: wrap; }
.plan-price .cur { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin-bottom: 10px; }
.plan-price .num { font-family: var(--font-display); font-weight: 800; font-size: 52px; line-height: 1; letter-spacing: -0.02em; }
@media (min-width: 1024px) { .plan-price .num { font-size: 64px; } }
.plan-price .per { font-size: 14px; color: var(--muted-ink); margin-bottom: 12px; }
.plan--featured .plan-price .per { color: rgba(255, 255, 255, 0.9); }
.plan-desc { margin-top: 10px; font-size: 14px; color: var(--muted-ink); }
.plan--featured .plan-desc { color: rgba(255, 255, 255, 0.92); }
.plan-list { margin: 24px 0; display: grid; gap: 14px; flex: 1; }
.plan-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--fg); }
.plan--featured .plan-list li { color: #fff; }
.plan-list svg { flex: none; color: var(--primary); margin-top: 2px; }
.plan--featured .plan-list svg { color: #fff; }
.plan .btn { width: 100%; }

@media (hover: hover) and (min-width: 1025px) { .plan:hover { transform: translateY(-10px); box-shadow: var(--shadow-lift); } }

.plan-foot {
  margin-top: 28px; text-align: center;
  font-size: 15px; color: var(--muted-ink);
}
.plan-foot a { color: var(--primary-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------------------
   13. COACHES
   ------------------------------------------------------------------------ */
#coaches { background: var(--surface); }
.coaches { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .coaches { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .coaches { grid-template-columns: repeat(4, 1fr); } }

.coach { position: relative; aspect-ratio: var(--ratio-coach); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-lift); background: var(--shape); }
.coach img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.coach-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(17, 17, 17, 0.92), transparent 60%); }
.coach-info { position: absolute; inset-inline: 0; bottom: 0; padding: 22px; color: #fff; }
.coach-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
@media (min-width: 1024px) { .coach-name { font-size: 22px; } }
.coach-spec { margin-top: 4px; font-size: 14px; color: var(--accent); font-weight: 500; }
.coach-years { margin-top: 6px; font-size: 13px; color: rgba(255, 255, 255, 0.8); }

.coach-social {
  position: absolute; top: 16px; right: 16px;
  display: flex; gap: 10px;
  /* Visible by default: the original used opacity:0 + :hover, which left these
     permanently invisible on touch devices. */
  opacity: 1; transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.coach-social a {
  display: grid; place-items: center;
  width: var(--tap); height: var(--tap); border-radius: 50%;
  background: rgba(255, 255, 255, 0.16); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background-color 0.3s ease, transform 0.3s ease;
}
@media (hover: hover) and (min-width: 1025px) {
  .coach-social { opacity: 0; transform: translateY(-8px); }
  .coach:hover .coach-social, .coach:focus-within .coach-social { opacity: 1; transform: translateY(0); }
  .coach:hover img { transform: scale(1.08); }
  .coach-social a:hover { background: var(--primary); border-color: var(--primary); transform: scale(1.1); }
}

/* ---------------------------------------------------------------------------
   14. SUCCESS STORIES
   ------------------------------------------------------------------------ */
#stories { background: var(--bg); }
.tst { max-width: 760px; margin: 0 auto; position: relative; }

.tst-viewport {
  border-radius: var(--radius-card);
  /* overflow is what actually makes this a scroll container — without it the
     snap type is inert, scrollLeft stays 0 and all slides lay out side by side */
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 8px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.tst-viewport::-webkit-scrollbar { display: none; }
.tst-track { display: flex; }
.tst-slide { flex: 0 0 100%; padding: 8px; scroll-snap-align: center; }
.tst-card {
  background: var(--surface); border-radius: var(--radius-card);
  padding: 28px 22px 24px; box-shadow: var(--shadow-lift);
  display: flex; flex-direction: column; gap: 20px; min-height: 260px;
}
@media (min-width: 640px) { .tst-card { padding: 40px 40px 32px; min-height: 280px; } }

.tst-stars { display: flex; gap: 4px; }
.tst-stars svg { width: 18px; height: 18px; fill: var(--primary); color: var(--primary); }
.tst-quote { font-size: 17px; line-height: 1.65; color: var(--dark); }
@media (min-width: 640px) { .tst-quote { font-size: 19px; } }
.tst-quote .qmark { color: var(--primary); font-family: var(--font-display); font-weight: 800; }
.tst-person { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.tst-person img { width: 52px; height: 52px; flex: none; border-radius: 50%; object-fit: cover; border: 3px solid var(--shape); background: var(--shape); }
/* Initials stand-in: no third-party faces, no tracking pixels, no CLS */
.tst-avatar {
  display: grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 50%;
  border: 3px solid var(--shape); background: var(--dark); color: var(--primary);
  font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: 0.04em;
}
.tst-person strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--dark); }
.tst-person small { font-size: 13px; color: var(--muted-ink); }
.tst-result { margin-left: auto; text-align: right; font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--primary-ink); }

.tst-nav { margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 16px; }
@media (min-width: 768px) { .tst-nav { margin-top: 32px; gap: 24px; } }
.tst-dots { display: flex; align-items: center; gap: 2px; }
.tst-dot {
  position: relative;
  width: var(--tap); height: var(--tap);   /* 44px tap target, 9px visual dot */
  border-radius: 999px;
  display: grid; place-items: center;
}
.tst-dot::before {
  content: ""; display: block;
  width: 9px; height: 9px; border-radius: 999px; background: #d8d8d8;
  transition: width 0.3s ease, background-color 0.3s ease;
}
.tst-dot[aria-current="true"]::before { width: 28px; background: var(--primary); }

/* ---------------------------------------------------------------------------
   15. GALLERY — scroll-snap rail on mobile, original grid on desktop
   ------------------------------------------------------------------------ */
#gallery { background: var(--surface); }
.gallery {
  display: flex; gap: 16px;
  margin-inline: calc(-1 * max(var(--gutter), var(--safe-l))) calc(-1 * max(var(--gutter), var(--safe-r)));
  padding-inline: max(var(--gutter), var(--safe-l)) max(var(--gutter), var(--safe-r));
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), var(--safe-l));
  overflow-x: auto; overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }

.gal-item {
  position: relative;
  flex: 0 0 74%;
  max-width: 320px;
  aspect-ratio: var(--ratio-gallery);
  scroll-snap-align: start;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--shape);
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; }
.gal-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17, 17, 17, 0.8), transparent 55%);
  opacity: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px; color: #fff;
  transition: opacity 0.4s ease;
}
.gal-overlay strong { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.gal-overlay small { font-size: 12px; color: var(--accent); }

@media (min-width: 768px) {
  .gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
    gap: 16px;
    margin-inline: 0; padding-inline: 0;
    scroll-snap-type: none; overflow: visible;
  }
  .gal-item { aspect-ratio: auto; max-width: none; }
  .gal-item.tall { grid-row: span 2; }
}
@media (min-width: 1024px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 20px; }
}

@media (hover: hover) and (min-width: 769px) {
  .gal-item:hover img { transform: scale(1.12); }
  .gal-overlay { opacity: 0; }
  .gal-item:hover .gal-overlay, .gal-item:focus-within .gal-overlay { opacity: 1; }
  .gal-overlay strong, .gal-overlay small { transform: translateY(10px); transition: transform 0.4s ease; }
  .gal-item:hover .gal-overlay strong, .gal-item:hover .gal-overlay small { transform: translateY(0); }
}

/* ---------------------------------------------------------------------------
   16. TRAINING SCHEDULE
   ------------------------------------------------------------------------ */
#schedule { background: var(--bg); }
.week-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 32px; }
@media (min-width: 768px) { .week-tabs { margin-bottom: 40px; } }
.week-tab {
  min-height: var(--tap);
  padding: 12px 20px; border-radius: var(--radius-btn);
  border: 1px solid var(--line); background: var(--surface);
  font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--muted-ink);
  transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}
.week-tab[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: var(--shadow-orange); }

.schedule-day { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 1024px) { .schedule-day { grid-template-columns: 1fr 1fr; } }

.sched-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 20px 16px; }
@media (min-width: 481px) { .sched-block { padding: 28px; } }
.sched-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.sched-head .sun { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 107, 44, 0.1); color: var(--primary-ink); }
.sched-head strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--dark); }
.sched-head small { display: block; font-size: 12px; color: var(--muted-ink); font-weight: 500; }

.sched-row {
  display: grid; grid-template-columns: 54px 1fr auto; gap: 10px;
  align-items: center; padding: 14px 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 481px) { .sched-row { grid-template-columns: 70px 1fr auto; gap: 14px; padding: 16px 0; } }
.sched-time { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--primary-ink); }
@media (min-width: 481px) { .sched-time { font-size: 15px; } }
.sched-info strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--dark); }
.sched-info small { display: block; font-size: 13px; color: var(--muted-ink); }
.sched-level { padding: 4px 10px; border-radius: 999px; background: var(--shape); font-size: 11px; font-weight: 600; color: var(--muted-ink); white-space: nowrap; }

/* ---------------------------------------------------------------------------
   17. NUTRITION & RECOVERY
   ------------------------------------------------------------------------ */
#nutrition { background: var(--surface); overflow: hidden; }
.nut-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 768px) { .nut-grid { gap: 56px; } }
@media (min-width: 1024px) { .nut-grid { grid-template-columns: 1fr 1.1fr; gap: 80px; } }

.nut-visual { position: relative; margin-inline: 8px; }
.nut-main {
  position: relative;
  aspect-ratio: var(--ratio-nut);
  border-radius: var(--radius-card); overflow: hidden;
  box-shadow: var(--shadow-lift); z-index: 1;
  background: var(--shape);
}
.nut-main img { width: 100%; height: 100%; object-fit: cover; }
.nut-float {
  position: absolute; z-index: 2;
  background: var(--surface); border-radius: 18px;
  box-shadow: var(--shadow-lift); padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
}
.nut-float.f1 { right: 8px; top: 12px; }
.nut-float.f2 { left: 8px; bottom: 12px; }
@media (min-width: 1025px) {
  .nut-visual { margin-inline: 0; }
  .nut-float.f1 { right: -24px; top: 40px; animation: float-soft 6s ease-in-out infinite; }
  .nut-float.f2 { left: -24px; bottom: 36px; animation: float-soft 7s ease-in-out 1s infinite; }
}
.nut-float strong { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--dark); }
.nut-float small { display: block; font-size: 12px; color: var(--muted-ink); }
.nut-float .ic { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 107, 44, 0.1); color: var(--primary-ink); }

.nut-copy .section-title { font-size: clamp(1.75rem, 7vw, 2.25rem); }
@media (min-width: 1024px) { .nut-copy .section-title { font-size: 44px; } }
.nut-list { margin: 24px 0 28px; display: grid; gap: 16px; }
.nut-list li { display: flex; align-items: flex-start; gap: 14px; }
.nut-check { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; margin-top: 2px; }
.nut-list strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--dark); }
.nut-list p { font-size: 15px; color: var(--muted-ink); }
.recovery-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.recovery-pill {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: var(--tap); padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg);
  font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--dark);
}
.recovery-pill svg { color: var(--primary); flex: none; }

/* ---------------------------------------------------------------------------
   18. BLOG
   ------------------------------------------------------------------------ */
#blog { background: var(--bg); }
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(4, 1fr); } }

.blog-card {
  background: var(--surface); border-radius: var(--radius-card);
  overflow: hidden; box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.blog-thumb { position: relative; aspect-ratio: var(--ratio-blog); overflow: hidden; display: block; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-cat {
  position: absolute; left: 14px; top: 14px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--primary); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 11px;
  text-transform: uppercase; letter-spacing: 1px;
}
.blog-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.blog-date { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted-ink); }
.blog-date svg { flex: none; }
.blog-title { margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.35; color: var(--dark); }
.blog-excerpt { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--muted-ink); }
.blog-link {
  margin-top: auto; padding-top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: var(--tap);
  font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--primary-ink);
}
.blog-link svg { transition: transform 0.3s ease; }
/* Articles are not published yet: keep the affordance visible but honest */
.blog-link[aria-disabled="true"] { color: var(--muted-ink); font-weight: 500; }

@media (hover: hover) and (min-width: 1025px) {
  .blog-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lift); }
  .blog-card:hover .blog-thumb img { transform: scale(1.08); }
  .blog-card:hover .blog-link svg { transform: translateX(5px); }
}

/* ---------------------------------------------------------------------------
   19. THE FORGE APP
   ------------------------------------------------------------------------ */
#app { background: var(--surface); overflow: hidden; }
.app-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 768px) { .app-grid { gap: 56px; } }
@media (min-width: 1024px) { .app-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }

.app-feats { margin: 28px 0; display: grid; gap: 20px; }
.app-feat { display: flex; gap: 16px; }
.app-feat .ic { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 107, 44, 0.1); color: var(--primary-ink); }
.app-feat strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--dark); }
.app-feat p { font-size: 15px; color: var(--muted-ink); }

.store-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.store-btn {
  display: flex; align-items: center; gap: 10px;
  min-height: var(--tap); padding: 12px 20px;
  border-radius: var(--radius-btn);
  background: var(--dark); color: #fff;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.store-btn svg { flex: none; }
.store-btn small { display: block; font-size: 11px; color: rgba(255, 255, 255, 0.78); line-height: 1.2; }
.store-btn strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1.2; }

.phone-wrap { position: relative; display: flex; justify-content: center; margin-inline: 24px; }
@media (min-width: 1025px) { .phone-wrap { margin-inline: 0; } }
.phone {
  width: min(320px, 100%); height: auto; aspect-ratio: 320 / 640;
  border-radius: 48px;
  background: var(--dark-700); padding: 14px;
  box-shadow: var(--shadow-lift);
  position: relative; z-index: 1;
}
.phone-notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 110px; height: 26px; border-radius: 999px; background: var(--dark); z-index: 3; }
.phone-screen {
  position: relative; height: 100%; border-radius: 36px; overflow: hidden;
  background: linear-gradient(160deg, #1e1e1e, #111);
  display: flex; flex-direction: column;
}
.app-head { display: flex; align-items: center; justify-content: space-between; padding: 42px 22px 16px; color: #fff; }
.app-head strong { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.app-head small { display: block; font-size: 12px; color: rgba(255, 255, 255, 0.72); }
.app-avatar { width: 38px; height: 38px; flex: none; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); }
.app-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 22px 16px; }
.app-stat { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; padding: 14px; }
.app-stat .num { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: #fff; }
.app-stat .lbl { font-size: 12px; color: rgba(255, 255, 255, 0.7); }
.app-ring { display: flex; align-items: center; gap: 14px; padding: 0 22px 16px; }
.ring-chart {
  width: 84px; height: 84px; border-radius: 50%; flex: none;
  background: conic-gradient(var(--primary) 0% 72%, rgba(255, 255, 255, 0.1) 72% 100%);
  display: grid; place-items: center;
}
.ring-chart span { width: 62px; height: 62px; border-radius: 50%; background: #161616; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 16px; color: #fff; }
.ring-info strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #fff; }
.ring-info small { display: block; font-size: 12px; color: rgba(255, 255, 255, 0.72); }
.app-session { margin: 0 22px; padding: 14px; border-radius: 16px; background: rgba(255, 107, 44, 0.14); border: 1px solid rgba(255, 107, 44, 0.3); }
.app-session strong { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--accent); }
.app-session p { font-size: 12px; color: rgba(255, 255, 255, 0.78); }
.app-bars { margin: 16px 22px 0; flex: 1; display: flex; align-items: flex-end; gap: 8px; }
.app-bars span { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(to top, var(--primary), var(--accent)); opacity: 0.85; }

.phone-chip {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border-radius: 16px;
  box-shadow: var(--shadow-lift); padding: 12px 16px;
}
.phone-chip .dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15); }
.phone-chip strong { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--dark); }
.phone-chip small { display: block; font-size: 11px; color: var(--muted-ink); }
.phone-chip.c1 { top: 24px; left: 4px; }
.phone-chip.c2 { bottom: 48px; right: 4px; }
@media (min-width: 1025px) {
  .phone-chip.c1 { top: 40px; left: 6px; animation: float-soft 6s ease-in-out infinite; }
  .phone-chip.c2 { bottom: 60px; right: 2px; animation: float-soft 7s ease-in-out 1s infinite; }
}

@media (hover: hover) and (min-width: 1025px) {
  .store-btn:hover { transform: translateY(-3px); background: var(--primary); }
}

/* ---------------------------------------------------------------------------
   20. FAQ
   ------------------------------------------------------------------------ */
#faq { background: var(--bg); }
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item.open { border-color: var(--primary); box-shadow: var(--shadow-soft); }
/* The button lives inside an h3 so the accordion keeps a real heading for screen readers */
.faq-heading { margin: 0; font: inherit; }
.faq-q {
  width: 100%; min-height: var(--tap);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--dark);
}
@media (min-width: 481px) { .faq-q { padding: 22px 26px; font-size: 17px; } }
.faq-icon {
  display: grid; place-items: center; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--shape); color: var(--dark);
  transition: transform 0.35s ease, background-color 0.3s ease, color 0.3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  /* visibility keeps collapsed answers out of the accessibility tree */
  visibility: hidden;
  transition: grid-template-rows 0.4s ease, visibility 0s linear 0.4s;
}
/* grid-template-rows animates to the content height, so answers of any length
   open fully without the max-height guesswork this replaces. */
.faq-item.open .faq-a {
  grid-template-rows: 1fr; visibility: visible;
  transition: grid-template-rows 0.4s ease, visibility 0s;
}
/* min-height:0 is what lets a 0fr row truly collapse — without it the child's
   padding becomes an automatic minimum and leaves a gap under closed questions */
.faq-a > * { overflow: hidden; min-height: 0; }
.faq-a p { padding: 0; font-size: 15px; line-height: 1.7; color: var(--muted-ink); }
/* Padding lives on the inner <p>, not on the grid item: padding on the item would
   keep a 0fr row from collapsing to nothing, leaving a gap under closed questions. */
.faq-a-inner > p { padding: 0 18px 20px; }
@media (min-width: 481px) { .faq-a-inner > p { padding: 0 26px 24px; } }

/* ---------------------------------------------------------------------------
   21. LOCATION
   ------------------------------------------------------------------------ */
#location { background: var(--surface); }
.loc-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: stretch; }
@media (min-width: 1024px) { .loc-grid { grid-template-columns: 0.9fr 1.1fr; gap: 48px; } }

.loc-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 28px 22px; }
@media (min-width: 641px) { .loc-card { padding: 40px 32px; } }
.loc-head { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.loc-head .ic { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 16px; background: var(--primary); color: #fff; box-shadow: var(--shadow-orange); }
.loc-head h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--dark); }
@media (min-width: 641px) { .loc-head h3 { font-size: 26px; } }
.loc-head p { font-size: 14px; color: var(--muted-ink); }

.loc-items { margin: 24px 0; display: grid; gap: 18px; }
.loc-item { display: flex; gap: 14px; align-items: flex-start; }
.loc-item .ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--surface); color: var(--primary-ink); box-shadow: var(--shadow-soft); }
.loc-item strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--dark); }
.loc-item p { font-size: 15px; color: var(--muted-ink); }
.loc-item a { color: var(--primary-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.loc-hours { margin-top: 24px; padding-top: 22px; border-top: 1px dashed var(--line); display: grid; gap: 10px; font-size: 14px; color: var(--muted-ink); }
.loc-hours span { display: flex; justify-content: space-between; gap: 12px; }
.loc-hours strong { font-family: var(--font-display); font-weight: 600; color: var(--dark); }

.loc-map { position: relative; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-lift); background: var(--shape); aspect-ratio: var(--ratio-map); }
.loc-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------------------------------------------------------------------------
   22. FOOTER
   ------------------------------------------------------------------------ */
.footer {
  --focus-ring: #ffffff;
  background: var(--dark); color: #fff;
  padding: 64px 0 0; position: relative; overflow: hidden;
}
@media (min-width: 1024px) { .footer { padding: 80px 0 0; } }
.footer::before {
  content: ""; position: absolute; top: -160px; right: -160px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 44, 0.18), transparent 65%);
}
.footer-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 44px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 48px; } }

.footer h3 { font-family: var(--font-display); font-weight: 700; font-size: 17px; margin-bottom: 20px; }
/* Same treatment for the newsletter column heading (rendered as h2) */
.footer h2 { font-family: var(--font-display); font-weight: 700; font-size: 17px; margin-bottom: 20px; }
.footer-about p { font-size: 14.5px; line-height: 1.75; color: rgba(255, 255, 255, 0.78); margin: 18px 0 22px; max-width: 32ch; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  display: grid; place-items: center;
  width: var(--tap); height: var(--tap); border-radius: 12px;
  background: rgba(255, 255, 255, 0.08); color: #fff;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.footer-links { display: grid; gap: 4px; }
.footer-links a {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: var(--tap);
  font-size: 15px; color: rgba(255, 255, 255, 0.78);
  transition: color 0.3s ease, transform 0.3s ease;
}
.footer-links a svg { color: var(--primary); opacity: 1; flex: none; transition: opacity 0.3s ease, transform 0.3s ease; }
.footer-note { font-size: 14.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.78); }
.footer-contact { margin-top: 16px; display: grid; gap: 2px; font-size: 15px; }
.footer-contact a { display: inline-flex; align-items: center; min-height: var(--tap); color: rgba(255, 255, 255, 0.78); }
.footer-contact a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px; font-size: 13px; color: rgba(255, 255, 255, 0.62);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: var(--tap); color: rgba(255, 255, 255, 0.78); }

@media (hover: hover) and (min-width: 769px) {
  .footer-social a:hover { background: var(--primary); transform: translateY(-3px); }
  .footer-links a:hover { color: var(--primary); transform: translateX(4px); }
  .footer-links a:hover svg { transform: translateX(4px); }
}

/* ---------------------------------------------------------------------------
   23. FORMS
   ------------------------------------------------------------------------ */
.field { display: grid; gap: 6px; }
.field-label { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--fg); }
.footer .field-label { color: #fff; }

.input {
  width: 100%;
  min-height: var(--tap);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  background: var(--surface);
  color: var(--fg);
  /* 16px minimum: iOS Safari zooms the viewport on focus below 16px */
  font-family: var(--font-body); font-size: 16px; line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input::placeholder { color: #9a9a9a; }
.input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255, 107, 44, 0.28); }
.input:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 1px; }
.input[aria-invalid="true"] { border-color: #c1121f; box-shadow: 0 0 0 3px rgba(193, 18, 31, 0.18); }
select.input {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--fg) 50%), linear-gradient(135deg, var(--fg) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
textarea.input { min-height: 104px; resize: vertical; }

.field-error {
  display: flex; align-items: flex-start; gap: 6px;
  font-size: 13px; font-weight: 500; color: #c1121f;
}
.field-error:empty { display: none; }
.field-hint { font-size: 13px; color: var(--muted-ink); }

/* Honeypot: off-screen, never announced, ignored by humans and bots */
.hp-field {
  position: absolute !important;
  left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
  opacity: 0; pointer-events: none;
}

/* Newsletter */
.news-form { display: grid; gap: 10px; margin-top: 16px; }
.news-form .input { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.18); color: #fff; }
.news-form .input::placeholder { color: rgba(255, 255, 255, 0.72); }
.news-form .input:focus { background: rgba(255, 255, 255, 0.14); border-color: var(--primary); }
.news-form button {
  min-height: var(--tap);
  background: var(--primary); color: #fff;
  padding: 0 22px; border-radius: var(--radius-btn);
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  transition: background-color 0.3s ease;
}
@media (min-width: 480px) {
  .news-form { grid-template-columns: 1fr auto; }
  .news-form button { padding-inline: 24px; }
}
@media (hover: hover) and (min-width: 769px) { .news-form button:hover { background: var(--primary-dark); } }

.form-status {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 10px; font-size: 13.5px; line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}
.form-status[data-state="error"] { color: #ffb4ab; }
.form-status[data-state="success"] { color: #b9f6ca; }
.form-status .dot { flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: currentColor; }
/* The newsletter form is a 2-column grid on wider phones: keep the status message
   on its own full-width row so it never squeezes the input or button. */
.news-form .form-status { grid-column: 1 / -1; margin-top: 4px; }

/* ---------------------------------------------------------------------------
   24. ENQUIRY MODAL (bottom sheet on mobile, centred dialog on desktop)
   ------------------------------------------------------------------------ */
.modal {
  position: fixed; inset: 0; z-index: 60;
  display: flex; align-items: flex-end; justify-content: center;
  visibility: hidden;
  transition: visibility 0s linear 0.3s;
}
body.modal-open .modal { visibility: visible; transition: visibility 0s; }
.modal-scrim { position: absolute; inset: 0; background: rgba(17, 17, 17, 0.55); opacity: 0; transition: opacity 0.3s ease; }
body.modal-open .modal-scrim { opacity: 1; }

.modal-panel {
  position: relative;
  width: 100%; max-width: 560px;
  max-height: 92vh; max-height: 92dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 22px 20px calc(24px + var(--safe-b));
  background: var(--surface);
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -24px 70px rgba(0, 0, 0, 0.28);
  transform: translateY(100%);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}
body.modal-open .modal-panel { transform: translateY(0); }

.modal-grip { width: 44px; height: 4px; border-radius: 999px; background: var(--line); margin: 0 auto 16px; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.modal-title { font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 1.2; color: var(--dark); }
.modal-sub { margin-top: 6px; font-size: 14.5px; color: var(--muted-ink); }
.modal-close { display: grid; place-items: center; flex: none; width: var(--tap); height: var(--tap); border-radius: 50%; background: var(--shape); color: var(--dark); }

.form-grid { display: grid; gap: 14px; }
.form-row-2 { display: grid; gap: 14px; }
@media (min-width: 480px) { .form-row-2 { grid-template-columns: 1fr 1fr; } }
.form-actions { display: grid; gap: 10px; margin-top: 20px; }
.form-actions .btn { width: 100%; }
.form-legal { font-size: 12.5px; line-height: 1.6; color: var(--muted-ink); text-align: center; }
.form-legal a { color: var(--primary-ink); text-decoration: underline; text-underline-offset: 2px; }
/* The wrapper is toggled by JS (hidden) — needs a display value to be toggleable */
.form-wrap { display: grid; }
.form-wrap[hidden] { display: none; }

.form-success { display: none; text-align: center; padding: 12px 0 4px; }
.form-success[data-visible="true"] { display: block; }
.form-success .tick {
  width: 64px; height: 64px; margin: 0 auto 16px;
  border-radius: 50%; background: rgba(34, 197, 94, 0.12); color: #15803d;
  display: grid; place-items: center;
}
.form-success h3 { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--dark); }
.form-success p { margin-top: 10px; font-size: 15px; color: var(--muted-ink); }
.form-success .btn { margin-top: 22px; }

@media (min-width: 768px) {
  .modal { align-items: center; padding: 24px; }
  .modal-panel { border-radius: 26px; padding: 28px 32px 32px; transform: translateY(0) scale(0.96); opacity: 0; transition: transform 0.28s ease, opacity 0.28s ease; }
  body.modal-open .modal-panel { transform: translateY(0) scale(1); opacity: 1; }
  .modal-grip { display: none; }
}

/* Spinner for the submit button's loading state */
.spinner {
  width: 18px; height: 18px; flex: none;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* ---------------------------------------------------------------------------
   25. TOAST
   ------------------------------------------------------------------------ */
.toast {
  position: fixed; z-index: 70;
  left: 50%;
  bottom: calc(var(--bottom-bar-h) + var(--safe-b) + 16px);
  width: max-content; max-width: calc(100vw - 32px);
  padding: 13px 22px; border-radius: 999px;
  background: var(--dark); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 14px; text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
  transform: translate(-50%, 12px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}
.toast[data-state="show"] { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------------------
   26. MOTION PREFERENCES / LANDSCAPE / PRINT
   ------------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .ping, .scroll-arrow, .avatar { animation: none !important; }
  .app-bars span { transition: none !important; }
}

/* Phone in landscape: keep the drawer and sheet usable with limited height */
@media (orientation: landscape) and (max-height: 500px) {
  .drawer { width: min(320px, 78vw); }
  .modal-panel { max-height: 96dvh; }
  .hero-title { font-size: clamp(2rem, 7vw, 2.75rem); }
  .hero-cta { grid-template-columns: 1fr 1fr; }
}

@media print {
  .navbar, .drawer, .drawer-scrim, .action-bar, .modal, .toast, .scroll-progress { display: none !important; }
  body { padding-bottom: 0; background: #fff; }
  .reveal, .js .reveal { opacity: 1 !important; transform: none !important; }
  .section { padding: 24px 0; }
}
