/* MAREX v55 - contrast, proof, insights, share, challenges */

.eyebrow,
.label,
.num,
.sw-wwp,
.refline span,
.pcase h3 .n,
.irm .n,
.irm-grid .n{
  color:var(--navy,#0B274B);
}
.dark .eyebrow,
.dark .label,
.dark .num,
.dark .n,
.dark .sw-wwp,
.phero .eyebrow,
.phero .label,
.phero .num,
.hero .eyebrow,
.hero .label,
.hero .num,
.facts .label,
.sr-box .label,
footer .label,
footer .eyebrow,
.cta .eyebrow,
.cta .label,
.cta .num,
.pillars .num,
.pillar .num{
  color:var(--cyan,#4EB7F5);
}

html.mx-consent-pending .mbar{display:none !important}
.mx-cc{padding:12px 14px}

/* v55.2: reserve the fixed cookie-banner height from first paint
   (class is set on <html> by a blocking head script). */
html.mx-consent-pending{
  --mx-cc-space:128px;
}
html.mx-consent-pending body{
  padding-bottom:var(--mx-cc-space);
}
html.mx-consent-pending .hero .wrap{
  padding-bottom:calc(88px + var(--mx-cc-space));
}
html.mx-consent-pending .phero{
  padding-bottom:calc(72px + var(--mx-cc-space));
}
html.mx-consent-pending .phero-img figcaption{
  margin-bottom:var(--mx-cc-space);
}

@media(max-width:900px){
  html.mx-consent-pending{--mx-cc-space:120px}
  html.mx-consent-pending .mx-cc{bottom:12px}
  .mx-cc{
    padding:8px 10px;
    font-size:12px;
    line-height:1.35;
    gap:8px;
    border-radius:8px;
  }
  .mx-cc p{flex:1 1 auto}
  .mx-cc-b{gap:8px}
  .mx-cc-b button{min-width:0;padding:8px 12px;font-size:13px}
  /* Cap the home hero to the viewport so extra wrap padding lifts the CTAs
     above the banner instead of growing the section below the fold. */
  html.mx-consent-pending .hero{
    min-height:calc(100svh - 118px);
    height:calc(100svh - 118px);
    max-height:calc(100svh - 118px);
  }
  html.mx-consent-pending .hero .wrap{
    position:absolute;
    left:0;right:0;top:0;bottom:0;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    padding-top:16px;
    padding-bottom:calc(16px + var(--mx-cc-space));
    box-sizing:border-box;
    overflow:hidden;
  }
}

.hero .actions,
.phero .actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.proof-bar{
  background:var(--paper,#F3F5F7);
  border-top:1px solid var(--line,#dfe4ea);
  border-bottom:1px solid var(--line,#dfe4ea);
}
.proof-bar ul{
  list-style:none;
  margin:0;
  padding:32px 0;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px 28px;
}
.proof-bar strong{
  display:block;
  color:var(--navy,#0B274B);
  font-size:.98rem;
  margin:0 0 6px;
}
.proof-bar span{
  display:block;
  color:var(--mute,#5a6778);
  font-size:.92rem;
  line-height:1.5;
}
@media(max-width:900px){.proof-bar ul{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.proof-bar ul{grid-template-columns:1fr;padding:24px 0}}

.founder-callout{
  display:grid;
  grid-template-columns:88px 1fr auto;
  gap:20px;
  align-items:center;
  background:#fff;
  border:1px solid var(--line,#dfe4ea);
  border-left:3px solid var(--navy,#0B274B);
  padding:20px 24px;
  margin:0;
}
.founder-callout img{
  width:88px;height:88px;object-fit:cover;border-radius:50%;display:block;
}
.founder-callout p{margin:0 0 6px;color:var(--ink,#0d1b2a)}
.founder-callout p:last-child{margin:0}
@media(max-width:700px){
  .founder-callout{grid-template-columns:72px 1fr;padding:18px}
  .founder-callout .btn{grid-column:1/-1;justify-self:start}
  .founder-callout img{width:72px;height:72px}
}

.insights-teaser .cards{margin-top:8px}

.logos-note{
  max-width:820px;
  font-size:.95rem;
  color:var(--ink,#0d1b2a);
  line-height:1.6;
  margin:4px 0 22px;
}
.logos-note + .logos,
.logos-note + ul.logos{margin-top:8px}

.share-line{
  margin:1.8rem 0 0;
  font-size:.95rem;
  color:var(--mute,#5a6778);
}
.share-line a{font-weight:600}

.challenges{margin:0 0 1.2rem;padding:0;list-style:none}
.challenges li{
  margin:0 0 12px;
  padding:0 0 12px 0;
  border-bottom:1px solid var(--line,#dfe4ea);
  color:var(--ink,#0d1b2a);
}
.challenges li:last-child{margin:0;padding:0;border:0}
.challenges strong{
  display:block;color:var(--navy,#0B274B);font-size:.92rem;
  letter-spacing:.04em;text-transform:uppercase;margin:0 0 4px;
}

.regions-map{width:100%;height:auto;display:block;background:var(--deep,#06182f);border-radius:6px}
.regions-map-wrap{margin:0 0 12px}

.cards.photo-grid.cols-3{grid-template-columns:repeat(3,1fr)}
@media(max-width:900px){.cards.photo-grid.cols-3{grid-template-columns:1fr}}
.phero-img figure{margin:0}
.phero-img figcaption{margin:.65rem 0 0;font-size:.82rem;line-height:1.45;color:#c5d0dc}
.pos-waterline{object-position:50% 62%}

/* v55: keep the clamp-meter display visible in the single-column pillar band.
   At 760px a fixed 220px cover crop cut the 00.2 readout (only SEL/MAX/RAN/HOLD remained).
   The wide export is 16/10; matching that ratio shows the full subject at every one-column width.
   At 390px the computed height stays close to 220px. The desktop 3-column 200px band is unchanged. */
@media(max-width:760px){
  .pillar img,.pillar svg.pillar-img{height:auto;aspect-ratio:16/10}
}

/* v55.2: on narrow screens, pin the home-hero copy above the banner.
   The html.mx-consent-pending class is applied before first paint, so this
   does not contribute to CLS. */
@media(max-width:600px){
  html.mx-consent-pending{--mx-cc-space:120px}
  html.mx-consent-pending .phero{
    padding-top:40px;
    padding-bottom:var(--mx-cc-space);
  }
  html.mx-consent-pending .phero-img img,
  html.mx-consent-pending .phero-img picture{
    max-height:20vh;
    width:100%;
    object-fit:cover;
  }
  html.mx-consent-pending .phero-img img{aspect-ratio:auto;height:20vh}
  html.mx-consent-pending .phero-img figcaption{margin-bottom:0}
  html.mx-consent-pending .hero{
    min-height:calc(100svh - 118px);
    height:calc(100svh - 118px);
    max-height:calc(100svh - 118px);
  }
  html.mx-consent-pending .hero .wrap{
    position:absolute;
    left:0;right:0;top:0;bottom:0;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    padding-top:8px;
    padding-bottom:120px;
    box-sizing:border-box;
    overflow:hidden;
  }
  html.mx-consent-pending .hero h1{margin-bottom:10px}
  html.mx-consent-pending .hero .sub{margin-bottom:16px}
}
