/*
 * Brand overrides (Brindley Associates brand guidelines, April 2015).
 * Authored, not carried: loaded by src/layouts/Frozen.astro AFTER the frozen
 * head CSS, so equal-specificity rules here win. Generated once from the
 * carried typography; see CLAUDE.md "Brand layer".
 *
 * Web font: Cantarell, the guidelines' web stand-in for the print font Corbel.
 * Self-hosted (SIL OFL 1.1, /fonts/cantarell/OFL.txt). No request to Google.
 */

/* Cantarell 400/700, roman + italic */
@font-face{font-family:"Cantarell";font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/cantarell/cantarell-400-italic-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Cantarell";font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/cantarell/cantarell-400-italic-latin.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Cantarell";font-style:italic;font-weight:700;font-display:swap;src:url(/fonts/cantarell/cantarell-700-italic-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Cantarell";font-style:italic;font-weight:700;font-display:swap;src:url(/fonts/cantarell/cantarell-700-italic-latin.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Cantarell";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/cantarell/cantarell-400-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Cantarell";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/cantarell/cantarell-400-latin.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Cantarell";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/cantarell/cantarell-700-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Cantarell";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/cantarell/cantarell-700-latin.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* "corbel" -> Cantarell. The carried CSS (and Word-pasted inline spans) name
   Corbel, which only Windows has; this alias serves Cantarell everywhere.
   Weights 100-549 map to Regular, 550-900 to Bold. */
@font-face{font-family:"corbel";font-style:italic;font-weight:100 549;font-display:swap;src:url(/fonts/cantarell/cantarell-400-italic-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"corbel";font-style:italic;font-weight:100 549;font-display:swap;src:url(/fonts/cantarell/cantarell-400-italic-latin.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"corbel";font-style:italic;font-weight:550 900;font-display:swap;src:url(/fonts/cantarell/cantarell-700-italic-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"corbel";font-style:italic;font-weight:550 900;font-display:swap;src:url(/fonts/cantarell/cantarell-700-italic-latin.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"corbel";font-style:normal;font-weight:100 549;font-display:swap;src:url(/fonts/cantarell/cantarell-400-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"corbel";font-style:normal;font-weight:100 549;font-display:swap;src:url(/fonts/cantarell/cantarell-400-latin.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"corbel";font-style:normal;font-weight:550 900;font-display:swap;src:url(/fonts/cantarell/cantarell-700-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"corbel";font-style:normal;font-weight:550 900;font-display:swap;src:url(/fonts/cantarell/cantarell-700-latin.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* Open Sans / Raleway / Montserrat / Crimson Text -> Cantarell.
   Same selectors as the carried typography, family swapped, stack kept. */
h1,.h1{font-family:"Cantarell",-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',sans-serif}
h2,.h2{font-family:"Cantarell",-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',sans-serif}
h3,.h3{font-family:"Cantarell",-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',sans-serif}
h4,.woocommerce-order-received .woocommerce h2,.woocommerce-order-received .woocommerce h3,.woocommerce-view-order .woocommerce h2,.woocommerce-view-order .woocommerce h3,.h4{font-family:"Cantarell",-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',sans-serif}
.oshine-animated-link,.view-project-link.style4-button{font-family:"Cantarell",-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',sans-serif}
.portfolio-details .gallery-side-heading-wrap p{font-family:"Cantarell",-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',sans-serif}
.ps-fade-nav-item .ps-fade-nav-item-inner{font-family:"Cantarell",-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',sans-serif}
.ps-fade-horizontal-nav-item-inner{font-family:"Cantarell",-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',sans-serif}
a.navigation-previous-post-link,a.navigation-next-post-link{font-family:"Cantarell",-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',sans-serif}
#portfolio-title-nav-bottom-wrap h6,#portfolio-title-nav-bottom-wrap .slider-counts{font-family:"Cantarell",-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',sans-serif}
.attachment-details-custom-slider{font-family:"Cantarell",-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',sans-serif}
.filters .filter_item{font-family:"Cantarell",-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',sans-serif}
.post-title,.post-date-wrap{font-family:"Cantarell",-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',sans-serif}
.style3-blog .post-title,.style8-blog .post-title{font-family:"Cantarell",-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',sans-serif}
.post-meta.post-top-meta-typo,.style8-blog .post-meta.post-category a,.hero-section-blog-categories-wrap a{font-family:"Cantarell",-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',sans-serif}
.post-nav li,.style8-blog .post-meta.post-date,.style8-blog .post-bottom-meta-wrap,.hero-section-blog-bottom-meta-wrap{font-family:"Cantarell",-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',sans-serif}
.single-post .post-title,.single-post .style3-blog .post-title,.single-post .style8-blog .post-title{font-family:"Cantarell",-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',sans-serif}
.ajde_evcal_calendar .calendar_header p,.eventon_events_list .eventon_list_event .evcal_cblock{font-family:"Cantarell" !important}

/* Form: WS Form default blue (#205493) -> brand Blue (#007cc3). Hover/focus
   shades derive from --wsf-form-color-primary via color-mix(). */
[data-wsf-style-id="1"]{--wsf-form-color-primary:#007cc3;--wsf-form-color-accent:#007cc3}

/* Child theme typo: .tealit used #00beb2; brand Teal is #00bfb3. */
.tealit{color:#00bfb3}

/* ---- Site tweaks (owner requests, not brand-guideline driven) ---------- */

/* Sticky header: smaller logo and a shorter bar once the header sticks
   (theme adds .top-animate). Default header is untouched: logo 60px in 25px
   padding, 100px nav line-height -> sticky: logo 40px in 15px padding, 70px.
   The nav selector list mirrors the theme's own .top-animate rule so this
   wins the tie; the theme already transitions line-height. */
#header-inner-wrap .logo,
#header-inner-wrap .logo img.sticky-logo {
  transition: padding 0.5s ease, height 0.5s ease;
}
#header-inner-wrap.top-animate .logo {
  padding-top: 15px;
  padding-bottom: 15px;
}
#header-inner-wrap.top-animate .logo img.sticky-logo {
  width: auto;
  height: 40px;
}
body #header-inner-wrap.top-animate #navigation,
body #header-inner-wrap.top-animate #navigation-left-side,
body #header-inner-wrap.top-animate #navigation-right-side,
body #header-inner-wrap.top-animate .header-controls,
body #header-inner-wrap.top-animate #header-wrap,
body #header-inner-wrap.top-animate #header-controls-right,
body #header-inner-wrap.top-animate #header-controls-left {
  line-height: 70px;
}

/* Main-menu dropdowns (owner request).
   1. A chevron on top-level items that have a dropdown.
   2. Dropdowns with more than 5 items (About: 16 staff) split into 2 columns.
   3. Keyboard users can open a dropdown by tabbing into it (the theme only
      opened them on mouse hover). */
#navigation .menu > ul > li.menu-item-has-children > a::after {
  border-bottom: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  content: '';
  display: inline-block;
  height: 5px;
  margin-left: 7px;
  transform: translateY(-3px) rotate(45deg);
  width: 5px;
}
#navigation .menu > ul > li > .sub-menu:has(> li:nth-child(6)) {
  column-gap: 0;
  columns: 2;
  width: 400px;
}
#navigation .menu > ul > li > .sub-menu:has(> li:nth-child(6)) > li {
  break-inside: avoid;
}
/* !important: the theme's menu script writes an inline display:none on every
   sub-menu. Only applies while focus is inside the item, so hover is as before. */
#navigation .menu > ul > li.menu-item-has-children:focus-within > .sub-menu {
  display: block !important;
}

/* Strapline "creative • environmental": vector trace of the original 2014
   artwork (public/media/brand/strapline.svg, white lettering + teal dot), so
   the exact lettering renders crisply at any size with no font to load.
   Sized by width; a soft drop shadow keeps it legible on photos. */
.ba-strapline {
  line-height: 0;
  margin: 0 auto;
  max-width: 1120px;
  width: 88%;
}
.ba-strapline img {
  display: block;
  filter: drop-shadow(0 1px 10px rgb(0 0 0 / 0.3));
  height: auto;
  width: 100%;
}

/* Homepage: the two decorative teal bands became thin rules. */
.ba-rule {
  background: #00bfb3;
  border: 0;
  height: 1px;
  margin: 0;
}

/* Footer: logo on its own row, columns underneath (owner request).
   CSS-only: the theme's three .column-block wrappers become display:contents
   so each widget is a grid item, then named areas place them. Carried widget
   order on every page: col1 = logo, Our News, Contact; col2 = About Us,
   social; col3 = Site Policies. */
#bottom-widgets-wrap {
  column-gap: 40px;
  display: grid;
  grid-template-areas:
    "logo logo logo logo"
    "about contact news policies"
    "social contact news policies";
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 0.8fr);
  /* spare height goes to the last row, so social sits right under About */
  grid-template-rows: auto auto 1fr;
}
#bottom-widgets-wrap::before,
#bottom-widgets-wrap::after {
  display: none;
}
#bottom-widgets-wrap > .column-block {
  display: contents;
}
/* !important: the theme has ".column-block :last-child { margin-bottom: 0 !important }",
   which zeroed the last widget of each old column. */
#bottom-widgets-wrap > .column-block > .widget {
  margin-bottom: 36px !important;
  min-width: 0;
}
/* The contact widget's email is one unbroken string (no theme white-space
   rule allows wrapping it), so at the 961-1279px four-column width it can
   overflow into the news column next door. */
#bottom-widgets-wrap .tatsu-list-inner {
  overflow-wrap: anywhere;
}
#bottom-widgets-wrap > .column-block:nth-child(1) > .widget:nth-child(1) {
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
  grid-area: logo;
  margin-bottom: 36px;
  padding-bottom: 28px;
}
#bottom-widgets-wrap > .column-block:nth-child(1) > .widget:nth-child(1) p {
  margin: 0;
}
#bottom-widgets-wrap > .column-block:nth-child(1) > .widget:nth-child(2) { grid-area: news; }
#bottom-widgets-wrap > .column-block:nth-child(1) > .widget:nth-child(3) { grid-area: contact; }
#bottom-widgets-wrap > .column-block:nth-child(2) > .widget:nth-child(1) { grid-area: about; }
#bottom-widgets-wrap > .column-block:nth-child(2) > .widget:nth-child(2) { grid-area: social; }
#bottom-widgets-wrap > .column-block:nth-child(3) > .widget:nth-child(1) { grid-area: policies; }
@media (max-width: 960px) {
  #bottom-widgets-wrap {
    grid-template-areas:
      "logo logo"
      "about contact"
      "social contact"
      "news policies";
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr auto;
  }
}
@media (max-width: 600px) {
  #bottom-widgets-wrap {
    grid-template-areas: "logo" "about" "social" "contact" "news" "policies";
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }
}

/* Page banners (owner request). Replace the carried hero bands on 24 pages.
   - Section pages (About, Case Studies, Contact, Sectors, Services): photo
     under a dark warm-brown scrim, small strapline, real page title (h1) and,
     where the page had one, its intro sentence (moved up from the body).
   - Child pages (sector/service detail, news listings): the parent's photo
     only faintly visible through deep brand teal, white title, and a link
     back to the parent section.
   Contrast: white on the teal overlay >= 5.4:1 even over the photo's
   lightest areas; on the section scrim >= 5.7:1. */
.ba-banner {
  background: #00837a;
  color: #fff;
  overflow: hidden;
  position: relative;
}
.ba-banner::before,
.ba-banner::after {
  content: '';
  inset: 0;
  position: absolute;
}
.ba-banner::before {
  background: var(--ba-banner-img) center / cover no-repeat;
}
.ba-banner--child {
  background: #00837a;
  isolation: isolate;
}
/* multiply only darkens, so white text stays >= 4.65:1 over any photo */
.ba-banner--child::before {
  mix-blend-mode: multiply;
  opacity: 0.5;
}
.ba-banner--child::after {
  display: none;
}
.ba-banner--section::after {
  background: linear-gradient(rgb(42 36 31 / 0.62), rgb(42 36 31 / 0.74));
}
.ba-banner__inner {
  margin: 0 auto;
  max-width: 1160px;
  padding: 52px 20px 48px;
  position: relative;
  z-index: 1;
}
.ba-banner--section .ba-banner__inner {
  max-width: 900px;
  padding: 88px 20px 84px;
  text-align: center;
}
.ba-banner__title {
  color: #fff;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
}
.ba-banner--child .ba-banner__title::after {
  background: #fff;
  content: '';
  display: block;
  height: 2px;
  margin-top: 18px;
  opacity: 0.7;
  width: 56px;
}
.ba-banner__intro {
  color: #fff;
  font-size: 17px;
  line-height: 1.7;
  margin: 18px auto 0;
  max-width: 720px;
}
.ba-banner__back {
  align-items: center;
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  gap: 8px;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  text-decoration: none;
  text-transform: uppercase;
}
.ba-banner__back:hover,
.ba-banner__back:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.ba-banner a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.ba-strapline--small {
  margin-bottom: 18px;
  width: clamp(200px, 26vw, 330px);
}
.ba-strapline--small img {
  filter: none;
}
@media (max-width: 600px) {
  .ba-banner__inner {
    padding: 36px 16px 32px;
  }
  .ba-banner--section .ba-banner__inner {
    padding: 56px 16px 52px;
  }
  .ba-banner__intro {
    font-size: 16px;
  }
}

/* Shared helpers for authored components. */
.ba-visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
/* Small outline button (brand teal darkened just enough: 4.65:1 on white). */
.ba-btn-outline {
  align-self: flex-start;
  border: 1px solid #00837a;
  border-radius: 2px;
  color: #00837a;
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.1em;
  line-height: 1;
  padding: 10px 18px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.ba-btn-outline:hover,
.ba-btn-outline:focus-visible {
  background: #00837a;
  color: #fff;
}
.ba-btn-outline:focus-visible {
  outline: 2px solid #00837a;
  outline-offset: 2px;
}

/* Footer content tidy-up (owner request). */
/* Social: small white icons, no background (replaced the 50px PNG tiles). */
.ba-social {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0 0 0 -8px;
  padding: 0;
}
.ba-social li {
  margin: 0;
  padding: 0;
}
.ba-social a {
  align-items: center;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  opacity: 0.85;
  transition: color 0.2s ease, opacity 0.2s ease;
  width: 36px;
}
.ba-social a:hover,
.ba-social a:focus-visible {
  color: #00bfb3;
  opacity: 1;
}
.ba-social a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 1px;
}
.ba-social svg {
  fill: currentColor;
}
/* Contact: compact icon + text rows. */
#bottom-widgets .tatsu-list {
  margin: 0;
  padding: 0;
}
#bottom-widgets .tatsu-list-content {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  margin: 0 0 12px;
  padding: 0;
}
/* the theme centres the icon absolutely inside this 30px box: keep it
   relative, just make it one text-line tall */
#bottom-widgets .tatsu-list-icon-wrap {
  flex: none;
  height: 24px;
  margin: 0;
  position: relative;
  width: 18px;
}
#bottom-widgets .tatsu-list-inner {
  line-height: 1.6;
  margin: 0;
  padding: 0;
}
#bottom-widgets .tatsu-list-inner a {
  color: inherit;
}
/* Our News: thumbnail | title over date, aligned rows. */
/* .clearfix pseudo-elements would become grid cells */
#bottom-widgets .recent_posts::before,
#bottom-widgets .recent_posts::after {
  display: none;
}
#bottom-widgets .recent_posts {
  align-items: start;
  border: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: 56px minmax(0, 1fr);
  margin: 0 0 16px;
  padding: 0;
}
#bottom-widgets .recent_post_img {
  float: none;
  margin: 0;
  width: 56px;
}
#bottom-widgets .recent_post_img img {
  border-radius: 2px;
  display: block;
  height: 42px;
  object-fit: cover;
  width: 56px;
}
#bottom-widgets .recent_post_content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
}
#bottom-widgets .recent_post_content a {
  line-height: 1.45;
}
#bottom-widgets .recent-post-date {
  margin: 0;
  padding: 0;
}
/* "Find out more" under each Services-page area. */
.ba-more {
  margin: 24px 0 0;
}

