/* ==========================================================================
   Hero (Lab) — rickyleelapraim.com
   --------------------------------------------------------------------------
   Notes:
   - This file intentionally scopes to `.rll-lab-hero*` to avoid global bleed.
   - Uses CSS variables with safe fallbacks for portability across pages.
   ========================================================================== */

.rll-lab-hero {
  max-width: 680px;
  margin: 3.25rem auto 2.5rem;
  padding: 0 1rem;
  text-align: center;

  color: var(--text-color, #111);
  font-family: var(
    --font-body,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    sans-serif
  );
}

/* Hero icon
   - Prevents Safari/WebKit resampling artifacts.
   - Avoid filters here to preserve copper tone fidelity. */
.rll-lab-hero__icon {
  width: 72px;
  height: 72px;
  display: block;
  margin: 0 auto 0.9rem;

  object-fit: contain;
  image-rendering: auto;
  filter: none;

  /* Reduces edge shimmer/haloing on small PNGs (especially Safari). */
  backface-visibility: hidden;
  transform: translateZ(0);
}

.rll-lab-hero__kicker {
  font-family: var(--font-serif, Georgia, "Times New Roman", serif);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #666;
}

.rll-lab-hero__rule {
  width: 78%;
  height: 1px;
  margin: 0.55rem auto 1.1rem;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.06) 0%,
    rgba(160, 160, 160, 0.55) 15%,
    rgba(160, 160, 160, 0.55) 85%,
    rgba(0, 0, 0, 0.06) 100%
  );
}

.rll-lab-hero__title {
  margin: 0 0 0.5rem;
  color: #0f0f0f;

  font-family: var(--font-serif, Georgia, "Times New Roman", serif);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* Tagline
   - Single-line at typical hero widths for a clean editorial look.
   - Mobile override restores wrapping to prevent overflow. */
.rll-lab-hero__tagline {
  margin: 0 auto;
  color: #555;

  font-family: var(
    --font-body,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    sans-serif
  );
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.4;

  max-width: none;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .rll-lab-hero__tagline {
    white-space: normal;
  }
}