/* ═══════════════════════════════════════════════════════════
   Engroot Consulting · style.css
   Every colour, font and spacing value lives in :root.
   ═══════════════════════════════════════════════════════════ */
/* Fonts are self-hosted (fonts/), so the page renders with its real type straight away:
   no third-party request, no flash of a fallback font, no layout jump. Both are variable fonts (SIL OFL). */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  /* Stantec-style palette: charcoal, white and greys only */
  --ink: #262626;        /* text and dark bands */
  --char: #333333;       /* charcoal panels */
  --night: #1a1a1a;      /* footer */
  --forest: #333333;     /* brand charcoal: logo, buttons, bullets, figures */
  --leaf: #8c8c8c;       /* mid grey: focus rings and link underlines */
  --paper: #f2f2f2;      /* alternating section background */
  --line: #d9d9d9;       /* rules and borders */
  --slate: #666666;      /* secondary text */
  --white: #ffffff;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wide: 112;           /* font-stretch for headlines */
  --maxw: 1680px;        /* wide layout */
  --gut: clamp(24px, 4vw, 64px);
  --sec: clamp(64px, 8vw, 120px);
  --header-h: clamp(84px, 4.25rem + 2.4vw, 108px);   /* fluid: 84px at 1024 wide, 108px from ~1500 wide */
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; font-stretch: calc(var(--wide) * 1%); font-variation-settings: "wdth" var(--wide); line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 600; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.625rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.narrow { max-width: 860px; }
.fine { font-size: .875rem; color: var(--slate); margin-top: 24px; max-width: 70ch; }

