/* =========================================================================
   Virentia site stylesheet
   Mobile first. Plain CSS, no build step.
   Palette from the Virentia brand kit. Two tones adjusted for WCAG 2.1 AA:
   - Teal used for button fills and link text: #1D4A33 (brand #1D4A33 is 4.1:1 with white)
   - Mid grey for captions: #5D6A61 (brand #5D6A61 is 4.4:1 on white)
   ========================================================================= */

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand palette: forest and gold. Seven colours plus white; every tint is one of these at an opacity. */
  --forest: #1D4A33;   /* brand: heroes, bands, buttons, links, icons, headings, ReHab (10.1:1 on white) */
  --deep: #0F2B1D;     /* body text, footer, text on gold (15.2:1 on white) */
  --gold: #C9A23A;     /* accent only: rules, buttons on dark, ReGen. Never text on white (2.4:1) */
  --navy: #1C2C42;     /* statistics bands only */
  --stone: #F6F5F0;    /* every light surface: sections, tiles, panels */
  --line: #E2E3DC;     /* borders and dividers */
  --grey: #5D6A61;     /* captions, muted labels, form borders (5.7:1 on white) */
  --white: #FFFFFF;
  --focus: #0F2B1D;

  --font: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;

  --gutter: 16px;
  --max: 1200px;
  --section: clamp(64px, 9vw, 120px);
  --radius: 4px;
  --header-h: 68px;
  --shadow: 0 1px 2px rgba(15, 43, 29, .06), 0 8px 24px rgba(15, 43, 29, .08);
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --header-h: 80px; } }

/* ------------------------------------------------------------- Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--deep);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 1024px) { body { font-size: 1.125rem; } }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; color: var(--deep); }
h1 { font-size: clamp(2.25rem, 1.55rem + 2.9vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem); }
h3 { font-size: clamp(1.1875rem, 1.1rem + .35vw, 1.375rem); line-height: 1.25; letter-spacing: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
a { color: var(--forest); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--forest); text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }

.vh {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { display: none; }
.icon {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
/* Content icons: 48-unit grid, duotone (stroke = currentColor, soft fill = --i-fill) */
.icon--duo { stroke-width: var(--i-sw, 2.6); }

/* Icon tile: the one container for content icons across the site */
.ibox {
  --ib: 52px; --ib-r: 13px;
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: var(--ib); height: var(--ib); border-radius: var(--ib-r);
  background: #F6F5F0; color: var(--forest); --i-fill: rgba(29, 74, 51, .14);
}
.ibox .icon { width: calc(var(--ib) * .66); height: calc(var(--ib) * .66); }
.ibox--dark { background: var(--forest); color: var(--white); --i-fill: rgba(255, 255, 255, .22); box-shadow: 0 6px 16px rgba(15, 43, 29, .22); }
.ibox--regen { background: var(--gold); color: var(--deep); --i-fill: rgba(255, 255, 255, .6); box-shadow: 0 6px 16px rgba(201, 162, 58, .25); }
.ibox--lg { --ib: 64px; --ib-r: 16px; }
.ibox--md { --ib: 52px; --ib-r: 13px; }
.ibox--sm { --ib: 42px; --ib-r: 11px; --i-sw: 3; }
.ibox--xs { --ib: 36px; --ib-r: 9px; --i-sw: 3.2; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--deep); color: var(--white); padding: 12px 18px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); --focus: var(--gold); }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ------------------------------------------------------------- Type helpers */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 16px; font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--forest);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--forest); }
.eyebrow--on-dark { color: var(--white); }
.eyebrow--on-dark::before { background: var(--gold); width: 40px; }
.lead { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem); line-height: 1.55; }

/* ------------------------------------------------------------- Placeholders
   Every placeholder carries data-placeholder so it can be found and replaced. */
.ph {
  display: inline; padding: 1px 6px; border: 1px dashed #A07A1C; border-radius: 2px;
  background: #FFF6DE; color: #5A430A; font-size: .9em; font-style: normal;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.ph--block { display: block; padding: 10px 14px; }
.ph--dark { background: rgba(201, 162, 58, .12); border-color: rgba(201, 162, 58, .8); color: #F3E2B6; }
.ph-img {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 16px; text-align: center; color: var(--deep);
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(15, 43, 29, .05) 14px 15px),
    var(--stone);
  border: 1px dashed #5D6A61;
}
.ph-img__tag { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #5A430A; background: #FFF6DE; border: 1px dashed #A07A1C; padding: 2px 8px; }
.ph-img__label { font-size: .9375rem; font-weight: 600; max-width: 30ch; }

/* ------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 22px; border: 2px solid transparent; border-radius: 3px;
  font: 600 1rem/1.2 var(--font); text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { text-decoration: none; }
.btn__icon { width: 18px; height: 18px; transition: transform .18s ease; }
.btn:hover .btn__icon { transform: translateX(3px); }
.btn--primary { background: var(--forest); color: var(--white); }
.btn--primary:hover { background: var(--forest); color: var(--white); }
.btn--secondary { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--secondary:hover { background: var(--stone); border-color: var(--gold); color: var(--forest); }
.btn--on-dark { background: var(--forest); color: var(--white); border-color: rgba(255, 255, 255, .85); }
.btn--on-dark:hover { background: var(--white); color: var(--forest); border-color: var(--white); }
.btn--on-accent { background: var(--forest); color: var(--white); border-color: var(--white); }
.btn--on-accent:hover { background: var(--deep); border-color: var(--deep); color: var(--white); }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: .9375rem; }
.btn--rehab { border-left: 6px solid var(--forest); }
.btn--regen { border-left: 6px solid var(--gold); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 28px; }
.btn-row--center { justify-content: center; }
@media (max-width: 479px) { .btn-row .btn { width: 100%; } }

/* ------------------------------------------------------------- Header and navigation */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.site-logo { display: block; flex: none; }
.site-logo img { height: 40px; width: auto; }
@media (min-width: 1024px) { .site-logo img { height: 48px; } }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px;
  background: none; border: 1px solid var(--line); border-radius: 3px; color: var(--deep);
  font: 600 .9375rem var(--font); cursor: pointer;
}
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }
html:not(.js) .nav-toggle { display: none; }

