/* ECHO Consulting · motion layer · additive only, touches no room.js/consult.css internals */
#mprog{position:fixed;left:0;top:0;height:2px;width:0;z-index:120;background:linear-gradient(90deg,var(--gold),var(--gold-light));box-shadow:0 0 10px rgba(223,189,121,.5)}
.site-nav{transition:transform .45s cubic-bezier(.2,.7,.2,1)}
.site-nav.away{transform:translateY(-102%)}
.nav-consult{color:var(--gold-light)!important}
/* hero entrance */
@keyframes hup{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:none}}
@keyframes cardin{from{opacity:0;transform:translateY(34px) rotateX(4deg)}to{opacity:1;transform:none}}
/* render-first: full content with no JS; motion only when motion.js arms it */
.rvx{opacity:1;transform:none}
body.motion .rvx:not(.in){opacity:0;transform:translateY(26px)}
body.motion .hero-copy>*{animation:hup .9s cubic-bezier(.2,.7,.2,1) both}
.hero-copy>.eyebrow{animation-delay:.08s}
.hero-copy>h1{animation-delay:.18s}
.hero-copy>.hero-body{animation-delay:.34s}
.hero-copy>.hero-actions{animation-delay:.46s}
.hero-copy>.hero-meta{animation-delay:.58s}
body.motion .control-card{animation:cardin 1.1s cubic-bezier(.2,.7,.2,1) .35s both;transform-style:preserve-3d}
.hero{perspective:1200px}
#ccard.tilt{transition:transform .18s ease-out;will-change:transform}
.hero-glow{transition:transform 1.2s cubic-bezier(.2,.7,.2,1);will-change:transform}
/* section numbers drift */
.pfx{will-change:transform;transition:transform .1s linear}
/* receipts */
.receipt-strip strong{font-variant-numeric:tabular-nums}
/* casebook auto-cycle cue */
.thumbs button{position:relative}
.thumbs button.active::after{content:"";position:absolute;left:0;bottom:0;height:2px;width:100%;background:var(--gold);transform-origin:0 50%;animation:cy 4.6s linear both}
@keyframes cy{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.thumbs.paused button.active::after{animation:none;transform:scaleX(1)}
#bridge-main{transition:opacity .35s ease}
#bridge-main.swap{opacity:0}
/* consult ambience — background only, no structural change */
#consult{background:radial-gradient(900px 420px at 50% 0%,rgba(185,132,40,.09),transparent 62%),var(--ivory)}
/* founder photo gentle settle */
.founder-photo img{transition:transform 1.4s cubic-bezier(.2,.7,.2,1)}
.founder-section.seen .founder-photo img{transform:scale(1.0)}
@media(prefers-reduced-motion:reduce){
 #mprog{display:none}
 body.motion .hero-copy>*,body.motion .control-card{animation:none}
 .site-nav{transition:none}
 .thumbs button.active::after{animation:none}
 .pfx{transition:none;transform:none!important}
}
