/* Independent translate/scale preserve existing skew and perspective transforms. */
.motion-enabled .motion-item {
  opacity:0;
  translate:0 24px;
  transition:opacity .55s cubic-bezier(.2,.65,.3,1), translate .65s cubic-bezier(.2,.65,.3,1), scale .65s cubic-bezier(.2,.65,.3,1), filter .55s ease;
  transition-delay:var(--reveal-delay,0ms);
}
.motion-enabled .motion-photo {
  scale:.97;
  filter:blur(3px);
}
.motion-enabled .motion-item.motion-visible {
  opacity:1;
  translate:0 0;
  scale:1;
  filter:none;
}
.motion-icon { transform-origin:center; transform-box:fill-box; }
.motion-visible .motion-icon {
  animation-duration:.65s;
  animation-delay:calc(var(--reveal-delay,0ms) + 80ms);
  animation-timing-function:cubic-bezier(.2,.65,.3,1);
  animation-iteration-count:1;
}
.motion-visible .motion-icon-pulse { animation-name:icon-pulse; }
.motion-visible .motion-icon-lift { animation-name:icon-lift; }
.motion-visible .motion-icon-rise { animation-name:icon-rise; }
.motion-visible .motion-icon-expand { animation-name:icon-expand; }
.motion-visible .motion-icon-slide { animation-name:icon-slide; }
.motion-visible .motion-icon-tilt { animation-name:icon-tilt; }
.motion-visible .motion-icon-turn { animation-name:icon-turn; }
@keyframes icon-pulse { 0%,100% { transform:scale(1); } 45% { transform:scale(1.08); } }
@keyframes icon-lift { 0%,100% { transform:translateY(0); } 45% { transform:translateY(-4px); } }
@keyframes icon-rise { from { transform:translateY(5px); } to { transform:translateY(0); } }
@keyframes icon-expand { 0% { transform:scale(.88); } 65% { transform:scale(1.05); } 100% { transform:scale(1); } }
@keyframes icon-slide { 0%,100% { transform:translateX(0); } 50% { transform:translateX(3px); } }
@keyframes icon-tilt { 0%,100% { transform:rotate(0); } 45% { transform:rotate(-9deg); } }
@keyframes icon-turn { from { transform:rotate(-35deg); } to { transform:rotate(0); } }
.turnkey-steps li.motion-visible::after { animation:icon-slide .5s ease calc(var(--reveal-delay,0ms) + 150ms) 1; }
.turnkey-inclusions li.motion-visible::before { animation:check-pop .5s ease calc(var(--reveal-delay,0ms) + 100ms) 1; }
@keyframes check-pop { from { scale:.85; } to { scale:1; } }
.location-thumbnail { transition:border-color .2s, box-shadow .2s, scale .2s; }
.quote-button, .location-map, .location-gallery-arrow, .strategic-map-open {
  transition:scale .2s, filter .2s, box-shadow .2s, background .2s;
}
.quote-button:active, .location-map:active, .location-gallery-arrow:active, .strategic-map-open:active { scale:.98; }
@media(hover:hover) and (pointer:fine) {
  .location-features li, .turnkey-steps li, .benefits li, .strategic-benefits li { transition:translate .25s, border-color .25s, box-shadow .25s; }
  .motion-enabled .motion-item.motion-visible:is(.location-features li, .turnkey-steps li, .benefits li, .strategic-benefits li):hover { translate:0 -3px; transition-delay:0ms; }
  .location-features li:hover { border-color:#eb5e2b80; box-shadow:0 8px 22px #0003; }
  .quote-button:hover, .location-map:hover, .location-gallery-arrow:hover, .strategic-map-open:hover { scale:1.015; }
  .quote-button:hover .button-arrow, .location-map:hover > span, .final-submit:hover > span { translate:3px 0; }
  .button-arrow, .location-map > span, .final-submit > span { transition:translate .2s; }
  .location-thumbnail:hover { scale:1.025; box-shadow:0 3px 10px #0003; }
  .location-features li:hover svg, .turnkey-steps li:hover svg, .strategic-benefits li:hover svg { scale:1.06; }
  .location-features svg, .turnkey-steps svg, .strategic-benefits svg { transition:scale .2s; }
}
@media(max-width:760px) {
  .motion-enabled .motion-item { translate:0 9px; transition-duration:.4s; transition-delay:min(var(--reveal-delay,0ms),250ms); }
  .motion-enabled .motion-photo { filter:blur(1px); scale:.985; }
}
@media(prefers-reduced-motion:reduce) {
  .motion-enabled .motion-item, .motion-enabled .motion-photo { opacity:1; translate:none; scale:1; filter:none; }
  .motion-item, .motion-icon, .turnkey-steps li::after, .turnkey-inclusions li::before { animation:none!important; transition:none!important; }
  .quote-button, .location-map, .location-gallery-arrow, .strategic-map-open, .location-thumbnail, .button-arrow, .final-submit > span { transition:none!important; scale:1!important; translate:none!important; }
}
/* Shared final pass: staggered LED activation and fine-grained global reveals. */
.motion-enabled .offer-timeline li.motion-item {
  box-shadow:0 0 1px rgba(var(--led-rgb),.18);
  transition:opacity .65s ease,translate .7s cubic-bezier(.2,.65,.3,1),scale .7s cubic-bezier(.2,.65,.3,1),filter .6s ease,box-shadow .8s ease;
  transition-delay:var(--reveal-delay,0ms);
}
.motion-enabled .offer-timeline li.motion-visible {
  box-shadow:0 0 3px 1px rgba(var(--led-rgb),.95),0 0 13px rgba(var(--led-rgb),.58),0 0 26px rgba(var(--led-rgb),.24),inset 0 0 9px rgba(var(--led-rgb),.25);
}
.motion-enabled .offer-timeline li::after {
  opacity:0;
  transition:opacity .6s ease calc(var(--reveal-delay,0ms) + 220ms);
}
.motion-enabled .offer-timeline li.motion-visible::after { opacity:1; }
.offer-timeline li.motion-visible .offer-stage-heading::before { animation:check-pop .55s ease calc(var(--reveal-delay,0ms) + 180ms) 1; }
@media(hover:hover) and (pointer:fine) {
  .motion-enabled .offer-timeline li.motion-visible:hover { translate:0 -3px; transition-delay:0ms; box-shadow:0 0 4px 1px rgba(var(--led-rgb),1),0 0 19px rgba(var(--led-rgb),.8),0 0 36px rgba(var(--led-rgb),.38),inset 0 0 12px rgba(var(--led-rgb),.38); }
  .offer-services li,.offer-design,.offer-modalities article { transition:translate .25s,box-shadow .25s; }
  .motion-enabled :is(.offer-services li,.offer-design,.offer-modalities article).motion-visible:hover { translate:0 -3px; transition-delay:0ms; }
  .footer-contact-link:hover .motion-icon { scale:1.06; }
}
@media(max-width:760px) {
  .motion-enabled .offer-timeline li.motion-item { translate:0 9px; transition-duration:.45s; transition-delay:min(var(--reveal-delay,0ms),250ms); }
  .motion-enabled .offer-timeline li.motion-visible { translate:0 0; }
}
@media(prefers-reduced-motion:reduce) {
  .motion-enabled .offer-timeline li.motion-item { opacity:1; translate:none; scale:1; filter:none; transition:none; }
  .motion-enabled .offer-timeline li::after { opacity:1; transition:none; }
  .offer-stage-heading::before { animation:none!important; }
}
