/* Additions on top of the Claude Design canvas: sticky header, gentle scroll fade-ins,
   reduced-motion off switch. No colours, fonts, text or spacing of the design change. */
body > header{position:sticky!important;top:0;z-index:100;transition:box-shadow .25s ease}
body > header.is-stuck{box-shadow:0 10px 28px -18px rgba(0,71,125,.45)}
body > header > div:nth-child(2) img{transition:transform .25s ease;transform-origin:left center}
body > header.is-stuck > div:nth-child(2) img{transform:scale(.72)}
[id]{scroll-margin-top:120px}
.fx{opacity:0;transform:translateY(22px);transition:opacity .6s ease,transform .6s ease}
.fx.in{opacity:1;transform:none}
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .fx{opacity:1;transform:none}
}

/* ---- Five patterns, round 2 (2026-11-17). Text and its formatting untouched. ---- */

/* Pattern 3, back: soft still glows behind the first screen (brand wash and light grey, never the green) */
body > header + section::before,
body > header + section::after{content:"";position:absolute;pointer-events:none;border-radius:50%;z-index:0}
body > header + section::before{width:max(720px,50vw);height:max(720px,50vw);left:min(-260px,-18vw);top:min(-300px,-21vw);background:radial-gradient(circle,rgba(21,109,161,.18) 0%,rgba(231,240,245,.7) 38%,rgba(231,240,245,0) 70%)}
body > header + section::after{width:max(640px,44.5vw);height:max(640px,44.5vw);right:min(-220px,-15.3vw);bottom:min(-320px,-22.2vw);background:radial-gradient(circle,rgba(200,200,210,.38) 0%,rgba(231,240,245,.35) 40%,rgba(231,240,245,0) 70%)}
body > header + section > .wrap{position:relative;z-index:1}
/* Page-top photo band: fade its left edge instead of a hard vertical cut, which showed as a patch on wide screens */
img[aria-hidden="true"][style*="width:60%"]{-webkit-mask-image:linear-gradient(to right,transparent 0,#000 35%);mask-image:linear-gradient(to right,transparent 0,#000 35%)}

/* Pattern 3, front: lift the buttons off the page */
.btn{box-shadow:0 10px 24px -10px rgba(76,122,18,.75),0 2px 6px rgba(0,71,125,.16);transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
.btn:hover{transform:translateY(-2px);box-shadow:0 16px 30px -12px rgba(76,122,18,.8),0 3px 8px rgba(0,71,125,.18)}
.btn.alt{box-shadow:inset 0 0 0 2px var(--navy),0 10px 22px -14px rgba(0,71,125,.5)}
.btn.alt:hover{box-shadow:inset 0 0 0 2px var(--navy),0 14px 26px -14px rgba(0,71,125,.55)}
.btn[style*="background:var(--navy)"]{box-shadow:0 12px 26px -12px rgba(0,71,125,.8),0 2px 6px rgba(0,0,0,.15)}
.hdr-cta{box-shadow:0 8px 20px -10px rgba(76,122,18,.8),0 2px 5px rgba(0,71,125,.14);transition:transform .2s ease}
.hdr-cta:hover{transform:translateY(-1px)}

/* Pattern 3, break one edge: the closing green card hangs over the navy footer */
.card.edge{position:relative;z-index:2;margin-bottom:-120px;box-shadow:0 26px 54px -26px rgba(0,30,60,.55)!important}
body:has(.card.edge) footer > div:first-child{padding-top:176px!important}

/* Pattern 4, motion with a job: clickable cards rise a little under the pointer */
a.card,.grid > .card:has(a){transition:transform .25s ease,box-shadow .25s ease}
a.card:hover,.grid > .card:has(a):hover{transform:translateY(-4px);box-shadow:0 1px 0 rgba(0,71,125,.08),0 22px 40px -20px rgba(0,71,125,.42)}

/* Mobile and tablet: keep the "Free assessment" pill visible next to the hamburger */
@media (max-width:900px){
  .hdr-cta{display:inline-block!important;margin-left:auto;padding:9px 18px!important;font-size:15px!important}
  .hd-solar{display:none}
  body > header > div:nth-child(2){gap:12px!important}
}
@media (max-width:560px){
  body > header > div:nth-child(2){padding:10px 16px!important;gap:8px!important}
  body > header > div:nth-child(2) > a:first-child img{height:62px!important}
  .hdr-cta{padding:8px 13px!important;font-size:14px!important}
}
