/* 58Bridges look & feel refresh — layered on top of the Webflow stylesheet */
:root{
  --swatch--green-light:#054232;
  --swatch--green-dark:#032119;
  --swatch--orange-light:#ff6f0a;
  --font-size--small:1.125rem;      /* body text 18px */
  --font-size--medium:1.5rem;       /* intros, card titles 24px */
  --font-size--xsmall:.9rem;
  --line-height--wide:1.45em;
}
body{background:#fafaf7;color:#14201c}

/* ---------- Navigation: one solid bar, no grey-green tint over the hero ---------- */
.navbar{background-color:#fafaf7!important;-webkit-backdrop-filter:none;backdrop-filter:none;border-bottom:1px solid #e6e6e1}
.link-p3.w--current{color:#054232!important}

/* ---------- Hero: logo smaller, real message added ---------- */
.hero-section{background-color:#032119!important}
.hero-logo-wrapper{max-width:min(720px,80vw)}
.hero-msg{font-family:"Noto Serif",Georgia,serif;color:#fafaf7;font-size:clamp(2rem,4.5vw,3.5rem);line-height:1.1;margin:2.5rem 0 0;max-width:16ch}
.hero-msg span{color:#ff6f0a}

/* ---------- Spacing: halve the big gaps between sections ---------- */
.small-container{padding-top:4.5rem!important;padding-bottom:4.5rem!important}
.small-container.combo{grid-row-gap:4rem;grid-column-gap:4rem}
.small-container.pos{padding-top:6rem!important}
._8-grid{padding-top:0;padding-bottom:0}
.row-grid{padding-top:1.25rem;padding-bottom:1.25rem}
.card{grid-row-gap:2.5rem}

/* ---------- Type scale ---------- */
/* Section labels: small capitals in green, so the page has clear signposts */
.p3.secondary{text-transform:uppercase;letter-spacing:.12em;font-weight:600;font-size:.8rem;color:#054232}
/* Section headings (intro lines that open each block) */
.left-flex .p1,.title .p1,.right-flex .p1,.horizontal-flex .p1.expand,.vert-flex .title .p1,._8-grid .left-flex .p1{
  font-size:clamp(1.6rem,2.6vw,2.25rem);line-height:1.25;letter-spacing:-.005em}
.h2,.h2.white{font-size:clamp(1.9rem,3.2vw,2.75rem)!important;line-height:1.2}
.our-experience{text-transform:uppercase;letter-spacing:.12em;font-size:.8rem;font-weight:600;color:#054232}
.big-txt{font-size:clamp(3.5rem,7vw,6rem)}
.row-grid .p2{font-size:1.125rem}
.block-quote.max-width-878,.block-quote.max-width-878.br-nonee{color:#054232!important;font-size:1.35rem;line-height:1.6}

/* ---------- Colour: dark green, orange accent, off-white ---------- */
.cta-section{background-color:#032119!important}
.tag{background-color:#ff6f0a}
/* Team photos and logo tile: from blue duotone to neutral black and white */
.collection-grid img,.cms .img-wrapper img,.w-dyn-list .img-wrapper img{filter:grayscale(1) contrast(1.05)}
/* keep the bridge pictures in colour */
.hover-wrapper img{filter:none!important}

/* ---------- Bridges: captions visible on phones and tablets ---------- */
@media (hover:none),(max-width:767px){
  .hover-wrapper{display:flex;flex-direction:column-reverse;overflow:visible;cursor:default}
  .txt-wrapper,.txt-wrapper.hover{opacity:1!important;position:static!important;background:none!important;padding:.75rem 0 0!important;transform:none!important}
  .txt-wrapper .p3.dark{color:#14201c!important}
  .txt-wrapper .p3:nth-child(n+2){display:none}
}

/* ---------- Phones ---------- */
@media (max-width:767px){
  .small-container{padding:3rem 1.25rem!important}
  .hero-msg{margin-top:1.5rem}
  .card{grid-row-gap:1.5rem}
}

/* hero stacks logo above the message; shorter so the content starts sooner */
.hero-section{flex-direction:column;align-items:flex-start;justify-content:center;height:auto!important;min-height:78vh;padding:7rem max(1.5rem,calc((100vw - 1216px)/2)) 4rem}
.hero-logo-wrapper{width:100%;justify-content:flex-start}
.hero-logo-wrapper img{width:100%;height:auto}
/* call-to-action band: no longer 70% of the screen */
.cta-section{height:auto!important;padding:2rem 0}

/* tighter rhythm inside the big content blocks */
.small-container.combo{grid-row-gap:3.5rem!important;grid-column-gap:3.5rem!important}
.big-container{padding-top:0;padding-bottom:0}
.vert-flex,.logos-container{grid-row-gap:2.5rem}
/* section titles that use the left-aligned title block */
.title-left .p1,.title-left._40 .p1{font-size:clamp(1.6rem,2.6vw,2.25rem);line-height:1.25}
.title-left .p1.center-align{font-size:clamp(1.25rem,2vw,1.6rem)}
.network-info-container .p2,.horizontal-flex .p2.shrink{font-size:1.125rem}
/* keep Marina's own portrait in colour */
.div-block-32 img{filter:none!important}
