/* ============================================================
   FITORA — The Pulse of Fitness
   Shared stylesheet · v2.0 · multi-page build
   ============================================================ */

/* ============================================================
   1. TOKENS
   ============================================================ */
:root {
  --bg:            oklch(0.14 0.005 30);
  --bg-deep:       oklch(0.10 0.004 30);
  --surface:       oklch(0.18 0.006 35);
  --surface-2:     oklch(0.22 0.008 35);
  --surface-3:     oklch(0.26 0.010 35);
  --border:        oklch(0.28 0.010 45 / 0.55);
  --border-strong: oklch(0.40 0.020 45 / 0.85);

  --text:          oklch(0.96 0.012 80);
  --text-dim:      oklch(0.78 0.014 60);
  --text-muted:    oklch(0.58 0.015 50);

  /* Fitora red — the real interior/equipment color, the "pulse" of the brand */
  --pulse:         oklch(0.575 0.218 27);
  --pulse-soft:    oklch(0.66 0.205 29);
  --pulse-deep:    oklch(0.495 0.205 27);
  --pulse-glow:    oklch(0.575 0.218 27 / 0.38);
  --pulse-trace:   oklch(0.575 0.218 27 / 0.20);
  --pulse-faint:   oklch(0.575 0.218 27 / 0.09);

  /* Ember — the orange logo accent (Fitora wordmark swoosh) */
  --ember:         oklch(0.74 0.175 52);
  --ember-soft:    oklch(0.82 0.15 58);
  --ember-faint:   oklch(0.74 0.175 52 / 0.10);

  --bone:          #f5f0e6;
  --shadow-sm:  0 1px 2px rgba(0,0,0,.4);
  --shadow-md:  0 8px 24px rgba(0,0,0,.5);
  --shadow-lg:  0 24px 60px rgba(0,0,0,.6);
  --shadow-pulse: 0 12px 40px oklch(0.72 0.19 50 / 0.35);
  --shadow-ring: 0 0 0 1px var(--border), 0 12px 36px rgba(0,0,0,.45);

  --r-xs: 6px; --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-2xl: 44px;
  --r-full: 999px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 180ms; --t-med: 320ms; --t-slow: 600ms;

  --font-display: 'Tanker', 'Arial Black', sans-serif;
  --font-body: 'Satoshi', system-ui, -apple-system, sans-serif;

  --container: 1320px;
  --pad-x: clamp(1.25rem, 5vw, 3rem);

  --step--2: clamp(0.75rem, 0.72rem + 0.15vw, 0.85rem);
  --step--1: clamp(0.875rem, 0.83rem + 0.22vw, 1rem);
  --step-0:  clamp(1rem, 0.94rem + 0.28vw, 1.125rem);
  --step-1:  clamp(1.15rem, 1.04rem + 0.55vw, 1.375rem);
  --step-2:  clamp(1.4rem, 1.2rem + 1vw, 1.85rem);
  --step-3:  clamp(1.85rem, 1.4rem + 2.25vw, 2.9rem);
  --step-4:  clamp(2.5rem, 1.7rem + 4vw, 4.5rem);
  --step-5:  clamp(3.5rem, 2.2rem + 6.5vw, 7.5rem);
  --step-6:  clamp(4.5rem, 2.5rem + 10vw, 11rem);
}

[data-theme="light"] {
  --bg:            #f5f0e6;
  --bg-deep:       #ebe5d6;
  --surface:       #ffffff;
  --surface-2:     #fbf6ec;
  --surface-3:     #f4ead8;
  --border:        rgba(20, 14, 4, 0.10);
  --border-strong: rgba(20, 14, 4, 0.22);
  --text:          #15110a;
  --text-dim:      #2b2418;
  --text-muted:    #6a5f4e;
  --pulse:         #e11919;
  --pulse-soft:    #f23a3a;
  --pulse-deep:    #b80f0f;
  --pulse-glow:    rgba(225, 25, 25, 0.30);
  --pulse-trace:   rgba(225, 25, 25, 0.15);
  --pulse-faint:   rgba(225, 25, 25, 0.06);
  --ember:         #ff6b1a;
  --ember-soft:    #ff8a3d;
  --ember-faint:   rgba(255, 107, 26, 0.10);
  --shadow-md: 0 8px 24px rgba(20,14,4,.10);
  --shadow-lg: 0 24px 60px rgba(20,14,4,.15);
  --shadow-pulse: 0 12px 40px rgba(225,25,25,.28);
  --shadow-ring: 0 0 0 1px var(--border), 0 12px 36px rgba(20,14,4,.08);
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .4s ease, color .4s ease;
}
img,video,svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input,textarea,select { font: inherit; color: inherit; }
::selection { background: var(--pulse); color: #0a0a0b; }

h1,h2,h3,h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin: 0;
  text-transform: uppercase;
}
p { margin: 0; }