.site-nav a { text-decoration: none; }
.site-nav__list { list-style: none; }

/* Mobile menu */
@media (max-width: 1023px) {
  .site-header__inner { flex-wrap: wrap; }
  .site-nav { flex-basis: 100%; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  .site-nav__list { padding: 8px 0 24px; border-top: 1px solid var(--line); }
  .site-nav__list > li > a:not(.btn) {
    display: block; padding: 14px 0; border-bottom: 1px solid var(--line);
    color: var(--deep); font-size: 1.125rem; font-weight: 600;
  }
  .site-nav a[aria-current="page"] { color: var(--forest); box-shadow: inset 4px 0 0 var(--forest); padding-left: 14px; }
  .has-sub { position: relative; }
  .sub-toggle { display: none; }
  .sub-nav { list-style: none; }
  .sub-nav a { display: block; padding: 12px 0 12px 20px; border-bottom: 1px solid var(--line); color: var(--deep); font-weight: 400; }
  .sub-nav a[aria-current="page"] { padding-left: 20px; }
  .site-nav__cta { margin-top: 20px; }
  .site-nav__cta .btn { width: 100%; min-height: 48px; }
  .site-nav__group {
    display: block; padding: 18px 0 6px; color: var(--grey);
    font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  }
}

/* Desktop menu */
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav__list { display: flex; align-items: center; gap: 4px; }
  .site-nav__list > li > a:not(.btn) {
    position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px;
    color: var(--deep); font-weight: 600; font-size: 1rem;
  }
  .site-nav__list > li > a:not(.btn)::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
    background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
  }
  .site-nav__list > li > a:not(.btn):hover::after { transform: scaleX(1); }
  .site-nav__list > li > a[aria-current="page"]::after,
  .has-sub.is-current > a::after { transform: scaleX(1); background: var(--forest); }
  .has-sub { position: relative; display: flex; align-items: center; }
  .has-sub > a { padding-right: 4px !important; }
  .has-sub > a::after { right: 4px !important; }
  .sub-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 44px;
    background: none; border: 0; color: var(--deep); cursor: pointer; border-radius: 3px;
  }
  .sub-toggle .icon { width: 18px; height: 18px; transition: transform .2s ease; }
  .sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .sub-nav {
    list-style: none; position: absolute; top: 100%; left: 0; min-width: 220px; padding: 8px 0;
    background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--forest);
    box-shadow: var(--shadow); display: none;
  }
  .has-sub.is-open .sub-nav { display: block; }
  .sub-nav a { display: block; padding: 10px 20px; color: var(--deep); font-weight: 600; font-size: .9375rem; }
  .sub-nav a:hover, .sub-nav a[aria-current="page"] { background: var(--stone); color: var(--forest); box-shadow: inset 3px 0 0 var(--gold); }
  .site-nav__cta { margin-left: 16px; }
  .site-nav__group { display: none; }
  .sub-toggle--text {
    position: relative; width: auto; gap: 2px; padding: 8px 8px 8px 14px;
    font: 600 1rem var(--font); white-space: nowrap;
  }
  .sub-toggle--text::after {
    content: ""; position: absolute; left: 14px; right: 26px; bottom: 4px; height: 2px;
    background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
  }
  .sub-toggle--text:hover::after, .sub-toggle--text[aria-expanded="true"]::after { transform: scaleX(1); }
  .has-sub--group.is-current > .sub-toggle--text::after { transform: scaleX(1); background: var(--forest); }
}
@media (min-width: 1024px) and (hover: hover) {
  .has-sub:hover .sub-nav { display: block; }
}

/* Breadcrumb */
.breadcrumb { padding: 14px 0; font-size: .9375rem; border-bottom: 1px solid var(--line); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: var(--grey); }
.breadcrumb [aria-current] { color: var(--grey); }

/* ------------------------------------------------------------- Sections */
.section { padding-block: var(--section); }
.section--flush-top { padding-top: 0; }
.section--tint { background: var(--stone); }
.section--navy { background: var(--deep); color: var(--white); }
.section--navy h2 { color: var(--white); }
.section--ribbon { padding-block: 56px 72px; border-top: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head h2 { margin-bottom: 16px; }

/* Dark bands carry the one distinctive device: a faint contour-line landform */
.section--navy, .cta-band {
  background-image: url("../img/contours.svg");
  background-size: cover; background-position: center;
}
.section--navy, .cta-band { --focus: var(--white); }

/* ------------------------------------------------------------- Grids */
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .grid { gap: 24px; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ------------------------------------------------------------- Home hero */
.hero { position: relative; isolation: isolate; color: var(--white); background: var(--forest); --focus: var(--white); }
.hero__media, .hero__media picture, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media { z-index: -1; }
.hero__media img { object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 43, 29, .82) 0%, rgba(15, 43, 29, .9) 100%);
}
.hero__content { padding-block: 72px 132px; }
.hero__title { color: var(--white); max-width: 18ch; margin-bottom: 20px; text-wrap: balance; }
.hero__lead { max-width: 38ch; font-size: clamp(1.125rem, 1.02rem + .5vw, 1.375rem); line-height: 1.5; color: rgba(255, 255, 255, .95); }
@media (min-width: 1024px) {
  .hero { min-height: min(78vh, 720px); display: flex; align-items: center; }
  .hero__content { padding-block: 96px 176px; }
  .hero__media::after {
    background: linear-gradient(90deg, rgba(15, 43, 29, .94) 0%, rgba(15, 43, 29, .88) 45%, rgba(15, 43, 29, .45) 100%);
  }
}

