/* ============================================================
   MEMORA FITNESS — Shared Stylesheet
   Single source of truth for tokens, components, and pages.
   Mobile-first. No hardcoded hex — everything via :root vars.
   ============================================================ */

/* ── 1. RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── 2. DESIGN TOKENS (:root) ──────────────────────────────── */
:root {
  /* Brand palette (from the Memora Fitness logo) */
  --navy:            #031530;
  --blue:            #0158FB;  /* accent on WHITE backgrounds only (5.54:1) */
  --blue-deep:       #0141C0;  /* hover / gradient end for --blue (8.34:1)  */
  --cyan:            #00B6FC;  /* accent on NAVY backgrounds only (7.88:1)  */

  /* Two-tone heading accent — stays blue→deep-blue: cyan fails on white */
  --accent-grad: linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%);

  /* Closing-CTA section background — navy gradient (white 15.9:1+, cyan 6.9:1+) */
  --cta-grad: linear-gradient(180deg, #06214A 0%, #031530 100%);

  /* Ink / text (on white) */
  --text:            #031530;
  --text-muted:      #4A5A73;  /* 7.0:1 on white  */
  --text-faint:      #5F6F8A;  /* 5.1:1 on white  */

  /* Surfaces — two backgrounds only: white sections + navy sections */
  --bg-page:         #FFFFFF;
  --bg-white:        #FFFFFF;
  --border:          #D6E0F0;
  --border-soft:     #E4EBF7;

  /* Navy sections (footer, CTA, business hero) */
  --footer-bg:       #031530;
  --footer-bg-2:     #06214A;  /* lighter navy for gradient tops */
  --footer-text:     #B5C2D9;  /* 10.1:1 on navy */
  --footer-heading:  #8A9BB8;  /* 6.5:1 on navy  */
  --footer-divider:  rgba(255,255,255,.08);

  /* On dark */
  --on-dark:         #FFFFFF;
  --on-dark-muted:   rgba(255,255,255,.78);

  /* Radius */
  --r-pill:   999px;
  --r-card:   24px;
  --r-event:  22px;
  --r-img:    18px;
  --r-input:  14px;
  --r-icon:   12px;

  /* Shadows (navy-tinted) */
  --sh-card:   0 24px 60px rgba(3,21,48,.08);
  --sh-soft:   0 12px 30px rgba(3,21,48,.06);
  --sh-img:    0 18px 40px rgba(3,21,48,.16);
  --sh-btn:    0 10px 22px rgba(1,88,251,.35);
  --sh-stack:  6px 6px 0 rgba(0,0,0,.04);

  /* Type — TODO: confirm exact families from live site DevTools */
  --font-display: 'Quicksand', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Spacing scale (4px base) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  /* Layout */
  --container:  1240px; /* [VERIFY] */
  --gutter:     24px;
  --section-y:  clamp(64px, 9vw, 128px);

  /* Motion */
  --ease:      cubic-bezier(.22,.61,.36,1);
  --t-fast:    .18s;
  --t-base:    .3s;
  --t-drawer:  .24s;   /* mobile nav drawer, backdrop, hamburger X — one shared duration */
}

/* ── 3. LAYOUT UTILITIES ────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-pad {
  padding-block: var(--section-y);
}

/* ── 4. TYPOGRAPHY UTILITIES ────────────────────────────────── */
.eyebrow {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--s-3);
}

.h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -.01em;
}

/* Accent gradient text treatment — used on 2nd span of .h2 and hero rotating word */
.grad {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--blue); /* fallback */
}

/* ── 5. BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  transition: background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* Primary — blue fill, white text */
.btn--primary {
  background: var(--blue);
  color: var(--on-dark);
  box-shadow: var(--sh-btn), var(--sh-stack);
}
.btn--primary:hover {
  background: var(--blue-deep);
  box-shadow: var(--sh-btn);
  transform: translateY(-1px);
}
.btn--primary:active {
  transform: translateY(0);
}

/* Ticket variant — hero "Get Tickets" with concave notch on each side */
.btn--ticket {
  /* Sits on the NAVY hero: blue fill on navy is forbidden → cyan fill, navy text (7.88:1) */
  background: var(--cyan);
  color: var(--navy);
  padding: 16px 42px;
  font-size: 1rem;
  border-radius: var(--r-pill);
  /* Notch: circular bite from left & right centres */
  -webkit-mask-image:
    radial-gradient(circle at 100% 50%, transparent 10px, #000 11px),
    radial-gradient(circle at 0%   50%, transparent 10px, #000 11px);
  -webkit-mask-composite: source-in, source-over;
  mask-image:
    radial-gradient(circle at 100% 50%, transparent 10px, #000 11px),
    radial-gradient(circle at 0%   50%, transparent 10px, #000 11px);
  mask-composite: intersect, add;
  /* drop-shadow respects the mask outline */
  filter: drop-shadow(0 8px 20px rgba(0,182,252,.45));
}
.btn--ticket:hover {
  background: var(--on-dark);
  transform: translateY(-1px);
  filter: drop-shadow(0 12px 26px rgba(0,182,252,.55));
}
.btn--ticket:active { transform: translateY(0); }

/* White fill, blue text (currently unused) */
.btn--white {
  background: var(--bg-white);
  color: var(--blue-deep);
  box-shadow: var(--sh-stack);
}
.btn--white:hover {
  background: var(--bg-page);
  transform: translateY(-1px);
}
.btn--white:active { transform: translateY(0); }

/* Ghost outline — CTA "Get in Touch" */
.btn--ghost {
  background: rgba(255,255,255,.15);
  color: var(--on-dark);
  border-color: rgba(255,255,255,.5);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.25);
  transform: translateY(-1px);
}
.btn--ghost:active { transform: translateY(0); }

/* Text link style — muted slate with up-right arrow */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t-fast) var(--ease);
}
.text-link:hover {
  color: var(--navy);
}
.text-link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ── 6. HEADER ──────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  width: 100%;
  transition: background .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}

