/* Bender & Bender: restrained interaction and reveal motion. */
@media (prefers-reduced-motion: no-preference) {
  /* Replace the older scroll-timeline effect with consistent one-time reveals. */
  .fade-section { animation: none !important; }
  .bb-motion-ready {
    opacity: .01;
    transform: translate3d(0,16px,0);
    transition: opacity .56s cubic-bezier(.2,.7,.3,1), transform .56s cubic-bezier(.2,.7,.3,1);
    transition-delay: var(--bb-motion-delay, 0ms);
    will-change: opacity, transform;
  }
  .story-image:not(.bb-motion-ready),
  .story-text h2:not(.bb-motion-ready),
  .story-text > p:not(.bb-motion-ready),
  .meet-person:not(.bb-motion-ready),
  .quote-slider:not(.bb-motion-ready),
  .quotes-section h2:not(.bb-motion-ready),
  .contact-cta-inner:not(.bb-motion-ready),
  .content-area .reading-column > h2:not(.bb-motion-ready),
  .method-chapter:not(.bb-motion-ready),
  .profile-layout:not(.bb-motion-ready),
  .cv-section:not(.bb-motion-ready) {
    opacity:1;
    transition:opacity .56s cubic-bezier(.2,.7,.3,1), transform .56s cubic-bezier(.2,.7,.3,1);
  }
  .home-hero .hero-text > h1 { animation: bb-hero-in .56s .05s both; }
  .home-hero .hero-text > p { animation: bb-hero-in .56s .15s both; }
  .home-hero .hero-buttons { animation: bb-hero-in .56s .24s both; }
  .home-hero .hero-botanical--left { animation:bb-leaf-in .7s .25s both; }
  .home-hero .hero-botanical--right { animation:bb-leaf-in .7s .33s both; }
  @keyframes bb-hero-in {
    from { opacity:0; transform:translate3d(0,12px,0); }
    to { opacity:1; transform:translate3d(0,0,0); }
  }
  @keyframes bb-leaf-in {
    from {opacity:0;}
    to {opacity:.94;}
  }
  .testimonial--slide.bb-quote-out {
    opacity:0;
    transform:translate3d(0,-4px,0);
    transition:opacity .18s ease, transform .18s ease;
  }
  .testimonial--slide.bb-quote-in { animation:bb-quote-in .38s ease both; }
  @keyframes bb-quote-in {
    from { opacity:0; transform:translate3d(0,7px,0); }
    to {opacity:1;transform:none;}
  }
  @media (hover:hover) and (pointer:fine) {
    .story-photo-stack:hover {transform:rotate(-2deg) translate3d(0,-5px,0);}
    .button:hover {transform:translateY(-2px);box-shadow:0 6px 14px rgba(40,48,37,.12);}
  }
}
@media (prefers-reduced-motion: reduce) {
  html {scroll-behavior:auto !important;}
  .fade-section, .hero-text > *, .hero-botanical,
  .testimonial--slide, .bb-motion-ready {
    animation:none !important;transition:none !important;
    opacity:1 !important;transform:none;
  }
  /* Keep the existing botanical rotation and placement. */
  .home-hero .hero-botanical--left {transform:rotate(-4deg);}
  .story-photo-stack {transition:none !important;}
  .button, .meet-photo img {transition:none !important;}
}
