/* Motion only: existing colors, typography and layout remain authoritative. */
:root{
  --motion-ease:cubic-bezier(.22,1,.36,1);
  --motion-duration:850ms;
  --motion-spotlight-shadow:0 18px 42px color-mix(in srgb,var(--sage) 24%,transparent),0 0 0 1px color-mix(in srgb,var(--sage) 38%,transparent);
}
.reveal{opacity:1;transform:none;}
[data-motion-reveal]{transition:opacity var(--motion-duration) var(--motion-ease),translate var(--motion-duration) var(--motion-ease);}
:root [data-motion-reveal="pending"]{opacity:0;translate:0 22px;}
:root [data-motion-reveal="visible"]{opacity:1;translate:0 0;}
.hero .hero-eyebrow,.hero h1,.hero p,.hero .hero-btns{animation-play-state:paused;animation-timing-function:var(--motion-ease);animation-duration:1.15s;}
.hero .hero-eyebrow{animation-delay:.08s;}
.hero h1{animation-delay:.22s;}
.hero p{animation-delay:.38s;}
.hero .hero-btns{animation-delay:.54s;}
.hero-motion-ready .hero .hero-eyebrow,.hero-motion-ready .hero h1,.hero-motion-ready .hero p,.hero-motion-ready .hero .hero-btns{animation-play-state:running;}
.experts-grid>.expert-card,.gallery-grid>.g-item{
  transition:opacity 650ms var(--motion-ease),translate var(--motion-duration) var(--motion-ease),scale 650ms var(--motion-ease),box-shadow 650ms var(--motion-ease),transform 650ms var(--motion-ease);
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .experts-grid:has(>.expert-card:hover)>.expert-card:not(:hover):not(:focus-within),
  .gallery-grid:has(>.g-item:hover)>.g-item:not(:hover):not(:focus-within){opacity:.62;scale:.985;}
  .experts-grid>.expert-card:hover,.experts-grid>.expert-card:focus-within,
  .gallery-grid>.g-item:hover{scale:1.025;transform:none;box-shadow:var(--motion-spotlight-shadow);z-index:2;}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  :root [data-motion-reveal],.reveal{opacity:1;translate:none;transform:none;transition:none;}
  .hero .hero-eyebrow,.hero h1,.hero p,.hero .hero-btns{opacity:1;transform:none;animation:none;}
  .hero-media video,.hero-media .hero-fallback,.strip-track,.loader-mark,.loader-line{animation:none;}
  .loader-mark{opacity:1;}
  .experts-grid>.expert-card,.gallery-grid>.g-item,.expert-photo img,.g-item img{transition:none;}
  .expert-card:hover,.expert-card:hover .expert-photo img,.g-item:hover img{transform:none;scale:1;}
}