/* ============ KEEP-AS-IS: your existing site CSS ============ */

iframe {
  box-shadow: none !important;
  border: none !important;
}

/* Nav padding — bumped to 44px so the logo clears the top edge; overflow
   visible so the bar never crops its own content. Covers the sticky state too. */
#colibri .h-navigation_ps-desktop,
#colibri header[class*="h-navigation"],
#colibri .h-navigation_sticky {
  padding-top: 44px !important;
  overflow: visible !important;
}

/* Dynamic logo shrink */
#colibri .style-1067-image,
#colibri .h-logo__image,
#colibri .h-logo__alt-image {
  max-height: clamp(48px, 5vw, 90px) !important;
  width: auto !important;
}

/* MENU CONTAINER - buffers */
#colibri .style-1070 > div > .colibri-menu-container {
  padding-left: 150px !important;
  padding-right: 25px !important;
}
#colibri .style-1070 > div > .colibri-menu-container > ul.colibri-menu {
  flex-wrap: nowrap !important;
  gap: 0 !important;
  margin-left: 40px !important;
  margin-right: 10px !important;
}
#colibri .style-1070 > div > .colibri-menu-container > ul.colibri-menu > li > a {
  font-size: clamp(13px, 1.4vw, 24px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.2px !important;
  padding: 0 6px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
#colibri .style-1070 > div > .colibri-menu-container > ul.colibri-menu > li {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

/* Nav "Get In Touch" button — shrink + bolder text */
#colibri a.style-1641,
#colibri a.style-local-11-h22 {
  font-size: clamp(13px, 1.4vw, 24px) !important;
  font-weight: 700 !important;
  padding-top: clamp(10px, 1.1vw, 20px) !important;
  padding-bottom: clamp(10px, 1.1vw, 20px) !important;
  padding-left: clamp(16px, 1.8vw, 38px) !important;
  padding-right: clamp(16px, 1.8vw, 38px) !important;
  line-height: 1 !important;
  width: auto !important;
}
#colibri a.style-1641 span,
#colibri a.style-local-11-h22 span {
  font-size: inherit !important;
  font-weight: 700 !important;
}
#colibri .h-navigation_ps-desktop .h-row,
#colibri .h-navigation_ps-desktop .h-row__inner,
#colibri .h-navigation_ps-desktop .h-column-row,
#colibri .h-navigation_ps-desktop .h-column,
#colibri .h-navigation_ps-desktop .colibri-menu-container {
  flex-wrap: nowrap !important;
}

/* CENTRE BDAAS HERO IMAGE */
#colibri .style-local-11-h33-image {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
#colibri .h-image__frame-container-outer:has(.style-local-11-h33-image),
#colibri .h-image__frame-container:has(.style-local-11-h33-image) {
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
}

/* CENTRE HERO LOGO + TAGLINE (logo .style-625-image, tagline .style-845) */
#colibri .style-625-image {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
#colibri .h-image__frame-container-outer:has(.style-625-image),
#colibri .h-image__frame-container:has(.style-625-image) {
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
}
#colibri .style-845,
#colibri .style-845 p,
#colibri .style-local-11-h34,
#colibri .style-local-11-h34 p {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
}

/* CONNECT EMAIL */
#colibri .style-local-5-c91 p,
#colibri .style-local-5-c91 p a,
#colibri .style-local-5-c91 a[href^="mailto"] {
  font-size: 36px !important;
  line-height: 1.2 !important;
}

