:root {
  --scene-ease: cubic-bezier(.2,.72,.22,1);
  --gutter: clamp(24px, 5.8vw, 96px);
}
@media (max-width: 560px) {
  :root { --gutter: 21px; }
}

.correction-choice + .orientation-scene {
  border-top: 1px solid #cfc6b8;
}

@keyframes lens-settle {
  from { transform: scale(1.065); }
  to { transform: scale(1); }
}

@keyframes enter-page {
  from { transform: translateY(22px); opacity: .70; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes draw-rule {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: no-preference) {
  html:not(.js), html.following-anchor { scroll-behavior: smooth; }
  .deliverable-photo.motion-in-view img {
    animation: lens-settle 1.1s var(--scene-ease) both;
 }

  .deliverable-cover h2.motion-in-view,
  .method-heading h2.motion-in-view, .choice-heading h2.motion-in-view,
  .agency-heading.motion-in-view {
    animation: enter-page .92s var(--scene-ease) backwards;
 }

  .motion-ready .deliverable-entry:not(.motion-in-view)::before {
    transform: scaleX(0);
 }

  .deliverable-entry.motion-in-view::before {
    transform-origin: left;
    animation: draw-rule 1.05s cubic-bezier(.28,.55,.28,1) backwards;
 }

  .deliverable-entry:nth-child(2).motion-in-view::before {
    animation-delay: 70ms;
 }

  .deliverable-entry:nth-child(3).motion-in-view::before {
    animation-delay: 140ms;
 }

  .button .icon {
    transition: transform .18s var(--scene-ease);
 }

  @media (hover: hover) {
    a.button.secondary:hover .icon { transform: translateX(3px); }
 }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