/* Scrolled state — solid white */
.header.is-scrolled {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 2px 20px rgba(3,21,48,.07);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Nav left */
.header__nav {
  display: none; /* mobile: hidden; shown on desktop */
  align-items: center;
  gap: var(--s-7);
}

.header__link {
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: var(--s-1);
  padding: 4px 8px;
  border-radius: 6px;
  position: relative;
  transition: color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.header__link:hover { color: var(--blue); }
.header__link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Accent dot beneath active nav link */
.header__link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

/* Logo lockup */
.header__logo-link {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  text-decoration: none;
}

/* PNG logo — two variants:
   --on-light : navy wordmark, shown on the solid white header (is-scrolled)
   --on-dark  : white/cyan wordmark, shown while the header is transparent over a navy hero */
.header__logo-png {
  width: 160px;
  height: auto;
  display: block;
}
.header__logo-png--on-dark { display: none; }
.header:not(.is-scrolled) .header__logo-png--on-light { display: none; }
.header:not(.is-scrolled) .header__logo-png--on-dark  { display: block; }

/* PNG logo in footer brand column */
.footer__logo-png {
  width: 140px;
  height: auto;
  display: block;
}

/* Header right: CTA + hamburger */
.header__right {
  display: flex;
  align-items: center;
  gap: var(--s-4);
}

.header__cta {
  display: none; /* mobile: hidden; shown on desktop */
  padding: 10px 20px;
  font-size: .875rem;
  transition: background var(--t-base) var(--ease), border-color var(--t-base) var(--ease),
              color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}

/* Hamburger — mobile only */
.header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.header__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--t-drawer) var(--ease),
              opacity var(--t-drawer) var(--ease),
              background var(--t-base) var(--ease);
}
/* Bars → X while the drawer is open. State hook is the aria attribute the JS
   already toggles. Bars are 2px in an 18px box (centres at 1/9/17px), so an
   8px shift brings the outer bars onto the middle line. */
.header__hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.header__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* FIX 7 — Mobile drawer: compact panel (auto-height), not full-screen.
   Always laid out (display:flex) so it can animate; inert when closed via
   visibility + pointer-events. Slides 12px down from under the header and
   fades in over --t-drawer; visibility flips to hidden only after the
   fade-out completes. */
.header__mobile-nav {
  display: flex;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  height: auto;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  background: var(--bg-white);
  z-index: 99;
  padding: var(--s-6) var(--gutter);
  flex-direction: column;
  gap: var(--s-5);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  box-shadow: 0 12px 32px rgba(3,21,48,.12);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity var(--t-drawer) var(--ease),
              transform var(--t-drawer) var(--ease),
              visibility 0s linear var(--t-drawer);
}
.header__mobile-nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition: opacity var(--t-drawer) var(--ease),
              transform var(--t-drawer) var(--ease),
              visibility 0s;
}

/* Drawer items: fade + 6px slide, staggered 40ms apart on open only.
   Closed state has no delay so they leave with the panel as one block. */
.header__mobile-nav > * {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  transition-delay: 0s;
}
.header__mobile-nav.is-open > * { opacity: 1; transform: none; }
.header__mobile-nav.is-open > :nth-child(1) { transition-delay: 40ms; }
.header__mobile-nav.is-open > :nth-child(2) { transition-delay: 80ms; }
.header__mobile-nav.is-open > :nth-child(3) { transition-delay: 120ms; }
.header__mobile-nav.is-open > :nth-child(4) { transition-delay: 160ms; }

/* Backdrop — dims the page below the header strip while the drawer is open;
   tapping it closes the drawer. Sits under the drawer (98 < 99). */
.header__backdrop {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3,21,48,.55);
  z-index: 98;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-drawer) var(--ease),
              visibility 0s linear var(--t-drawer);
}
.header__backdrop.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity var(--t-drawer) var(--ease), visibility 0s;
}

/* Reduced motion: drawer + backdrop appear/disappear instantly, links arrive
   as a block, bars snap to the X (state change kept, animation removed). */
@media (prefers-reduced-motion: reduce) {
  /* The .is-open compounds must be listed too: they re-declare `transition`
     at (0,2,0) and would otherwise beat this block once the class is on. */
  .header__mobile-nav,
  .header__mobile-nav.is-open,
  .header__mobile-nav > *,
  .header__mobile-nav.is-open > *,
  .header__backdrop,
  .header__backdrop.is-open,
  .header__hamburger span { transition: none; }
}

/* Desktop overrides */
@media (min-width: 901px) {
  .header__nav { display: flex; }
  .header__cta { display: inline-flex; }
  .header__hamburger { display: none; }
  .header__mobile-nav, .header__backdrop { display: none; } /* drawer + backdrop are mobile/tablet only */
  /* True-centre the logo on desktop: equal flexible side columns so the
     nav (left) and CTA (right) widths can no longer push the logo off
     centre. Tablet/mobile keep the flex space-between row (logo left,
     hamburger right) — intentional. */
  .header__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .header__nav   { justify-self: start; }
  .header__right { justify-self: end; }
}

