/* Shared cinematic layer. No rendering library or build step required. */
:root{--bg:#090911;--bg2:#10101d;--accent:#b7a2ff;--accent2:#8963f7;--accent3:#b8f7d4;--muted:#a3a3b8}
html{scroll-padding-top:100px}
body{background:radial-gradient(ellipse at 100% 45%,#171229 0,transparent 35%),var(--bg)}
body::after{content:'';position:fixed;inset:0;pointer-events:none;z-index:60;opacity:.025;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.6' d='M0 0h180v180H0z'/%3E%3C/svg%3E")}
:focus-visible{outline:2px solid #c9bbff;outline-offset:6px}
.skip-link{position:fixed;top:10px;left:20px;z-index:100;padding:12px 20px;background:#c9bbff;color:#111;transform:translateY(-150%)}
.skip-link:focus{transform:none}
#navbar{background:linear-gradient(#090911e8,#09091100)}
#navbar.scrolled{background:#090911e8;border-color:#ffffff12}
#navbar nav{min-height:88px}
#mobileMenu{background:#11101ff5;border-color:#b9a1ff22}
.btn-primary{background:#c7b6ff;color:#171026;box-shadow:0 0 28px #9971ff14}
.btn-primary:hover{box-shadow:0 8px 40px #9971ff40}
.btn-ghost{background:#ffffff03}
.grad-text{background-image:linear-gradient(115deg,#f0e9ff,#bca3ff 65%,#92cab6)}
.glass{background:linear-gradient(140deg,#ffffff07,#ffffff02);border-color:#ffffff10;box-shadow:0 16px 45px #00000015}
.hero-studio{min-height:850px!important;min-height:100svh!important;background:#090911;isolation:isolate}
.hero-film{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.7;pointer-events:none;z-index:-3}
.hero-studio::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#090911f0,transparent 80%),linear-gradient(0deg,#090911,transparent 30%);z-index:-2}
.hero-studio::after{content:'';position:absolute;inset:0;z-index:-1;background-image:linear-gradient(#ffffff03 1px,transparent 1px),linear-gradient(90deg,#ffffff03 1px,transparent 1px);background-size:80px 80px;mask-image:linear-gradient(transparent,#000)}
.hero-layout{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:24px;padding-top:160px;padding-bottom:115px}
.hero-eyebrow{display:flex;align-items:center;gap:10px;font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:#c7c3da;margin-bottom:28px}
.status-dot{width:6px;height:6px;background:#b8f7d4;border-radius:50%;box-shadow:0 0 12px #b8f7d488}
.hero-title{font-size:clamp(54px,6.4vw,88px);font-weight:700;line-height:1.04;letter-spacing:-.065em;margin:0 0 28px}
.hero-title em{font-style:normal;color:#c0a6ff}
.hero-copy{max-width:435px;font-size:16px;line-height:1.85;color:#a8a5ba;margin-bottom:32px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.hero-actions a{padding:15px 24px;font-size:13px;border-radius:9px;display:inline-flex;gap:22px;align-items:center}
.hero-proof{display:flex;align-items:center;gap:16px;margin-top:38px;color:#868399;font-size:11px}
.hero-proof::before{content:'';width:30px;height:1px;background:#776390}
.universe{position:relative;width:100%;height:530px;perspective:1000px}
.universe-scene{position:absolute;inset:0;transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform .6s ease-out;transform-style:preserve-3d}
#universe-canvas{position:absolute;width:100%;height:100%;inset:0;pointer-events:none}
.core-glow{position:absolute;left:20%;top:20%;width:60%;height:60%;border-radius:50%;background:radial-gradient(circle at 35% 28%,#bca1ff16,#8054d909 50%,#aa78ff15 70%,transparent 72%);box-shadow:inset -18px -12px 55px #a67cff10,0 0 80px #8a5aff12}
.orbit{position:absolute;left:5%;top:17%;width:90%;height:65%;border:1px solid #bb98ff30;border-radius:50%;transform:rotate(-28deg) rotateX(62deg);box-shadow:0 0 14px #ac7fff09}
.orbit-two{transform:rotate(42deg) rotateX(65deg);border-color:#b9f6d222}
.core-word{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;pointer-events:none;color:#eee7ff;text-shadow:0 0 35px #a682ff66}
.core-word strong{font-family:'Syne',sans-serif;font-size:32px;letter-spacing:-.05em}
.core-word span{font-size:8px;letter-spacing:.34em;color:#aba0c5;margin-top:9px}
.app-satellite{position:absolute;z-index:2;display:flex;align-items:center;gap:12px;padding:15px 18px;width:174px;border:1px solid #ffffff20;border-radius:16px;background:linear-gradient(130deg,#30263de8,#15141fe8);box-shadow:0 20px 40px #0005,inset 0 1px #ffffff0d;backdrop-filter:blur(16px);animation:satellite-float var(--float-duration,7s) ease-in-out infinite;transition:border-color .3s,box-shadow .3s}
.app-satellite:hover,.app-satellite:focus-visible{border-color:#c7b6ff99;box-shadow:0 16px 50px #9c6aff30}
.app-satellite img{width:43px;height:43px;object-fit:contain;filter:drop-shadow(0 7px 9px #0008)}
.app-satellite strong{display:block;font-size:14px;font-weight:500;color:#eeeaf8}
.app-satellite small{display:block;font-size:10px;line-height:1.5;color:#a9a1b8;margin-top:3px}
.satellite-sport{top:15%;left:0;--angle:-8deg}
.satellite-club{top:24%;right:-1%;--angle:8deg;animation-delay:-2s}
.satellite-note{bottom:15%;left:3%;--angle:-5deg;animation-delay:-4s}
.satellite-eye{bottom:8%;right:0;--angle:7deg;animation-delay:-1s}
.scene-caption{position:absolute;bottom:0;width:100%;text-align:center;font-size:9px;letter-spacing:.2em;color:#777185;text-transform:uppercase}
@keyframes satellite-float{0%,100%{transform:translate3d(0,0,35px) rotate(var(--angle))}50%{transform:translate3d(0,-15px,55px) rotate(calc(var(--angle) + 3deg))}}
.hero-foot{position:absolute;bottom:26px;left:0;right:0;display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:9px;text-transform:uppercase;letter-spacing:.18em;color:#8c879e}
.hero-foot a{display:flex;gap:14px;align-items:center}
.motion-toggle{display:inline-flex;align-items:center;gap:8px;padding:9px 13px;border:1px solid #ffffff1c;border-radius:30px;background:#13101dde;color:#bbb3cf;font-family:inherit;font-size:10px;cursor:pointer;letter-spacing:.03em}
.motion-toggle:hover{border-color:#c7b6ff88;color:#eee}
.product-motion{position:fixed;bottom:18px;right:18px;z-index:45}
.marquee{font-size:15px!important;letter-spacing:.04em;gap:40px;animation-duration:45s}
.marquee-shell{background:#0d0c15!important;padding:23px 0!important;border-color:#ffffff0a!important}
#services .tag,#about .tag,#projects .tag,#process .tag,#contact .tag{letter-spacing:.22em}
#services .card-hover{position:relative;overflow:hidden;border-radius:20px;padding:32px;transform:perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform .35s,border-color .35s}
#services .card-hover:hover{border-color:#bda2ff44;background:radial-gradient(circle at var(--mx,50%) var(--my,50%),#a67aff0d,transparent 70%),#ffffff03}
.service-icon{background:#a481ff0c;border-color:#ad8aff26;color:#c2a8ff!important}
.project-card{transform:perspective(1000px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform .35s,border-color .35s;box-shadow:0 20px 60px #0003}
.project-card:hover{transform:perspective(1000px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(-6px);border-color:#bba0ff55}
.project-visual{height:280px;perspective:800px;background:radial-gradient(ellipse at 50% 55%,#8270aa13,transparent 70%)}
.project-visual::after{content:'';position:absolute;width:180px;height:70px;border:1px solid #ffffff18;border-radius:50%;bottom:30px;box-shadow:0 12px 25px #0005,inset 0 0 28px #ffffff05;transform:rotateX(55deg)}
.project-logo{animation:logo-levitate 6s ease-in-out infinite;max-width:65%;object-fit:contain}
.project-card:nth-child(2) .project-logo{animation-delay:-1.5s}.project-card:nth-child(3) .project-logo{animation-delay:-3s}.project-card:nth-child(4) .project-logo{animation-delay:-4.5s}
@keyframes logo-levitate{0%,100%{transform:translateY(0) rotateY(-12deg) rotateZ(-3deg);filter:drop-shadow(0 20px 16px #0008)}50%{transform:translateY(-16px) rotateY(14deg) rotateZ(3deg);filter:drop-shadow(0 34px 22px #0006)}}
.product-hero-logo{animation:logo-levitate 7s ease-in-out infinite}
.product-hero-visual{perspective:900px}
.reveal{opacity:1;transform:none}.js-motion .reveal:not(.visible){opacity:0;transform:translateY(28px)}
.motion-paused *, .motion-paused *::before,.motion-paused *::after{animation-play-state:paused!important;scroll-behavior:auto!important}
.motion-paused .universe-scene,.motion-paused .card-hover{transform:none!important}
@media(min-width:1100px){#projects>.grid{gap:28px}#projects .project-visual{height:300px}}
@media(max-width:900px){.hero-layout{grid-template-columns:1fr 1fr;gap:0}.hero-title{font-size:60px}.universe{height:440px}.app-satellite{width:145px;padding:12px;gap:8px}.app-satellite img{width:34px;height:34px}.app-satellite strong{font-size:12px}.app-satellite small{font-size:9px}.core-word strong{font-size:25px}}
@media(max-width:700px){#navbar nav{min-height:76px}.hero-layout{grid-template-columns:1fr;padding-top:130px;padding-bottom:95px}.hero-title{font-size:clamp(52px,12vw,76px)}.hero-copy{font-size:15px;max-width:470px}.hero-eyebrow{font-size:9px}.hero-proof{margin-top:25px}.universe{height:410px;max-width:440px;margin:10px auto 0}.hero-foot{bottom:22px;font-size:8px}.hero-foot>span{display:none}.hero-actions a{padding:14px 19px}.app-satellite{width:148px}.satellite-sport{left:2%}.satellite-club{right:2%}.satellite-note{left:3%}.satellite-eye{right:2%}.scene-caption{bottom:-5px}.project-visual{height:250px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.js-motion .reveal:not(.visible){opacity:1;transform:none}.universe-scene,.card-hover{transform:none!important}}

/* Sculptural stage: foreground, object, horizon and distant light. */
.hero-studio{background:radial-gradient(ellipse at 75% 35%,#21103e 0,#090911 65%)}
.hero-film{opacity:.95;mix-blend-mode:screen}
.hero-studio::before{background:linear-gradient(90deg,#090911ed 5%,#09091188 38%,transparent 75%),linear-gradient(0deg,#090911,transparent 25%)}
.hero-studio::after{background:radial-gradient(ellipse at 80% 40%,#8040ff24,transparent 55%);mask-image:none}
.hero-layout{max-width:1440px!important;grid-template-columns:.92fr 1.08fr;gap:0;padding-inline:64px;padding-top:130px;padding-bottom:130px}
.hero-title{font-size:clamp(64px,6.6vw,100px);text-shadow:0 12px 38px #0008;letter-spacing:-.065em}
.hero-title em{background:linear-gradient(115deg,#ede1ff 5%,#bb8bff 48%,#8063f2);background-clip:text;-webkit-background-clip:text;color:transparent;filter:drop-shadow(0 7px 0 #56318a44) drop-shadow(0 20px 30px #8f44ff25)}
.hero-watermark{position:absolute;top:12%;right:-1%;font-family:'Syne',sans-serif;font-size:clamp(100px,20vw,330px);line-height:1;font-weight:800;letter-spacing:-.08em;color:transparent;-webkit-text-stroke:1px #c19bff12;pointer-events:none;z-index:-1}
.depth-floor{position:absolute;bottom:-240px;left:-40%;width:180%;height:600px;transform:perspective(450px) rotateX(65deg);transform-origin:center top;background-image:linear-gradient(#bb8bff24 1px,transparent 1px),linear-gradient(90deg,#bb8bff24 1px,transparent 1px);background-size:75px 75px;mask-image:radial-gradient(ellipse at 65% 30%,#000,transparent 62%);pointer-events:none}
.universe{height:650px;perspective:1100px}
.universe-scene{transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform .8s cubic-bezier(.2,.7,.2,1)}
#universe-canvas{transform:translateZ(-1px)}
.core-glow{left:16%;top:12%;width:70%;height:70%;filter:blur(32px);background:radial-gradient(ellipse,#7934ed22,transparent 65%);box-shadow:none;transform:translateZ(-90px)}
.orbit{left:0;top:18%;width:100%;height:65%;border-color:#c094ff38;transform:translateZ(-55px) rotate(-28deg) rotateX(68deg);box-shadow:0 0 30px #aa67ff12}
.orbit-two{transform:translateZ(-80px) rotate(35deg) rotateX(65deg);border-color:#91fff329}
.app-satellite{width:174px;min-height:86px;padding:16px;background:linear-gradient(135deg,#4a3652ec,#171323f5 65%);border-color:#e4cfff50;box-shadow:0 35px 45px #0009,0 6px 0 #151020,0 7px 0 #b09acb40,inset 0 1px #ffffff35;backdrop-filter:blur(20px)}
.app-satellite img{width:48px;height:48px;flex-shrink:0;transform:translateZ(25px)}
.app-satellite small{color:#c7bed5}
.satellite-sport{top:11%;left:0;--depth:70px;--angle:-12deg}
.satellite-club{top:16%;right:0;--depth:-35px;--angle:10deg;opacity:.9}
.satellite-note{bottom:13%;left:1%;--depth:100px;--angle:-8deg}
.satellite-eye{bottom:14%;right:-1%;--depth:55px;--angle:12deg}
@keyframes satellite-float{
  0%,100%{transform:translate3d(0,8px,var(--depth,35px)) rotateX(8deg) rotateY(-12deg) rotateZ(var(--angle))}
  25%{transform:translate3d(var(--drift,12px),-12px,calc(var(--depth,35px) + 18px)) rotateX(-4deg) rotateY(4deg) rotateZ(calc(var(--angle) + 5deg))}
  50%{transform:translate3d(0,-30px,calc(var(--depth,35px) + 36px)) rotateX(-9deg) rotateY(14deg) rotateZ(calc(var(--angle) + 8deg))}
  75%{transform:translate3d(calc(var(--drift,12px) * -1),-8px,calc(var(--depth,35px) + 12px)) rotateX(4deg) rotateY(-2deg) rotateZ(calc(var(--angle) - 3deg))}
}
.satellite-sport{--float-duration:6.4s;--drift:14px}
.satellite-club{--float-duration:7.6s;--drift:-12px}
.satellite-note{--float-duration:7s;--drift:10px}
.satellite-eye{--float-duration:8.2s;--drift:-14px}
.scene-caption{bottom:0;color:#b9a4d0;font-size:10px;letter-spacing:.25em}
.hero-actions .btn-primary{background:linear-gradient(135deg,#e0ceff,#b48bf8);box-shadow:0 4px 0 #7851ab,0 14px 36px #9955ff33;border:1px solid #eadbff66}
.hero-actions .btn-primary:hover{transform:translateY(-4px);box-shadow:0 8px 0 #7851ab,0 22px 50px #9955ff55}
#services{position:relative}#services::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 10% 50%,#652ca019,transparent 65%);pointer-events:none}
#services .card-hover{background:linear-gradient(145deg,#252030,#100e18 75%);box-shadow:0 25px 50px #0005,inset 0 1px #ffffff12;border-color:#bba0ff22}
.service-icon{box-shadow:0 8px 0 #100d19,0 20px 30px #0007,inset 0 1px #c2a6ff40;transform:perspective(400px) rotateX(12deg) rotateY(-12deg);background:linear-gradient(140deg,#4d366f,#21182f)}
.project-card{background:linear-gradient(145deg,#24202e,#0d0c14);border-color:#b99ddb2b;box-shadow:0 35px 60px #0006,inset 0 1px #e2cbff18}
#projects .project-visual{height:360px;overflow:hidden;perspective:900px;background:radial-gradient(ellipse at 50% 70%,#62399744,transparent 70%)}
.project-screen{position:absolute;width:77%;height:225px;top:64px;left:18%;border:1px solid #d5c2ff55;border-radius:10px;background:#15111f;transform:rotateX(12deg) rotateY(-24deg) rotateZ(8deg);box-shadow:10px 12px 0 #17121f,11px 13px 0 #9f77c544,24px 40px 45px #000a;transition:transform .7s;overflow:hidden}
.project-screen img{display:block;width:100%;height:calc(100% - 22px);object-fit:cover;object-position:top}
.screen-toolbar{height:22px;display:flex;align-items:center;gap:4px;padding:0 9px;background:#211c2a}
.screen-toolbar i{width:4px;height:4px;border-radius:50%;background:#997fae}.screen-toolbar i:first-child{background:#ed9aaa}.screen-toolbar span{margin-left:auto;font-size:6px;letter-spacing:.15em;color:#bda6d3}
.project-card:nth-child(even) .project-screen{transform:rotateX(12deg) rotateY(24deg) rotateZ(-8deg);left:8%}
.project-card:hover .project-screen{transform:rotateX(3deg) rotateY(-10deg) rotateZ(2deg) translateY(-9px)}
.project-card:nth-child(even):hover .project-screen{transform:rotateX(3deg) rotateY(10deg) rotateZ(-2deg) translateY(-9px)}
.project-visual .project-logo{position:absolute;left:6%;bottom:46px;max-width:110px;height:95px;padding:12px;background:linear-gradient(140deg,#504158ee,#1a1625f5);border:1px solid #e3d3ff55;box-shadow:0 6px 0 #22192d,0 7px 0 #b18ec54d,0 22px 35px #0009;border-radius:22px}
.project-card:nth-child(even) .project-logo{left:auto;right:5%}
.project-visual>span.text-xs{position:absolute;bottom:12px;left:24px;font-size:9px;color:#b4a7c2}
.project-visual::after{display:none}
.project-bg-pattern{transform:perspective(400px) rotateX(65deg);transform-origin:bottom;opacity:.6}
.project-tag,.project-ext{transform:translateZ(1px)}
@media(min-width:1000px){#projects>.grid{gap:40px}#projects .project-card:nth-child(even){margin-top:65px;margin-bottom:-65px}#projects{padding-bottom:160px}}
@media(max-width:1100px){.hero-layout{padding-inline:32px}.hero-title{font-size:68px}.universe{height:550px}.app-satellite{width:146px;padding:12px}.app-satellite img{width:36px;height:36px}}
@media(max-width:700px){.hero-layout{grid-template-columns:1fr;padding:130px 24px 100px}.hero-title{font-size:clamp(54px,13vw,84px)}.hero-watermark{top:49%;font-size:28vw}.universe{height:440px;margin-top:35px}.app-satellite{width:137px;min-height:76px;padding:11px;gap:8px}.app-satellite img{width:34px;height:34px}.app-satellite strong{font-size:12px}.app-satellite small{font-size:9px}.satellite-sport{left:2%;--depth:15px}.satellite-club{right:1%;--depth:-15px}.satellite-note{left:2%;--depth:25px}.satellite-eye{right:1%;--depth:15px}.hero-proof{gap:9px;font-size:10px;flex-wrap:wrap}.hero-proof::before{width:18px}.scene-caption{font-size:8px;letter-spacing:.16em}#projects .project-visual{height:300px}.project-screen{height:185px;top:65px}.project-visual .project-logo{height:76px;max-width:85px;bottom:43px}.depth-floor{bottom:-300px}}
@media(prefers-reduced-motion:reduce){.project-screen{transition:none}.app-satellite{transform:rotate(var(--angle))}.hero-title em{filter:none}}
@media(min-width:701px) and (max-width:1100px){.hero-title{font-size:clamp(44px,5.8vw,64px)}.hero-title em{white-space:nowrap}.hero-layout{grid-template-columns:.95fr 1.05fr;padding-inline:24px}}
/* Keep navigation hit areas above decoration and stable during interaction. */
.universe-scene{pointer-events:none;transform:none}
.core-glow,.orbit,.scene-caption{pointer-events:none}
.app-satellite{pointer-events:auto;cursor:pointer;touch-action:manipulation}
.app-satellite>*{pointer-events:none}
.app-satellite img{user-select:none;-webkit-user-drag:none}
.satellite-club{--depth:35px}
.app-satellite:focus-visible{animation-play-state:paused}
@media(hover:hover){.app-satellite:hover{animation-play-state:paused}}
@media(max-width:700px){.satellite-club{--depth:5px}}

/* The image remains available until the solid Canvas logo is ready. */
.brand-stage{position:absolute;left:7%;top:46%;width:86%;aspect-ratio:696/482;transform:translateY(-50%);pointer-events:none}
.brand-axis,.brand-sculpture{position:absolute;inset:0}
.brand-face{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;filter:brightness(1.25)}
.brand-canvas-ready .brand-axis{visibility:hidden}
@media(max-width:700px){.brand-stage{width:86%;left:7%}}

/* Selection feedback does not move the hit area or intercept navigation. */
.app-satellite{transition:border-color .25s,box-shadow .25s,opacity .25s}
.app-engaged .app-satellite:not(.app-active){opacity:.65}
.app-satellite.app-active{opacity:1;border-color:var(--app-color);box-shadow:0 0 24px color-mix(in srgb,var(--app-color) 28%,transparent),0 24px 40px #0009,inset 0 1px #ffffff40}
.app-satellite.app-active strong{color:var(--app-color)}

/* An explicit resume also enables card motion when the OS prefers reduced motion. */
@media(prefers-reduced-motion:reduce){
  .motion-enabled .app-satellite{animation:satellite-float var(--float-duration,7s) ease-in-out infinite!important}
  .motion-enabled .satellite-club{animation-delay:-2s!important}
  .motion-enabled .satellite-note{animation-delay:-4s!important}
  .motion-enabled .satellite-eye{animation-delay:-1s!important}
  .motion-enabled .app-satellite:focus-visible{animation-play-state:paused!important}
}
@media(prefers-reduced-motion:reduce) and (hover:hover){
  .motion-enabled .app-satellite:hover{animation-play-state:paused!important}
}
@media(max-width:700px){.app-satellite{--drift:6px}}
/* Canvas and links share one coordinate system for glass contact and rebounds. */
.glass-physics .app-satellite{top:0;left:0;right:auto;bottom:auto;animation:none!important;will-change:transform}
.glass-physics .orbit{opacity:.35}
@media(max-width:700px){.glass-physics .app-satellite{width:min(137px,32vw)}}
