/* ==========================================================================
   Impact Grid Ltd - brand layer
   Navy #000066 · Brown #663333 · Action terracotta #B4512C
   Headings: Plus Jakarta Sans · Body: Inter
   ========================================================================== */

:root{
  --ig-navy:#000066;
  --ig-brown:#663333;
  --ig-action:#B4512C;
  --ig-action-dark:#8E3F22;
  --ig-ink:#000;       /* body copy: client asked for pure black, 2026-10-25 */
  --ig-muted:#6E6E78;
  --ig-surface:#F5F3F0;
  --ig-border:#E4E0DB;
}

/* ---------- Typography ---------- */
body, p, .text, li{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:17px; line-height:1.7; color:var(--ig-ink);
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,h5,h6,
.sec-title h2,.sec-title h3,.btn-style-one,.btn-style-two,.btn-style-three,
.main-menu .navigation > li > a{
  font-family:'Plus Jakarta Sans',-apple-system,sans-serif;
}
h1,h2,h3,h4,h5,h6{ color:var(--ig-navy); font-weight:700; letter-spacing:-.015em; }
h1{ line-height:1.15; } h2{ line-height:1.2; } h3{ line-height:1.3; }

/* Section eyebrows / subtitles carry the brand brown */
.sec-title .title,.sec-title h4,.subtitle,.title{ color:var(--ig-brown); font-weight:600; letter-spacing:.06em; text-transform:uppercase; }

/* ---------- Links & actions ---------- */
a{ color:var(--ig-action); }
a:hover{ color:var(--ig-action-dark); }
.btn-style-one{ background-color:var(--ig-action); border-color:var(--ig-action); font-weight:700; letter-spacing:.01em; }
.btn-style-one:hover{ background-color:var(--ig-action-dark); border-color:var(--ig-action-dark); }

/* ---------- Surfaces ---------- */
.main-footer,.footer-bottom{ background-color:var(--ig-navy); }
.main-footer a:hover{ color:#C96B3F; }

/* ---------- Logo: floating white card ---------- */
@media only screen and (max-width:767px){ body,p{ font-size:16px; } }

/* ---------- Impact stats (funfacts) ---------- */
.fun-fact-section .counter-column .count-box .count-text{ color:var(--ig-navy); font-family:'Plus Jakarta Sans',sans-serif; font-weight:800; }

/* ---------- Accessibility: visible focus ---------- */
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{
  outline:3px solid var(--ig-action); outline-offset:2px;
}

/* ==========================================================================
   Page furniture for Impact Grid content blocks
   ========================================================================== */
.ig-section{ padding:80px 0; }
.ig-section.ig-alt{ background:var(--ig-surface); }
.ig-lead{ font-size:19px; line-height:1.65; color:var(--ig-ink); max-width:860px; margin:0 auto 50px; text-align:center; }

/* Cards */
.ig-card{ background:#fff; border:1px solid var(--ig-border); border-left:4px solid var(--ig-brown);
  padding:30px 32px; margin-bottom:30px; height:calc(100% - 30px); }
.ig-card h4{ margin:0 0 12px; font-size:20px; }
.ig-card p{ margin:0; font-size:16px; color:var(--ig-ink); }
.ig-card-navy{ background:var(--ig-navy); border:none; border-left:4px solid var(--ig-action); }
.ig-card-navy h4,.ig-card-navy p{ color:#fff; }
.ig-card-navy p{ color:rgba(255,255,255,.82); }

/* Fact box (About) */
.ig-factbox{ background:var(--ig-surface); border-top:4px solid var(--ig-navy); padding:32px 34px; }
.ig-factbox h4{ margin:0 0 18px; font-size:19px; }
.ig-factbox dl{ margin:0; }
.ig-factbox dt{ font-family:'Plus Jakarta Sans',sans-serif; font-size:12px; letter-spacing:.08em;
  text-transform:uppercase; color:var(--ig-brown); margin-top:16px; }
.ig-factbox dd{ margin:2px 0 0; font-size:16px; color:var(--ig-ink); }

/* Methodology phases */
.ig-phases{ max-width:900px; margin:0 auto; }
.ig-phase{ display:flex; gap:28px; padding:26px 0; border-bottom:1px solid var(--ig-border); }
.ig-phase:last-child{ border-bottom:none; }
.ig-phase-num{ font-family:'Plus Jakarta Sans',sans-serif; font-size:34px; font-weight:800;
  color:var(--ig-action); line-height:1; min-width:64px; }
.ig-phase h4{ margin:0 0 8px; font-size:20px; }
.ig-phase p{ margin:0; color:var(--ig-ink); font-size:16px; }

/* Bulleted advantage list */
.ig-list{ max-width:900px; margin:0 auto; padding:0; list-style:none; }
.ig-list li{ position:relative; padding:12px 0 12px 34px; border-bottom:1px solid var(--ig-border); font-size:16px; }
.ig-list li:before{ content:""; position:absolute; left:4px; top:21px; width:10px; height:10px;
  background:var(--ig-action); border-radius:50%; }
.ig-list li:last-child{ border-bottom:none; }
.ig-list strong{ color:var(--ig-navy); }

/* Service detail rows */
.ig-service-row{ display:flex; gap:48px; align-items:center; padding:56px 0; border-bottom:1px solid var(--ig-border); }
.ig-service-row:last-child{ border-bottom:none; }
.ig-service-row.ig-flip{ flex-direction:row-reverse; }
.ig-service-img{ flex:0 0 44%; }
.ig-service-img img{ width:100%; height:auto; display:block; }
.ig-service-body{ flex:1; }
.ig-service-body h3{ margin:0 0 14px; font-size:30px; }
.ig-service-list{ list-style:none; padding:0; margin:18px 0 0;
  display:grid; grid-template-columns:1fr 1fr; gap:8px 26px; }
.ig-service-list li{ position:relative; padding-left:22px; font-size:15.5px; color:var(--ig-ink); }
.ig-service-list li:before{ content:""; position:absolute; left:0; top:9px; width:7px; height:7px;
  background:var(--ig-brown); border-radius:50%; }

/* Projects grid */
.ig-projects .services-block-two{ margin-bottom:34px; }
.ig-projects .inner-box{ background:#fff; border:1px solid var(--ig-border); height:100%; }
.ig-projects .image img{ width:100%; height:220px; object-fit:cover; display:block; }
.ig-projects .lower-content{ padding:24px 26px 28px; }
.ig-project-client{ font-size:12px !important; letter-spacing:.08em; text-transform:uppercase;
  color:var(--ig-brown) !important; margin-bottom:8px; }
.ig-projects h5{ font-size:18px; line-height:1.35; margin:0 0 10px; }
.ig-projects .text{ font-size:15px; color:var(--ig-ink); margin-bottom:18px; }

/* CTA band */
.ig-cta-band{ background:var(--ig-navy); }
.ig-cta{ text-align:center; }
.ig-cta h2{ color:#fff; margin:0 0 14px; }
.ig-cta p{ color:rgba(255,255,255,.8); max-width:680px; margin:0 auto 28px; }

/* Pull-quote */
.ig-quote{ max-width:900px; margin:0 auto; border:none; border-left:4px solid var(--ig-action);
  padding:8px 0 8px 32px; font-size:21px; line-height:1.6; color:var(--ig-navy);
  font-family:'Plus Jakarta Sans',sans-serif; font-weight:600; }

/* Contact */
.ig-contact-list{ list-style:none; padding:0; margin:28px 0 0; }
.ig-contact-list li{ padding:14px 0; border-bottom:1px solid var(--ig-border); font-size:16px; }
.ig-contact-list strong{ font-family:'Plus Jakarta Sans',sans-serif; font-size:12px; letter-spacing:.08em;
  text-transform:uppercase; color:var(--ig-brown); }
.ig-form-box{ background:var(--ig-surface); padding:38px 40px; }
.ig-form-box h3{ margin:0 0 22px; font-size:24px; }
.ig-form-box input[type=text],.ig-form-box input[type=email],.ig-form-box input[type=tel],
.ig-form-box select,.ig-form-box textarea{
  width:100%; padding:13px 16px; border:1px solid var(--ig-border); background:#fff;
  font-family:'Inter',sans-serif; font-size:16px; margin-bottom:16px; }
.ig-form-box input[type=submit]{ background:var(--ig-action); color:#fff; border:none;
  padding:14px 36px; font-family:'Plus Jakarta Sans',sans-serif; font-weight:700; cursor:pointer; }
.ig-form-box input[type=submit]:hover{ background:var(--ig-action-dark); }

/* Hero legibility: the photography is busy, so the text needs a scrim */
.main-slider .slide:before{ content:""; position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(0,0,40,.78) 0%, rgba(0,0,40,.55) 42%, rgba(0,0,40,.12) 100%); z-index:1; }
.main-slider .slide .auto-container{ position:relative; z-index:2; }
.main-slider h2,.main-slider .text,.main-slider h1{ text-shadow:0 2px 18px rgba(0,0,30,.45); }

@media only screen and (max-width:991px){
  .ig-service-row,.ig-service-row.ig-flip{ flex-direction:column; gap:28px; }
  .ig-service-list{ grid-template-columns:1fr; }
  .ig-section{ padding:56px 0; }
  .main-slider .slide:before{ background:rgba(0,0,40,.66); }
}

/* ---------- Footer ---------- */
.main-footer{ padding-top:70px; }
.main-footer h5{ color:#fff; font-size:15px; letter-spacing:.07em; text-transform:uppercase; margin:0 0 20px; }
.main-footer p,.main-footer li,.main-footer a{ color:rgba(255,255,255,.72); font-size:15.5px; }
.main-footer a:hover{ color:#C96B3F; }
.ig-foot-links,.ig-foot-contact{ list-style:none; padding:0; margin:0; }
.ig-foot-links li,.ig-foot-contact li{ padding:7px 0; }
.ig-foot-reg{ font-size:13px !important; letter-spacing:.05em; color:rgba(255,255,255,.45) !important; margin-top:16px; }
.footer-bottom,.footer-bottom p,.footer-bottom a{ color:rgba(255,255,255,.6); font-size:14.5px; }

/* ---------- Cookie notice ---------- */
#ig-cookie{ position:fixed; left:20px; right:20px; bottom:20px; z-index:9999; max-width:860px;
  margin:0 auto; background:var(--ig-navy); color:#fff; padding:20px 24px;
  display:flex; gap:20px; align-items:center; flex-wrap:wrap;
  box-shadow:0 12px 40px rgba(0,0,30,.3); }
#ig-cookie p{ margin:0; flex:1 1 380px; color:rgba(255,255,255,.85); font-size:15px; }
#ig-cookie a{ color:#C96B3F; text-decoration:underline; }
#ig-cookie button{ background:var(--ig-action); color:#fff; border:none; padding:11px 26px;
  font-family:'Plus Jakarta Sans',sans-serif; font-weight:700; font-size:15px; cursor:pointer; }
#ig-cookie button:hover{ background:var(--ig-action-dark); }
#ig-cookie button.ig-decline{ background:transparent; border:1px solid rgba(255,255,255,.4); }

/* ==========================================================================
   Header: the parent pulls .nav-outer up with width:100%/margin-top:-95px,
   which overlaps the floated phone number once the menu has 7 items.
   Replace the float+negative-margin hack with a flex row.
   ========================================================================== */
@media only screen and (min-width:992px){
  .main-header .header-upper .auto-container > .clearfix{
    display:flex; align-items:center; justify-content:flex-start; gap:24px; }
  .main-header .header-upper .logo-box{ order:1; float:none; flex:0 0 auto; }
  .main-header .nav-outer{
    order:2; float:none; width:auto; margin-top:0; margin-left:auto; text-align:right; }
  .main-header .header-upper .outer-box{ order:3; float:none; padding:0; flex:0 0 auto; }
  .main-header .main-menu{ float:none; }
  .main-header .main-menu .navigation{ display:flex; gap:4px; }
  .main-header .main-menu .navigation > li{ margin:0; }
  .main-header .main-menu .navigation > li > a{ padding:12px 11px; font-size:15px; white-space:nowrap; }
}
.main-header .header-upper .outer-box .contact-number{ color:var(--ig-navy); white-space:nowrap; }
.main-header .header-upper .outer-box .contact-number:before{ color:var(--ig-action); }


/* ==========================================================================
   Hero: dark overlay so white text stays legible over busy photography.
   .auto-container is position:static in the parent, so z-index alone does
   nothing - the intermediate wrappers need stacking too.
   ========================================================================== */
.main-slider .slide{ position:relative; }
.main-slider .slide:before{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(90deg, rgba(0,0,35,.82) 0%, rgba(0,0,35,.66) 45%, rgba(0,0,35,.34) 100%); }
.main-slider .slide .slide-container,
.main-slider .slide .slide-box,
.main-slider .slide .auto-container,
.main-slider .slide .content{ position:relative; z-index:2; }
.main-slider .slide h1,.main-slider .slide h2,
.main-slider .slide .title,.main-slider .slide .text{ color:#fff; text-shadow:0 2px 20px rgba(0,0,25,.5); }
.main-slider .slide .title{ color:#E8C9BC; }

/* Home h1 swap (ig-seo.php, section 4b): the slide slogans are now
   <h2 class="ig-slide-h"> and the first eyebrow is <h1 class="title">.
   These rules reproduce the old computed styles exactly, including the
   parent's slide-in (.main-slider h1 / .active h1, style.css:1437-1468). */
.main-slider .slide .ig-slide-h{
  position:relative; margin:0; color:#fff; font-size:70px; font-weight:600;
  line-height:1.1em; text-transform:capitalize; opacity:0;
  transform:translateY(50px); transition:all 1000ms ease; }
.main-slider .active .slide .ig-slide-h,
.main-slider .slide.active .ig-slide-h,
.main-slider .active .ig-slide-h{ opacity:1; transform:translateY(0); transition-delay:1300ms; }
.main-slider .slide .ig-slide-h br{ display:inline; }
.main-slider .slide h1.title{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; line-height:1.7; }

/* ==========================================================================
   Parent-theme defects found during review
   ========================================================================== */

/* 1. The parent runs `animation: shine 2s infinite` with a -webkit-mask-image
      sweep on every section heading. It reads as ghosted/double-rendered text,
      and perpetual motion fails WCAG 2.2.2. Remove the effect, keep the type. */
.sec-title h2,
.sec-title h2:hover,
h2.shine, .shine{
  -webkit-mask-image:none !important; mask-image:none !important;
  -webkit-mask-size:auto !important; animation:none !important; }

/* 2. Demo palette left in rgba()/odd hexes the hex remap could not reach:
      the stats band read indigo instead of brand navy, and cards carried a
      teal underline and purple accents from the demo. */
.fun-fact-section, .counter-section, .fun-fact-section .outer-box,
section[class*=fun-fact]{ background-color:var(--ig-navy) !important; }
.fun-fact-section:before, .counter-section:before{ background-color:rgba(0,0,40,.88) !important; }
.services-block-two .inner-box:after, .services-block-two .inner-box:before,
.services-block-two .lower-content:after{ background-color:var(--ig-action) !important; }
[style*="5edbd5"], [style*="9365d4"]{ background-color:var(--ig-action) !important; }

/* 3. paroller.js drifts the floating overlay box horizontally out of its
      container (rendered at x:-40 on a 1440 viewport). Pin it. */
.fluid-section-one .overlay-box,
.fluid-section-one .overlay-box.paroller{ transform:none !important; left:0 !important; }

/* 4. wow.js sets visibility:hidden until an element scrolls into view - if the
      script never runs, that content is permanently invisible. Reveal it when
      JS is off, and respect reduced-motion preferences. */
@media (prefers-reduced-motion: reduce){
  .wow,[class*=animated]{ visibility:visible !important; animation:none !important; }
  .main-slider .slide .content > *{ opacity:1 !important; transform:none !important; }
  *{ animation-duration:.01ms !important; transition-duration:.01ms !important; }
}

/* ---------- Footer corrections ---------- */
/* The parent capitalises footer text, which mangles the email address
   ("Impactgridltd@Gmail.Com"). Addresses and emails must render verbatim. */
.main-footer .ig-foot-contact,
.main-footer .ig-foot-contact a,
.main-footer .ig-foot-contact li,
.ig-contact-list, .ig-contact-list a{ text-transform:none !important; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.12); margin-top:50px; padding:26px 0; }
.footer-bottom .copyright p{ margin:0; }

/* Contact strip above the footer: the demo alternates mint/lavender tints.
   Normalise to the brand surface, with one terracotta card for emphasis. */
.contact-info-section .address-box .inner-box,
.address-box .inner-box{ background-color:var(--ig-surface) !important; }
.address-box:nth-child(2) .inner-box{ background-color:var(--ig-action) !important; }
.address-box:nth-child(2) .inner-box h4,
.address-box:nth-child(2) .inner-box .text,
.address-box:nth-child(2) .inner-box a{ color:#fff !important; }
.address-box .inner-box .text{ text-transform:none !important; }
.ig-projects{ padding-top:0; }
.ig-projects .lower-content{ text-align:left; }

/* ==========================================================================
   Mobile: the parent keeps the hero's 80px side padding at every breakpoint,
   leaving a 215px slide inside a 375px viewport with the frame colour showing
   through. Collapse the frame on small screens.
   ========================================================================== */
@media only screen and (max-width:1199px){
  .main-slider .outer-container{ padding:0 40px; }
}
@media only screen and (max-width:767px){
  .main-slider .outer-container{ padding:0 !important; }

  /* The parent forces an explicit tall height on .slide (860px at 375w - a 0.44
     portrait ratio) while the content is only ~264px. Give it a landscape crop
     instead; .slide-container/.slide-box are display:table and follow along. */
  .main-slider .slide{
    height:auto !important; min-height:0 !important;
    aspect-ratio:4/3; background-position:center center !important; }
  .main-slider .slide-container,
  .main-slider .slide-box{ height:100% !important; }
  .main-slider .slide .content{ padding:22px 0 !important; }

  /* Smaller, but still the dominant thing on screen. */
  .main-slider .slide h1:not(.title),.main-slider .slide .ig-slide-h{ font-size:30px !important; line-height:1.12 !important; margin-bottom:4px; }
  .main-slider .slide .title{ font-size:12px !important; letter-spacing:.09em; padding-top:0 !important; }
  .main-slider .slide .btn-box{ margin-top:14px; }
  .main-slider .slide .btn-box a{ padding:11px 22px !important; font-size:13px !important; }
  .main-slider .slide:before{
    background:linear-gradient(180deg, rgba(0,0,35,.70) 0%, rgba(0,0,35,.80) 100%); }
  /* the vertical day/hours + social rails overlay the hero text on phones */
  .main-slider .outer-container > .contact-list,
  .main-slider .outer-container > .social-list,
  .main-slider .contact-list,
  .main-slider .social-list{ display:none !important; }
  .ig-section{ padding:44px 0; }
  .ig-factbox,.ig-form-box{ padding:26px 22px; }
  .ig-phase{ gap:16px; }
  .ig-phase-num{ font-size:26px; min-width:46px; }
  #ig-cookie{ left:12px; right:12px; bottom:12px; padding:16px 18px; }
  #ig-cookie button{ flex:1 1 auto; }
}

/* ==========================================================================
   Floating logo card
   The header bar is white, so a white panel only reads as "floating" once it
   drops past the bar onto the hero below - hence the negative bottom margin
   plus a soft shadow. .main-header is already z-index:999 and nothing in the
   header chain sets overflow:hidden, so it can overhang safely.
   ========================================================================== */
@media only screen and (min-width:992px){
  .main-header .header-upper{ padding-bottom:0; }
  .main-header .header-upper .logo-box{ position:relative; z-index:30; flex:0 0 auto; }
  .main-header .header-upper .logo{
    background:#fff;
    padding:22px 30px;
    border-radius:3px;
    box-shadow:0 16px 38px rgba(0,0,40,.17), 0 2px 6px rgba(0,0,40,.07);
    display:inline-block;
    position:relative;
    margin-bottom:-52px;          /* the overhang that makes it float */
    line-height:0;                /* kill inline-image descender gap */
  }
  /* explicit height + max-width:none, or the theme's max-width:100% squeezes
     the lockup and distorts its aspect ratio */
  /* Size by WIDTH, not height: the header flex row shrink-to-fits the inline-block
     card, which was collapsing an auto-width replaced element and distorting the
     lockup's 891x300 ratio. A definite width + auto height is unambiguous. */
  .main-header .header-upper .logo img{
    width:255px !important; height:auto !important; max-width:none !important; max-height:none !important;
    padding:0 !important; display:block; }

  /* the sticky bar is a thin strip - card treatment there would be cramped */
  .sticky-header .logo{ background:none; padding:0; box-shadow:none; margin-bottom:0; }
  .sticky-header .logo img{ width:160px !important; height:auto !important; max-width:none !important; padding:0 !important; display:block; }
}

/* Tablet: smaller card, still floating */
@media only screen and (min-width:768px) and (max-width:991px){
  .main-header .header-upper .logo{
    background:#fff; padding:16px 26px; border-radius:3px; line-height:0;
    box-shadow:0 12px 28px rgba(0,0,40,.15); display:inline-block;
    position:relative; z-index:30; margin-bottom:-36px; }
  .main-header .header-upper .logo img{
    width:196px !important; height:auto !important; max-width:none !important; padding:0 !important; display:block; }
}

/* Phone: no overhang (it would sit on the hamburger / hero text), just scale */
@media only screen and (max-width:767px){
  .main-header .logo{ background:none; padding:0; box-shadow:none; margin-bottom:0; line-height:0; }
  .main-header .logo img,.sticky-header .logo img{
    width:150px !important; height:auto !important; max-width:none !important; padding:0 !important; display:block; }
}

/* Between 992px and 1300px the logo card + 7-item nav + phone cannot all fit
   the 1200px container; the phone is the least critical (it repeats in the
   footer and on Contact). */
@media only screen and (min-width:992px) and (max-width:1299px){
  .main-header .header-upper .outer-box{ display:none; }
  .main-header .header-upper .logo img{ width:210px !important; }
  .main-header .header-upper .logo{ padding:18px 24px; margin-bottom:-40px; }
}

/* ==========================================================================
   Tablet (768-991px): Bootstrap's navbar-expand-md expands the menu at 768px,
   but a 7-item menu plus the enlarged logo card cannot fit that width - the
   items collided with the phone number. Keep the hamburger until 992px.
   ========================================================================== */
@media only screen and (min-width:768px) and (max-width:991px){
  .main-header .header-upper .auto-container > .clearfix{
    display:flex; align-items:center; justify-content:space-between; }
  .main-header .header-upper .logo-box{ order:1; float:none; }
  .main-header .nav-outer{ order:2; float:none; width:auto; margin-top:0; text-align:right;
    position:relative; }
  .main-header .header-upper .outer-box{ display:none; }

  .main-menu.navbar-expand-md{ flex-flow:row wrap; }
  .main-menu.navbar-expand-md .navbar-header{ display:block; }
  .main-menu.navbar-expand-md .navbar-toggler{
    display:block !important; background:var(--ig-action); border:1px solid var(--ig-action);
    padding:9px 12px; border-radius:3px; cursor:pointer; }
  .main-menu.navbar-expand-md .navbar-toggler .icon-bar{
    display:block; width:22px; height:2px; background:#fff; margin:4px 0; }

  .main-menu.navbar-expand-md .navbar-collapse{ display:none !important; flex-basis:100% !important; }
  .main-menu.navbar-expand-md .navbar-collapse.show,
  .main-menu.navbar-expand-md .navbar-collapse.collapsing{ display:block !important; }

  /* the open panel: responsive.css only styles this below 768px */
  .main-menu.navbar-expand-md .navbar-collapse.show{
    position:absolute; right:0; top:100%; z-index:40;
    min-width:260px; background:#fff; padding:10px 0;
    box-shadow:0 16px 38px rgba(0,0,40,.18); }
  .main-menu.navbar-expand-md .navbar-collapse.show .navigation{
    display:block; flex-direction:column; text-align:left; }
  .main-menu.navbar-expand-md .navbar-collapse.show .navigation > li{ display:block; width:100%; }
  .main-menu.navbar-expand-md .navbar-collapse.show .navigation > li > a{
    display:block; padding:11px 24px; font-size:16px; color:var(--ig-navy); }
  .main-menu.navbar-expand-md .navbar-collapse.show .navigation > li > a:hover{
    background:var(--ig-surface); color:var(--ig-action); }
}

/* The header row carries Bootstrap's .clearfix, whose ::before/::after
   (display:table) become anonymous FLEX ITEMS once the row is a flex
   container - so justify-content distributed free space around two invisible
   boxes and the logo never sat flush left. Remove them inside the flex row. */
.main-header .header-upper .auto-container > .clearfix::before,
.main-header .header-upper .auto-container > .clearfix::after{ display:none !important; }

/* ==========================================================================
   "Why Impact Grid" (.fluid-section-one) below 992px.
   The parent's two-column fluid layout never collapses: .content-column stays
   float:left at 50% and .image-column stays position:absolute at 50% - while
   responsive.css hides the image column's *contents*. The result on a phone is
   text crammed into ~157px with an empty half-width colour block beside it.
   Collapse to a single full-width column and drop the empty shell.
   ========================================================================== */
@media only screen and (max-width:991px){
  .fluid-section-one .image-column{ display:none !important; }
  .fluid-section-one .content-column{
    float:none !important; width:100% !important; }
  .fluid-section-one .content-column .inner-column{
    float:none !important; width:100% !important; max-width:none !important;
    padding:56px 24px !important; text-align:left; }
  .fluid-section-one .content-column .inner-column .sec-title{ text-align:left; }
  .fluid-section-one .content-column .inner-column h2{ font-size:30px; line-height:1.18; }
  .fluid-section-one .content-column .inner-column .text,
  .fluid-section-one .content-column .inner-column p{ font-size:16.5px; line-height:1.65; }
}
/* responsive.css also hides .business-box ("Do you have a programme that needs
   rethinking?") on small screens - that is the lead-in to the CTA, so restore it
   and close the 45px gap it left behind. */
@media only screen and (max-width:991px){
  .fluid-section-one .business-box{ display:block !important; margin:0 0 26px; text-align:left; }
  /* .box-inner carries padding-left:150px to clear an absolutely-positioned
     thumbnail, leaving ~155px for the text on a phone. Stack them instead. */
  .fluid-section-one .business-box .box-inner{
    display:block !important; padding:22px 24px !important; text-align:left;
    transform:none !important; }
  .fluid-section-one .business-box .image{
    position:relative !important; left:auto !important; top:auto !important;
    width:auto !important; height:auto !important; max-width:150px;
    margin:0 0 14px !important; padding:0 !important; }
  .fluid-section-one .business-box .image img{ width:100%; height:auto; display:block; }
  .fluid-section-one .business-box h6,
  .fluid-section-one .business-box h5,
  .fluid-section-one .business-box h4{
    width:auto !important; padding:0 !important; margin:0; text-align:left;
    font-size:19px; line-height:1.4; font-weight:700; }
  .fluid-section-one .business-box br{ display:none; }
  .fluid-section-one a.learn{
    margin:0 !important; display:inline-block;
    background:#fff; color:var(--ig-action) !important;
    padding:13px 28px; border-radius:3px; text-decoration:none !important;
    font-family:'Plus Jakarta Sans',sans-serif; font-weight:700; font-size:15.5px; }
  .fluid-section-one a.learn:hover{ background:var(--ig-navy); color:#fff !important; }
}
@media only screen and (max-width:575px){
  .fluid-section-one .content-column .inner-column{ padding:44px 20px !important; }
  .fluid-section-one .content-column .inner-column h2{ font-size:26px; }
  .fluid-section-one .business-box h6,
  .fluid-section-one .business-box h5,
  .fluid-section-one .business-box h4{ font-size:17.5px; }
}

/* Tablet has room for the prompt card to sit image-beside-text rather than
   stacked, which fills the band better than a narrow column. */
@media only screen and (min-width:768px) and (max-width:991px){
  .fluid-section-one .business-box{ max-width:460px; }
  .fluid-section-one .business-box .box-inner{
    display:flex !important; align-items:center; gap:20px; padding:22px 26px !important; }
  .fluid-section-one .business-box .image{
    flex:0 0 150px; max-width:150px; margin:0 !important; }
  .fluid-section-one .business-box h6{ font-size:20px; }
}

/* Hero fine-tuning on phones: centre the content in the shorter landscape box,
   and step the headline down on narrow devices so "Transforming Potential"
   does not run to the edge at 360px. */
@media only screen and (max-width:767px){
  .main-slider .slide-box{ vertical-align:middle !important; }
  .main-slider .slide .title{ margin-bottom:6px; }
}
@media only screen and (max-width:374px){
  .main-slider .slide h1:not(.title),.main-slider .slide .ig-slide-h{ font-size:27px !important; }
  .main-slider .slide .btn-box a{ padding:10px 20px !important; font-size:12.5px !important; }
}

/* ==========================================================================
   Phone header: the parent's .nav-outer{margin-top:-95px} hack (neutralised at
   >=992px) still applied below 768px, dragging the hamburger 3px ABOVE the
   header's top edge with 49px of space beneath it. Flex the row and centre it.
   ========================================================================== */
@media only screen and (max-width:767px){
  .main-header .header-upper .auto-container > .clearfix{
    display:flex; align-items:center; justify-content:space-between; gap:14px; }
  .main-header .header-upper .logo-box{ float:none; flex:0 1 auto; min-width:0; }
  .main-header .header-upper .outer-box{ display:none; }
  .main-header .nav-outer{
    float:none !important; width:auto !important; margin:0 !important; flex:0 0 auto; }
  .main-menu .navbar-header{
    padding:0 !important; display:flex; align-items:center; float:none; }
  .main-menu .navbar-header .navbar-toggler{ margin:0; }
}

/* The open mobile panel is an in-flow sibling of .navbar-header, so expanding it
   grew .nav-outer and shoved the logo and toggler out of place. Float it as an
   overlay anchored under the header instead, styled like the tablet panel. */
@media only screen and (max-width:767px){
  .main-header .nav-outer{ position:relative !important; }
  .main-menu .navbar-collapse.show,
  .main-menu .navbar-collapse.collapsing{
    /* .nav-outer is vertically centred in the 86px header, so its bottom sits
       23px above the header's - offset past that to clear the bar. */
    position:absolute !important; right:0 !important; top:calc(100% + 31px) !important; left:auto !important;
    z-index:60; width:244px !important; min-width:244px !important; max-width:80vw !important;
    background:#fff !important; padding:8px 0 !important; margin:0 !important;
    box-shadow:0 18px 40px rgba(0,0,40,.22); border-radius:3px; }
  .main-menu .navbar-collapse.show .navigation{
    display:block; float:none; width:100%; background:none !important; }
  .main-menu .navbar-collapse.show .navigation > li{
    display:block; width:100%; border:none; background:none !important; }
  .main-menu .navbar-collapse.show .navigation > li > a{
    display:block; padding:11px 22px; font-size:16px; line-height:1.4;
    color:var(--ig-navy) !important; background:none !important; text-align:left; border:none; }
  .main-menu .navbar-collapse.show .navigation > li > a:hover,
  .main-menu .navbar-collapse.show .navigation > li.current-menu-item > a{
    background:var(--ig-surface) !important; color:var(--ig-action) !important; }
}

/* ==========================================================================
   Tablet hero (768-991px): same treatment as phones - the parent's fixed 860px
   height gives a 0.84 portrait crop on a landscape device. 16/9 suits the extra
   width, and the headline drops from 70px (which wrapped to two lines here) to
   a size that holds one line.
   ========================================================================== */
@media only screen and (min-width:768px) and (max-width:991px){
  .main-slider .slide{
    height:auto !important; min-height:0 !important;
    aspect-ratio:16/9; background-position:center center !important; }
  .main-slider .slide-container,
  .main-slider .slide-box{ height:100% !important; }
  .main-slider .slide-box{ vertical-align:middle !important; }
  .main-slider .slide .content{ padding:26px 0 !important; }
  .main-slider .slide h1:not(.title),.main-slider .slide .ig-slide-h{ font-size:48px !important; line-height:1.12 !important; margin-bottom:6px; }
  .main-slider .slide .title{ font-size:16px !important; padding-top:0 !important; margin-bottom:8px; }
  .main-slider .slide .btn-box{ margin-top:18px; }
  .main-slider .slide .btn-box a{ padding:14px 32px !important; font-size:14px !important; }
}

/* ==========================================================================
   Embedded location map (Contact page)
   The Google embed ships fixed width="600" height="450", which overflows a
   phone viewport. Drop the intrinsic size and drive it from an aspect ratio.
   ========================================================================== */
.ig-map-section{ padding:0; }
.ig-map{ position:relative; width:100%; aspect-ratio:21/9; background:var(--ig-surface);
  border-top:4px solid var(--ig-navy); }
.ig-map iframe{
  position:absolute; inset:0; width:100% !important; height:100% !important;
  border:0; display:block; }
@media only screen and (max-width:991px){ .ig-map{ aspect-ratio:16/9; } }
@media only screen and (max-width:575px){ .ig-map{ aspect-ratio:4/3; } }

/* ==========================================================================
   Partner / client logo strip  [ig_partners]
   The supplied logos range from 1:1 to 3.67:1 and arrive on white, on
   transparent and - for UNICEF - on a solid cyan block that is part of the
   mark. scripts/ig-partner-logos.py pre-composites each onto an identical
   400x140 white tile, so the only job left here is to keep that tile intact:
   a fixed row height with object-fit:contain, never a stretched width.
   ========================================================================== */
.ig-partners{ background:var(--ig-surface); padding:70px 0 60px; }
.ig-partners .sec-title{ margin-bottom:34px; }
.ig-partners .sponsors-outer{ padding:0 40px; }
.ig-partners .slide-item{ display:flex; align-items:center; justify-content:center; }
.ig-partners .image-box{ margin:0; width:100%; padding:0 5px; }
.ig-partners .image-box img{
  /* Let the pre-composited tile's own 320x150 ratio set the height; forcing a
     pixel height here just reintroduced the width constraint. */
  width:100%; max-width:264px; height:auto; object-fit:contain;
  margin:0 auto; display:block;
  background:#fff; border:1px solid var(--ig-border); border-radius:6px;
  padding:4px 6px;
  /* Full colour, full size, no hover treatment. These marks are the section's
     entire credibility claim, so legibility beats styling. */
}

/* The parent ships `.sponsors-section .sponsors-outer .image-box img{opacity:.4}`
   (plus :hover{opacity:.6}) - three classes, so it out-specifies a two-class
   child selector and silently held every partner logo at 40% opacity. Matching
   its specificity is what makes the override land; see Gotcha 17. */
.ig-partners .sponsors-outer .image-box img,
.ig-partners .sponsors-outer .image-box img:hover{ opacity:1; }

/* Owl's nav arrows sit outside the track; keep them off the first/last tile. */
.ig-partners .sponsors-carousel .owl-prev,
.ig-partners .sponsors-carousel .owl-next{
  position:absolute; top:50%; transform:translateY(-50%);
  width:34px; height:34px; line-height:34px; text-align:center;
  background:#fff !important; color:var(--ig-navy) !important;
  border:1px solid var(--ig-border); border-radius:50%; opacity:.9; }
.ig-partners .sponsors-carousel .owl-prev{ left:-6px; }
.ig-partners .sponsors-carousel .owl-next{ right:-6px; }
.ig-partners .sponsors-carousel .owl-prev:hover,
.ig-partners .sponsors-carousel .owl-next:hover{
  background:var(--ig-navy) !important; color:#fff !important; border-color:var(--ig-navy); }

@media only screen and (max-width:767px){
  .ig-partners{ padding:46px 0 38px; }
  .ig-partners .sponsors-outer{ padding:0 30px; }
  .ig-partners .image-box img{ max-width:250px; }
}

/* ==========================================================================
   Team grid with biographies  [ig_team]
   The parent's team module hides everything but the name behind a hover
   overlay, which cannot carry a paragraph of bio. These are plain cards:
   portrait, name, role, bio, optional LinkedIn.
   ========================================================================== */
.ig-team-section{ padding:80px 0 50px; }
.ig-team-intro{ max-width:860px; margin:0 auto 46px; text-align:center; }
.ig-team-intro p{ font-size:18px; line-height:1.75; color:var(--ig-ink); margin:0; }

.ig-team-block{ margin-bottom:34px; display:flex; }
.ig-team-block .inner-box{
  display:flex; flex-direction:column; width:100%;
  background:#fff; border:1px solid var(--ig-border); border-radius:8px;
  overflow:hidden; transition:box-shadow .25s ease, transform .25s ease; }
.ig-team-block .inner-box:hover{
  box-shadow:0 14px 34px rgba(0,0,102,.10); transform:translateY(-3px); }

/* Fixed ratio so a real headshot and a monogram placeholder occupy the same
   box - swapping photos in must not reflow the grid. */
.ig-team-block .image{ margin:0; background:var(--ig-surface); }
.ig-team-block .image img{
  display:block; width:100%; height:auto; aspect-ratio:5/6; object-fit:cover; }

.ig-team-block .lower-content{ padding:22px 22px 24px; display:flex; flex-direction:column; flex:1 1 auto; }
.ig-team-name{ font-size:19px; line-height:1.3; color:var(--ig-navy); margin:0 0 5px; }
.ig-team-role{
  font-size:13px; line-height:1.45; font-weight:600; letter-spacing:.04em;
  text-transform:uppercase; color:var(--ig-brown); margin-bottom:13px; }
.ig-team-bio p{ font-size:15px; line-height:1.68; color:var(--ig-ink); margin:0; }
.ig-team-link{
  margin-top:15px; align-self:flex-start; font-size:14px; font-weight:600;
  color:var(--ig-action); }
.ig-team-link:hover{ color:var(--ig-action-dark); text-decoration:underline; }
.ig-team-link .fa{ margin-right:6px; }

/* Four-up is too tight for a full paragraph below ~1200px. */
@media only screen and (max-width:1199px) and (min-width:768px){
  .ig-team-block{ width:50%; flex:0 0 50%; max-width:50%; }
}
@media only screen and (max-width:767px){
  .ig-team-section{ padding:48px 0 20px; }
  .ig-team-block{ width:100%; flex:0 0 100%; max-width:100%; margin-bottom:26px; }
  .ig-team-intro{ margin-bottom:32px; }
  .ig-team-intro p{ font-size:16px; }
  /* A full-width portrait is a lot of scrolling before any words, so the box
     is shortened - but with contain, not cover. A top crop suits a real
     headshot and decapitates the monogram placeholder; contain is the fit that
     is safe for both, and the placeholder's ground already matches --ig-surface
     so the letterboxing is invisible until real photographs land. */
  .ig-team-block .image img{ aspect-ratio:4/3; object-fit:contain; }
}

/* ==========================================================================
   Equal-height cards
   The parent lays these rows out with Bootstrap floats, so every card is only
   as tall as its own copy - service blurbs and the Nairobi address run longer
   than their neighbours and the rows came out ragged, with "Read More" buttons
   at three different heights.

   Flexing the rows fixes it, but note Gotcha 14: these rows carry `.clearfix`,
   whose ::before/::after are `display:table` and become ANONYMOUS FLEX ITEMS
   the moment the row is flexed - they then eat free space and throw the
   columns off. Every row flexed here must hide them.
   ========================================================================== */

/* ---- Service cards, icon row (Home: [bunch_services_icon]) ---- */
.services-section .lower-section > .row{
  display:flex; flex-wrap:wrap; align-items:stretch; }
.services-section .lower-section > .row::before,
.services-section .lower-section > .row::after{ display:none !important; }
.services-section .lower-section .services-block{ display:flex; float:none; }
.services-section .lower-section .services-block .inner-box{
  display:flex; flex-direction:column; width:100%; height:100%; }

/* ---- Service cards, image carousel (Home: [bunch_services_img]) ----
   Owl wraps each slide in .owl-item, so the stage has to stretch too or the
   cards still size independently. */
.services-section-two .three-item-carousel .owl-stage{
  display:flex; align-items:stretch; }
.services-section-two .three-item-carousel .owl-item{
  display:flex; height:auto; }
.services-section-two .services-block-two{ display:flex; width:100%; float:none; }
.services-section-two .services-block-two .inner-box{
  display:flex; flex-direction:column; width:100%; }
.services-section-two .services-block-two .lower-content{
  display:flex; flex-direction:column; flex:1 1 auto; }
/* Pin the button to the bottom so it lands on one line across the row
   regardless of how long each blurb runs. */
.services-section-two .services-block-two .lower-content .theme-btn{ margin-top:auto; }
/* The four service illustrations are all 810x540, so the card uses their own
   3:2 ratio rather than cropping it: these are composed graphics, and a 4:3
   centre crop clipped the bar-chart baseline and the edges of the stage.
   `contain` over `cover` for the same reason - nothing gets cut. */
.services-section-two .services-block-two .image,
.services-section-two .services-block-two .image picture{
  display:block; width:100%; background:var(--ig-surface); }
.services-section-two .services-block-two .image img{
  width:100%; height:auto; aspect-ratio:3/2; object-fit:contain; display:block; }

/* ---- Contact strip above the footer ([bunch_h1_address_box]) ---- */
.contact-info-section .row{
  display:flex; flex-wrap:wrap; align-items:stretch; }
.contact-info-section .row::before,
.contact-info-section .row::after{ display:none !important; }
.contact-info-section .address-box{ display:flex; float:none; }
.contact-info-section .address-box .inner-box{
  display:flex; flex-direction:column; width:100%; height:100%; }
/* Keep the "Send a message" / call links aligned along the bottom edge. */
.contact-info-section .address-box .inner-box .message{ margin-top:auto; }

@media only screen and (max-width:767px){
  /* Stacked on phones - equal heights would only add dead space. */
  .services-section .lower-section > .row,
  .contact-info-section .row{ display:block; }
  .services-section .lower-section .services-block,
  .contact-info-section .address-box{ display:block; }
}

/* ==========================================================================
   Stat counters - make the numbers carry the section
   The parent renders the counters at roughly body weight, so "8 / 10 / 250 / 4"
   read as incidental text next to their labels. These are the proof points of
   the page; the figure should dominate and the label support it.
   ========================================================================== */
/* The figure is the <span class="count-text"> INSIDE .count-box, and the
   parent sets that span to font-weight:300 - styling .count-box alone changes
   the size but leaves the digits thin. Target the span itself. */
.count-outer .count-text,
.count-box .count-text,
.fun-fact-section .count-text{
  font-family:'Plus Jakarta Sans',sans-serif !important;
  font-size:64px !important; line-height:1.02 !important; font-weight:800 !important;
  letter-spacing:-.025em; color:#fff !important; display:inline-block; }
.count-outer .counter-title,
.count-box .counter-title,
.fun-fact-section .counter-title{
  display:block; margin-top:12px;
  font-family:'Inter',sans-serif !important;
  font-size:14px !important; font-weight:600 !important; line-height:1.45 !important;
  letter-spacing:.09em !important; text-transform:uppercase !important;
  color:rgba(255,255,255,.88) !important; }

@media only screen and (max-width:991px){
  .count-outer .count-text,
  .count-box .count-text{ font-size:52px !important; }
}
@media only screen and (max-width:767px){
  .count-outer .count-text,
  .count-box .count-text{ font-size:46px !important; }
  .count-outer .counter-title{ font-size:12px !important; }
}

/* ==========================================================================
   "How We Work" accordion
   Each [bunch_work] step is a real <button> plus a collapsible panel. The
   parent styles `.list-number .inner` as a single text line, so the toggle has
   to be reset back to a block-level control first.
   ========================================================================== */
.work-section .work-list .list-number{ display:block; }
.work-section .work-list .list-number .inner{
  display:block; padding-bottom:0; }

.work-section .ig-step-toggle{
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  width:100%; padding:13px 0; margin:0;
  background:none; border:0; border-bottom:1px solid var(--ig-border);
  text-align:left; cursor:pointer;
  font-family:'Plus Jakarta Sans',sans-serif; font-size:17px; font-weight:700;
  color:var(--ig-navy); transition:color .2s ease; }
.work-section .ig-step-toggle:hover{ color:var(--ig-action); }
.work-section .ig-step-toggle:focus-visible{
  outline:2px solid var(--ig-action); outline-offset:3px; }
.work-section .ig-step-name{ flex:1 1 auto; }

/* Chevron drawn in CSS so no icon font is needed. */
.work-section .ig-step-chevron{
  flex:0 0 auto; width:9px; height:9px; margin-right:2px;
  border-right:2px solid currentColor; border-bottom:2px solid currentColor;
  transform:rotate(45deg) translateY(-2px); transition:transform .25s ease; }
.work-section .list-number.is-open .ig-step-chevron{
  transform:rotate(-135deg) translateY(-2px); }

.work-section .ig-step-detail{
  overflow:hidden; max-height:0; transition:max-height .3s ease; }
.work-section .ig-step-detail p{
  margin:0; padding:12px 0 16px;
  font-size:15.5px; line-height:1.7; color:var(--ig-ink); }

/* Before the script runs there is no transition to worry about; once it has,
   `hidden` does the hiding and max-height does the animating. */
.work-section .work-list.ig-approach-ready .ig-step-detail[hidden]{ display:none; }

/* The parent zebra-stripes the steps (`.list-number` surface, `:nth-child(2n)`
   white) and pads each one 38px/30px. That reads fine for five equal static
   rows, but against panels that change height it turns into uneven blocks.
   Flatten to one ground with a hairline rule between steps, and let the toggle
   supply the vertical rhythm instead of the parent's padding. */
.work-section .content-column .inner-column .work-list .list-number,
.work-section .content-column .inner-column .work-list .list-number:nth-child(2n){
  background-color:transparent !important;
  padding:0 0 0 64px !important; margin-bottom:0 !important; position:relative; }
.work-section .content-column .inner-column .work-list .list-number + .list-number{
  margin-top:0 !important; }
/* The step number is absolutely placed so the toggle row can start at a
   consistent x regardless of how wide the numeral renders. */
.work-section .content-column .inner-column .work-list .list-number .inner .number{
  position:absolute; left:0; top:9px;
  width:42px; height:42px; line-height:42px; text-align:center;
  font-family:'Plus Jakarta Sans',sans-serif; font-size:14px; font-weight:800;
  color:#fff !important; background:var(--ig-action); border-radius:5px; }
.work-section .work-list{ border-top:1px solid var(--ig-border); }

/* ==========================================================================
   Floating WhatsApp button / retired scroll-to-top
   The parent's .scroll-to-top occupied the same bottom-right corner. Hidden
   rather than removed, because it lives in the parent footer.php (vendor code)
   and a child footer.php override would have to be re-reconciled on update.
   ========================================================================== */
.scroll-to-top{ display:none !important; }

.ig-whatsapp{
  position:fixed; right:24px; bottom:24px; z-index:9990;
  width:58px; height:58px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  /* WhatsApp's own green rather than a brand colour - recognition is the whole
     point of a floating contact affordance. */
  background:#25D366; color:#fff;
  box-shadow:0 6px 20px rgba(0,0,0,.22);
  transition:transform .2s ease, box-shadow .2s ease; }
.ig-whatsapp svg{ width:32px; height:32px; display:block; }
.ig-whatsapp:hover,
.ig-whatsapp:focus{ color:#fff; transform:translateY(-2px); box-shadow:0 10px 26px rgba(0,0,0,.28); }
.ig-whatsapp:focus-visible{ outline:3px solid var(--ig-navy); outline-offset:3px; }

/* Lift clear of the cookie bar while it is on screen. --ig-cookie-h is the
   bar's measured height, published by the script beside the button - a fixed
   offset is wrong on any viewport where the copy wraps to a different depth. */
.ig-whatsapp{ bottom:calc(24px + var(--ig-cookie-h, 0px)); }

@media only screen and (max-width:767px){
  .ig-whatsapp{ right:16px; bottom:calc(16px + var(--ig-cookie-h, 0px));
    width:52px; height:52px; }
  .ig-whatsapp svg{ width:28px; height:28px; }
}

@media (prefers-reduced-motion:reduce){
  .ig-whatsapp{ transition:none; }
  .ig-whatsapp:hover,.ig-whatsapp:focus{ transform:none; }
}

/* Service photography is wrapped in <picture> (WebP + JPEG fallback). A
   <picture> is inline by default and would collapse the card's image slot. */
.ig-service-pic{ display:block; width:100%; }
.ig-service-pic img{ display:block; width:100%; height:auto; }

/* Services page rows use the same assets at their native ratio. */
.ig-service-img picture{ display:block; width:100%; }
.ig-service-img img{ width:100%; height:auto; display:block; border-radius:6px; }

/* ==========================================================================
   Body copy: pure black, sitewide.

   The parent and `_generated-recolor.css` set almost every paragraph to
   #6E6E78 (and the parent to #84858A), which reads washed out. The client
   asked for #000. `--ig-ink` above now carries it, which covers
   `body, p, .text, li`; the selectors below reach the places the recolor
   sheet pins explicitly.

   Specificity matters: `_generated-recolor.css` ships three-class rules and a
   bare `.text` in brand.css loses to them even though brand.css loads last -
   the Gotcha 17 / 27 trap. Every selector below matches or exceeds three
   classes.

   Headings are untouched by design: section eyebrows stay brown, h2 and card
   titles stay navy.

   Deliberately EXCLUDED, because black would be wrong or invisible there:
     - `.main-footer .footer-bottom .copyright p`  (navy footer, light text)
     - `.fluid-section-one` copy                   (terracotta panel, white text)
     - form input placeholders                     (must stay distinct from
                                                    typed input)
     - post-meta, author and post-info lines       (dates and bylines are
                                                    secondary, not body copy)
     - decorative `:after` separators, owl-nav arrows, pagination chrome
   ========================================================================== */

/* Home: "Our Service Lines" (directly after the slider) and the carousel. */
.services-section .title-box .text,
.services-section .sec-title .text,
.services-section .services-block .inner-box .text,
.services-section-two .title-box .text,
.services-section-two .sec-title .text,
.services-section-two .services-block-two .inner-box .text,
.services-section-two .services-block-two .lower-content .text,
/* Generic parent modules, wherever they appear. */
.services-block .inner-box .text,
.services-block-two .inner-box .lower-content .text,
.work-section .content-column .inner-column .text,
.work-section-two .title-column .inner-column .text,
.about-section .lower-section .about-content .text,
.choose-section .lower-section .content-column .inner-column .text,
.experts-section .content-column .inner-column .text,
.testimonial-block .inner-box .text,
.accordion-box .block .content .accordian-text,
.contact-info-section .address-box .inner-box .text,
.contact-form-section .form-coumn .inner-column .text,
.contact-message-section .title-column .inner-column .text,
.services-page-section .title-box .text,
.services-single .inner-box .lower-content p,
.service-single-block .block-inner .block-text,
.news-block-three .inner-box .lower-content .text,
.author-box .author-comment .author-inner-box .text,
.sidebar-page-container .comments-area .comment-box .text,
/* Services page rows. */
.ig-service-list li,
.ig-service-body > p{ color:#000; }

/* ==========================================================================
   Card icons (About: Vision / Mission, and the six core values).
   Font Awesome 4.7.0 - already enqueued and self-hosted by the parent theme,
   so no CDN request is added. The <span> is aria-hidden; the heading beside it
   carries the meaning.
   ========================================================================== */
.ig-card-icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:50px; height:50px; margin-bottom:18px; border-radius:50%;
  background:var(--ig-surface); color:var(--ig-action); font-size:21px; line-height:1; }
.ig-card-icon i{ display:block; }
/* The navy Vision/Mission cards need the inverse treatment. */
.ig-card-navy .ig-card-icon{ background:rgba(255,255,255,.12); color:#fff; }

/* ==========================================================================
   About intro: portrait photograph in the column that held the facts table.
   ========================================================================== */
.ig-about-figure{ margin:0; }
.ig-about-figure img{
  display:block; width:100%; height:auto; border-radius:6px;
  border-top:4px solid var(--ig-navy); }
.ig-about-figure figcaption{
  margin-top:12px; font-size:13.5px; line-height:1.5; color:var(--ig-muted); }

/* ==========================================================================
   Home "How We Work" ([bunch_work]) now carries a 3:4 portrait.
   Two parent assumptions break with a portrait subject:
     a) .image-column has no height rule, so the photo ran taller than the five
        phases beside it. Capped and cropped here, head kept in frame.
     b) The "Our Approach" card is pinned to top:30px with max-width:360px.
        Over the old landscape photo that was dead space; over a portrait it
        lands on the speaker's face, and at phone widths 30px + 360px is wider
        than the image itself. Bottom-anchored and width-capped below.
   The parent selector is five classes deep (style.css:2207), so `top` must be
   reset at matching specificity or the card keeps top:30px AND gains
   bottom:30px and stretches full height (the Gotcha 17 trap). The paroller
   transform on this box is horizontal only, so bottom-anchoring is safe.
   ========================================================================== */
.work-section .image-column .image{ position:relative; }
.work-section .image-column .image > img{
  width:100%; object-fit:cover; object-position:50% 14%;
  display:block; border-radius:6px; }

.work-section .image-column .inner-column .image .overlay-box{
  top:auto; bottom:30px; }
/* The pointer triangle hangs off the card's bottom edge; flip it to point up
   now that the card sits against the foot of the image. */
.work-section .image-column .inner-column .image .overlay-box:before{
  top:-18px; bottom:auto;
  border-top:none; border-bottom:20px solid #ffffff; }

@media only screen and (min-width:992px){
  .work-section .image-column .image > img{ height:620px; }
}
@media only screen and (max-width:991px){
  /* Stacked: a full-height portrait would push the copy a screen and a half
     down, so crop to a calmer band - but keep it tall enough that the card at
     the foot still clears the subject's head. */
  .work-section .image-column .image > img{ height:430px; }
  /* 30px + the parent's 360px max-width exceeds the image at phone widths. */
  .work-section .image-column .inner-column .image .overlay-box{
    max-width:calc(100% - 60px); bottom:22px; }
}

/* ==========================================================================
   Client feedback, 26 Oct 2026
   ========================================================================== */

/* --- Counter suffix ------------------------------------------------------
   "3,100+" is split by the child funfacts.php override into an animated
   number plus a static suffix, so the "+" has to sit tight against the
   digits and share their weight without joining the count-up. */
.count-box .count-suffix{
  font-family:'Plus Jakarta Sans',sans-serif; font-size:48px; font-weight:800;
  line-height:1.02; letter-spacing:-.025em; color:#fff;
  display:inline-block; vertical-align:top; margin-left:1px; }

/* Six counters at col-md-4 wrap to two rows; the parent only ever expected
   one row, so it has no vertical rhythm between them. */
.counter-section .counter-column{ margin-bottom:38px; }
.counter-section .fact-counter .row{ margin-bottom:-38px; }

@media only screen and (max-width:991px){
  .count-box .count-suffix{ font-size:40px; }
}
@media only screen and (max-width:767px){
  .count-box .count-suffix{ font-size:35px; }
  .counter-section .counter-column{ margin-bottom:30px; }
  .counter-section .fact-counter .row{ margin-bottom:-30px; }
}

/* --- Service card actions ------------------------------------------------
   The client asked for each service to carry a direct enquiry route next to
   the link into its detail section. The parent card had one button, so the
   pair needs its own row that keeps the button's visual weight dominant. */
.ig-service-actions{
  display:flex; align-items:center; flex-wrap:wrap; gap:18px; margin-top:4px; }
.ig-service-actions .theme-btn{ margin:0; }
.ig-enquire-link{
  font-family:'Inter',sans-serif; font-size:14px; font-weight:600;
  letter-spacing:.02em; color:var(--ig-action); text-decoration:none;
  border-bottom:1px solid rgba(180,81,44,.35); padding-bottom:1px;
  transition:color .2s, border-color .2s; }
.ig-enquire-link:hover,
.ig-enquire-link:focus{ color:var(--ig-navy); border-bottom-color:var(--ig-navy); }

/* Matching CTA at the foot of each row on the Services page. */
.ig-service-cta{ margin:22px 0 0; }
.ig-service-cta .theme-btn{ margin:0; }

/* --- Screen-reader-only text ---------------------------------------------
   The parent theme never defined .screen-reader-text, and the "Enquire"
   links need the service name for anyone navigating by link list. */
.screen-reader-text{
  position:absolute !important; width:1px; height:1px; padding:0;
  margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap;
  border:0; }

/* --- Insights articles ---------------------------------------------------
   The category + reading-time line sits above the first paragraph, and the
   closing call to action needs to read as a distinct block rather than as
   another body paragraph. */
.ig-article-kicker{
  font-family:'Inter',sans-serif; font-size:13px; font-weight:600;
  letter-spacing:.09em; text-transform:uppercase;
  color:var(--ig-brown) !important; margin:0 0 22px; }

.ig-article-cta{
  margin:40px 0 0; padding:28px 30px;
  background:var(--ig-surface); border-left:3px solid var(--ig-action); }
.ig-article-cta p{ margin:0 0 16px; }
.ig-article-cta p:last-child{ margin:0; display:flex; align-items:center;
  flex-wrap:wrap; gap:18px; }
.ig-article-cta .theme-btn{ margin:0; }

@media only screen and (max-width:767px){
  .ig-article-cta{ padding:22px 20px; }
}

/* Service rows are jump targets from the home cards. The header is fixed, so
   without a scroll margin the heading lands underneath it. */
.ig-service-row[id]{ scroll-margin-top:110px; }
@media only screen and (max-width:991px){
  .ig-service-row[id]{ scroll-margin-top:90px; }
}

/* ==========================================================================
   reCAPTCHA v3
   The badge is hidden because it collides with the floating WhatsApp button.
   visibility (not display:none) is what Google asks for, and the notice that
   makes hiding it permissible is printed under the form by
   ig_recaptcha_notice() in functions.php.
   ========================================================================== */
.grecaptcha-badge{ visibility:hidden !important; }
.ig-recaptcha-note{ margin:14px 0 0; font-size:13px; line-height:1.5; color:var(--ig-muted); }
.ig-recaptcha-note a{ color:inherit; text-decoration:underline; }

/* Inner-page banner title is now an <h1> (ig-seo.php swaps the parent's <h2>
   for SEO). Mirror the parent's `.page-title h2` (style.css) and its phone
   size (responsive.css <=767px), and cancel responsive.css's stray
   `.page-title h1{font-size:50px}` at <=1140px. */
.page-title h1{ position:relative; color:#fff; font-weight:600; line-height:1.2em; font-size:45px; text-transform:capitalize; }
@media only screen and (max-width:1140px){ .page-title h1{ font-size:45px; } }
@media only screen and (max-width:767px){ .page-title h1{ font-size:34px; } }

/* ==========================================================================
   FAQ page (/faq/, ig-faq.php). Native <details> accordion: works without JS,
   keyboard and screen-reader accessible, and Google indexes collapsed text.
   ========================================================================== */
.ig-faq{ max-width:860px; margin:0 auto; }
.ig-faq .ig-faq-intro{ font-size:18px; margin-bottom:36px; }
.ig-faq-group{ margin-bottom:44px; }
.ig-faq-group > h2{ font-size:28px; color:var(--ig-navy); margin:0 0 18px; padding-bottom:12px;
  border-bottom:2px solid var(--ig-border); }
.ig-faq-item{ background:#fff; border:1px solid var(--ig-border); border-radius:8px; margin-bottom:12px;
  transition:border-color .2s ease, box-shadow .2s ease; }
.ig-faq-item[open]{ border-color:var(--ig-action); box-shadow:0 6px 22px rgba(0,0,102,.07); }
.ig-faq-item > summary{ list-style:none; cursor:pointer; display:flex; align-items:center; gap:16px;
  padding:18px 22px; }
.ig-faq-item > summary::-webkit-details-marker{ display:none; }
.ig-faq-item > summary h3{ flex:1; margin:0; font-size:18px; line-height:1.4; font-weight:700; color:var(--ig-navy); }
.ig-faq-item > summary::after{ content:"+"; flex:none; width:30px; height:30px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; font:600 20px/1 'Plus Jakarta Sans',sans-serif;
  color:var(--ig-action); background:var(--ig-surface); transition:transform .2s ease; }
.ig-faq-item[open] > summary::after{ content:"\2212"; background:var(--ig-action); color:#fff; }
.ig-faq-item > summary:hover h3{ color:var(--ig-action); }
.ig-faq-item > summary:focus-visible{ outline:2px solid var(--ig-action); outline-offset:2px; border-radius:8px; }
.ig-faq-a{ padding:0 22px 20px; }
.ig-faq-a p, .ig-faq-a li{ font-size:16.5px; }
.ig-faq-a p:last-child{ margin-bottom:0; }
.ig-faq-a ul, .ig-faq-a ol{ margin:0 0 12px; padding-left:22px; }
.ig-faq-a ul{ list-style:disc; } .ig-faq-a ol{ list-style:decimal; }
.ig-faq-a li{ margin-bottom:6px; padding-left:2px; }
.ig-faq-a a{ color:var(--ig-action); text-decoration:underline; text-underline-offset:2px; }
@media (max-width:767px){
  .ig-faq-group > h2{ font-size:23px; }
  .ig-faq-item > summary{ padding:15px 16px; gap:12px; }
  .ig-faq-item > summary h3{ font-size:16.5px; }
  .ig-faq-a{ padding:0 16px 16px; }
}
/* The blog-single content rules set headings to the parent's Hind and strip
   list bullets (Gotcha 17 again: check computed styles). */
.ig-faq .ig-faq-group > h2,
.ig-faq .ig-faq-item > summary h3{ font-family:'Plus Jakarta Sans',-apple-system,sans-serif; font-weight:700; letter-spacing:-.015em; }
.ig-faq .ig-faq-a ul > li{ display:list-item; list-style:disc outside; }
.ig-faq .ig-faq-a ol > li{ display:list-item; list-style:decimal outside; }
.ig-faq .ig-faq-a li::marker{ color:var(--ig-brown); }

/* Home team teaser ([bunch_team]): client portraits arrive in mixed shapes and
   sizes (one is a 200x200 avatar), so the row went ragged. Same 5:6 crop as the
   Team page cards, anchored to the top so faces stay in frame. */
.team-section .team-block .inner-box .image img{
  width:100%; height:auto; aspect-ratio:5/6; object-fit:cover; object-position:50% 15%; }