/* Video feed */
.video-feed { padding: 20px 0; }
.vf-item { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 28px; }
.vf-thumb { position: relative; flex-shrink: 0; width: 200px; height: 150px; display: block; border-radius: 8px; overflow: hidden; background: #0d2535; text-decoration: none; }
.vf-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vf-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; pointer-events: none; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6)); }
.vf-play svg { width: 100%; height: 100%; display: block; }
.vf-text { flex: 1; text-align: left !important; color: #fff; }
.vf-text p { font-family: Questrial, sans-serif !important; font-size: 15px !important; line-height: 1.5 !important; letter-spacing: -0.5px !important; margin: 0 0 4px 0 !important; color: #fff !important; text-align: left !important; }
.vf-text strong { color: #fff; font-weight: 700; }
.vf-link { display: inline-block; font-family: Questrial, sans-serif !important; font-size: 15px !important; line-height: 1.5 !important; letter-spacing: -0.5px !important; color: #15366b !important; text-decoration: underline !important; font-weight: 800 !important; text-align: left !important; }
.vf-link:hover { color: #0d2535 !important; }

/* Leading Acts */
.leading-acts-header { max-width: 600px; }
.la-title { font-family: Questrial, sans-serif !important; font-weight: 400 !important; font-size: 56px !important; line-height: 0.8 !important; letter-spacing: -4px !important; color: #ffffff !important; margin: -4px 0 16px 0 !important; text-align: left !important; }
.la-subtitle { font-family: Questrial, sans-serif !important; font-size: clamp(16px, 1.4vw, 20px) !important; font-weight: 400 !important; letter-spacing: -0.7px !important; color: #fff !important; line-height: 1.5 !important; margin: 0 !important; text-align: left !important; }


/* ============ NEW: native animated sections ============ */
.bd-section {
  font-family: Questrial, sans-serif;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
}
#colibri .bd-section { text-align: left !important; }
.bd-wrap { max-width: 900px; margin: 0 auto; padding: 0 56px; }
.bd-wrap-wide { max-width: 1000px; margin: 0 auto; padding: 0 56px; }

.bd-fade, .bd-slide-left, .bd-slide-right, .bd-scale {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1);
  will-change: opacity, transform;
}
.bd-fade { transform: translateY(36px); }
.bd-slide-left { transform: translateX(-50px); }
.bd-slide-right { transform: translateX(50px); }
.bd-scale { transform: scale(0.8); }
.bd-fade.bd-visible, .bd-slide-left.bd-visible, .bd-slide-right.bd-visible, .bd-scale.bd-visible { opacity: 1; transform: none; }

.bd-hero { font-size: 54px; font-weight: 300; color: #ffffff; line-height: 1.2; letter-spacing: -0.04em; margin: 0 0 8px 0; }
.bd-hero-bold { font-weight: 600; }
.bd-teal { color: #5bc7ca; font-weight: 500; }
.bd-teal-all { color: #5bc7ca; }

.bd-accent { width: 80px; height: 2px; background: #5bc7ca; box-shadow: 0 0 16px rgba(91,199,202,0.6); border-radius: 1px; margin: 0; }
.bd-accent-center { margin: 0 auto; }

.bd-body { font-size: 30px; font-weight: 400; color: rgba(255,255,255,0.85); line-height: 1.4; letter-spacing: -0.03em; margin: 0 0 16px 0; }
.bd-body-dim { color: rgba(255,255,255,0.8); }
.bd-white-bold { color: #ffffff; font-weight: 600; }
.bd-teal-italic { color: #5bc7ca; font-style: italic; }

.bd-counter { font-size: 180px; font-weight: 700; color: #ffffff; line-height: 0.9; letter-spacing: -0.05em; }
.bd-counter-label { font-size: 30px; font-weight: 300; color: rgba(255,255,255,0.5); letter-spacing: 0.04em; margin-top: 16px; }

.bd-pillars { max-width: 900px; margin: 0 auto; padding: 40px 56px; display: flex; flex-direction: row; gap: 60px; }
.bd-pillar { flex: 1; }
.bd-pillar-bar { width: 56px; height: 3px; background: #5bc7ca; margin-bottom: 24px; box-shadow: 0 0 12px rgba(91,199,202,0.6); }
.bd-pillar-title { font-size: 30px; font-weight: 600; color: #ffffff; line-height: 1.2; margin-bottom: 18px; }
.bd-pillar-body { font-size: 30px; color: rgba(255,255,255,0.72); line-height: 1.4; }

.bd-closing { font-size: 42px; font-weight: 400; color: #5bc7ca; line-height: 1.3; letter-spacing: -0.03em; max-width: 900px; margin: 0 auto; text-align: center; }

.bd-flow { max-width: 1000px; margin: 0 auto; padding: 24px 56px 64px; position: relative; }
.bd-spine { position: absolute; left: 50%; top: 20px; bottom: 20px; width: 1px; background: linear-gradient(to bottom, transparent, rgba(91,199,202,0.2) 10%, rgba(91,199,202,0.2) 90%, transparent); transform: translateX(-50%); }
.bd-card-row { display: flex; position: relative; margin-top: -40px; }
.bd-card-row:first-child { margin-top: 0; }
.bd-card-row.left { justify-content: flex-start; padding: 0 45% 0 0; }
.bd-card-row.right { justify-content: flex-end; padding: 0 0 0 45%; }
.bd-dot { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 8px; height: 8px; border-radius: 50%; background: rgba(91,199,202,0.3); box-shadow: 0 0 6px rgba(91,199,202,0.2); transition: all 0.4s ease; z-index: 2; }
.bd-card { width: 90%; border-radius: 8px; padding: 24px 24px 28px; background: #0d2535; border: 1px solid rgba(255,255,255,0.06); box-shadow: 0 4px 20px rgba(0,0,0,0.25); position: relative; overflow: hidden; transition: border-color 0.35s ease, box-shadow 0.35s ease; }
.bd-card-top { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(to right, #5bc7ca, rgba(91,199,202,0.3)); transform-origin: left; box-shadow: 0 0 12px rgba(91,199,202,0.6); transform: scaleX(0); transition: transform 0.4s cubic-bezier(0.22,1,0.36,1); }
.bd-card-glow { position: absolute; top: 0; left: 0; right: 0; height: 100px; background: radial-gradient(ellipse at 50% 0%, rgba(91,199,202,0.12) 0%, transparent 70%); pointer-events: none; opacity: 0; transition: opacity 0.4s ease; }
.bd-card-title { margin: 0 0 14px 0; font-size: 30px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; color: #ffffff; transition: color 0.3s ease, transform 0.3s cubic-bezier(0.22,1,0.36,1); transform-origin: left center; text-align: left; }
.bd-card-divider { height: 1px; margin-bottom: 16px; background: rgba(255,255,255,0.08); transition: background 0.4s ease; }
.bd-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.bd-card li { display: flex; align-items: flex-start; gap: 12px; }
.bd-bullet { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.35); flex-shrink: 0; margin-top: 8px; transition: all 0.3s ease; }
.bd-card li span:last-child { font-size: 18px; line-height: 1.5; color: rgba(255,255,255,0.72); transition: color 0.3s ease; text-align: left; }
.bd-card:hover { border-color: rgba(91,199,202,0.4); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.bd-card:hover .bd-card-top { transform: scaleX(1); }
.bd-card:hover .bd-card-glow { opacity: 1; }
.bd-card:hover .bd-card-title { color: #5bc7ca; transform: scale(1.08); }
.bd-card:hover .bd-card-divider { background: linear-gradient(to right, rgba(91,199,202,0.6), transparent); }
.bd-card:hover .bd-bullet { background: #5bc7ca; box-shadow: 0 0 6px rgba(91,199,202,0.7); }
.bd-card:hover li span:last-child { color: rgba(255,255,255,0.95); }
.bd-card-row:hover .bd-dot { width: 12px; height: 12px; background: #5bc7ca; box-shadow: 0 0 20px rgba(91,199,202,0.8); }

/* === MOBILE === */
@media (max-width: 768px) {
  .bd-wrap, .bd-wrap-wide, .bd-flow { padding-left: 24px; padding-right: 24px; }
  .bd-hero { font-size: 32px; }
  .bd-body, .bd-counter-label, .bd-pillar-title, .bd-pillar-body { font-size: 20px; }
  .bd-counter { font-size: 100px; }
  .bd-closing { font-size: 27px; }
  .bd-pillars { flex-direction: column; gap: 32px; padding: 32px 24px; }
  .bd-card-row { margin-top: 0 !important; }
  .bd-card-row.left, .bd-card-row.right { padding: 0; justify-content: center; }
  .bd-card { width: 100%; }
  .bd-card-title { font-size: 26px; }
  .bd-card li span:last-child { font-size: 15px; }
  .bd-spine { display: none; }
  .bd-dot { display: none; }
  .bd-persp-cols {
    flex-direction: column !important;
    gap: 32px !important;
    padding: 32px 24px 56px !important;
  }
  .leading-acts-section {
    margin-top: 180px !important;
    clear: both !important;
    position: relative !important;
    z-index: 1 !important;
  }
}

/* ============ MOBILE: existing site elements ============ */
@media (max-width: 768px) {
  #colibri .h-navigation_ps-mobile,
  #colibri .h-navigation_ps-desktop {
    padding-top: 12px !important;
  }
  .vf-item { flex-direction: column; align-items: flex-start; }
  .vf-thumb { width: 100%; height: 200px; }
  .vf-text p, .vf-link { font-size: 15px !important; line-height: 1.5 !important; }
  #colibri .style-1742,
  #colibri .style-1742 p { text-align: center !important; }
  #colibri .style-1742 p { font-size: clamp(44px, 13vw, 72px) !important; line-height: 0.9 !important; }
  #colibri .style-1742 p span { font-size: inherit !important; }
  .la-title { font-size: clamp(32px, 9vw, 42px) !important; line-height: 0.95 !important; letter-spacing: -2px !important; margin: 0 0 12px 0 !important; }
  .la-subtitle { font-size: clamp(14px, 4vw, 16px) !important; }
  #colibri .style-local-5-c91 p,
  #colibri .style-local-5-c91 p a,
  #colibri .style-local-5-c91 a[href^="mailto"] {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    word-break: break-word !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    font-size: clamp(30px, 8vw, 42px) !important;
    line-height: 1.2 !important;
  }
}


/* ============ ACCESSIBILITY FIXES (Lighthouse) ============ */

/* Contrast — floor across every image overlay so white headings pass
   (e.g. "Who We Are"). Lower 0.78 toward 0.7 if the hero looks too dark,
   as long as Lighthouse stays green. */
#colibri .overlay-image-layer {
  opacity: 0.78 !important;
}
/* Our Network (video feed) darker still — kept as a safety net. */
#colibri div:has(> .background-wrapper):has(.video-feed) .overlay-image-layer {
  opacity: 0.95 !important;
}

/* target-size: home/logo anchor too small/obscured (desktop only).
   Unrelated to colour, so kept. If the nav height shifts, delete this block. */
#colibri a[rel="home"] {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}


/* ============ RESPONSIVE: "What is Good Revenue?" heading ============ */
/* Scales with the window so it never overflows its column on narrower
   desktops. Your 0.6 line-height is restored. Lever for size at full width
   is the 10vw (down = smaller); 140px is the ceiling on wide screens. */
@media (min-width: 769px) {
  #colibri .style-1742 p {
    font-size: clamp(52px, 10vw, 140px) !important;
    line-height: 0.6 !important;
  }
  #colibri .style-1742 p span {
    font-size: inherit !important;
  }
}


/* ============ NAV: stop the squeeze-collision at mid widths ============ */
/* Only fires 769–1300px (the squeeze zone). Wide nav untouched, mobile
   untouched. Pins logo left / button right so the menu can't spill onto the
   logo, drops the big logo-clearance buffer, and tightens the links so it
   fits. If the collision starts higher than 1300px on your screen, raise it. */
@media (min-width: 769px) and (max-width: 1300px) {
  #colibri .h-navigation_ps-desktop .h-row {
    justify-content: space-between !important;
  }
  #colibri .style-1070 > div > .colibri-menu-container {
    padding-left: 20px !important;
    padding-right: 10px !important;
  }
  #colibri .style-1070 > div > .colibri-menu-container > ul.colibri-menu {
    margin-left: 12px !important;
    margin-right: 4px !important;
  }
  #colibri .style-1070 > div > .colibri-menu-container > ul.colibri-menu > li > a {
    font-size: clamp(12px, 1.2vw, 18px) !important;
    padding: 0 5px !important;
  }
}