/* Interaction and motion: only enabled when the visitor allows it. */
@media (prefers-reduced-motion: no-preference) {
  .btn, .top-cta, .case-read, .gallery-controls button {
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  }
  .btn:active, .top-cta:active, .case-read:active { transform: translateY(1px) scale(.985); }
  .btn .icon, .service-guide .icon, .inline-link .icon, .case-read .icon { transition: transform 200ms ease; }
  .btn:hover .icon, .service-guide:hover .icon, .inline-link:hover .icon, .case-read:hover .icon { transform: translate(2px,-2px); }
  .case-photo img { transition: transform 450ms cubic-bezier(.2,.7,.2,1), box-shadow 450ms ease; }
  .case:hover .case-photo img, .case:focus-within .case-photo img {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 18px 40px #17172440;
  }
  .case:focus-within .case-read { background:#f4ebff; }
  .offer summary .icon, .question-list summary .icon { transition: transform 220ms ease; }
  #case-sheet[open]::backdrop { animation: backdrop-in 220ms ease; }
  .head nav a { position:relative; }
  .head nav a::after { content:""; position:absolute; inset:auto 0 -5px; height:1px; background:currentColor; transform:scaleX(0); transform-origin:left; transition:transform 200ms ease; }
  .head nav a:hover::after, .head nav a:focus-visible::after { transform:scaleX(1); }
  .head nav a:hover { text-decoration:none; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .campaign .monitor {
    transform:perspective(950px) rotateY(calc(-9deg + var(--tilt-y,0deg))) rotateX(calc(3deg + var(--tilt-x,0deg))) rotateZ(-3deg);
    transition:transform 280ms ease-out;
  }
  .btn:hover, .top-cta:hover { transform:translateY(-2px); box-shadow:0 8px 20px #1711261c; }
}
@keyframes backdrop-in { from { opacity:0; } to { opacity:1; } }

/* The animated scene is separate from the headline, links and gallery controls. */
.showcase-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:49px; padding:4px 18px; position:relative; z-index:2; }
.showcase-label { display:flex; align-items:center; gap:12px; color:#e9e0ff; font-size:12px; }
.showcase-label .counter { color:#b6aecf; font-size:10px; }
#motion-toggle { display:inline-flex; align-items:center; gap:7px; padding:9px 2px; background:transparent; color:#e9e0ff; font-size:11px; min-height:36px; }
#motion-toggle:hover { color:#fff; }
.motion-toggle-icon { width:10px; height:10px; border-inline:3px solid currentColor; }
#motion-toggle[data-paused="true"] .motion-toggle-icon { border:0; background:currentColor; clip-path:polygon(0 0,100% 50%,0 100%); }
.campaign .stage { aspect-ratio:1.8; overflow:hidden; }
.monitor-float { width:77%; position:relative; z-index:1; }
.campaign .monitor { width:100%; margin-top:0; }
.orbital-field { position:absolute; inset:0; pointer-events:none; }
.orbit { position:absolute; width:94%; height:84%; left:3%; top:8%; border:1px solid #c7afff40; border-radius:50%; transform:rotate(-23deg); }
.orbit-two { width:80%; height:105%; left:10%; top:-2.5%; transform:rotate(34deg); border-color:#a4dfff2b; }
.orbit i { display:block; position:absolute; inset:-1px; border-radius:50%; }
.orbit i::before { content:""; position:absolute; left:50%; top:-3px; width:7px; height:7px; border-radius:50%; background:#e1ceff; box-shadow:0 0 14px 4px #aa76ff80; }
.orbit-two i::before { background:#aee7ff; box-shadow:0 0 14px 4px #92dfff60; width:5px; height:5px; }
.stage-glow { position:absolute; width:65%; height:55%; left:18%; top:24%; border-radius:50%; background:radial-gradient(ellipse,#9773ed4d,transparent 70%); }
.project-progress { display:flex; gap:6px; padding:4px 18px 13px; }
.project-progress>span { display:block; height:3px; flex:1; overflow:hidden; border-radius:4px; background:#d8caff30; }
.project-progress i { display:block; height:100%; background:#d8c4ff; transform:scaleX(0); transform-origin:left; }
.project-progress .is-current i,.project-progress .is-complete i { transform:scaleX(1); }
.show-foot { min-height:140px; }
.show-title { grid-template-columns:1fr; flex:1; min-width:0; }
.show-title a { display:block; font-size:clamp(18px,1.7vw,22px); }
.show-title a .icon { display:inline-block; vertical-align:middle; }
.gallery-controls { flex-shrink:0; }
@media (prefers-reduced-motion: no-preference) {
  .motion-ready::before { animation:sculpture-drift 16s ease-in-out infinite alternate; }
  .motion-ready .monitor-float { animation:screen-float 6s ease-in-out infinite; }
  .motion-ready .orbit-one i { animation:orbit-travel 9s linear infinite; }
  .motion-ready .orbit-two i { animation:orbit-travel 13s linear infinite reverse; }
  .motion-ready .stage-glow { animation:glow-drift 8s ease-in-out infinite alternate; }
  .motion-ready::before, .motion-ready .monitor-float, .motion-ready .orbit i, .motion-ready .stage-glow { animation-play-state:paused; }
  .motion-playing::before, .motion-playing .monitor-float, .motion-playing .orbit i, .motion-playing .stage-glow { animation-play-state:running; }
}
@keyframes screen-float {
  0%,100% { transform:translateY(9px) rotate(-1deg); }
  50% { transform:translateY(-13px) rotate(1deg); }
}
@keyframes orbit-travel { to { transform:rotate(360deg); } }
@keyframes sculpture-drift {
  from { transform:translate3d(-1%,1%,0) scale(1.03) rotate(-2deg); opacity:.65; }
  to { transform:translate3d(3%,-2%,0) scale(1.12) rotate(3deg); opacity:.9; }
}
@keyframes glow-drift {
  from { transform:translateX(-18%) scale(.9); opacity:.5; }
  to { transform:translateX(18%) scale(1.2); opacity:1; }
}
@media(max-width:720px) {
  .showcase-toolbar { padding-inline:13px; min-height:45px; }
  .showcase-label { gap:8px; }
  .campaign .stage { aspect-ratio:1.95; }
  .monitor-float { width:72%; }
  .show-title { gap:3px; }
  .project-progress { padding-inline:13px; }
}
