/* ============================================
   HERO SECTION
   Diagonal color split + stacked headline
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

/* --- Diagonal Background Split --- */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-amber {
  position: absolute;
  inset: 0;
  background: var(--color-teal-blue);
  clip-path: polygon(0 0, 52% 0, 36% 100%, 0 100%);
}

.hero__bg-green {
  position: absolute;
  inset: 0;
  background: var(--color-teal-blue);
  clip-path: polygon(0 0, 52% 0, 36% 100%, 0 100%);
}

.hero__bg-navy {
  position: absolute;
  inset: 0;
  background: var(--color-midnight-indigo);
  clip-path: polygon(52% 0, 100% 0, 100% 100%, 36% 100%);
}

/* --- Geometric Decorations --- */
.hero__shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero__circle-ring {
  position: absolute;
  width: clamp(200px, 28vw, 400px);
  aspect-ratio: 1;
  border: clamp(16px, 3vw, 36px) solid var(--color-lime-green);
  border-radius: 50%;
  top: 50%;
  left: 38%;
  transform: translate(-50%, -50%);
  opacity: 0.15;
}

.hero__circle-solid {
  position: absolute;
  width: clamp(80px, 12vw, 160px);
  aspect-ratio: 1;
  background: var(--color-bright-orange);
  border-radius: 50%;
  bottom: 12%;
  right: 8%;
  opacity: 0.2;
}

.hero__silhouette {
  position: absolute;
  bottom: 6%;
  left: 38%;
  transform: translateX(-50%);
  font-size: clamp(50px, 7vw, 100px);
  line-height: 1;
  color: rgba(25, 26, 64, 0.12);
}

/* --- Content Layout --- */
.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: calc(var(--navbar-h) + var(--spacing-xl)) var(--margin)
    var(--spacing-xl);
  min-height: 100vh;
}

/* --- Headline Column (Left) --- */
.hero__headline-col {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.hero__label {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: clamp(11px, 1.2vw, 14px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-midnight-indigo);
  display: inline-block;
  padding: 6px 16px;
  border-radius: 4px;
  width: fit-content;
}

.hero__headline {
  display: flex;
  flex-direction: column;
}

.hero__word {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(60px, 12vw, 140px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  display: block;
}

.hero__word:first-child {
  color: #fff;
}

/* --- Body Column (Right) --- */
.hero__body-col {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  max-width: 480px;
  justify-self: end;
  padding-top: var(--spacing-xxl);
}

.hero__tagline {
  font-family: var(--font-sub);
  font-weight: var(--fw-medium);
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.3;
  color: var(--color-teal-blue);
}

.hero__description {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
}

.hero__actions {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  margin-top: var(--spacing-sm);
}

/* --- Scroll Hint --- */
.hero__scroll-hint {
  position: absolute;
  bottom: var(--spacing-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 1;
    transform: scaleY(1);
  }
  50% {
    opacity: 0.3;
    transform: scaleY(0.6);
  }
}

/* --- Hero Entrance Animations --- */
.reveal-hero {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity var(--transition-slow),
    transform var(--transition-slow);
}

.reveal-hero.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .hero__body-col {
    justify-self: start;
    padding-top: 0;
    max-width: 560px;
  }

  .hero__bg-amber {
    clip-path: polygon(0 0, 100% 0, 100% 40%, 0 55%);
  }

  .hero__bg-green {
    clip-path: polygon(0 0, 100% 0, 100% 40%, 0 55%);
  }

  .hero__bg-navy {
    clip-path: polygon(0 55%, 100% 40%, 100% 100%, 0 100%);
  }

  .hero__word:first-child {
    color: #fff;
  }

  .hero__circle-ring {
    left: 80%;
    top: 25%;
    opacity: 0.1;
  }

  .hero__silhouette {
    left: 80%;
    bottom: auto;
    top: 18%;
  }

  .hero__label {
    color: #fff;
    background: var(--color-midnight-indigo);
  }
}

@media (max-width: 768px) {
  .hero__content {
    padding-top: calc(var(--navbar-h) + var(--spacing-lg));
    padding-bottom: var(--spacing-xxl);
  }

  .hero__word {
    font-size: clamp(48px, 16vw, 80px);
  }

  .hero__scroll-hint {
    display: none;
  }

  .hero__circle-solid {
    width: 60px;
    bottom: 8%;
    right: 6%;
  }
}
