/* ============================================================
   HERO — Exotic Detail
   ============================================================ */
#hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 60px) var(--section-pad-x) 80px;
}

/* Background system */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero-bg.png');
  background-size: cover;
  background-position: center 40%;
  will-change: transform;
  transform-origin: center;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,10,10,0.92) 0%,
    rgba(10,10,10,0.75) 50%,
    rgba(10,10,10,0.4) 100%
  );
}

/* Subtle diamond grid from brand identity */
.hero-deco-diamond {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: min(60vw, 600px);
  height: auto;
  pointer-events: none;
}

/* Content */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--inner-max);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.hero-right {
  max-width: 640px;
}

/* Eyebrow — only in hero (max 2 on site) */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
}

.eyebrow-line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
}

/* Title */
.hero-title {
  font-family: var(--f-display);
  font-size: var(--t-h1);
  line-height: 1;
  letter-spacing: 4px;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* Rule */
.hero-rule {
  width: 48px;
  height: 2px;
  background: var(--red);
  margin-bottom: 24px;
}

/* Description */
.hero-desc {
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--gray-2);
  max-width: 480px;
  line-height: 1.75;
  letter-spacing: 0.3px;
  margin-bottom: 40px;
}

/* Stats — horizontal discrete row (not the SaaS 3-column metric block) */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1;
  letter-spacing: 2px;
  color: var(--white);
}

.stat-unit {
  font-family: var(--f-display);
  font-size: clamp(20px, 2.5vw, 30px);
  color: var(--red);
  letter-spacing: 1px;
}

.stat-label {
  font-family: var(--f-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-4);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-6);
  flex-shrink: 0;
}

/* Actions */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  right: clamp(24px, 4vw, 60px);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.scroll-text {
  font-family: var(--f-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gray-5);
  writing-mode: vertical-rl;
}

.scroll-bar {
  width: 1px;
  height: 48px;
  background: var(--gray-6);
  position: relative;
  overflow: hidden;
}

.scroll-bar::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--red);
  animation: scrollBarDrop 2s ease-in-out infinite;
}

@keyframes scrollBarDrop {
  0%   { top: -100%; }
  100% { top: 200%; }
}

/* Mobile hero */
@media (max-width: 768px) {
  #hero {
    padding: calc(var(--nav-h) + 40px) 24px 60px;
    align-items: flex-end;
    min-height: 100dvh;
  }

  .hero-bg-overlay {
    background: linear-gradient(
      to top,
      rgba(10,10,10,0.96) 0%,
      rgba(10,10,10,0.75) 60%,
      rgba(10,10,10,0.5) 100%
    );
  }

  .hero-content {
    width: 100%;
  }

  .hero-right {
    max-width: 100%;
    text-align: center;
  }

  .hero-eyebrow {
    justify-content: center;
  }

  .hero-rule {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-desc {
    max-width: 100%;
  }

  .hero-stats {
    justify-content: center;
    gap: 20px;
  }

  .stat-divider { height: 30px; }

  .hero-actions {
    justify-content: center;
  }

  .hero-deco-diamond { display: none; }
  .hero-scroll-indicator { display: none; }
}

@media (max-width: 480px) {
  .stat:nth-child(5) { display: none; } /* hide 3rd stat on very small */
}
