/* ==========================================================================
   Cadre Group — shared stylesheet
   Brand: Cadre Red #C00000, Black, White, Mid-grey #808080, Light-grey #D9D9D9
   Type:  Poppins
   ========================================================================== */

@font-face {
  font-family: 'Poppins';
  font-display: swap;
  src: local('Poppins');
}

:root{
  --red: #C00000;
  --red-dark: #8f0000;
  --black: #000000;
  --white: #FFFFFF;
  --grey-mid: #808080;
  --grey-light: #D9D9D9;
  --grey-fog: #F3F3F3;

  --font: 'Poppins', 'Segoe UI', 'Helvetica Neue', sans-serif;

  --max: 1180px;
  --gutter: clamp(24px, 5vw, 64px);

  --rule: 1px solid var(--grey-light);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg{ max-width: 100%; display: block; }

a{ color: inherit; text-decoration: none; }

.wrap{
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type scale ---------- */
h1, h2, h3, h4{
  font-family: var(--font);
  font-weight: 500;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}
h1{ font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 500; }
h2{ font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3{ font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 500; }
p{ margin: 0 0 1em; max-width: 62ch; }
.lede{ font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #2b2b2b; max-width: 54ch; }

.eyebrow{
  display: inline-block;
  font-size: 0.8rem;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 14px;
  position: relative;
  padding-left: 18px;
}
.eyebrow::before{
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 11px; height: 2px;
  background: var(--red);
  transform: translateY(-50%);
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: var(--font);
  font-size: 0.98rem;
  border: 1.5px solid var(--black);
  background: var(--black);
  color: var(--white);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover{ background: var(--red); border-color: var(--red); }
.btn.outline{ background: transparent; color: var(--black); }
.btn.outline:hover{ background: var(--black); color: var(--white); border-color: var(--black); }
.btn.on-dark{ border-color: var(--white); color: var(--black); background: var(--white); }
.btn.on-dark:hover{ background: var(--red); border-color: var(--red); color: var(--white); }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: var(--rule);
}
.site-header .wrap{
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand{ display: flex; align-items: center; gap: 10px; }
.brand img{ width: 30px; height: 30px; object-fit: contain; }
.brand img.wordmark{ width: auto; object-fit: contain; }
.brand img.wordmark-header{ height: 14px; }
.brand img.wordmark-footer{ height: 17px; }

.main-nav ul{ list-style: none; display: flex; gap: 34px; margin: 0; padding: 0; }
.main-nav a{
  font-size: .95rem; font-weight: 500; position: relative; padding-bottom: 4px;
}
.main-nav a::after{
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--red);
  transition: width .2s ease;
}
.main-nav a:hover::after, .main-nav a.active::after{ width: 100%; }
.main-nav a.active{ color: var(--red); }

.nav-toggle{ display: none; }

/* ---------- Hero ---------- */
.hero{
  border-bottom: var(--rule);
}
.hero .wrap{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--gutter);
  align-items: center;
  padding-block: clamp(48px, 8vw, 96px);
}
.hero-copy p.lede{ margin-top: 20px; }
.hero-statement{ color: var(--red); font-size: clamp(2.7rem, 5.6vw, 4.4rem); }
.accent-word{ color: var(--red); font-weight: 600; }
.hero-actions{ margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-art{ position: relative; }

/* ---------- Stat strip ---------- */
.stat-strip{
  border-bottom: var(--rule);
  background: var(--grey-fog);
}
.stat-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-grid > div{
  padding: 30px var(--gutter);
  border-left: var(--rule);
}
.stat-grid > div:first-child{ border-left: none; padding-left: var(--gutter); }
.stat-num{ font-size: clamp(1.83rem, 2.6vw, 2.43rem); font-weight: 600; color: var(--red); line-height: 1; white-space: nowrap; }
.stat-label{ margin-top: 8px; font-size: 1rem; color: #444; }

/* ---------- Sections ---------- */
section{ padding-block: clamp(56px, 8vw, 104px); }
.section-head{ max-width: 60ch; margin-bottom: 48px; }
.section-head.center{ margin-inline: auto; text-align: center; }

.divider{ border: none; border-top: var(--rule); margin: 0; }

/* ---------- Numbered offerings (real sequence: 1 of 3, 2 of 3, 3 of 3) ---------- */
.offering{
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: var(--gutter);
  padding-block: 44px;
  border-top: var(--rule);
}
.offering:last-child{ border-bottom: var(--rule); }
.offering-num{
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--grey-mid);
  line-height: 1;
}
.offering h3{ margin-bottom: 10px; }
.offering .stats{ display: flex; gap: 36px; margin-top: 18px; flex-wrap: wrap; }
.offering .stats div{ border-left: 2px solid var(--red); padding-left: 12px; }
.offering .stats b{ display: block; font-size: 1.2rem; }
.offering .stats span{ font-size: .82rem; color: var(--grey-mid); }

/* ---------- Service grid (not a sequence — plain grid, no numbering) ---------- */
.service-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--grey-light);
  border: var(--rule);
}
.service-card{
  background: var(--white);
  padding: 34px;
}
.service-card h3{ margin-bottom: 10px; }
.service-card p{ font-size: .95rem; color: #333; margin-bottom: 0; }

/* ---------- Timeline (real sequence: dates) ---------- */
.timeline{ position: relative; padding-left: 28px; border-left: 2px solid var(--grey-light); }
.timeline-item{ position: relative; padding-bottom: 40px; }
.timeline-item:last-child{ padding-bottom: 0; }
.timeline-item::before{
  content: "";
  position: absolute; left: -33px; top: 4px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--red);
}
.timeline-year{ font-weight: 600; color: var(--red); font-size: 1.1rem; }
.timeline-item p{ margin-top: 6px; }

/* ---------- Quote ---------- */
.pull-quote{
  border-left: 4px solid var(--red);
  padding-left: clamp(20px, 4vw, 40px);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 400;
  font-style: italic;
  color: var(--red);
  line-height: 1.5;
  max-width: 46ch;
  display: flex;
  align-items: center;
  margin: 0;
}

/* ---------- Team ---------- */
.team-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 28px;
}
.team-card{ border-top: 3px solid var(--red); padding-top: 14px; }
.team-card img{ width: 100%; aspect-ratio: 1/1; object-fit: cover; margin-bottom: 12px; background: var(--grey-fog); }
.team-card b{ display: block; font-size: 1rem; }
.team-card span{ font-size: .85rem; color: var(--grey-mid); }

/* ---------- Two column ---------- */
.two-col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
  align-items: start;
}

