/* Decorative motion is opt-in through JS; content stays visible without it. */
body{overflow-x:clip}
.hero{position:relative;isolation:isolate}
.hero-atmosphere{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
.orbit{position:absolute;border:1px solid #008f8a18;border-radius:50%;width:460px;height:460px;left:-160px;top:150px}
.orbit-two{width:570px;height:570px;left:-215px;top:95px;border-style:dashed}
.floating-star{position:absolute;color:#008f8a24;font-size:72px;line-height:1;top:35px;left:40%}
.star-two{font-size:34px;top:auto;bottom:30px;left:45%}
.hero-copy,.hero-photo{min-width:0}
.reading-progress{position:fixed;z-index:50;inset:0 0 auto;height:3px;background:#008f8a;transform:scaleX(var(--read-progress,0));transform-origin:left;pointer-events:none}
.pointer-light,.pointer-ring{display:none;position:fixed;pointer-events:none;left:0;top:0;opacity:0}
.pointer-light{width:360px;height:360px;border-radius:50%;background:radial-gradient(circle,#00a89916,transparent 68%);z-index:3}
.pointer-ring{width:30px;height:30px;border:1px solid #008f8a70;border-radius:50%;z-index:60;transition:width .2s,height .2s,border-color .2s,opacity .2s}
.pointer-ring.is-link{width:48px;height:48px;border-color:#008f8a}
.motion-toggle{position:fixed;bottom:18px;right:20px;z-index:40;min-height:42px;padding:9px 15px;border:1px solid #d2ddef;background:#fffffff2;color:#244269;border-radius:30px;font-size:14px;box-shadow:0 4px 20px #17243b12}
.motion-toggle[hidden]{display:none}.motion-toggle:disabled{cursor:default;color:#68758a}
.motion-toggle:before{content:'✳';display:inline-block;margin-right:7px;color:#008f8a}
footer{padding-bottom:78px}
html[data-motion=on] .reveal{opacity:0;translate:0 28px;transition:opacity .75s ease var(--reveal-delay,0ms),translate .75s cubic-bezier(.2,.7,.3,1) var(--reveal-delay,0ms)}
html[data-motion=on] .reveal.is-visible,html[data-motion=on] .reveal:focus-within{opacity:1;translate:0 0}
html[data-motion=on] .hero-copy>*,html[data-motion=on] .hero-photo{animation:arrive .85s both cubic-bezier(.2,.7,.3,1)}
html[data-motion=on] .hero-copy>:nth-child(2){animation-delay:.1s}html[data-motion=on] .hero-copy>:nth-child(3){animation-delay:.2s}html[data-motion=on] .hero-copy>:nth-child(4){animation-delay:.3s}html[data-motion=on] .hero-copy>:nth-child(5){animation-delay:.4s}html[data-motion=on] .hero-photo{animation-delay:.2s}
html[data-motion=on] .floating-star{animation:float-star 8s ease-in-out infinite}
html[data-motion=on] .star-two{animation-delay:-4s}
html[data-motion=on] .orbit-two{animation:orbit-turn 70s linear infinite}
html[data-motion=on] .band-content b{animation:orbit-turn 22s linear infinite}
html[data-motion=on] .highlight:after{transform-origin:left;animation:underline-in 1.1s .25s both ease}
html[data-motion=on] .hero-photo{transform:perspective(1100px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg));transition:transform .35s ease,box-shadow .35s ease}
html[data-motion=on] .hero-photo.is-tilting{box-shadow:0 22px 45px #253a5d22}
html[data-motion=on] .hero-photo:before{content:'';position:absolute;inset:0;z-index:2;pointer-events:none;background:radial-gradient(circle at var(--shine-x,50%) var(--shine-y,50%),#fff3,transparent 55%);opacity:0;transition:opacity .3s}
html[data-motion=on] .hero-photo.is-tilting:before{opacity:1}
html[data-motion=on] .button{translate:var(--magnet-x,0px) var(--magnet-y,0px);transition:translate .2s ease,transform .2s,background .2s,box-shadow .2s;position:relative;overflow:hidden;isolation:isolate}
html[data-motion=on] .button:hover{box-shadow:0 8px 22px #18345a1c}
.button-ripple{position:absolute;width:30px;height:30px;border-radius:50%;pointer-events:none;background:#ffffff80;animation:ripple-out .6s ease-out forwards;z-index:-1}
html[data-motion=on] .program-list summary{transition:background .25s,padding-left .25s}
html[data-motion=on] .program-list summary:hover{background:#eaf0fd;padding-left:18px}
html[data-motion=on] .expand{transition:transform .25s}
html[data-motion=on] details[open] .program-detail{animation:arrive .35s ease both}
html[data-motion=on] .process article{transition:translate .3s,border-color .3s}
html[data-motion=on] .process article:hover{translate:0 -6px;border-color:#a4baff}
html[data-motion=on] dialog[open]{animation:dialog-in .25s ease-out}
html[data-motion=on] #message-result:not([hidden]){animation:arrive .35s ease-out}
html[data-motion=on] .header nav.open{animation:arrive .25s ease-out}
html[data-motion=on] .header nav a:not(.nav-contact){background:linear-gradient(#008f8a,#008f8a) left bottom/0 2px no-repeat;transition:background-size .25s,color .25s}
html[data-motion=on] .header nav a:not(.nav-contact):hover{background-size:100% 2px}
@keyframes arrive{from{opacity:0;translate:0 18px}to{opacity:1;translate:0 0}}
@keyframes float-star{50%{translate:0 -15px;rotate:30deg}}
@keyframes orbit-turn{to{rotate:360deg}}
@keyframes underline-in{from{scale:0 1}to{scale:1 1}}
@keyframes ripple-out{from{transform:translate(-50%,-50%) scale(0);opacity:.8}to{transform:translate(-50%,-50%) scale(18);opacity:0}}
@keyframes dialog-in{from{opacity:0;scale:.97}to{opacity:1;scale:1}}
@media(hover:hover) and (pointer:fine){html[data-motion=on] .pointer-light,html[data-motion=on] .pointer-ring{display:block}html[data-motion=on] .pointer-visible{opacity:1}}
@media(max-width:700px){.motion-toggle{bottom:12px;right:12px;font-size:13px}.floating-star{left:auto;right:20px;top:60px;font-size:45px}.star-two{display:none}.orbit{left:-290px}.orbit-two{left:-345px}html[data-motion=on] .hero-photo{transform:none!important}}
html[data-motion=off] *,html[data-motion=off] *:before,html[data-motion=off] *:after{animation:none!important;transition:none!important}
html[data-motion=off]{scroll-behavior:auto}html[data-motion=off] .button,html[data-motion=off] .photo-open img{transform:none!important}
html.motion-suspended *,html.motion-suspended *:before,html.motion-suspended *:after{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.reveal{opacity:1!important;translate:none!important}.pointer-light,.pointer-ring{display:none!important}.hero-photo,.button,.photo-open img{transform:none!important;translate:none!important}}