/* Split panel overlapping the hero */
.split-panel {
  position: relative; z-index: 2; margin-top: -88px;
  display: grid; grid-template-columns: 1fr; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.split-panel__col { padding: 28px 24px; }
.split-panel__col + .split-panel__col { border-top: 1px solid var(--line); }
.split-panel__icon { margin-bottom: 20px; }
@media (min-width: 800px) {
  .split-panel { grid-template-columns: 1fr 1fr; margin-top: -120px; }
  .split-panel__col { padding: 40px 44px; }
  .split-panel__col + .split-panel__col { border-top: 0; border-left: 1px solid var(--line); }
}

.bridge { max-width: 820px; margin: 56px auto 0; text-align: center; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); }
.bridge__lead { display: block; margin-bottom: 10px; font-size: clamp(1.625rem, 1.3rem + 1.3vw, 2.25rem); line-height: 1.2; color: var(--forest); }

/* ------------------------------------------------------------- Division cards */
.division-cards { display: grid; gap: 24px; margin-top: 72px; }
@media (min-width: 900px) { .division-cards { grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 96px; } }
.division-card {
  display: flex; flex-direction: column; background: var(--stone);
  border: 1px solid var(--line); border-top: 6px solid var(--forest); border-radius: var(--radius); overflow: hidden;
}
.division-card--regen { border-top-color: var(--gold); }
.division-card__media { aspect-ratio: 16 / 9; overflow: hidden; }
.division-card__media picture, .division-card__media img { width: 100%; height: 100%; object-fit: cover; }
.division-card__body { display: flex; flex-direction: column; flex: 1; padding: 28px 24px 32px; }
@media (min-width: 1024px) { .division-card__body { padding: 36px 40px 40px; } }
.division-card__title { font-size: clamp(1.625rem, 1.4rem + .8vw, 2rem); margin-bottom: 4px; }
.division-card__tagline { font-size: 1.125rem; font-weight: 600; color: var(--forest); margin-bottom: 16px; }
.division-card__foot { margin-top: auto; padding-top: 24px; }

/* ------------------------------------------------------------- Split layout: text + figure */
.split-layout { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .split-layout { grid-template-columns: 5fr 7fr; gap: 64px; } }
.split-layout__text p { max-width: 60ch; }

/* ------------------------------------------------------------- Audience cards */
.card {
  position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden;
  padding: 32px 28px 28px; background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 1px 2px rgba(15, 43, 29, .05), 0 4px 14px rgba(15, 43, 29, .04);
  transition: box-shadow .22s ease, translate .22s ease, border-color .22s ease;
}
.card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--forest);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.card__icon { margin-bottom: 24px; }
.card__title { margin-bottom: 10px; font-size: clamp(1.1875rem, 1.1rem + .35vw, 1.375rem); line-height: 1.25; letter-spacing: 0; }
.card__body { margin: 0; }
.card__link { color: var(--deep); text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: 10px; }
.card__link:focus-visible { outline: none; }
.card--link:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.card--link:hover { translate: 0 -4px; border-color: transparent; box-shadow: 0 2px 4px rgba(15, 43, 29, .06), 0 18px 40px rgba(15, 43, 29, .14); }
.card--link:hover::before { transform: scaleX(1); }
.card--link:hover .card__link { color: var(--forest); }
.card__more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px;
  font-weight: 600; font-size: .9375rem; color: var(--forest);
}
.card__arrow { width: 20px; height: 20px; transition: transform .2s ease; }
.card--link:hover .card__arrow { transform: translateX(4px); }
.card .sector-icons { margin-top: 20px; }

.sector-icons { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.sector-icons li { display: inline-flex; }

/* ------------------------------------------------------------- Logo ribbon */
.logo-ribbon {
  list-style: none; display: flex; gap: 12px; align-items: center;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 16px; margin: 0 calc(-1 * var(--gutter));
  padding-inline: var(--gutter); scrollbar-width: thin;
}
.logo-ribbon__item { flex: 0 0 auto; scroll-snap-align: start; }
.logo-ribbon a { display: flex; align-items: center; justify-content: center; width: 156px; height: 88px; padding: 14px 18px; border-radius: 3px; }
.logo-ribbon img { max-height: 44px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .2s ease, opacity .2s ease; }
.logo-ribbon a:hover img, .logo-ribbon a:focus-visible img { filter: none; opacity: 1; }
.logo-ribbon__item--ghd img { max-height: 48px; }
.logo-ribbon__item--jws img { max-height: 46px; }
.logo-ribbon__item--rep img { max-height: 42px; }
.logo-ribbon__item--qrc img { max-height: 52px; }
.logo-ribbon__item--baa img { max-height: 46px; }
.logo-ribbon__item--bmd img { max-height: 30px; }
.logo-ribbon__item--verterra img { max-height: 36px; }
@media (min-width: 1024px) {
  .logo-ribbon { justify-content: space-between; overflow: visible; margin: 0; padding-inline: 0; }
  .logo-ribbon__item { flex: 1 1 0; min-width: 0; }
  .logo-ribbon a { width: 100%; max-width: 180px; margin-inline: auto; padding: 14px 10px; }
}
.section--ribbon .btn-row { margin-top: 32px; }

/* ------------------------------------------------------------- CTA band */
.cta-band { background-color: var(--forest); color: var(--white); padding-block: clamp(72px, 9vw, 112px); text-align: center; }
.cta-band__inner { max-width: 860px; }
.cta-band__title { color: var(--white); font-size: clamp(2rem, 1.5rem + 2.2vw, 3.125rem); line-height: 1.1; margin-bottom: 20px; }
.cta-band__text { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem); color: rgba(255, 255, 255, .92); max-width: 52ch; margin-inline: auto; }
.cta-band .btn-row { margin-top: 32px; }

