/* iMU home v2 luxe finish — Nov 24, 2026
   Mercedes to Lambo: richer materials, sharper type, premium micro-motion.
   No layout, structure or copy changes. Honors prefers-reduced-motion and html.rm.
*/

/* ——— Atmosphere ——— */
.grain{opacity:.07}
.amb{background:
  radial-gradient(70vw 55vw at 80% -12%,rgba(231,181,58,.13),transparent 60%),
  radial-gradient(55vw 45vw at -12% 28%,rgba(231,181,58,.08),transparent 62%),
  radial-gradient(40vw 30vw at 50% 100%,rgba(231,181,58,.04),transparent 70%)}

/* ——— Foil type: same gold, more depth ——— */
h2.h2{letter-spacing:-.02em}
h1,h2,h3{letter-spacing:-.018em}
h2 .gold,h3 .gold,.vets-h .gold,.final .gold,.kicker + .h2 .gold{
  background-image:linear-gradient(105deg,#8a5a12 0%,#ffe9a0 22%,#fff8dc 50%,#f0c453 70%,#a9741a 100%);
  background-size:220% 100%;
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
@media (prefers-reduced-motion:no-preference){
  html:not(.rm) h2 .gold,html:not(.rm) h3 .gold,html:not(.rm) .vets-h .gold,html:not(.rm) .final .gold{
    animation:imuLuxeFoil 9s ease-in-out infinite;
  }
}
@keyframes imuLuxeFoil{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
.hero h1 .l2{filter:drop-shadow(0 0 28px rgba(231,181,58,.5))}
.stat .n.gold{filter:drop-shadow(0 0 18px rgba(231,181,58,.32))}
.kicker,.eyebrow{letter-spacing:.3em}

/* ——— Glass depth on existing cards (no size/layout change) ——— */
.tile,.plan,.ladder-card,.arcade,
#real-wins .vwb-card,
#new-on-campus .tile,
#for-businesses .tile,
#features .tile{
  box-shadow:inset 0 1px 0 rgba(255,233,160,.14),0 22px 50px -30px rgba(0,0,0,.8);
}
.tile,.plan,.ladder-card,#new-on-campus .tile,#features .tile{
  transition:border-color .4s,transform .5s var(--ease),box-shadow .5s var(--ease);
}
.tile:hover,.plan:hover,.ladder-card:hover,
#new-on-campus .tile:hover,#features .tile:hover{
  transform:translateY(-4px);
  border-color:var(--line2);
  box-shadow:inset 0 1px 0 rgba(255,233,160,.24),0 28px 64px -28px rgba(231,181,58,.38);
}
.plan.hot{
  box-shadow:inset 0 1px 0 rgba(255,233,160,.3),0 0 0 1px rgba(255,233,160,.22),0 44px 110px -40px rgba(231,181,58,.7);
}
.plan.hot:hover{
  transform:translateY(-4px);
  box-shadow:inset 0 1px 0 rgba(255,233,160,.35),0 0 0 1px rgba(255,233,160,.3),0 50px 120px -36px rgba(231,181,58,.8);
}
#real-wins .vwb-card{
  transition:border-color .4s,box-shadow .5s var(--ease);
}
#real-wins .vwb-card:hover{
  border-color:rgba(226,194,123,.48);
  box-shadow:inset 0 1px 0 rgba(255,233,160,.2),0 24px 56px -28px rgba(231,181,58,.3);
}

/* Light sweep on tiles (tiles already use ::before for the cursor glow) */
.tile::after,#new-on-campus .tile::after{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:1;
  background:linear-gradient(115deg,transparent 38%,rgba(255,248,220,.1) 50%,transparent 62%);
  transform:translateX(-130%);
  opacity:0;
}
@media (prefers-reduced-motion:no-preference){
  html:not(.rm) .tile::after,html:not(.rm) #new-on-campus .tile::after{
    transition:transform .85s var(--ease),opacity .3s;
  }
  html:not(.rm) .tile:hover::after,html:not(.rm) #new-on-campus .tile:hover::after{
    transform:translateX(130%);opacity:1;
  }
}