/* ── Transparent (top-of-page, dark hero) state ─────────────── */
.header:not(.is-scrolled) .header__link              { color: rgba(255,255,255,.88); }
.header:not(.is-scrolled) .header__link:hover        { color: #fff; background: rgba(255,255,255,.1); }
.header:not(.is-scrolled) .header__link--active::after { background: rgba(255,255,255,.75); }
.header:not(.is-scrolled) .header__hamburger span    { background: #fff; }
.header:not(.is-scrolled) .header__cta {
  background: transparent;
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  box-shadow: none;
}
.header:not(.is-scrolled) .header__cta:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  .header { transition: none; }
  .header__link, .header__cta, .header__hamburger span { transition: none; }
}

/* FIX 1 — Force dark ink inside mobile drawer regardless of transparent-header state.
   Specificity (.header .header__mobile-nav .*) = (0,3,0) beats the transparent rule (0,3,0)
   by cascade order (placed after). */
.header .header__mobile-nav .header__link {
  color: var(--navy);
}
.header .header__mobile-nav .header__link:hover {
  color: var(--blue);
  background: none;
}

/* FIX 2 — Suppress active-dot pseudo-element inside the mobile drawer */
.header .header__mobile-nav .header__link--active::after {
  display: none;
}

/* ── 7. HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  /* NAVY section. Vertical gradient so the bottom edge is flat navy and the
     mobile carousel (also navy) continues it seamlessly. */
  background: linear-gradient(180deg, var(--footer-bg-2) 0%, var(--navy) 100%);
  overflow: hidden;
  /* Option A: single min-height (was duplicated on .hero__container) */
  min-height: clamp(560px, 76vh, 720px);
  display: flex;
  align-items: center;
}

/* Subtle radial glow behind center content */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 45%, rgba(0,182,252,.10) 0%, transparent 70%),
    radial-gradient(ellipse 40% 35% at 30% 60%, rgba(0,182,252,.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero__container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  /* Option A: centre beneath the 72px fixed header (72 + 64 top, 64 bottom) */
  padding-top: calc(72px + var(--s-8));
  padding-bottom: var(--s-8);
}

.hero__content {
  text-align: center;
  max-width: 760px;
  position: relative;
  z-index: 3;
}

/* Eyebrow — cyan on navy */
.hero__content .eyebrow {
  margin-bottom: var(--s-4);
  color: var(--cyan);
}

/* H1 */
.hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  font-weight: 600;
  color: var(--on-dark);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: var(--s-5);
  display: block;
}
/* Gradient word on NAVY: blue→deep-blue fails on navy (3.28:1) → solid cyan (7.88:1) */
.hero .grad { background: none; -webkit-text-fill-color: var(--cyan); color: var(--cyan); }

/* Subtitle */
.hero__sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--on-dark-muted);
  line-height: 1.7;
  margin-bottom: var(--s-5);
  max-width: 580px;
  margin-inline: auto;
}

/* Countdown line — plain centered text, no pill. NAVY hero: white/muted label, cyan time. */
.hero__countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 500;
  margin-bottom: var(--s-6);
}
.hero__countdown-label {
  color: var(--on-dark-muted);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .72rem;
}
.hero__countdown-sep {
  color: rgba(255,255,255,.25);
  font-weight: 300;
}
.hero__countdown-time {
  color: var(--cyan);
  font-weight: 700;
}

/* Action buttons row */
.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-5);
  flex-wrap: wrap;
}

.hero__text-link {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  color: var(--on-dark);
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  border-bottom: 1.5px solid rgba(255,255,255,.35);
  padding-bottom: 2px;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.hero__text-link:hover { color: var(--cyan); border-color: var(--cyan); }
.hero__text-link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Stats row inside hero — same items/dividers as .stats-bar but no white card */
.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-6);
  flex-wrap: wrap;
  margin-top: var(--s-7);
}
.hero__stats .stats-bar__div {
  height: 36px;
}
@media (max-width: 600px) {
  .hero { align-items: flex-start; min-height: auto; }
  .hero__container { padding-top: 72px; padding-bottom: var(--s-6); min-height: auto; }
  .hero__stats .stats-bar__div { display: none; }
  .hero__stats { gap: var(--s-7); margin-top: var(--s-6); }
}

/* ── Floating hero tiles (6 tiles matching OG layout) ───────── */
/* TODO: add real photo assets to assets/img/ — see tile comments */

/* Float keyframe — rotation baked in via --rot so tilt is never lost */
@keyframes tile-float {
  0%, 100% { transform: rotate(var(--rot, 0deg)) translateY(0); }
  50%       { transform: rotate(var(--rot, 0deg)) translateY(-12px); }
}

.hero__tile {
  position: absolute;
  border-radius: var(--r-img);
  box-shadow: var(--sh-img);
  overflow: hidden;
  background: var(--border); /* placeholder */
  z-index: 1;
  background-size: cover;
  background-position: center;
  animation: tile-float var(--float-dur, 6s) ease-in-out var(--float-delay, 0s) infinite;
}

