/* ==========================================================================
   Thornwood Building Services — site-style.css
   Loads AFTER Six Ticks styles.css and Bootstrap 3.4.1 so it overrides.
   Custom classes/IDs are only placed on <section> wrappers or on elements
   inside .col-*-*. Grid classes (.container, .row, .col-*) are never
   modified in markup; when styled here they are always scoped under a
   section class (e.g. .services-grid .row).
   ========================================================================== */

/* -----------------------------------------------------------
   1. Design tokens
   ----------------------------------------------------------- */
:root {
  --tw-primary: #1f5468;
  --tw-primary-dark: #153845;
  --tw-primary-100: #e4edf0;
  --tw-accent: #c58a3a;
  --tw-accent-dark: #a2712a;
  --tw-bg: #f7f5f1;
  --tw-surface: #ffffff;
  --tw-text: #1a2530;
  --tw-muted: #5a6b75;
  --tw-border: #e4e1da;
  --tw-focus: #c58a3a;

  --tw-radius: 6px;
  --tw-radius-lg: 12px;
  --tw-shadow-sm: 0 1px 2px rgba(21, 56, 69, 0.06);
  --tw-shadow-md: 0 8px 24px rgba(21, 56, 69, 0.1);
  --tw-shadow-lg: 0 20px 40px rgba(21, 56, 69, 0.14);

  --tw-font-heading: "Fraunces", Georgia, "Times New Roman", serif;
  --tw-font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

/* -----------------------------------------------------------
   2. Base type & body
   ----------------------------------------------------------- */
html {
  font-size: 16px;
}
body {
  font-family: var(--tw-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--tw-text);
  background: var(--tw-bg);
  -webkit-font-smoothing: antialiased;
  /* Reset any padding/margin the CMS default stylesheet imposes above the header */
  margin: 0;
  padding: 0;
}
main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--tw-font-heading);
  color: var(--tw-primary-dark);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;
  margin-top: 0;
}
h1 {
  font-size: 40px;
  margin-bottom: 20px;
  letter-spacing: 0;
}
h2 {
  font-size: 37px;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: 0;
}
h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

