/*
  APEX Property Intelligence Atmosphere System v2
  Irregular halftone anchors create visual depth without competing with content.
  Feature strength is intentionally concentrated in open corners and edges.
*/
:root {
  --apex-motif-hero: url("../images/apex-motif-hero-building.svg");
  --apex-motif-plan: url("../images/apex-motif-floorplan.svg");
  --apex-motif-diagnostics: url("../images/apex-motif-diagnostics.svg");
  --apex-motif-estimating: url("../images/apex-motif-estimating.svg");
  --apex-motif-intelligence: url("../images/apex-motif-intelligence.svg");
  --apex-motif-horizon: url("../images/apex-motif-horizon.svg");
  --apex-ambient-grid: url("../images/apex-atmosphere-ambient.svg");
}

.hero {
  background-image:
    linear-gradient(90deg, rgba(5,5,5,.84) 0%, rgba(5,7,11,.63) 58%, rgba(7,10,15,.34) 100%),
    var(--apex-motif-hero),
    radial-gradient(ellipse at 78% 25%, rgba(196,30,58,.15) 0%, transparent 55%),
    linear-gradient(135deg,#050505 0%,#0a0d15 48%,#10131a 100%);
  background-size:auto,cover,auto,auto;
  background-position:center,center right,center,center;
  background-repeat:no-repeat;
}
.hero-grid{opacity:.48}

.field-band {
  background-image:
    linear-gradient(90deg, rgba(5,5,5,.60), rgba(6,9,14,.80)),
    var(--apex-motif-diagnostics),
    radial-gradient(ellipse at 18% 28%,rgba(196,30,58,.09),transparent 50%),
    linear-gradient(180deg,#050505 0%,#080a10 48%,#111318 100%);
  background-size:auto,cover,auto,auto;
  background-position:center,center right,center,center;
  background-repeat:no-repeat;
}
.field-band::before{opacity:.18}

.about-preview {
  background-image:
    linear-gradient(90deg, rgba(5,5,5,.82), rgba(6,9,14,.58)),
    var(--apex-motif-plan),
    radial-gradient(ellipse at 16% 26%,rgba(196,30,58,.07),transparent 54%),
    linear-gradient(180deg,#050505 0%,#080a10 52%,#121418 100%);
  background-size:auto,cover,auto,auto;
  background-position:center,center right,center,center;
  background-repeat:no-repeat;
}
.about-preview::before{opacity:.14}

.final-cta {
  background-image:
    linear-gradient(90deg, rgba(6,6,7,.78), rgba(9,8,12,.52)),
    var(--apex-motif-intelligence),
    radial-gradient(ellipse at 78% 40%,rgba(196,30,58,.17),transparent 58%),
    linear-gradient(135deg,#070707 0%,#0a0a0d 48%,#12090c 100%);
  background-size:auto,cover,auto,auto;
  background-position:center,center right,center,center;
  background-repeat:no-repeat;
}
.final-cta::before{opacity:.09}

.site-footer {
  background-image:
    linear-gradient(rgba(5,5,6,.72),rgba(4,4,5,.88)),
    var(--apex-motif-horizon),
    linear-gradient(180deg,#08080a 0%,#050506 100%);
  background-size:auto,cover,auto;
  background-position:center,center bottom,center;
  background-repeat:no-repeat;
}
.site-footer::before{opacity:.07}

.nav,.legal-nav {
  background-image:linear-gradient(rgba(5,5,5,.94),rgba(5,5,5,.94)),var(--apex-ambient-grid);
  background-size:auto,1300px auto;background-position:center,right 22% center;background-repeat:no-repeat;
}
.legal-footer{position:relative;background-image:linear-gradient(rgba(5,5,5,.90),rgba(5,5,5,.92)),var(--apex-motif-horizon)!important;background-size:auto,cover!important;background-position:center,center bottom!important;background-repeat:no-repeat!important}

.estimate-page {
  background-color:#05070a;
  background-image:linear-gradient(rgba(5,7,10,.68),rgba(5,7,10,.88)),var(--apex-motif-estimating);
  background-size:auto,cover;background-position:center,center top;background-repeat:no-repeat;background-attachment:fixed;
}
.estimate-hero {
  background-image:linear-gradient(90deg,rgba(5,7,10,.76),rgba(5,7,10,.48)),var(--apex-motif-estimating),linear-gradient(135deg,#05070a 0%,#0a0d12 55%,#101217 100%)!important;
  background-size:auto,cover,auto!important;background-position:center,center right,center!important;background-repeat:no-repeat!important;
}
.estimate-hero-grid{opacity:.28}

.portal-page,.ops-page {
  background-color:#05070a!important;
  background-image:linear-gradient(rgba(5,7,10,.70),rgba(5,7,10,.90)),var(--apex-motif-plan)!important;
  background-size:auto,cover!important;background-position:center,center top!important;background-repeat:no-repeat!important;background-attachment:fixed!important;
}
.ops-page{background-image:linear-gradient(rgba(5,7,10,.70),rgba(5,7,10,.90)),var(--apex-motif-intelligence)!important}
.portal-shell,.portal-prototype-strip{position:relative;z-index:1}

.thank-you-page {
  background-color:#050505!important;
  background-image:linear-gradient(rgba(5,5,5,.62),rgba(5,5,5,.84)),var(--apex-motif-intelligence)!important;
  background-size:auto,cover!important;background-position:center,center right!important;background-repeat:no-repeat!important;
}
.thank-you-page main{box-shadow:0 34px 120px rgba(0,0,0,.42);backdrop-filter:blur(7px)}

.property-intelligence-page {
  background-color:#060a0e!important;
  background-image:linear-gradient(rgba(6,10,14,.64),rgba(6,10,14,.84)),var(--apex-motif-intelligence)!important;
  background-size:auto,cover!important;background-position:center,center top!important;background-repeat:no-repeat!important;background-attachment:fixed!important;
}
.property-intelligence-page .hero {
  background-image:linear-gradient(90deg,rgba(6,10,14,.97) 0%,rgba(6,10,14,.68) 56%,rgba(6,10,14,.26) 100%),var(--apex-motif-intelligence)!important;
  background-size:auto,cover!important;background-position:center,center right!important;background-repeat:no-repeat!important;
}
.property-intelligence-page .hero::before{opacity:.14}
.property-intelligence-page .section{position:relative;isolation:isolate;background-size:auto,cover;background-repeat:no-repeat}
.property-intelligence-page .section:nth-of-type(1),
.property-intelligence-page #property-story{background-image:linear-gradient(90deg,rgba(6,10,14,.92),rgba(6,10,14,.66)),var(--apex-motif-plan);background-position:center,center right}
.property-intelligence-page #field-record{background-image:linear-gradient(90deg,rgba(6,10,14,.72),rgba(6,10,14,.92)),var(--apex-motif-diagnostics);background-position:center,center left}
.property-intelligence-page #extent{background-image:linear-gradient(90deg,rgba(6,10,14,.90),rgba(6,10,14,.62)),var(--apex-motif-plan);background-position:center,center right}
.property-intelligence-page #clear-direction{background-image:linear-gradient(90deg,rgba(6,10,14,.70),rgba(6,10,14,.92)),var(--apex-motif-hero);background-position:center,center left}
.property-intelligence-page .integration{background-image:linear-gradient(90deg,rgba(8,13,18,.88),rgba(7,11,15,.58)),var(--apex-motif-estimating)!important;background-size:auto,cover!important;background-position:center,center right!important;background-repeat:no-repeat!important}
.property-intelligence-page .support{background-image:linear-gradient(90deg,rgba(6,10,14,.84),rgba(6,10,14,.54)),var(--apex-motif-intelligence);background-size:auto,cover;background-position:center,center right;background-repeat:no-repeat}
.property-intelligence-page .topbar{background-image:linear-gradient(rgba(6,10,14,.91),rgba(6,10,14,.91)),var(--apex-ambient-grid);background-size:auto,1300px auto;background-position:center,right center;background-repeat:no-repeat}
.property-intelligence-page .footer{background-image:linear-gradient(rgba(5,8,11,.72),rgba(5,8,11,.90)),var(--apex-motif-horizon);background-size:auto,cover;background-position:center,center bottom;background-repeat:no-repeat}

@media(max-width:760px){
 .hero,.field-band,.about-preview,.final-cta,.site-footer,.estimate-page,.portal-page,.ops-page,.property-intelligence-page,.property-intelligence-page .hero,.property-intelligence-page .section,.property-intelligence-page .integration,.property-intelligence-page .support{background-attachment:scroll!important;background-size:auto,1120px auto!important}
 .hero{background-position:center,68% center,center,center}
 .field-band,.about-preview,.property-intelligence-page .section{background-position:center,72% center!important}
 .field-band::before,.about-preview::before,.final-cta::before,.site-footer::before{opacity:.06}
}
@media(prefers-reduced-motion:reduce){.estimate-page,.portal-page,.ops-page,.property-intelligence-page{background-attachment:scroll!important}}