/* ============================================================
   3. UTILITIES
   ============================================================ */
.container { max-width: var(--container); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.wide { max-width: 1560px; margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.tight { max-width: 980px; margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: var(--step--2);
  font-weight: 700;
  color: var(--pulse);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--pulse);
  display: inline-block;
}
.text-accent { color: var(--pulse); }
.italic-accent { color: var(--pulse); font-style: italic; }

/* ============================================================
   4. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.6rem;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all .35s var(--ease-out);
  white-space: nowrap;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  will-change: transform;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn i, .btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--pulse);
  color: #0a0a0b;
  box-shadow: var(--shadow-pulse);
  border: 0;
}
.btn-primary:hover { background: var(--pulse-soft); transform: translateY(-2px); }
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.4), transparent 70%);
  transform: translateX(-100%);
  transition: transform .7s var(--ease-out);
  z-index: -1;
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-ghost {
  color: var(--text);
  border: 1px solid var(--border-strong);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--pulse); color: var(--pulse); }
.btn-sm { padding: 0.7rem 1.1rem; font-size: 0.78rem; }

/* ============================================================
   5. NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  padding: 0.9rem 0;
  /* Solid blurred glass bar from the start — no more "competing with bright hero" problem */
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-bottom: 1px solid var(--border);
  transition: background-color .35s ease, padding .35s ease, border-color .35s ease;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  padding: 0.65rem 0;
  border-bottom-color: var(--border-strong);
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--border);
  padding: 0.7rem 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: 0.005em;
  text-transform: none;
}
.logo .logo-mark { width: 40px; height: 40px; flex: 0 0 40px; }
.logo .logo-mark .ring-bg { fill: #0a0a0b; stroke: var(--text); stroke-width: 2; }
[data-theme="light"] .logo .logo-mark .ring-bg { fill: #0a0a0b; stroke: #0a0a0b; }
.logo .logo-mark .arc { stroke: var(--pulse); fill: none; }
.logo .logo-mark .f-stem,
.logo .logo-mark .f-top,
.logo .logo-mark .f-mid { stroke: var(--text); fill: none; stroke-linecap: square; }
[data-theme="light"] .logo .logo-mark .f-stem,
[data-theme="light"] .logo .logo-mark .f-top,
[data-theme="light"] .logo .logo-mark .f-mid { stroke: #f5f0e6; }
.logo .logo-mark .f-dot { fill: var(--pulse); }
.logo small { display: block; font-family: var(--font-body); font-size: 0.66rem; letter-spacing: 0.24em; color: var(--text); text-transform: uppercase; margin-top: 3px; font-weight: 600; opacity: 0.85; }
.logo .text-block { line-height: 1; }

.nav-links { display: flex; align-items: center; gap: 2.2rem; }
.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  color: var(--text);
  position: relative;
  padding: 0.3rem 0;
}
.nav-links a { opacity: 0.82; transition: opacity .25s ease, color .25s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--text); opacity: 1; }
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--pulse);
  transition: width .35s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 1rem; }
