/* =====================================================================
   BRABNERS HOMEPAGE — STYLES.CSS
   Brand: navy + copper + cream. Single-file CSS for simplicity.
   ===================================================================== */

/* ---------- FONTS ---------- */
@font-face {
  font-family: "Akkurat";
  src: url("../assets/fonts/Akkurat-s.p.206566a5.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Akkurat";
  src: url("../assets/fonts/Akkurat_Bold-s.p.53c5a1e0.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ITCCaslon";
  src: url("../assets/fonts/Caslon224Std_Black-s.p.bc8d114e.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- TOKENS ---------- */
:root {
  --c-navy: #181b25;
  --c-navy-300: #2d3142;
  --c-navy-250: #252935;
  --c-navy-200: #3b4054;
  --c-blue: #1e3a5f;
  --c-blue-300: #4a6890;
  /* Brabners brand blue used on top strip, newsreel, who-we-are, testimonials, MPW */
  --c-brabners-blue: #175677;

  --c-copper-300: #dc8c5c;
  --c-copper-400: #efa579;  /* CTA bg — light peach (original computed: rgb(239,165,121)) */
  /* AA-compliant copper tokens (≥4.5:1 vs white & cream).
     copper-500 was #b8784d (3.6:1) — failed AA on buttons.
     copper-600 was #a06847 (4.41:1 on cream) — borderline. */
  --c-copper-500: #9a5e3f; /* 5.19:1 vs white, 4.97:1 vs cream */
  --c-copper-600: #9a5e3f; /* unified for body text + buttons */

  --c-cream: #fbf9f8;
  --c-mushroom: #e8ddcb;
  --c-stone-pink: #f8dbdb;
  --c-grey: #6b6f7a;
  --c-grey-light: #767676;

  --c-black: #2b2b2b;    /* brabners-black from original computed: rgb(43,43,43) */
  --c-black-600: #4a4a4a;
  --c-white: #ffffff;

  --font-body: "Akkurat", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: "ITCCaslon", "Playfair Display", Georgia, "Times New Roman", serif;

  --container-max: 75rem;       /* 1200px (matches original) */
  --container-wide: 100rem;     /* 1600px */
  --container-narrow: 48rem;    /* 768px */
  --container-half: 40rem;      /* 640px */
  --safety: 1.5rem;             /* horizontal padding */
  --topstrip-height: 40px;      /* desktop topstrip rendered height — used by absolute header offset */
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-black);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- GLOBAL FOCUS INDICATOR (WCAG 2.4.7 + 1.4.11) ---------- */
:focus { outline: none; } /* suppress UA default; replaced below */
:focus-visible {
  outline: 3px solid var(--c-copper-600);
  outline-offset: 2px;
  border-radius: 2px;
}
/* On dark surfaces (hero/header/footer-bottom/topstrip/talk-to-us banner) */
.hero :focus-visible,
.header :focus-visible,
.topstrip :focus-visible,
.section--navy :focus-visible,
.footer-bottom :focus-visible,
.talk-banner :focus-visible {
  outline-color: #fff;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--c-white);
  color: var(--c-copper-600);
  font-weight: 700;
  z-index: 100;
  transform: translateY(calc(-100% - 0.75rem));
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- TYPOGRAPHY ---------- */
.heading {
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--c-copper-600);
}
.text-cream { color: var(--c-cream); }
.text-white { color: var(--c-white); }
.text-copper { color: var(--c-copper-600); }
.text-copper-300 { color: var(--c-copper-300); }
.text-grey { color: var(--c-grey); }

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--safety);
}
.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--safety);
}
.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--safety);
}
.section { padding-block: 3rem; }
@media (min-width: 768px) {
  .section { padding-block: 4.5rem; }
  :root { --safety: 2rem; }
}
@media (min-width: 1408px) {
  .container { padding-inline: 0; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px 10px;
  background: var(--c-copper-400);
  color: var(--c-black);
  font-weight: 700;
  font-size: 14px;
  line-height: 14px;
  text-decoration: none;
  border-radius: 9999px;
  transition: background-color 0.2s ease;
}
.btn:hover { background-color: var(--c-copper-500); color: var(--c-black); }
.btn:focus-visible { outline: 2px solid var(--c-white); outline-offset: 2px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn--sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.btn--ghost {
  background: transparent;
  border: 2px solid var(--c-white);
  color: var(--c-white);
}
.btn--ghost:hover { background: var(--c-white); color: var(--c-navy); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: var(--c-copper-600);
  gap: 0.75rem;
}
.link-arrow svg {
  flex-shrink: 0;
  width: 28px;
  height: 14px;
  transition: transform 0.3s ease;
}
.link-arrow:hover svg, .group:hover .link-arrow svg { transform: translateX(4px); }
.on-dark { color: var(--c-white); }

/* ---------- TOP STRIP ---------- */
.topstrip {
  background: var(--c-brabners-blue);
  color: var(--c-white);
  text-align: center;
  font-size: 0.75rem;
  padding: 0.625rem;
}
.topstrip a { text-decoration: none; }
.topstrip a:hover { text-decoration: underline; }

/* ---------- HEADER ---------- */
.header {
  position: relative;
  z-index: 40;
  background: var(--c-navy);
  color: var(--c-white);
}
@media (min-width: 1024px) {
  /* On desktop the header overlays the hero so the dark band runs uninterrupted. */
  .header {
    position: absolute;
    top: var(--topstrip-height, 32px);
    left: 0;
    right: 0;
    background: transparent;
  }
  /* Push main content downward to compensate for the absolute-positioned header. */
  main { padding-top: 0; }
  .hero { padding-top: 0; }
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 70px;
}
.header__logo { color: var(--c-copper-300); padding-block: 0.4rem; }
.header__logo svg { height: 22px; width: auto; }
.header__nav { display: none; }
@media (min-width: 1024px) {
  .header__nav { display: flex; align-items: baseline; }
}
.nav-list { display: flex; gap: 0; align-items: center; }
.nav-item { position: relative; }
.nav-item[data-dropdown] { position: static; }
.nav-item > a,
.nav-item > button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 76px;
  padding: 16px;
  font-size: 16px;
  font-weight: 400;
  color: var(--c-white);
  background: transparent;
  border: 0;
  border-top: 4px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.nav-item > a:hover,
.nav-item > button:hover {
  border-top-color: var(--c-cream);
}
.nav-item > button[aria-expanded="true"] {
  background: var(--c-cream);
  color: var(--c-black);
}

.caret {
  display: block;
  width: 10px;
  height: 10px;
  color: var(--c-copper-300);
  transition: transform 0.2s ease;
}
.nav-item > button[aria-expanded="true"] .caret {
  color: var(--c-copper-600);
  transform: rotate(180deg);
}

/* .nav-cta removed — desktop CTAs now use .btn directly.
   Override .nav-item > a specificity (0-2-1) with higher-specificity rule. */
.nav-list .nav-item > .btn {
  margin-left: 0.5rem;
  flex-direction: row;
  padding: 8px 16px 10px;
  min-height: auto;
  color: var(--c-black);
  background: var(--c-copper-400);
  font-size: 14px;
  font-weight: 700;
  line-height: 14px;
  border: none;
  gap: 0;
}

/* Megamenu */
.megamenu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100vw;
  background: var(--c-cream);
  color: var(--c-black);
  padding: 3.5rem 0;
  z-index: 50;
  display: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.nav-item.is-open .megamenu { display: block; }

/* Megamenu heading link */
.megamenu__heading {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  color: var(--c-copper-600);
  margin-bottom: 1.25rem;
  display: block;
  text-decoration: none;
}
.megamenu__heading:hover { text-decoration: underline; }

/* Megamenu list base */
.megamenu__list { list-style: none; padding: 0; margin: 0; }
.megamenu__list--2col { columns: 2; column-gap: 1.75rem; column-width: 12rem; }
.megamenu__list--3col { columns: 3; column-gap: 1.75rem; column-width: 18.75rem; }
.megamenu__list li { break-inside: avoid; margin-bottom: 0.5rem; }
.megamenu__list a {
  color: var(--c-black);
  text-decoration: none;
  font-size: 16px;
}
.megamenu__list a:hover { color: var(--c-copper-600); text-decoration: underline; }

/* Services 2-col grid — ratio 920:520 ≈ 64%:36% from original 1440px layout */
.megamenu__grid {
  display: grid;
  grid-template-columns: 64fr 36fr;
  gap: 0;
  padding: 0 var(--safety);
}
.megamenu__col-left { padding-right: 3.5rem; }
.megamenu__col-right {
  position: relative;
  padding-left: 3.5rem;
  border-left: 1px solid rgba(0,0,0,0.1);
}

/* Simple single-heading megamenus (Sectors/About/Careers/True North) */
.megamenu__simple {
  padding: 0 var(--safety);
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Mobile burger */
.burger {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.75rem;
  color: var(--c-copper-300);
}
.burger span {
  display: block;
  width: 30px;
  height: 4px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.burger.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
@media (min-width: 1024px) { .burger { display: none; } }

.mobile-nav {
  display: none;
  background: var(--c-cream);
  color: var(--c-black);
}
.mobile-nav.is-open { display: block; }
.mobile-nav__item { border-bottom: 1px solid rgba(0,0,0,0.05); }
.mobile-nav__item > a,
.mobile-nav__item > button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.875rem var(--safety);
  font-size: 1rem;
  background: transparent;
}
.mobile-nav__item .caret { float: right; margin-top: 6px; transition: transform 0.2s; }
.mobile-nav__item.is-open .caret { transform: rotate(180deg); }
.mobile-nav__sub { display: none; padding: 0.5rem 0 1rem; background: var(--c-mushroom); }
.mobile-nav__item.is-open .mobile-nav__sub { display: block; }
.mobile-nav__sub li { padding: 0.4rem var(--safety); }
.mobile-nav__sub a { font-size: 0.95rem; }
.mobile-nav__sub h4 {
  padding: 0.75rem var(--safety) 0.5rem;
  font-size: 1.05rem;
  color: #7d4b32;
}
.mobile-nav .btn,
.mobile-nav__item .btn {
  color: var(--c-black);
  border: none;
  display: block;
  text-align: center;
  margin-bottom: 0.75rem;
}
.mobile-nav .btn:last-child,
.mobile-nav__item .btn:last-child { margin-bottom: 0; }
.mobile-nav .btn:hover,
.mobile-nav__item .btn:hover {
  background: #c47a50 !important;
  color: var(--c-black) !important;
}
.mobile-nav__cta { padding: 1rem var(--safety); }
@media (min-width: 1024px) {
  .burger, .mobile-nav { display: none !important; }
}

/* ---------- SEARCH BUTTON (desktop) ---------- */
.header__search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 0 1rem;
  min-height: 76px;
  color: var(--c-white);
  cursor: pointer;
  transition: color 0.2s ease;
}
.header__search:hover { color: var(--c-copper-300); }
.header__search:focus-visible {
  outline: 2px solid var(--c-white);
  outline-offset: 2px;
}
/* nav-item wrapper for search button — no column flex, no border-top */
.nav-item--search > .header__search {
  flex-direction: row;
  min-height: 76px;
  padding: 0 1rem;
  border-top: none;
  border: 0;
  color: var(--c-white);
  background: transparent;
}

/* ---------- SEARCH BUTTON (mobile) ---------- */
.mobile-nav__search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 0.75rem;
  color: var(--c-copper-300);
  cursor: pointer;
}
@media (min-width: 1024px) {
  .mobile-nav__search { display: none; }
}
/* Drawer top row — contains search icon inside the open drawer */
.mobile-nav__top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0.5rem var(--safety);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.mobile-nav__search--drawer {
  color: var(--c-navy);
}
@media (min-width: 1024px) {
  .mobile-nav__top { display: none; }
}

/* ---------- SEARCH OVERLAY ---------- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 5rem;
}
.search-overlay[hidden] { display: none; }
.search-overlay__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.search-overlay__card {
  position: relative;
  width: min(1024px, calc(100% - 3rem));
  max-height: 80vh;
  background: var(--c-white);
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  overflow: hidden;
}
.search-overlay__header {
  background: var(--c-mushroom);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: flex-end;
}
.search-overlay__close {
  background: transparent;
  border: 0;
  padding: 0.5rem;
  color: var(--c-black);
  cursor: pointer;
  border-radius: 9999px;
}
.search-overlay__close:hover { background: rgba(0,0,0,0.05); }
.search-overlay__close:focus-visible {
  outline: 2px solid var(--c-copper-600);
  outline-offset: 2px;
}
.search-overlay__form {
  padding: 1.5rem;
  display: flex;
  gap: 0.5rem;
  position: relative;
}
.search-overlay__input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid #767676;
  border-radius: 9999px;
  font-size: 1rem;
  outline: none;
  background: var(--c-white);
  color: var(--c-black);
}
.search-overlay__input:focus {
  border-color: var(--c-copper-400);
  box-shadow: 0 0 0 3px rgba(239,165,121,0.3);
}
.search-overlay__submit {
  background: transparent;
  border: 0;
  padding: 0 0.75rem;
  color: var(--c-copper-600);
  cursor: pointer;
}
.search-overlay__submit:focus-visible {
  outline: 2px solid var(--c-copper-600);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .search-overlay, .search-overlay * { transition: none !important; }
  .caret { transition: none !important; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 720px;
  padding: 6rem 1.5rem 10rem;
  background: radial-gradient(ellipse at center, #2a3040 0%, #181b25 70%);
  color: var(--c-white);
  overflow: hidden;
  text-align: center;
}
@media (max-width: 767px) { .hero { min-height: 600px; padding-bottom: 8rem; } }
@media (min-width: 768px) { .hero { min-height: 720px; } }
.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--safety);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
/* H1 wrapper holds verbatim wordmark SVG (viewBox 0 0 207.39 52.5, copper fills hardcoded) */
.hero__logo {
  display: block;
  width: 100%;
  max-width: 498px;
  margin: 0 auto 1.5rem;
}
.hero__logo svg {
  width: 100%;
  height: auto;
  display: block;
}
/* .hero__sub removed — text now embedded in wordmark SVG */
.hero__sub { display: none; }
.hero__tag {
  max-width: 36rem;
  color: var(--c-copper-300);
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  margin-top: 0;
}
@media (min-width: 1024px) {
  .hero__tag { font-size: 1.5rem; }
}
.hero__badges {
  position: absolute;
  left: 50%;
  bottom: 3rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .hero__badges {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    margin-top: 2rem;
    gap: 1.5rem;
    padding-inline: var(--safety);
  }
}
.hero__badges img { height: 56px; width: auto; object-fit: contain; }
@media (min-width: 768px) {
  .hero__badges img { height: 70px; }
}
/* Decorative concentric arcs — visible, fade-in animation */
/* F3: opacity-only fade; positioning done via top/right/left/bottom, no transform conflict */
/* F1: higher specificity via .fade-up combinator so 1200ms beats the generic 0.7s rule */
.hero__arc-tl, .hero__arc-br {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 1200ms ease-out 200ms;
}
.hero__arc-tl.is-visible, .hero__arc-br.is-visible {
  opacity: 1;
}
.hero__arc-tl.fade-up,
.hero__arc-br.fade-up {
  transform: none;
  transition: opacity 1200ms ease-out 200ms;
}
.hero__arc-tl { top: 0; left: 0; max-width: 30rem; }
.hero__arc-br { bottom: 0; right: 0; max-width: 55rem; transform: translate(10%, 12%); }
.hero__arc-br.is-visible { transform: translate(10%, 12%); }
.hero__arc-tl path, .hero__arc-br path {
  stroke: rgb(71, 80, 98);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
@media (prefers-reduced-motion: reduce) {
  .hero__arc-tl, .hero__arc-br {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero__arc-br {
    transform: translate(10%, 12%) !important;
  }
}

/* ---------- SERVICES & SECTORS (cards) ---------- */
.cards-grid {
  display: grid;
  gap: 3rem 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .cards-grid { grid-template-columns: repeat(3, 1fr); gap: 3.5rem 2rem; } }
@media (min-width: 1024px) { .cards-grid { grid-template-columns: repeat(4, 1fr); } }

.card { display: flex; flex-direction: column; }
.card__img-wrap {
  overflow: hidden;
  margin-bottom: 1.25rem;
  aspect-ratio: 1 / 1;
}
.card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.card:hover .card__img-wrap img { transform: scale(1.05); }
.card__title { font-size: 1.5rem; margin-bottom: 1.25rem; }
.card__desc { margin-bottom: 1.5rem; font-size: 0.875rem; line-height: 1.7; }
.card .link-arrow { margin-top: auto; }

.section--cream { background: var(--c-cream); color: var(--c-black); }
.section--cream .h-section,
.section--cream .its__content h2 { color: var(--c-copper-400); }
.section--navy {
  background:
    radial-gradient(circle at 20% 30%, rgba(45,49,66,0.55) 0%, transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(60,68,90,0.4) 0%, transparent 55%),
    var(--c-navy);
  color: var(--c-white);
}
.section--blue { background: var(--c-blue); color: var(--c-white); }
.section--brabners-blue { background: var(--c-brabners-blue); color: var(--c-white); }
.section--brabners-blue .h-section,
.section--brabners-blue .its__content h2 { color: var(--c-copper-300); }
.section--brabners-blue .its__content a,
.section--pink .its__content a {
  color: var(--c-copper-300);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.section--pink .its__content a { color: var(--c-copper-600); }
.section--pink { background: var(--c-stone-pink); color: var(--c-black); }
.section--pink h2 { color: var(--c-copper-600); }
.section h2.center, .section h3.center { text-align: center; }
.h-section {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.25rem, 3.4vw, 2.6875rem);
  line-height: 1.07;
  margin-bottom: 2.5rem;
}
.h-section.center { text-align: center; }
/* Center the section headings on dark backgrounds for mobile (matches original) */
@media (max-width: 767px) {
  .section--navy .h-section,
  .section--brabners-blue .h-section { text-align: center; }
}

/* ---------- ACCREDITATIONS CAROUSEL ---------- */
/* "Recognised by" heading: copper-600 (#9a5e3f) per original rgb(157,102,70) ≈ #9d6646 */
.section--cream.section--accreditations .h-section {
  color: var(--c-copper-600);
  font-size: clamp(1.75rem, 3vw, 2.6875rem);
}
.acc-carousel {
  --swiper-theme-color: var(--c-copper-600);
  --swiper-pagination-bullet-inactive-color: rgba(0,0,0,0.2);
  --swiper-pagination-color: var(--c-copper-600);
  padding-bottom: 1.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}
.acc-slide {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  min-width: 200px;
  min-height: 160px;
}
.acc-slide img { height: 140px; max-height: 140px; width: auto; max-width: 200px; object-fit: contain; }

/* ---------- NEWSREEL GRID (static 3-col, matches original) ---------- */
.newsreel {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.newsreel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  text-align: center;
  max-width: 80.5rem; /* 1288px — original max-w-heading-cards */
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 1024px) {
  .newsreel-grid {
    grid-template-columns: repeat(3, 328px);
    gap: 7rem; /* 112px — original gap-28 */
    justify-content: center;
    padding-inline: 2.5rem;
  }
}
.newsreel-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 28rem; /* ~448px */
  margin-inline: auto;
}
.newsreel-card__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.875rem; /* 30px */
  color: var(--c-copper-300);
  line-height: 1.1;
  margin: 0;
}
.newsreel-card__body {
  font-size: 0.875rem; /* 14px */
  color: var(--c-white);
  line-height: 1.55;
  margin: 0;
}
.newsreel-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--c-copper-300);
  text-decoration: none;
  font-weight: 700;
  margin-top: 0.25rem;
}
/* A11y note: copper-300 on navy bg = 3.02:1 — below AA 4.5:1 for normal text.
   Mitigated by font-weight:700. Pixel-parity with original takes priority per client instruction. */