/* Buttons & links */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px;
  font: 600 .9375rem/1 var(--font); text-decoration: none; border: 1.5px solid transparent;
  border-radius: 2px; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn .i-arrow { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: #e6e6e6; }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--leaf); padding-bottom: 2px; }
.link .i-arrow { width: 15px; height: 15px; }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; color: #fff;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .25s, color .25s, box-shadow .25s;
}
.site-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(10,10,10,.45), transparent); pointer-events: none; transition: opacity .25s; }
.site-header.scrolled, .site-header.open { background: var(--white); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.site-header.scrolled::before, .site-header.open::before { opacity: 0; }
.header-row { position: relative; display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { text-decoration: none; }
.logo { flex: none; }
.logo-lockup { display: inline-flex; align-items: center; gap: clamp(12px, 1.1vw, 16px); }
.mark { height: clamp(34px, 1.2rem + 1.3vw, 44px); width: auto; aspect-ratio: 739.45 / 579.56; flex: none; }
.wm { display: inline-flex; flex-direction: column; line-height: 1; font-family: "Montserrat", "Archivo", Arial, sans-serif; }
.wm-name { font-size: clamp(1.3125rem, .85rem + .7vw, 1.75rem); font-weight: 600; text-transform: uppercase; letter-spacing: .44em; margin-right: -.44em; }
.wm-sub { display: flex; align-items: center; gap: 12px; margin-top: 10px; font-size: .7rem; font-weight: 400; text-transform: uppercase; letter-spacing: .38em; margin-right: -.38em; }
.wm-rule { flex: 1; height: 1px; background: currentColor; opacity: .45; }

.nav { display: flex; align-items: center; gap: clamp(24px, 2.6vw, 48px); }
.nav > ul { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 44px); }
.nav li { position: relative; display: flex; align-items: center; }
.nav > ul > li > a { display: block; font-weight: 600; font-size: clamp(.875rem, .72rem + .25vw, 1rem); text-transform: uppercase; letter-spacing: .09em; line-height: 1; white-space: nowrap; text-decoration: none; padding: 10px 0 8px; border-bottom: 2px solid transparent; transition: border-color .2s; }
.nav > ul > li > a:hover, .nav a[aria-current] { border-bottom-color: var(--leaf); }
.sub-toggle { display: none; background: none; border: 0; color: inherit; padding: 8px; cursor: pointer; }
.sub-toggle svg { width: 12px; height: 8px; }
.sub {
  position: absolute; top: 100%; left: -20px; min-width: 280px; background: var(--white); color: var(--ink);
  padding: 12px 0; box-shadow: 0 18px 40px rgba(20,20,20,.14); border-top: 3px solid var(--forest);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 10px 24px; text-decoration: none; font-size: 1rem; white-space: nowrap; }
.sub a:hover { background: var(--paper); color: var(--forest); }
.btn-nav { background: var(--forest); color: #fff; padding: 15px clamp(20px, 1.6vw, 28px); font-size: clamp(.875rem, .72rem + .25vw, 1rem); text-transform: uppercase; letter-spacing: .09em; white-space: nowrap; }
.btn-nav:hover { background: #000; }
.site-header:not(.scrolled):not(.open) .btn-nav { background: #fff; color: var(--char); }
.site-header:not(.scrolled):not(.open) .btn-nav:hover { background: #e6e6e6; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: inherit; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: .2s; }
.nav-toggle span:first-child { top: 17px; } .nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Short screens (a laptop zoomed to 150-200%, or a landscape phone): keep the fixed header slim. */
@media (max-height: 560px) { :root { --header-h: 68px; } }
@media (max-width: 1023.98px) {
  :root { --header-h: 76px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0; background: var(--white); color: var(--ink);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gut) calc(40px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto; display: none;
  }
  .site-header.open .nav { display: flex; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .nav > ul > li > a { padding: 18px 0; font-size: 1rem; border: 0; }
  .sub-toggle { display: block; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; width: 100%; padding: 0 0 12px; display: none; }
  .has-sub.open .sub { display: block; }
  .has-sub.open .sub-toggle svg { transform: rotate(180deg); }
  .sub a { padding: 10px 0 10px 14px; color: var(--slate); white-space: normal; }
  .sub li { border-bottom: 0; }
  .btn-nav { margin-top: 24px; justify-content: center; padding: 18px 24px; }
}

/* ── Media slots (photo, or a quiet colour field until a photo is added) ── */
.media { position: relative; overflow: hidden; background: linear-gradient(155deg, #5c5c5c 0%, #3a3a3a 45%, #1f1f1f 100%); }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-cap { position: absolute; right: 10px; bottom: 10px; font-size: .6875rem; color: rgba(255,255,255,.85); background: rgba(20,20,20,.5); padding: 3px 8px; }

/* ── Home hero ───────────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--ink); }
.hero-media { position: absolute; inset: 0; }
.hero-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.hero-vid.on { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,15,15,.78) 0%, rgba(15,15,15,.35) 45%, rgba(15,15,15,.1) 75%); pointer-events: none; }
.hero-text { position: relative; z-index: 2; padding-bottom: 40px; }

.hero h1 { max-width: 100%; font-size: clamp(1.5rem, 2.6vw, 2.625rem); line-height: 1.22; font-variation-settings: "wdth" 108; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.92); }
.hero .lead { max-width: 52ch; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); margin: 28px 0 36px; color: rgba(255,255,255,.9); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-foot { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding-top: 22px; padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px)); --rule: rgba(255,255,255,.28); background-image: linear-gradient(var(--rule), var(--rule)); background-repeat: no-repeat; background-size: calc(100% - 2 * var(--gut)) 1px; background-position: var(--gut) 0; }
.hero-place { margin: 0; font-size: .875rem; color: rgba(255,255,255,.8); transition: opacity .6s; min-height: 1.4em; }
.hero-pause { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.hero-pause[hidden] { display: none; }
.hero-pause svg { width: 14px; height: 14px; fill: currentColor; }
.hero-pause.paused svg rect:last-child { display: none; }
.hero-pause.paused svg rect:first-child { width: 0; }
.hero-pause.paused::before { content: ""; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }

/* ── Inner-page hero ─────────────────────────────────────── */
.page-hero { position: relative; min-height: clamp(420px, 62vh, 620px); display: flex; align-items: flex-end; color: #fff; background: var(--ink); }
.page-hero-media { position: absolute; inset: 0; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,15,15,.8), rgba(15,15,15,.2) 70%); }
.page-hero-text { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 60px); padding-bottom: 56px; }
/* Every inner-page title (Services, Projects and sectors, Five disciplines..., Published works, About Engroot, Contact)
   uses exactly this font, weight and size. */
.page-hero h1 { font-family: var(--font); font-size: clamp(2.25rem, 1.5rem + 2.6vw, 4rem); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; font-variation-settings: "wdth" var(--wide); text-transform: none; max-width: 22ch; }
.page-hero .lead { max-width: 60ch; font-size: clamp(1.0625rem, .95rem + .35vw, 1.1875rem); margin: 20px 0 0; color: rgba(255,255,255,.9); }
.crumb { font-size: .875rem; color: rgba(255,255,255,.75); margin-bottom: 18px; }
.crumb a { text-decoration: none; } .crumb a:hover { text-decoration: underline; }
.page-hero-plain { min-height: 0; }
.page-hero-plain::after { display: none; }

/* ── Sections ───────────────────────────────────────────── */
.band { padding: var(--sec) 0; }
.band-paper { background: var(--paper); }
.band-forest { background: var(--char); color: #fff; }
.band-forest p { color: rgba(255,255,255,.85); }
.band-forest .narrow h2 { margin-bottom: 20px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }

.intro { padding-top: var(--sec); padding-bottom: var(--sec); }
.intro-big { font-size: clamp(1.5rem, 2.8vw, 2.375rem); line-height: 1.3; font-weight: 400; max-width: 30ch; font-variation-settings: "wdth" 104; margin-bottom: 64px; }
.intro-mid { font-size: 1.5rem; line-height: 1.35; margin-top: 20px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stats-top { margin: 72px 0 56px; }
.stat { padding: 28px 24px 0 0; }
.stat-n { display: block; font-size: clamp(2.25rem, 4vw, 3.25rem); font-weight: 600; font-variation-settings: "wdth" 112; line-height: 1; color: var(--forest); }
.stat-l { display: block; margin-top: 10px; font-size: .9375rem; color: var(--slate); max-width: 22ch; }

/* Projects */
.proj-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 28px; }
.proj { background: var(--white); display: flex; flex-direction: column; }
.proj-media { aspect-ratio: 16 / 9; }
.proj-big { grid-row: span 2; }
.proj-big .proj-media { aspect-ratio: auto; flex: 1; min-height: 360px; }
.proj-body { padding: 22px 24px 26px; }
.proj-body h3 { font-size: 1.0625rem; font-weight: 600; margin: 0 0 6px; }
.pcard-blurb { font-size: .9375rem; color: var(--slate); margin: 8px 0 10px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.proj-loc { font-size: .875rem; color: var(--slate); margin: 0; }
.proj-grid-all { grid-template-columns: repeat(3, 1fr); grid-template-rows: none; }
.proj-grid-all .proj { border: 1px solid var(--line); }

/* ── Stantec-style horizontal project carousel ── */
.proj-band { padding: var(--sec) 0; background: var(--white); }
.proj-band-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.pcarousel-wrap { position: relative; }
.pcarousel { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: max(var(--gut), calc((100vw - var(--maxw)) / 2 + var(--gut))); scroll-behavior: smooth; -ms-overflow-style: none; scrollbar-width: none; padding: 0 max(var(--gut), calc((100vw - var(--maxw)) / 2 + var(--gut))); gap: 24px; }
.pcarousel::-webkit-scrollbar { display: none; }
.pcard { border: 1px solid var(--line); flex: 0 0 clamp(320px, 32vw, 500px); scroll-snap-align: start; background: var(--white); display: flex; flex-direction: column; cursor: pointer; }
.pcard-media { aspect-ratio: 3 / 2; overflow: hidden; }
.pcard-media img { transition: transform .5s ease; }
.pcard:hover .pcard-media img { transform: scale(1.04); }
.pcard-body { padding: 22px 26px 26px; }
.pcard-body h3 { font-size: 1.125rem; font-weight: 600; margin: 0 0 6px; line-height: 1.35; }
.pcar-prev, .pcar-next { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; background: var(--white); border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,.1); z-index: 2; transition: background .18s; }
.pcar-prev { left: max(8px, calc(var(--gut) - 26px)); }
.pcar-next { right: max(8px, calc(var(--gut) - 26px)); }
.pcar-prev:hover, .pcar-next:hover { background: var(--ink); color: #fff; }
.pcar-prev svg, .pcar-next svg { width: 18px; height: 18px; }

/* Services list (home) */
.services-home, .sectors-home, .insights-home { padding-top: var(--sec); padding-bottom: var(--sec); }

/* ── Dillon-style services grid ── */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.svc-card { display: flex; flex-direction: column; gap: 14px; padding: 36px 32px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: background .18s; }
.svc-card:hover { background: var(--paper); }
.svc-card:nth-child(4n) { border-right: 0; }
.svc-icon { width: 40px; height: 40px; color: var(--char); flex: none; }
.svc-icon svg { width: 40px; height: 40px; }
.svc-card h3 { font-size: 1.125rem; font-weight: 600; margin: 0; line-height: 1.25; }
.svc-card p { color: var(--slate); font-size: .9375rem; margin: 0; flex: 1; }
.svc-more { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 600; color: var(--char); margin-top: auto; }
.svc-more .i-arrow { width: 14px; height: 14px; transition: transform .2s; }
.svc-card:hover .svc-more .i-arrow { transform: translateX(3px); }

/* Rooted in Winnipeg */
.rooted { display: grid; grid-template-columns: 1.5fr 1fr; min-height: 560px; }
.rooted-media { min-height: 360px; }
.rooted-panel { background: var(--char); color: #fff; padding: clamp(40px, 6vw, 88px); display: flex; flex-direction: column; justify-content: center; }
.rooted-panel h2 { margin-bottom: 22px; }
.rooted-panel p { color: rgba(255,255,255,.88); margin-bottom: 32px; }
.rooted-panel .btn { align-self: flex-start; }

/* Sector tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { position: relative; display: block; aspect-ratio: 4 / 3; text-decoration: none; color: #fff; overflow: hidden; }
.tile-media { position: absolute; inset: 0; transition: transform .6s ease; }
.tile:hover .tile-media { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,15,15,.7), transparent 55%); }
.tile-label { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; font-size: 1.25rem; font-weight: 600; font-variation-settings: "wdth" 110; }

/* Greenery band */
.green { position: relative; padding: clamp(96px, 14vw, 180px) 0; }
.green-media { position: absolute; inset: 0; }
.green-inner { position: relative; z-index: 1; }
.green-card { background: var(--white); max-width: 560px; padding: clamp(32px, 4vw, 52px); }
.green-card h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 18px; }
.green-card p { color: var(--slate); margin-bottom: 26px; }

/* Insights */
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.note-card { display: block; text-decoration: none; border-top: 3px solid var(--forest); padding-top: 22px; }
.note-card h3 { font-size: 1.125rem; font-weight: 500; line-height: 1.35; font-variation-settings: "wdth" 100; }
.note-card:hover h3 { color: var(--forest); text-decoration: underline; text-decoration-color: var(--leaf); }
.note-meta { font-size: .8125rem; color: var(--slate); margin-bottom: 10px; }

/* CTA */
.cta { position: relative; color: #fff; padding: clamp(96px, 12vw, 160px) 0; background: var(--ink); }
.cta-media { position: absolute; inset: 0; }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,20,20,.92) 0%, rgba(20,20,20,.65) 55%, rgba(20,20,20,.3)); }
.cta-inner { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); max-width: 16ch; margin-bottom: 20px; }
.cta p { max-width: 50ch; color: rgba(255,255,255,.88); margin-bottom: 34px; font-size: 1.125rem; }

/* Services page */
.jump { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.jump a { font-size: .9375rem; text-decoration: none; color: var(--slate); }
.jump a:hover { color: var(--forest); }
.svc-wrap { padding-top: 24px; padding-bottom: var(--sec); }
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 72px 0; border-bottom: 1px solid var(--line); }
.svc:last-child { border-bottom: 0; }
.svc-intro h2 { margin-bottom: 20px; }
.svc-intro > p { color: var(--slate); font-size: 1.125rem; }
.caps { columns: 2; column-gap: 32px; }
.caps li { break-inside: avoid; padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); position: relative; font-size: .9688rem; }
.caps li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px; border-left: 2px solid var(--char); border-bottom: 2px solid var(--char); transform: rotate(-45deg); }
.caps-tight { columns: 1; margin-top: 20px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 36px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 18px; }
.steps li::before { content: counter(s); display: block; font-size: .875rem; font-weight: 600; color: var(--forest); margin-bottom: 8px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--slate); font-size: .9688rem; }

/* Sectors & disciplines */
.sector-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.sector { background: var(--white); scroll-margin-top: 100px; }
.sector-media { aspect-ratio: 16 / 9; }
.sector-body { padding: 28px 30px 32px; }
.sector-body h3 { font-size: 1.375rem; margin-bottom: 12px; }
.sector-body > p { color: var(--slate); }
.disc-wrap { padding-top: var(--sec); padding-bottom: var(--sec); display: grid; gap: var(--sec); }
.disc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; scroll-margin-top: 100px; }
.disc-media { aspect-ratio: 4 / 3; }
.disc-flip .disc-media { order: 2; }
.disc-body h2 { margin-bottom: 18px; }
.disc-body > p { color: var(--slate); font-size: 1.0625rem; }

/* FAQ */
.faq { padding-top: var(--sec); padding-bottom: var(--sec); max-width: 960px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 24px 40px 24px 0; font-size: 1.1875rem; font-weight: 600; position: relative; font-variation-settings: "wdth" 106; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 6px; top: 32px; width: 10px; height: 10px; border-right: 2px solid var(--forest); border-bottom: 2px solid var(--forest); transform: rotate(45deg); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(-135deg); top: 36px; }
.faq-item p { color: var(--slate); max-width: 70ch; padding-bottom: 12px; }

/* Insights page */
.pubs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; border-top: 1px solid var(--ink); }
.pub { padding: 28px 0; border-bottom: 1px solid var(--line); }
.pub-meta { display: flex; gap: 16px; font-size: .8125rem; color: var(--slate); margin-bottom: 10px; }
.pub-meta span:first-child { color: var(--forest); font-weight: 600; }
.pub h3 { font-size: 1.125rem; line-height: 1.35; font-variation-settings: "wdth" 102; margin-bottom: 8px; }
.pub-venue { color: var(--slate); font-size: .9375rem; font-style: italic; }
.pub-links { display: flex; gap: 20px; margin: 0; font-size: .875rem; font-weight: 600; }
.pub-links a { text-decoration: none; border-bottom: 2px solid var(--leaf); }
.verify { margin: 40px 0 var(--sec); color: var(--slate); }

