/* DC Microsite V0.2.1 — Visual Refinement
   Scope: hero image, section-heading balance, Visual Intelligence layout,
   and OTDR crop focus. Loaded after the Solar framework stylesheet. */

/* HERO — accepted data-centre construction image.
   Strong left-side shade conceals any embedded artwork/text in the source
   while preserving the construction scene on the right for the live HTML copy. */
.hero-media{
  background-color:var(--navy-deep);
}
.hero-shade{
  background:linear-gradient(90deg,
    rgba(4,22,43,.99) 0%,
    rgba(4,22,43,.98) 34%,
    rgba(4,22,43,.91) 48%,
    rgba(4,22,43,.58) 61%,
    rgba(4,22,43,.16) 78%,
    rgba(4,22,43,.04) 100%);
}

/* WHY IT MATTERS — shorter display heading and more controlled visual weight. */
.why-matters .two-col{
  grid-template-columns:.9fr 1.1fr;
  gap:56px;
}
.why-matters .copy h2{
  font-size:clamp(36px,3.75vw,58px);
  line-height:1.04;
  letter-spacing:-.032em;
  max-width:620px;
}
.why-matters .copy>p:not(.eyebrow){
  max-width:620px;
}
.why-matters .context-image img{
  min-height:420px;
  aspect-ratio:16/10;
  object-fit:cover;
}

/* CONSTRUCTION VISUAL INTELLIGENCE — two balanced ideas instead of
   a three-column/floating composition. */
.visual-intelligence .section-head{
  max-width:820px;
  margin-bottom:34px;
}
.visual-intelligence .section-head h2{
  font-size:clamp(38px,4vw,56px);
  line-height:1.05;
  letter-spacing:-.03em;
}
.visual-intelligence-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:28px;
  align-items:stretch;
}
.visual-card{
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  padding:32px;
  display:flex;
  flex-direction:column;
  min-width:0;
}
.visual-card h3{
  margin:0 0 14px;
  font-size:clamp(28px,2.45vw,38px);
  line-height:1.08;
  letter-spacing:-.025em;
}
.visual-card>p:not(.eyebrow):not(.fineprint){
  color:var(--muted);
  margin-top:0;
}
.visual-feature-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin:20px 0 26px;
}
.visual-feature-list>div{
  padding:16px;
  background:var(--soft);
  border-radius:10px;
}
.visual-feature-list strong{
  display:block;
  color:var(--ink);
  font-size:15px;
  margin-bottom:4px;
}
.visual-feature-list span{
  display:block;
  color:var(--muted);
  font-size:14px;
  line-height:1.42;
}
.visual-card .text-link{
  margin-top:auto;
  align-self:flex-start;
}
.dashboard-card-visual{
  width:100%;
  min-height:240px;
  display:grid;
  place-items:center;
  padding:12px 12px 18px;
  margin-bottom:8px;
}
.dashboard-card-visual img{
  width:100%;
  max-height:260px;
  object-fit:contain;
}
.dashboard-card .dashboard-benefits{
  margin:18px 0 22px;
}
.dashboard-card .button{
  align-self:flex-start;
  margin-top:auto;
}
.dashboard-card .fineprint{
  margin:14px 0 0;
}

/* OTDR / fibre test image — keep the machine, not the fibre coil, as the focal point. */
@media (min-width:1200px){
  #operations .op-with-image .op-image img{
    object-position:12% 50% !important;
  }
}
@media (min-width:768px) and (max-width:1199px){
  #operations .op-with-image .op-image img{
    object-position:25% 58% !important;
  }
}
@media (max-width:767px){
  #operations .op-with-image .op-image img{
    object-position:25% 58% !important;
  }
}

/* RESPONSIVE BALANCE */
@media (max-width:899px){
  .why-matters .two-col{
    grid-template-columns:1fr;
    gap:28px;
  }
  .why-matters .context-image img{
    min-height:0;
    aspect-ratio:16/9;
  }
  .visual-intelligence-grid{
    grid-template-columns:1fr;
  }
  .visual-feature-list{
    grid-template-columns:1fr 1fr;
  }
}
@media (max-width:600px){
  .why-matters .copy h2{
    font-size:clamp(34px,9.5vw,44px);
  }
  .visual-intelligence .section-head h2{
    font-size:clamp(34px,9vw,44px);
  }
  .visual-card{
    padding:24px 20px;
  }
  .visual-feature-list{
    grid-template-columns:1fr;
  }
  .dashboard-card-visual{
    min-height:0;
    padding:4px 0 14px;
  }
}