/* Animated link underline (owner request: the plain underline looked
   dated). A faint static line keeps links identifiable without relying on
   colour alone; on hover/keyboard focus a full-colour line sweeps in from
   the left. Applies to text links in page content (not buttons or image
   links). */
#content :is(p, li, td, dd) a:not([class*='btn']):not(:has(img)) {
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(color-mix(in srgb, currentColor 30%, transparent), color-mix(in srgb, currentColor 30%, transparent));
  background-position: 0 100%, 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px, 100% 1px;
  padding-bottom: 1px;
  text-decoration: none;
  transition: background-size 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}
#content :is(p, li, td, dd) a:not([class*='btn']):not(:has(img)):is(:hover, :focus-visible) {
  background-size: 100% 1px, 100% 1px;
  text-decoration: none;
}
@media (prefers-reduced-motion: reduce) {
  #content :is(p, li, td, dd) a:not([class*='btn']):not(:has(img)) {
    transition: none;
  }
}
/* Footer: phone is a tel: link like the email; same colour as the text. */
#bottom-widgets .tatsu-list-inner a[href^='tel:'] {
  color: inherit;
}
#bottom-widgets .tatsu-list-inner a:hover,
#bottom-widgets .tatsu-list-inner a:focus-visible {
  color: #fff;
}
/* Footer Our News: transparent teal over the thumbnail while the row is
   hovered or focused. */