/* LEFT — tile 1 (top-left) */
.hero__tile--1 {
  width: clamp(90px, 10vw, 140px);
  height: clamp(130px, 15vw, 200px);
  left: clamp(8px, 3vw, 32px);
  top: 12%;
  --rot: -4deg;
  transform: rotate(-4deg);
  --float-dur: 5s;
  --float-delay: 0s;
  background-image: url(../images/home-07-planetarium-dome.jpg);
}
/* LEFT — tile 2 (mid-left) */
.hero__tile--2 {
  width: clamp(75px, 8.5vw, 115px);
  height: clamp(100px, 12vw, 160px);
  left: clamp(70px, 10vw, 155px);
  top: 38%;
  --rot: 3deg;
  transform: rotate(3deg);
  --float-dur: 6.5s;
  --float-delay: -1.8s;
  background-image: url(../images/home-01-planetarium-dusk.jpg);
}
/* LEFT — tile 3 (bottom-left) */
.hero__tile--3 {
  width: clamp(70px, 8vw, 108px);
  height: clamp(90px, 11vw, 148px);
  left: clamp(8px, 2.5vw, 28px);
  bottom: 12%;
  --rot: 5deg;
  transform: rotate(5deg);
  --float-dur: 5.8s;
  --float-delay: -3.2s;
  background-image: url(../images/planetarium-lobby.jpg);
}
/* RIGHT — tile 4 (top-right) */
.hero__tile--4 {
  width: clamp(90px, 10vw, 140px);
  height: clamp(130px, 15vw, 200px);
  right: clamp(8px, 3vw, 32px);
  top: 14%;
  --rot: 4deg;
  transform: rotate(4deg);
  --float-dur: 7s;
  --float-delay: -0.6s;
  background-image: url(../images/yacth4.jpg);
}
/* RIGHT — tile 5: boat-party deck (mid-right) */
.hero__tile--5 {
  width: clamp(75px, 8.5vw, 115px);
  height: clamp(100px, 12vw, 155px);
  right: clamp(70px, 10vw, 150px);
  top: 42%;
  --rot: -3.5deg;
  transform: rotate(-3.5deg);
  --float-dur: 5.5s;
  --float-delay: -2.4s;
  background-image: url('../images/memora boat party.webp');
}
/* RIGHT — tile 6 (bottom-right) */
.hero__tile--6 {
  width: clamp(70px, 8vw, 108px);
  height: clamp(90px, 11vw, 148px);
  right: clamp(8px, 2.5vw, 28px);
  bottom: 12%;
  --rot: -5deg;
  transform: rotate(-5deg);
  --float-dur: 6.2s;
  --float-delay: -1.1s;
  background-image: url(../images/home-05-planetarium-performances.jpg);
}

/* FIX 4 — Hide all hero tiles on mobile (video/bg-image will replace later) */
@media (max-width: 600px) {
  .hero__tile { display: none; }
}

/* Respect reduced-motion preference — static tiles, no float */
@media (prefers-reduced-motion: reduce) {
  .hero__tile { animation: none; }
}

/* ── Placeholder / coming-soon section (stub pages) ─────────── */
.coming-soon-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding-block: var(--section-y);
}
.coming-soon-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-5);
}
.coming-soon-section .hero__sub { max-width: 480px; }

/* ── 8. STATS BAR (light) ───────────────────────────────────── */
.stats-bar {
  background: var(--bg-white);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding-block: var(--s-7);
}

.stats-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-6);
  flex-wrap: wrap;
}

.stats-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-1);
}

.stats-bar__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1;
}

.stats-bar__cap {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.stats-bar__div {
  width: 1px;
  height: 44px;
  background: var(--border);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .stats-bar__div { display: none; }
  .stats-bar__inner { gap: var(--s-7); }
}

/* ── 9. UPCOMING EVENT SECTION ──────────────────────────────── */
/* WHITE section: navy text, blue accents. The card itself is a dark image
   surface, so text inside it is white and its focus ring is cyan. */
.events-section {
  padding-block: var(--section-y);
  background: var(--bg-page);
}

.events-section__head {
  text-align: center;
  max-width: 660px;
  margin-inline: auto;
  margin-bottom: clamp(var(--s-8), 6vw, 72px);
}

/* Single card — constrained and centred (no multi-column breakpoint) */
.event-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  max-width: 960px;
  margin-inline: auto;
}

.event-card {
  position: relative;
  border-radius: var(--r-event);
  overflow: hidden;
  min-height: clamp(300px, 32vw, 400px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--navy);
}

.event-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
/* Photo lives in CSS (not a style attribute) so a strict CSP style-src holds */
.event-card__bg--fitness-class {
  background-image: url(../images/home-02-fitness-class.jpg);
}

.event-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3,21,48,.88) 0%, rgba(3,21,48,.45) 60%, transparent 100%);
}

.event-card__inner {
  position: relative;
  z-index: 2;
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

/* Badge — navy pill with white text so it passes 4.5:1 regardless of the photo behind it.
   Mirrors .cta-section__badge (pill radius, 1px white-alpha border), scaled to .7rem type. */
.event-card__badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-dark);
  background: var(--navy);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--r-pill);
  padding: 5px 12px;
  line-height: 1.2;
}

.event-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 600;
  color: var(--on-dark);
  line-height: 1.1;
}

.event-card__desc {
  font-family: var(--font-body);
  font-size: .875rem;
  color: var(--on-dark-muted);
  line-height: 1.5;
}

/* Card button — .btn base, sized like .header__cta (10px 20px / .875rem).
   Sits on the 88% navy overlay, so it follows the hero's .btn--ticket
   convention: CYAN fill + NAVY text (7.88:1); blue fill on navy is forbidden.
   Hover mirrors .btn--ticket: white fill, navy text, 1px lift, cyan glow. */
.event-card__link {
  align-self: flex-start;
  margin-top: var(--s-2);
  padding: 10px 20px;
  font-size: .875rem;
  background: var(--cyan);
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(0,182,252,.35);
}
.event-card__link:hover {
  background: var(--on-dark);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0,182,252,.5);
}
.event-card__link:active { transform: translateY(0); }
.event-card__link:focus-visible {
  outline: 2px solid var(--cyan); /* dark card surface → cyan, not blue */
  outline-offset: 3px;
}

/* Whole card is clickable (assets/js/event-card.js forwards clicks to the
   button; no tabindex/role on the card, so the button stays the only stop).
   Hover/focus-within: subtle lift + deeper shadow + 3% image zoom. */