/* ------------------------------------------------------------- Division page hero */
.page-hero { position: relative; color: var(--white); background-color: var(--forest); --focus: var(--white); }
.page-hero__media { aspect-ratio: 16 / 9; overflow: hidden; }
.page-hero__media picture, .page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__inner { position: relative; }
.page-hero__text { padding-block: 40px 56px; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero__tagline { font-size: clamp(1.375rem, 1.2rem + .8vw, 1.875rem); font-weight: 600; line-height: 1.25; margin-bottom: 8px; }
.page-hero__tagline::before { content: ""; display: block; width: 48px; height: 3px; background: var(--gold); margin-bottom: 20px; }
.page-hero__lead { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem); max-width: 34ch; color: rgba(255, 255, 255, .92); }
.page-hero--rehab { border-bottom: 6px solid var(--forest); }
.page-hero--regen { border-bottom: 6px solid var(--gold); }
/* ReGen hero: base rules; the palette section at the end sets the deep forest panel with the gold rule */
.page-hero--regen { background-color: var(--gold); color: var(--deep); --focus: var(--deep); }
.page-hero--regen h1 { color: var(--deep); }
.page-hero--regen .page-hero__tagline::before { background: var(--deep); }
.page-hero--regen .page-hero__lead { color: var(--deep); }
@media (min-width: 960px) {
  .page-hero { min-height: 540px; display: flex; align-items: center; }
  .page-hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; aspect-ratio: auto; }
  .page-hero__text { width: 50%; padding: 88px 56px 96px 0; }
}

/* ------------------------------------------------------------- Editorial text blocks */
.editorial { display: grid; gap: 24px; margin-bottom: 56px; }
.editorial:last-child { margin-bottom: 0; }
.editorial__lead { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.625rem); line-height: 1.4; font-weight: 600; color: var(--deep); }
.editorial__body { max-width: 68ch; }
@media (min-width: 1024px) {
  .editorial { grid-template-columns: 5fr 7fr; gap: 64px; }
  .editorial--h h2 { margin: 0; }
}

/* ------------------------------------------------------------- Diagrams */
.diagram { margin: 0; }
.dg { width: 100%; height: auto; font-family: var(--font); overflow: visible; }
.dg-label { font-size: 16px; }
.dg-small { font-size: 14px; }
.dg-strong { font-weight: 600; }
.dg-title { font-size: 22px; font-weight: 600; }
.dg--tall { display: none; }
@media (max-width: 639px) {
  .dg--wide { display: none; }
  .dg--tall { display: block; }
}
.diagram--flow .dg--wide { max-width: 640px; margin-inline: auto; }
.diagram--flow .dg--tall { max-width: 340px; margin-inline: auto; }
.diagram--overlap .dg--wide { max-width: 760px; margin-inline: auto; }
.diagram--overlap .dg--tall { max-width: 340px; margin-inline: auto; }

/* Before and after schematic */
.diagram--compare { display: grid; gap: 20px; margin-top: 16px; }
@media (min-width: 760px) { .diagram--compare { grid-template-columns: 1fr 1fr; gap: 28px; } }
.compare-panel {
  padding: 24px 22px 16px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid #5D6A61; border-radius: 10px;
  box-shadow: 0 1px 2px rgba(15, 43, 29, .05), 0 4px 14px rgba(15, 43, 29, .04);
}
.compare-panel--transferred { border-top-color: var(--forest); }
.compare-panel__title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; font-size: 1.1875rem; font-weight: 600; margin-bottom: 12px; }
.compare-panel__tag { padding: 3px 12px; border-radius: 999px; font-size: .8125rem; font-weight: 600; letter-spacing: .02em; background: #F6F5F0; color: #5D6A61; }
.compare-panel--transferred .compare-panel__tag { background: #F6F5F0; color: var(--forest); }
.compare-panel .dg { max-width: 460px; margin-inline: auto; }
@media (max-width: 639px) { .compare-panel .dg-small { font-size: 16px; } .compare-panel .dg-label { font-size: 18px; } .compare-panel { padding-inline: 12px; } }

/* Hub and spoke */
.hub-compare { display: grid; gap: 24px; margin-block: 8px 8px; }
@media (min-width: 1140px) { .hub-compare { grid-template-columns: 1fr 1fr; gap: 32px; } }
.hub-single { max-width: 720px; margin: 8px auto; }
/* Text beside the hub graphic on wide screens; stacked below 1200 px so the diagram text stays legible */
.split-hub { display: grid; gap: 40px; }
.split-hub__text p { max-width: 60ch; }
.split-hub__text h2 { margin-bottom: 20px; }
@media (min-width: 1200px) {
  .split-hub { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 56px; align-items: center; }
  .split-hub .hub-single { max-width: none; margin: 0; }
  .split-hub .diagram--hub { padding: 22px 18px; }
}
.diagram--hub { padding: 28px 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); box-shadow: 0 1px 2px rgba(15, 43, 29, .05), 0 4px 14px rgba(15, 43, 29, .04); }
.diagram--hub .dg--wide { max-width: 640px; margin-inline: auto; }
.diagram--hub .dg--tall { max-width: 340px; margin-inline: auto; }
.diagram--muted { background: var(--stone); }
.diagram__label { font-weight: 600; font-size: 1.0625rem; margin-bottom: 16px; }
.diagram--muted .diagram__label { color: var(--grey); }

/* ------------------------------------------------------------- Stats */
.stat-band h2 { margin-bottom: 40px; }
.stats { display: grid; gap: 32px; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 640px) { .stats--4 { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; } }
@media (min-width: 1024px) {
  .stats--4 { grid-template-columns: repeat(4, 1fr); }
  .stats--4 .stat__num { font-size: clamp(2.75rem, 1rem + 3.2vw, 4rem); }
}
.stat { padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .25); }
.stat__num { margin: 0 0 8px; font-family: var(--serif); font-size: clamp(3rem, 2.3rem + 3vw, 4.75rem); line-height: 1; color: var(--gold); font-variant-numeric: lining-nums tabular-nums; }
.stat__label { font-size: 1.125rem; color: var(--white); }
.stat-band__source { margin-top: 28px; font-size: .875rem; }
.stat-band__close { margin-top: 40px; max-width: 60ch; font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem); color: rgba(255, 255, 255, .92); }