#bottom-widgets .recent_post_img a {
  display: block;
  position: relative;
}
#bottom-widgets .recent_post_img a::after {
  background: rgb(0 191 179 / 0.6);
  border-radius: 2px;
  content: '';
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 0.25s ease;
}
#bottom-widgets .recent_posts:is(:hover, :focus-within) .recent_post_img a::after {
  opacity: 1;
}
#bottom-widgets .recent_posts:is(:hover, :focus-within) .recent_post_content a {
  color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  #bottom-widgets .recent_post_img a::after {
    transition: none;
  }
}

/* Motion: subtle fades only (owner request). The theme's scroll-in effects
   (tatsu/oshine "data-animation") add animate.css keyframe names; the
   last @keyframes of a given name wins and brand.css loads last, so the
   flips/zooms/slides are redefined here as a plain fade, and every entrance
   runs short and soft. Reduced motion: no animation, content shown at once. */
@keyframes flipInX { from { opacity: 0; visibility: visible; } to { opacity: 1; } }
@keyframes zoomIn { from { opacity: 0; visibility: visible; } to { opacity: 1; } }
@keyframes slideInLeft { from { opacity: 0; visibility: visible; } to { opacity: 1; } }
@keyframes slideInRight { from { opacity: 0; visibility: visible; } to { opacity: 1; } }
@keyframes slideInDown { from { opacity: 0; visibility: visible; } to { opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; visibility: visible; } to { opacity: 1; } }
.tatsu-animate.animated,
.be-animate.animated,
.animated.animation-trigger {
  animation-duration: 0.6s !important;
  animation-timing-function: ease-out !important;
}
@media (prefers-reduced-motion: reduce) {
  .tatsu-animate,
  .be-animate,
  .animated {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }
}