/* About */
.split { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); padding-top: var(--sec); padding-bottom: var(--sec); }
.prose p { font-size: 1.125rem; color: #33404a; max-width: 62ch; }
.prose a { color: var(--forest); font-weight: 600; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
#credentials .values { grid-template-columns: repeat(3, 1fr); }
.value { border-top: 2px solid currentColor; padding-top: 18px; }
.band-paper .value { border-color: var(--forest); }
.value h3 { margin-bottom: 10px; }
.band-paper .value p { color: var(--slate); }
.founder-mono { width: 112px; height: 112px; background: var(--char); color: #fff; display: grid; place-items: center; font-size: 2rem; font-weight: 600; margin-bottom: 24px; font-variation-settings: "wdth" 118; }
.founder h2 { font-size: 1.75rem; margin-bottom: 10px; }
.founder-role { color: var(--slate); }

/* Contact */
.contact { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(40px, 6vw, 96px); padding-top: var(--sec); padding-bottom: var(--sec); }
form label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 20px; }
form input, form select, form textarea {
  display: block; width: 100%; margin-top: 8px; padding: 13px 14px; font: 400 1rem var(--font); color: var(--ink);
  background: var(--white); border: 1px solid #b9c2b8; border-radius: 2px;
}
form input:focus, form select:focus, form textarea:focus { outline: 2px solid var(--forest); outline-offset: 0; border-color: var(--forest); }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--slate); }
form .check input { width: auto; margin-top: 4px; }
.hp { position: absolute; left: -9999px; }
form [aria-invalid="true"] { border-color: #b3261e; outline: 1px solid #b3261e; outline-offset: 0; }
.btn[disabled] { opacity: .65; cursor: progress; }
.alert { display: none; padding: 16px 18px; margin-bottom: 24px; font-size: .9375rem; }
.alert.show { display: block; }
.alert-ok { background: #f2f2f2; border-left: 4px solid var(--forest); }
.alert-err { background: #fbeaea; border-left: 4px solid #b3261e; }
.contact-side { display: grid; gap: 28px; align-content: start; padding-top: 6px; }
.contact-side > div { border-top: 2px solid var(--forest); padding-top: 14px; }
.contact-side h2 { font-size: .9375rem; font-weight: 600; color: var(--slate); margin-bottom: 6px; font-variation-settings: "wdth" 100; }
.contact-side p { font-size: 1.1875rem; margin: 0; }
.contact-side a { text-decoration: none; }

/* Legal */
.legal { max-width: 820px; padding-top: 64px; padding-bottom: var(--sec); }
.legal h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.legal h3 { margin: 28px 0 10px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.legal li { margin-bottom: 6px; }

/* Footer */
.site-footer { background: var(--night); color: rgba(255,255,255,.78); padding-top: 80px; font-size: .9375rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--leaf); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 64px; }
.footer-brand .logo { color: #fff; display: inline-block; margin-bottom: 22px; }
.footer-brand p { max-width: 36ch; }
.footer-creds { font-size: .8125rem; color: rgba(255,255,255,.55); }
.footer-h { font-size: .875rem; font-weight: 600; color: #fff; margin-bottom: 16px; font-variation-settings: "wdth" 100; }
.site-footer li { margin-bottom: 9px; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; --rule: rgba(255,255,255,.14); background-image: linear-gradient(var(--rule), var(--rule)); background-repeat: no-repeat; background-size: calc(100% - 2 * var(--gut)) 1px; background-position: var(--gut) 0; padding-top: 22px; padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px)); font-size: .8125rem; color: rgba(255,255,255,.55); }
.footer-base p { margin: 0; }
.footer-base p:last-child { display: flex; gap: 22px; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1000px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc-card:nth-child(4n) { border-right: 1px solid var(--line); }
  .svc-card:nth-child(2n) { border-right: 0; }
  .proj-grid, .proj-grid-all { grid-template-columns: 1fr 1fr; }
  .proj-big { grid-row: auto; grid-column: 1 / -1; }
  .proj-big .proj-media { min-height: 0; aspect-ratio: 16 / 9; }
  .rooted { grid-template-columns: 1fr; }
  .tiles, .notes { grid-template-columns: 1fr 1fr; }
  .svc, .disc, .split, .contact { grid-template-columns: 1fr; }
  .disc-flip .disc-media { order: 0; }
  .steps, .values, #credentials .values { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 12px; }
}
@media (max-width: 680px) {
  body { font-size: 1rem; }
  .svc-grid, .proj-grid, .proj-grid-all, .tiles, .notes, .sector-list, .pubs, .steps, .values, #credentials .values, form .row, .footer-grid { grid-template-columns: 1fr; }
  .svc-card { border-right: 0 !important; }
  .pcard { flex: 0 0 clamp(300px, 82vw, 400px); }
  .caps { columns: 1; }
  .hero-text { padding-bottom: 28px; }
  :root { --header-h: 68px; }
  .mark { height: 30px; width: 38px; }
  .wm-name { font-size: 1.25rem; letter-spacing: .4em; margin-right: -.4em; }
  .wm-sub { font-size: .6rem; margin-top: 8px; gap: 10px; letter-spacing: .34em; margin-right: -.34em; }
  .logo-lockup { gap: 14px; }
}

/* ── Hero entrance (home): dark first, then the video fades up and the words rise in ──
   html.js is set by a one-line script in <head>, so without JavaScript nothing is ever hidden. */
.hero-media { transform-origin: 50% 60%; }
.js .hero .hero-media { opacity: 0; transform: scale(1.05); transition: opacity 1.6s cubic-bezier(.25,.6,.3,1), transform 3.2s cubic-bezier(.2,.65,.25,1); }
.js .hero.is-ready .hero-media { opacity: 1; transform: none; }
@keyframes heroRise { from { opacity: 0; transform: translate3d(0, 28px, 0); } to { opacity: 1; transform: none; } }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
.js .hero h1, .js .hero .lead, .js .hero .actions { animation: heroRise 1.1s cubic-bezier(.2,.7,.2,1) both; }
.js .hero h1 { animation-delay: .35s; }
.js .hero .lead { animation-delay: .55s; }
.js .hero .actions { animation-delay: .75s; }
.js .hero .hero-foot { animation: heroFade 1.2s ease 1s both; }
.js .is-home .site-header { animation: heroFade .9s ease .1s both; }
/* Inner pages: the title rises in gently */
.js .page-hero-text > * { animation: heroRise .9s cubic-bezier(.2,.7,.2,1) both; }
.js .page-hero-text > :nth-child(2) { animation-delay: .1s; }
.js .page-hero-text > :nth-child(3) { animation-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ── Solutions section (home) ── */
.solutions { background: var(--paper); padding: var(--sec) 0; }
.sol-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 4.5vw, 72px); align-items: start; margin-bottom: clamp(40px, 5vw, 64px); }
.sol-kicker { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: var(--slate); margin-bottom: 18px; }
/* Same size as the "Recent Projects" heading (inherits the base h2 size). */
.sol-title { margin-bottom: 16px; }
.sol-caption { font-family: "Montserrat", var(--font); font-size: clamp(1.375rem, 2vw, 1.875rem) !important; font-weight: 300; color: #3b3f45 !important; line-height: 1.3 !important; margin-bottom: 28px; max-width: none !important; }
.sol-caption em { font-style: italic; }
.sol-text p { color: #4a4f57; font-size: 1.125rem; line-height: 1.85; max-width: 54ch; }
.sol-text p em { font-style: italic; }
.sol-media { aspect-ratio: 3 / 2; margin-top: 8px; }
.sol-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.sol-tile { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 132px; padding: 22px 22px 24px; background: var(--white);
  text-decoration: none; color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.06); border-bottom: 2px solid transparent;
  transition: transform .2s, box-shadow .2s, border-color .2s; }
.sol-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.12); border-bottom-color: var(--char); }
.sol-icon { width: 26px; height: 26px; color: var(--slate); }
.sol-icon svg { width: 26px; height: 26px; }
.sol-name { font-size: 1.0625rem; font-weight: 500; line-height: 1.3; padding-right: 22px; overflow-wrap: anywhere; hyphens: auto; }
.sol-arrow { position: absolute; right: 18px; bottom: 18px; width: 16px; height: 16px; opacity: 0; transform: translateX(-4px); transition: .2s; }
.sol-arrow .i-arrow { width: 16px; height: 16px; }
.sol-tile:hover .sol-arrow { opacity: 1; transform: none; }
@media (max-width: 1000px) {
  .sol-intro { grid-template-columns: 1fr; }
  .sol-media { margin-top: 0; }
  .sol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .sol-grid { gap: 12px; }
  .sol-tile { min-height: 116px; padding: 18px; }
  .sol-name { font-size: 1rem; }
}
@media (max-width: 359.98px) { .sol-grid { grid-template-columns: minmax(0, 1fr); } }

/* ═══ Services page ═══ */
.svc-intro-band { padding: var(--sec) 0 clamp(40px, 5vw, 64px); }
.svc-intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.svc-intro-grid h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); font-weight: 500; line-height: 1.1; }
.svc-intro-grid p { font-size: 1.125rem; color: #4a4a4a; line-height: 1.7; }

/* Overview tiles */
.svc-overview { padding-bottom: var(--sec); }
.ov-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ov-tile { font: inherit; text-align: left; border: 0; cursor: pointer; width: 100%; position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px 24px 28px; background: var(--paper);
  text-decoration: none; color: var(--ink); border-top: 3px solid transparent; transition: background .2s, border-color .2s, transform .2s; }
.ov-tile:hover { background: var(--white); border-top-color: var(--char); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.08); }
.ov-num { position: absolute; top: 22px; right: 24px; font-size: .8125rem; font-weight: 600; color: #9a9a9a; letter-spacing: .06em; }
.ov-icon { width: 28px; height: 28px; color: var(--char); }
.ov-icon svg { width: 28px; height: 28px; }
.ov-name { font-size: 1.125rem; font-weight: 600; line-height: 1.3; padding-right: 28px; }
.ov-line { font-size: .9375rem; color: var(--slate); line-height: 1.55; }

/* Sidebar + detail layout */
.svc-layout { display: grid; grid-template-columns: 280px 1fr; gap: clamp(40px, 6vw, 96px); padding-bottom: var(--sec); padding-top: var(--sec); --rule: var(--line); background-image: linear-gradient(var(--rule), var(--rule)); background-repeat: no-repeat; background-size: calc(100% - 2 * var(--gut)) 1px; background-position: var(--gut) 0; }
.svc-side { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.svc-side-h { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--slate); margin-bottom: 14px; }
.svc-side ul { border-left: 1px solid var(--line); }
.svc-side ul a { display: flex; gap: 12px; padding: 9px 0 9px 18px; margin-left: -1px; border-left: 2px solid transparent; text-decoration: none;
  color: var(--slate); font-size: .9375rem; line-height: 1.35; transition: color .15s, border-color .15s; }
.svc-side ul a span { font-size: .75rem; font-weight: 600; color: #a8a8a8; padding-top: 2px; min-width: 18px; }
.svc-side ul a:hover { color: var(--ink); }
.svc-side ul a.active { color: var(--ink); font-weight: 600; border-left-color: var(--char); }
.svc-side ul a.active span { color: var(--char); }
.svc-side-cta { margin-top: 28px; color: #fff; }

.sd { padding-bottom: clamp(56px, 7vw, 96px); margin-bottom: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.sd:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.sd-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 28px; }
.sd-num { font-size: 1rem; font-weight: 600; color: #9a9a9a; letter-spacing: .06em; }
.sd-head h2 { font-size: clamp(1.875rem, 3vw, 2.625rem); }
.sd-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-bottom: 40px; }
.sd-lead { font-size: 1.1875rem; line-height: 1.65; color: #3a3a3a; margin: 0; }
.sd-media { aspect-ratio: 3 / 2; }
.sd-sub { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--slate); margin-bottom: 16px; }
.sd-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 1px solid var(--line); }
.sd-list li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); font-size: 1rem; line-height: 1.45; }
.sd-list li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 7px; border-left: 2px solid var(--char); border-bottom: 2px solid var(--char); transform: rotate(-45deg); }
.sd-note { font-size: .875rem; color: var(--slate); margin-top: 18px; padding: 14px 18px; background: var(--paper); border-left: 3px solid var(--char); }
.sd-cta { margin-top: 32px; }