/* Scoped to .events-section (0,2,0+) because the card also carries
   [data-animate]; the scroll-reveal rules in §14 set transform/transition at
   (0,2,0)/(0,1,0) later in the file and would otherwise cancel the lift. */
.events-section .event-card {
  cursor: pointer;
  box-shadow: var(--sh-soft);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), opacity .55s var(--ease);
}
.event-card__bg {
  transition: transform .5s var(--ease);
}
@media (hover: hover) {
  .events-section .event-card:hover,
  .events-section .event-card:focus-within {
    transform: translateY(-3px);
    box-shadow: var(--sh-img);
  }
  .events-section .event-card:hover .event-card__bg,
  .events-section .event-card:focus-within .event-card__bg {
    transform: scale(1.03);
  }
  /* hovering anywhere on the card also lights the button */
  .events-section .event-card:hover .event-card__link {
    background: var(--on-dark);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(0,182,252,.5);
  }
}
@media (prefers-reduced-motion: reduce) {
  .events-section .event-card, .event-card__bg, .event-card__link { transition: none; }
  .events-section .event-card:hover, .events-section .event-card:focus-within { transform: none; }
  .events-section .event-card:hover .event-card__bg, .events-section .event-card:focus-within .event-card__bg { transform: none; }
}

/* ── 10. SHARED FORM COMPONENTS (used by business.html + contact.html;
   the homepage Work With Us section that once hosted them was replaced by
   the Tickets section — see assets/css/tickets.css) ───────────────── */

/* Form card */
.form-card {
  background: var(--bg-white);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  padding: clamp(var(--s-6), 4vw, 56px);
  max-width: 740px;
  margin-inline: auto;
  border: 1px solid var(--border-soft);
}

/* Toggle */
.form-toggle {
  display: inline-flex;
  background: var(--bg-page);
  border-radius: var(--r-pill);
  padding: 5px;
  margin-bottom: var(--s-7);
  border: 1px solid var(--border);
  gap: 4px;
}

.form-toggle__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 10px 22px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  transition: background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
  white-space: nowrap;
}
.form-toggle__btn svg {
  width: 17px; height: 17px; flex-shrink: 0;
  transition: color var(--t-fast) var(--ease);
}
.form-toggle__btn--active {
  background: var(--bg-white);
  color: var(--navy);
  box-shadow: var(--sh-soft);
}
.form-toggle__btn--active svg { color: var(--blue); }
.form-toggle__btn:not(.form-toggle__btn--active):hover {
  color: var(--text);
}
/* FIX 3 — Mobile: form toggle fits the card width (no horizontal overflow) */
@media (max-width: 600px) {
  .form-card { overflow-x: hidden; }
  .form-toggle {
    display: flex;
    width: 100%;
  }
  .form-toggle__btn {
    flex: 1;
    justify-content: center;
    padding: 10px 8px;
    white-space: normal;
    text-align: center;
  }
}

.form-toggle__btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Form grid */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  margin-bottom: var(--s-5);
}

@media (min-width: 601px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form-field--full { grid-column: 1 / -1; }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}

.form-field label {
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 500;
  color: var(--text);
}

.form-field .req {
  color: var(--blue);
  margin-left: 2px;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-input);
  padding: 12px 16px;
  width: 100%;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-faint);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(1,88,251,.15);
}
.form-field input.is-error,
.form-field select.is-error,
.form-field textarea.is-error {
  border-color: #d94f4f;
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' viewBox='0 0 12 8'%3E%3Cpath stroke='%235F6F8A' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.form-field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-error-msg {
  font-size: .8rem;
  color: #d94f4f;
  margin-top: 2px;
  display: none;
}
.form-field.is-error .form-error-msg { display: block; }

/* Submit button row */
.form-submit-row {
  margin-top: var(--s-6);
  display: flex;
  align-items: center;
  gap: var(--s-5);
  flex-wrap: wrap;
}
.form-submit-row .btn {
  padding: 16px 36px;
  font-size: 1rem;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .form-submit-row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-3);
  }
}

/* Privacy line — sits to the right of the submit button in .form-submit-row */
.form-card-privacy {
  margin: 0;
  font-family: var(--font-body);
  font-size: .8rem;
  color: var(--text-faint);
}
.form-card-privacy a {
  color: var(--blue);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast);
}
.form-card-privacy a:hover { border-color: var(--blue); }

/* Honeypot — off-screen, invisible to real users */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Inline form feedback (success / error) */
.form-feedback {
  margin-top: var(--s-5);
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-input);
  font-family: var(--font-body);
  font-size: .9rem;
  line-height: 1.55;
}
.form-feedback--success {
  background: #f0f7f1;
  border: 1.5px solid #6ab87c;
  color: #1e4a2e;
}
.form-feedback--error {
  background: #fdf2f2;
  border: 1.5px solid #d97070;
  color: #7a2020;
}
.form-feedback a { color: inherit; font-weight: 500; text-decoration: underline; }

/* ── 11. (About section moved to assets/css/about.css) ─────────── */

/* ── 12. CTA SECTION (closing — injected by components.js) ──── */
.cta-section {
  position: relative;
  background: var(--cta-grad);
  overflow: hidden;
  padding-block: var(--section-y);
  text-align: center;
}

/* Dotted texture overlay */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

/* Decorative radial light */
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(255,255,255,.12) 0%, transparent 65%);
  pointer-events: none;
}

.cta-section__inner {
  position: relative;
  z-index: 2;
}

.cta-section__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--r-pill);
  padding: 6px 18px;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  color: var(--on-dark);
  letter-spacing: .08em;
  margin-bottom: var(--s-5);
}

