/* A full-height hero with a steady phone and a staggered copy entrance. */
.hero-site {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: clamp(108px, 13svh, 132px) 40px;
}
.home-hero-grid {
  position: relative;
  width: 100%;
}
.hero-media-slot {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  min-width: 0;
  padding: 16px 12px;
}
.hero-phone-preview {
  position: relative;
  width: clamp(260px, calc((100svh - 220px) * 740 / 1609 + 12px), 312px);
  max-width: calc(100% - 16px);
  overflow: hidden;
  border: 6px solid #202228;
  border-radius: 24px;
  background: #202228;
  transform: rotate(2deg);
  box-shadow: 0 0 0 1px #62656d, 0 18px 36px rgba(16, 24, 40, .16), 0 3px 8px rgba(16, 24, 40, .07);
  z-index: 2;
}
.hero-phone-screen {
  display: block;
  width: 100%;
  height: auto;
}
.hero-copy > * {
  animation: hero-copy-enter .85s cubic-bezier(.22, 1, .36, 1) both;
}
.hero-copy > :nth-child(1) { animation-delay: .08s; }
.hero-copy > :nth-child(2) { animation-delay: .18s; }
.hero-copy > :nth-child(3) { animation-delay: .28s; }
.hero-copy > :nth-child(4) { animation-delay: .38s; }
@keyframes hero-copy-enter {
  from { opacity: 0; transform: translate3d(0, 24px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.hero-frame {
  position: absolute;
  inset: 0;
  width: min(var(--site-max), calc(100% - 40px));
  margin-inline: auto;
  pointer-events: none;
  z-index: 1;
}
.hero-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--site-line);
}
.hero-rail--left { left: 0; }
.hero-rail--right { right: 0; }
.hero-rule {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  height: 1px;
}
.hero-rule--bottom { bottom: 0; }
.hero-rule > span { width: 50%; height: 1px; background: var(--site-line); }

@media (max-width: 991px) {
  .hero-site { padding-block: 108px 40px; }
  .hero-phone-preview { width: 292px; transform: rotate(1.5deg); }
}
@media (max-width: 680px) {
  .hero-frame { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy > * { animation: none; }
}