p {
  font-size: 16px;
  margin: 0 0 16px;
}
p:last-child {
  margin-bottom: 0;
}
a {
  color: var(--tw-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover,
a:focus {
  color: var(--tw-accent-dark);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* -----------------------------------------------------------
   3. Global focus & accessibility
   ----------------------------------------------------------- */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
.btn:focus,
.btn:focus-visible {
  outline: 3px solid var(--tw-focus);
  outline-offset: 2px;
  box-shadow: none;
}
.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  background: var(--tw-primary-dark);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--tw-radius);
  z-index: 2000;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 12px;
  color: #fff;
  text-decoration: none;
}

/* -----------------------------------------------------------
   4. Buttons (Bootstrap 3 overrides)
   ----------------------------------------------------------- */
.btn {
  font-family: var(--tw-font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  padding: 15px 35px;
  margin-top: 15px;
  text-transform: none;
  vertical-align: middle;
  border-radius: 30px;
  border: 2px solid transparent;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}
html .btn-primary {
  background-color: var(--tw-accent);
  border-color: var(--tw-accent);
  color: #fff;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
html .btn-primary:hover,
html .btn-primary:focus {
  background-color: var(--tw-accent-dark);
  border-color: var(--tw-accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}
html .btn-primary:active {
  background-color: var(--tw-accent-dark);
  border-color: var(--tw-accent-dark);
  color: #fff;
  transform: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
html .btn-secondary {
  background-color: transparent;
  border-color: var(--tw-primary);
  color: var(--tw-primary);
  letter-spacing: 0.02em;
}
html .btn-secondary:hover,
html .btn-secondary:focus {
  background-color: var(--tw-primary);
  border-color: var(--tw-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}
html .btn-secondary:active {
  background-color: var(--tw-primary-dark);
  border-color: var(--tw-primary-dark);
  color: #fff;
  transform: none;
}
.btn:focus-visible {
  outline: 3px solid var(--tw-accent-dark);
  outline-offset: 2px;
}
.btn-ghost,
.btn-ghost:link,
.btn-ghost:visited {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff !important;
}
.btn-ghost:hover,
.btn-ghost:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  color: #fff !important;
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border-color: var(--tw-primary);
  color: var(--tw-primary);
}
.btn-outline:hover,
.btn-outline:focus {
  background: var(--tw-primary);
  color: #fff;
}
/* Dark teal panels: keep the ghost/secondary button readable */
.hero-banner .btn-secondary,
.cta-band .btn-secondary,
.value-props .btn-secondary {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}
.hero-banner .btn-secondary:hover,
.cta-band .btn-secondary:hover,
.hero-banner .btn-secondary:focus,
.cta-band .btn-secondary:focus,
.value-props .btn-secondary:hover,
.value-props .btn-secondary:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  color: #fff;
}

/* -----------------------------------------------------------
   5. Header / navigation
   ----------------------------------------------------------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--tw-border);
  position: relative;
  z-index: 20;
}
.site-header .navbar {
  margin-bottom: 0;
  border: 0;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  min-height: 100px;
}
.site-header .navbar-brand {
  height: auto;
  padding: 14px 15px;
}
.site-header .brand-logo {
  height: 75px;
  width: auto;
  display: block;
}
.site-header .navbar-nav > li {
  margin-left: 24px;
}
.site-header .navbar-nav > li > a {
  font-family: var(--tw-font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--tw-text);
  padding: 14px 0px;
  line-height: 1;
}
.site-header .navbar-nav > li > a:hover,
.site-header .navbar-nav > li > a:focus,
.site-header .navbar-nav > li.active > a {
  color: var(--tw-primary);
  background: transparent;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > li > a:active,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li > a:hover {
  border-color: var(--tw-primary);
}

.site-header .nav-cta .btn {
  padding: 15px 22px;
  border-radius: 30px;
  margin: 0 !important;
  line-height: 1;
}
/* Override CMS default .btn-primary (dark text) for the header CTA only */
.site-header .nav-cta .btn,
.site-header .nav-cta .btn:link,
.site-header .nav-cta .btn:visited {
  color: #fff !important;
  background-color: var(--tw-accent) !important;
  border-color: var(--tw-accent) !important;
}
.site-header .nav-cta .btn:hover,
.site-header .nav-cta .btn:focus,
.site-header .nav-cta .btn:active {
  color: #fff !important;
  background-color: var(--tw-accent-dark) !important;
  border-color: var(--tw-accent-dark) !important;
}
/* Desktop: flex-center every nav item (link or button) on a shared baseline */
@media (min-width: 992px) {
  .site-header .navbar-nav.navbar-right {
    display: flex;
    align-items: center;
    float: right;
    min-height: 96px;
  }
  .site-header .navbar-nav > li {
    float: none;
    display: flex;
    align-items: center;
  }
  .site-header .nav-cta {
    padding: 0 0 0 16px;
  }
}

.site-header .nav-disabled {
  color: var(--tw-text) !important;
  cursor: not-allowed;
  opacity: 1;
}
.site-header .nav-disabled:hover {
  text-decoration: none;
}
.site-header .navbar-toggle {
  margin-top: 24px;
  margin-bottom: 24px;
  border-color: var(--tw-border);
}
.site-header .navbar-toggle .icon-bar {
  background: var(--tw-primary-dark);
}

/* Force Bootstrap 3 navbar to collapse to hamburger at <=991px (tablet + mobile)
   instead of Bootstrap's default 767px. Prevents wrap onto a second row on tablet. */
@media (max-width: 991px) {
  .site-header .navbar-header {
    float: none;
  }
  .site-header .navbar-toggle {
    display: block;
  }
  .site-header .navbar-collapse {
    border-top: 1px solid var(--tw-border);
  }
  .site-header .navbar-collapse.collapse {
    display: none !important;
  }
  .site-header .navbar-collapse.collapse.in {
    display: block !important;
  }
  .site-header .navbar-nav {
    float: none !important;
    margin: 8px 0;
  }
  .site-header .navbar-nav > li {
    float: none;
  }
  .site-header .navbar-nav > li > a {
    padding: 12px 20px;
  }
  .site-header .navbar-right {
    margin-right: 0;
  }
  .site-header .nav-cta {
    padding: 12px 20px;
  }
  .site-header .nav-cta .btn {
    display: inline-block;
  }
}

/* -----------------------------------------------------------
   6. Section rhythm
   ----------------------------------------------------------- */
section {
  padding: 80px 0;
}
@media (max-width: 767px) {
  section {
    padding: 48px 0;
  }
}
.section-intro {
  max-width: 720px;
  margin: 0 auto 20px;
  text-align: center;
}
.section-eyebrow {
  display: inline-block;
  font-family: var(--tw-font-heading);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--tw-accent-dark);
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}
.section-intro p {
  color: var(--tw-muted);
  font-size: 17px;
}

/* -----------------------------------------------------------
   7. Hero banners
   ----------------------------------------------------------- */
.hero-banner {
  position: relative;
  padding: 0;
  background: linear-gradient(120deg, #153845 0%, #1f5468 62%, #17414f 100%);
  color: #fff;
  overflow: hidden;
}

.hero-banner .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin: 0;
}
.hero-banner .row > [class*="col-"] {
  padding: 0;
  display: flex;
}
.hero-content {
  padding: 96px 40px 96px 0;
  background: transparent;
  min-height: 560px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.hero-content h1 {
  color: #fff;
  font-size: 48px;
  line-height: 1.1;
}
.hero-content .hero-lede {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
  max-width: 520px;
}
.hero-actions .btn {
  margin-right: 12px;
  margin-bottom: 10px;
  vertical-align: middle;
}
.hero-media {
  position: relative;
  width: 100%;
  min-height: 560px;
  background-size: cover;
  background-position: center;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(21, 56, 69, 0.85) 0%, rgba(21, 56, 69, 0.25) 30%, rgba(21, 56, 69, 0) 60%);
}

/* Branded geometric hero panel (home) — logo mark instead of a photo */
.hero-mark {
  position: relative;
  width: 100%;
  min-height: 560px;
  overflow: hidden;
  background: transparent;
}
.hero-mark::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  padding-bottom: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 138, 58, 0.14) 0%, rgba(197, 138, 58, 0) 70%);
}
.hero-mark-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 78%;
  height: auto;
}