.newsreel-card__link:hover { color: var(--c-copper-400); }
.newsreel-card__link:focus-visible {
  outline: 2px solid var(--c-white);
  outline-offset: 3px;
  border-radius: 2px;
}
.newsreel-arrow {
  display: inline-block;
  flex-shrink: 0;
  width: 28px;
  height: 14px;
  transition: transform 0.3s ease;
}
@media (prefers-reduced-motion: reduce) {
  .newsreel-arrow { transition: none; }
}
.newsreel-card__link:hover .newsreel-arrow { transform: translateX(4px); }

/* ---------- IMAGE-TEXT SPLIT ---------- */
.its {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .its { grid-template-columns: 1fr 1fr; gap: 5rem; }
}
.its__img img {
  width: 100%;
  aspect-ratio: 489 / 489;
  object-fit: cover;
}
.section--brabners-blue .its--reverse .its__img img { aspect-ratio: 488 / 506; }
.section--pink .its__img img { aspect-ratio: 489 / 612; }
.its--reverse .its__img { order: 2; }
@media (max-width: 767px) {
  .its--reverse .its__img { order: -1; }
}
.its__content h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.25rem, 3.4vw, 2.6875rem);
  line-height: 1.07;
  margin-bottom: 1rem;
}
.section--navy .its__content h2 { color: var(--c-copper-300); }
.section--blue .its__content h2 { color: var(--c-copper-300); }
.section--pink .its__content h2 { color: var(--c-copper-600); }
.its__content p {
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.75rem;
}
.its__content .btn { margin-top: 1.25rem; }