.cta-section__h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--on-dark);
  line-height: 1.1;
  margin-bottom: var(--s-5);
  letter-spacing: -.02em;
}

.cta-section__h2-line2 {
  display: block;
  position: relative;
  padding-bottom: 18px;
}

/* Hand-drawn cream underline beneath "Unforgettable Memory" */
.cta-section__underline {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(200px, 50%, 440px);
  height: 16px;
  overflow: visible;
}

.cta-section__sub {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--on-dark-muted);
  line-height: 1.7;
  margin-bottom: var(--s-7);
  max-width: 520px;
  margin-inline: auto;
}

.cta-section__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  flex-wrap: wrap;
  margin-bottom: var(--s-8);
}

/* Stats row on caramel */
.cta-section__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-6);
  flex-wrap: wrap;
}

.cta-section__stat {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--on-dark);
}

.cta-section__stat-div {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,.25);
  flex-shrink: 0;
}

/* Overlapping avatar circles */
.cta-section__avatars {
  display: flex;
  align-items: center;
}
.cta-section__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--border);
  border: 2.5px solid rgba(255,255,255,.5);
  display: block;
  flex-shrink: 0;
}
.cta-section__avatar + .cta-section__avatar { margin-left: -10px; }

/* Rating stars — #FFD66E left as-is pending decision (rating stars, not decorative) */
.cta-section__stars {
  color: #FFD66E;
  letter-spacing: 1px;
  font-size: .95rem;
}

@media (max-width: 600px) {
  .cta-section__stat-div { display: none; }
  .cta-section__stats { flex-direction: column; gap: var(--s-4); }
}

/* ── 13. FOOTER ─────────────────────────────────────────────── */
.footer {
  background: linear-gradient(180deg, var(--footer-bg-2) 0%, var(--footer-bg) 100%);
  border-top: 1px solid var(--footer-divider); /* navy → navy divider (after closing CTA) */
  position: relative;
  overflow: hidden;
}

/* Dotted texture */
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.footer__inner {
  position: relative;
  z-index: 2;
  padding-top: var(--s-10);
  padding-bottom: var(--s-6);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  margin-bottom: var(--s-8);
}

@media (min-width: 601px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  /* Brand spans the full first row so COMPANY + GET IN TOUCH pair up on row two */
  .footer__col--brand { grid-column: 1 / -1; }
}

@media (min-width: 901px) {
  .footer__grid { grid-template-columns: 1.6fr 1fr 1.4fr; gap: var(--s-7); }
  .footer__col--brand { grid-column: auto; }
}

.footer__col--brand { }

.footer__blurb {
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--footer-text);
  line-height: 1.7;
  margin-top: var(--s-4);
  margin-bottom: var(--s-5);
  max-width: 280px;
}

.footer__instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-icon);
  background: rgba(255,255,255,.07);
  border: 1px solid var(--footer-divider);
  color: var(--footer-text);
  transition: background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}
.footer__instagram:hover {
  background: var(--cyan);
  color: var(--navy); /* white on cyan fails (2.2:1) */
  transform: translateY(-2px);
}
.footer__instagram:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
.footer__instagram svg { width: 18px; height: 18px; }

.footer__heading {
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--footer-heading);
  margin-bottom: var(--s-5);
}

.footer__links li + li { margin-top: var(--s-3); }
.footer__links a {
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--footer-text);
  transition: color var(--t-fast) var(--ease);
  display: inline-block;
}
.footer__links a:hover { color: var(--on-dark); }
.footer__links a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

.footer__contact { }
.footer__contact li {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}

.footer__icon-sq {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-icon);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--footer-divider);
  flex-shrink: 0;
  color: var(--cyan);
}
.footer__icon-sq svg { width: 15px; height: 15px; }

.footer__contact a,
.footer__contact span {
  font-family: var(--font-body);
  font-size: .88rem;
  color: var(--footer-text);
  transition: color var(--t-fast) var(--ease);
}
.footer__contact a:hover { color: var(--on-dark); }
.footer__contact a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

.footer__divider {
  height: 1px;
  background: var(--footer-divider);
  margin-bottom: var(--s-6);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-3);
}
.footer__bottom p {
  font-family: var(--font-body);
  font-size: .82rem;
  color: var(--footer-heading);
}

/* ── 14. SCROLL ANIMATION HOOK ──────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
[data-animate].animate-in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-animate],
  [data-animate].animate-in { opacity: 1; transform: none; transition: none; }
}
/* Puppeteer screenshot helper: mark all animatable elements visible */
.screenshot-reveal [data-animate] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ── 15. ACCESSIBILITY ──────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── 16. BACK LINK (shared: business.html, contact.html) ──── */
.back-link-section {
  text-align: center;
  padding-block: var(--s-7);
  background: var(--bg-page);
  border-top: 1px solid var(--border-soft); /* white → white divider */
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t-fast) var(--ease);
}
.back-link:hover { color: var(--blue); }
.back-link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── 18. BUSINESS PAGE ──────────────────────────────────────── */

/* Hero */
.biz-hero {
  position: relative;
  min-height: clamp(600px, 92vh, 880px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy); /* section-level fallback; gradient layer sits on .biz-hero__bg */
}
.biz-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--footer-bg-2) 0%, var(--navy) 100%);
}
.biz-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 50% 28%, rgba(0,182,252,.13) 0%, transparent 65%),
    radial-gradient(ellipse 30% 40% at 82% 65%, rgba(0,182,252,.07) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}
