/* Humane Technologies site styles, v2
   Brand: maroon #700D0A (energy, headlines, actions), navy #00137F (structure), white canvas.
   Typeface: Archivo (variable width + weight); condensed heavy headings echo the logo wordmark.
   Motif: circuit lines and nodes from the logo. Every section is designed to fit one screen on desktop. */

:root {
  --maroon: #700D0A;
  --maroon-hover: #8E1813;
  --navy: #00137F;
  --ink: #0E1433;
  --muted: #4A5173;
  --tint: #F4F6FC;
  --line: #DDE1EE;
  --white: #FFFFFF;
  --on-navy-muted: #C9CFF0;
  --on-maroon-muted: #F3C9C6;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 56px);
  --max: 1240px;
  --header-h: 76px;
  --radius: 6px;
  --ease-out: cubic-bezier(.2, .75, .15, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font); font-size: 1.125rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.05; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--navy); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--maroon); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
.band-navy :focus-visible, .band-maroon :focus-visible { outline-color: var(--white); }

.container { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.visually-hidden, .js .panel h3 {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100; background: var(--navy); color: var(--white);
  padding: 12px 18px; border-radius: var(--radius); font-weight: 650; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* Node bullet: the circuit node from the logo, used for lists */
.node-list li { position: relative; padding-left: 22px; }
.node-list li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px;
  border: 2px solid currentColor; border-radius: 50%; opacity: .8;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: var(--radius); border: 2px solid transparent;
  font-family: inherit; font-size: 1.0625rem; font-weight: 650; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--maroon); color: var(--white); }
.btn-primary:hover { background: var(--maroon-hover); color: var(--white); }
.btn-outline { border-color: var(--maroon); color: var(--maroon); }
.btn-outline:hover { background: var(--maroon); color: var(--white); }
.btn-light { background: var(--white); color: var(--maroon); }
.btn-light:hover { background: var(--tint); color: var(--maroon); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--white);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(14,20,51,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand img { height: 42px; width: auto; }
.site-nav ul { display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  color: var(--ink); font-weight: 550; text-decoration: none;
}
.site-nav a:not(.btn):hover { color: var(--maroon); }
.site-nav .btn { min-height: 46px; margin-left: 10px; padding: 0 20px; font-size: 1rem; }
.menu-toggle {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; background: transparent;
  border: 2px solid var(--ink); border-radius: var(--radius); color: var(--ink); font: inherit; font-weight: 650; cursor: pointer;
}
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; position: relative; content: "";
}
.menu-toggle .bars::before { position: absolute; top: -6px; }
.menu-toggle .bars::after { position: absolute; top: 6px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .brand img { height: 34px; }
  .header-inner { flex-wrap: wrap; }
  .site-nav { flex-basis: 100%; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0 20px; }
  .site-nav a:not(.btn) { min-height: 52px; padding: 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin: 16px 0 0; }
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav:not(.is-open) { display: none; }
}

/* ---------- Screens: one idea per screen ---------- */
.screen { position: relative; padding-block: clamp(56px, 8vh, 104px); }
@media (min-width: 900px) and (min-height: 640px) {
  .screen { min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; }
}
.section-head { margin-bottom: clamp(28px, 5vh, 56px); }
.section-head.split { display: grid; gap: 16px 56px; align-items: end; }
@media (min-width: 900px) { .section-head.split { grid-template-columns: 7fr 5fr; } }
.section-head h2 {
  color: var(--maroon); font-size: clamp(2.5rem, min(5.4vw, 9vh), 4.75rem);
  font-stretch: 70%; font-weight: 800; line-height: .95; letter-spacing: -.012em;
}
.section-head p { color: var(--muted); font-size: 1.1875rem; max-width: 34rem; }
.band-navy { background: var(--navy); color: var(--white); }
.band-navy .section-head h2 { color: var(--white); }
.band-navy .section-head p { color: var(--on-navy-muted); }
.band-navy a { color: var(--white); }
.band-navy a:hover { color: var(--white); }
.band-navy .btn-light, .band-navy .btn-light:hover { color: var(--maroon); }
.band-maroon { background: var(--maroon); color: var(--white); }
.band-maroon .section-head h2 { color: var(--white); }
.band-maroon .section-head p { color: var(--on-maroon-muted); }

