/* ==========================================================================
   GYM X — Marketing site styles
   ========================================================================== */

:root {
  --bg: #0a0a0c;
  --bg-alt: #131316;
  --card: #19191d;
  --card-border: rgba(255, 255, 255, 0.08);
  --pink: #ec0c8c;
  --pink-light: #ff4fb0;
  --lime: #c6e21e;
  --white: #ffffff;
  --grey: #a8a8b0;
  --grey-dim: #6f6f78;
  --max: 1180px;
  --radius: 14px;
  --ff-head: "Barlow Condensed", "Oswald", sans-serif;
  --ff-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--ff-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.stripe-bg {
  background-color: var(--bg);
  background-image:
    linear-gradient(135deg, rgba(255,255,255,0.03) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.03) 50%, rgba(255,255,255,0.03) 75%, transparent 75%, transparent);
  background-size: 90px 90px;
}

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.eyebrow {
  font-family: var(--ff-head);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--lime);
}

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.5vw, 48px); margin-top: 10px; }
.section-head p { color: var(--grey); font-size: 17px; margin-top: 14px; }

section { position: relative; padding: 110px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 8px 24px rgba(236, 12, 140, 0.35);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.btn-primary:hover { background: var(--pink-light); transform: translateY(-2px); }
.btn-primary:hover::after { left: 130%; }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover { border-color: var(--white); transform: translateY(-2px); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ---------- Nav ---------- */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.25s ease, padding 0.25s ease, backdrop-filter 0.25s ease;
}
header.scrolled {
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  border-bottom: 1px solid var(--card-border);
}
nav.wrap { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; }
.logo img { height: 22px; width: auto; display: block; }
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a { color: var(--grey); transition: color 0.15s ease; }
.nav-links a:hover { color: var(--white); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-primary { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(8,8,10,0.98);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { font-family: var(--ff-head); font-size: 28px; text-transform: uppercase; }

/* ---------- Hero ---------- */
.hero {
  padding: 190px 0 90px;
  text-align: center;
  position: relative;
}
.hero .bracket-logo {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}
.hero .bracket-logo img {
  height: clamp(48px, 8vw, 96px);
  width: auto;
  display: block;
}
.hero h1 {
  font-size: clamp(22px, 3vw, 30px);
  text-transform: none;
  font-family: var(--ff-body);
  font-weight: 400;
  color: var(--grey);
  max-width: 620px;
  margin: 0 auto 40px;
}
.hero h1 strong { color: var(--white); font-weight: 700; }

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 70px;
}

.hero-visual { max-width: 980px; margin: 0 auto; position: relative; }
.hero-visual img {
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.6));
  animation: float-y 7s ease-in-out infinite;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: -60px;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(236,12,140,0.18), transparent 70%);
  animation: glow-breathe 7s ease-in-out infinite;
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes glow-breathe {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* hero entrance choreography on page load */
.hero .live-badge, .hero .bracket-logo, .hero h1, .hero .hero-actions, .hero .hero-visual {
  animation: reveal-in 0.7s ease backwards;
}
.hero .live-badge { animation-delay: 0.05s; }
.hero .bracket-logo { animation-delay: 0.15s; }
.hero h1 { animation-delay: 0.25s; }
.hero .hero-actions { animation-delay: 0.35s; }
.hero .hero-visual { animation-delay: 0.5s; }

/* ---------- Marquee / tagline strip ---------- */
.tagline-strip {
  background: var(--pink);
  padding: 22px 0;
  overflow: hidden;
  transform: rotate(-1.2deg) scale(1.04);
  margin: 14px 0;
}
.tagline-strip .track span:nth-child(even) {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.85);
}
.tagline-strip .track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tagline-strip .track span { opacity: 0.95; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Trusted by ---------- */
.trusted { padding: 90px 0; }
.trusted .section-head { margin-bottom: 44px; }
.trusted-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 64px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.trusted-logos img { width: auto; opacity: 0.92; }
.trusted-logos img[alt="24/7 Fitness"] { height: 56px; }
.trusted-logos img[alt="Area 51 Fitness"] { height: 88px; }
.trusted-logos img[alt="Non Stop Fitness"] { height: 60px; }
.trusted-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 26px;
  border: 2px dashed rgba(255,255,255,0.25);
  border-radius: 14px;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-dim);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.trusted-placeholder:hover {
  border-color: var(--pink);
  color: var(--white);
  transform: translateY(-2px);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1020px;
  margin: 0 auto;
  text-align: center;
}
@media (max-width: 860px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; } }
.stat-value {
  display: block;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: clamp(42px, 5vw, 58px);
  line-height: 1;
  color: var(--white);
}
.stat-label {
  display: block;
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--grey);
}
.stats-grid .stat.in:nth-child(2) { animation-delay: 0.1s; }
.stats-grid .stat.in:nth-child(3) { animation-delay: 0.2s; }
.stats-grid .stat.in:nth-child(4) { animation-delay: 0.3s; }