.biz-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,12,26,.55) 0%, transparent 70%);
  z-index: 1;
}
.biz-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(100px, 16vh, 148px) var(--gutter) clamp(64px, 10vh, 96px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-5);
}
.biz-hero .eyebrow { color: var(--cyan); margin-bottom: 0; }
/* Gradient word on the NAVY hero: blue→deep-blue fails on navy (3.28:1), so use solid cyan (7.88:1) */
.biz-hero .grad { background: none; -webkit-text-fill-color: var(--cyan); color: var(--cyan); }
/* Primary button on the NAVY hero: blue fill on navy is forbidden → cyan fill, navy text; white on hover */
.biz-hero .btn--primary { background: var(--cyan); color: var(--navy); box-shadow: 0 10px 22px rgba(0,182,252,.35); }
.biz-hero .btn--primary:hover { background: var(--on-dark); color: var(--navy); }
.biz-hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.025em;
  color: var(--on-dark);
  margin: 0;
}
.biz-hero__h1 .grad { display: block; }
.biz-hero__sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  color: var(--on-dark-muted);
  line-height: 1.7;
  max-width: 680px;
  margin: 0;
}
.biz-hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-5);
  flex-wrap: wrap;
  margin-top: var(--s-3);
}
.biz-hero__stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.biz-hero__stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--on-dark);
  line-height: 1;
}
.biz-hero__stat-cap {
  font-family: var(--font-body);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
}
.biz-hero__stat-div { width: 1px; height: 38px; background: rgba(255,255,255,.14); flex-shrink: 0; }
@media (max-width: 600px) {
  .biz-hero__stat-div { display: none; }
  .biz-hero__stats { gap: var(--s-7); }
}

/* Why Memora Fitness */
.why-section { padding-block: var(--section-y); background: var(--bg-page); }
.why-section__head {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: clamp(var(--s-8), 6vw, 72px);
}
.why-section__sub { font-family: var(--font-body); font-size: 1.05rem; color: var(--text-muted); line-height: 1.7; margin-top: var(--s-4); }
.why-cards { display: grid; grid-template-columns: 1fr; gap: var(--s-5); margin-bottom: clamp(var(--s-9), 7vw, 88px); }
@media (min-width: 601px)  { .why-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 901px)  { .why-cards { grid-template-columns: repeat(4, 1fr); } }
.why-card {
  background: var(--bg-white);
  border-radius: var(--r-card);
  border: 1px solid var(--border-soft);
  box-shadow: var(--sh-soft);
  padding: clamp(var(--s-6), 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.why-card__icon-sq {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(1,88,251,.1); border: 1px solid rgba(1,88,251,.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); flex-shrink: 0; margin-bottom: var(--s-1);
}
.why-card__icon-sq svg { width: 20px; height: 20px; }
.why-card__title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--navy); line-height: 1.2; }
.why-card__desc { font-family: var(--font-body); font-size: .92rem; color: var(--text-muted); line-height: 1.65; }

/* Logo strip */
.logo-strip { text-align: center; }
.logo-strip__caption { font-family: var(--font-display); font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--text-faint); margin-bottom: var(--s-6); }
.logo-strip__row { display: flex; align-items: center; justify-content: center; gap: var(--s-4); flex-wrap: wrap; }
.logo-strip__placeholder { width: 110px; height: 46px; border-radius: 10px; background: var(--border); }

