/* ============================================================
   MOBILE PERFORMANCE — phones and small tablets (<=calc(900 * var(--u))).
   Loaded LAST on every page. The desktop look relies on very large
   gaussian blurs (100-250px), blend modes and per-frame blur scrubbing;
   phone GPUs choke on those. Here the same entrances play as fade + lift
   only, and the glow layers keep their look with a small blur and no
   blend mode. Nothing here touches desktop.
   ============================================================ */
@media (max-width:900px){

  /* --- glow layers (hero + footer): keep the desktop blur and blend modes so the
     gradient looks the same as on desktop (blur scales with width via --ua) --- */

  /* --- hero entrance: opacity + lift only, no calc(100 * var(--u)) blur tracks --- */
  .hero-curtain{filter:none;animation:heroCurtainOpacity 3.4s linear forwards;}
  .hero-name-adam,.hero-name-galante,.hero-sub{filter:none;will-change:opacity,translate;}
  .hero-name-adam{animation:heroAdamOpacity 3.4s linear forwards, heroAdamTranslate 3.4s linear forwards;}
  .hero-name-galante{animation:heroGalanteOpacity 3.4s linear forwards, heroGalanteTranslate 3.4s linear forwards;}
  .hero-sub{animation:heroSubOpacity 3.4s linear forwards;}
  .hero-block{filter:none !important;}

  /* --- Works cards: scrubbed blur removed (JS sets it inline) --- */
  .work-reveal{filter:none !important;}
  .work-copy,.work-copy.is-in{filter:none;}
  .work-copy{
    transition:opacity .55s var(--ease-site), translate .6s var(--ease-site);
    will-change:opacity,translate;
  }
  .work-copy.is-in{
    transition:opacity 1s var(--ease-site) .1s, translate 1.3s var(--ease-site) .1s;
  }

  /* --- footer entrance --- */
  .footer-reveal{filter:none;will-change:opacity,translate;}
  .footer h2.footer-reveal.is-in{
    animation:heroAdamOpacity 1.7s linear -.11s forwards, heroAdamTranslate 1.7s linear -.11s forwards;
  }
  .footer-icons.footer-reveal.is-in{
    animation:heroGalanteOpacity 1.7s linear -.11s forwards, heroGalanteTranslate 1.7s linear -.11s forwards;
  }
  .letter{will-change:auto;filter:none !important;}

  /* --- project pages + gallery: fade/lift without blur --- */
  .reveal{filter:none;will-change:opacity,translate;}
  .reveal.is-visible{filter:none;}
  .gal-item img{filter:none;}
}