/* Scroll reveal (gated on JS; disabled for reduced motion) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal].d1 { transition-delay: .1s; }
.js [data-reveal].d2 { transition-delay: .2s; }
.js [data-reveal].d3 { transition-delay: .3s; }
.js [data-reveal].d4 { transition-delay: .4s; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(32px, 6vh, 72px); overflow: hidden; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 9fr) minmax(0, 13fr); gap: 40px; } }
.hero h1 {
  color: var(--maroon); font-size: clamp(3.25rem, min(6.4vw, 11vh), 6.75rem);
  font-stretch: 66%; font-weight: 800; line-height: .9; letter-spacing: -.015em;
}
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.hero h1 .w > span { display: inline-block; }
.js .hero h1 .w > span { transform: translateY(110%); animation: rise .9s var(--ease-out) forwards; }
.js .hero h1 .w:nth-child(2) > span { animation-delay: .07s; }
.js .hero h1 .w:nth-child(3) > span { animation-delay: .14s; }
.js .hero h1 .w:nth-child(4) > span { animation-delay: .21s; }
.js .hero h1 .w:nth-child(5) > span { animation-delay: .28s; }
.js .hero h1 .w:nth-child(6) > span { animation-delay: .35s; }
.js .hero h1 .w:nth-child(7) > span { animation-delay: .42s; }
@keyframes rise { to { transform: none; } }
.hero .lead { margin-top: clamp(20px, 3.5vh, 32px); font-size: clamp(1.1875rem, 1.5vw, 1.375rem); line-height: 1.5; max-width: 31rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(28px, 5vh, 44px); }
.js .hero .fade-in { opacity: 0; animation: fade-up .9s ease .55s forwards; }
.js .hero .actions.fade-in { animation-delay: .7s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-visual { position: relative; }

/* Signal graphic: complexity resolving into clarity */
.signal { width: 100%; overflow: visible; touch-action: pan-y; cursor: crosshair; }
.signal .sig-lines path { fill: none; stroke: var(--navy); stroke-width: 1.75; stroke-opacity: .8; stroke-linecap: round; }
.js .signal:not(.is-live) .sig-lines, .js .signal:not(.is-live) .sig-labels { opacity: 0; animation: reveal-late 0s 2.5s forwards; }
@keyframes reveal-late { to { opacity: 1; } }
.signal .sig-nodes circle { fill: var(--white); stroke: var(--navy); stroke-width: 2; }
.signal .sig-labels text { font-size: 19px; font-weight: 600; font-stretch: 88%; fill: var(--ink); }
.signal .sig-cap { font-size: 15px; font-weight: 500; fill: var(--muted); }
.signal .sig-pulses circle, .signal .sig-cord-pulse { opacity: 0; }
.signal .sig-pulses circle { fill: var(--maroon); }
.signal .sig-cord { fill: none; stroke: var(--maroon); stroke-width: 4; stroke-linecap: round; }
.signal .sig-cord-pulse { fill: var(--white); }
.signal .sig-end { fill: var(--maroon); }
.signal .sig-ripple { fill: none; stroke: var(--maroon); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.signal .sig-clarity { font-size: 26px; font-weight: 800; font-stretch: 72%; fill: var(--maroon); transition: opacity .6s ease; }
.js .signal:not(.is-clear) .sig-clarity { opacity: .25; }
.signal.is-clear .sig-ripple { animation: ripple 2.8s ease-out infinite; }
@keyframes ripple { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(3.4); opacity: 0; } }
@media (max-width: 600px) { .signal .sig-labels text { font-size: 23px; } .signal .sig-cap { font-size: 20px; } }