@media (max-width: 991px) {
  .hero-content {
    padding: 56px 24px;
    min-height: 0;
  }
  .hero-content h1 {
    font-size: 34px;
  }
  .hero-media {
    min-height: 260px;
  }
  /* Keep brandmark visible on mobile/tablet and centre it above the text */
  .hero-banner .row {
    flex-direction: column;
  }
  .hero-banner .hero-mark {
    display: block;
    min-height: 220px;
    order: -1;
  }
  .hero-banner .hero-media {
    display: none;
  }
}



/* Page hero (secondary pages) — the photograph sits on the <section> itself */
.page-hero {
  position: relative;
  padding: 0;
  color: #fff;
  background-color: var(--tw-primary-dark);
  background-image: var(--page-hero-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.page-hero-inner {
  padding: 96px 0 80px;
  background: linear-gradient(180deg, rgba(21, 56, 69, 0.75) 0%, rgba(21, 56, 69, 0.85) 100%);
}
.page-hero-inner h1 {
  color: #fff;
  font-size: 42px;
}
.page-hero-inner .section-eyebrow {
  color: var(--tw-accent);
}
.page-hero-inner .hero-lede {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  max-width: 640px;
}
.breadcrumb-trail {
  display: block;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
}
.breadcrumb-trail a {
  color: rgba(255, 255, 255, 0.85);
}
.breadcrumb-trail a:hover {
  color: #fff;
}
.breadcrumb-trail a {
  text-decoration: none;
  border-bottom: 0;
}
.breadcrumb-trail a:hover,
.breadcrumb-trail a:focus {
  text-decoration: underline;
  border-bottom: 0;
}

/* -----------------------------------------------------------
   8. Trust strip
   ----------------------------------------------------------- */
.trust-strip {
  padding: 40px 0;
  background: #fff;
  border-bottom: 1px solid var(--tw-border);
}
.trust-strip .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.trust-label {
  font-family: var(--tw-font-heading);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--tw-muted);
  font-weight: 700;
  display: block;
}
/* Show the "Trusted by" label on tablet+mobile too by promoting its column to full-width */
@media (max-width: 991px) {
  .trust-strip .row > .col-md-2:first-child {
    display: block !important;
    width: 100%;
    text-align: center;
    margin-bottom: 16px;
  }
  .trust-strip .trust-label {
    text-align: center;
  }
}
.trust-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  background: var(--tw-primary-100);
  border-radius: var(--tw-radius);
  color: var(--tw-primary);
  font-family: var(--tw-font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-align: center;
  padding: 8px;
}

/* -----------------------------------------------------------
   9. Card patterns (services, sectors, articles, related)
   ----------------------------------------------------------- */
.services-grid,
.related-services,
.related-sectors,
.insights-preview,
.article-grid,
.audience-grid,
.needs-grid,
.sector-tiles,
.value-props {
  background: var(--tw-bg);
}
/* Reusable equal-height helper: add `equal-cards` to any <section> so every
   card in a row stretches to the tallest card in that row. The helper only
   makes the grid a flex container — the height comes from the card classes. */
.equal-cards .container > .row,
.equal-cards .container-fluid > .row {
  display: flex;
  flex-wrap: wrap;
}
.equal-cards .container > .row > [class*="col-"],
.equal-cards .container-fluid > .row > [class*="col-"] {
  display: flex;
  margin-bottom: 24px;
}
/* Single-column rows (section intros, CTA rows) keep their own spacing */
.equal-cards .container > .row > [class*="col-"]:only-child,
.equal-cards .container-fluid > .row > [class*="col-"]:only-child {
  margin-bottom: 0;
}

/* Shared white card base. Add `card-panel` to any card element, then a
   modifier class (service-card, sector-tile, value-card, ...) for the bits
   that actually differ. */
.card-panel {
  background: #fff;
  border: 1px solid var(--tw-border);
  border-radius: var(--tw-radius-lg);
  padding: 28px;
  width: 100%;
  height: 100%;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
  display: flex;
  flex-direction: column;
}
.card-panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--tw-shadow-md);
  border-color: var(--tw-accent);
}
.card-icon {
  width: 76px;
  height: 76px;
  min-width: 76px;
  border-radius: 20px;
  background: var(--tw-primary-100);
  color: var(--tw-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 16px;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}
.card-panel:hover .card-icon {
  background: var(--tw-accent);
  color: #fff;
}

.card-title {
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 10px;
}
.card-body {
  color: var(--tw-muted);
  font-size: 16px;
  margin-bottom: 18px;
  flex: 1;
}
.card-link {
  font-family: var(--tw-font-heading);
  font-weight: 600;
  color: var(--tw-primary);
  align-self: flex-start;
}
.card-link:hover {
  color: var(--tw-accent-dark);
  text-decoration: none;
}
.card-link .fa,
.card-link .fas {
  margin-left: 6px;
  font-size: 13px;
}
.card-title-link,
.card-title-link:focus,
.card-title-link:visited {
  color: inherit;
  text-decoration: none;
}
.card-title-link:hover {
  color: var(--tw-accent-dark);
  text-decoration: none;
}

/* Service card with photo header */
.service-card {
  padding: 0;
  overflow: hidden;
}
.service-card-media {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%; /* 16:9 — reserves space, no layout shift */
  background-color: var(--tw-primary-100);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.service-card-media:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background: linear-gradient(180deg, rgba(20, 54, 66, 0) 0%, rgba(20, 54, 66, 0.45) 100%);
}
.service-card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card-body .card-title {
  color: var(--tw-primary-dark);
}

/* Sector tile with image */
.sector-tile {
  padding: 0;
  overflow: hidden;
}

.sector-tile-media {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--tw-primary-100);
}
.sector-tile-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.sector-tile-body .card-title {
  color: var(--tw-primary-dark);
}

