/* ========================================
   Hero
   ======================================== */

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

/* ========================================
   Background — gradient orbs + grid
   ======================================== */

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  will-change: transform;
}

.hero__orb--1 {
  width: clamp(300px, 40vw, 600px);
  height: clamp(300px, 40vw, 600px);
  background: radial-gradient(circle, #f0a868 0%, #e8873a 40%, transparent 70%);
  top: -10%;
  right: -5%;
  animation: float 14s ease-in-out infinite;
  opacity: 0.3;
}

.hero__orb--2 {
  width: clamp(250px, 35vw, 500px);
  height: clamp(250px, 35vw, 500px);
  background: radial-gradient(circle, #fcd5b0 0%, #f0a868 40%, transparent 70%);
  bottom: -5%;
  left: -8%;
  animation: float 18s ease-in-out infinite reverse;
  opacity: 0.25;
}

.hero__orb--3 {
  width: clamp(200px, 25vw, 400px);
  height: clamp(200px, 25vw, 400px);
  background: radial-gradient(circle, #fde8d0 0%, #fcd5b0 40%, transparent 70%);
  top: 40%;
  left: 0;
  right: 0;
  margin: 0 auto;
  animation: float 22s ease-in-out infinite;
  opacity: 0.2;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 100%);
}

/* ========================================
   Content
   ======================================== */

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 80px;
}

.hero__headline {
  font-size: var(--font-size-h1);
  font-weight: 800;
  line-height: var(--line-height-tight);
  letter-spacing: -0.04em;
  color: var(--color-text-primary);
  max-width: 900px;
}

.hero__subline {
  font-size: clamp(17px, 2vw, 21px);
  line-height: var(--line-height-body);
  color: var(--color-text-secondary);
  max-width: 580px;
  margin-top: 24px;
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-top: 40px;
}

/* ========================================
   Scroll Hint
   ======================================== */

.hero__scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  opacity: 0.5;
  animation: fade-in 1s ease 1.2s both;
}

.hero__scroll-text {
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-tertiary);
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 20px;
  background-color: var(--color-text-tertiary);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-accent);
  animation: scroll-line-move 2.4s ease-in-out infinite;
}

@keyframes scroll-line-move {
  0%   { top: -100%; }
  50%  { top: 100%; }
  100% { top: 100%; }
}

/* ========================================
   Subpage Hero — smaller text
   ======================================== */

.hero--subpage .hero__headline {
  font-size: var(--font-size-h1);
}

.hero--subpage .hero__subline {
  font-size: var(--font-size-body-lg);
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 768px) {
  .hero__content {
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 100px;
  }

  .hero__headline br {
    display: none;
  }

  .hero__subline {
    max-width: none;
  }

  .hero__ctas {
    flex-direction: column;
    gap: 20px;
  }

  .hero__orb--1 {
    opacity: 0.2;
  }

  .hero__orb--2 {
    opacity: 0.15;
  }

  .hero__orb--3 {
    display: none;
  }
}