.theme-toggle {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--text);
  transition: all .3s ease;
}
.theme-toggle:hover { border-color: var(--pulse); color: var(--pulse); transform: rotate(20deg); }
.theme-toggle i { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
[data-theme="light"] .theme-toggle .sun { display: inline-flex; }
[data-theme="light"] .theme-toggle .moon { display: none; }

.burger { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--border-strong); border-radius: 50%; }
.burger i { width: 20px; height: 20px; }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bg-deep);
  z-index: 90;
  padding: 5rem var(--pad-x) 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transform: translateY(-100%);
  transition: transform .55s var(--ease-out);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.mobile-nav-close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--border-strong); }
.mobile-nav-links { display: flex; flex-direction: column; gap: 0.2rem; }
.mobile-nav-links a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 10vw, 3.2rem);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  color: var(--text);
  transition: color .25s, padding-left .35s var(--ease-out);
}
.mobile-nav-links a:hover, .mobile-nav-links a.active { color: var(--pulse); padding-left: 0.5rem; }
.mobile-nav-footer { margin-top: auto; padding-top: 2rem; display: flex; flex-direction: column; gap: 0.8rem; color: var(--text-muted); font-size: 0.9rem; }
.mobile-nav-footer .row { display: flex; align-items: center; gap: 0.7rem; }
.mobile-nav-footer i { width: 16px; height: 16px; color: var(--pulse); }

/* ============================================================
   6. MARQUEE
   ============================================================ */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-deep);
  overflow: hidden;
  padding: 1.1rem 0;
  position: relative;
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; width: 90px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-deep), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg-deep), transparent); }
.marquee-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1rem + 1.8vw, 2.4rem);
  color: var(--text);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
  letter-spacing: 0.01em;
}
.marquee-track span i { width: 14px; height: 14px; color: var(--pulse); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   7. PAGE HEADER (used by inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 70vh;
  padding: clamp(8rem, 18vh, 12rem) 0 clamp(4rem, 8vw, 6rem);
  display: flex;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero-bg {
  position: absolute; inset: -3%;
  z-index: -2;
  background-size: cover;
  background-position: center 30%;
  filter: contrast(1.05) saturate(0.85);
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,.40) 30%, rgba(10,10,11,.95) 100%);
  z-index: -1;
}
.page-hero-inner { width: 100%; position: relative; z-index: 1; }
.page-hero-crumbs { display: flex; align-items: center; gap: 0.6rem; color: var(--text-muted); font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1.5rem; }
.page-hero-crumbs a { color: var(--text-dim); transition: color .2s; }
.page-hero-crumbs a:hover { color: var(--pulse); }
.page-hero-crumbs .sep { color: var(--pulse); }
.page-hero h1 {
  font-size: var(--step-5);
  line-height: 0.88;
  letter-spacing: -0.015em;
  max-width: 18ch;
}
.page-hero h1 .accent { color: var(--pulse); }
.page-hero .page-lede {
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
  color: var(--text-dim);
  max-width: 60ch;
  line-height: 1.55;
  margin-top: 1.8rem;
}
.page-hero-pulse {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 50px;
  pointer-events: none;
  opacity: 0.7;
}
.page-hero-pulse svg { width: 100%; height: 100%; }
.page-hero-pulse path {
  fill: none;
  stroke: var(--pulse);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 6px var(--pulse-glow));
}

/* ============================================================
   8. SECTION HEAD
   ============================================================ */
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-head h2 {
  font-size: var(--step-5);
  line-height: 0.88;
}
.section-head h2 .accent { color: var(--pulse); }
.section-head .head-side { color: var(--text-dim); font-size: 1.05rem; line-height: 1.55; max-width: 50ch; padding-bottom: 0.5rem; }

/* ============================================================
   9. FOOTER (shared across all pages)
   ============================================================ */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: clamp(4rem, 7vw, 6rem) 0 2rem;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, var(--pulse-trace), transparent 60%);
  pointer-events: none;
  opacity: 0.6;
}
.footer-pulse {
  position: absolute;
  left: 0; right: 0;
  top: 0;
  height: 60px;
  pointer-events: none;
  opacity: 0.45;
}
.footer-pulse svg { width: 100%; height: 100%; }
.footer-pulse path {
  fill: none;
  stroke: var(--pulse);
  stroke-width: 1.2;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.foot-grid h5 { font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--pulse); margin-bottom: 1.4rem; font-weight: 700; }