/* ------------------------------------------------------------- Process steps */
.process { --steps: 4; list-style: none; display: grid; gap: 0; margin-top: 32px; }
.process--5 { --steps: 5; }
.process__step { position: relative; display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; align-content: start; padding-bottom: 36px; }
.process__step:last-child { padding-bottom: 0; }
.process__step::before {
  content: ""; position: absolute; left: 31px; top: 76px; bottom: 10px; width: 2px; border-radius: 2px;
  background: var(--forest);
}
.process__step:last-child::before { display: none; }
.process__step:nth-last-child(2)::before { background: linear-gradient(var(--forest), var(--gold)); }
.process__step:not(:last-child)::after {
  content: ""; position: absolute; left: 27px; bottom: 9px; width: 8px; height: 8px;
  border-right: 2px solid var(--forest); border-bottom: 2px solid var(--forest); transform: rotate(45deg);
}
.process__step:nth-last-child(2)::after { border-color: var(--gold); }
.process__marker { position: relative; grid-row: 1 / span 2; width: 64px; height: 64px; }
.process__circle {
  display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--forest); color: var(--forest); --i-fill: rgba(29, 74, 51, .14);
  box-shadow: 0 6px 18px rgba(15, 43, 29, .14);
}
.process__circle .icon { width: 38px; height: 38px; }
.process__num {
  position: absolute; top: -6px; left: -6px; display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--white);
  background: var(--forest); color: var(--white); font-size: .8125rem; font-weight: 600; line-height: 1;
}
.process__step--regen .process__circle { background: var(--gold); border-color: var(--gold); color: var(--deep); --i-fill: rgba(255, 255, 255, .6); }
.process__step--regen .process__num { background: var(--deep); }
.process__title { margin: 10px 0 4px; font-size: clamp(1.125rem, 1.08rem + .2vw, 1.25rem); }
.process__step p { color: var(--deep); margin: 0; }
@media (min-width: 1100px) {
  .process { grid-template-columns: repeat(var(--steps), 1fr); gap: 24px; }
  .process__step { grid-template-columns: 1fr; padding: 0 8px 0 0; }
  .process__step::before { left: 78px; right: -14px; top: 31px; bottom: auto; width: auto; height: 2px; }
  .process__step:nth-last-child(2)::before { background: linear-gradient(90deg, var(--forest), var(--gold)); }
  .process__step:not(:last-child)::after { left: auto; right: -13px; top: 27px; bottom: auto; transform: rotate(-45deg); }
  .process__marker { grid-row: auto; margin-bottom: 22px; }
  .process__title { margin-top: 0; }
}

/* ------------------------------------------------------------- Icon tiles */
.tiles { list-style: none; display: grid; gap: 16px; }
@media (min-width: 760px) { .tiles--3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.tile {
  display: flex; align-items: center; gap: 18px; padding: 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 1px 2px rgba(15, 43, 29, .05), 0 4px 14px rgba(15, 43, 29, .04);
}
@media (min-width: 760px) { .tiles--3 .tile { flex-direction: column; align-items: flex-start; gap: 22px; padding: 32px 28px; } }

.tile p { font-weight: 600; font-size: 1.125rem; line-height: 1.35; margin: 0; }
.tiles-note { margin-top: 28px; max-width: 68ch; color: var(--deep); }

/* ------------------------------------------------------------- Footer */
.site-footer { background: var(--deep); color: rgba(255, 255, 255, .88); font-size: 1rem; --focus: var(--white); }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.site-footer__top { display: grid; gap: 40px; padding-block: 64px 48px; }
@media (min-width: 900px) { .site-footer__top { grid-template-columns: 5fr 7fr; gap: 48px; } }
.site-footer__logo img { height: 52px; width: auto; margin-bottom: 24px; }
.site-footer__address { display: flex; gap: 10px; margin-bottom: 14px; font-style: normal; line-height: 1.55; }
.site-footer__address .icon { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--gold); }
.site-footer__contact { list-style: none; display: grid; gap: 10px; }
.site-footer__contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; }
.site-footer__contact .icon { width: 20px; height: 20px; color: var(--gold); }
.site-footer__nav ul { list-style: none; display: grid; row-gap: 4px; column-gap: 24px; }
@media (min-width: 480px) { .site-footer__nav ul { grid-template-columns: max-content max-content; grid-template-rows: repeat(4, auto); grid-auto-flow: column; column-gap: 64px; } }
.site-footer__nav a { display: inline-block; padding: 5px 0; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  padding-block: 20px 28px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .9375rem;
}
.site-footer__bottom ul { list-style: none; display: flex; gap: 24px; }


