/* The hero's light-path drawing lives behind the optical sculpture and text. */
.hero {background:radial-gradient(ellipse at 75% 39%,#10212455 0,transparent 47%),#050708}
.motion-blueprint {position:absolute;pointer-events:none;z-index:0;inset:0 calc(-1 * var(--gutter));overflow:hidden}
.motion-blueprint::before {content:"";position:absolute;inset:7% 1% 4% 48%;opacity:.24;background-image:radial-gradient(#69acb0 1px,transparent 1.18px);background-size:30px 30px;mask-image:radial-gradient(ellipse at 65% 60%,transparent 40%,#000 71%,transparent 88%)}
.motion-trace {position:absolute;width:100%;height:100%;overflow:visible;color:#7ed6d9;opacity:.48}
.motion-trace > g:first-of-type path {stroke-dasharray:1;stroke-dashoffset:var(--motion-trace-offset,0)}
.motion-rail-signals {display:none}
@media (prefers-reduced-motion:no-preference) {
 .motion-rail-signals {display:block;stroke-dasharray:.022 .978;opacity:.7}
 .motion-rail-signals path {animation:motion-photon 8s linear infinite}
 .motion-rail-signals path+path {animation-direction:reverse;animation-delay:-3s}
 @keyframes motion-photon {0% {stroke-dashoffset:.025;opacity:0} 12% {opacity:1} 80% {opacity:1} 94%,100% {stroke-dashoffset:-.97;opacity:0}}
}
.hero h1 > span {position:relative}
.hero h1 .motion-word {display:inline-block;white-space:pre;transform-origin:0 85%}
.hero-copy .motion-word.gloss {color:#bde3dd;background:linear-gradient(112deg,#f3efdf 0%,#d6eee9 46%,#95cfd5 73%,#f7d3a4 105%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.motion-modes {position:relative;display:inline-flex;align-items:center;gap:2px;justify-self:end;pointer-events:auto;flex:none;border:1px solid #56646880;border-radius:99px;padding:3px;background:linear-gradient(140deg,#26363cb0,#111718a8 62%);box-shadow:inset 0 1px 0 #c5eff616,0 7px 20px #0002;backdrop-filter:blur(12px)}
.motion-modes button {display:inline-flex;align-items:center;justify-content:center;gap:.34rem;padding:.42rem .68rem;font-size:.76rem;text-align:center;line-height:1.1;font-weight:580;color:#b9c7c6;border-radius:99px;white-space:nowrap;transition:color .22s,background .22s}
.motion-modes button svg {width:.9rem;height:.9rem;stroke:currentColor;fill:none;stroke-width:1.25;stroke-linejoin:round}
.motion-modes button[aria-pressed=true] {background:#cce5e51e;color:#f6f4ec;box-shadow:inset 0 0 0 1px #c4dedb26}
.motion-modes button:hover,.motion-modes button:focus-visible {color:#a9f3f1}
.hero-rail .glass-hint {margin-left:auto;margin-right:1.1rem}
.motion-wire {position:absolute;inset:0;width:100%;height:100%;touch-action:pan-y pinch-zoom;cursor:grab;outline-offset:-3px}
.motion-wire:active {cursor:grabbing}
.motion-wire-active .glass-stage {opacity:0;pointer-events:none}
.motion-wire:focus-visible {outline:1px dashed #8ed8dc;outline-offset:-.6rem;border-radius:1rem}
.motion-modes[data-loading] button[data-motion-mode=mesh] {background-image:linear-gradient(100deg,transparent,#c7dddc27,transparent);background-size:190% 100%;animation:motion-shimmer .85s linear infinite}
.motion-ticker {display:flex;align-items:stretch;min-height:4rem;isolation:isolate;overflow:hidden;position:relative;border-block:1px solid #42505280;background:linear-gradient(106deg,#102021 0,#0f1616 42%,#20201b 100%);color:#e2e4da}
.motion-ticker-window {min-width:0;flex:1;overflow:hidden;mask-image:linear-gradient(to right,transparent,#000 2.6%,#000 96%,transparent)}
.motion-ticker-track {display:flex;width:max-content;height:100%}
.motion-ticker-group {display:flex;align-items:center;gap:0;flex:none}
.motion-ticker-group>span {display:flex;align-items:center;gap:clamp(1.3rem,3vw,3.1rem);padding-inline-end:clamp(1.3rem,3vw,3.1rem);font:470 clamp(1.02rem,1.6vw,1.65rem)/1.1 Geist,system-ui,sans-serif;letter-spacing:-.035em;white-space:nowrap}
.motion-ticker-group svg {width:.78em;height:.78em;stroke:#f8b268;stroke-width:1.35}
.motion-ticker-group>span:nth-child(even) svg {stroke:#96dcdd}
.motion-ticker-control {display:grid;place-items:center;align-self:center;margin-inline:.4rem clamp(.9rem,3.1vw,2.8rem);width:32px;height:32px;flex:none;border-radius:50%;border:1px solid #586360;color:#d9e0d8}
.motion-ticker-control svg {width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.motion-play,.motion-ticker[data-paused] .motion-pause {display:none}
.motion-ticker[data-paused] .motion-play {display:block}
.motion-lottie {display:inline-flex;align-items:center;justify-content:center;width:1.15rem;height:1.45rem;flex:none}
.motion-lottie svg {width:100%;height:100%;display:block}
.scroll-link.motion-vector-loaded > .icon {display:none}
.motion-rive-host {display:inline-grid;grid-template:1fr/1fr;flex:none;width:2rem;align-items:center;height:1.8rem}
.motion-rive-host > * {grid-area:1/1}
.motion-rive-host .brand-mark {width:100%;height:100%;display:block}
.motion-rive-host canvas {display:block;width:100%;height:100%;opacity:0}
.motion-rive-host.is-loaded canvas {opacity:1}
.motion-rive-host.is-loaded .brand-mark {opacity:0}
.motion-cursor {display:none}
[data-motion-image=loading] {position:relative;background:linear-gradient(105deg,#172124 20%,#29383b 46%,#142022 64%);background-size:210% 100%;animation:motion-shimmer 1.3s linear infinite}
@keyframes motion-shimmer {to {background-position:-210% 0}}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
 .motion-cursor {display:grid;place-items:center;position:fixed;inset:0 auto auto 0;z-index:20;pointer-events:none;opacity:0;height:2.65rem;width:2.65rem;border:1px solid #d0fbf3a6;border-radius:50%;margin:-1.325rem 0 0 -1.325rem;color:#f1f9ee;box-shadow:0 0 .9rem #70d5e323;transition:opacity .15s,scale .25s,background .2s;scale:.74;transform-origin:center}
 .motion-cursor.engaged {opacity:1;scale:1}
 .motion-cursor::before,.motion-cursor::after {content:"";position:absolute;height:1px;width:.53rem;background:#dffbf3;border-radius:99px}
 .motion-cursor::after {rotate:90deg}
 .motion-cursor.dragging {scale:.74;background:#99ecec20;border-color:#f3b96d}
 .motion-pointer .glass-stage[data-glass-state=ready],.motion-pointer .motion-wire {cursor:none}
 .project-button {perspective:850px}
 .project-image {transform:rotateX(var(--motion-rx,0deg)) rotateY(var(--motion-ry,0deg));transform-style:preserve-3d;transition:transform .2s cubic-bezier(.22,.7,.25,1)}
 .project-image::after {content:"";position:absolute;z-index:1;inset:0;pointer-events:none;border-radius:inherit;background:radial-gradient(ellipse at var(--motion-lx,50%) var(--motion-ly,50%),#c2f6fe21,transparent 56%);opacity:0;transition:opacity .25s;box-shadow:inset 0 0 0 1px #d2ede847}
 .project-button:hover .project-image::after {opacity:1}
 .project-open {z-index:2}
 .motion-magnetic {translate:var(--motion-mx,0px) var(--motion-my,0px);transition:translate .16s ease-out,background .18s,color .18s,box-shadow .18s}
}
@media (prefers-reduced-motion:no-preference) {
 .motion-ellipsis .motion-word {animation:motion-typeset .78s cubic-bezier(.18,.79,.18,1) both;animation-delay:calc(var(--motion-word,0) * 56ms)}
 @keyframes motion-typeset {0% {opacity:.1;transform:translateY(.38em) rotate(4deg);filter:blur(3px);clip-path:inset(0 0 24% 0)}100% {opacity:1;transform:none;filter:none;clip-path:inset(-4% -4% -13% -4%)}}
 .motion-active .motion-ticker-track {animation:motion-loop 40s linear infinite}
 @keyframes motion-loop {to {transform:translate3d(-50%,0,0)}}
 .motion-ticker[data-paused] .motion-ticker-track,.motion-ticker[data-offscreen] .motion-ticker-track {animation-play-state:paused}
 .motion-arrived {animation:motion-arrive .62s cubic-bezier(.16,.75,.25,1) both}
 @keyframes motion-arrive {from{opacity:.35;transform:translateY(18px);filter:blur(1px)}to{opacity:1;transform:none;filter:none}}
 @view-transition { navigation:auto }
 ::view-transition-old(root) {animation:motion-page-out .16s ease-in both}
 ::view-transition-new(root) {animation:motion-page-in .26s ease-out both}
 @keyframes motion-page-out {to{opacity:0;filter:blur(2px)}}
 @keyframes motion-page-in {from{opacity:.12;translate:0 5px;filter:blur(2px)}to{opacity:1;translate:0 0;filter:none}}
 .motion-lang-leaving main {opacity:0;transform:translateY(-3px);transition:opacity .12s,transform .12s}
}
@media(max-width:760px) {
 .hero-rail .glass-hint {display:none!important}
 .hero-rail .motion-modes {margin-left:auto}
 .motion-modes button {padding:.38rem .53rem;font-size:.73rem}
 .motion-blueprint::before {inset:40% 0 0 11%}
 .motion-ticker {min-height:3.3rem}
 .motion-ticker-control {width:28px;height:28px}
 .motion-rive-host {width:1.7rem;height:1.55rem}
}
@media(prefers-reduced-motion:reduce) {
 .motion-ticker-window {overflow-x:auto;scrollbar-width:thin}
 .motion-ticker-group[aria-hidden=true],.motion-ticker-control {display:none!important}
 .motion-ticker-window {mask-image:none}
 .motion-ticker-group {padding-left:var(--gutter)}
 .motion-trace path {stroke-dashoffset:0}
}
@media (pointer:coarse) {.motion-modes button {min-height:2.38rem}}
.motion-status {position:absolute;right:0;bottom:100%;max-width:min(100%,23rem);margin-bottom:.5rem;padding:.5rem .75rem;border-radius:.5rem;background:#172021;color:#e1e4dc;font-size:.8rem}
@media(max-width:760px){.hero-rail:has(.motion-status){position:relative}}