/* ---------- Services explorer (navy) ---------- */
.explorer { display: grid; gap: 32px 64px; }
@media (min-width: 960px) { .explorer { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; } }
.tablist { display: none; position: relative; }
.js .tablist { display: flex; flex-direction: column; }
.js .tablist::before { content: ""; position: absolute; left: 10px; top: 30px; bottom: 30px; width: 2px; background: rgba(255,255,255,.22); }
.tab {
  position: relative; appearance: none; background: none; border: 0; cursor: pointer; text-align: left;
  padding: 14px 0 14px 40px; min-height: 44px; color: var(--on-navy-muted);
  font: inherit; font-size: clamp(1.375rem, min(2.2vw, 3.8vh), 2.125rem); font-stretch: 78%; font-weight: 750; line-height: 1.12;
  transition: color .2s ease;
}
.tab::before {
  content: ""; position: absolute; left: 3px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  border: 2px solid currentColor; border-radius: 50%; background: var(--navy);
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tab:hover { color: var(--white); }
.tab[aria-selected="true"] { color: var(--white); }
.tab[aria-selected="true"]::before { background: var(--white); border-color: var(--white); box-shadow: 0 0 0 7px rgba(255,255,255,.16); }
.panel { display: grid; gap: 24px 40px; align-items: center; }
.panel[hidden] { display: none; }
.panel + .panel { margin-top: 56px; }
.js .panel + .panel { margin-top: 0; }
@media (min-width: 700px) { .panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.panel h3 { font-size: 1.75rem; font-stretch: 80%; font-weight: 750; margin-bottom: 12px; }
.panel .desc { font-size: 1.1875rem; line-height: 1.5; }
.panel ul { margin-top: 18px; color: var(--on-navy-muted); font-size: 1rem; }
.panel li + li { margin-top: 6px; }
.panel .more-link { display: inline-block; margin-top: 22px; font-weight: 650; }
.js .panel:not([hidden]) .panel-copy { animation: fade-up .55s ease both; }
.picto { width: 100%; max-width: 400px; overflow: visible; }
.picto .faint { fill: none; stroke: rgba(201,207,240,.35); stroke-width: 1.5; }
.picto .solid { fill: none; stroke: var(--white); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.picto .thick { stroke-width: 5; }
.picto .node { fill: var(--navy); stroke: var(--white); stroke-width: 2; }
.picto .dot { fill: var(--white); }
.picto text { fill: var(--on-navy-muted); font-size: 13px; font-weight: 600; }
.picto .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s cubic-bezier(.45,0,.2,1) .15s forwards; }
.picto .draw.late { animation-delay: 1.2s; animation-duration: .7s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.picto .sweep { transform-box: view-box; transform-origin: 160px 120px; animation: spin 4.5s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.picto .blip { animation: blip 4.5s linear infinite; }
.picto .b2 { animation-delay: .9s; } .picto .b3 { animation-delay: 1.9s; } .picto .b4 { animation-delay: 2.8s; } .picto .b5 { animation-delay: 3.6s; }
@keyframes blip { 0%, 100% { opacity: .3; } 6% { opacity: 1; } 40% { opacity: .55; } }
.picto .flow { fill: none; stroke: var(--white); stroke-width: 2; stroke-dasharray: 3 13; animation: flow 1.1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -16; } }
.picto .pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.25); } }
.also {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 32px;
  margin-top: clamp(28px, 5vh, 64px); padding-top: 20px; border-top: 1px solid rgba(255,255,255,.22);
}
.also h3 { font-size: 1rem; font-weight: 700; color: var(--on-navy-muted); }
.also ul { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.also ul a { font-weight: 600; text-decoration: none; }
.also ul a:hover { text-decoration: underline; }
.also li::before { border-color: var(--on-navy-muted); }
.also .see-all { margin-left: auto; font-weight: 650; }

/* ---------- Outcomes slider ---------- */
.slides {
  position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 64px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
}
.slides::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: no-preference) { .slides { scroll-behavior: smooth; } }
.slides:focus-visible { outline-offset: 8px; }
.slide { scroll-snap-align: start; display: grid; gap: 28px 72px; align-content: start; }
@media (min-width: 900px) { .slide { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.slide .sector { color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.slide h3 { font-size: clamp(2rem, min(4vw, 6.5vh), 3.5rem); font-stretch: 70%; font-weight: 800; line-height: .98; }
.slide blockquote { margin: 28px 0 0; padding-left: 20px; border-left: 4px solid var(--maroon); font-size: 1.125rem; font-weight: 500; line-height: 1.5; }
.slide blockquote footer { margin-top: 8px; color: var(--muted); font-size: .9375rem; }
.slide dl { margin: 0; display: grid; gap: clamp(10px, 1.8vh, 18px); }
.slide dl > div { padding-top: clamp(10px, 1.8vh, 16px); border-top: 1px solid var(--line); }
.slide dt { color: var(--navy); font-weight: 700; font-size: 1rem; }
.slide dd { margin: 4px 0 0; }
.slide .result dd { color: var(--maroon); font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-stretch: 88%; font-weight: 750; line-height: 1.3; }
.slider-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: clamp(24px, 4vh, 48px); }
.slider-ui { display: none; align-items: center; gap: 12px; }
.js .slider-ui { display: flex; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid var(--ink); background: none; color: var(--ink); cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover:not(:disabled) { background: var(--maroon); border-color: var(--maroon); color: var(--white); }
.icon-btn:disabled { opacity: .3; cursor: default; }
.dots { position: relative; display: flex; }
.dots::before { content: ""; position: absolute; left: 22px; right: 22px; top: 50%; height: 2px; background: var(--line); }
.dot-btn { position: relative; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
.dot-btn::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%; border: 2px solid var(--navy); background: var(--white); transition: background .2s ease, transform .2s ease;
}
.dot-btn[aria-current="true"]::before { background: var(--maroon); border-color: var(--maroon); transform: scale(1.25); }
.slider-nav .btn { margin-left: auto; }

/* ---------- Process (maroon, scroll-linked on desktop) ---------- */
.process-stage { padding-block: clamp(72px, 10vh, 120px); }
@media (min-width: 960px) and (min-height: 640px) {
  .process-stage { min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; }
  .js .process { height: 230vh; }
  .js .process-stage { position: sticky; top: var(--header-h); }
}
.track { position: relative; }
.track-line { position: absolute; background: rgba(255,255,255,.28); }
.track-fill { display: block; width: 100%; height: 100%; background: var(--white); transform-origin: 0 0; }
.steps { position: relative; display: grid; gap: 36px; }
.step { position: relative; padding-left: 48px; }
.step .node {
  position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7); background: var(--maroon);
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.step .icon { width: 30px; height: 30px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { margin-top: 14px; font-size: clamp(1.5rem, 2.1vw, 1.875rem); font-stretch: 78%; font-weight: 750; }
.step p { margin-top: 8px; color: var(--on-maroon-muted); font-size: 1rem; max-width: 16rem; }
.js .step { opacity: .38; transition: opacity .45s ease; }
.js .step.is-active { opacity: 1; }
.step.is-active .node { background: var(--white); border-color: var(--white); box-shadow: 0 0 0 7px rgba(255,255,255,.18); }
.track-line { left: 10px; top: 12px; bottom: 12px; width: 2px; }
.track-fill { transform: scaleY(var(--p, 1)); }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
  .step { padding-left: 0; padding-top: 52px; }
  .step .node { top: 0; }
  .track-line { left: 11px; right: auto; top: 10px; bottom: auto; width: calc(80% + 22.4px); height: 2px; }
  .track-fill { transform: scaleX(var(--p, 1)); }
}

/* ---------- Why us ---------- */
.why-grid { display: grid; gap: 48px 88px; }
@media (min-width: 960px) { .why-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; } }
.why .section-head { margin-bottom: 0; }
.stats { display: flex; flex-wrap: wrap; gap: 32px 48px; margin-top: clamp(32px, 5vh, 48px); }
.stat .num { display: block; color: var(--maroon); font-size: clamp(3.5rem, min(6.5vw, 10vh), 6rem); font-stretch: 64%; font-weight: 800; line-height: .88; }
.stat .label { display: block; margin-top: 10px; color: var(--muted); font-size: 1rem; max-width: 11rem; line-height: 1.4; }
.sectors { margin-top: clamp(32px, 5vh, 48px); }
.sectors h3 { font-size: 1rem; font-weight: 700; color: var(--navy); }
.sectors ul { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 10px; }
.reasons li { padding-block: clamp(16px, 2.6vh, 24px); border-top: 1px solid var(--line); }
.reasons li:last-child { border-bottom: 1px solid var(--line); }
.reasons h3 { font-size: clamp(1.5rem, min(2.4vw, 4vh), 2.125rem); font-stretch: 76%; font-weight: 800; color: var(--ink); }
.reasons p { margin-top: 6px; color: var(--muted); max-width: 36rem; }

/* ---------- Call to action (navy) ---------- */
.cta-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .cta-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.cta h2 { font-size: clamp(3rem, min(6.4vw, 11vh), 6rem); font-stretch: 64%; font-weight: 800; line-height: .92; letter-spacing: -.012em; }
.cta p { margin-top: 20px; color: var(--on-navy-muted); font-size: 1.25rem; max-width: 26rem; }
.cta .btn-mobile { margin-top: 32px; }
.cta-visual { position: relative; display: none; }
.cta-visual svg path { fill: none; stroke: rgba(255,255,255,.5); stroke-width: 1.5; stroke-dasharray: 4 10; animation: flow 1.3s linear infinite; }
.cta-visual .btn { position: absolute; left: 58%; top: 50%; transform: translateY(-50%); }
@media (min-width: 960px) { .cta-visual { display: block; } .cta .btn-mobile { display: none; } }

/* ---------- Footer ---------- */
.site-footer { padding-block: clamp(56px, 8vh, 88px) 32px; font-size: 1rem; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.3fr 1.2fr .8fr 1fr; } }
.footer-brand img { height: 80px; width: auto; }
.site-footer h2 { font-size: 1rem; font-weight: 750; color: var(--navy); margin-bottom: 14px; line-height: 1.4; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--maroon); text-decoration: underline; }
.site-footer address { font-style: normal; color: var(--muted); line-height: 1.6; }
.site-footer address a { color: var(--navy); }
.social { display: flex; gap: 8px; margin-top: 16px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--navy); }
.social a:hover { border-color: var(--maroon); color: var(--maroon); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9375rem; }
.footer-base a { color: var(--muted); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .hero h1 .w > span, .js .hero .fade-in { animation: none; transform: none; opacity: 1; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .picto *, .cta-visual svg path, .signal * { animation: none !important; }
  .picto .draw { stroke-dashoffset: 0; }
  .picto .mover { display: none; }
  .js .step { opacity: 1; }
}

@media print {
  .site-header nav, .menu-toggle, .hero-visual, .cta-visual, .slider-ui { display: none; }
  .band-navy, .band-maroon { background: none; color: var(--ink); }
  .js .process { height: auto; }
}

/* =========================================================
   Inner pages (v3)
   ========================================================= */
.section { padding-block: clamp(64px, 10vh, 112px); }
.section.tint { background: var(--tint); }
.section-head h2.ink { color: var(--ink); }

/* Page hero */
.page-hero { padding-block: clamp(32px, 6vh, 80px) clamp(56px, 9vh, 104px); overflow: hidden; }
.page-hero-grid { display: grid; gap: 32px 56px; align-items: center; }
@media (min-width: 960px) { .page-hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.page-hero h1 {
  color: var(--maroon); font-size: clamp(2.75rem, min(6.2vw, 10.5vh), 6rem);
  font-stretch: 66%; font-weight: 800; line-height: .92; letter-spacing: -.012em;
}
.page-hero .lead { margin-top: clamp(18px, 3vh, 28px); font-size: clamp(1.1875rem, 1.5vw, 1.375rem); line-height: 1.5; max-width: 36rem; }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(24px, 4vh, 40px); }
.page-hero-visual .picto { margin-inline: auto; max-width: 420px; }
.js .page-hero h1, .js .page-hero .lead, .js .page-hero .actions, .js .page-hero-visual { animation: fade-up .8s var(--ease-out) both; }
.js .page-hero .lead { animation-delay: .1s; }
.js .page-hero .actions { animation-delay: .2s; }
.js .page-hero-visual { animation-delay: .25s; }
.page-hero.compact h1 { max-width: 16ch; }

.breadcrumb ol { display: flex; flex-wrap: wrap; margin-bottom: clamp(16px, 3vh, 28px); color: var(--muted); font-size: .9375rem; }
.breadcrumb li + li::before { content: "/"; margin: 0 10px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--maroon); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* Pictograms on white backgrounds */
.on-light .picto .faint { stroke: rgba(0,19,127,.2); }
.on-light .picto .solid { stroke: var(--navy); }
.on-light .picto .node { fill: var(--white); stroke: var(--navy); }
.on-light .picto .dot { fill: var(--maroon); }
.on-light .picto .flow { stroke: var(--maroon); }
.on-light .picto text { fill: var(--muted); }
.on-light .picto stop { stop-color: var(--navy); }

/* What's included (navy) */
.included { display: grid; gap: clamp(28px, 4vh, 40px) 64px; }
@media (min-width: 760px) { .included { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .included.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.included li { position: relative; padding-left: 36px; }
.included li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px;
  border: 2px solid var(--white); border-radius: 50%; box-shadow: 0 0 0 6px rgba(255,255,255,.12);
}
.included h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); font-stretch: 78%; font-weight: 750; }
.included p { margin-top: 8px; color: var(--on-navy-muted); }