.rich-text p { margin-bottom: 1rem; }
.rich-text a { text-decoration: underline; }
.rich-text strong { font-weight: 700; }

/* ---------- INSIGHTS CAROUSEL ---------- */
.insights-carousel { --swiper-theme-color: var(--c-copper-600); }
.insight-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-bottom: 2rem;
}
.insight-card__img {
  overflow: hidden;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  aspect-ratio: 271 / 221;
}
.insight-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.insight-card:hover .insight-card__img img { transform: scale(1.05); }
.insight-card__date {
  font-size: 0.875rem;
  color: #909090;
  margin-bottom: 0.5rem;
}
.insight-card__title {
  font-size: 1.5rem;
  line-height: 2rem;
  font-family: var(--font-heading);
  margin-bottom: 0.8rem;
  color: var(--c-copper-600);
}
.insight-card__desc {
  color: var(--c-black-600);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-size: 0.95rem;
}
.insight-card .link-arrow { margin-top: auto; }

.carousel-controls {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 2rem;
}
.carousel-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-grey-light);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-copper-600);
  transition: background 0.2s, color 0.2s;
}
.carousel-btn:hover { background: var(--c-copper-600); color: var(--c-white); }
.carousel-btn--next { transform: rotate(180deg); }

/* Tight-padded section variant (used for video tour) */
.section--tight { padding-block: 2rem; }
@media (min-width: 768px) { .section--tight { padding-block: 3rem; } }