/* Readability (owner request: "make sure there are no readability issues").
   Brand teal #00bfb3 is a fill/accent colour: as text it is only 2.3:1 on
   white. Text uses two darker brand teals instead:
     #00837a  4.65:1 on white  (one text teal: menu states, headings, links)
   It is brand teal's own hue, darkened only as far as AA requires (owner:
   "as close to the teal as possible"). Do not set it as small text on
   Teal 25% (3.7:1).
   Every value below was measured with a computed-style contrast probe. */
#navigation .menu > ul > li > a {
  color: #6e6e6e; /* was #7c7c7c, 4.17:1 */
}
#navigation .menu > ul > li:is(.current_page_item, .current-menu-item, .current-menu-ancestor, .current_page_ancestor) > a {
  color: #00837a;
}
/* Hover/focus: the same deep teal pill as the top bar (owner request).
   Keyed on the li so it stays lit while the pointer is in the dropdown;
   vertical padding only, so the menu's width and spacing are unchanged. */
#navigation .menu > ul > li > a {
  border-radius: 2px;
  line-height: 20px;
  padding-bottom: 8px;
  padding-top: 8px;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
#navigation .menu > ul > li:is(:hover, :focus-within) > a {
  background: #00837a;
  color: #fff;
}
#content :is(p, li, td, dd) a:not([class*='btn']):not(:has(img)),
#content :is(p, li, td, dd) a:not([class*='btn']):not(:has(img)):visited {
  color: #00837a;
}
#content :is(h1, h2, h3, h4, h5, h6) a,
#content :is(h1, h2, h3, h4, h5, h6) a:visited,
.filters .current_choice,
.filters.single_border .current_choice,
.filters.border .current_choice,
.tealit {
  color: #00837a;
}
/* News: dates / author, and pagination. */
#content .post-meta,
#content .post-meta a,
#content .post-date-wrap {
  color: #6e6e6e; /* was #888, 3.54:1 */
}
#content .pagination a,
#content .pagination span,
#content a.sec-bg.sec-color {
  color: #5f5f5f; /* was #7a7a7a on #f2f5f8, 3.92:1 */
}
/* Footer bottom bar (copyright, registered office, menu, credit). */
#footer,
#footer a,
#footer-wrap a:last-child {
  color: #c1b3a7; /* Warm Grey 50%; was #888 on #3f362f, 3.33:1 */
}
#footer a:hover,
#footer a:focus-visible {
  color: #fff;
}
/* Project tiles: white titles on the hover overlay need a deeper teal than
   the inline rgba(1,191,179,.85) the theme writes. */
