/* bgfix.css (2026-11-04; 2026-11-07 speed: all backgrounds now point at resized -opt.webp copies of the same crops) */
/*: high-res + responsive backgrounds. Loaded last. Desktop = -d (>=2000px tall), mobile/portrait = -m portrait crops. No blur, no fixed attachment. */
.hbg[style*="photos/boise-foothills.jpg"],.bandimg[style*="photos/boise-foothills.jpg"]{background-image:url(../photos/boise-foothills-d-opt.webp)!important}
.hbg[style*="photos/idaho-capitol.jpg"],.bandimg[style*="photos/idaho-capitol.jpg"]{background-image:url(../photos/idaho-capitol-d-opt.webp)!important}
.hbg[style*="photos/tamarack-view.jpg"],.bandimg[style*="photos/tamarack-view.jpg"]{background-image:url(../photos/tamarack-view-d-opt.webp)!important}
.hbg[style*="photos/sawtooth-valley.jpg"],.bandimg[style*="photos/sawtooth-valley.jpg"]{background-image:url(../photos/sawtooth-valley-d-opt.webp)!important}
.hbg[style*="photos/boise-skyline.jpg"],.bandimg[style*="photos/boise-skyline.jpg"]{background-image:url(../photos/boise-skyline-d-opt.webp)!important}
.hbg[style*="photos/stanley-lake-mcgown.jpg"],.bandimg[style*="photos/stanley-lake-mcgown.jpg"]{background-image:url(../photos/stanley-lake-mcgown-d-opt.webp)!important}
.hbg[style*="photos/payette-lake.jpg"],.bandimg[style*="photos/payette-lake.jpg"]{background-image:url(../photos/payette-lake-d-opt.webp)!important}
.hbg[style*="photos/larch-autumn.jpg"],.bandimg[style*="photos/larch-autumn.jpg"]{background-image:url(../photos/larch-autumn-d-opt.webp)!important}
.hbg[style*="photos/redfish-sawtooths.jpg"],.bandimg[style*="photos/redfish-sawtooths.jpg"]{background-image:url(../photos/redfish-sawtooths-d-opt.webp)!important}
.hbg[style*="photos/boise-foothills-panorama.jpg"],.bandimg[style*="photos/boise-foothills-panorama.jpg"]{background-image:url(../photos/boise-foothills-panorama-d-opt.webp)!important}
.bandimg[style*="brand/band-ridge.jpg"]{background-image:url(band-ridge-d-opt.webp)!important}
.bandimg[style*="brand/band-lake.jpg"]{background-image:url(band-lake-d-opt.webp)!important}
.hero:has(.hbg[style*="hero-peaks-green"]) .hbg{background-image:url(hero-peaks-green-d-opt.webp)!important}
.mapimg{background-image:url(map-navy-3200-opt.webp)!important;background-size:cover;background-position:center;filter:none!important}
section.dark:nth-of-type(4n){background:linear-gradient(180deg,rgba(12,30,70,.80),rgba(20,48,95,.86)),url(mesh-steel-gold-d-opt.webp) center/cover!important}
section.dark.cta{background:linear-gradient(180deg,rgba(10,26,60,.55),rgba(10,26,60,.85)),url(tamarack-glass-peaks-d-opt.webp) center 35%/cover!important}
div.concept:nth-child(3n+2){background:linear-gradient(180deg,rgba(7,15,39,.15),rgba(7,15,39,.85)),url(band-ridge-m-opt.webp) center/cover!important}
section.light:has(.plans){background-image:radial-gradient(50% 40% at 50% 100%,rgba(47,122,85,.30),transparent 70%),radial-gradient(40% 35% at 20% 10%,rgba(232,201,157,.12),transparent 70%),linear-gradient(180deg,rgba(7,15,39,.55),rgba(7,15,39,.80)),url(hero-peaks-green-d-opt.webp)!important}
@media (max-width:820px),(orientation:portrait){
 .hbg[style*="photos/boise-foothills.jpg"],.bandimg[style*="photos/boise-foothills.jpg"]{background-image:url(../photos/boise-foothills-m-opt.webp)!important}
 .hbg[style*="photos/idaho-capitol.jpg"],.bandimg[style*="photos/idaho-capitol.jpg"]{background-image:url(../photos/idaho-capitol-m-opt.webp)!important}
 .hbg[style*="photos/tamarack-view.jpg"],.bandimg[style*="photos/tamarack-view.jpg"]{background-image:url(../photos/tamarack-view-m-opt.webp)!important}
 .hbg[style*="photos/sawtooth-valley.jpg"],.bandimg[style*="photos/sawtooth-valley.jpg"]{background-image:url(../photos/sawtooth-valley-m-opt.webp)!important}
 .hbg[style*="photos/boise-skyline.jpg"],.bandimg[style*="photos/boise-skyline.jpg"]{background-image:url(../photos/boise-skyline-m-opt.webp)!important}
 .hbg[style*="photos/stanley-lake-mcgown.jpg"],.bandimg[style*="photos/stanley-lake-mcgown.jpg"]{background-image:url(../photos/stanley-lake-mcgown-m-opt.webp)!important}
 .hbg[style*="photos/payette-lake.jpg"],.bandimg[style*="photos/payette-lake.jpg"]{background-image:url(../photos/payette-lake-m-opt.webp)!important}
 .hbg[style*="photos/larch-autumn.jpg"],.bandimg[style*="photos/larch-autumn.jpg"]{background-image:url(../photos/larch-autumn-m-opt.webp)!important}
 .hbg[style*="photos/redfish-sawtooths.jpg"],.bandimg[style*="photos/redfish-sawtooths.jpg"]{background-image:url(../photos/redfish-sawtooths-m-opt.webp)!important}
 .hbg[style*="photos/boise-foothills-panorama.jpg"],.bandimg[style*="photos/boise-foothills-panorama.jpg"]{background-image:url(../photos/boise-foothills-panorama-m-opt.webp)!important}
 .bandimg[style*="brand/band-ridge.jpg"]{background-image:url(band-ridge-m-opt.webp)!important}
 .bandimg[style*="brand/band-lake.jpg"]{background-image:url(band-lake-m-opt.webp)!important}
 .hbg,.bandimg,.mapimg{background-attachment:scroll!important}
 .bandimg,.mapimg{inset:0!important}
 .mapimg{background-image:url(map-navy-portrait-1800-opt.webp)!important;background-position:center 30%!important}
 .hero:has(.hbg[style*="hero-peaks-green"]) .hbg{background-image:url(hero-peaks-green-mobile-fx.webp)!important}
 section.dark:nth-of-type(4n){background:linear-gradient(180deg,rgba(12,30,70,.80),rgba(20,48,95,.86)),url(mesh-steel-gold-m-opt.webp) center/cover!important}
 section.dark.cta{background:linear-gradient(180deg,rgba(10,26,60,.55),rgba(10,26,60,.85)),url(tamarack-glass-peaks-m-opt.webp) center 35%/cover!important}
 section.light:has(.plans){background-image:radial-gradient(50% 40% at 50% 100%,rgba(47,122,85,.30),transparent 70%),radial-gradient(40% 35% at 20% 10%,rgba(232,201,157,.12),transparent 70%),linear-gradient(180deg,rgba(7,15,39,.55),rgba(7,15,39,.80)),url(hero-peaks-green-mobile-fx.webp)!important}
}
/* a11y helpers (audit 2026-11-04) */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
footer .fh{font-family:var(--caps);color:var(--gold);letter-spacing:.2em;font-size:.7rem;font-weight:500;margin:0 0 14px}
main{display:block}
:where(img[width][height]:not(.logo)){height:auto}
/* reference projects (work page) */
.refs{display:grid;gap:clamp(64px,9vw,120px);margin-top:44px}
.refproj.flip>.refshot{order:2}
.refshot{position:relative;padding:0 8% 10% 0}
.refshot .frame img{display:block;width:100%;height:auto}
.refphone{position:absolute;right:0;bottom:0;width:30%;max-width:190px;aspect-ratio:9/19;border-radius:22px;overflow:hidden;padding:6px;background:linear-gradient(165deg,rgba(255,255,255,.22),rgba(255,255,255,.06));backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 0 0 1px rgba(232,201,157,.6),0 24px 48px -18px rgba(7,15,39,.6)}
.refphone img{width:100%;height:100%;object-fit:cover;object-position:top;border-radius:17px;display:block}
@media (max-width:820px){.refproj.flip>.refshot{order:0}.refshot{padding:0 6% 14% 0}}
.refproj.flip{grid-template-columns:1fr 1.3fr}@media (max-width:820px){.refproj.flip{grid-template-columns:1fr}}

/* Show the homepage "Made for the work you do" heading. v2.css hid .overlap .head
   so the cards could float over the band; keep the cards below the heading instead. */
.overlap .head{display:flex;position:relative;z-index:4;padding-top:48px;margin-bottom:28px}
.overlap .grid{margin-top:0}
@media(max-width:1080px){
  .overlap .grid{margin-top:0}
}