/* Article card */
.article-card {
  padding: 0;
  overflow: hidden;
}
.article-card-media {
  height: 200px;
  background: var(--tw-primary-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tw-primary);
  font-size: 40px;
  background-size: cover;
  background-position: center;
}
.article-card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-meta {
  font-family: var(--tw-font-heading);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--tw-accent-dark);
  margin-bottom: 8px;
}

/* -----------------------------------------------------------
   10. Process steps
   ----------------------------------------------------------- */
.process-steps {
  background: linear-gradient(180deg, #f4f8f9 0%, #edf3f5 100%);
}
.process-steps .container > .row:nth-of-type(2) {
  display: flex;
  flex-wrap: wrap;
  position: relative;
}
.process-steps .container > .row:nth-of-type(2) > [class*="col-"] {
  margin-bottom: 24px;
  display: flex;
}
.step-item {
  text-align: center;
  padding: 30px 16px 26px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  min-width: 90px;
  border-radius: 50%;
  background: var(--tw-primary);
  color: #fff;
  font-size: 34px;
  margin-bottom: 18px;
  position: relative;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}
.step-item:hover .step-icon {
  background: var(--tw-accent);
}
.step-number {
  position: absolute;
  top: -4px;
  right: -6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--tw-accent);
  color: #fff;
  font-family: var(--tw-font-heading);
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}
.step-item:hover .step-number {
  background: var(--tw-primary-dark);
}
.step-title {
  font-size: 20px;
  margin-bottom: 8px;
}
.step-body {
  font-size: 16px;
  color: var(--tw-muted);
  margin-bottom: 0;
}
.process-cta {
  text-align: center;
  margin-top: 12px;
}
/* Desktop: five equal step columns + connector line behind the cards */
@media (min-width: 992px) {
  .process-steps .container > .row:nth-of-type(2) > [class*="col-"] {
    width: 20%;
  }
  .process-steps .container > .row:nth-of-type(2):before {
    content: "";
    display: block;
    position: absolute;
    left: 10%;
    right: 10%;
    top: 76px;
    border-top: 2px dashed rgba(31, 84, 104, 0.35);
    z-index: 0;
  }
}
@media (max-width: 767px) {
  .step-icon {
    width: 72px;
    height: 72px;
    min-width: 72px;
    font-size: 28px;
  }
  .card-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    font-size: 26px;
  }
}