.portfolio-container .thumb-bg {
  background: #00837a !important;
  mix-blend-mode: multiply;
}
/* Form: Send matches the site's solid .ba-btn (deep brand teal, small
   uppercase lettering, natural width) instead of a full-width blue bar.
   Field focus rings use the same teal. Markup untouched (field names are
   load-bearing for the form handler). */
[data-wsf-style-id="1"] {
  --wsf-form-color-primary: #00837a;
  --wsf-form-color-accent: #00837a;
}
.wsf-form .wsf-button.wsf-button-primary,
.wsf-form .wsf-button.wsf-button-primary.wsf-button-full {
  border-radius: 2px;
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.1em;
  line-height: 1;
  padding: 13px 28px;
  text-transform: uppercase;
  width: auto;
}
/* The theme's empty #header-bottom-bar drew a 2-line rule across the top of
   the header; the top bar's full-width hairline replaces it. */
#header-bottom-bar {
  border-bottom: 0;
  border-top: 0;
}

/* Solid button: the filled partner of .ba-btn-outline (same size/lettering). */
.ba-btn {
  background: #00837a;
  border: 1px solid #00837a;
  border-radius: 2px;
  color: #fff;
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.1em;
  line-height: 1;
  padding: 13px 24px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.ba-btn:hover,
.ba-btn:focus-visible {
  background: #006b63;
  border-color: #006b63;
  color: #fff;
}
.ba-btn:focus-visible {
  outline: 2px solid #00837a;
  outline-offset: 2px;
}
/* Contact call-to-action band (Sectors, Services). */
.ba-cta {
  background: #ceeae7;
}
.ba-cta__inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  justify-content: center;
  margin: 0 auto;
  max-width: 1160px;
  padding: 48px 20px;
  text-align: center;
}
.ba-cta__text {
  color: #3f362f;
  font-size: 20px;
  line-height: 1.5;
  margin: 0;
}
/* The theme's "a, a:visited { color: #00bfb3 }" (0,1,1) outranks a bare
   class; pin button text colours for every link state. */
