/* Body illustrations only. The original header / hero selectors are untouched. */
.motion-content-visual {margin-top:28px;max-width:440px;min-width:0}
.motion-inline-card {display:flex;justify-content:center;align-items:center;min-width:0;margin:30px 0;padding:10px 22px;border:1px solid #443026;border-radius:24px;background:linear-gradient(125deg,#241b15,#100d0a 74%);overflow:hidden}
.motion-scene {--motion-scroll-y:0px;--motion-tilt-x:0deg;--motion-tilt-y:0deg;position:relative;display:block;isolation:isolate;width:100%;max-width:440px;aspect-ratio:1.22;margin:0;overflow:hidden;overflow:clip;border-radius:28px;perspective:1000px;pointer-events:auto;contain:layout style}
.motion-scene-background {position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 52% 68%,rgba(166,106,67,.14),transparent 66%)}
.motion-scene-background::after {content:"";position:absolute;inset:5% 7% 10%;border-radius:50%;border:1px solid rgba(225,177,140,.06);transform:rotate(-15deg)}
.motion-stage {position:absolute;inset:3%;perspective:950px;transform-style:preserve-3d;pointer-events:none}
.motion-rig {position:absolute;inset:0;transform-style:preserve-3d;transform:translate3d(0,var(--motion-scroll-y),0) rotateX(var(--motion-tilt-x)) rotateY(var(--motion-tilt-y));transition:transform .25s ease-out}
.motion-object {position:absolute;display:block;line-height:0;transform-origin:center;animation-play-state:paused;pointer-events:none}
.motion-scene .motion-object-image {display:block;width:100%;height:auto;max-width:100%;aspect-ratio:1;object-fit:contain;margin:0;border:0;border-radius:0;filter:drop-shadow(0 14px 16px rgba(0,0,0,.22));opacity:1;transform:none;animation:none;pointer-events:none;user-select:none}
.motion-ground {position:absolute;left:19%;right:19%;bottom:7%;height:8%;border-radius:50%;background:radial-gradient(ellipse,rgba(225,177,140,.18),transparent 69%);transform:rotate(-5deg);animation:motion-ground-breathe 7s ease-in-out infinite paused}
.motion-orbit {position:absolute;left:14%;right:14%;bottom:5%;height:16%;border:1px solid rgba(225,177,140,.2);border-radius:50%;transform:rotate(-8deg);background:linear-gradient(90deg,transparent,rgba(225,177,140,.025),transparent)}
.motion-glint {position:absolute;width:5px;height:5px;border-radius:50%;background:#e1b18c;box-shadow:0 0 13px rgba(225,177,140,.45);animation:motion-glint-breathe 5s ease-in-out infinite paused}
.motion-glint--one {left:20%;top:29%;animation-delay:-1s}
.motion-glint--two {right:13%;top:53%;width:3px;height:3px;animation-delay:-3s}

/* Ascending glass arrow with independently drifting copper coins. */
.motion-arrow {left:18%;top:-1%;width:69%;z-index:2;animation:motion-arrow-float 7.5s ease-in-out infinite paused}
.motion-scene--growth .motion-coin--1 {left:4%;top:48%;width:24%;z-index:3;animation:motion-coin-float-a 6.8s ease-in-out infinite paused}
.motion-scene--growth .motion-coin--2 {right:0;top:20%;width:21%;z-index:1;animation:motion-coin-float-b 8s ease-in-out infinite paused;animation-delay:-2.5s}
.motion-scene--growth .motion-coin--3 {right:15%;bottom:4%;width:22%;z-index:3;animation:motion-coin-float-c 7.4s ease-in-out infinite paused;animation-delay:-4s}
.motion-scene--growth .motion-coin--4 {left:14%;top:8%;width:15%;z-index:1;animation:motion-coin-float-b 9s ease-in-out infinite paused;animation-delay:-3s}
.motion-trace {position:absolute;left:26%;bottom:13%;width:45%;height:1px;background:linear-gradient(90deg,transparent,#cf9467,transparent);opacity:.3;transform:rotate(-49deg);animation:motion-trace-breathe 7.5s ease-in-out infinite paused}

/* Different phases and depths give a small constellation of real 3D medallions. */
.motion-scene--coins .motion-coin--1 {left:29%;top:10%;width:46%;z-index:5;animation:motion-coin-float-a 8s ease-in-out infinite paused}
.motion-scene--coins .motion-coin--2 {left:4%;top:31%;width:34%;z-index:3;animation:motion-coin-float-b 7.7s ease-in-out infinite paused;animation-delay:-2s}
.motion-scene--coins .motion-coin--3 {right:1%;top:40%;width:35%;z-index:2;animation:motion-coin-float-c 9s ease-in-out infinite paused;animation-delay:-4.5s}
.motion-scene--coins .motion-coin--4 {left:27%;bottom:1%;width:34%;z-index:4;animation:motion-coin-float-c 7s ease-in-out infinite paused;animation-delay:-3s}
.motion-scene--coins .motion-coin--5 {right:8%;top:0;width:23%;z-index:1;animation:motion-coin-float-b 10s ease-in-out infinite paused;animation-delay:-1.5s}
.motion-coin-ring {position:absolute;inset:10% 16%;border:1px solid rgba(225,177,140,.13);border-radius:50%;transform:rotate(-30deg) rotateY(40deg);animation:motion-ring-turn 32s linear infinite paused;z-index:0}
.motion-coin-ring--two {inset:23% 6%;animation-direction:reverse;animation-duration:40s;opacity:.55}

/* Sand stays inside the glass silhouette; its fall is independent of the glass. */
.motion-hourglass {left:50%;top:-2%;height:102%;width:auto;aspect-ratio:1;translate:-50% 0;z-index:2;animation:motion-hourglass-float 8.5s ease-in-out infinite paused}
.motion-sand {position:absolute;left:46.5%;top:50%;width:7%;height:26%;overflow:hidden;z-index:3;transform:translateY(0);animation:motion-hourglass-float 8.5s ease-in-out infinite paused;pointer-events:none}
.motion-grain {position:absolute;left:calc(50% + var(--grain-offset,0px));top:4%;width:2px;height:3px;border-radius:50%;background:#e1b18c;box-shadow:0 0 3px rgba(225,177,140,.35);opacity:0;animation:motion-grain-fall 2.8s linear infinite paused;animation-delay:var(--grain-delay,0s)}
.motion-time-ring {position:absolute;left:26%;right:26%;bottom:7%;height:3%;border:1px solid rgba(225,177,140,.24);border-radius:50%;animation:motion-ground-breathe 8.5s ease-in-out infinite paused}
.motion-scene--time .motion-orbit {left:22%;right:22%;bottom:4%}

/* JS enables only visible scenes and pauses them offscreen or in hidden tabs. */
.motion-scene[data-motion-state="running"] .motion-object,
.motion-scene[data-motion-state="running"] .motion-ground,
.motion-scene[data-motion-state="running"] .motion-glint,
.motion-scene[data-motion-state="running"] .motion-trace,
.motion-scene[data-motion-state="running"] .motion-coin-ring,
.motion-scene[data-motion-state="running"] .motion-sand,
.motion-scene[data-motion-state="running"] .motion-grain,
.motion-scene[data-motion-state="running"] .motion-time-ring {animation-play-state:running}

/* Individual translate preserves pre-existing artwork transforms and sprite crops. */
.copper-art[data-motion-art],.copper-icon[data-motion-art] {animation:motion-existing-art 7.8s ease-in-out infinite paused;translate:0 var(--motion-scroll-y,0px)}
.copper-icon[data-motion-art] {animation-duration:8.5s}
[data-motion-art][data-motion-state="running"] {animation-play-state:running}
.pathway-card:nth-child(2) [data-motion-art],.article-card:nth-child(2) [data-motion-art] {animation-delay:-2.4s}
.pathway-card:nth-child(3) [data-motion-art],.article-card:nth-child(3) [data-motion-art] {animation-delay:-4.8s}

.motion-home-time {max-width:310px}
.motion-home-coins {max-width:390px}
.motion-course-overview,.motion-guide-steps,.motion-links-coins {max-width:370px;aspect-ratio:1.45}
.motion-membership-rules {max-width:250px;aspect-ratio:1.2}
.mb-info-card .motion-inline-card {padding:0;margin:22px 0 0;background:transparent;border:0;border-top:1px solid #443026;border-radius:0}
.copper-course-art [data-motion-art] {animation:none;translate:none}

@keyframes motion-arrow-float {0%,100%{transform:translate3d(0,6px,0) rotate(-1.5deg)}50%{transform:translate3d(0,-8px,0) rotate(1deg)}}
@keyframes motion-coin-float-a {0%,100%{transform:translate3d(0,0,20px) rotate(-12deg) rotateY(-8deg)}50%{transform:translate3d(4px,-10px,35px) rotate(-3deg) rotateY(12deg)}}
@keyframes motion-coin-float-b {0%,100%{transform:translate3d(0,-4px,-10px) rotate(14deg) rotateY(12deg)}50%{transform:translate3d(-5px,7px,12px) rotate(5deg) rotateY(-10deg)}}
@keyframes motion-coin-float-c {0%,100%{transform:translate3d(0,2px,5px) rotate(-6deg) rotateX(12deg)}50%{transform:translate3d(4px,-7px,18px) rotate(8deg) rotateX(-5deg)}}
@keyframes motion-hourglass-float {0%,100%{transform:translateY(3px)}50%{transform:translateY(-5px)}}
@keyframes motion-grain-fall {0%{transform:translateY(-6px);opacity:0}12%{opacity:.75}85%{opacity:.65}100%{transform:translateY(85px);opacity:0}}
@keyframes motion-ring-turn {from{transform:rotate(-30deg) rotateY(40deg)}to{transform:rotate(330deg) rotateY(40deg)}}
@keyframes motion-ground-breathe {0%,100%{opacity:.45;scale:.9}50%{opacity:.8;scale:1}}
@keyframes motion-glint-breathe {0%,100%{opacity:.15}50%{opacity:.6}}
@keyframes motion-trace-breathe {0%,100%{opacity:.13}50%{opacity:.4}}
@keyframes motion-existing-art {0%,100%{translate:0 var(--motion-scroll-y,0px)}50%{translate:0 calc(var(--motion-scroll-y,0px) - 5px)}}

@media(max-width:900px) {
  .motion-content-visual {margin-top:24px}
  .motion-scene {max-width:360px}
  .motion-inline-card {padding:6px 16px;margin:25px 0}
}
@media(max-width:730px) {
  .motion-content-visual {width:min(100%,300px);margin-top:18px}
  .motion-scene {max-width:300px;border-radius:20px;aspect-ratio:1.3}
  .motion-stage {inset:5%}
  .motion-inline-card {padding:7px 14px;border-radius:19px}
  .motion-home-time,.motion-membership-rules {max-width:245px}
  .motion-course-overview,.motion-guide-steps,.motion-links-coins {max-width:290px;aspect-ratio:1.4}
  .motion-scene .motion-object-image {filter:drop-shadow(0 8px 9px rgba(0,0,0,.18))}
}
@media(prefers-reduced-motion:reduce) {
  .motion-rig {transform:none!important;transition:none!important}
  .motion-scene *,.copper-art[data-motion-art],.copper-icon[data-motion-art] {animation:none!important;transition:none!important}
  .motion-scene .motion-grain {display:none}
  [data-motion-art] {translate:none!important}
}
html[data-motion="paused"] .motion-scene *,html[data-motion="paused"] [data-motion-art] {animation-play-state:paused!important}
html[data-motion="paused"] .motion-rig {transform:none}
html[data-motion="paused"] [data-motion-art] {translate:none}

/* v2.5 — material, light and independent depth in body scenes. */
.motion-scene {
  --scene-depth:0px;--scene-arrow-y:0px;--scene-arrow-turn:0deg;
  --scene-coin-near:0px;--scene-coin-far:0px;--scene-shadow-scale:1;
  --scene-shadow-opacity:.48;--scene-light-x:40%;
  max-width:480px;aspect-ratio:1.16;overflow:visible;
  background:radial-gradient(ellipse at 51% 80%,#68432a0d,transparent 68%);
}
.motion-scene-background {inset:5% -3% -4%;background:radial-gradient(ellipse at 55% 72%,#b8743925 0%,#3c241318 38%,transparent 71%)}
.motion-scene-background::after {inset:14% 9% 17%;border-color:#d49b7011;transform:rotate(-23deg)}
.motion-stage {inset:2%;transform-style:preserve-3d}
.motion-rig {transition:transform .3s cubic-bezier(.2,.7,.3,1)}
.motion-object-body {position:relative;display:block;width:100%;height:100%;transform-style:preserve-3d}
.motion-scene .motion-object-image {filter:drop-shadow(0 20px 18px #0007);max-height:100%;object-fit:contain}
.motion-object-reflection {position:absolute;inset:0;opacity:.4;pointer-events:none;mask-size:100% 100%;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;-webkit-mask-repeat:no-repeat;overflow:hidden}
.motion-object-reflection::after {content:"";position:absolute;inset:-40% -90%;background:linear-gradient(115deg,transparent 42%,#f6c79200 46%,#ffdcc55e 49%,#fff7eaa3 50%,#d9924742 52%,transparent 56%);transform:translateX(-27%);animation:material-light-sweep 1800ms cubic-bezier(.19,.8,.3,1) 1 paused both}
.motion-object-reflection--growth {mask-image:url('./assets/motion/glass-arrow.png');-webkit-mask-image:url('./assets/motion/glass-arrow.png')}
.motion-object-reflection--coin {mask-image:url('./assets/motion/copper-coin.png');-webkit-mask-image:url('./assets/motion/copper-coin.png')}
.motion-object-reflection--time {mask-image:url('./assets/motion/glass-hourglass.png');-webkit-mask-image:url('./assets/motion/glass-hourglass.png')}
.motion-ground {left:16%;right:10%;bottom:0%;height:10%;background:radial-gradient(ellipse,#000d,transparent 70%);transform:translateY(0) scale(var(--scene-shadow-scale));opacity:var(--scene-shadow-opacity);animation:none;transition:transform .3s ease,opacity .3s ease}
.motion-floor-light {position:absolute;left:12%;right:8%;bottom:0;height:16%;border-radius:50%;background:radial-gradient(ellipse at var(--scene-light-x) 48%,#e2a46d36,transparent 69%);transform:scaleY(.5);opacity:.65}
.motion-orbit {left:10%;right:7%;bottom:4%;height:17%;border-color:#e3ac7921;transform:rotate(-12deg);background:transparent}
.motion-edge-light {position:absolute;left:30%;right:21%;bottom:6%;height:1px;transform:rotate(-12deg);background:linear-gradient(90deg,transparent,#e0ab726b,transparent);opacity:.6}
.motion-arrow {left:12%;top:-3%;width:76%;animation:none!important;transform:translate3d(0,var(--scene-arrow-y),var(--scene-depth)) rotate(var(--scene-arrow-turn));transition:transform .4s cubic-bezier(.18,.75,.3,1)}
.motion-arrow .motion-object-body {animation:material-glass-arrive 1500ms cubic-bezier(.16,1,.3,1) 1 paused both}
.motion-scene--growth .motion-coin {animation:none!important;transition:transform .45s cubic-bezier(.2,.7,.3,1)}
.motion-scene--growth .motion-coin--1 {left:-1%;top:42%;width:25%;transform:translate3d(0,var(--scene-coin-near),38px) rotate(-19deg)}
.motion-scene--growth .motion-coin--2 {right:0;top:16%;width:19%;transform:translate3d(0,var(--scene-coin-far),-18px) rotate(21deg)}
.motion-scene--growth .motion-coin--3 {right:10%;bottom:6%;width:26%;transform:translate3d(0,var(--scene-coin-near),28px) rotate(-7deg)}
.motion-scene--growth .motion-coin--4 {left:15%;top:6%;width:14%;transform:translate3d(0,var(--scene-coin-far),-26px) rotate(16deg);opacity:.7}
.motion-scene--growth .motion-coin .motion-object-body {animation:material-coin-arrive 1400ms cubic-bezier(.16,1,.3,1) 1 paused both}
.motion-scene--growth .motion-coin--2 .motion-object-body {animation-delay:90ms}
.motion-scene--growth .motion-coin--3 .motion-object-body {animation-delay:160ms}
.motion-scene--growth .motion-coin--4 .motion-object-body {animation-delay:220ms}
.motion-trace {opacity:.24;animation:none!important}
.motion-scene--coins .motion-coin {animation:none!important;--coin-entry-x:0px;--coin-entry-y:10px}
.motion-scene--coins .motion-coin .motion-object-body {animation:material-coins-spread 1500ms cubic-bezier(.16,1,.3,1) 1 paused both}
.motion-scene--coins .motion-coin--1 {left:29%;top:6%;width:44%;--coin-entry-y:25px;transform:translate3d(0,var(--scene-coin-far),14px) rotate(-12deg)}
.motion-scene--coins .motion-coin--2 {left:1%;top:30%;width:36%;--coin-entry-x:28px;--coin-entry-y:-9px;transform:translate3d(0,var(--scene-coin-near),24px) rotate(13deg)}
.motion-scene--coins .motion-coin--3 {right:0%;top:41%;width:35%;--coin-entry-x:-30px;--coin-entry-y:-16px;transform:translate3d(0,var(--scene-coin-far),-12px) rotate(-9deg)}
.motion-scene--coins .motion-coin--4 {left:26%;bottom:1%;width:33%;--coin-entry-x:8px;--coin-entry-y:-29px;transform:translate3d(0,var(--scene-coin-near),30px) rotate(6deg)}
.motion-scene--coins .motion-coin--5 {right:9%;top:-2%;width:21%;--coin-entry-x:-13px;--coin-entry-y:21px;transform:translate3d(0,var(--scene-coin-far),-20px) rotate(19deg);opacity:.65}
.motion-scene--coins .motion-coin:nth-child(2n) .motion-object-body {animation-delay:100ms}
.motion-coin-ring {animation:none!important;opacity:.4;transform:rotate(-30deg) rotateY(40deg)}
.motion-coin-ring--two {transform:rotate(22deg) rotateY(-30deg);opacity:.22}
.motion-hourglass {animation:none!important;transform:translateY(var(--scene-coin-far));transition:transform .4s ease}
.motion-hourglass .motion-object-reflection::after {animation-duration:2800ms}
.motion-sand {animation:none!important;transform:translateY(var(--scene-coin-far));transition:transform .4s ease}
.motion-grain {width:1.5px;height:2.5px;box-shadow:none;animation-duration:3.2s;opacity:0}
.motion-time-ring {animation:none!important;opacity:.24}
.motion-glint {animation:material-star-arrive 1600ms ease-out 1 paused both;box-shadow:0 0 12px #ecc28e77}
.motion-glint--one {animation-delay:180ms}
.motion-glint--two {animation-delay:450ms}
.motion-scene:not([data-motion-entered="true"]) .motion-object-body,
.motion-scene:not([data-motion-entered="true"]) .motion-object-reflection::after,
.motion-scene:not([data-motion-entered="true"]) .motion-glint {animation:none}
.motion-scene[data-motion-state="running"] .motion-object-body,
.motion-scene[data-motion-state="running"] .motion-object-reflection::after,
.motion-scene[data-motion-state="running"] .motion-glint {animation-play-state:running}
.motion-canvas {position:absolute;inset:-4%;width:108%;height:108%;pointer-events:none;opacity:0;transition:opacity .28s ease;z-index:4}
.motion-scene[data-renderer="webgl"] .motion-canvas {opacity:1}
.motion-scene[data-renderer="webgl"] .motion-rig {visibility:hidden}
/* Existing supplied art keeps its framing; surface depth replaces perpetual bobbing. */
.copper-art[data-motion-art],.copper-icon[data-motion-art] {animation:none!important;translate:0 var(--motion-scroll-y,0px);transition:translate .38s ease-out}
.motion-course-overview {max-width:440px;aspect-ratio:1.22}
.motion-home-time {max-width:325px}
.motion-home-coins {max-width:430px}
.contact-layout .copper-contact-art .copper-contact-phone {--copper-icon-size:100px;transform:translateY(12px) rotate(7deg)}
.contact-layout .copper-contact-art .copper-icon.copper-contact-envelope {--copper-icon-size:84px;position:relative;inset:auto;width:var(--copper-icon-size);height:var(--copper-icon-size);flex:0 0 var(--copper-icon-size);filter:drop-shadow(0 12px 18px #0005);transform:rotate(-9deg)}
.contact-layout[data-contact-feedback="checked"] .copper-contact-envelope {animation:contact-envelope-response 750ms cubic-bezier(.2,.8,.3,1) 1}
@keyframes material-light-sweep {0%{transform:translateX(-27%);opacity:0}15%{opacity:.85}75%{opacity:.65}100%{transform:translateX(30%);opacity:0}}
@keyframes material-glass-arrive {from{transform:translate3d(-6px,22px,-35px) rotate(-5deg);opacity:.45}to{transform:translate3d(0,0,0) rotate(0);opacity:1}}
@keyframes material-coin-arrive {from{transform:translate3d(0,15px,-25px) rotateY(-12deg);opacity:.35}to{transform:translate3d(0,0,0) rotateY(0);opacity:1}}
@keyframes material-coins-spread {from{transform:translate3d(var(--coin-entry-x),var(--coin-entry-y),-20px) scale(.93);opacity:.3}to{transform:translate3d(0,0,0) scale(1);opacity:1}}
@keyframes material-star-arrive {0%{scale:.4;opacity:0}42%{scale:1.4;opacity:.6}100%{scale:1;opacity:.22}}
@keyframes contact-envelope-response {0%,100%{transform:translateY(0) rotate(-9deg)}40%{transform:translateY(-8px) rotate(-3deg)}75%{transform:translateY(-2px) rotate(-7deg)}}
@media(max-width:767px) {
  .motion-scene {max-width:340px;aspect-ratio:1.3}
  .motion-scene .motion-object-image {filter:drop-shadow(0 10px 10px #0006)}
  .motion-home-time {max-width:255px}
  .contact-layout .copper-contact-art .copper-contact-phone {--copper-icon-size:78px}
  .contact-layout .copper-contact-art .copper-icon.copper-contact-envelope {--copper-icon-size:62px}
}
@media(prefers-reduced-motion:reduce) {
  .motion-scene *,.motion-scene *::before,.motion-scene *::after {animation:none!important;transition:none!important}
  .motion-scene .motion-object,.motion-scene .motion-object-body {translate:none!important}
  .motion-scene .motion-object-reflection::after {display:none}
  .contact-layout .copper-contact-envelope {animation:none!important}
}
html[data-motion="paused"] .motion-scene *,
html[data-motion="paused"] .motion-scene *::before,
html[data-motion="paused"] .motion-scene *::after,
html[data-motion="paused"] .contact-layout .copper-contact-envelope {animation-play-state:paused!important;transition:none!important}

/* Independently authored path-following entrance inspired by the supplied Vortex
 * tutorial; no Adobe scripts imported. The entered guard preserves reset gating.
 */
.motion-home-coins[data-motion-entered="true"] .motion-coin--5 .motion-object-body,
.motion-links-coins[data-motion-entered="true"] .motion-coin--5 .motion-object-body {
  animation-name:material-coin-path-follow;
  animation-duration:1800ms;
}
@keyframes material-coin-path-follow {
  0% {transform:translate3d(-15px,18px,-20px) rotate(-11deg) scale(.93);opacity:.3}
  38% {transform:translate3d(-20px,8px,-10px) rotate(-6deg) scale(.97);opacity:.8}
  72% {transform:translate3d(-8px,1px,0) rotate(3deg) scale(1);opacity:1}
  100% {transform:translate3d(0,0,0) rotate(0deg) scale(1);opacity:1}
}