/* ——— Nav: deeper glass ——— */
.nav.scrolled{
  background:rgba(5,5,5,.58);
  backdrop-filter:blur(22px) saturate(1.45);
  -webkit-backdrop-filter:blur(22px) saturate(1.45);
  border-color:rgba(231,181,58,.22);
  box-shadow:0 12px 40px -24px rgba(0,0,0,.75),inset 0 -1px 0 rgba(255,233,160,.07);
}
.brand img{filter:drop-shadow(0 0 12px rgba(231,181,58,.45))}
.nav-links a:hover{color:var(--gold-hi);text-shadow:0 0 18px rgba(231,181,58,.25)}

/* ——— Buttons: slightly richer gold light ——— */
.btn{box-shadow:0 10px 40px -10px rgba(231,181,58,.65),inset 0 1px 0 rgba(255,255,255,.65)}
.btn:hover{box-shadow:0 18px 54px -12px rgba(231,181,58,.88),inset 0 1px 0 rgba(255,255,255,.7)}
.ghost:hover{box-shadow:0 0 0 1px rgba(231,181,58,.25),0 12px 32px -18px rgba(231,181,58,.45)}

/* ——— Reveal: same travel, more expensive easing ——— */
.js .rv,.js .rv-l{transition-timing-function:cubic-bezier(.16,1,.3,1);transition-duration:1s}
.split .w>span{transition-timing-function:cubic-bezier(.16,1,.3,1);transition-duration:1.05s}

/* ——— Section polish (visual only) ——— */
.proof{position:relative}
.stat{transition:transform .4s var(--ease)}
.stat:hover{transform:translateY(-2px)}
.day{transition:border-color .35s,transform .4s var(--ease),box-shadow .4s}
.day:hover{transform:translateY(-2px);border-color:var(--line2);box-shadow:inset 0 1px 0 rgba(255,233,160,.1)}
.faq details{transition:border-color .35s,box-shadow .35s}
.faq details:hover,.faq details[open]{border-color:var(--line2);box-shadow:inset 0 1px 0 rgba(255,233,160,.1)}
.vets-band{box-shadow:inset 0 1px 0 rgba(255,233,160,.08),0 24px 60px -36px rgba(231,181,58,.2)}
.vets-btn{box-shadow:0 10px 36px -12px rgba(231,181,58,.55)}
#certificates .luxe,#certificates .ivory,#certificates .ih,#certificates .spec{
  filter:drop-shadow(0 24px 40px rgba(0,0,0,.55));
  transition:transform .5s var(--ease),filter .5s;
}
#certificates img:hover{transform:translateY(-4px);filter:drop-shadow(0 28px 48px rgba(231,181,58,.22))}
.final .btn.xl{box-shadow:0 14px 50px -10px rgba(231,181,58,.75),inset 0 1px 0 rgba(255,255,255,.65)}
#ksx .coin3d,#ksx .face{filter:drop-shadow(0 16px 28px rgba(231,181,58,.18))}
.ticker{border-color:rgba(231,181,58,.16)}
.dial-center .pct{text-shadow:0 0 24px rgba(231,181,58,.28)}

/* Fresh-this-week open affordance */
#new-on-campus .nc-open{transition:color .3s,transform .3s var(--ease)}
#new-on-campus .tile:hover .nc-open{color:var(--gold-hi)}
#new-on-campus .tile:hover .nc-open .arr{transform:translateX(4px);display:inline-block}

/* Reduced motion: no added animation or lift */
@media (prefers-reduced-motion:reduce){
  h2 .gold,h3 .gold,.vets-h .gold,.final .gold{animation:none}
  .tile::after,#new-on-campus .tile::after{display:none}
  .tile:hover,.plan:hover,.ladder-card:hover,.day:hover,.stat:hover,
  #new-on-campus .tile:hover,#features .tile:hover,.plan.hot:hover,
  #certificates img:hover{transform:none}
}
html.rm h2 .gold,html.rm h3 .gold,html.rm .vets-h .gold,html.rm .final .gold{animation:none}
html.rm .tile::after,html.rm #new-on-campus .tile::after{display:none}
