.hero {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 100svh;
  padding: clamp(24px, 3.2vw, 48px) clamp(24px, 4.4vw, 70px);
  overflow: hidden;
  background: var(--black);
  grid-template: 1fr / 1fr;
  isolation: isolate;
}

.hero::before {
  display: none;
  content: "";
}

.hero::after {
  display: none;
  content: "";
}

.hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  justify-self: center;
  width: min(100%, 1120px);
  padding: clamp(78px, 9vh, 118px) 0 clamp(76px, 8vh, 105px);
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(25px, 2.4vw, 38px);
  color: #aaa9a3;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0;
  animation: hero-content-in 0.8s 0.2s var(--ease-out) forwards;
}

.hero-eyebrow > span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(252, 199, 81, 0.07);
}

.hero-title {
  max-width: 1100px;
  margin: 0 auto;
  font-size: clamp(48px, 5.44vw, 86px);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-title span {
  display: block;
  color: var(--gold);
  font-weight: 300;
  opacity: 0;
  transform: translateY(28px);
  animation: hero-content-in 1.05s 0.14s var(--ease-out) forwards;
}

.hero-intro {
  max-width: 550px;
  margin: clamp(28px, 3.2vw, 46px) auto 0;
  color: var(--muted);
  font-size: clamp(12px, 0.9vw, 13.5px);
  line-height: 1.75;
  text-wrap: balance;
  opacity: 0;
  transform: translateY(18px);
  animation: hero-content-in 0.85s 0.33s var(--ease-out) forwards;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(27px, 2.5vw, 39px);
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(249, 249, 248, 0.4);
  font-size: 11px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(14px);
  transition:
    border-color 180ms ease,
    color 180ms ease;
  animation: hero-content-in 0.8s 0.48s var(--ease-out) forwards;
}

.portfolio-link img {
  width: 14px;
  height: 14px;
  filter: brightness(0) saturate(100%) invert(83%) sepia(79%) saturate(706%)
    hue-rotate(338deg) brightness(104%) contrast(98%);
  transition: transform 180ms ease;
}

.portfolio-link:hover {
  border-color: var(--gold);
}

.portfolio-link:hover img {
  transform: translate(3px, -3px);
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: clamp(25px, 3.2vw, 48px);
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 48px;
  transform: translateX(-50%);
  transition: opacity 180ms ease;
}

.scroll-cue:hover {
  opacity: 0.72;
}

.scroll-cue::before {
  position: absolute;
  z-index: -1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(252, 199, 81, 0.2) 0%,
    rgba(252, 199, 81, 0) 68%
  );
  content: "";
  will-change: opacity, transform;
  animation: scroll-cue-halo 1.25s ease-in-out infinite;
}

.scroll-cue-motion {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  will-change: transform;
  animation: scroll-cue-move 1.25s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}

.scroll-cue img {
  width: 28px;
  height: 28px;
  filter: brightness(0) saturate(100%) invert(83%) sepia(79%) saturate(706%)
    hue-rotate(338deg) brightness(104%) contrast(98%)
    drop-shadow(0 0 5px rgba(252, 199, 81, 0.85));
  opacity: 0.72;
  will-change: filter, opacity;
  animation: scroll-cue-light 1.25s ease-in-out infinite;
}

@keyframes hero-content-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-atmosphere-in {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes scroll-cue-move {
  0%,
  100% {
    transform: translateY(-7px);
  }

  50% {
    transform: translateY(9px);
  }
}

@keyframes scroll-cue-light {
  0%,
  100% {
    opacity: 0.48;
    filter: brightness(0) saturate(100%) invert(83%) sepia(79%) saturate(706%)
      hue-rotate(338deg) brightness(102%) contrast(98%)
      drop-shadow(0 0 2px rgba(252, 199, 81, 0.35));
  }

  50% {
    opacity: 1;
    filter: brightness(0) saturate(100%) invert(83%) sepia(79%) saturate(706%)
      hue-rotate(338deg) brightness(108%) contrast(98%)
      drop-shadow(0 0 13px rgba(252, 199, 81, 1));
  }
}

@keyframes scroll-cue-halo {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.72);
  }

  50% {
    opacity: 0.9;
    transform: scale(1.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::after,
  .hero-eyebrow,
  .hero-title span,
  .hero-intro,
  .portfolio-link {
    opacity: 1;
    transform: none;
  }

  .scroll-cue::before,
  .scroll-cue-motion,
  .scroll-cue img {
    animation-duration: 1.25s !important;
    animation-iteration-count: infinite !important;
  }
}