.ba-btn:is(:link, :visited) {
  color: #fff;
}
.ba-btn-outline:is(:link, :visited) {
  color: #00837a;
}
.ba-btn-outline:is(:hover, :focus-visible) {
  color: #fff;
}
.ba-hero__btn:is(:link, :visited) {
  color: #fff;
}
.ba-hero__btn:is(:hover, :focus-visible) {
  color: #3f362f;
}

/* About intro "We are proud of our ever-growing team": reversed out on deep
   brand teal (owner request). White text and link 4.65:1 (the link keeps its
   faint underline, full underline on hover). Section background, column and icon colours
   are set in the carried block's own inline styles. */
#content .tatsu-g6a3nhv6sj1l84vg :is(h1, h2, h3, h4, h5, h6, p) {
  color: #fff;
}
#content .tatsu-g6a3nhv6sj1l84vg p a:not([class*='btn']):not(:has(img)):is(:link, :visited) {
  color: #fff;
}
#content .tatsu-g6a3nhv6sj1l84vg p a:not([class*='btn']):not(:has(img)):is(:hover, :focus-visible) {
  color: #fff;
}

/* Phones: alternating text | photo rows (Sectors, Services and their detail
   pages) stacked in source order, so photos sat back to back with no clear
   grouping. Below 768px the photo column (an empty column with a background
   image) always comes first and every such row becomes a card: photo,
   title, text, list, button (11 pages: Sectors, Services and their
   detail pages). */