/* ---------- VIDEO TOUR CARDS ---------- */
.video-card { display: flex; flex-direction: column; }
.video-card__title {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  margin-top: 1.75rem;
  color: var(--c-copper-300);
}
.video-card__img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 0;
  cursor: pointer;
}
.video-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.video-card:hover .video-card__img img { transform: scale(1.05); }
.video-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.video-card__play svg {
  width: 15%;
  max-width: 86px;
  height: auto;
  aspect-ratio: 1;
}
.video-card p { margin-top: 1rem; font-size: 0.875rem; line-height: 1.75; }

.video-carousel { --swiper-theme-color: var(--c-copper-300); padding-bottom: 4rem; }
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 2rem;
}
.video-modal.is-open { display: flex; }
.video-modal__inner {
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16/9;
  background: #000;
}
.video-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-copper-500);
  color: var(--c-white);
  font-size: 1.5rem;
  z-index: 101;
}
.video-modal__close:hover { background: var(--c-copper-300); }

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  --swiper-theme-color: var(--c-copper-300);
  --swiper-navigation-color: var(--c-copper-600);
  position: relative;
}
.testimonial {
  text-align: center;
  padding: 3rem 2rem 6rem;
  max-width: 42rem;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .testimonial { padding: 6rem 4rem 8rem; }
}
.testimonial__quote-icon {
  display: block;
  margin: 0 auto 2rem;
  color: var(--c-copper-300);
}
.testimonial blockquote p {
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--c-copper-300);
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}
@media (min-width: 1024px) {
  .testimonial blockquote p { font-size: 1.5rem; }
}
.testimonial cite {
  font-weight: 700;
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.75rem;
}
.testimonials .swiper-pagination {
  position: absolute;
  bottom: 2rem !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: auto !important;
  display: flex !important;
  gap: 0.75rem;
  z-index: 4;
}
.testimonials .swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  background: rgb(59, 126, 161);
  opacity: 1;
  transform: scale(0.66);
  transition: transform 0.2s ease, background-color 0.2s ease;
  margin: 0;
}
.testimonials .swiper-pagination-bullet-active {
  background: var(--c-copper-600);
  transform: scale(1);
}