/* -----------------------------------------------------------
   11. Value props (counters)
   ----------------------------------------------------------- */
.value-props {
  background: var(--tw-primary-dark);
  color: #fff;
}
.value-props h2 {
  color: #fff;
}
.value-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.value-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}
.value-number {
  font-family: var(--tw-font-heading);
  font-size: 44px;
  font-weight: 700;
  color: var(--tw-accent);
  line-height: 1;
  margin-bottom: 8px;
}
.value-card .card-title {
  color: #fff;
}
.value-card .card-body {
  color: rgba(255, 255, 255, 0.75);
}

/* -----------------------------------------------------------
   12. Help rows (alternating image/text)
   ----------------------------------------------------------- */
.help-rows {
  background: #fff;
}
.help-rows .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 56px;
}
.help-rows .row:last-child {
  margin-bottom: 0;
}
.help-media {
  height: 320px;
  background: var(--tw-primary-100);
  border-radius: var(--tw-radius-lg);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tw-primary);
  font-size: 48px;
}
.help-copy {
  padding: 24px 12px;
}
.help-copy h3 {
  font-size: 26px;
}
.help-copy .checklist {
  margin-top: 16px;
}

/* -----------------------------------------------------------
   13. Checklist
   ----------------------------------------------------------- */
.included-checklist {
  background: var(--tw-bg);
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist li {
  position: relative;
  padding: 10px 0 10px 32px;
  font-size: 16px;
  border-bottom: 1px dashed var(--tw-border);
}
.checklist li:last-child {
  border-bottom: 0;
}
.checklist li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--tw-accent-dark);
}

/* -----------------------------------------------------------
   14. Section "why"
   ----------------------------------------------------------- */
.section-why {
  background: #fff;
}
.section-why .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.why-media {
  height: 380px;
  border-radius: var(--tw-radius-lg);
  background: var(--tw-primary-100);
  background-size: cover;
  background-position: center;
}
.why-copy {
  padding: 24px;
}

/* -----------------------------------------------------------
   15. Testimonials (shared reusable block)
   ----------------------------------------------------------- */
.testimonials {
  background: #fff;
}
/* height matching comes from the shared `equal-cards` class on the section */

.testimonial-card {
  position: relative;
  overflow: hidden;
  padding-left: 34px;
}
/* Brass accent edge down the left of the quote */
.testimonial-card:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--tw-accent);
}
/* Large quote glyph sits as a watermark in the top-right corner */
.testimonial-quote-mark {
  position: absolute;
  top: 14px;
  right: 22px;
  color: var(--tw-accent);
  opacity: 0.12;
  font-size: 84px;
  line-height: 1;
  margin: 0;
  pointer-events: none;
}
.testimonial-quote {
  font-family: var(--tw-font-heading);
  font-size: 19px;
  line-height: 1.6;
  color: var(--tw-primary-dark);
  margin-bottom: 22px;
  flex: 1;
  position: relative;
  z-index: 1;
}
.testimonial-attribution {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--tw-border);
}
/* Bootstrap 3 adds an em dash before blockquote footers — remove it */
.testimonial-attribution:before {
  content: none;
}
.testimonial-name {
  font-family: var(--tw-font-heading);
  font-weight: 700;
  color: var(--tw-primary-dark);
  font-size: 16px;
  display: block;
  margin-bottom: 2px;
}
.testimonial-role {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--tw-muted);
}

/* -----------------------------------------------------------
   16. Sector tiles (home + sectors index)
   ----------------------------------------------------------- */
.sector-tiles {
  background: var(--tw-bg);
}

/* -----------------------------------------------------------
   17. CTA band (shared)
   ----------------------------------------------------------- */
.cta-band {
  background: linear-gradient(120deg, var(--tw-primary) 0%, var(--tw-primary-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 0;
  overflow: hidden;
}
.cta-band .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin: 0;
}
.cta-band .row > [class*="col-"] {
  padding: 0;
  display: flex;
}
.cta-content {
  width: 100%;
  padding: 80px 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cta-band h2 {
  color: #fff;
  font-size: 34px;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  max-width: 640px;
  margin: 0 auto 28px;
}
.cta-band .btn {
  margin: 0 6px 10px;
}
.cta-media {
  position: relative;
  width: 100%;
  min-height: 420px;
  background-size: cover;
  background-position: center;
}
.cta-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(21, 56, 69, 0.85) 0%, rgba(21, 56, 69, 0.25) 30%, rgba(21, 56, 69, 0) 60%);
}
@media (max-width: 991px) {
  .cta-content {
    padding: 56px 24px;
  }
  .cta-band .cta-media {
    display: none;
  }
}