/* =========================================================================
   Secondary pages
   ========================================================================= */
.icon--sm { width: 16px; height: 16px; }
.spaced { margin-top: 28px; }
.spaced-lg { margin-top: 56px; }
.prose { max-width: 68ch; }
.prose--after { margin-top: 48px; }
.prose__label { margin-top: 32px; }
.prose .sector-icons { margin-top: 4px; margin-bottom: 24px; }
.section-head--center { margin-inline: auto; text-align: center; }
.grid--2 { grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .split-layout--even { grid-template-columns: 1fr 1fr; }
  .split-layout--text-wide { grid-template-columns: 7fr 4fr; align-items: start; }
}

/* Short page hero: forest band, or photograph under a deep forest overlay */
.short-hero { position: relative; isolation: isolate; color: var(--white); background-color: var(--forest); --focus: var(--white);
  background-image: url("../img/contours.svg"); background-size: cover; background-position: center; }
.short-hero__inner { padding-block: clamp(56px, 8vw, 104px); }
.short-hero h1 { color: var(--white); margin: 0; max-width: 20ch; }
.short-hero__strap { margin: 16px 0 0; max-width: 40ch; font-size: clamp(1.25rem, 1.1rem + .7vw, 1.625rem); line-height: 1.35; color: rgba(255, 255, 255, .94); }
.short-hero__strap::before { content: ""; display: block; width: 48px; height: 3px; background: var(--gold); margin-bottom: 18px; }
.short-hero--photo { background-image: none; }
.short-hero__media, .short-hero__media picture, .short-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.short-hero__media { z-index: -1; }
.short-hero__media img { object-fit: cover; }
.short-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 43, 29, .93) 0%, rgba(15, 43, 29, .86) 50%, rgba(15, 43, 29, .55) 100%); }
@media (max-width: 767px) { .short-hero__media::after { background: rgba(15, 43, 29, .88); } }
.short-hero--photo .short-hero__inner { padding-block: clamp(72px, 10vw, 136px); }

