/* Default-on water motion, respecting the system's reduced-motion preference. */
.reading-progress{position:fixed;inset:0 0 auto;height:2px;z-index:30;pointer-events:none}
.reading-progress>span{display:block;width:100%;height:100%;background:linear-gradient(90deg,#88b5a2,#447e70,#bc9e83);transform:scaleX(0);transform-origin:left}
.water-light{overflow:hidden}
.water-light::before,.water-light::after{content:"";position:absolute;inset:4% -8% 7%;opacity:0;pointer-events:none;background:radial-gradient(ellipse at 70% 25%,#a2d4c659,transparent 44%),radial-gradient(ellipse at 30% 65%,#faf4dd99,transparent 42%);border-radius:48%}
.water-light::after{inset:10% -2% 0;background:radial-gradient(ellipse at 68% 36%,transparent 30%,#ffffff80 32%,transparent 37%),radial-gradient(ellipse at 85% 65%,#ead9c54d,transparent 45%)}
.motion-enabled .water-light::before{animation:water-caustic 16s ease-in-out infinite alternate}
.motion-enabled .water-light::after{animation:water-caustic 21s -8s ease-in-out infinite alternate-reverse}
.motion-enabled .water-ring{animation:water-drift 10s ease-in-out infinite alternate}
.motion-enabled .ring-two{animation-duration:14s;animation-delay:-5s}
.motion-enabled .floating-caption{animation:water-caption 7s ease-in-out infinite alternate}
.motion-enabled .site-header .identity-mark{animation:water-droplet 9s ease-in-out infinite alternate}
.motion-enabled:not(.hero-in-view) .water-ring,.motion-enabled:not(.hero-in-view) .floating-caption,.motion-enabled:not(.hero-in-view) .identity-mark,.motion-enabled:not(.hero-in-view) .water-light::before,.motion-enabled:not(.hero-in-view) .water-light::after{animation-play-state:paused}
.motion-suspended *,.motion-suspended *::before,.motion-suspended *::after{animation-play-state:paused!important}
.motion-enabled [data-reveal].arrived{animation:water-arrive .8s cubic-bezier(.18,.7,.2,1) both}
.motion-enabled [data-reveal].arrived .project-tags span{animation:water-arrive .6s .1s both}
.motion-enabled [data-reveal].arrived .project-tags span:nth-child(2){animation-delay:.18s}
.motion-enabled [data-reveal].arrived .project-tags span:nth-child(3){animation-delay:.26s}
.motion-enabled .hero-copy.hero-arrived>*{animation:water-arrive .85s cubic-bezier(.18,.7,.2,1) both}
.motion-enabled .hero-copy.hero-arrived>h1{animation-delay:.08s}
.motion-enabled .hero-copy.hero-arrived>.hero-description{animation-delay:.16s}
.motion-enabled .hero-copy.hero-arrived>.hero-actions{animation-delay:.24s}
.motion-enabled .hero-copy.hero-arrived>.hero-footnote{animation-delay:.32s}
.motion-enabled .signal-window{transform:perspective(1000px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) rotate(-1.4deg);transition:transform .35s ease-out,box-shadow .35s}
.motion-enabled .signal-window:hover{box-shadow:0 28px 62px #46786826,0 3px 8px #426a550a,inset 0 1px #fff}
.motion-enabled .timing-fill,.motion-enabled .chart-track span{transform-origin:left}
.motion-enabled .timing-plot.motion-played .timing-fill,.motion-enabled .latency-chart.motion-played .chart-track span{animation:water-grow .9s cubic-bezier(.2,.65,.25,1) both}
.motion-enabled .timing-plot.motion-played .after{animation-delay:.2s}
.motion-enabled .latency-chart.motion-played .chart-row:nth-child(2) .chart-track span{animation-delay:.12s}
.motion-enabled .signal-pipeline.motion-played>span,.motion-enabled .data-flow.motion-played>div,.motion-enabled .asset-steps.motion-played>span{animation:water-flow 1.15s ease-out both}
.motion-enabled .signal-pipeline.motion-played>span:nth-of-type(2),.motion-enabled .data-flow.motion-played>div:nth-of-type(2),.motion-enabled .asset-steps.motion-played>span:nth-of-type(2){animation-delay:.22s}
.motion-enabled .signal-pipeline.motion-played>span:nth-of-type(3),.motion-enabled .data-flow.motion-played>div:nth-of-type(3),.motion-enabled .asset-steps.motion-played>span:nth-of-type(3){animation-delay:.44s}
.motion-enabled .signal-pipeline.motion-played>span:nth-of-type(4){animation-delay:.66s}
.motion-enabled dialog[open]{animation:water-dialog .28s cubic-bezier(.2,.7,.2,1) both}
.motion-enabled dialog[open]::backdrop{animation:water-backdrop .28s ease-out}
.motion-enabled details[open]>div,.motion-enabled details[open]>table{animation:water-arrive .3s ease-out both}
.motion-enabled .button,.motion-enabled .close-button,.motion-enabled .precision-switch button{transition:transform .2s,background .2s,box-shadow .2s}
.motion-enabled .button:active,.motion-enabled .close-button:active,.motion-enabled .precision-switch button:active{transform:scale(.97)}
.motion-enabled .project-link span,.motion-enabled .quiet-link span,.motion-enabled .record-list>a>span:last-child{display:inline-block;transition:transform .25s}
.motion-enabled .project-link:hover span,.motion-enabled .record-list>a:hover>span:last-child{transform:translate(2px,-2px)}
.motion-enabled .quiet-link:hover span{transform:translateY(3px)}
.engineering-project,.open-project,.feature-project{transition:box-shadow .35s,border-color .35s}
@media(hover:hover) and (pointer:fine){
  .motion-enabled .engineering-project:hover,.motion-enabled .open-project:hover,.motion-enabled .feature-project:hover{border-color:#b6cfc1;box-shadow:0 14px 34px #3e695b0d}
  .motion-enabled .open-project-visual img{transition:transform .55s cubic-bezier(.2,.7,.2,1)}
  .motion-enabled .open-project:hover .open-project-visual img{transform:scale(1.035)}
}
@keyframes water-caustic{from{opacity:.45;transform:translate3d(-2%,1%,0) scale(1)}to{opacity:.8;transform:translate3d(3%,-2%,0) scale(1.07)}}
@keyframes water-drift{from{translate:0 3px;scale:.98;opacity:.4}to{translate:3px -7px;scale:1.025;opacity:.7}}
@keyframes water-caption{from{translate:0 0}to{translate:0 -7px}}
@keyframes water-droplet{from{transform:rotate(26deg);border-radius:63% 37% 64% 36% / 60% 45% 55% 40%}to{transform:rotate(37deg);border-radius:42% 58% 50% 50% / 55% 38% 62% 45%}}
@keyframes water-arrive{from{opacity:.15;transform:translateY(19px)}to{opacity:1;transform:translateY(0)}}
@keyframes water-grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes water-flow{0%{box-shadow:0 0 0 0 #88baa200;translate:0 3px}40%{box-shadow:0 0 0 5px #88baa226;background:#deede1;border-color:#92b8a0}100%{box-shadow:0 0 0 9px #88baa200;translate:0 0}}
@keyframes water-dialog{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes water-backdrop{from{opacity:0}to{opacity:1}}
@media(max-width:780px){
  .motion-enabled .signal-window,.motion-enabled .signal-window:hover{transform:rotate(-1deg)}
  .motion-enabled .water-light::after{animation-duration:24s}
}
/* System settings cover pre-existing transitions too. */
html.motion-off{scroll-behavior:auto}
.motion-off *,.motion-off *::before,.motion-off *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
.motion-off .signal-window,.motion-off .signal-window:hover,.motion-off .exnilo-art img,.motion-off .exnilo-art:hover img{transform:none}
.motion-off .button:hover{transform:none}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .signal-window,.signal-window:hover,.exnilo-art img,.exnilo-art:hover img{transform:none!important}
  .button:hover{transform:none}
}
@media print{.reading-progress{display:none}*,*::before,*::after{animation:none!important;transition:none!important}}