/* -----------------------------------------------------------
   17b. Map band (contact)
   ----------------------------------------------------------- */
.map-band {
  padding: 0;
}
.map-frame {
  position: relative;
  width: 100%;
  height: 450px;
  line-height: 0;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 767px) {
  .map-frame {
    height: 320px;
  }
}

/* -----------------------------------------------------------
   18. Insights — post list + sidebar + newsletter
   ----------------------------------------------------------- */
.blog-layout {
  background: #fff;
}

.post-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.post-entry {
  margin-bottom: 56px;
}
.post-entry:last-child {
  margin-bottom: 0;
}
.post-entry-media {
  display: block;
  height: 380px;
  margin-bottom: 22px;
  border-radius: var(--tw-radius-lg);
  background: var(--tw-primary-100);
  background-size: cover;
  background-position: center;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.post-entry:hover .post-entry-media {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -18px rgba(20, 60, 74, 0.45);
}
.post-entry-title {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.25;
}
.post-entry-date {
  display: block;
  font-size: 16px;
  color: var(--tw-muted);
  margin-bottom: 14px;
}
.post-entry-date i {
  color: var(--tw-accent);
  margin-right: 8px;
}
.post-entry-excerpt {
  margin: 0 0 22px;
  max-width: 720px;
}

/* Sidebar widgets */
.sidebar-widget {
  margin-bottom: 40px;
}
.sidebar-widget:last-child {
  margin-bottom: 0;
}
.sidebar-title {
  margin: 0 0 18px;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tw-primary-dark);
}
.recent-post {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--tw-border);
}
.recent-post:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.recent-post-thumb {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: var(--tw-radius);
  background: var(--tw-primary-100);
  background-size: cover;
  background-position: center;
}
.recent-post-body {
  min-width: 0;
}
.recent-post-date {
  display: block;
  font-size: 15px;
  color: var(--tw-muted);
  margin-bottom: 4px;
}
.recent-post-date i {
  color: var(--tw-accent);
  margin-right: 6px;
}
.recent-post-link {
  font-family: var(--tw-font-heading);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.35;
  color: var(--tw-primary-dark);
}
.recent-post-link:hover,
.recent-post-link:focus {
  color: var(--tw-accent);
  text-decoration: none;
}

.sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar-list li {
  margin-bottom: 10px;
}
.sidebar-list li:last-child {
  margin-bottom: 0;
}
.sidebar-list a {
  display: block;
  padding: 12px 16px;
  border: 1px solid var(--tw-primary);
  border-radius: var(--tw-radius);
  background: #fff;
  color: var(--tw-primary-dark);
  font-size: 16px;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}
.sidebar-list a:hover,
.sidebar-list a:focus {
  background: var(--tw-primary);
  color: #fff;
  border-color: var(--tw-primary);
  text-decoration: none;
}

@media (max-width: 991px) {
  .blog-sidebar {
    margin-top: 48px;
  }
  .post-entry-media {
    height: 260px;
  }
  .post-entry-title {
    font-size: 26px;
  }
}

.pagination-wrap {
  background: var(--tw-bg);
  padding-top: 24px;
  padding-bottom: 24px;
  text-align: center;
}
.pagination-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 6px;
}
.pagination-list a,
.pagination-list span {
  display: inline-block;
  min-width: 40px;
  padding: 8px 12px;
  border: 1px solid var(--tw-border);
  border-radius: var(--tw-radius);
  background: #fff;
  font-family: var(--tw-font-heading);
  font-weight: 600;
  color: var(--tw-primary-dark);
}
.pagination-list a:hover,
.pagination-list .active span {
  background: var(--tw-primary);
  color: #fff;
  border-color: var(--tw-primary);
  text-decoration: none;
}