@media (max-width: 767px) {
  .tatsu-row-has-two-cols.tatsu-row-full-width > .tatsu-row {
    display: flex;
    flex-direction: column;
  }
  .tatsu-row-has-two-cols.tatsu-row-full-width > .tatsu-row > .tatsu-column-empty {
    aspect-ratio: 16 / 10;
    min-height: 0;
    order: -1;
    width: 100%;
  }
  .tatsu-row-has-two-cols.tatsu-row-full-width > .tatsu-row > .tatsu-column-empty > .tatsu-column-inner {
    height: 100%;
    min-height: 0;
  }
  /* Every text | photo row is a card on phones (listing and detail pages):
     the theme sets width:100%, so auto + max-width lets the margins fit. */
  .tatsu-row-wrap.tatsu-row-has-two-cols.tatsu-row-full-width:has(.tatsu-column-empty) {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    box-sizing: border-box;
    margin: 16px;
    max-width: calc(100% - 32px);
    overflow: hidden;
    width: auto;
  }
  .tatsu-row-wrap.tatsu-row-has-two-cols.tatsu-row-full-width:has(.tatsu-column-empty) .tatsu-column:not(.tatsu-column-empty) .tatsu-column-pad {
    padding: 24px 20px 28px !important;
  }
}

/* Dropdowns open flush under the hovered pill (owner: 0px gap), not at the
   bottom of the 100px (70px sticky) menu row: the pill is 36px tall and
   vertically centred, so its bottom edge is at 50% + 18px. */
#navigation .menu > ul > li > .sub-menu {
  margin-top: 0;
  top: calc(50% + 18px);
}