.foot-col { display: flex; flex-direction: column; gap: 0.85rem; color: var(--text-dim); font-size: 0.92rem; line-height: 1.55; }
.foot-col a { color: var(--text-dim); transition: color .25s; }
.foot-col a:hover { color: var(--pulse); }
.foot-brand .logo { font-size: 2rem; }
.foot-brand p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.55; margin-top: 1rem; max-width: 38ch; }
.foot-socials { display: flex; gap: 0.5rem; margin-top: 1.5rem; }
.foot-socials a { width: 38px; height: 38px; border: 1px solid var(--border-strong); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: all .3s ease; }
.foot-socials a:hover { background: var(--pulse); color: #0a0a0b; border-color: var(--pulse); transform: translateY(-3px); }
.foot-socials i { width: 16px; height: 16px; }
.foot-bottom {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding-top: 2rem;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.foot-bottom .legal { display: flex; gap: 1.5rem; justify-self: center; }
.foot-bottom .legal a:hover { color: var(--pulse); }
.foot-bottom .copyright { letter-spacing: 0.02em; }
.foot-bottom .credit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: end;
  font-weight: 500;
}
.foot-bottom .credit a {
  color: var(--text);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 1px;
  transition: color .25s, border-color .25s;
  font-weight: 600;
}
.foot-bottom .credit a:hover { color: var(--pulse); border-bottom-color: var(--pulse); }
.foot-bottom .credit .pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--pulse);
  display: inline-block;
  box-shadow: 0 0 0 0 var(--pulse-glow);
  animation: credit-pulse 2.4s infinite;
}
@keyframes credit-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,26,.45); }
  70% { box-shadow: 0 0 0 8px rgba(255,107,26,0); }
}
@media (max-width: 720px) {
  .foot-bottom { grid-template-columns: 1fr; gap: 1rem; text-align: left; }
  .foot-bottom .legal { justify-self: start; }
  .foot-bottom .credit { justify-self: start; }
}
.malayalam-tag { font-size: 1rem; color: var(--text-dim); margin-top: 1.2rem; }
.malayalam-tag .ml { color: var(--pulse); font-weight: 700; }

/* ============================================================
   10. STICKY MOBILE CTA
   ============================================================ */
.sticky-cta {
  position: fixed;
  bottom: 1rem; left: 1rem; right: 1rem;
  z-index: 70;
  display: none;
  background: var(--pulse);
  color: #0a0a0b;
  padding: 0.95rem 1.25rem;
  border-radius: var(--r-full);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  box-shadow: var(--shadow-pulse);
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.sticky-cta i { width: 18px; height: 18px; }

/* ============================================================
   11. SHARED CARD STYLES
   ============================================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: all .4s var(--ease-out);
}
.card:hover { transform: translateY(-4px); border-color: var(--pulse); }

/* ============================================================
   12. FORMS
   ============================================================ */
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-muted); font-weight: 600; }
.field input, .field select, .field textarea {
  background: var(--bg-deep);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: border-color .25s, background .25s;
  font-family: var(--font-body);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--pulse); background: var(--surface-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ============================================================
   13. RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .burger { display: inline-flex; }
  .section-head { grid-template-columns: 1fr; gap: 1.5rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .nav { padding: 0.7rem 0; }
  .nav-cta .btn-primary { display: none; }  /* hide nav CTA on mobile; sticky bottom covers it */
  .logo { font-size: 1.3rem; }
  .logo small { font-size: 0.58rem; }
  .logo .logo-mark { width: 30px; height: 30px; flex-basis: 30px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .field-row { grid-template-columns: 1fr; }
  .sticky-cta { display: inline-flex; }
  body { padding-bottom: 4.5rem; }
  .page-hero h1 { font-size: clamp(2.4rem, 11vw, 4rem); max-width: 100%; }
  .page-hero .page-lede { font-size: 1rem; }
  .section-head h2 { font-size: clamp(2.2rem, 10vw, 4rem); }
  .container, .wide { padding-left: 1.25rem; padding-right: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .marquee-track { animation: none; }
}

/* ============================================================
   14. CUSTOM CURSOR (desktop only)
   ============================================================ */
.fitora-cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: normal;
  width: 1px; height: 1px;
}
.fitora-cursor .dot {
  position: absolute;
  top: -3px; left: -3px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pulse);
  box-shadow: 0 0 12px var(--pulse-glow);
  transition: transform .22s var(--ease-out);
}
.fitora-cursor .ring {
  position: absolute;
  top: -18px; left: -18px;
  width: 36px; height: 36px;
  border: 1px solid rgba(255,107,26,0.5);
  border-radius: 50%;
  transition: width .25s var(--ease-out), height .25s var(--ease-out), top .25s var(--ease-out), left .25s var(--ease-out), border-color .25s var(--ease-out);
}
.fitora-cursor.hover .dot { transform: scale(0.5); }
.fitora-cursor.hover .ring {
  width: 60px; height: 60px;
  top: -30px; left: -30px;
  border-color: rgba(255,107,26,1);
  background: rgba(255,107,26,0.08);
}
/* Hide native cursor on interactive elements when custom cursor is active */
@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
  body:has(.fitora-cursor) { cursor: none; }
  body:has(.fitora-cursor) a,
  body:has(.fitora-cursor) button,
  body:has(.fitora-cursor) .btn,
  body:has(.fitora-cursor) input,
  body:has(.fitora-cursor) select,
  body:has(.fitora-cursor) textarea,
  body:has(.fitora-cursor) [role="switch"] { cursor: none; }
}