.newsletter-band {
  background: var(--tw-primary-dark);
  color: #fff;
}
.newsletter-band h2 {
  color: #fff;
}
.newsletter-band p {
  color: rgba(255, 255, 255, 0.85);
}
.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.newsletter-form .form-control {
  flex: 1;
  min-width: 240px;
  height: 48px;
  font-size: 16px;
  border-radius: var(--tw-radius);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.newsletter-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* -----------------------------------------------------------
   19. Case study placeholder
   ----------------------------------------------------------- */
.case-study {
  background: #fff;
}
.case-study .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.case-study-media {
  height: 360px;
  border-radius: var(--tw-radius-lg);
  background: repeating-linear-gradient(45deg, var(--tw-primary-100), var(--tw-primary-100) 12px, #fff 12px, #fff 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tw-primary);
  font-family: var(--tw-font-heading);
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  padding: 24px;
}
.case-study-body {
  padding: 24px;
}
.placeholder-tag {
  display: inline-block;
  background: var(--tw-accent);
  color: #fff;
  font-family: var(--tw-font-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* -----------------------------------------------------------
   20. Tailoring section
   ----------------------------------------------------------- */
.tailoring {
  background: #fff;
}
.tailoring-item {
  text-align: left;
}
.tailoring-item .card-icon {
  background: var(--tw-primary);
  color: #fff;
}

/* -----------------------------------------------------------
   21. Footer
   ----------------------------------------------------------- */
.site-footer {
  background: #12242c;
  color: rgba(255, 255, 255, 0.78);
  padding: 64px 0 0;
  font-size: 15px;
}
.site-footer .row > [class*="col-"] {
  margin-bottom: 32px;
}
.site-footer h4 {
  color: #fff;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer ul li {
  margin-bottom: 10px;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}
.site-footer a:hover,
.site-footer a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-brand {
  max-width: 260px;
}
.footer-logo {
  height: 120px;
  width: auto;
  display: block;
  margin-bottom: 15px;
}
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 32px;
  padding: 20px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}
.footer-legal p {
  margin-bottom: 0;
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.75);
  margin-left: 0;
}
.footer-legal a + a::before,
.footer-legal a + span::before {
  content: " | ";
  color: rgba(255, 255, 255, 0.6);
}
.social-icons {
  margin-top: 14px;
}
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  margin-right: 8px;
}
.social-icons a:hover {
  background: var(--tw-primary);
  text-decoration: none;
}

/* -----------------------------------------------------------
   22. Utility helpers (small, targeted)
   ----------------------------------------------------------- */
.text-muted-tw {
  color: var(--tw-muted);
}
.eyebrow-light {
  color: rgba(255, 255, 255, 0.7);
}
.mt-tw-lg {
  margin-top: 32px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* -----------------------------------------------------------
   23. Services / sectors grid — center the trailing row when 5 tiles
   Use flex on the tile row so a partial trailing row centers.
   ----------------------------------------------------------- */
@media (min-width: 768px) {
  .sector-tiles .row + .row,
  .related-services .row + .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .sector-tiles .row + .row > [class*="col-"],
  .related-services .row + .row > [class*="col-"] {
    float: none;
  }
}

/* -----------------------------------------------------------
   24. Body offset for fixed-top navbar (100px bar height)
   The navbar is navbar-fixed-top, so content must clear it.
   ----------------------------------------------------------- */
body {
  padding-top: 100px !important;
}

/* -----------------------------------------------------------
   25. Type roles — Fraunces is reserved for real headings.
   Uppercase labels, badges, nav links and UI chrome stay Inter.
   ----------------------------------------------------------- */
.site-header .navbar-nav > li > a,
.section-eyebrow,
.breadcrumb-trail,
.trust-label,
.trust-logo,
.article-meta,
.step-number,
.placeholder-tag,
.site-footer h4 {
  font-family: var(--tw-font-body);
}

/* -----------------------------------------------------------
   26. Cross-page polish — shared surface rhythm, gradient panels,
   hover behaviour and form alignment used on every page.
   ----------------------------------------------------------- */

/* Surface utilities so adjacent sections never share a background */
.bg-white {
  background: #fff;
}
.bg-tint {
  background: var(--tw-bg);
}
.bg-panel {
  background: linear-gradient(180deg, #f4f8f9 0%, #edf3f5 100%);
}

/* Testimonials sit on the tinted surface with white cards */
.testimonials {
  background: var(--tw-bg);
}

.pagination-wrap {
  background: #fff;
}

/* Hover behaviour parity with the homepage cards */
.case-study-media {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease;
}

/* Reserve image space so grids line up and nothing shifts on load */
.sector-tile-media,
.article-card-media {
  flex: 0 0 auto;
  height: 200px;
}

/* Newsletter: field and button on one baseline */
.newsletter-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: stretch;
}
.newsletter-form .form-control {
  height: 52px;
  margin: 0;
}
.newsletter-form .btn {
  height: 52px;
  margin: 0;
  padding-left: 35px;
  padding-right: 35px;
  padding-top: 0;
  padding-bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 767px) {
  .newsletter-form .form-control,
  .newsletter-form .btn {
    width: 100%;
    flex: 1 0 100%;
  }
}

/* Two testimonials per row so the grid always fills the width */
@media (min-width: 768px) {
  .testimonials .container > .row:nth-of-type(2) > [class*="col-"] {
    width: 50%;
  }
}

/* -----------------------------------------------------------
   27. About band (homepage)
   ----------------------------------------------------------- */
.about-band {
  background: #fff;
}
.about-copy {
  max-width: 560px;
}
.about-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.about-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--tw-text);
}
.about-list li:before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--tw-accent-dark);
  font-size: 14px;
}
.about-media {
  min-height: 420px;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: var(--tw-radius-lg);
  background-color: var(--tw-primary-100);
}
@media (max-width: 991px) {
  .about-media {
    min-height: 300px;
    margin-top: 28px;
  }
}