/* Approach: a numbered sequence on a line */
.approach { position: relative; display: grid; gap: 32px; }
.approach::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: var(--line); }
.approach li { position: relative; padding-left: 60px; counter-increment: step; }
.approach { counter-reset: step; }
.approach li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--maroon); color: var(--white); font-weight: 750; font-size: 1rem;
  box-shadow: 0 0 0 6px var(--white);
}
.approach h3 { font-size: clamp(1.375rem, 1.9vw, 1.625rem); font-stretch: 78%; font-weight: 750; padding-top: 4px; }
.approach p { margin-top: 8px; color: var(--muted); font-size: 1rem; max-width: 22rem; }
@media (min-width: 900px) {
  .approach { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .approach::before { left: 18px; right: calc(25% - 14px); top: 17px; bottom: auto; width: auto; height: 2px; }
  .approach li { padding-left: 0; padding-top: 60px; }
  .approach h3 { padding-top: 0; }
}

/* Related work */
.related { display: grid; gap: 24px 56px; }
@media (min-width: 760px) { .related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.related .case-link { display: block; padding-top: 24px; border-top: 4px solid var(--maroon); color: var(--ink); text-decoration: none; }
.related .sector { color: var(--muted); font-size: .9375rem; font-weight: 600; }
.related h3 { margin-top: 8px; font-size: clamp(1.625rem, 2.6vw, 2.25rem); font-stretch: 70%; font-weight: 800; line-height: 1; }
.related p { margin-top: 12px; color: var(--muted); max-width: 34rem; }
.related .go { display: inline-block; margin-top: 14px; color: var(--navy); font-weight: 650; text-decoration: underline; text-underline-offset: .18em; }
.related .case-link:hover h3, .related .case-link:hover .go { color: var(--maroon); }

/* FAQ */
.faq-grid { display: grid; gap: 24px 72px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none;
  font-size: clamp(1.125rem, 1.5vw, 1.3125rem); font-weight: 700; line-height: 1.35;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 12px; height: 12px; margin-right: 6px;
  border-right: 2.5px solid var(--maroon); border-bottom: 2.5px solid var(--maroon); transform: rotate(45deg) translateY(-4px);
  transition: transform .25s ease;
}
.faq-list details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq-list summary:hover { color: var(--maroon); }
.faq-list .answer { padding: 0 40px 24px 0; color: var(--muted); }
.faq-list .answer p + p { margin-top: 10px; }

/* Service link list */
.service-links { display: grid; gap: 0 56px; }
@media (min-width: 760px) { .service-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .service-links { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.service-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0;
  border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1.125rem; font-weight: 650; text-decoration: none;
}
.service-links a::after { content: ""; flex: none; width: 9px; height: 9px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.service-links a:hover { color: var(--maroon); }

/* Services overview */
.svc-featured { display: grid; gap: clamp(48px, 7vh, 72px) 80px; }
@media (min-width: 900px) { .svc-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.svc-item { display: grid; gap: 20px 32px; align-content: start; }
@media (min-width: 1100px) { .svc-item { grid-template-columns: 180px minmax(0, 1fr); } }
.svc-item .picto { max-width: 220px; }
.svc-item h3 { font-size: clamp(1.75rem, 2.8vw, 2.5rem); font-stretch: 70%; font-weight: 800; line-height: 1; }
.svc-item h3 a { color: var(--ink); text-decoration: none; }
.svc-item h3 a:hover { color: var(--maroon); text-decoration: underline; text-decoration-thickness: 2px; }
.svc-item .desc { margin-top: 12px; color: var(--muted); }
.svc-item ul { margin-top: 14px; font-size: 1rem; color: var(--ink); }
.svc-item li + li { margin-top: 4px; }
.svc-item .more-link { display: inline-block; margin-top: 16px; font-weight: 650; }
.svc-more { display: grid; gap: 40px 56px; }
@media (min-width: 760px) { .svc-more { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .svc-more { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.svc-more .picto { max-width: 170px; margin-bottom: 16px; }
.svc-more h3 { font-size: clamp(1.5rem, 2.2vw, 1.875rem); font-stretch: 74%; font-weight: 800; }
.svc-more h3 a { text-decoration: none; }
.svc-more h3 a:hover { text-decoration: underline; }
.svc-more p { margin-top: 8px; color: var(--on-navy-muted); }

/* Case studies page */
.cases-layout { display: grid; gap: 40px 80px; }
@media (min-width: 1040px) { .cases-layout { grid-template-columns: 250px minmax(0, 1fr); } }
.case-index h2 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.case-index ol { border-left: 2px solid var(--line); }
.case-index a {
  display: block; margin-left: -2px; padding: 8px 0 8px 18px; border-left: 2px solid transparent;
  color: var(--muted); font-size: .9375rem; font-weight: 600; line-height: 1.35; text-decoration: none;
}
.case-index a:hover { color: var(--maroon); }
.case-index a[aria-current="true"] { color: var(--maroon); border-left-color: var(--maroon); }
@media (min-width: 1040px) { .case-index { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.case { padding-block: clamp(40px, 6vh, 64px); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.case:first-child { border-top: 0; padding-top: 0; }
.case .sector { color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.case h2 { font-size: clamp(2rem, min(4vw, 7vh), 3.25rem); font-stretch: 68%; font-weight: 800; line-height: 1; }
.case .summary { margin-top: 16px; font-size: 1.1875rem; line-height: 1.5; max-width: 46rem; }
.case dl { margin: 28px 0 0; display: grid; gap: 24px 40px; }
@media (min-width: 760px) { .case dl { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.case dl > div { padding-top: 14px; border-top: 3px solid var(--navy); }
.case dl > .result { border-top-color: var(--maroon); }
.case dt { font-weight: 700; color: var(--navy); }
.case .result dt { color: var(--maroon); }
.case dd { margin: 6px 0 0; font-size: 1rem; }
.case blockquote { margin: 32px 0 0; padding-left: 22px; border-left: 4px solid var(--maroon); max-width: 46rem; }
.case blockquote p { font-size: clamp(1.25rem, 1.9vw, 1.5rem); font-stretch: 90%; font-weight: 600; line-height: 1.4; }
.case blockquote footer { margin-top: 10px; color: var(--muted); font-size: .9375rem; }

/* About page */
.principles { display: grid; gap: clamp(28px, 4vh, 40px) 64px; }
@media (min-width: 760px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.statement { font-size: clamp(1.75rem, min(3.4vw, 5.5vh), 2.75rem); font-stretch: 76%; font-weight: 700; line-height: 1.2; max-width: 52rem; color: var(--ink); }
.statement + p { margin-top: 20px; color: var(--muted); max-width: 44rem; font-size: 1.1875rem; }

/* Contact page */
.contact-grid { display: grid; gap: 48px 88px; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.contact-details { display: grid; gap: 24px; margin-top: clamp(28px, 5vh, 48px); }
.contact-details h2 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.contact-details address { font-style: normal; line-height: 1.6; }
.contact-details .social { margin-top: 0; }
.enquiry { display: grid; gap: 22px; }
.enquiry .two { display: grid; gap: 22px; }
@media (min-width: 640px) { .enquiry .two { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: 8px; font-weight: 650; }
.field .optional { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 54px; padding: 13px 16px; border: 2px solid #7A809E; border-radius: var(--radius);
  background: var(--white); color: var(--ink); font: inherit; font-size: 1.0625rem; line-height: 1.4;
}
.field textarea { min-height: 170px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%230E1433' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 20px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.field [aria-invalid="true"] { border-color: var(--maroon); }
.error { margin-top: 8px; color: var(--maroon); font-size: .9375rem; font-weight: 600; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--maroon); cursor: pointer; }
.check label { font-weight: 500; line-height: 1.5; cursor: pointer; }
.check .error { grid-column: 2; margin-top: 0; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-actions .small { color: var(--muted); font-size: .9375rem; max-width: 26rem; }
.btn[disabled] { opacity: .7; cursor: progress; }
.form-status { padding: 14px 18px; border-radius: var(--radius); border-left: 4px solid var(--maroon); background: #FBEDEC; color: var(--maroon); font-weight: 600; }
.form-success { padding: clamp(28px, 4vw, 40px); border-radius: var(--radius); background: var(--tint); border-top: 4px solid var(--navy); }
.form-success h2 { color: var(--navy); font-size: clamp(2rem, 3.4vw, 2.75rem); font-stretch: 70%; font-weight: 800; }
.form-success p { margin-top: 12px; }
.form-success:focus { outline: 3px solid var(--navy); outline-offset: 3px; }
#turnstile:empty { display: none; }

/* Privacy notice and other long text */
.prose { max-width: 46rem; }
.prose > * + * { margin-top: 14px; }
.prose h2 { margin-top: clamp(40px, 6vh, 56px); font-size: clamp(1.625rem, 2.6vw, 2.25rem); font-stretch: 74%; font-weight: 800; color: var(--ink); scroll-margin-top: calc(var(--header-h) + 16px); }
.prose h3 { margin-top: 28px; font-size: 1.25rem; font-weight: 700; }
.prose ul.node-list li + li { margin-top: 6px; }
.prose .updated { color: var(--muted); }
.table-wrap { overflow-x: auto; margin-top: 20px; }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 1rem; }
.prose th, .prose td { padding: 12px 16px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { color: var(--navy); font-weight: 700; }
.toc { margin-top: 28px; padding: 24px 28px; background: var(--tint); border-radius: var(--radius); }
.toc h2 { margin: 0 0 10px; font-size: 1rem; color: var(--navy); font-stretch: 100%; font-weight: 700; }
.toc ol { columns: 2 16rem; column-gap: 32px; padding-left: 20px; list-style: decimal; }
.toc li { margin-bottom: 4px; }

/* 404 */
.not-found .service-links { margin-top: 32px; }

@media (prefers-reduced-motion: reduce) {
  .js .page-hero h1, .js .page-hero .lead, .js .page-hero .actions, .js .page-hero-visual { animation: none; }
}
.more-cta { margin-top: clamp(28px, 4vh, 40px); }
.page-hero .stats { margin-top: clamp(28px, 4vh, 40px); }
.faq-grid .section-head h2 { font-size: clamp(2.25rem, min(3.4vw, 6.5vh), 3.25rem); }
.contact-grid h1 { font-size: clamp(2.75rem, min(4.8vw, 9vh), 4.5rem); }