/* Media card: sectors and pipeline */
.media-card { display: flex; flex-direction: column; height: 100%; background: var(--stone); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.section--tint .media-card { background: var(--white); }
.media-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.media-card__media picture, .media-card__media img { width: 100%; height: 100%; object-fit: cover; }
.media-card__media .ph-img { height: 100%; border: 0; border-bottom: 1px dashed #5D6A61; }
.media-card__body { padding: 24px 24px 28px; }
.media-card__title { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.section--tint .media-card__body p { margin: 0; }
@media (min-width: 640px) and (max-width: 1023px) { .sector-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .sector-grid { display: flex; flex-wrap: wrap; justify-content: center; }
  .sector-grid > * { flex: 0 0 calc((100% - 48px) / 3); height: auto; }
}

.land-grid { margin-top: 40px; }
.callout { margin-top: 48px; padding: 28px 28px 28px 32px; background: var(--stone); border-left: 6px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; }
.callout p { font-size: clamp(1.1875rem, 1.1rem + .5vw, 1.5rem); line-height: 1.4; font-weight: 600; color: var(--deep); max-width: 60ch; }

/* Icon row: site fundamentals */
.icon-row { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; }
@media (min-width: 640px) { .icon-row { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .icon-row { grid-template-columns: repeat(5, 1fr); } }
.icon-row li { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.icon-row__label { font-weight: 600; line-height: 1.3; }

/* Who we work with */
.parties { list-style: none; display: grid; gap: 24px; }
@media (min-width: 640px) { .parties { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .parties { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.party { padding-top: 20px; border-top: 3px solid var(--gold); }
.party__icon { margin-bottom: 16px; }

/* Diagrams on secondary pages */
.diagram--venn .dg { max-width: 480px; margin-inline: auto; }
.dg-venn { font-size: 18px; }
@media (max-width: 639px) { .diagram--venn .dg-venn { font-size: 21px; } }
.diagram--map .dg { max-width: 560px; margin-inline: auto; }

/* About: division tiles, value comparison, pull quote */
.division-tiles { list-style: none; display: grid; gap: 16px; margin-top: 20px; max-width: 980px; }
.division-tiles--wide { max-width: none; margin-top: 40px; }
.division-tiles--wide .division-tile { align-items: flex-start; }
@media (min-width: 760px) { .division-tiles { grid-template-columns: 1fr 1fr; gap: 24px; } }
.division-tile { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; height: 100%; padding: 24px 24px 24px 28px;
  background: var(--stone); border: 1px solid var(--line); border-left: 6px solid var(--forest); border-radius: var(--radius);
  color: var(--deep); text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease; }
.division-tile--regen { border-left-color: var(--gold); }
.division-tile:hover { color: var(--deep); box-shadow: var(--shadow); border-color: var(--gold); }
.division-tile--rehab:hover { border-left-color: var(--forest); }
.division-tile__arrow { color: var(--forest); transition: transform .18s ease; }
.division-tile:hover .division-tile__arrow { transform: translateX(4px); }
.value-compare { display: grid; gap: 16px; max-width: 1000px; margin-inline: auto; }
@media (min-width: 760px) { .value-compare { grid-template-columns: 1fr 1fr; gap: 24px; } }
.value-compare__col { padding: 32px 28px; border-radius: var(--radius); }
.value-compare__col p { font-size: 1.125rem; }
.value-compare__col--rehab { background: var(--forest); color: var(--white); }
.value-compare__col--regen { background: var(--gold); color: var(--deep); }
.value-compare__name { font-size: .8125rem !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.pull-quote { margin: 56px auto 0; max-width: 820px; text-align: center; }
.pull-quote p { font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.2; font-weight: 600; color: var(--forest); text-wrap: balance; }
.pull-quote::before { content: ""; display: block; width: 56px; height: 3px; background: var(--gold); margin: 0 auto 24px; }

/* Team */
.stat-card { padding: 32px; background: var(--deep); border-radius: var(--radius); color: var(--white);
  background-image: url("../img/contours.svg"); background-size: cover; }
.stat-card .stat { padding-top: 0; border-top: 0; }
.team-grid { align-items: stretch; }
.team-card { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.team-card__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.team-card__photo picture, .team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__photo .ph-img { height: 100%; border: 0; }
.team-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 28px; }
.team-card__name { margin-bottom: 2px; }
.team-card__role { font-weight: 600; color: var(--forest); margin-bottom: 14px; }
.team-card__link { margin-top: auto; padding-top: 16px; }
.team-card__link a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.team-card__link .icon { width: 20px; height: 20px; }
.team-card--small { background: var(--stone); }
.team-card--small .team-card__photo { width: 160px; margin: 24px 24px 0; border-radius: var(--radius); }
@media (min-width: 560px) {
  .team-card--small { flex-direction: row; align-items: flex-start; }
  .team-card--small .team-card__photo { flex: 0 0 150px; width: 150px; margin: 24px 0 24px 24px; }
}

/* Partners */
.partner-card { display: flex; flex-direction: column; height: 100%; padding: 28px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.partner-card__logo { display: flex; align-items: center; height: 88px; margin-bottom: 20px; }
.partner-card__logo img { max-height: 64px; width: auto; max-width: 220px; object-fit: contain; }
.partner-card__logo--bmd img { max-height: 40px; }
.partner-card__logo--jws img { max-height: 72px; }
.partner-card__logo--verterra img { max-height: 48px; }
.partner-card__link { margin-top: auto; padding-top: 16px; }
.partner-card__link a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; overflow-wrap: anywhere; }
.partner-card--small { flex-direction: row; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.partner-card--small .partner-card__logo { flex: 0 0 132px; height: 72px; margin: 0; }
.partner-card--small .partner-card__logo img { max-height: 60px; max-width: 132px; }
.partner-card--small .partner-card__desc { flex: 1 1 220px; margin: 0; }
.partner-card--small .partner-card__link { flex-basis: 100%; }
.feature-partner { display: grid; gap: 28px; align-items: center; padding: 32px 28px; border: 1px solid var(--line); border-top: 6px solid var(--gold); border-radius: var(--radius); background: var(--stone); }
@media (min-width: 900px) { .feature-partner { grid-template-columns: 3fr 9fr; gap: 48px; padding: 48px; } }
.feature-partner__logo { display: flex; align-items: center; justify-content: center; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.feature-partner__logo img { width: 200px; }
.feature-partner__text p { max-width: 68ch; }
.tiles--caps { grid-template-columns: 1fr; }
@media (min-width: 640px) { .tiles--caps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tiles--caps { grid-template-columns: repeat(3, 1fr); } }
.tile--cap { flex-direction: row !important; align-items: center; padding: 20px 24px; }

/* Contact */
.contact-intro { max-width: 30ch; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); line-height: 1.25; font-weight: 600; color: var(--deep); margin-bottom: 40px; }
@media (min-width: 1024px) { .contact-intro { max-width: 36ch; } }
.aud-tiles { list-style: none; display: grid; gap: 16px; }
@media (min-width: 640px) { .aud-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .aud-tiles { grid-template-columns: repeat(3, 1fr); } }
.aud-tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-start; width: 100%; height: 100%; padding: 24px 56px 24px 24px; text-align: left; cursor: pointer;
  font: inherit; color: var(--deep); background: var(--stone); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.aud-tile:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.aud-tile__title { display: block; font-weight: 600; font-size: 1.1875rem; line-height: 1.3; margin-bottom: 8px; }
.aud-tile__text { display: block; }
.aud-tile__check { position: absolute; top: 22px; right: 20px; width: 24px; height: 24px; border: 2px solid #5D6A61; border-radius: 50%; }
.aud-tile[aria-pressed="true"] { background: var(--white); border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }
.aud-tile[aria-pressed="true"] .aud-tile__check { background: var(--forest); border-color: var(--forest); }
.aud-tile[aria-pressed="true"] .aud-tile__check::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.contact-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 8fr 4fr; gap: 64px; align-items: start; } }
.contact-form { display: grid; gap: 20px; padding: 28px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: calc(var(--header-h) + 24px); }
@media (min-width: 760px) { .contact-form { grid-template-columns: 1fr 1fr; gap: 24px; padding: 40px; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; }
.field__opt { font-weight: 400; color: var(--grey); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--deep);
  background: var(--white); border: 1px solid #5D6A61; border-radius: 3px;
}
.field textarea { min-height: 160px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--deep) 50%), linear-gradient(135deg, var(--deep) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--deep); }
.field [aria-invalid="true"] { border-color: #B3261E; border-width: 2px; }
.field__error { margin: 0; color: #B3261E; font-size: .9375rem; font-weight: 600; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-status { margin: 0; }
.contact-aside__email a { display: inline-flex; align-items: center; gap: 12px; font-size: 1.25rem; font-weight: 600; }
.contact-aside__email .icon { color: var(--forest); }
.contact-aside__title { font-size: 1.125rem; margin-bottom: 12px; }
.contact-aside__address { display: flex; gap: 12px; margin-bottom: 18px; font-style: normal; font-size: 1.0625rem; line-height: 1.55; }
.contact-aside__address .icon { flex: none; margin-top: 2px; color: var(--forest); }
.form-notice { margin: 0; font-size: .9375rem; line-height: 1.55; color: var(--deep); }

/* ------------------------------------------------------------- Motion (fade-in only) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------------------- Legal pages */
.legal { max-width: 76ch; }
.legal h2 { margin: 44px 0 12px; font-size: clamp(1.25rem, 1.15rem + .4vw, 1.5rem); scroll-margin-top: calc(var(--header-h) + 16px); }
.legal__num { color: var(--forest); }
.legal__updated { color: var(--grey); font-size: .9375rem; }
.legal__toc { margin: 24px 0 8px; padding: 20px 24px; background: var(--stone); border: 1px solid var(--line); border-radius: 10px; }
.legal__toc-title { margin-bottom: 8px; font-weight: 600; }
.legal__toc ol { margin: 0; padding-left: 1.4em; }
@media (min-width: 760px) { .legal__toc ol { columns: 2; column-gap: 40px; } }
.legal__toc li { margin: 0 0 8px; break-inside: avoid; }
.legal ul { padding-left: 1.25em; margin: 0 0 16px; }
.legal li { margin: 6px 0; }
.legal address { font-style: normal; line-height: 1.65; }

/* ------------------------------------------------------------- Print */
@media print {
  .site-header, .nav-toggle, .cta-band .btn-row, .skip-link { display: none; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* =========================================================================
   Forest and gold palette (approved 13 October 2026).
   Seven colours: forest, deep forest, gold, navy (data bands only), stone, line, grey.
   ========================================================================= */
h1, h2, h3, h4 { color: var(--forest); }
.card__link, .division-tile, .division-tile:hover { color: var(--forest); }

/* Buttons */
.btn--primary:hover { background: var(--deep); }
.btn--on-dark { background: var(--gold); color: var(--deep); border-color: var(--gold); }
.btn--on-dark:hover { background: var(--white); color: var(--deep); border-color: var(--white); }
.btn--on-accent:hover { background: var(--deep); border-color: var(--deep); }

/* Dark surfaces: forest for brand bands, deep forest for the footer, navy for data only */
.site-footer, .skip-link { background: var(--deep); }
.section--navy, .stat-card { background-color: var(--navy); }

/* One accent device: the gold rule */
.eyebrow::before { background: var(--gold); }
.sub-nav a:hover, .sub-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); }

/* Divisions: ReHab forest, ReGen gold */
.page-hero--rehab { border-bottom-color: var(--forest); }
.page-hero--regen { background-color: var(--deep); color: var(--white); --focus: var(--white); border-bottom-color: var(--gold); }
.page-hero--regen h1 { color: var(--white); }
.page-hero--regen .page-hero__lead { color: rgba(255, 255, 255, .92); }
.page-hero--regen .page-hero__tagline::before { background: var(--gold); }
.page-hero--regen .btn--on-accent { background: var(--gold); color: var(--deep); border-color: var(--gold); --focus: var(--white); }
.page-hero--regen .btn--on-accent:hover { background: var(--white); color: var(--deep); border-color: var(--white); }
.ibox--regen { color: var(--deep); --i-fill: rgba(255, 255, 255, .5); }
.process__step--regen .process__circle { color: var(--deep); }
.process__step--regen .process__num { background: var(--deep); }
.value-compare__col--regen { background: var(--stone); color: var(--deep); box-shadow: inset 0 4px 0 var(--gold); }
.compare-panel--transferred .compare-panel__tag { color: var(--forest); }

/* =========================================================================
   Closure and transition planning page (added 19 October 2026)
   ========================================================================= */
.sub-nav .sub-nav__child a { padding-left: 36px; font-weight: 400; }
.card__stage { margin: 0 0 6px; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--forest); }
.card__list { list-style: none; margin: 4px 0 0; padding: 0; }
.card__list li { position: relative; padding-left: 18px; margin-bottom: 10px; }
.card__list li:last-child { margin-bottom: 0; }
.card__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.callout .btn-row { margin-top: 18px; }
.section-head--after { margin-top: clamp(40px, 6vw, 64px); }

/* Keep a compound word on one line */
.nowrap { white-space: nowrap; }

/* Narrative under a section heading, flowed across two columns on wide screens */
.prose--cols { max-width: none; }
@media (min-width: 900px) { .prose--cols { columns: 2; column-gap: 56px; } .prose--cols p { break-inside: avoid; margin-top: 0; margin-bottom: 20px; } }

/* Strategic partners: logo tiles linking to each site */
.partner-logos { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 8px; padding: 0; }
@media (min-width: 900px) { .partner-logos { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.partner-logos a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 28px 20px; height: 100%; transition: box-shadow .18s ease, border-color .18s ease; }
.partner-logos a:hover, .partner-logos a:focus-visible { box-shadow: var(--shadow); border-color: var(--gold); }
.partner-logos img { max-height: 52px; width: auto; max-width: 100%; object-fit: contain; }
.partner-logos__url { font-size: .85rem; font-weight: 600; color: var(--forest); }
