/* Motion direction: purposeful, architectural, measured. */
.schematic-reveal { display:flow-root; }
@media (prefers-reduced-motion: no-preference) {
  .hero-image { animation: cinematic 15s cubic-bezier(.2,.65,.3,1) both; }
  .hero-content h1 { animation: arrive .8s cubic-bezier(.2,.7,.25,1) .08s both; }
  .hero-content p { animation: arrive .8s cubic-bezier(.2,.7,.25,1) .25s both; }
  .hero-content .actions { animation: arrive .8s cubic-bezier(.2,.7,.25,1) .4s both; }
  .hero-ruler { animation: measure 1.4s cubic-bezier(.2,.7,.25,1) .55s both; }
  /* Remain unrevealed until the image is loaded and on screen. */
  .motion-ready .contact-schematic:not(.in-view) { opacity:0; clip-path:inset(0 100% 0 0); transform:translateY(12px); }
  .motion-ready .contact-schematic.in-view { animation:schematic-draw 1.8s cubic-bezier(.25,.65,.3,1) both; }
  @keyframes schematic-draw {
    from { opacity:0; clip-path:inset(0 100% 0 0); transform:translateY(12px); }
    20% { opacity:1; }
    to { opacity:1; clip-path:inset(0); transform:translateY(0); }
  }
  .motion-ready [data-reveal] { opacity:0; transform:translateY(13px); transition:opacity .65s ease,transform .65s cubic-bezier(.2,.7,.25,1); transition-delay:var(--delay,0ms); }
  .motion-ready [data-reveal].visible { opacity:1; transform:translateY(0); }
  .motion-ready .sector[data-reveal] { transform:translateY(16px) scale(.985); }
  .motion-ready .sector[data-reveal].visible { transform:translateY(0) scale(1); }
  /* Simple reveal: cards retain their dimensions and their native hover states. */
  .motion-ready .service[data-unfold]:not(.visible):not(:focus-within) { opacity:0; }
  .motion-ready .service[data-unfold].visible { animation:service-arrive .6s ease-out var(--delay,0ms) backwards; }
  .motion-ready .service[data-unfold]:focus-within { animation:none; opacity:1; }
  @keyframes service-arrive { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
  .sector img { transition:transform .65s cubic-bezier(.2,.7,.25,1); }
  .sector:hover img { transform:scale(1.075); }
  .motion-ready .approach-ruler { clip-path:inset(0 100% 0 0); }
  .motion-ready .approach.in-view .approach-ruler { animation:measure 1.3s .45s both; }
  .motion-ready .step-icon { opacity:0; transform:scale(.82); }
  .motion-ready .steps article.visible .step-icon { animation:stamp .65s var(--delay,0ms) both; }
  .motion-ready .footer-motion path { stroke-dasharray:800; stroke-dashoffset:800; }
  .motion-ready .footer.in-view .footer-motion path { animation:draw 1.5s cubic-bezier(.3,.6,.3,1) both; }
  .footer-motion path:nth-child(2) { animation-delay:.12s!important; }
  .footer-motion path:nth-child(3) { animation-delay:.24s!important; }
  .footer-motion path:nth-child(4) { animation-delay:.36s!important; }
  @keyframes cinematic { from { transform:scale(1.075) translateX(5px); } to { transform:scale(1); } }
  @keyframes arrive { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
  @keyframes measure { from { clip-path:inset(0 100% 0 0); } to { clip-path:inset(0); } }
  @keyframes draw { to { stroke-dashoffset:0; } }
  @keyframes stamp { to { opacity:1; transform:scale(1); } }
}