.testimonials-nav {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10rem;
  z-index: 5;
  pointer-events: none;
}
.testimonials-nav button {
  pointer-events: auto;
  color: var(--c-copper-600);
  background: transparent;
  border: 0;
  width: 24px;
  height: 24px;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.testimonials-nav button:hover { color: var(--c-copper-300); }
.testimonials-nav button:focus-visible {
  outline: 2px solid var(--c-white);
  outline-offset: 4px;
  border-radius: 50%;
}
.testimonials-nav svg { width: 24px; height: 24px; display: block; }
@media (max-width: 767px) {
  .testimonials-nav { gap: 5rem; }
}

/* ---------- FULL-WIDTH IMAGE ---------- */
.fullwidth-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 5;
  object-fit: cover;
}
@media (max-width: 767px) {
  .fullwidth-img img { aspect-ratio: 15 / 12; }
}

/* ---------- USPs ---------- */
.usp-intro {
  max-width: 50rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.usps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  padding-block: 1.5rem 3rem;
  max-width: 56rem;
  margin-inline: auto;
}
.usp {
  width: 16rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: color 0.3s;
}
.usp:hover { color: var(--c-copper-600); }
.usp__img {
  height: 6.5625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.usp__img img { max-height: 100%; width: auto; object-fit: contain; }
.usp__title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  padding-top: 0.5rem;
  color: var(--c-black);
}
.usp__desc { font-size: 0.875rem; line-height: 1.7; }
.usp .link-arrow {
  margin-top: 1rem;
  color: var(--c-copper-300);
}