/* Sticky header: a hairline plus a light shadow under the row once it
   sticks (owner request), so it separates cleanly over photos and white. */
#header-inner-wrap.top-animate {
  border-bottom: 1px solid #e8e8e8;
  box-shadow: 0 2px 14px rgb(0 0 0 / 0.06);
}
/* Team grid names sit on #f2f5f8 cards, where #00837a is 4.24:1. */
#content .portfolio-container .post-title a {
  color: #00756d; /* 5.1:1 on #f2f5f8 */
}
/* Banner back link: pin white for every link state (the theme's a:visited
   would otherwise make it brand teal on teal). */
.ba-banner__back:is(:link, :visited, :hover, :focus-visible) {
  color: #fff;
}

/* Phones and tablets (<=960px, where the theme swaps to the burger menu): the
   theme boxes the header into a narrow centred .be-wrap (300px at 390px
   wide), so the logo looked centred and the burger wrapped under it. Make it
   a full-width row: logo left, burger right. */
@media (max-width: 960px) {
  #header-wrap {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    max-width: none;
    padding: 0 20px;
    width: 100%;
  }
  #header-wrap::before,
  #header-wrap::after {
    display: none;
  }
  #header-wrap .logo {
    float: none;
    padding: 14px 0;
  }
  #header-wrap .logo img {
    height: 44px;
    width: auto;
  }
  #header-controls-right {
    float: none;
  }
}

/* Project tiles (Case Studies, related projects): no white outline box round
   the hover title (owner request: it looked irregular). */
.style1-title .thumb-title {
  border: 0;
}

/* Lead text: an intro paragraph set larger than body copy (the homepage
   intro was an h5 used for its size). */
.ba-lead {
  color: #4a4039;
  font-size: 20px;
  line-height: 1.6;
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;
}
@media (max-width: 600px) {
  .ba-lead {
    font-size: 18px;
  }
}

/* Banner meta line (post date, staff job title) under the title. */
.ba-banner__meta {
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.04em;
  margin: 14px 0 0;
}

/* Contact CTA band (Sectors, Services): the child-banner look (owner
   request): brand teal multiplied over a dark-toned photo, white text, white
   button with teal text (4.65:1; hover pale teal with deep teal, 7.1:1). */
.ba-cta {
  background: #00837a;
  isolation: isolate;
  overflow: hidden;
  position: relative;
}
.ba-cta::before {
  background: url(/media/_v/uploads/2014/11/Header4-w1920h620contain.jpg) center / cover no-repeat;
  content: '';
  inset: 0;
  mix-blend-mode: multiply;
  opacity: 0.5;
  position: absolute;
}
.ba-cta__inner {
  position: relative;
}
.ba-cta__text {
  color: #fff;
}
.ba-cta .ba-btn:is(:link, :visited) {
  background: #fff;
  border-color: #fff;
  color: #00837a;
}
.ba-cta .ba-btn:is(:hover, :focus-visible) {
  background: #ceeae7;
  border-color: #ceeae7;
  color: #00524c;
}
.ba-cta .ba-btn:focus-visible {
  outline-color: #fff;
}

/* About intro ("We are proud of our ever-growing team"): the banner look
   (owner request): brand teal multiplied over a dark-toned photo. */
#content .tatsu-g6a3nhv6sj1l84vg .tatsu-g6a3nhv6y94gjhy8.tatsu-column > .tatsu-column-inner {
  background: #00837a;
  isolation: isolate;
  overflow: hidden;
  position: relative;
}
#content .tatsu-g6a3nhv6sj1l84vg .tatsu-g6a3nhv6y94gjhy8.tatsu-column > .tatsu-column-inner::before {
  background: url(/media/_v/uploads/2014/10/About3-w1920h1007contain.jpg) center / cover no-repeat;
  content: "";
  inset: 0;
  mix-blend-mode: multiply;
  opacity: 0.5;
  position: absolute;
  z-index: -1;
}
