/* HERO-FRAGMENTS — Scroll-driven scattered-income hero */

.hero--fragments { min-height: 300vh; overflow: visible; padding: 0; display: block; }

.hero__scene {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse 50% 40% at 50% 45%, rgba(253,175,28,0.07) 0%, transparent 70%),
    linear-gradient(180deg, #0a0b0d 0%, #121418 50%, #0a0b0d 100%);
}

/* ── Background photo + overlay ── */
.hero__bg-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.2; z-index: 0;
}
.hero--fragments .hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(253,175,28,0.06) 0%, transparent 60%),
    linear-gradient(180deg, rgba(10,11,13,0.6) 0%, rgba(10,11,13,0.3) 50%, rgba(10,11,13,0.7) 100%);
}

/* ── Scalable world ── */
.hero__world { position: relative; z-index: 2; width: 100%; height: 100%; will-change: transform; }

/* ── Glass fragment chips ── */
.hero__fragment {
  position: absolute; padding: 10px 20px;
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.02em;
  color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 24px;
  box-shadow: 0 0 20px rgba(253,175,28,0.08);
  pointer-events: none; white-space: nowrap; will-change: transform;
}

/* ── Centered headline ── */
.hero__fragments-headline {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  max-width: 820px; width: 90%; text-align: center; will-change: opacity;
}
.hero__fragments-headline h1 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  letter-spacing: -0.035em; line-height: 1.15;
  color: rgba(255,255,255,0.85);
}
.hero__gold { color: var(--gold, #fdaf1c); }

/* ── Support copy + CTA ── */
.hero__fragments-support {
  position: absolute; z-index: 2; bottom: 18%; left: 50%;
  transform: translateX(-50%); text-align: center; will-change: opacity;
}
.hero__fragments-support p {
  color: rgba(255,255,255,0.65);
  font-size: clamp(0.95rem, 1.5vw, 1.15rem); margin-bottom: var(--space-md);
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .hero--fragments { min-height: auto; }
  .hero__scene {
    position: relative;
    height: 100svh;
    flex-direction: column;
    justify-content: center;
    padding: 0 var(--space-lg);
  }
  .hero__world {
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
  }
  .hero__fragment { display: none; }
  .hero__fragments-headline {
    position: relative;
    top: auto; left: auto;
    transform: none;
    width: 100%;
  }
  .hero__fragments-headline h1 {
    opacity: 1 !important;
    font-size: clamp(1.75rem, 7vw, 2.5rem);
    line-height: 1.45;
  }
  .hero__fragments-support {
    position: relative;
    bottom: auto; left: auto;
    transform: none;
    opacity: 1 !important;
  }
  .hero__fragments-support p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
  }
  .hero__cta .btn {
    font-size: 1rem;
    padding: 16px 36px;
  }
  .hero__secondary-link {
    margin-top: var(--space-md);
  }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .hero--fragments { min-height: 100vh; }
  .hero__scene { position: relative; }
  .hero__fragment { opacity: 0.5; }
  .hero__fragments-headline h1 { opacity: 1 !important; }
  .hero__fragments-support { opacity: 1 !important; }
}
