.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6rem clamp(1.25rem, 6vw, 5rem) 9rem;
  isolation: isolate;
}

.hero__photo {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-size: cover;
  background-position: 80% 25%;
}

.hero__glow {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: linear-gradient(
    120deg,
    var(--text) 0%,
    var(--accent-deep) 20%,
    var(--accent) 40%,
    var(--accent-soft) 55%,
    var(--accent) 70%,
    var(--accent-deep) 85%,
    var(--text) 100%
  );
  background-size: 420% 420%;
  background-position: 0% 20%;
  animation: hero-glow 7s ease-in-out infinite;
}

@keyframes hero-glow {
  0% {
    background-position: 0% 20%;
  }
  50% {
    background-position: 100% 80%;
  }
  100% {
    background-position: 0% 20%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__glow {
    animation: none;
    background-position: 30% 40%;
  }
}

.hero__wash {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(
    100deg,
    var(--text) 0%,
    var(--text) 30%,
    rgba(32, 23, 32, 0.75) 45%,
    rgba(32, 23, 32, 0.3) 58%,
    transparent 72%
  );
}

.hero__content {
  position: relative;
  max-width: 38rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.35rem;
}

.hero__content .eyebrow {
  color: var(--accent);
}

.hero__content > * {
  opacity: 0;
  transform: translateY(14px);
  animation: hero-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.hero__content > *:nth-child(1) {
  animation-delay: 0.05s;
}
.hero__content > *:nth-child(2) {
  animation-delay: 0.16s;
}
.hero__content > *:nth-child(3) {
  animation-delay: 0.3s;
}
.hero__content > *:nth-child(4) {
  animation-delay: 0.42s;
}
.hero__content > *:nth-child(5) {
  animation-delay: 0.54s;
}
.hero__content > *:nth-child(6) {
  animation-delay: 0.66s;
}

.hero__logo {
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 50%;
  border: 2px solid var(--accent);
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.35rem;
  object-fit: cover;
  object-position: 55% 35%;
}

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

.hero__wordmark {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  line-height: 1.05;
  font-size: clamp(3.4rem, 9vw, 7.2rem);
  margin-bottom: 0;
}

.hero__wordmark .line {
  display: inline;
}

.hero__wordmark .line--1 {
  color: var(--surface);
}

.hero__wordmark .line--2 {
  color: var(--accent);
  text-shadow: 0 0 46px rgba(255, 61, 143, 0.5);
}

.hero__sub {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  line-height: 1.55;
  color: var(--surface);
  max-width: 34ch;
  font-weight: var(--fw-regular);
}

.hero__sub b {
  color: var(--accent);
  font-weight: var(--fw-semibold);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero__actions .btn--ghost {
  background: var(--surface);
  border-color: var(--surface);
  color: var(--accent-deep);
  box-shadow: 0 8px 22px -10px rgba(32, 23, 32, 0.35);
}

.hero__actions .btn--ghost:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  color: var(--surface);
  transform: translateY(-2px);
}

.hero__actions .btn--ghost:hover i {
  transform: translateY(2px);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero__trust i {
  color: var(--accent);
  font-size: 0.78rem;
}

.hero__trust .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.hero__scroll {
  position: absolute;
  left: clamp(1.25rem, 6vw, 5rem);
  bottom: 2.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  animation: hero-fadein 0.7s ease 0.9s forwards;
}

@keyframes hero-fadein {
  to {
    opacity: 1;
  }
}

.hero__scroll i {
  font-size: 0.8rem;
  animation: hero-bob 2.2s ease-in-out infinite;
}

@keyframes hero-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__content > *,
  .hero__scroll {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero__scroll i {
    animation: none;
  }
}

.hero__curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
  z-index: 1;
  pointer-events: none;
}

.hero__curve svg {
  display: block;
  width: 100%;
  height: clamp(70px, 10vw, 140px);
}

.hero__curve path {
  fill: var(--surface);
}

@media (max-width: 1024px) {
  .hero {
    min-height: 90vh;
  }

  .hero__wordmark {
    font-size: clamp(4rem, 10vw, 7.2rem);
  }

  .hero__sub {
    font-size: clamp(1.08rem, 2.1vw, 1.28rem);
  }

  .hero__actions .btn {
    padding: 1rem 1.85rem;
    font-size: 0.98rem;
  }

  .hero__logo {
    width: 4.75rem;
    height: 4.75rem;
  }
}

@media (max-width: 900px) {
  .hero {
    padding-top: 6.5rem;
  }

  .hero__logo {
    width: 4.4rem;
    height: 4.4rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 7rem;
  }

  .hero__logo {
    width: 4rem;
    height: 4rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 6.5rem 1.25rem 7rem;
    min-height: 90vh;
  }

  .hero__wordmark {
    font-size: clamp(3.9rem, 14vw, 4.8rem);
  }

  .hero__sub {
    font-size: clamp(1.08rem, 3.8vw, 1.22rem);
  }

  .hero__wash {
    background-image: none;
    background-color: rgba(20, 14, 20, 0.55);
  }

  .hero__trust {
    justify-content: center;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    justify-content: center;
  }

  .hero__scroll {
    display: none;
  }

  .hero__logo {
    width: 3.5rem;
    height: 3.5rem;
  }
}

@media (max-width: 320px) {
  .hero {
    padding: 6rem 1rem 6.5rem;
  }

  .hero__content {
    gap: 1.1rem;
  }

  .hero__logo {
    width: 3rem;
    height: 3rem;
  }
}
