/* Motion is opt-in after JS initializes; content remains available without JS. */
.motion-enabled .motion-pending {opacity:0}
.motion-enabled .hero-illustration img {animation:none;translate:var(--pointer-x,0px) var(--pointer-y,0px);transition:translate .65s cubic-bezier(.22,1,.36,1)}
.header .nav-bar,.header .nav-contact {transition:box-shadow .4s}
.header.has-scrolled .nav-bar,.header.has-scrolled .nav-contact {box-shadow:0 8px 28px #071e4014}
.motion-control {position:fixed;right:16px;bottom:16px;z-index:45;border:1px solid #071e4035;background:#ffffffed;color:var(--ink);border-radius:30px;font-size:12px;padding:8px 14px;box-shadow:0 3px 12px #00000010;backdrop-filter:blur(8px)}
.motion-control:disabled{cursor:default}
.motion-rail {overflow:hidden;padding:24px 0;margin:20px 0 40px;border-block:1px solid #071e4026;color:var(--ink)}
.motion-rail-track {display:flex;width:max-content}
.motion-rail-track>span {display:flex;align-items:center;gap:32px;padding-right:32px;font-size:clamp(22px,3vw,42px);font-weight:700;letter-spacing:-.04em;white-space:nowrap}
.motion-rail i {font-style:normal;color:var(--coral);font-size:1.3em}
.motion-rail i.rail-tooth{display:inline-grid;place-items:center;width:0.82em;height:0.82em;flex:none;line-height:0;vertical-align:middle}
.motion-rail i.rail-tooth svg{display:block;width:100%;height:100%;overflow:visible}
.motion-enabled .motion-rail-track {animation:rail-drift 36s linear infinite;animation-play-state:paused}
.motion-enabled .motion-rail.motion-in-view .motion-rail-track {animation-play-state:running}
.motion-enabled .floating-tag,.motion-enabled .speech,.motion-enabled .heart-bubble,.motion-enabled .leaflet,.motion-enabled .line-caption {animation:gentle-float 5s ease-in-out infinite;animation-play-state:paused}
.motion-enabled .tag-two,.motion-enabled .heart-bubble {animation-delay:-2.4s;animation-duration:6s}
.motion-enabled .leaflet {animation-delay:-1.5s}
.motion-enabled .spark,.motion-enabled .art-star,.motion-enabled .contact-tooth {animation:flower-turn 28s linear infinite;animation-play-state:paused}
.motion-enabled .contact-sticker,.motion-enabled .smile-stamp,.motion-enabled .faq-decoration {animation:sticker-rock 6s ease-in-out infinite;animation-play-state:paused}
.motion-enabled .motion-in-view .floating-tag,.motion-enabled .motion-in-view .speech,.motion-enabled .motion-in-view .heart-bubble,.motion-enabled .motion-in-view .leaflet,.motion-enabled .motion-in-view .line-caption,.motion-enabled .motion-in-view .spark,.motion-enabled .motion-in-view .art-star,.motion-enabled .motion-in-view .contact-tooth,.motion-enabled .motion-in-view .contact-sticker,.motion-enabled .motion-in-view .smile-stamp,.motion-enabled .motion-in-view .faq-decoration {animation-play-state:running}
.motion-enabled .button .round,.motion-enabled .nav-contact .smile-icon {transition:transform .35s cubic-bezier(.22,1,.36,1)}
.motion-enabled .button:hover .round,.motion-enabled .button:focus-visible .round {transform:translateX(3px)}
.motion-enabled .nav-contact:hover .smile-icon {transform:rotate(-15deg) scale(1.1)}
.motion-enabled .contact:has(.button:hover) .contact-sticker {scale:1.12}
.contact-sticker{transition:scale .5s}
.result-number strong {min-width:3ch;font-variant-numeric:tabular-nums}
.plan-number {min-width:4.4ch;font-variant-numeric:tabular-nums}
@keyframes gentle-float {0%,100%{translate:0 0}50%{translate:0 -13px}}
@keyframes flower-turn {to{rotate:360deg}}
@keyframes sticker-rock {0%,100%{rotate:-5deg}50%{rotate:6deg}}
@keyframes rail-drift {to{transform:translateX(-25%)}}
@media(max-width:600px){.motion-rail{padding:15px 0;margin:15px 0 20px}.motion-rail-track>span{gap:20px;padding-right:20px}.motion-control{right:10px;bottom:10px;font-size:11px;padding:7px 11px}}
@media(prefers-reduced-motion:reduce){.motion-pending{opacity:1!important}.story-art,.hero-illustration img{translate:none!important}.story-path path{stroke-dashoffset:0!important}}
@media print{.motion-control,.motion-rail{display:none}.motion-pending{opacity:1!important}.story-art{translate:none!important}}
