/* Home-only: hero, stats strip, secondary buttons */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 5% 100px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--g100) 1px, transparent 1px),
    linear-gradient(90deg, var(--g100) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  opacity: 0.55;
}

.hero::after {
  content: '';
  position: absolute;
  top: -5%;
  left: 50%;
  z-index: 0;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(196, 27, 46, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero-badge,
.hero h1,
.hero-sub,
.hero-actions {
  position: relative;
  z-index: 5;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--g100);
  background: var(--off);
  border-radius: 4px;
  padding: 0.4rem 0.9rem;
  font-family: var(--mono);
  font-size: 0.73rem;
  color: var(--g600);
  margin-bottom: 2.5rem;
  letter-spacing: 0.04em;
  opacity: 1;
  visibility: visible;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

.hero h1 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-size: clamp(3.2rem, 7.5vw, 7rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #111110;
  max-width: 860px;
  opacity: 1;
  visibility: visible;
  -webkit-text-fill-color: #111110;
}

.hero h1 em {
  font-style: italic;
  color: var(--g400);
}

.hero-sub {
  margin-top: 2rem;
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--g600);
  max-width: 540px;
  line-height: 1.75;
  opacity: 1;
  visibility: visible;
}

.hero-actions {
  display: flex;
  gap: 0.875rem;
  margin-top: 3rem;
  opacity: 1;
  visibility: visible;
}

.hero-actions .btn-dark {
  position: relative;
  z-index: 6;
}

.btn-outline {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  font-size: 0.925rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
  color: var(--g600);
  border: 1px solid var(--g100);
}

.btn-outline:hover {
  border-color: var(--black);
  color: var(--black);
  transform: translateY(-1px);
}

.stats-strip {
  background: var(--off);
  border-top: 1px solid var(--g100);
  border-bottom: 1px solid var(--g100);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-cell {
  padding: 2.75rem 2rem;
  border-right: 1px solid var(--g100);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.stat-cell:last-child {
  border-right: none;
}

.stat-n {
  font-family: 'Fraunces', serif;
  font-size: 2.8rem;
  font-weight: 200;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--black);
}

.stat-n .red {
  color: var(--red);
}

.stat-l {
  font-size: 0.82rem;
  color: var(--g600);
  font-weight: 300;
  line-height: 1.5;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

@media (max-width: 960px) {
  .stats-strip {
    grid-template-columns: 1fr 1fr;
  }

  .stat-cell:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

  .stats-strip {
    grid-template-columns: 1fr;
  }

  .stat-cell {
    border-right: none;
    border-bottom: 1px solid var(--g100);
  }

  .stat-cell:last-child {
    border-bottom: none;
  }
}
