/* Unified vintage hero and restrained motion layer */
.hero {
  display: block;
  min-height: calc(100vh - 82px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 82%, rgba(240, 82, 35, .055), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, .16), transparent 45%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image: repeating-linear-gradient(0deg, transparent 0 5px, rgba(17, 18, 15, .025) 6px);
}

.hero-stage {
  min-height: calc(100vh - 82px);
  padding-block: clamp(38px, 5.5vw, 78px) clamp(34px, 4vw, 58px);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.hero-meta,
.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.hero-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(48px, 7vh, 92px);
}

.hero h1 {
  max-width: 1100px;
  margin: 0 0 clamp(30px, 4vw, 52px);
}

.hero-lead {
  max-width: 760px;
}

.hero-foot {
  align-items: flex-end;
}

.hero-foot .az-mark {
  justify-content: flex-start;
  font-size: clamp(52px, 7vw, 96px);
}

.hero-foot .aside-bottom {
  max-width: 560px;
}

.hero-foot .aside-bottom p {
  margin-top: 6px;
  white-space: normal;
}

.button span,
.contact-button b,
.header-link span {
  transition: transform .35s cubic-bezier(.2, .75, .25, 1);
}

.button:hover span,
.header-link:hover span {
  transform: translate(3px, -3px);
}

.plain-link {
  transition: color .25s ease, border-color .25s ease;
}

.plain-link:hover {
  color: var(--orange);
  border-color: var(--orange);
}

.motion-ready .hero-stage > * {
  opacity: 0;
  transform: translateY(18px);
}

.motion-ready .hero-stage.is-live > * {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .72s ease, transform .82s cubic-bezier(.18, .75, .22, 1);
}

.motion-ready .hero-stage.is-live > :nth-child(2) { transition-delay: .11s; }
.motion-ready .hero-stage.is-live > :nth-child(3) { transition-delay: .22s; }

.motion-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .62s ease, transform .72s cubic-bezier(.18, .75, .22, 1);
  transition-delay: var(--motion-delay, 0ms);
}

.motion-item.motion-in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 700px) {
  .hero {
    min-height: auto;
  }

  .hero-stage {
    min-height: calc(100svh - 68px);
    padding-block: 30px 34px;
  }

  .hero-meta {
    align-items: flex-start;
  }

  .hero-meta .overline {
    max-width: 145px;
  }

  .hero-copy {
    padding-block: 55px 48px;
  }

  .hero h1 {
    margin-bottom: 28px;
  }

  .hero-foot {
    align-items: flex-end;
    gap: 18px;
  }

  .hero-foot .az-mark {
    font-size: 54px;
    gap: 8px;
    letter-spacing: -4px;
  }

  .hero-foot .aside-bottom {
    max-width: 210px;
  }

  .hero-foot .aside-bottom p {
    font-size: 11px;
    line-height: 1.65;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
  }

  .motion-ready .hero-stage > *,
  .motion-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
