/* Cambridge Machine Learning 2.0
   Soft and light, as the original site was: gradient circuit banners, pastel panels in the four brand colours,
   line illustrations, coloured light headings and the constellation bullet from the logo.
   Type: Manrope only, light weights (300 body and headings, 400 small headings and buttons).
   Colour: each strand of the business has one colour
   (assurance orange, engineering blue, products violet, grants and tenders green). */

@font-face { font-family: "Manrope"; src: url("/fonts/manrope-latin-var.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --blue: #266BCD;   --blue-h: #266BCD;   --blue-ink: #1F5DB6;
  --green: #50AF8A;  --green-h: #3A9976;  --green-ink: #2B7F60;
  --violet: #9A72FF; --violet-h: #8559F0; --violet-ink: #6A45D9;
  --orange: #F19B20; --orange-h: #CF7C00; --orange-ink: #A45F00;
  --text: #575756;
  --ink: #2F3033;
  --muted: #7B7B7A;
  --line: #D9D9D9;
  --soft: #F7F7F7;
  --foot: #EFEFEF;
  --paper: #FFFFFF;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1140px;
  --gutter: clamp(20px, 4vw, 40px);
  --sec: clamp(56px, 7vw, 96px);
  --r: 20px;
  --shadow: 0 18px 40px -26px rgba(38, 107, 205, 0.35);
  /* Section colour and its artwork */
  --accent: var(--blue); --accent-h: var(--blue-h); --accent-ink: var(--blue-ink);
  --bullet: url("/images/icon-bullet-blue.png");
  --banner: linear-gradient(100deg, #2F5FD0 0%, #3975D6 42%, #5A8BE0 70%, #8C80D8 100%);
  --strip: url("/images/bg-footer-blue.jpg");
}
body[data-accent="assurance"], body[data-accent="about"], [data-c="assurance"], [data-c="about"] {
  --accent: var(--orange); --accent-h: var(--orange-h); --accent-ink: var(--orange-ink); --bullet: url("/images/icon-bullet-orange.png");
}
body[data-accent="services"], [data-c="services"], [data-c="work"], [data-c="contact"] {
  --accent: var(--blue); --accent-h: var(--blue-h); --accent-ink: var(--blue-ink); --bullet: url("/images/icon-bullet-blue.png");
}
body[data-accent="products"], [data-c="products"] {
  --accent: var(--violet); --accent-h: var(--violet-h); --accent-ink: var(--violet-ink); --bullet: url("/images/icon-bullet-violet.png");
}
body[data-accent="funding"], [data-c="funding"] {
  --accent: var(--green); --accent-h: var(--green-h); --accent-ink: var(--green-ink); --bullet: url("/images/icon-bullet-green.png");
}
body[data-accent="assurance"], body[data-accent="about"] { --banner: linear-gradient(100deg, #EC9466 0%, #DA8D84 42%, #AE86B2 76%, #837DC6 100%); --strip: url("/images/bg-footer-orange.jpg"); }
body[data-accent="products"] { --banner: linear-gradient(100deg, #5C47B6 0%, #7A5BCB 42%, #A47ECF 74%, #D398A8 100%); --strip: url("/images/bg-footer-violet.jpg"); }
body[data-accent="funding"] { --banner: linear-gradient(100deg, #2AAE9C 0%, #2BA1AE 52%, #2F82C8 100%); --strip: url("/images/bg-footer-green.jpg"); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7; font-weight: 300; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 300; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 1.3rem + 3.6vw, 3.75rem); line-height: 1.12; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.125rem); line-height: 1.25; color: var(--accent-h); }
h3 { font-size: 1.25rem; line-height: 1.4; font-weight: 400; color: var(--ink); }
a { color: var(--blue-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue); }
strong { font-weight: 500; color: var(--ink); }
cite { font-style: italic; }
::selection { background: #D3E2F8; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mono { font-weight: 400; color: var(--ink); overflow-wrap: anywhere; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 40; background: var(--blue); color: #fff; padding: 10px 18px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

.label, .h-label, .status { font-size: 0.8125rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.h-label { margin: 26px 0 10px; }
.status { color: var(--accent-ink); margin-bottom: 6px; }
.lead { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem); line-height: 1.6; max-width: 62ch; }
.intro { font-size: 1.125rem; max-width: 70ch; margin-top: 16px; }
.note { font-size: 0.9375rem; color: var(--muted); margin-top: 20px; }
.after { margin-top: 36px; }
.prose { max-width: 72ch; display: grid; gap: 16px; margin-top: 20px; }

/* ---------- Buttons and links ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 400; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; padding: 0.8em 1.6em; border-radius: 999px; border: 1px solid transparent; transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s; }
.btn-sm { padding: 0.55em 1.4em; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -14px rgba(38, 107, 205, 0.9); }
.btn-primary:hover { background: var(--blue-ink); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--blue); }
.btn-ghost:hover, .btn-ghost[aria-current="page"] { background: var(--blue); color: #fff; }
.btn-white { background: #fff; color: var(--blue-ink); box-shadow: 0 14px 30px -18px rgba(10, 20, 80, 0.8); }
.btn-white:hover { color: var(--blue-ink); transform: translateY(-1px); background: #F2F6FD; }
.btn-glass { color: #fff; border-color: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.08); }
.btn-glass:hover { background: #fff; color: var(--blue-ink); }
.more { font-weight: 400; color: var(--blue-ink); text-decoration: none; }
a.more:hover { text-decoration: underline; }
.links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 22px; }
/* "Learn more" with a long thin arrow, as on the original site */
.learn { display: inline-flex; align-items: center; gap: 14px; font-size: 0.875rem; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); text-decoration: none; }
.arrow { position: relative; width: 26px; height: 1px; background: var(--accent); transition: width .2s; flex: none; }
.arrow::after { content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 1px solid var(--accent); border-right: 1px solid var(--accent); transform: rotate(45deg); }
a.learn:hover { color: var(--accent-ink); }
a.learn:hover .arrow, .strand:hover .arrow { width: 38px; }

/* ---------- Header ---------- */
.head { background: var(--paper); position: relative; z-index: 30; }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 104px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; flex: none; }
.brand img { width: 132px; }
.brand-name { font-size: 0.8125rem; line-height: 1.3; color: var(--muted); padding-left: 16px; border-left: 1px solid var(--line); }
.nav-d { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.nav-d a:not(.btn) { color: var(--text); text-decoration: none; font-size: 1rem; padding: 5px 0; border-bottom: 1px solid transparent; white-space: nowrap; transition: color .2s, border-color .2s; }
.nav-d a:not(.btn):hover, .nav-d a:not(.btn)[aria-current="page"] { color: var(--accent-ink); border-bottom-color: var(--accent); }
.nav-m { display: none; }
@media (max-width: 1139px) { .brand-name { display: none; } }
@media (max-width: 939px) {
  .nav-d { display: none; }
  .nav-m { display: block; }
  .brand-name { display: block; }
  .head-in { min-height: 76px; }
  .brand img { width: 104px; }
  .nav-m summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--blue); border-radius: 999px; }
  .nav-m summary::-webkit-details-marker { display: none; }
  .burger, .burger::before, .burger::after { display: block; width: 18px; height: 1.5px; background: var(--blue); border-radius: 1px; }
  .burger { position: relative; }
  .burger::before, .burger::after { content: ""; position: absolute; left: 0; }
  .burger::before { top: -6px; } .burger::after { top: 6px; }
  .nav-m[open] .burger { background: transparent; }
  .nav-m[open] .burger::before { top: 0; transform: rotate(45deg); }
  .nav-m[open] .burger::after { top: 0; transform: rotate(-45deg); }
  .nav-m nav { position: absolute; left: 0; right: 0; top: 100%; display: grid; background: var(--paper); padding: 4px var(--gutter) 16px; box-shadow: 0 30px 40px -28px rgba(38, 107, 205, 0.45); border-top: 1px solid var(--line); }
  .nav-m nav a { padding: 14px 0; border-top: 1px solid #EBEBEB; text-decoration: none; color: var(--text); font-size: 1.125rem; display: flex; align-items: center; gap: 14px; }
  .nav-m nav a:first-child { border-top: 0; }
  .nav-m nav a::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
  .nav-m nav a[aria-current="page"] { color: var(--accent-ink); }
}

/* ---------- Banners ---------- */
.hero { background: linear-gradient(90deg, rgba(30, 34, 110, 0.22), rgba(30, 34, 110, 0) 60%), #3B5FCB url("/images/bg-hero.jpg") center / cover no-repeat; color: #fff; padding-block: clamp(56px, 7vw, 96px); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-top: 18px; }
.hero .lead { margin-top: 24px; color: rgba(255, 255, 255, 0.95); }
.banner-eyebrow { font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); font-weight: 400; }
@media (max-width: 939px) { .hero-in { grid-template-columns: minmax(0, 1fr); } }

.banner { background: url("/img/circuit.svg") right -30px top / 600px auto no-repeat, var(--banner); color: #fff; padding-block: clamp(48px, 6vw, 80px); }
.banner h1 { margin-top: 14px; font-size: clamp(2.1rem, 1.3rem + 3vw, 3.125rem); max-width: 20ch; }
.banner .lead { margin-top: 20px; color: rgba(255, 255, 255, 0.96); max-width: 64ch; text-shadow: 0 1px 14px rgba(20, 30, 90, 0.18); }
.banner .btn-primary { background: #fff; color: var(--blue-ink); box-shadow: 0 14px 30px -18px rgba(10, 20, 80, 0.8); }
.banner .btn-primary:hover { background: #F2F6FD; }
.banner .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.08); }
.banner .btn-ghost:hover { background: #fff; color: var(--blue-ink); }
@media (max-width: 760px) { .banner { background: var(--banner); } }
.strip { height: 50px; background: var(--accent) var(--strip) center / cover no-repeat; }

/* The twelve pillars as a colonnade, on frosted glass over the banner */
.pw { background: rgba(22, 34, 98, 0.32); border: 1px solid rgba(255, 255, 255, 0.34); -webkit-backdrop-filter: blur(16px) saturate(130%); backdrop-filter: blur(16px) saturate(130%); color: #fff; border-radius: 26px; padding: clamp(22px, 3vw, 32px); display: grid; gap: 20px; box-shadow: 0 30px 60px -34px rgba(12, 20, 80, 0.8); }
.pw-title { font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); font-weight: 400; }
.pw-beam { height: 5px; background: rgba(255, 255, 255, 0.95); border-radius: 3px; }
.pw-bars { display: flex; height: clamp(110px, 12vw, 150px); padding-inline: 6px; }
.pw-bar { flex: 1; min-width: 0; border: 0; padding: 0; background: none; cursor: pointer; display: flex; justify-content: center; }
.pw-bar::before { content: ""; width: 30%; min-width: 4px; height: 100%; background: rgba(255, 255, 255, 0.5); border-radius: 2px; transition: width .25s ease, background-color .25s ease, box-shadow .25s ease; }
.pw-bar:hover::before { background: rgba(255, 255, 255, 0.85); }
.pw-bar.is-on::before { width: 58%; background: #fff; box-shadow: 0 0 22px rgba(255, 255, 255, 0.75); }
.pw-bar:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.pw-detail { min-height: 11.5rem; display: grid; gap: 8px; align-content: start; }
.pw-num { font-size: 0.875rem; color: rgba(255, 255, 255, 0.85); letter-spacing: 0.04em; }
.pw-name { margin-left: 8px; color: #fff; font-weight: 400; }
.pw-q { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.625rem); line-height: 1.3; color: #fff; text-wrap: balance; }
.pw-plain { font-size: 0.9375rem; line-height: 1.6; color: rgba(255, 255, 255, 0.92); }
.pw-link { color: #fff; font-size: 0.875rem; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; border-top: 1px solid rgba(255, 255, 255, 0.3); padding-top: 16px; }
.pw-link:hover { color: #fff; text-decoration: underline; }
@media (max-width: 520px) { .pw-detail { min-height: 13.5rem; } }

/* ---------- Home: trusted by, strands, facts ---------- */
.trusted { padding-block: 36px 32px; border-bottom: 1px solid #EBEBEB; text-align: center; }
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px clamp(28px, 4.4vw, 60px); margin-top: 22px; }
.logos img { width: auto; opacity: 0.72; filter: grayscale(100%); transition: opacity .2s, filter .2s; }
.logos li:hover img { opacity: 1; filter: none; }
.trusted-gov { margin-top: 22px; font-size: 1rem; color: var(--muted); }
.trusted-gov strong { color: var(--text); font-weight: 400; }

.strands { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.strand { position: relative; background: color-mix(in srgb, var(--accent) 10%, #fff); padding: clamp(36px, 4vw, 56px) clamp(22px, 2.6vw, 40px) clamp(40px, 4vw, 56px); text-align: center; display: flex; flex-direction: column; align-items: center; transition: background-color .25s; }
.strand:hover { background: color-mix(in srgb, var(--accent) 15%, #fff); }
.strand-art { height: 190px; display: grid; place-items: center; }
.strand-art img, .strand-art svg { width: 176px; height: 176px; object-fit: contain; }
.strand-rule { width: 100%; max-width: 240px; height: 1px; background: #C6C6C6; margin: 34px 0 18px; }
.strand h2 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2rem); }
.strand h2 a { color: var(--accent-h); text-decoration: none; }
.strand h2 a::after { content: ""; position: absolute; inset: 0; }
.strand p { margin-top: 16px; font-size: 1rem; max-width: 30ch; }
.strand .learn { margin-top: auto; padding-top: 24px; }
@media (max-width: 1099px) { .strands { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .strands { grid-template-columns: minmax(0, 1fr); } .strand-art { height: 150px; } .strand-art img, .strand-art svg { width: 136px; height: 136px; } }

.facts { padding-block: clamp(44px, 6vw, 72px); }
.facts-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px clamp(20px, 3vw, 44px); text-align: center; }
.facts-in dt { font-size: clamp(2rem, 1.3rem + 2.2vw, 3rem); line-height: 1.1; color: var(--accent-h); letter-spacing: -0.01em; }
.facts-in dd { margin: 10px auto 0; font-size: 1rem; line-height: 1.55; max-width: 24ch; }
@media (max-width: 939px) { .facts-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .facts-in { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Sections ---------- */
.sec { padding-block: var(--sec); }
.sec + .sec:not(.sec-tint):not(.sec-soft) { padding-top: 0; }
.sec-tint, .sec-soft { background: color-mix(in srgb, var(--accent) 7%, #fff); }
.sec-tint + .sec, .sec-soft + .sec { padding-top: var(--sec) !important; }
.sec > .wrap > h2:first-child { position: relative; padding-left: 54px; min-height: 40px; display: flex; align-items: center; }
.sec > .wrap > h2:first-child::before { content: ""; position: absolute; left: 0; top: 50%; width: 38px; height: 38px; transform: translateY(-50%); background: var(--bullet) center / contain no-repeat; }
.sec > .wrap > h2:first-child + .intro { margin-top: 18px; }

/* Selected projects */
.projects { margin-top: 36px; display: grid; gap: 22px; }
.project { display: grid; grid-template-columns: 132px minmax(0, 1fr) minmax(0, 230px); gap: clamp(20px, 3vw, 40px); align-items: center; padding: 22px clamp(18px, 2.4vw, 30px) 22px 22px; background: #fff; border: 1px solid #ECECEC; border-radius: var(--r); box-shadow: var(--shadow); }
.project-icon { width: 132px; height: 132px; border-radius: 16px; background: color-mix(in srgb, var(--accent) 9%, #fff); display: grid; place-items: center; overflow: hidden; }
.project-icon img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.project-meta { font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.project h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); font-weight: 300; color: var(--accent-h); margin: 6px 0 8px; line-height: 1.3; }
.project-main p:last-child { font-size: 1rem; }
.project-out { font-size: 0.9375rem; line-height: 1.5; padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
.project-out strong { display: block; font-size: 2rem; font-weight: 300; color: var(--accent-h); line-height: 1.15; margin-bottom: 4px; }
@media (max-width: 939px) {
  .project { grid-template-columns: 88px minmax(0, 1fr); align-items: start; }
  .project-icon { width: 88px; height: 88px; }
  .project-out { grid-column: 1 / -1; padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* Product tiles */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.tile { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.tile-media { height: 210px; background: color-mix(in srgb, var(--accent) 13%, #fff); display: grid; place-items: center; overflow: hidden; padding: 22px 22px 0; }
.tile-media .shot-phone { width: 128px; align-self: start; border-radius: 16px 16px 0 0; box-shadow: 0 18px 30px -18px rgba(40, 40, 90, 0.5); }
.tile-media .shot-book { width: 112px; margin-bottom: 22px; border-radius: 3px; box-shadow: 0 16px 28px -16px rgba(20, 30, 60, 0.6); }
.tile-media .pareto { width: 100%; max-height: 176px; margin-bottom: 14px; }
.tile-text { padding: 20px 22px 24px; display: grid; gap: 6px; align-content: start; }
.tile-s { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); font-weight: 400; }
.tile-text p:last-child { font-size: 0.9688rem; line-height: 1.6; }
@media (max-width: 1099px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tiles { grid-template-columns: minmax(0, 1fr); } }

/* Credentials */
.creds-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: 32px; }
.creds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.creds li { position: relative; background: color-mix(in srgb, var(--accent) 9%, #fff); border-radius: 16px; padding: 18px 18px 18px 52px; font-size: 0.9688rem; line-height: 1.5; }
.creds li::before { content: ""; position: absolute; left: 18px; top: 20px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); }
.creds li::after { content: ""; position: absolute; left: 25px; top: 25px; width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(-1px, 1px); }
.creds strong { display: block; font-weight: 400; color: var(--ink); font-size: 1.0625rem; }
.creds-badge { display: grid; justify-items: center; gap: 10px; text-decoration: none; font-size: 0.875rem; color: var(--muted); }
.creds-badge img { width: 120px; height: 120px; }
@media (max-width: 939px) { .creds { grid-template-columns: repeat(2, minmax(0, 1fr)); } .creds-wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .creds { grid-template-columns: minmax(0, 1fr); } }

/* Quote band on a gradient, and plain quotes */
.quote-band, .quote-sec { background: #3D62C9 url("/images/bg-quote-blue.jpg") center / cover no-repeat; color: #fff; padding-block: clamp(48px, 6vw, 80px); text-align: center; }
body[data-accent="funding"] .quote-band, body[data-accent="funding"] .quote-sec { background-image: url("/images/bg-quote-green.jpg"); background-color: #2E9C9A; }
.quote-band figure, .quote-sec .quote { max-width: 860px; margin-inline: auto; border: 0; padding: 0; }
.quote-band blockquote p, .quote-sec blockquote p { font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.625rem); line-height: 1.55; color: #fff; text-wrap: pretty; }
.quote-band figcaption, .quote-sec figcaption { margin-top: 18px; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.9); }
.quote { max-width: 820px; border-left: 3px solid var(--accent); padding-left: clamp(20px, 3vw, 34px); }
.quote blockquote p { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); line-height: 1.5; color: var(--ink); }
.quote figcaption { margin-top: 14px; font-size: 0.9375rem; color: var(--muted); }
.quote-sm { margin-top: 34px; }

/* Closing call to action */
.cta { padding-block: clamp(44px, 5vw, 64px); }
.cta-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cta-a { padding-right: clamp(24px, 6vw, 96px); border-right: 1px solid #C6C6C6; }
.cta-b { padding-left: clamp(24px, 6vw, 96px); }
.cta h2 { font-size: 1.625rem; }
.cta p { margin-top: 12px; font-size: 1rem; max-width: 44ch; }
.cta .actions { margin-top: 24px; }
@media (max-width: 760px) { .cta-in { grid-template-columns: minmax(0, 1fr); gap: 32px; } .cta-a { padding: 0 0 32px; border-right: 0; border-bottom: 1px solid #C6C6C6; } .cta-b { padding: 0; } }

/* ---------- Cards and content blocks ---------- */
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 34px; }
.areas-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.areas-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.area { background: #fff; border: 1px solid #ECECEC; border-radius: var(--r); padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 10px; align-content: start; box-shadow: var(--shadow); }
.sec-tint .area, .sec-soft .area { border-color: transparent; }
.area-icon { width: 64px; height: 64px; object-fit: contain; margin-bottom: 8px; }
.area h3 { color: var(--accent-h); font-weight: 300; font-size: 1.4375rem; }
.area > p { font-size: 1rem; }
@media (max-width: 1099px) { .areas-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .areas, .areas-3, .areas-4 { grid-template-columns: minmax(0, 1fr); } }
.ticks { display: grid; gap: 8px; margin-top: 6px; }
.ticks li { position: relative; padding-left: 22px; font-size: 1rem; line-height: 1.55; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.fit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 30px; }
.fit > div { background: color-mix(in srgb, var(--accent) 8%, #fff); border-radius: var(--r); padding: clamp(22px, 2.6vw, 30px); }
.fit .h-label { margin-top: 0; color: var(--accent-ink); }
@media (max-width: 939px) { .fit { grid-template-columns: minmax(0, 1fr); } }

/* Questions and answers */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 34px; }
.faq > div { background: #fff; border: 1px solid #ECECEC; border-radius: var(--r); padding: 24px 26px; box-shadow: var(--shadow); }
.sec-tint .faq > div { border-color: transparent; }
.faq dt { font-size: 1.1875rem; line-height: 1.4; color: var(--accent-h); }
.faq dd { margin-top: 8px; font-size: 1rem; }
@media (max-width: 760px) { .faq { grid-template-columns: minmax(0, 1fr); } }

/* Steps joined by a circuit trace */
.trace { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0; margin-top: 44px; }
.trace li { position: relative; padding: 34px 26px 0 0; }
.trace li::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1.5px; background: linear-gradient(90deg, var(--blue), var(--violet)); opacity: 0.7; }
.trace li:last-child::before { right: 40%; background: linear-gradient(90deg, var(--violet), var(--orange)); }
.trace-dot { position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.trace li:nth-child(2) .trace-dot { border-color: #5A6EE0; } .trace li:nth-child(3) .trace-dot { border-color: var(--violet); } .trace li:nth-child(4) .trace-dot { border-color: #C388B9; } .trace li:nth-child(n+5) .trace-dot { border-color: var(--orange); }
.trace li:last-child::after { content: ""; position: absolute; left: 60%; top: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--orange); transform: translateX(-50%); }
.trace-t { font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); font-weight: 400; }
.trace h3 { margin: 4px 0 8px; }
.trace li > p:last-child { font-size: 1rem; line-height: 1.6; }
.trace-loop { margin-top: 30px; display: inline-flex; gap: 12px; align-items: center; background: color-mix(in srgb, var(--orange) 12%, #fff); border-radius: 999px; padding: 10px 22px; font-size: 1rem; }
.trace-loop span { color: var(--orange-ink); font-size: 1.25rem; line-height: 1; }
@media (max-width: 760px) {
  .trace { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .trace li { padding: 0 0 30px 40px; }
  .trace li::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1.5px; height: auto; background: linear-gradient(180deg, var(--blue), var(--violet)); }
  .trace li:last-child::before { right: auto; bottom: 60%; }
  .trace li:last-child::after { display: none; }
}

/* Twelve Pillars */
.temple-wrap { margin-top: 34px; background: linear-gradient(120deg, rgba(38, 107, 205, 0.07), rgba(154, 114, 255, 0.08) 60%, rgba(241, 155, 32, 0.09)); border-radius: 26px; padding: clamp(18px, 3vw, 40px); overflow-x: auto; }
.temple { min-width: 720px; width: 100%; font-family: var(--sans); }
.temple .t-roof { font-size: 19px; fill: var(--ink); font-weight: 300; }
.temple .t-beam { font-size: 12px; letter-spacing: 2.4px; fill: #fff; font-weight: 500; }
.temple .t-num { font-size: 13px; font-weight: 500; }
.temple .t-name { font-size: 14.5px; fill: var(--text); font-weight: 400; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.pillars li { background: #fff; border: 1px solid #ECECEC; border-radius: 16px; padding: 18px 20px; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 6px; box-shadow: var(--shadow); }
.pillar-n { font-size: 1.375rem; color: var(--accent-h); line-height: 1.25; }
.pillars h3 { font-size: 1.0625rem; }
.pillars h3 a { color: var(--ink); text-decoration: none; }
.pillars h3 a:hover { color: var(--accent-ink); }
.pillars p { margin-top: 2px; font-size: 0.9688rem; line-height: 1.5; }
@media (max-width: 939px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pillars { grid-template-columns: minmax(0, 1fr); } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(28px, 5vw, 72px); align-items: start; margin-top: 48px; }
.split .prose { margin-top: 0; }
@media (max-width: 939px) { .split { grid-template-columns: minmax(0, 1fr); } }
.scorecard { background: #fff; border-radius: 22px; padding: 24px 26px; box-shadow: 0 30px 60px -36px rgba(207, 124, 0, 0.55); border: 1px solid #F1E6D6; }
.scorecard figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid #EDEDED; }
.scorecard-h { font-size: 1.125rem; color: var(--ink); font-weight: 400; }
.scorecard-k { display: flex; flex-wrap: wrap; gap: 6px; }
.scorecard ol { display: grid; margin-top: 6px; }
.scorecard li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid #F3F3F3; font-size: 0.9375rem; }
.sc-n { color: var(--muted); font-size: 0.8125rem; }
.sc-name { color: var(--ink); }
.rate { display: inline-flex; align-items: center; gap: 7px; font-size: 0.8125rem; padding: 2px 11px 2px 9px; border-radius: 999px; color: var(--ink); white-space: nowrap; }
.rate::before { content: ""; width: 9px; height: 9px; border-radius: 50%; flex: none; box-sizing: border-box; }
.rate-strong { background: #E4F4EC; } .rate-strong::before { background: #2F9D6F; }
.rate-adequate { background: #E9F0FB; } .rate-adequate::before { border: 2px solid var(--blue); background: linear-gradient(90deg, var(--blue) 50%, transparent 50%); }
.rate-gap { background: #FDEBDD; } .rate-gap::before { border: 2px solid #D2571C; }
.scorecard-note { font-size: 0.8125rem; color: var(--muted); margin-top: 12px; }

.book { display: grid; grid-template-columns: minmax(0, 230px) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.book img { border-radius: 4px; box-shadow: 0 26px 50px -24px rgba(20, 30, 70, 0.6); }
@media (max-width: 640px) { .book { grid-template-columns: minmax(0, 1fr); } .book img { max-width: 190px; } }

/* Steps as cards (services) */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 34px; }
.step { background: #fff; border-radius: var(--r); padding: 24px; display: grid; gap: 8px; align-content: start; box-shadow: var(--shadow); border: 1px solid #ECECEC; }
.step-t { font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); font-weight: 400; }
.step p:last-child { font-size: 1rem; line-height: 1.6; }
.steps + .intro { margin-top: 34px; }
@media (max-width: 1099px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Work ---------- */
.cases { display: grid; gap: 28px; margin-top: 34px; }
.case { background: #fff; border: 1px solid #ECECEC; border-radius: 26px; padding: clamp(22px, 3.4vw, 44px); box-shadow: var(--shadow); }
.case-top { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 24px; align-items: center; }
.case-top .project-icon { width: 96px; height: 96px; }
.case h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem); margin-top: 4px; }
.row-meta { font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 400; display: flex; flex-wrap: wrap; gap: 0 8px; }
.row-meta span + span::before { content: "· "; }
.case-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 310px); gap: clamp(24px, 4vw, 52px); margin-top: 24px; align-items: start; }
.case-out { background: color-mix(in srgb, var(--accent) 9%, #fff); border-radius: var(--r); padding: 26px; }
.case-out .h-label { margin: 0 0 6px; color: var(--accent-ink); }
.case-out .case-fig { font-size: 1.875rem; color: var(--accent-h); line-height: 1.15; margin-bottom: 8px; }
.case-out p { font-size: 0.9688rem; line-height: 1.55; }
.case-out p + .h-label { margin-top: 22px; }
.case-pillars { color: var(--ink); }
@media (max-width: 939px) { .case-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .case-top { grid-template-columns: minmax(0, 1fr); gap: 14px; } }

.rows { margin-top: 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.row { background: #fff; border: 1px solid #ECECEC; border-radius: var(--r); padding: 24px 26px; display: grid; gap: 8px; align-content: start; box-shadow: var(--shadow); }
.sec-tint .row { border-color: transparent; }
.row-main { display: grid; gap: 6px; }
.row-main h3 { color: var(--accent-h); font-weight: 300; font-size: 1.375rem; }
.row-main p { font-size: 1rem; }
@media (max-width: 760px) { .rows { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Products ---------- */
.prods { display: grid; gap: 28px; margin-top: 34px; }
.prod { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: clamp(24px, 4vw, 56px); align-items: center; background: #fff; border: 1px solid #ECECEC; border-radius: 26px; padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow); }
.prod:nth-child(even) .prod-media { order: -1; }
.prod-text { display: grid; gap: 12px; align-content: start; padding: 4px clamp(0px, 1vw, 12px); }
.prod-text h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.375rem); }
.prod-media { background: color-mix(in srgb, var(--accent) 12%, #fff); border-radius: 20px; padding: clamp(20px, 3vw, 32px); display: flex; gap: 16px; justify-content: center; align-items: center; min-height: 300px; }
.prod-media-phones img { width: calc(50% - 8px); max-width: 180px; border-radius: 16px; box-shadow: 0 20px 38px -22px rgba(40, 40, 90, 0.6); }
.prod-media-book img { max-width: 190px; border-radius: 4px; box-shadow: 0 26px 50px -24px rgba(20, 30, 70, 0.6); }
.prod-media .pareto { width: 100%; max-width: 380px; }
@media (max-width: 939px) { .prod { grid-template-columns: minmax(0, 1fr); } .prod:nth-child(even) .prod-media { order: 0; } .prod-media { min-height: 0; } }
.queryviz { font-family: var(--sans); width: 100%; max-width: 380px; }
.queryviz .q-t { font-size: 15px; fill: #2F3033; font-weight: 400; }
.queryviz .q-l { font-size: 13px; fill: #575756; }
.tile-media .queryviz { max-height: 176px; margin-bottom: 14px; }
.pareto { font-family: var(--sans); }
.pareto .p-t { font-size: 13px; font-weight: 400; }
.pareto .p-a { font-size: 12px; fill: #7B7B7A; letter-spacing: 0.6px; }

/* ---------- Grants and tenders ---------- */
.consortium-wrap { margin-top: 30px; background: color-mix(in srgb, var(--green) 7%, #fff); border-radius: 26px; padding: clamp(14px, 3vw, 36px); overflow-x: auto; }
.consortium { min-width: 640px; width: 100%; max-width: 900px; margin-inline: auto; font-family: var(--sans); }
.consortium .c-h { font-size: 17px; fill: var(--ink); font-weight: 400; }
.consortium .c-p { font-size: 13.5px; fill: var(--text); font-weight: 300; }
.consortium .c-cml { font-size: 24px; fill: var(--blue); font-weight: 300; letter-spacing: 1px; }
.table-wrap { overflow-x: auto; margin-top: 30px; border-radius: var(--r); border: 1px solid #ECECEC; box-shadow: var(--shadow); background: #fff; }
.ledger { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.55; min-width: 680px; }
.ledger th { text-align: left; font-size: 0.8125rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); padding: 16px 22px; background: color-mix(in srgb, var(--accent) 9%, #fff); vertical-align: bottom; }
.ledger td { padding: 18px 22px; border-top: 1px solid #EFEFEF; vertical-align: top; }
.ledger td strong { display: block; font-size: 1.125rem; font-weight: 400; }
.ledger .ref { display: block; font-size: 0.8125rem; color: var(--muted); margin-top: 2px; white-space: nowrap; }
.ledger-num { min-width: 520px; font-variant-numeric: tabular-nums; }
.ledger-num th:last-child, .ledger-num td:last-child { text-align: right; white-space: nowrap; }
.ledger-num td:first-child { white-space: nowrap; }
.ledger tfoot th { background: none; border-top: 1px solid var(--line); font-size: 1.0625rem; text-transform: none; letter-spacing: 0; color: var(--ink); font-weight: 500; }
.table-wrap + .prose { margin-top: 30px; }
.kv { margin-top: 30px; background: #fff; border-radius: var(--r); padding: 6px clamp(18px, 3vw, 32px); box-shadow: var(--shadow); }
.kv > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 6px 32px; padding-block: 15px; border-top: 1px solid #EFEFEF; }
.kv > div:first-child { border-top: 0; }
.kv dt { font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); font-weight: 400; padding-top: 4px; }
.kv dd { color: var(--ink); max-width: 66ch; }
@media (max-width: 640px) { .kv > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* ---------- About ---------- */
.person { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: center; margin-top: 34px; }
.person-photo { position: relative; }
.person-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 28px; background: linear-gradient(135deg, rgba(38, 107, 205, 0.25), rgba(154, 114, 255, 0.3) 55%, rgba(241, 155, 32, 0.35)); }
.person img { position: relative; border-radius: 28px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.person h3 { font-size: 1.75rem; font-weight: 300; color: var(--accent-h); }
.role { font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-top: 4px; }
@media (max-width: 760px) { .person { grid-template-columns: minmax(0, 1fr); } .person-photo { max-width: 240px; } }
.assoc-group { margin-top: 40px; }
.assoc-h { display: flex; align-items: center; gap: 12px; font-size: 0.8125rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); }
.assoc-h::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.assoc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 16px; }
.assoc { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 20px; align-items: start; background: #fff; border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow); }
.assoc img, .assoc-none { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, #fff); }
.assoc-none { display: block; background: color-mix(in srgb, var(--accent) 10%, #fff) url("/images/icon-bullet-blue.png") center / 52% no-repeat; }
.assoc h4 { margin: 0; font-size: 1.1875rem; font-weight: 400; color: var(--ink); }
.assoc p { margin-top: 4px; font-size: 0.9688rem; line-height: 1.6; }
@media (max-width: 760px) { .assoc-grid { grid-template-columns: minmax(0, 1fr); } .assoc { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; } .assoc img, .assoc-none { width: 64px; height: 64px; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.contact-card { background: #fff; border: 1px solid #ECECEC; border-radius: var(--r); padding: clamp(22px, 3vw, 30px); display: grid; gap: 10px; align-content: start; box-shadow: var(--shadow); }
.contact-card .h-label { margin: 0; color: var(--accent-ink); }
.contact-card h2 { font-size: 1.5rem; }
.contact-card p:not(.h-label):not(.contact-email) { font-size: 1rem; }
.contact-main { grid-column: 1 / -1; background: linear-gradient(120deg, rgba(38, 107, 205, 0.09), rgba(154, 114, 255, 0.1) 60%, rgba(241, 155, 32, 0.1)); border-color: transparent; box-shadow: none; padding: clamp(26px, 4vw, 48px); }
.contact-email a { font-size: clamp(1.25rem, 0.8rem + 2.4vw, 2.25rem); color: var(--blue); text-decoration: none; overflow-wrap: anywhere; line-height: 1.25; }
.contact-email a:hover { color: var(--blue-ink); }
.contact-main .actions { margin-top: 12px; }
.contact-note { margin-top: 28px; }
@media (max-width: 939px) { .contact { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Long documents ---------- */
.doc { max-width: 780px; }
.doc h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.doc > :first-child { margin-top: 0; }
.doc p + p { margin-top: 14px; }
.doc ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 8px; margin-block: 12px; }
.doc ul li::marker { color: var(--accent); }
.doc .table-wrap { margin-block: 24px; }

/* ---------- Footer ---------- */
.foot { background: var(--foot); padding-block: clamp(40px, 5vw, 60px) 30px; font-size: 1rem; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)) auto; gap: clamp(24px, 4vw, 48px); align-items: start; }
.foot-brand { display: grid; gap: 14px; max-width: 34ch; }
.foot-brand img { width: 120px; }
.foot-col { display: grid; gap: 8px; align-content: start; }
.foot-h { font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 4px; }
.foot-col a { color: var(--text); text-decoration: none; }
.foot-col a:hover { color: var(--blue); }
.foot-badge img { width: 76px; height: 76px; }
.foot-legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid #D5D5D5; font-size: 0.875rem; color: var(--muted); line-height: 1.6; }
.copy-wrap { display: inline-flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
button.copy:not(.btn) { font: inherit; font-size: 0.8125rem; color: var(--text); background: none; border: 1px solid var(--blue); border-radius: 999px; padding: 2px 12px; cursor: pointer; }
button.copy:not(.btn):hover { background: var(--blue); color: #fff; }
@media (max-width: 939px) { .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

/* Line illustrations drawn in SVG */
.illus { width: 100%; height: 100%; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media print {
  .head nav, .nav-m, .cta, .strip, .foot-top, .skip, .actions { display: none !important; }
  .hero, .banner, .quote-band, .quote-sec { background: none !important; color: #000; }
  .hero h1, .banner h1, .banner .lead, .hero .lead { color: #000; }
}