/* ---------- TALK TO US ---------- */
.talktous {
  position: relative;
  color: var(--c-white);
  text-align: center;
  background: radial-gradient(44.76% 50% at 50% 50%, #373f50 5.11%, #181b25 100%);
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.talktous__img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.talktous__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}
.talktous__inner {
  position: relative;
  z-index: 2;
  padding: 5rem var(--safety);
  max-width: 48rem;
  margin-inline: auto;
}
.talktous h2 {
  font-size: clamp(2rem, 4.2vw, 60px);
  line-height: 1;
  color: var(--c-white);
  margin-bottom: 0.75rem;
}
.talktous p { margin-bottom: 1.5rem; }

/* ---------- FORM (Get in touch) ---------- */
.form-section { background: var(--c-cream); padding-block: 4.5rem; }
.contact-form { max-width: 720px; margin-inline: auto; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1rem;
}
.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field label,
.form-field legend {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-black);
  padding: 0;
}
.req { color: red; margin-left: 2px; }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"] {
  background: #f5f8fa;
  border: 1px solid #cbd6e2;
  border-radius: 15px;
  height: 40px;
  padding: 0 15px;
  font-size: 16px;
  color: #33475b;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}
.form-field input[type="text"]:focus,
.form-field input[type="email"]:focus,
.form-field input[type="tel"]:focus {
  outline: none;
  border-color: var(--c-copper-600);
}
.form-field--invalid input[type="text"],
.form-field--invalid input[type="email"],
.form-field--invalid input[type="tel"] { border-color: red; }

