/* Additive motion concept; typography, prices and portfolio remain the original design. */
:root { --motion-ease:cubic-bezier(.16,1,.3,1); }
.hero { isolation:isolate; }
.hero::before { content:''; pointer-events:none; position:absolute; width:75%; height:85%; right:-10%; top:0; background:radial-gradient(ellipse,#19548126,transparent 67%); z-index:-1; }
.showcase-screen { isolation:isolate; }
.showcase-screen::after { content:''; position:absolute; inset:-50%; pointer-events:none; background:linear-gradient(110deg,transparent 35%,#ffffff18 48%,#a5dcff27 50%,transparent 63%); transform:translateX(-100%) rotate(-8deg); }
.motion-enabled .showcase-main::after { animation:screen-light 2.6s ease 1.2s 1 both; }
.motion-enabled .showcase-secondary::after { animation:screen-light 2.6s ease 1.7s 1 both; }
@keyframes screen-light { to { transform:translateX(100%) rotate(-8deg); } }
.scroll-cue { display:inline-block; }
.motion-enabled .scroll-cue { animation:scroll-cue 1.8s ease-in-out 3; }
@keyframes scroll-cue { 0%,100% { transform:translateY(0); } 50% { transform:translateY(6px); } }
.work-section { overflow:visible; }
.project-list { gap:110px; }
.project-row { perspective:1400px; position:relative; min-height:480px; }
.project-visual { transform-origin:50% 65%; box-shadow:0 25px 80px #0005; position:relative; isolation:isolate; }
.project-visual::after { content:''; position:absolute; inset:-1px; border:1px solid #77caff; border-radius:inherit; opacity:var(--roll-glow,0); pointer-events:none; box-shadow:0 0 35px #359fe729; }
.motion-enabled .project-visual { transform:translate3d(var(--roll-x,0px),var(--roll-y,0px),0) rotateY(var(--roll-turn,0deg)) rotateZ(var(--roll-rotate,0deg)) scale(var(--roll-scale,1)); }
.project-media img { transform:none; transition:transform .65s var(--motion-ease); }
@media(hover:hover) and (pointer:fine) { .project-visual:hover .project-media img { transform:scale(1.045); } }
.project-row:focus-within .project-visual { transform:none; }
.services article { overflow:hidden; }
.services article::before { content:''; position:absolute; inset:0; border-radius:inherit; background:radial-gradient(230px circle at var(--pointer-x,50%) var(--pointer-y,0%),#79cfff17,transparent 75%); opacity:0; transition:opacity .3s; pointer-events:none; }
@media(hover:hover) and (pointer:fine) { .services article:hover::before { opacity:1; } .services article:hover .service-icon { transform:translateY(-3px) rotate(-7deg); border-color:#5cc5ff; } }
.service-icon { transition:transform .45s var(--motion-ease),border-color .35s; }
.text-link { position:relative; }
.text-link::after { content:''; position:absolute; bottom:-1px; left:0; height:1px; width:100%; background:#9addff; transform:scaleX(0); transform-origin:left; transition:transform .4s var(--motion-ease); }
.text-link:hover::after,.text-link:focus-visible::after { transform:scaleX(1); }
.button { position:relative; overflow:hidden; isolation:isolate; }
.button::after { content:''; position:absolute; inset:-60%; background:linear-gradient(110deg,transparent 42%,#fff5 50%,transparent 58%); transform:translateX(-100%); pointer-events:none; }
.motion-enabled .button:hover::after { animation:button-light .75s ease; }
@keyframes button-light { to { transform:translateX(100%); } }
.prices article { transition:border-color .3s,box-shadow .3s; }
.prices article:hover { border-color:#5b9cbe; box-shadow:0 12px 38px #0005; }
.process-grid li::before { transition:transform 1.2s var(--motion-ease); transition-delay:var(--step-delay,0ms); }
.contact { isolation:isolate; }
.contact::before { content:''; position:absolute; inset:10% -10% 0; z-index:-1; background:radial-gradient(ellipse at 50% 80%,#1476b52a,transparent 67%); opacity:var(--contact-glow,.7); pointer-events:none; }
.faq-list details[open] { border-color:#4b718b; }
dialog[open] { animation:panel-in .45s var(--motion-ease); }
@keyframes panel-in { from { opacity:0; transform:translateY(28px) scale(.96); } to { opacity:1; transform:none; } }
.motion-off *, .motion-off *::before, .motion-off *::after { animation:none!important; transition:none!important; }
.motion-off { scroll-behavior:auto; }
.motion-off .project-visual { transform:none; }
.motion-off .showcase-main { transform:rotate(-4deg); }
.motion-off .showcase-secondary { transform:rotate(5deg); }
.motion-off .process-grid li::before { transform:scaleX(1); }
@media(max-width:760px) { .project-row { min-height:0; } .project-list { gap:65px; } .hero::before { right:0; } }
@media(prefers-reduced-motion:reduce) { .project-visual { transform:none!important; } .scroll-cue { animation:none; } }
/* The public offer and accessible motion control. */
.free-preview { display:grid; grid-template-columns:1fr 1.1fr; gap:56px; padding:44px; margin-top:10px; margin-bottom:60px; border:1px solid #35556e; border-radius:16px; background:radial-gradient(ellipse at top left,#163b5355,transparent 70%),#0b121e; }
.free-preview h2 { font-size:clamp(32px,4vw,52px); font-weight:500; line-height:1.12; }
.free-preview-copy>p { color:var(--muted); margin-bottom:18px; }
.free-preview-copy .button { margin-top:8px; }
#requestType { display:block; width:100%; margin:8px 0 20px; padding:13px 12px; border:1px solid #466079; border-radius:7px; background:#0d1725; color:#f3f7fc; font:inherit; }
#motionToggle { background:none; color:#a9bfd2; border:1px solid #35516a; border-radius:20px; padding:7px 12px; font:inherit; font-size:11px; cursor:pointer; }
#motionToggle[hidden] { display:none; }
#motionToggle:focus-visible,#requestType:focus-visible { outline:2px solid #79d0ff; outline-offset:4px; }
@media(max-width:760px) { .free-preview { grid-template-columns:1fr; padding:28px 22px; gap:24px; margin-bottom:30px; } .free-preview .button,.hero .actions>.button,.contact>.button { max-width:100%; white-space:normal; text-align:center; } .hero .actions>.button { padding-inline:16px; font-size:12px; } .free-preview .button { padding-inline:12px; font-size:12px; } }
@media print { .project-visual { transform:none!important; } #motionToggle { display:none; } }
