/* ===========================================================
   sec-1.css — HERO (cinematic full-bleed)
   =========================================================== */
#section-1 {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #f7f0ec;
  overflow: hidden;
}
#section-1 .hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/sec-1/hero-desktop.jpg");
  background-size: cover;
  background-position: center 42%;
}
#section-1 .hero-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28, 12, 15, 0.46) 0%,
    rgba(28, 12, 15, 0.2) 40%,
    rgba(22, 9, 12, 0.86) 100%
  );
}
#section-1 .hero-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 200px rgba(18, 7, 10, 0.72);
}

#section-1 .hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 120px;
  padding-bottom: 46px;
}
#section-1 .hero-inner {
  max-width: 860px;
}
#section-1 h1 {
  font-size: clamp(50px, 8vw, 104px);
  margin: 26px 0 0;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 0.98;
}
#section-1 .hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 3vw, 32px);
  color: rgba(247, 240, 236, 0.85);
  margin-top: 14px;
}
#section-1 .hero-blurb {
  max-width: 540px;
  margin-top: 22px;
  color: rgba(244, 235, 230, 0.78);
  font-weight: 300;
  font-size: 17px;
}
#section-1 .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* hero stat cards */
#section-1 .hero-stats-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(247, 240, 236, 0.16);
  border: 1px solid rgba(247, 240, 236, 0.16);
}
.hero-stat {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: rgba(28, 12, 15, 0.36);
  padding: 20px 22px;
  backdrop-filter: blur(3px);
}
.hero-stat .stat-k {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 9px;
}
.hero-stat .stat-v {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.05;
  color: #f7f0ec;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-stat {
    animation: statBreathe 8s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * -1.3s);
  }
  .hero-stat::after {
    content: "";
    position: absolute;
    top: -30%;
    left: 0;
    width: 42%;
    height: 160%;
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: screen;
    background: linear-gradient(
      100deg,
      rgba(214, 184, 122, 0) 0%,
      rgba(214, 184, 122, 0.22) 42%,
      rgba(247, 232, 186, 0.6) 50%,
      rgba(214, 184, 122, 0.22) 58%,
      rgba(214, 184, 122, 0) 100%
    );
    transform: translateX(-220%) skewX(-14deg);
    animation: statSheen 9s cubic-bezier(0.45, 0.05, 0.35, 1) infinite;
    animation-delay: calc(var(--i, 0) * 0.9s);
  }
  .hero-stat .stat-v {
    animation: statLift 8s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * -1.3s);
  }
}
@keyframes statSheen {
  0% {
    transform: translateX(-220%) skewX(-14deg);
  }
  55%,
  100% {
    transform: translateX(420%) skewX(-14deg);
  }
}
@keyframes statBreathe {
  0%,
  100% {
    box-shadow: inset 0 0 0 0 rgba(214, 184, 122, 0);
  }
  50% {
    box-shadow: inset 0 1px 26px -8px rgba(214, 184, 122, 0.28);
  }
}
@keyframes statLift {
  0%,
  100% {
    transform: translateY(0);
    text-shadow: 0 0 0 rgba(247, 232, 186, 0);
  }
  50% {
    transform: translateY(-1.5px);
    text-shadow: 0 0 18px rgba(247, 232, 186, 0.2);
  }
}

@media (max-width: 760px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  #section-1 .hero-content {
    padding-top: 104px;
  }
}