/* Partnership Options */
.options-section { padding-block: var(--section-y); background: var(--bg-page); border-top: 1px solid var(--border-soft); }
.options-section__head { text-align: center; max-width: 680px; margin-inline: auto; margin-bottom: clamp(var(--s-8), 6vw, 72px); }
.options-section__sub { font-family: var(--font-body); font-size: 1.05rem; color: var(--text-muted); line-height: 1.7; margin-top: var(--s-4); }
.options-cards { display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
@media (min-width: 601px) { .options-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 901px) { .options-cards { grid-template-columns: repeat(3, 1fr); } }
.option-card {
  background: var(--bg-white); border-radius: var(--r-card);
  border: 1px solid var(--border-soft); box-shadow: var(--sh-soft);
  padding: clamp(var(--s-6), 3vw, 36px); display: flex; flex-direction: column; gap: var(--s-4);
}
.option-card__icon-sq {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(1,88,251,.1); border: 1px solid rgba(1,88,251,.18);
  display: flex; align-items: center; justify-content: center; color: var(--blue); flex-shrink: 0;
}
.option-card__icon-sq svg { width: 20px; height: 20px; }
.option-card__title { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; color: var(--navy); line-height: 1.2; }
.option-card__desc { font-family: var(--font-body); font-size: .92rem; color: var(--text-muted); line-height: 1.65; }
.option-card__checks { display: flex; flex-direction: column; gap: var(--s-2); margin-top: auto; padding-top: var(--s-3); border-top: 1px solid var(--border-soft); }
.option-card__check { display: flex; align-items: flex-start; gap: var(--s-2); font-family: var(--font-body); font-size: .88rem; color: var(--text); line-height: 1.5; }
.option-card__check svg { color: var(--blue); flex-shrink: 0; margin-top: 1px; width: 15px; height: 15px; }

/* Get Started */
.get-started-section { padding-block: var(--section-y); background: var(--bg-page); border-top: 1px solid var(--border-soft); }
.get-started-section__head { text-align: center; max-width: 680px; margin-inline: auto; margin-bottom: clamp(var(--s-8), 6vw, 72px); }
.get-started-section__sub { font-family: var(--font-body); font-size: 1.05rem; color: var(--text-muted); line-height: 1.7; margin-top: var(--s-4); }
.get-started-layout { display: grid; grid-template-columns: 1fr; gap: var(--s-6); align-items: start; }
@media (min-width: 901px) { .get-started-layout { grid-template-columns: 300px 1fr; gap: var(--s-7); } }
.gs-sidebar { display: flex; flex-direction: column; gap: var(--s-5); }
.gs-card { background: var(--bg-white); border-radius: var(--r-card); border: 1px solid var(--border-soft); box-shadow: var(--sh-soft); padding: var(--s-6); }
.gs-card__title { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: var(--s-5); }
.gs-card__list { display: flex; flex-direction: column; gap: var(--s-3); }
.gs-card__list-item { display: flex; align-items: flex-start; gap: var(--s-3); font-family: var(--font-body); font-size: .92rem; color: var(--text-muted); line-height: 1.5; }
.gs-card__list-emoji { flex-shrink: 0; font-size: 1rem; line-height: 1.5; }
.gs-talk__item { display: flex; align-items: center; gap: var(--s-3); font-family: var(--font-body); font-size: .92rem; margin-bottom: var(--s-4); }
.gs-talk__item:last-child { margin-bottom: 0; }
.gs-talk__item svg { color: var(--blue); flex-shrink: 0; }
.gs-talk__item a { color: var(--text-muted); transition: color var(--t-fast) var(--ease); }
.gs-talk__item a:hover { color: var(--blue); }
.biz-form-card { background: var(--bg-white); border-radius: var(--r-card); box-shadow: var(--sh-card); padding: clamp(var(--s-6), 4vw, 52px); border: 1px solid var(--border-soft); }
.biz-form__intro { font-family: var(--font-body); font-size: .95rem; color: var(--text-muted); line-height: 1.65; margin-bottom: var(--s-6); margin-top: calc(-1 * var(--s-3)); }
.biz-form-submit .btn { width: 100%; justify-content: center; }
.biz-form-privacy { text-align: center; margin-top: var(--s-4); }

/* Partner Stories */
.stories-section { padding-block: var(--section-y); background: var(--bg-white); border-top: 1px solid var(--border-soft); }
.stories-section__head { text-align: center; max-width: 560px; margin-inline: auto; margin-bottom: clamp(var(--s-8), 6vw, 72px); }
.testimonial-cards { display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
@media (min-width: 601px) { .testimonial-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 901px) { .testimonial-cards { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card { background: var(--bg-page); border-radius: var(--r-card); border: 1px solid var(--border-soft); padding: clamp(var(--s-6), 3vw, 36px); display: flex; flex-direction: column; gap: var(--s-4); }
.testimonial-card__quote-mark { color: var(--blue); opacity: .4; }
.testimonial-card__quote-mark svg { width: 28px; height: 28px; }
.testimonial-card__text { font-family: var(--font-body); font-size: .95rem; font-style: italic; color: var(--text); line-height: 1.75; flex: 1; }
.testimonial-card__author { display: flex; align-items: center; gap: var(--s-3); margin-top: auto; }
.testimonial-card__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--on-dark); flex-shrink: 0; }
.testimonial-card__name { font-family: var(--font-display); font-size: .92rem; font-weight: 600; color: var(--navy); line-height: 1.2; }
.testimonial-card__role { font-family: var(--font-body); font-size: .82rem; color: var(--text-muted); line-height: 1.3; margin-top: 2px; }

/* Business FAQ */
.biz-faq { padding-block: var(--section-y); background: var(--bg-page); border-top: 1px solid var(--border-soft); }
.biz-faq__head { text-align: center; max-width: 580px; margin-inline: auto; margin-bottom: var(--s-8); }
.biz-faq__sub { font-family: var(--font-body); font-size: 1.05rem; color: var(--text-muted); margin-top: var(--s-4); }
.biz-faq__card { background: var(--bg-white); border-radius: var(--r-card); border: 1px solid var(--border); box-shadow: var(--sh-soft); max-width: 760px; margin-inline: auto; overflow: hidden; }
.biz-faq__item + .biz-faq__item { border-top: 1px solid var(--border-soft); }
.biz-faq__trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: var(--s-5) var(--s-6); text-align: left; background: none; border: none; cursor: pointer; gap: var(--s-4); font: inherit; }
.biz-faq__trigger:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.biz-faq__question { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--navy); line-height: 1.4; }
.biz-faq__chevron { width: 18px; height: 18px; flex-shrink: 0; color: var(--text-muted); transition: transform var(--t-fast) var(--ease); }
.biz-faq__item.is-open .biz-faq__chevron { transform: rotate(180deg); }
.biz-faq__panel { display: none; padding: 0 var(--s-6) var(--s-5); font-family: var(--font-body); font-size: .95rem; color: var(--text-muted); line-height: 1.7; }
.biz-faq__item.is-open .biz-faq__panel { display: block; }
@media (prefers-reduced-motion: reduce) { .biz-faq__chevron { transition: none; } }
.biz-faq__contact { text-align: center; margin-top: var(--s-7); font-family: var(--font-body); font-size: .95rem; color: var(--text-muted); }
.biz-faq__contact a { color: var(--blue); font-weight: 500; transition: opacity var(--t-fast); }
.biz-faq__contact a:hover { opacity: .8; }

/* ============================================================
   MOBILE IMAGE CAROUSEL — index.html only, hidden on desktop
   ============================================================ */
@media (min-width: 769px) { .m-carousel { display: none !important; } }

.m-carousel { padding: 16px 0; margin-top: -24px; background: var(--navy); } /* continues the navy hero on mobile */

.m-carousel__viewport {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.m-carousel__track {
  display: flex;
  width: max-content;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.m-carousel__item {
  width: 115px;
  height: 210px;
  margin-right: 14px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}
.biz-faq__contact a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