/* ---------- Feature grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
/* a card alone on the last row sits centered */
.features-grid .feature-card:last-child:nth-child(3n+1) { grid-column: 2; }
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid .feature-card:last-child:nth-child(3n+1) { grid-column: auto; }
}
@media (max-width: 620px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px 28px 32px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(236,12,140,0.4);
  background: #1d1d22;
}
.feature-media {
  position: relative;
  width: calc(100% + 56px);
  margin: 0 -28px 22px;
  height: 172px;
  overflow: hidden;
  background: #050506;
}
.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}
.feature-card:hover .feature-media img { transform: scale(1.06); }
.feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,10,12,0.9));
}
.feature-icon {
  position: absolute;
  z-index: 2;
  bottom: 12px;
  left: 16px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(236,12,140,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.feature-card:hover .feature-icon { transform: scale(1.12) rotate(-6deg); }
.feature-card h3 {
  font-size: 21px;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.feature-card ul { list-style: none; }
.feature-card li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--grey);
  padding: 5px 0;
}
.feature-card li::before {
  content: "";
  min-width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  margin-top: 7px;
}

/* ---------- Spotlight (App) section ---------- */
.spotlight {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.spotlight-flip { grid-template-columns: 1.1fr 0.9fr; }
@media (max-width: 860px) {
  .spotlight, .spotlight-flip { grid-template-columns: 1fr; text-align: center; }
  .spotlight .spotlight-img { order: -1; max-width: 320px; margin: 0 auto; }
  .spotlight-flip .spotlight-img { max-width: 420px; }
}
.spotlight-img img {
  filter: drop-shadow(0 30px 50px rgba(236,12,140,0.35));
  animation: float-y 6s ease-in-out 1s infinite;
}
.spotlight-copy .eyebrow { margin-bottom: 12px; display: block; }
.spotlight-copy h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 18px; }
.spotlight-copy p.lead { color: var(--grey); font-size: 17px; margin-bottom: 28px; }
.spotlight-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.spotlight-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15.5px;
  color: #d8d8dc;
}
.spotlight-list .tick {
  min-width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(198,226,30,0.15);
  color: var(--lime);
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.spotlight-list .tick svg { width: 13px; height: 13px; }
.spotlight-list .tick path {
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
}
.spotlight-list li {
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.spotlight-copy.in .spotlight-list li { opacity: 1; transform: none; }
.spotlight-copy.in .spotlight-list .tick { animation: tick-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.spotlight-copy.in .spotlight-list .tick path { animation: tick-draw 0.3s ease-out forwards; }
.spotlight-copy.in .spotlight-list li:nth-child(1) { transition-delay: 0.20s; }
.spotlight-copy.in .spotlight-list li:nth-child(2) { transition-delay: 0.35s; }
.spotlight-copy.in .spotlight-list li:nth-child(3) { transition-delay: 0.50s; }
.spotlight-copy.in .spotlight-list li:nth-child(4) { transition-delay: 0.65s; }
.spotlight-copy.in .spotlight-list li:nth-child(5) { transition-delay: 0.80s; }
.spotlight-copy.in .spotlight-list li:nth-child(1) .tick, .spotlight-copy.in .spotlight-list li:nth-child(1) .tick path { animation-delay: 0.40s; }
.spotlight-copy.in .spotlight-list li:nth-child(2) .tick, .spotlight-copy.in .spotlight-list li:nth-child(2) .tick path { animation-delay: 0.55s; }
.spotlight-copy.in .spotlight-list li:nth-child(3) .tick, .spotlight-copy.in .spotlight-list li:nth-child(3) .tick path { animation-delay: 0.70s; }
.spotlight-copy.in .spotlight-list li:nth-child(4) .tick, .spotlight-copy.in .spotlight-list li:nth-child(4) .tick path { animation-delay: 0.85s; }
.spotlight-copy.in .spotlight-list li:nth-child(5) .tick, .spotlight-copy.in .spotlight-list li:nth-child(5) .tick path { animation-delay: 1.00s; }
@keyframes tick-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes tick-pop {
  from { transform: scale(0.4); }
  60% { transform: scale(1.15); }
  to { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .spotlight-list li { opacity: 1; transform: none; transition: none; }
  .spotlight-copy.in .spotlight-list .tick { animation: none; }
  .spotlight-copy.in .spotlight-list .tick path { animation: none; stroke-dashoffset: 0; }
}

/* ---------- Payment provider logos ---------- */
.pay-logos { margin-top: 36px; }
.pay-logos-label {
  display: block;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-dim);
  margin-bottom: 16px;
}
.pay-logos-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.pay-logos-row img {
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity 0.2s ease;
}
.pay-logos-row img:hover { opacity: 0.95; }
.pay-logos-row img[alt="Stripe"] { height: 24px; }
.pay-logos-row img[alt="Apple Pay"] { height: 22px; }
.pay-logos-row img[alt="Google Pay"] { height: 22px; }
.pay-logos-row img[alt="PayPal"] { height: 24px; }
.pay-logos-row img[alt^="DFC"] { height: 26px; }
.pay-logos-row img[alt^="Harlands"] { height: 30px; }
.pay-logos-row img[alt="Paxton"] { height: 34px; }
.pay-logos-row img[alt="Ajax Systems"] { height: 20px; }
.pay-logos-row img[alt="Smart Tile"] { height: 30px; }
@media (max-width: 860px) {
  .pay-logos-row { justify-content: center; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    linear-gradient(0deg, rgba(10,10,12,0.97), rgba(10,10,12,0.97)),
    linear-gradient(100deg, rgba(10,10,12,0.95) 25%, rgba(10,10,12,0.75) 55%, rgba(10,10,12,0.35) 100%),
    url("../images/lifestyle-band.jpg") center 30% / cover no-repeat;
  background-blend-mode: normal, normal, normal;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  text-align: center;
  padding: 100px 0;
}
.cta-band h2 { font-size: clamp(30px, 5vw, 46px); margin-bottom: 16px; }
.cta-band p { color: var(--grey); max-width: 560px; margin: 0 auto 36px; font-size: 17px; }
.cta-divider {
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,0.2);
  margin: 44px auto 26px;
}
.cta-subnote {
  font-size: 14px;
  color: var(--grey-dim);
  margin-bottom: 28px !important;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(198,226,30,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(198,226,30,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(198,226,30,0); }
  100% { box-shadow: 0 0 0 0 rgba(198,226,30,0); }
}

.email-capture {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.email-capture input {
  flex: 1;
  min-width: 220px;
  padding: 15px 20px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-size: 15px;
}
.email-capture input::placeholder { color: var(--grey-dim); }
.email-capture input:focus { outline: none; border-color: var(--pink); }
.cta-band .capture-note { margin-top: 22px; margin-bottom: 0; font-size: 12.5px; color: var(--grey-dim); }

/* ---------- Contact ---------- */
#contact { padding-top: 110px; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info h2 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 16px; }
.contact-info p { color: var(--grey); margin-bottom: 30px; font-size: 16px; }
.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-detail .ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(198,226,30,0.12);
  color: var(--lime);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail strong { display: block; font-size: 14px; margin-bottom: 2px; }
.contact-detail span, .contact-detail a { color: var(--grey); font-size: 14.5px; }

.contact-form {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--grey);
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: #101013;
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 14.5px;
  resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--pink);
}
.field textarea { min-height: 120px; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }

.form-status {
  margin-top: 16px;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  display: none;
}
.form-status.show { display: block; }
.form-status.ok { background: rgba(198,226,30,0.12); color: var(--lime); }
.form-status.err { background: rgba(236,12,140,0.12); color: var(--pink-light); }

/* ---------- Footer ---------- */
footer { padding: 60px 0 34px; border-top: 1px solid var(--card-border); }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 24px;
}
.footer-logo { display: flex; align-items: center; }
.footer-logo img { height: 24px; width: auto; display: block; }
.social-links { display: flex; gap: 14px; }
.social-links a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--grey);
  transition: all 0.15s ease;
}
.social-links a:hover { color: #fff; border-color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--grey-dim);
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; }
.reveal.in { opacity: 1; animation: reveal-in 0.6s ease backwards; }
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(24px); }
}
/* cascade cards within a grid row */
.features-grid .feature-card.in:nth-child(3n+2) { animation-delay: 0.12s; }
.features-grid .feature-card.in:nth-child(3n+3) { animation-delay: 0.24s; }

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--pink-light));
  transform: scaleX(0);
  transform-origin: left;
  z-index: 200;
  pointer-events: none;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--grey);
  z-index: 90;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.back-to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { background: var(--pink); border-color: var(--pink); color: #fff; }

/* ---------- Selection & focus ---------- */
::selection { background: var(--pink); color: #fff; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .reveal.in,
  .hero .live-badge, .hero .bracket-logo, .hero h1, .hero .hero-actions, .hero .hero-visual,
  .hero-visual img, .spotlight-img img,
  .tagline-strip .track {
    animation: none !important;
  }
  .reveal { opacity: 1; }
}

@media (max-width: 620px) {
  section { padding: 70px 0; }
  .hero { padding: 150px 0 60px; }
  .wrap { padding: 0 20px; }
}
