/* Shared photographic continuity for the Compass / Intelligence family.
   Opt-in with class arqs-photo-blend. Uses existing repo photos only.
   The Business Intelligence desk keeps its own #bi-page-polish rules. */

body.arqs-photo-blend{
  --arqs-blend:url("/assets/photos/intelligence/hub-vancouver-night-1920.webp");
  --arqs-blend-b:url("/assets/photos/intelligence/reports-ops-centre-1920.webp");
  --arqs-blend-c:url("/assets/photos/intelligence/business-trading-floor-1920.webp");
  --arqs-gold:rgba(230,196,110,.72)
}
body.arqs-photo-blend.crypto,
body.arqs-photo-blend[data-topic="crypto"]{--arqs-blend:url("/assets/photos/intelligence/crypto-mining-rack-1920.webp");--arqs-blend-b:url("/assets/photos/intelligence/reports-ops-centre-1920.webp")}
body.arqs-photo-blend.auto,
body.arqs-photo-blend[data-topic="auto"]{--arqs-blend:url("/assets/photos/intelligence/auto-sea-to-sky-1920.webp");--arqs-blend-b:url("/assets/photos/intelligence/hub-vancouver-night-1920.webp")}
body.arqs-photo-blend.sports-desk,
body.arqs-photo-blend.sports-editorial,
body.arqs-photo-blend.sports-live,
body.arqs-photo-blend[data-topic="sports"]{--arqs-blend:url("/assets/photos/intelligence/sports-arena-1920.webp");--arqs-blend-b:url("/assets/photos/intelligence/townline-bc-place-1920.webp")}
body.arqs-photo-blend[data-topic="business"],
body.arqs-photo-blend[data-topic="finance"],
body.arqs-photo-blend[data-topic="advertising"]{--arqs-blend:url("/assets/photos/intelligence/business-trading-floor-1920.webp");--arqs-blend-b:url("/assets/photos/registry/intel-ops-1024.webp");--arqs-blend-c:url("/assets/photos/registry/sales-boardroom-1024.webp")}
body.arqs-photo-blend[data-topic="health"]{--arqs-blend-b:url("/assets/photos/compass/med-hero-1600.webp")}
body.arqs-photo-blend[data-topic="education"],
body.arqs-photo-blend[data-topic="technology"]{--arqs-blend-b:url("/assets/photos/registry/learn-lecture-1024.webp");--arqs-blend-c:url("/assets/photos/registry/software-studio-1024.webp")}
body.arqs-photo-blend[data-topic="travel"],
body.arqs-photo-blend[data-topic="places"]{--arqs-blend:url("/assets/photos/intelligence/hub-vancouver-night-1920.webp");--arqs-blend-b:url("/assets/photos/compass/tra-hero-1600.webp")}
body.arqs-photo-blend[data-topic="space"]{--arqs-blend:url("/assets/photos/premium-20261025/intelligence-arrival.webp")}
body.arqs-photo-blend.compass-collection,
body.arqs-photo-blend:has(#compass-fleet){--arqs-blend:url("/assets/photos/premium-20261025/intelligence-arrival.webp");--arqs-blend-b:url("/assets/photos/intelligence/hub-vancouver-night-1920.webp")}

/* Dark canvases: fill the flat black under and between sections. */
body.arqs-photo-blend:not(.ip):not(.ab):not(:has(#bi-page-polish)){
  background-color:#071018!important;
  background-image:linear-gradient(180deg,rgba(6,12,20,.74),rgba(6,12,20,.82)),var(--arqs-blend)!important;
  background-size:cover!important;
  background-position:center top!important;
  background-repeat:no-repeat!important
}
body.arqs-photo-blend:not(.ip):not(.ab):not(.travel-premium):not(:has(#bi-page-polish)) :is(main>section.section,main>.section,main>section.world-section,main>.world-section,.directory,.fleet-intro,.fleet-connections){
  background-image:linear-gradient(180deg,rgba(6,12,20,.8),rgba(6,12,20,.62) 46%,rgba(6,12,20,.84)),var(--arqs-blend-b)!important;
  background-size:cover!important;
  background-position:center!important;
  background-repeat:no-repeat!important
}
body.arqs-photo-blend:not(.ip):not(.ab):not(.travel-premium):not(:has(#bi-page-polish)) :is(main>section.section,main>.section,main>section.world-section):nth-of-type(3n){
  background-image:linear-gradient(180deg,rgba(6,12,20,.82),rgba(6,12,20,.66) 40%,rgba(6,12,20,.86)),var(--arqs-blend-c)!important
}
body.arqs-photo-blend.pd:not(:has(#bi-page-polish)) main>section:not(.hero):not(.cryptoTicker):not(.msn-front):not(.journey){
  background-image:linear-gradient(180deg,rgba(6,12,20,.86),rgba(6,12,20,.74) 42%,rgba(6,12,20,.9)),var(--arqs-blend-b)!important;
  background-size:cover!important;
  background-position:center!important
}
body.arqs-photo-blend.pd:not(:has(#bi-page-polish)) main>section:not(.hero):nth-of-type(odd){
  background-image:linear-gradient(180deg,rgba(6,12,20,.78),rgba(6,12,20,.58) 40%,rgba(6,12,20,.84)),var(--arqs-blend-c)!important
}

body.arqs-photo-blend:not(.ip):not(.ab) :is(.card,.panel,.offer,.lane,.world-card,.box,.metric,.signal,.feature,.commerce-card,.intel-card){
  background-color:rgba(6,12,22,.78)!important;
  border:1px solid var(--arqs-gold)!important;
  color:#f4f7fb
}
body.arqs-photo-blend:not(.ip):not(.ab) :is(.card,.panel,.offer,.lane,.world-card,.box) :is(p,li,span){color:#e7eef6}
body.arqs-photo-blend:not(.ip):not(.ab) :is(.card,.panel,.offer) :is(h2,h3,strong){color:#f7f3ea}
body.arqs-photo-blend.sports-desk :is(.sd-game,.offer,.sd-link-grid a,.sd-team-tile,.sd-feature),
body.arqs-photo-blend.sports-editorial :is(.sd-game,.offer,.sd-link-grid a,.sd-team-tile){
  border:1px solid var(--arqs-gold)!important;
  background-color:rgba(8,20,28,.8)!important
}
body.arqs-photo-blend.lab :is(.card,.panel){
  border-color:var(--arqs-gold)!important;
  background:rgba(6,10,18,.72)!important
}
body.arqs-photo-blend :is(.hero,.sd-hero,.world-hero,.collection-arrival){
  background-color:transparent
}
html body.arqs-photo-blend.pd:not(:has(#bi-page-polish)) :is(.section-head h2,.section-head h3,.desk-note){
  color:#f6f1e6!important;
  text-shadow:0 2px 12px rgba(0,0,0,.8)
}
html body.arqs-photo-blend.pd:not(:has(#bi-page-polish)) :is(.kicker,.ey){
  color:#e6c46e!important
}

body.arqs-photo-blend.ip{background:#081320!important;color:#e5ecf3}
body.arqs-photo-blend.ip .hero::before{background:linear-gradient(90deg,#06101bdd,transparent),linear-gradient(0deg,#081320,transparent 55%)!important}
body.arqs-photo-blend.ip .section{background:linear-gradient(110deg,#071321ef,#0a1522cc),var(--arqs-blend-b) center/cover!important;color:#e5ecf3}
body.arqs-photo-blend.ip .card{background:#102235!important;border:1px solid #b9935566!important;color:#eef1f3}
body.arqs-photo-blend.ip :is(.card,.section) :is(p,li,h2,h3){color:#e5ecf3!important}
body.arqs-photo-blend :is(input,select,textarea,button){color:inherit}
@media(max-width:700px){
  body.arqs-photo-blend:not(.ip){background-position:center center!important}
}

@supports (animation-timeline:view()){ @media(prefers-reduced-motion:no-preference){ @keyframes arrival-depth{from{translate:0 -3%}to{translate:0 3%}} .hero picture,.collection-arrival>img,.annual-hero>img{scale:1.08;animation:arrival-depth linear both;animation-timeline:view();animation-range:entry 0% exit 100%} } }
@media(min-width:900px) and (hover:hover) and (prefers-reduced-motion:no-preference){body.arqs-photo-blend.pd main>section:not(.hero){background-attachment:fixed}}
