/* shared motion helpers */
.mx-w{display:inline-block;vertical-align:top}
.mx-wi{display:inline-block;will-change:transform}
.mx-on .rv{transition:none}
.mx-pre .mx-hero-copy{opacity:0}
.mx-progress{position:fixed;left:0;top:0;height:2px;width:100%;transform:scaleX(0);transform-origin:0 50%;z-index:9999;pointer-events:none;background:var(--mx-accent,#b89a5e)}
@media (prefers-reduced-motion:reduce){.mx-progress{display:none}}
/* keep gradient-clipped emphasis visible after word split */
em .mx-w,em .mx-wi,.mx-clip em,.mx-clip .mx-w,.mx-clip .mx-wi{background:inherit;-webkit-background-clip:inherit;background-clip:inherit}

/* Summit Pathways refinement layer, Nov 13 2026 (preview). Typography, contrast, imagery, buttons, cards. */
:root{--mx-accent:linear-gradient(90deg,#b8862f,#f3dc9a 50%,#d2a64a)}
html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
h1,h3{text-wrap:balance}
p,li{text-wrap:pretty}
/* home hero glow lives in styles.css (behind the image). Do not paint a white plate here. */
.hero .rays{opacity:.6}
.hero-home .rays{opacity:.9}
.hero-home .eyebrow{letter-spacing:.2em}
.hero .lead{line-height:1.7}
/* buttons: crisp edges, quiet lift, clear focus */
.btn{transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s cubic-bezier(.2,.7,.2,1),background-color .25s,color .25s,border-color .25s}
@media (hover:hover) and (pointer:fine){.btn:hover{transform:translateY(-1px)}}
.btn:focus-visible,a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid #d2a64a;outline-offset:3px}
/* cards: refined hover lift on pointer devices */
.card,.impact,.goal{transition:transform .5s cubic-bezier(.2,.7,.2,1),box-shadow .5s cubic-bezier(.2,.7,.2,1)}
@media (hover:hover) and (pointer:fine){.card-link:hover,.impact:hover{transform:translateY(-3px);box-shadow:0 2px 6px rgba(6,24,64,.06),0 28px 54px -30px rgba(6,24,64,.45)}}
/* imagery: unified gentle grade */
main img:not([src*="logo"]){filter:saturate(.97) contrast(1.03)}
/* first-paint guard for hero entrance */
.mx-pre .hero .hero-inner>*{opacity:0}
.mx-on .hero .rays{will-change:transform}
@media (prefers-reduced-motion:reduce){.btn:hover,.card-link:hover,.impact:hover{transform:none}}

/* Nov 14 2026 polish — contain parallax, avoid overflow and layout shift */
.mx-on .hero,.mx-on .phero,.mx-on .vhero{overflow:hidden;isolation:isolate}
.mx-on .hero .bg,.mx-on .phero .bg,.mx-on .vhero .bg,
.mx-on .hero .rays{backface-visibility:hidden;transform:translateZ(0)}
.mx-on .hero .wrap,.mx-on .hero .in,.mx-on .hero .copy,.mx-on .hero-inner{backface-visibility:hidden}
@media (max-width:767px){
  .mx-on .hero .bg,.mx-on .phero .bg,.mx-on .vhero .bg,.mx-on .hero .rays{will-change:auto}
}
@media (prefers-reduced-motion:reduce){
  .mx-on .hero .bg,.mx-on .phero .bg,.mx-on .vhero .bg{will-change:auto}
  .mx-progress{display:none}
}
