/* The photographic composition is visible at every viewport size. */
.hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero-art { --lens-float-distance: -9px; }
.hero-art .photo-stage {
  transform: rotateX(var(--lens-tilt-x, 0deg)) rotateY(var(--lens-tilt-y, 0deg)) rotateZ(-2deg);
  transition: transform 450ms cubic-bezier(.2, .75, .25, 1);
  animation: lens-photo-enter 850ms cubic-bezier(.2, .75, .25, 1) both;
}
.hero-art .photo-stage > img {
  animation: lens-photo-breathe 16s ease-in-out infinite;
  transform-origin: 55% 45%;
}
.hero-art .photo-stage-label { bottom: 96px; }
.hero-art .art-card-top {
  animation: lens-card-enter 700ms 180ms both, lens-card-float 7s 880ms ease-in-out infinite;
}
.hero-art .art-card-bottom {
  animation: lens-card-enter 700ms 340ms both, lens-card-float 8s 1040ms ease-in-out infinite reverse;
}
.hero-art .art-corner { animation-duration: 80s; }
.hero-art .aperture .icon { animation-duration: 32s; }
.hero-art .mini-steps span:nth-child(-n+3) { animation: lens-step-glow 4s ease-in-out infinite; }
.hero-art .mini-steps span:nth-child(2) { animation-delay: 220ms; }
.hero-art .mini-steps span:nth-child(3) { animation-delay: 440ms; }
.hero-motion-toggle {
  position: absolute;
  z-index: 7;
  bottom: 8px;
  left: 24px;
  width: 40px;
  height: 40px;
  background: var(--cream);
  border-color: #d5d8ce;
  box-shadow: 0 4px 16px #1718160a;
}
.hero-motion-toggle .icon { width: 16px; height: 16px; }
.hero-art[data-motion-paused=true] .photo-stage > img,
.hero-art[data-motion-paused=true] .art-corner,
.hero-art[data-motion-paused=true] .aperture .icon,
.hero-art[data-motion-paused=true] .mini-steps span,
.hero-art[data-motion-paused=true] .photo-meta i { animation-play-state: paused; }
.hero-art[data-motion-paused=true] .float-card { animation-play-state: running, paused; }
.hero-art[data-motion=off] *,
.hero-art[data-motion=off] *::before,
.hero-art[data-motion=off] *::after { animation: none !important; transition: none !important; }
.hero-art[data-motion=off] .photo-stage { will-change: auto; }
@keyframes lens-photo-enter {
  from { opacity: 0; translate: 0 18px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes lens-card-enter {
  from { opacity: 0; translate: 0 12px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes lens-card-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 var(--lens-float-distance); }
}
@keyframes lens-photo-breathe {
  0%, 100% { transform: scale(1.02); }
  50% { transform: scale(1.075); }
}
@keyframes lens-step-glow {
  0%, 70%, 100% { opacity: 1; }
  35% { opacity: .45; }
}
@media (max-width: 700px) {
  .hero-grid { display: flex; flex-direction: column; gap: 20px; min-height: 0; }
  .hero-copy { width: 100%; text-align: center; padding-block: 12px 0; }
  .hero-copy .eyebrow, .hero-actions { justify-content: center; }
  .hero-description { margin-inline: auto; }
  .hero-art {
    display: block;
    flex: none;
    width: min(420px, 100%);
    height: clamp(305px, 92vw, 390px);
    margin: 8px auto 0;
    --lens-float-distance: -5px;
  }
  .hero-art .photo-stage {
    inset: 18px 12px 40px;
    border-radius: 100px 18px 18px 18px;
    box-shadow: 0 18px 36px #3032281c;
  }
  .hero-art .photo-stage > img { object-position: 40% 40%; }
  .hero-art .art-corner { width: 90px; height: 90px; left: 9px; top: 0; }
  .hero-art .art-card-top { left: 0; top: 46px; padding: 11px 13px; gap: 10px; border-radius: 13px; }
  .hero-art .card-icon { width: 34px; height: 34px; border-radius: 11px; }
  .hero-art .card-icon .icon { width: 21px; height: 21px; }
  .hero-art .float-card strong { font-size: 12px; }
  .hero-art .float-card p { font-size: 10px; }
  .hero-art .art-card-bottom { right: 0; bottom: 3px; width: min(250px, 80%); padding: 13px 15px; border-radius: 15px; }
  .hero-art .tiny-row { font-size: 10px; }
  .hero-art .photo-stage-label { bottom: 64px; left: 18px; right: 18px; align-items: center; }
  .hero-art .photo-stage-label strong { font-size: 22px; }
  .hero-art .photo-stage-label p { font-size: 10px; }
  .hero-art .aperture { width: 48px; height: 48px; }
  .hero-art .aperture .icon { width: 30px; height: 30px; }
  .hero-art .photo-meta { top: 34px; right: 29px; left: 25px; font-size: 8px; letter-spacing: 1.5px; text-align: right; }
  .hero-motion-toggle { bottom: 4px; left: 16px; }
  .hero-search { margin-top: 20px; }
}
@media (max-width: 360px) {
  .hero-art .art-card-top { padding: 9px 11px; gap: 8px; }
  .hero-art .float-card strong { font-size: 11px; }
  .hero-art .float-card p { font-size: 9px; }
  .hero-art .photo-stage-label strong { font-size: 19px; }
  .hero-art .art-card-bottom { padding: 12px; }
  .hero-motion-toggle { left: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art .hero-motion-toggle { display: none; }
  .hero-art .photo-stage { transform: rotate(-2deg); will-change: auto; }
}