/* Checkboxes (marketing updates) */
.form-checkboxes {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  cursor: pointer;
}
.form-checkbox input { width: 14px; height: 14px; accent-color: var(--c-copper-600); }
.form-checkboxes.form-field--invalid .field-error { display: block; }

/* Privacy notice */
.form-notice {
  font-size: 14px;
  line-height: 1.55;
  color: var(--c-black);
}
.form-notice a { color: var(--c-copper-600); text-decoration: underline; }

/* Field error messages */
.field-error {
  font-size: 0.8rem;
  color: red;
  display: none;
}
.form-field--invalid .field-error { display: block; }

/* Submit button */
.form-submit-btn {
  display: inline-block;
  align-self: flex-start;
  background: var(--c-copper-600);
  color: var(--c-white);
  font-weight: 700;
  font-size: 16px;
  padding: 12px 24px;
  border-radius: 15px;
  border: 0;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.form-submit-btn:hover { background: var(--c-copper-500); }
.form-submit-btn:focus-visible { outline: 2px solid var(--c-copper-600); outline-offset: 3px; }
.form-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.form-success {
  display: none;
  padding: 1rem 1.25rem;
  background: #e8f5e9;
  border: 1px solid #4caf50;
  color: #2e7d32;
  text-align: center;
  margin-top: 1rem;
}
.form-success.is-visible { display: block; }
.form-success.is-error {
  background: #fdecea;
  border-color: #d32f2f;
  color: #b71c1c;
}

/* Honeypot — visible to bots, hidden from humans (off-screen, not display:none
   so bots that filter on display still see it). */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- FOOTER ---------- */
.footer { background: var(--c-cream); color: var(--c-black); padding: 3rem 0; }
.footer__logo { color: var(--c-copper-600); }
.footer__logo svg { height: 25px; width: auto; margin-bottom: 1.75rem; }
.footer__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 768px) {
  /* Original brabners.com: 2-col nav (wider) | contact column | B Corp badge (narrow, far right). */
  .footer__cols { grid-template-columns: 2fr 1.2fr 0.8fr; }
}
.footer-nav ul {
  columns: 2;
  column-gap: 1.5rem;
  font-size: 0.95rem;
}
@media (max-width: 767px) {
  /* Single column on mobile — 2-col is desktop-only. */
  .footer-nav ul { columns: 1; }
}
.footer-nav li { margin-bottom: 1rem; }
.footer-nav a:hover { text-decoration: underline; }
.footer__bcorp { display: flex; justify-content: flex-end; }
.footer__bcorp img { max-height: 110px; width: auto; }
@media (max-width: 767px) {
  .footer__bcorp { justify-content: flex-start; }
}
.footer__contact { text-align: left; }
.footer__contact p { margin-bottom: 1rem; font-size: 1rem; }
.footer__social {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.footer__social a { color: var(--c-copper-600); }
.footer__social svg { width: 24px; height: 24px; }

/* Locations strip */
.locations {
  background: var(--c-navy-250);
  color: var(--c-white);
  padding: 1.25rem 0;
  overflow: hidden;
}
.locations__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 480px) {
  .locations__inner { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .locations__inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
@media (min-width: 900px) {
  .locations__inner { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem; }
}
.location {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0.75rem;
  text-align: center;
}
.location__city {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.location__city h3 {
  font-size: 1.5rem;
  color: var(--c-copper-300);
  font-family: var(--font-heading);
  transition: color 0.2s;
}
.location__city:hover h3 { color: var(--c-mushroom); }
.location__city svg { color: var(--c-copper-300); transform: translateX(-33%); transition: transform 0.3s; }
.location__city:hover svg { transform: translateX(0); }
.location__phone { font-size: 0.95rem; }
.location__phone a:hover { text-decoration: underline; }

/* Footer bottom */
.footer-bottom {
  background: var(--c-navy);
  color: var(--c-copper-300);
  padding: 1.75rem 0;
  font-size: 0.85rem;
}
.footer-bottom__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 1024px) {
  .footer-bottom__inner { flex-direction: row; justify-content: space-between; }
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 0.5rem 0; justify-content: center; align-items: center; }
.footer-bottom nav a { padding: 0.5rem 0.25rem; }
.footer-bottom nav a:hover { text-decoration: underline; }
.footer-bottom .sep { padding: 0 0.5rem; }
.footer-bottom__made { padding: 0.5rem 0.25rem; }

/* ---------- ANIMATIONS ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ---------- UTILITY ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: block; } }
@media (min-width: 768px) { .show-mobile { display: none; } }

main { flex: 1; display: flex; flex-direction: column; }

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;                 /* below search overlay (100), above everything else */
  background: var(--c-navy);
  color: var(--c-white);
  padding: 2rem clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.35);
  transform: translateY(0);
  transition: transform 0.35s ease, opacity 0.35s ease;
  opacity: 1;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner.is-hiding {
  transform: translateY(100%);
  opacity: 0;
}
.cookie-banner__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 768px) {
  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }
}
.cookie-banner__text { flex: 1; }
.cookie-banner__heading {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--c-copper-300);
  margin: 0 0 0.75rem;
  line-height: 1.1;
}
.cookie-banner__body {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--c-white);
  margin: 0;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
  min-width: 220px;
}
.cookie-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  font-family: inherit;
}
.cookie-banner__btn--primary {
  background: var(--c-copper-400);
  color: var(--c-black);
  border-color: var(--c-copper-400);
}
.cookie-banner__btn--primary:hover {
  background: var(--c-copper-500);
  border-color: var(--c-copper-500);
}
.cookie-banner__btn--ghost {
  background: transparent;
  color: var(--c-copper-400);
  border-color: var(--c-copper-400);
}
.cookie-banner__btn--ghost:hover {
  background: var(--c-copper-400);
  color: var(--c-black);
}
.cookie-banner__btn:focus-visible {
  outline: 2px solid var(--c-white);
  outline-offset: 3px;
}
@media (max-width: 767px) {
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner, .cookie-banner.is-hiding {
    transition: none !important;
    transform: none !important;
  }
}

/* SEC-018 — moved from inline style="" attrs for strict CSP */
.talk-cta__cta-wrap { margin-top: 2.5rem; }
.testimonials-next-arrow { transform: rotate(180deg); }