/* ---------- Contact ---------- */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
}
.detail-row{ display: flex; gap: 14px; padding-block: 16px; border-top: var(--rule); }
.detail-row:last-child{ border-bottom: var(--rule); }
.detail-row .k{ width: 130px; flex-shrink: 0; color: var(--grey-mid); font-size: .88rem; }
.detail-row .v{ font-size: .98rem; }

.reg-table{ width: 100%; border-collapse: collapse; font-size: .92rem; }
.reg-table th{
  text-align: left; background: var(--red); color: var(--white);
  padding: 10px 14px; font-weight: 600; font-size: .82rem;
}
.reg-table td{ padding: 12px 14px; border-bottom: 1px solid var(--grey-light); vertical-align: top; }

.map-embed{ border: var(--rule); width: 100%; height: 320px; }
.map-embed iframe{ width: 100%; height: 100%; border: 0; display: block; }

/* ---------- CTA band ---------- */
.cta-band{ background: var(--black); color: var(--white); }
.cta-band h2{ color: var(--white); max-width: 20ch; }
.cta-band h2.wide{ max-width: 48ch; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta-band .wrap{
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}

/* ---------- Footer ---------- */
footer.site-footer{ border-top: var(--rule); background: var(--grey-fog); }
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--gutter);
  padding-block: 56px;
}
.footer-grid h4{ font-size: .85rem; margin-bottom: 16px; color: var(--grey-mid); }
.footer-grid ul{ list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a:hover{ color: var(--red); }
.footer-grid a.nowrap{ white-space: nowrap; font-size: .92em; }
.footer-bottom{
  border-top: var(--rule);
  padding-block: 20px;
  font-size: .82rem;
  color: var(--grey-mid);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ---------- Focus visibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .hero .wrap{ grid-template-columns: 1fr; }
  .hero-art{ order: -1; }
  .stat-grid{ grid-template-columns: repeat(2, 1fr); }
  .stat-grid > div:nth-child(2){ border-left: var(--rule); }
  .stat-grid > div:nth-child(3){ border-left: none; padding-left: var(--gutter); }
  .service-grid{ grid-template-columns: 1fr; }
  .two-col{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .offering{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px){
  .main-nav{ display: none; }
  .stat-grid{ grid-template-columns: 1fr; }
  .stat-grid > div{ border-left: none !important; border-top: var(--rule); padding-left: var(--gutter) !important; }
  .stat-grid > div:first-child{ border-top: none; }
  .footer-grid{ grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ transition: none !important; }
}

/* ==========================================================================
   REVISION 2 — September 2026
   Appended so it overrides the rules above. Each block notes what it changes.
   ========================================================================== */

:root{
  /* Brand red is too dark to read on the black CTA band (2.5:1). This is the
     same hue lifted to a legible 4.9:1. Used ONLY on black backgrounds. */
  --red-bright: #E63329;
}

/* ---- Eyebrow: dash removed everywhere -------------------------------- */
.eyebrow{ padding-left: 0; }
.eyebrow::before{ content: none; }

/* ---- Section headings: black label large, red line beneath ------------ */
/* Black label is NOT bold. Red line is bold and larger than body text. */
.section-head .eyebrow,
.eyebrow.lead{
  display: block;
  color: var(--black);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 6px;
}
.section-head h2,
.eyebrow.lead + h2{
  color: var(--red);
  font-size: clamp(1.15rem, 1.7vw, 1.4rem) !important;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  max-width: none;
  margin-bottom: 18px;
}
/* .section-head had max-width:60ch, which forced the red line to wrap. The
   red line is a heading now, not body copy, so it gets the full column. */
.section-head{ max-width: none; }
.section-head .lede{ max-width: 62ch; }
.eyebrow.lead + h1{ margin-top: 12px; }

/* ---- Hero media ------------------------------------------------------- */
/* video has no max-width rule by default, so its intrinsic 720px would
   otherwise force the grid column wide and crush the copy beside it. */
video{ max-width: 100%; }

/* ---- Hero: half the vertical space, smaller statement ----------------- */
/* section{} padding and .hero .wrap padding were stacking (104px + 48px at
   desktop). Zeroing the section leaves one controllable value. */
.hero{ padding-block: 0; }
.hero .wrap{ padding-block: clamp(28px, 4.5vw, 64px); }
.hero-statement{ font-size: clamp(1.7rem, 2.9vw, 2.5rem); }
.hero-copy .eyebrow{ letter-spacing: .04em; }

/* ---- Stat strip: shorter, with icons ---------------------------------- */
/* section{} padding made this band very tall; the cells carry their own. */
.stat-strip{ padding-block: 0; }
.stat-grid > div{ padding-block: 24px; }
.stat-icon{ width: 30px; height: 30px; margin-bottom: 12px; display: block; }
.stat-icon *{ stroke: var(--red); }
.stat-label{ font-size: .93rem; }

/* ---- Number badge: simplified from the cube logo ---------------------- */
.num-badge{
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; flex-shrink: 0;
  background: var(--red);
  border: 2px solid var(--black);
  color: var(--white);
  font-weight: 700; font-size: 1.2rem; line-height: 1;
}
.num-badge.sm{ width: 36px; height: 36px; font-size: .95rem; }

/* ---- Three-column set with grey dividers ------------------------------ */
.split-3{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 3px solid var(--grey-light);
}
.split-3 > div{
  padding: 26px 30px 0 0;
  border-left: 3px solid var(--grey-light);
}
.split-3 > div:first-child{ border-left: none; padding-right: 30px; }
.split-3 > div:not(:first-child){ padding-left: 30px; }
.split-3 h3{ margin: 14px 0 8px; max-width: 22ch; }
.split-3 p{ max-width: 26ch; font-size: .95rem; color: #333; }

/* ---- Black claim box (replaces the pull quote on the home page) ------- */
.claim-box{
  background: var(--black);
  color: var(--white);
  padding: clamp(26px, 3.5vw, 40px);
  align-self: center;
}
.claim-box .claim-head{
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 22px;
  max-width: 20ch;
}
.claim-box ol{ list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.claim-box li{ display: flex; align-items: center; gap: 16px; font-size: 1.05rem; }

/* ---- Red emphasis on the black CTA band ------------------------------- */
.cta-band .hot{ color: var(--red-bright); }

/* ---- Tall sections, to separate ideas on the about page --------------- */
.section-tall{ padding-block: clamp(84px, 11vw, 150px); }
.section-tall .two-col{ gap: clamp(40px, 6vw, 90px); row-gap: clamp(56px, 7vw, 90px); }

/* ---- Team: bordered cards, stronger group headings -------------------- */
.team-group{
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--black) !important;
  font-size: 1rem !important;
  font-weight: 600;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--black);
}
.team-grid{ grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); }
.team-card{
  border: 1px solid var(--red);
  border-top: 1px solid var(--red);
  padding: 14px;
  display: flex; flex-direction: column;
}
.team-card img{ margin-bottom: 12px; }
.team-card b{ margin-top: auto; }

/* ---- Row items with a leading image (services + projects) ------------- */
.row-item{
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
  padding-block: 30px;
  border-top: var(--rule);
}
.row-item:last-child{ border-bottom: var(--rule); }
.row-item img{
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  background: var(--grey-light);
}
.row-item h3{ margin-bottom: 8px; }
.row-item p{ margin-bottom: 0; font-size: .95rem; color: #333; }

/* ---- Offerings: number badge instead of a plain numeral --------------- */
.offering{ grid-template-columns: 70px 1fr; }
.offering-num{ font-size: 0; }

/* ---- DVA: make the letters of the acronym legible --------------------- */
.acronym{ color: var(--red); font-weight: 700; }

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 900px){
  .split-3{ grid-template-columns: 1fr; border-top: none; }
  .split-3 > div{
    border-left: none; border-top: 3px solid var(--grey-light);
    padding: 22px 0 0 0 !important;
  }
  .split-3 p, .split-3 h3{ max-width: none; }
  .row-item{ grid-template-columns: 150px 1fr; }
}
@media (max-width: 640px){
  /* The header CTA has been removed, so the nav is now the only navigation.
     It can no longer be hidden on small screens. */
  .main-nav{ display: block; }
  .main-nav ul{ gap: 16px; justify-content: center; flex-wrap: wrap; }
  .main-nav a{ font-size: .82rem; }
  .site-header .wrap{ height: auto; padding-block: 12px; flex-wrap: wrap; gap: 10px; justify-content: center; }
  .row-item{ grid-template-columns: 1fr; }
  .row-item img{ max-width: 260px; }
}

/* about.html and dva.html set grid-template-columns inline on .stat-grid,
   which outranked the responsive rules and overflowed the viewport. */
@media (max-width: 900px){
  .stat-grid{ grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 640px){
  .stat-grid{ grid-template-columns: 1fr !important; }
  .stat-num{ white-space: normal; }
}

/* Same problem on .two-col: dva.html and services.html set 3- and 4-column
   grids inline, which survived the 900px breakpoint and overflowed. */
@media (max-width: 900px){
  .two-col{ grid-template-columns: 1fr !important; }
}

/* ==========================================================================
   REVISION 3 — September 2026
   ========================================================================== */

/* ---- Hero eyebrow in black -------------------------------------------- */
.hero-copy .eyebrow{ color: var(--black); }

/* ---- Stat strip: on the design grid, no icons, shorter ---------------- */
.stat-icon{ display: none; }
.stat-grid > div{
  position: relative;
  padding: 16px 26px !important;
  border-left: none !important;
}
.stat-grid > div:first-child{ padding-left: 0 !important; }
.stat-grid > div:last-child{ padding-right: 0 !important; }
/* Short centred dividers rather than rules running edge to edge. */
.stat-grid > div::before{
  content: ""; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 54%;
  background: var(--grey-light);
}
.stat-grid > div:first-child::before{ display: none; }
.stat-label{ max-width: none; }

/* ---- Buttons: black, red on hover; white on black backgrounds --------- */
.btn, .btn.outline,
.hero-actions .btn, .hero-actions .btn.outline{
  background: var(--black);
  border: 1.5px solid var(--black);
  color: var(--white);
}
.btn:hover, .btn.outline:hover,
.btn:focus-visible, .btn.outline:focus-visible,
.hero-actions .btn:hover, .hero-actions .btn.outline:hover,
.hero-actions .btn:focus-visible, .hero-actions .btn.outline:focus-visible{
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.btn.on-dark{ background: var(--white); border-color: var(--white); color: var(--black); }
.btn.on-dark:hover, .btn.on-dark:focus-visible{ background: var(--red); border-color: var(--red); color: var(--white); }

/* ---- Claim block: hairline rule, outlined numerals -------------------- */
.claim-box{
  background: none;
  color: var(--black);
  padding: 4px 0 4px clamp(24px, 3vw, 44px);
  border-left: 1px solid var(--black);
}
.claim-box .claim-head{ color: var(--black); }
.num-badge{
  background: transparent;
  border: 1px solid var(--red);
  color: var(--black);
  width: 40px; height: 40px;
  font-weight: 600; font-size: 1.05rem;
}

/* ---- Three-up: centred, grey numerals, hairlines between only --------- */
.split-3{ border-top: none; }
.split-3 > div{
  text-align: center;
  padding: 0 clamp(18px, 2.4vw, 34px) !important;
  border-left: 1px solid var(--grey-light) !important;
}
.split-3 > div:first-child{ border-left: none !important; }
.split-3 h3{ margin: 0 auto 10px; max-width: none; }
.split-3 p{ max-width: none; margin-inline: auto; }
.split-3 .num{
  display: block;
  font-size: 2.6rem; font-weight: 300; line-height: 1;
  color: var(--grey-mid);
  margin-bottom: 14px;
}

/* ---- CTA band back to plain white ------------------------------------- */
.cta-band .hot{ color: inherit; }

/* ---- Headings inside two-column blocks fit on one line ---------------- */
.two-col .eyebrow.lead{ font-size: clamp(1.4rem, 2.2vw, 1.95rem); }

/* ---- DVA: the page statement is the red line -------------------------- */
.eyebrow.lead + h1.lead-red{
  color: var(--red);
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  max-width: 60ch;
  margin-top: 8px;
}

/* ---- Offerings back to the original grey numerals --------------------- */
.offering{ grid-template-columns: 90px 1fr; }
.offering-num{ font-size: 2.6rem; }

/* ---- Icon rows (established services) --------------------------------- */
.row-item.icon-row{ grid-template-columns: 64px 1fr; align-items: start; }
.row-icon{ width: 46px; height: 46px; }
.row-icon *{ stroke: var(--red); }

/* ---- Team group labels: no rule --------------------------------------- */
.team-group{ border-bottom: none; padding-bottom: 0; }

/* ---- Proof band on the DVA page needs room ---------------------------- */
.stat-strip.roomy{ padding-block: clamp(48px, 6vw, 80px); }
.stat-strip.roomy .stat-grid > div{ padding-block: 26px !important; }

/* ---- Contact ----------------------------------------------------------- */
.contact-hero .wrap{
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: var(--gutter); align-items: start;
}
.contact-actions{ display: grid; gap: 14px; }
.find-band{ background: var(--grey-fog); border-block: var(--rule); padding-block: clamp(32px, 4vw, 52px); }
.find-band .wrap{ display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--gutter); align-items: start; }
.find-band address{ font-style: normal; font-size: 1.05rem; line-height: 1.7; }

@media (max-width: 900px){
  .contact-hero .wrap, .find-band .wrap{ grid-template-columns: 1fr; }
  .split-3 > div{ border-left: none !important; border-top: 1px solid var(--grey-light); padding: 22px 0 0 !important; }
  .row-item.icon-row{ grid-template-columns: 54px 1fr; }
}
@media (max-width: 640px){
  .stat-grid > div{ padding-left: 0 !important; padding-right: 0 !important; }
  .stat-grid > div::before{ display: none; }
  .stat-grid > div{ border-top: var(--rule); }
  .stat-grid > div:first-child{ border-top: none; }
}

/* ==========================================================================
   REVISION 4
   ========================================================================== */

/* Hero fills the viewport so nothing grey shows above the fold. */
.hero{
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: center;
}
.hero > .wrap{ width: 100%; }

/* Red sub-headings are no longer bold. */
.section-head h2,
.eyebrow.lead + h2,
.eyebrow.lead + h1.lead-red{ font-weight: 500; }

/* Stat band: no edge rules, each figure grouped and centred. */
.stat-strip{ border-bottom: none !important; border-top: none !important; }
.stat-strip[style*="border-block"]{ border-block: none !important; }
.stat-grid > div{ text-align: center; padding-inline: 20px !important; }
.stat-grid > div:first-child{ padding-left: 20px !important; }
.stat-grid > div:last-child{ padding-right: 20px !important; }
.stat-label{ margin-inline: auto; max-width: 24ch; }

/* Claim numerals: red, no box. */
.num-badge{
  border: none; width: auto; height: auto;
  color: var(--red); font-weight: 600; font-size: 1.15rem;
  min-width: 1.4em; justify-content: flex-start;
}

/* Home three-up matches the 01/02/03 treatment on the services page. */
.split-3 .num{
  font-size: 2.6rem; font-weight: 300; line-height: 1;
  color: var(--grey-mid); margin-bottom: 14px;
}

/* Centred and right-aligned section variants. */
.section-head.center{ text-align: center; margin-inline: auto; }
.center-actions{ display: flex; justify-content: center; }
.align-right{ text-align: right; }
.align-right .section-head{ margin-left: auto; }
.align-right .lede{ margin-left: auto; }

/* Established-services icons: centred in their column, black. */
.row-item.icon-row{ grid-template-columns: 96px 1fr; }
.row-item.icon-row > .row-icon{ margin-inline: auto; }
.row-icon *{ stroke: var(--black); }

/* Footer: the Site column duplicated the top nav, so it is gone. */
.footer-grid{ grid-template-columns: 1.5fr 1fr; }
.footer-grid > div:last-child ul{ max-width: 34ch; }

/* DVA: the three qualities sit in the white header, in black. */
.hero-qualities{ border: none !important; background: none !important; }
.hero-qualities .stat-num{ color: var(--black) !important; }

@media (max-width: 900px){
  .footer-grid{ grid-template-columns: 1fr; }
  .align-right{ text-align: left; }
  .align-right .section-head, .align-right .lede{ margin-left: 0; }
}

/* DVA method steps, centred with the 01/02/03 numeral treatment. */
.split-4{ text-align: center; }
.split-4 .num{
  display: block;
  font-size: 2.6rem; font-weight: 300; line-height: 1;
  color: var(--grey-mid); margin-bottom: 12px;
}
.split-4 h3{ margin-bottom: 8px; }
.split-4 p{ max-width: 26ch; margin-inline: auto; }

/* ==========================================================================
   REVISION 5
   ========================================================================== */

/* ---- Hero cube (rotation driven from JS — see index.html) -------------- */
.hero-art{ display:flex; align-items:center; justify-content:center; }
.cube-stage{
  --size: clamp(210px, 23vw, 320px);
  --half: calc(var(--size) / 2);
  width:var(--size); height:var(--size);
  perspective:1600px; perspective-origin:50% 46%;
}
.cube{
  position:relative; width:100%; height:100%;
  transform-style:preserve-3d;
  transform:translateY(-32%) rotateX(-16deg) rotateY(-34deg);
  opacity:0;
}
.cube-face{
  position:absolute; inset:0;
  border:4px solid var(--black);
  background:#8E0E0E;
  backface-visibility:hidden;
}
.cf-front { transform:translateZ(var(--half)); background:#C81717; }
.cf-back  { transform:rotateY(180deg) translateZ(var(--half)); }
.cf-right { transform:rotateY(90deg)  translateZ(var(--half)); }
.cf-left  { transform:rotateY(-90deg) translateZ(var(--half)); }
.cf-top   { transform:rotateX(90deg)  translateZ(var(--half)); background:#D41C1C; }
.cf-bottom{ transform:rotateX(-90deg) translateZ(var(--half)); background:#6E0B0B; }
.cube-well{
  position:absolute; inset:13%;
  background:#0E1114; border:3px solid var(--black);
  box-shadow:inset 0 0 30px rgba(0,0,0,.9); overflow:hidden;
}
.cube-well img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; opacity:0; }
.playing .lines  { animation:plot  1.2s linear both; }
.playing .landuse{ animation:fade  .9s ease-out 1s both; }
.playing .subject{ animation:trace .9s cubic-bezier(.4,0,.2,1) 1.7s both; }
@keyframes plot { from{ opacity:1; clip-path:inset(0 0 100% 0) } to{ opacity:1; clip-path:inset(0 0 0 0) } }
@keyframes fade { from{ opacity:0 } to{ opacity:1 } }
@keyframes trace{ from{ opacity:1; clip-path:inset(0 100% 0 0) } to{ opacity:1; clip-path:inset(0 0 0 0) } }

/* ---- Section titles: every word capitalised --------------------------- */
.section-head .eyebrow, .eyebrow.lead{ text-transform:capitalize; }
.eyebrow.lead.no-caps{ text-transform:none; }

/* ---- Stat band: taller, black figures, red lead-in -------------------- */
.stat-strip{ border-top:none !important; border-bottom:none !important; }
.stat-grid > div{ padding-block:34px !important; }
.stat-num{ color:var(--black) !important; }
.stat-label strong{ color:var(--red); }

/* ---- Black band centred ----------------------------------------------- */
.cta-band .wrap{ flex-direction:column; text-align:center; gap:28px; }
.cta-band h2, .cta-band h2.wide{ margin-inline:auto; }

/* ---- Track record back to the left ------------------------------------ */
.align-right{ text-align:left; }
.align-right .section-head, .align-right .lede{ margin-left:0; }

/* ---- Panels that fill the first screen -------------------------------- */
.fold{ min-height:calc(100svh - 76px); display:flex; flex-direction:column; }
.fold > section:first-child{ flex:1; display:grid; align-items:center; }
.fold > section:first-child > .wrap,
.fold-full > .wrap{ width:100%; }
.fold-full{ min-height:calc(100svh - 76px); display:grid; align-items:center; }

/* ---- Services: the three offerings side by side ----------------------- */
.offer-grid{
  display:grid; grid-template-columns:repeat(3, 1fr);
  gap:0 clamp(24px, 3vw, 46px);
  border-top:var(--rule);
}
.offer-grid .offering{
  display:block; grid-template-columns:none;
  border-top:none; border-bottom:none;
  padding-block:34px;
}
.offer-grid .offering:last-child{ border-bottom:none; }
.offer-grid .offering-num{ margin-bottom:16px; }
.offer-grid .offering .stats{ display:grid; gap:16px; margin-top:20px; }
.offer-grid .offering .stats div{ border-left:2px solid var(--red); padding-left:12px; }

/* ---- Established services: white, side by side, smaller icons --------- */
.svc-grid{
  display:grid; grid-template-columns:repeat(3, 1fr);
  gap:clamp(28px, 3.4vw, 46px);
}
.svc-grid .svc{ text-align:center; }
.svc-grid .row-icon{ width:30px; height:30px; margin:0 auto 14px; }
.svc-grid h3{ font-size:1.1rem; margin-bottom:8px; }
.svc-grid p{ font-size:.92rem; color:#333; margin:0; max-width:30ch; margin-inline:auto; }

/* ---- Proof band on white ---------------------------------------------- */
.stat-strip.on-white{ background:var(--white); }

/* ---- Team: stands in blocks, portrait revealed on hover --------------- */
.cad-blk{ margin-bottom:26px; }
.cad-lbl{
  font-size:.75rem; letter-spacing:.14em; text-transform:uppercase;
  font-weight:600; margin-bottom:8px;
}
.cad{
  display:grid; gap:0;
  background:var(--white);
  border:2px solid var(--black);
  overflow:hidden;              /* clips the dividers at the frame edge */
  /* auto-fit collapses unused tracks, so a block of two makes two wide
     stands rather than two narrow ones beside dead space. */
  grid-template-columns:repeat(auto-fit, minmax(190px, 1fr));
}
.stand{
  position:relative; overflow:hidden;
  background:var(--white);
  min-height:132px; padding:14px;
  display:flex; flex-direction:column; justify-content:flex-end;
  /* dividers drawn per stand, so empty cells in a block stay white */
  box-shadow:2px 0 0 var(--grey-light), 0 2px 0 var(--grey-light);
}
.stand::before{
  content:""; position:absolute; inset:0;
  background-image:var(--img, none);
  background-size:cover; background-position:center 12%;
  background-color:var(--grey-light);
  filter:grayscale(1) contrast(1.04);
  opacity:0; transition:opacity .28s ease;
}
.stand::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(to bottom, rgba(255,255,255,0) 42%, rgba(255,255,255,.97) 88%);
  opacity:0; transition:opacity .28s ease;
}
.stand:hover::before, .stand:focus-within::before,
.stand:hover::after,  .stand:focus-within::after{ opacity:1; }
.stand b, .stand span{ position:relative; z-index:2; }
.stand b{ display:block; font-size:.9rem; font-weight:600; line-height:1.25; }
.stand span{ display:block; font-size:.74rem; color:var(--grey-mid); line-height:1.35; margin-top:3px; }

@media (max-width: 900px){
  .offer-grid, .svc-grid{ grid-template-columns:1fr; }
  .fold, .fold-full{ min-height:0; }
}

/* ==========================================================================
   REVISION 6
   ========================================================================== */

/* ---- Stat band: wider than the text grid, no rule above --------------- */
.stat-strip{ border:none !important; }
.stat-strip .wrap{ max-width:1440px; }
.stat-grid > div{ padding-inline:34px !important; }

/* ---- Home three-up: more air around the red line ---------------------- */
.section-head.center .eyebrow{ margin-bottom:18px; }
.section-head.center h2{ margin-bottom:52px; }

/* ---- Team: portrait as a small square above the name ------------------ */
.stand{ justify-content:flex-start; gap:0; }
.stand::before, .stand::after{ content:none; }
.stand .shot{
  width:58px; height:58px; flex:0 0 58px;
  background-image:var(--img, none);
  background-size:cover; background-position:center 18%;
  background-color:var(--grey-light);
  filter:grayscale(1) contrast(1.04);
  opacity:0; transform:translateY(-4px);
  transition:opacity .24s ease, transform .24s ease;
  margin-bottom:10px;
}
.stand:hover .shot, .stand:focus-within .shot{ opacity:1; transform:translateY(0); }
.stand .txt{ margin-top:auto; }

/* ---- Services: vertical rules between the offerings, justified text --- */
.offer-grid{ border-top:none; gap:0; }
.offer-grid .offering{
  padding:0 clamp(22px, 2.6vw, 40px);
  border-left:1px solid var(--grey-light);
}
.offer-grid .offering:first-child{ border-left:none; padding-left:0; }
.offer-grid .offering:last-child{ padding-right:0; }
.offer-grid .offering p{
  font-size:.88rem; line-height:1.65;
  text-align:justify; hyphens:auto;
  margin-bottom:0;
}
.offer-grid .offering h3{ font-size:1.15rem; margin-bottom:12px; }
.offer-grid .offering .stats b{ font-size:1.05rem; }
.offer-grid .offering .stats span{ font-size:.76rem; }
.offer-grid .offering .btn{ font-size:.88rem; padding:10px 20px; }

/* ---- Established services: heading pair centred ----------------------- */
.svc-head{ text-align:center; margin-inline:auto; }

/* ---- DVA: heading higher, qualities lifted ---------------------------- */
.dva-hero > section:first-child{ align-items:start; padding-top:clamp(28px,5vw,64px) !important; }
.dva-hero{ min-height:calc(100svh - 76px); }
.dva-hero .stat-strip{ margin-bottom:clamp(40px,8vh,110px); }

@media (max-width: 900px){
  .offer-grid .offering{ border-left:none; padding:0 0 34px !important; }
  .offer-grid .offering p{ text-align:left; }
  .stat-grid > div{ padding-inline:0 !important; }
}

/* ==========================================================================
   REVISION 7
   ========================================================================== */

/* ---- Leave the next band peeking, so the fold never reads as an ending -- */
.fold, .fold-full{ min-height:calc(100svh - 76px - 100px); }
/* the home hero predates .fold and needs the same allowance */
.hero{ min-height:calc(100svh - 76px - 100px); }

/* ---- Small rounded button --------------------------------------------- */
.btn.small{
  padding:8px 20px; font-size:.82rem;
  border-radius:999px; gap:6px;
}

/* ---- Contact: company details on white -------------------------------- */
.reg-section{ background:var(--white) !important; }

/* ---- DVA hero: centred, balanced ------------------------------------- */
.dva-hero{
  display:flex; flex-direction:column; justify-content:center;
  gap:clamp(36px, 6vh, 76px);
}
.dva-hero > section{ padding-block:0 !important; flex:none; }
/* .fold > section:first-child sets flex:1 and outranks a plain
   .dva-hero > section rule, so the override has to match it. */
.dva-hero > section:first-child{ display:block; flex:none; }
.dva-hero .eyebrow.lead,
.dva-hero .lead-red{ text-align:center; max-width:none; margin-inline:auto; }
.dva-hero .stat-strip{ margin-bottom:0; }

/* Proof band returns to the page grid */
.stat-strip.on-white .wrap{ max-width:var(--max); }
.stat-strip.on-white .stat-grid > div{ padding-inline:26px !important; }
.stat-strip.on-white .stat-grid > div:first-child{ padding-left:0 !important; text-align:left; }
.stat-strip.on-white .stat-grid > div:last-child{ padding-right:0 !important; }

/* ==========================================================================
   TEAM — two treatments on one page
   In-house roles carry a portrait; the wider network is set as text.
   ========================================================================== */
.team-block{ margin-bottom:clamp(38px, 5vw, 64px); }
.team-label{
  font-size:.74rem; letter-spacing:.16em; text-transform:uppercase;
  font-weight:600; color:var(--black);
  padding-bottom:10px; margin-bottom:22px;
  border-bottom:1px solid var(--grey-light);
}

/* -- portrait people ---------------------------------------------------- */
.people{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(min(100%, 190px), 1fr));
  gap:clamp(20px, 2.4vw, 34px);
}
.person{ margin:0; }
.portrait{
  position:relative; width:100%; aspect-ratio:4/5;
  background:var(--grey-fog) var(--img, none) center 18% / cover no-repeat;
  filter:grayscale(1) contrast(1.03);
  transition:filter .35s ease;
}
.portrait::after{
  content:""; position:absolute; left:0; right:0; bottom:0;
  height:3px; background:var(--red);
  transform:scaleX(0); transform-origin:left;
  transition:transform .35s cubic-bezier(.2,.7,.3,1);
}
.person:hover .portrait, .person:focus-within .portrait{ filter:grayscale(0) contrast(1); }
.person:hover .portrait::after, .person:focus-within .portrait::after{ transform:scaleX(1); }
.person figcaption{ padding-top:14px; }
.person b{ display:block; font-size:.98rem; font-weight:600; line-height:1.25; }
.person span{ display:block; font-size:.8rem; color:var(--grey-mid); line-height:1.4; margin-top:4px; }

/* -- the wider network, set as text ------------------------------------- */
.roster{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(min(100%, 430px), 1fr));
  gap:0 clamp(32px, 4vw, 70px);
}
.roster .r{
  display:flex; align-items:baseline; justify-content:space-between; gap:20px;
  padding:14px 0; border-bottom:1px solid var(--grey-light);
}
.roster .r b{ font-size:.96rem; font-weight:600; }
.roster .r i{ display:none; }
.roster .r span{
  font-size:.8rem; color:var(--grey-mid); text-align:right;
  max-width:26ch; flex-shrink:0;
}

@media (max-width: 560px){
  .people{ grid-template-columns:repeat(2, 1fr); }
  .roster .r{ flex-direction:column; gap:2px; }
  .roster .r i{ display:none; }
  .roster .r span{ text-align:left; }
}

/* ==========================================================================
   REVISION 8
   ========================================================================== */

/* ---- Grey bands: fill only, never a rule -------------------------------- */
.stat-strip, .stat-strip[style], .section-tall,
section[style*="grey-fog"], .find-band{
  border-top:none !important;
  border-bottom:none !important;
  border-block:none !important;
}

/* ---- DVA acronym: bold, not red ---------------------------------------- */
.acronym{ color:inherit; font-weight:700; }

/* ---- Team group labels: thin red rule ---------------------------------- */
.team-label{ border-bottom:1px solid var(--red); }

/* ---- Portraits: five planners across ----------------------------------- */
.people{ grid-template-columns:repeat(5, 1fr); gap:clamp(14px, 1.7vw, 24px); }

/* ---- Leadership and Operations share a row, with a clear break --------- */
.team-row{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:clamp(36px, 5vw, 84px);
  margin-bottom:clamp(38px, 5vw, 64px);
}
.team-row .team-block{ margin-bottom:0; }
.team-row > .team-block + .team-block{
  border-left:1px solid var(--grey-light);
  padding-left:clamp(30px, 4vw, 72px);
}
.team-row .people{ grid-template-columns:repeat(2, 1fr); }
.team-row > .team-block + .team-block .people{ grid-template-columns:1fr; }

@media (max-width: 1000px){
  .people{ grid-template-columns:repeat(3, 1fr); }
  .team-row{ grid-template-columns:1fr; }
  .team-row > .team-block + .team-block{
    border-left:none; padding-left:0;
    border-top:1px solid var(--grey-light); padding-top:32px;
  }
  .team-row > .team-block + .team-block .people{ grid-template-columns:repeat(3,1fr); }
}
@media (max-width: 560px){
  .people, .team-row .people,
  .team-row > .team-block + .team-block .people{ grid-template-columns:repeat(2, 1fr); }
}

/* ---- Project rows: the button sits at the right edge of the grid ------- */
.row-item{ grid-template-columns:210px 1fr auto; align-items:center; }
.row-item > div{ align-self:start; }
.row-item .btn.small{ align-self:center; justify-self:end; white-space:nowrap; }
@media (max-width: 900px){
  .row-item{ grid-template-columns:150px 1fr; }
  .row-item .btn.small{ grid-column:2; justify-self:start; margin-top:4px; }
}
@media (max-width: 640px){
  .row-item{ grid-template-columns:1fr; }
  .row-item .btn.small{ grid-column:1; }
}

/* ==========================================================================
   REVISION 9
   ========================================================================== */

/* Every portrait is one column of the same five-column grid, so Leadership,
   Operations and the planners all render at identical size. */
.team-row{
  grid-template-columns:repeat(5, 1fr);
  gap:0 clamp(14px, 1.7vw, 24px);
  align-items:start;
}
.lead-block{ grid-column:1 / span 2; }
.team-break{
  grid-column:3 / span 2;
  justify-self:center; align-self:stretch;
  width:1px; background:var(--grey-light);
}
.ops-block{ grid-column:5; border-left:none !important; padding-left:0 !important; }
.team-row .people{ grid-template-columns:repeat(2, 1fr); }
.ops-block .people{ grid-template-columns:1fr; }

/* Report covers are shown whole rather than cropped — the client logos
   sit along the bottom edge and were being cut off by object-fit:cover. */
.row-item img{ object-fit:contain; background:var(--grey-fog); padding:6px; }

@media (max-width: 1000px){
  .team-row{ grid-template-columns:repeat(3, 1fr); }
  .lead-block{ grid-column:1 / span 2; }
  .team-break{ display:none; }
  .ops-block{ grid-column:3; }
  .team-row .people{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width: 560px){
  .team-row{ grid-template-columns:repeat(2, 1fr); }
  .lead-block{ grid-column:1 / span 2; }
  .ops-block{ grid-column:1 / span 2; margin-top:28px; }
  .ops-block .people{ grid-template-columns:repeat(2, 1fr); }
}

/* ==========================================================================
   REVISION 10
   ========================================================================== */

/* Proof band: the first figure was left-aligned while the rest were centred. */
.stat-strip.on-white .stat-grid > div:first-child{ text-align:center; }

/* Names and roles centred under their portraits (sizes and spacing unchanged). */
.person figcaption{ text-align:center; }