@media (max-width: 1100px) {
  .ov-grid { grid-template-columns: 1fr 1fr; }
  .svc-layout { grid-template-columns: 1fr; }
  .svc-side { display: none; }
  .svc-intro-grid { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 680px) {
  .ov-grid { grid-template-columns: 1fr; gap: 12px; }
  .sd-top { grid-template-columns: 1fr; gap: 24px; }
  .sd-list { grid-template-columns: 1fr; }
  .sd-lead { font-size: 1.0625rem; }
}

.ov-line { flex: 1; }
.ov-more { margin-top: 6px; font-size: .875rem; font-weight: 600; color: var(--char); display: inline-flex; gap: 8px; align-items: center; }
.ov-more .i-arrow { width: 15px; height: 15px; transition: transform .2s; }
.ov-tile:hover .ov-more .i-arrow { transform: translateX(4px); }

/* ═══ Individual service pages ═══ */
.sp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 96px); padding-top: var(--sec); padding-bottom: var(--sec); }
.sp-lead { font-size: clamp(1.1875rem, 1.6vw, 1.375rem); line-height: 1.6; color: #333; margin-bottom: 48px; max-width: 62ch; }
.sp-h { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--slate); margin-bottom: 16px; font-variation-settings: "wdth" 100; }
.sp-h-gap { margin-top: 64px; }
.sp-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sp-related .proj { border: 1px solid var(--line); }
.sp-related .proj-body { padding: 18px 20px 22px; }
.sp-related .proj-body h3 { font-size: 1rem; }
.sp-related .pcard-blurb { font-size: .875rem; -webkit-line-clamp: 3; }
.sp-side { display: grid; gap: 24px; align-content: start; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.sp-box { border-top: 3px solid var(--char); background: var(--paper); padding: 24px 26px 26px; }
.sp-side-h { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--slate); margin-bottom: 10px; font-variation-settings: "wdth" 100; }
.sp-nav li { border-bottom: 1px solid var(--line); }
.sp-nav li:last-child { border-bottom: 0; }
.sp-nav a { display: block; padding: 11px 0; text-decoration: none; font-size: .9688rem; color: #444; transition: color .15s, padding .15s; }
.sp-nav a:hover { color: var(--ink); padding-left: 6px; }
.sp-nav a[aria-current] { color: var(--ink); font-weight: 600; }
.sp-contact { background: var(--char); color: #fff; border-top-color: var(--char); }
.sp-contact h2 { font-size: 1.375rem; margin-bottom: 10px; }
.sp-contact p { color: rgba(255,255,255,.82); font-size: .9688rem; }
.sp-contact a:not(.btn) { color: #fff; }
.sp-contact .btn { margin-top: 6px; }
.sp-pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-top: 32px; padding-bottom: 56px;
  --rule: var(--line); background-image: linear-gradient(var(--rule), var(--rule)); background-repeat: no-repeat; background-size: calc(100% - 2 * var(--gut)) 1px; background-position: var(--gut) 0; }
.sp-pager a { text-decoration: none; font-weight: 600; font-size: 1.0625rem; color: var(--ink); }
.sp-pager a span { display: block; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--slate); margin-bottom: 6px; }
.sp-pager a:hover { text-decoration: underline; text-decoration-color: var(--leaf); }
.sp-next { text-align: right; }
.sp-all { font-size: .9375rem !important; border: 1px solid var(--line); padding: 10px 18px; }
@media (max-width: 1100px) {
  .sp-layout { grid-template-columns: 1fr; }
  .sp-side { position: static; }
  .sp-related { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .sp-side, .sp-related { grid-template-columns: 1fr; }
  .sp-pager { grid-template-columns: 1fr 1fr; }
  .sp-all { display: none; }
}

.sp-contact-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; padding: 26px 30px;
  background: var(--char); color: #fff; }
.sp-contact-strip h2 { font-size: 1.375rem; margin-bottom: 6px; }
.sp-contact-strip p { margin: 0; color: rgba(255,255,255,.82); font-size: .9688rem; }
.sp-contact-strip a:not(.btn) { color: #fff; }
.sp-contact-strip .btn { flex: none; }
@media (max-width: 680px) { .sp-contact-strip { flex-direction: column; align-items: flex-start; } }

/* Footer LinkedIn */
.footer-social { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; color: #fff; font-size: .9375rem; }
.footer-social svg { width: 20px; height: 20px; }
.footer-social:hover span { text-decoration: underline; text-decoration-color: var(--leaf); }

/* ═══ About page ═══ */
.ab-kicker { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--slate); margin-bottom: 14px; }
.ab-head { margin-bottom: 44px; }
.ab-head h2 { font-size: clamp(1.875rem, 3.2vw, 2.75rem); }
.ab-intro { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; padding-top: var(--sec); padding-bottom: var(--sec); }
.ab-intro-text h2 { font-size: clamp(1.875rem, 3.2vw, 2.75rem); margin-bottom: 26px; }
.ab-intro-text p { font-size: 1.0938rem; line-height: 1.75; color: #3d3d3d; }
.ab-intro-media { aspect-ratio: 4 / 3; box-shadow: 0 20px 44px rgba(0,0,0,.14); }

.ab-purpose { background: var(--char); color: #fff; padding: clamp(56px, 7vw, 96px) 0; }
.ab-purpose-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); }
.ab-purpose-grid > div { border-top: 1px solid rgba(255,255,255,.3); padding-top: 22px; }
.ab-purpose .ab-kicker { color: rgba(255,255,255,.65); }
.ab-statement { font-size: clamp(1.1875rem, 1.6vw, 1.4375rem); line-height: 1.45; margin: 0; font-variation-settings: "wdth" 104; }

.ab-numbers { padding-top: var(--sec); padding-bottom: var(--sec); }
.ab-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.ab-stat { padding: 28px 28px 8px 0; border-right: 1px solid var(--line); margin-right: 28px; }
.ab-stat:last-child { border-right: 0; margin-right: 0; }
.ab-stat-n { display: block; font-size: clamp(2.5rem, 4.4vw, 3.75rem); font-weight: 600; line-height: 1; font-variation-settings: "wdth" 112; }
.ab-stat-l { display: block; margin-top: 14px; font-weight: 600; }
.ab-stat-d { display: block; margin-top: 6px; font-size: .9375rem; color: var(--slate); }

.ab-approach { display: grid; grid-template-columns: 1.2fr 1fr; min-height: 560px; }
.ab-approach-media { min-height: 360px; }
.ab-approach-panel { background: var(--ink); color: #fff; padding: clamp(40px, 6vw, 88px); display: flex; flex-direction: column; justify-content: center; }
.ab-approach-panel .ab-kicker { color: rgba(255,255,255,.65); }
.ab-approach-panel h2 { font-size: clamp(1.75rem, 2.8vw, 2.5rem); margin-bottom: 22px; }
.ab-approach-panel p { color: rgba(255,255,255,.85); line-height: 1.7; }
.ab-approach-panel .btn { align-self: flex-start; margin-top: 14px; }

.ab-values-sec { padding-top: var(--sec); padding-bottom: var(--sec); }
.ab-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ab-value { background: var(--paper); padding: 30px 26px 32px; border-top: 3px solid var(--char); }
.ab-value-n { display: block; font-size: .8125rem; font-weight: 600; color: #9a9a9a; letter-spacing: .06em; margin-bottom: 18px; }
.ab-value h3 { font-size: 1.375rem; margin-bottom: 10px; }
.ab-value p { color: var(--slate); margin: 0; }

.ab-leader { background: var(--paper); padding: var(--sec) 0; }
.ab-leader-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.ab-leader-card h2 { font-size: clamp(1.625rem, 2.4vw, 2rem); margin-bottom: 10px; }
.ab-leader-text p { font-size: 1.0938rem; line-height: 1.75; color: #3d3d3d; }
.ab-leader-text a { color: var(--ink); font-weight: 600; }

.ab-creds-sec { padding-top: var(--sec); padding-bottom: var(--sec); }
.ab-creds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.ab-cred { border-top: 2px solid var(--ink); padding-top: 20px; }
.ab-cred h3 { margin-bottom: 10px; }
.ab-cred p { color: var(--slate); }

.ab-where { padding: var(--sec) 0; --rule: var(--line); background-image: linear-gradient(var(--rule), var(--rule)); background-repeat: no-repeat; background-size: calc(100% - 2 * var(--gut)) 1px; background-position: var(--gut) 0; }
.ab-where-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 6vw, 96px); }
.ab-where h2 { font-size: clamp(1.75rem, 2.8vw, 2.375rem); margin-bottom: 20px; }
.ab-where p { color: #3d3d3d; line-height: 1.75; }
.ab-sector-list li { border-bottom: 1px solid var(--line); }
.ab-sector-list a { display: block; padding: 13px 0; text-decoration: none; font-weight: 500; transition: padding .15s; }
.ab-sector-list a:hover { padding-left: 6px; }

@media (max-width: 1000px) {
  .ab-intro, .ab-approach, .ab-leader-grid, .ab-where-grid { grid-template-columns: 1fr; }
  .ab-purpose-grid { grid-template-columns: 1fr; }
  .ab-creds { grid-template-columns: 1fr 1fr; }
  .ab-stats, .ab-values { grid-template-columns: 1fr 1fr; }
  .ab-stat:nth-child(2) { border-right: 0; margin-right: 0; }
}
@media (max-width: 560px) {
  .ab-stats, .ab-values, .ab-creds { grid-template-columns: 1fr; }
  .ab-stat { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 22px; }
}

/* Page hero, label style (About): small capitals page name + large statement */
.ph-label { font-size: clamp(1.75rem, 2.8vw, 2.625rem) !important; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; line-height: 1.2; margin-bottom: 0; font-variation-settings: "wdth" 104; max-width: none !important; }
.ph-statement { font-family: "Montserrat", var(--font); font-size: clamp(1.125rem, 1.6vw, 1.5rem); font-weight: 300; line-height: 1.5; max-width: 46ch; margin: 0; color: rgba(255,255,255,.92); text-wrap: balance; }

/* Solutions photo: soften the saturated sunset so it sits with the charcoal palette */
.sol-media img { filter: saturate(.45) contrast(1.06) brightness(.92); }

/* Tone down two over-bright photos so they read as natural site photography */
img[src$="proj-chemical.jpg"] { filter: brightness(.86) contrast(.94) saturate(.92); }
img[src$="sector-agri.jpg"]   { filter: brightness(.95) contrast(.86) saturate(.8); }