/* ============================================================
   15. LIVE PULSE WIDGET (sticky top-right after hero scroll)
   ============================================================ */
.pulse-widget {
  position: fixed;
  top: 5rem; right: 1.5rem;
  z-index: 60;
  background: rgba(10,10,11,0.85);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  padding: 0.85rem 1rem 0.95rem;
  width: 240px;
  font-size: 0.78rem;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
  box-shadow: var(--shadow-md);
}
[data-theme="light"] .pulse-widget { background: rgba(255,255,255,0.92); }
.pulse-widget.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.pulse-widget .pw-row { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; }
.pulse-widget .pw-row + .pw-row { margin-top: 0.35rem; }
.pulse-widget .pw-time {
  font-family: var(--font-display);
  color: var(--text);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.pulse-widget .pw-loc {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.pulse-widget .pw-status {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.pulse-widget .pw-status::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--pulse);
  display: inline-block;
  box-shadow: 0 0 0 0 var(--pulse-glow);
  animation: pw-blip 1.8s infinite;
}
@keyframes pw-blip {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,26,.55); }
  70% { box-shadow: 0 0 0 8px rgba(255,107,26,0); }
}
.pulse-widget .pw-status[data-state="open"] { color: var(--pulse); }
.pulse-widget .pw-status[data-state="ladies"] { color: var(--pulse-soft); }
.pulse-widget .pw-status[data-state="closed"] { color: var(--text-muted); }
.pulse-widget .pw-status[data-state="closed"]::before { background: var(--text-muted); animation: none; }
.pulse-widget .pw-occ {
  margin-top: 0.75rem;
  padding-top: 0.7rem;
  border-top: 1px dashed var(--border-strong);
}
.pulse-widget .pw-occ .pw-occ-lbl { color: var(--text-muted); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; }
.pulse-widget .pw-occ .pw-occ-num { font-family: var(--font-display); color: var(--text); font-size: 1.4rem; line-height: 1; }
.pulse-widget .pw-occ .pw-occ-num::after { content: " / 80"; color: var(--text-muted); font-size: 0.7rem; letter-spacing: 0.05em; }
.pulse-widget .pw-occ-bar {
  margin-top: 0.5rem;
  height: 4px;
  background: var(--surface);
  border-radius: var(--r-full);
  overflow: hidden;
}
.pulse-widget .pw-occ-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--pulse-soft), var(--pulse));
  border-radius: var(--r-full);
  transition: width 1.2s var(--ease-out);
  width: 0;
}

/* Hide widget on small screens (mobile has its own bottom sticky CTA) */
@media (max-width: 900px) {
  .pulse-widget { display: none; }
}
