/* ===========================================================
   HERO PULSE + STATS
   (Hero copy/media markup now lives in the Tailwind hero section
   in index.html — styled inline via Tailwind utility classes.
   This file only covers the brand pulse-line graphic and the
   stat strip that follow it.)
   =========================================================== */

/* ---- Pulse visual ---- */
.hero__pulse {
  position: relative;
  width: 100%;
  height: clamp(120px, 18vw, 200px);
  margin-top: var(--sp-7);
}

.hero__pulse svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero__pulse-path {
  fill: none;
  stroke: var(--ink-900);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__pulse-dot {
  fill: var(--gold-500);
}

.hero__pulse-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  fill: var(--text-secondary);
  letter-spacing: 0.04em;
}

/* ---- Stat strip ---- */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: var(--sp-6);
  border-top: 1px solid var(--border-hair);
}

.hero__stat {
  padding: var(--sp-4) var(--sp-3) 0;
  border-left: 1px solid var(--border-hair);
}

.hero__stat:first-child {
  border-left: none;
  padding-left: 0;
}

.hero__stat-num {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
}

.hero__stat-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 0.35rem;
  max-width: 16ch;
}

@media (max-width: 640px) {
  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: var(--sp-5);
  }

  .hero__stat:nth-child(3) {
    border-left: none;
    padding-left: 0;
  }
}

.main-part-of-hero {
  padding-top: 2rem;
}

/* ── Hero image slideshow ── */
.hero-slideshow {
  isolation: isolate;
}

.hero-slideshow__img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.2s ease, transform 6s ease;
  z-index: 0;
}

.hero-slideshow__img.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-slideshow__dots {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.hero-slideshow__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: background var(--dur-fast, 0.2s) ease, transform var(--dur-fast, 0.2s) ease;
}

.hero-slideshow__dots span.is-active {
  background: #ffffff;
  transform: scale(1.25);
}