/* -----------------------------------------------------------
   28. Contact page
   ----------------------------------------------------------- */
.contact-intro {
  background: var(--tw-primary-50, #f4f8f9);
  padding-top: 72px;
  padding-bottom: 56px;
}
.contact-intro h1 {
  margin-top: 8px;
}
.contact-band {
  background: #fff;
  padding-top: 56px;
  padding-bottom: 80px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--tw-border);
  border-radius: var(--tw-radius-lg);
  box-shadow: var(--tw-shadow-sm, 0 2px 10px rgba(16, 42, 52, 0.06));
  padding: 36px;
}
.contact-card .form-group {
  margin-bottom: 20px;
}
.contact-card label {
  font-size: 16px;
  font-weight: 600;
  color: var(--tw-text);
  margin-bottom: 8px;
}
.contact-card .req {
  color: var(--tw-accent-dark);
}
.contact-card .form-control {
  height: 50px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid var(--tw-border);
  box-shadow: none;
  padding: 10px 14px;
  color: var(--tw-text);
}
.contact-card select.form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231a2530' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.contact-card textarea.form-control {
  height: auto;
}
.contact-card .form-control:focus {
  border-color: var(--tw-primary);
  box-shadow: 0 0 0 3px rgba(31, 84, 104, 0.12);
}
.contact-card .help-block {
  font-size: 14px;
  color: var(--tw-muted);
  margin-top: -4px;
  margin-bottom: 10px;
}
.contact-check label {
  font-weight: 400;
}
.contact-check input {
  margin-right: 8px;
}
.contact-info {
  background: var(--tw-primary-50, #f4f8f9);
  border: 1px solid var(--tw-border);
  border-radius: var(--tw-radius-lg);
  padding: 32px;
}
.contact-info p {
  font-size: 16px;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.contact-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 18px;
  font-size: 16px;
  color: var(--tw-text);
}
.contact-list li i {
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--tw-accent-dark);
}
.contact-list address {
  margin: 0;
  font-style: normal;
  font-size: 16px;
}
.contact-social {
  border-top: 1px solid var(--tw-border);
  padding-top: 20px;
  margin-top: 8px;
}
.contact-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tw-primary);
  color: #fff;
}
.contact-social a:hover,
.contact-social a:focus {
  background: var(--tw-accent-dark);
  color: #fff;
}
@media (max-width: 991px) {
  .contact-info {
    margin-top: 28px;
  }
  .contact-card {
    padding: 24px;
  }
}

/* ==========================================================================
   Scroll reveal helpers (wow.js + animate.style)
   Drop `wow` plus one anim-* class on any section, row, column or card.
   e.g. <section class="services-grid wow anim-up">
   ========================================================================== */
:root {
  --anim-duration: 0.8s;
}
.wow[class*="anim-"] {
  animation-duration: var(--anim-duration);
  animation-fill-mode: both;
}
.animate__animated.anim-up {
  animation-name: fadeInUp;
}
.animate__animated.anim-left {
  animation-name: fadeInLeft;
}
.animate__animated.anim-right {
  animation-name: fadeInRight;
}
.animate__animated.anim-in {
  animation-name: fadeIn;
}
.animate__animated.anim-zoom {
  animation-name: zoomIn;
}
.anim-delay-1 {
  animation-delay: 0.15s;
}
.anim-delay-2 {
  animation-delay: 0.3s;
}
.anim-delay-3 {
  animation-delay: 0.45s;
}
@media (prefers-reduced-motion: reduce) {
  .wow[class*="anim-"],
  .animate__animated {
    animation: none !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}
