/* Dr Gregory Gorman: site stylesheet. Single hand-written file, no framework. */

:root {
  color-scheme: light;

  --paper: #F7F9FB;
  --paper-2: #EEF2F6;
  --white: #FFFFFF;
  --ink: #243B53;
  --ink-2: #52606D;
  --line: #D9E2EC;
  --navy-900: #0B1F33;
  --navy-700: #102A43;
  --navy-100: #E1E8F0;
  --teal-600: #147D7E;
  --teal-700: #0F6566;
  --teal-100: #DCEEEE;
  --teal-50: #EDF6F6;  /* Home programme-evaluation card tint */
  --teal-pale: #D5E8E8;  /* revision 57: the Home hero graphic's disc (non-text) */
  --teal-mid: #8ABEBE;   /* revision 57: the Home hero graphic's two outer line dots (non-text) */
  --teal-glow: #C2E6E1;  /* revision 58: the Assessment Validation hero graphic's centre, for a moment as it locks on (non-text) */
  --amber-500: #D6A84B;
  --paper-on-navy: #F4F1EA;
  --wordmark-navy: #062D55;   /* revision 54: the header wordmark's colours, from the logo reference */
  --wordmark-steel: #3F7595;

  --font-heading: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Type scale (spec §9.3). Mobile values here; desktop values from 900px below. Serif for h1, h2, and
     on Home the feature titles and the pull quote (400 italic); Inter for everything else. Weights 400, 500 and 600 only.
     The header wordmark has its own faces (Cinzel and Montserrat, revision 54). 14px is the floor, except the mobile
     eyebrow and the wordmark's "Consultancy" line (12px, uppercase and tracked). */
  /* Revision 51 (typography, report 5.3): larger, lighter headlines. h1 40-44px on phones and 64-72px on desktop,
     weight 500, line-height 1.08; h2 by section role, about 44px for statement sections (and the closing section) and
     32px for working sections (28 and 26px on phones). Body unchanged. */
  --fs-h1: 2.625rem;       /* 42px */
  --fs-h1-service: 2.5rem; /* 40px: the longer service-page h1s */
  --lh-h1: 1.08;
  --fs-h2: 1.625rem;       /* 26px: working sections */
  --fs-h2-statement: 2rem; /* 32px: statement sections and the closing section */
  --fs-h3: 1.375rem;       /* 22px */
  --fs-lede: 1.125rem;     /* 18px: hero sub-line */
  --fs-body: 1.0625rem;    /* 17px */
  --fs-ui: 1rem;           /* 16px: nav, buttons, secondary text links */
  --fs-eyebrow: 0.875rem;  /* 14px (revision 40; was 12px): eyebrows, Evidence Check kickers and question labels. Nothing
                              but the header subtitle is set under 14px. */
  --fs-small: 0.875rem;    /* 14px: captions and technical notes */
  /* Body measure: 55–65 characters per line of Inter prose */
  --measure: 33em;
  --hero-measure: 600px;
}
@media (min-width: 900px) {
  :root {
    --fs-h1: 4rem;         /* 64px */
    --fs-h1-service: 3.5rem;   /* 56px at 900–1199px, where the hero column is only ~420–560px */
    --lh-h1: 1.08;
    --fs-h2: 2rem;         /* 32px */
    --fs-h2-statement: 2.75rem; /* 44px */
    --fs-h3: 1.5625rem;    /* 25px */
    --fs-lede: 1.1875rem;  /* 19px */
    --fs-body: 1.125rem;   /* 18px */
  }
}
@media (min-width: 1200px) {
  :root { --fs-h1-service: 4rem; } /* 64px */
}
/* 1440px and up: h1 64 to 72px, rising with the viewport and holding from 1920px. */
@media (min-width: 1440px) {
  :root { --fs-h1: clamp(4rem, 1.667vw + 2.5rem, 4.5rem); --fs-h1-service: var(--fs-h1); }
}

/* Fonts: self-hosted from @fontsource (copied into /assets/fonts/ at build), Latin subset only */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-600.woff2") format("woff2");
}
/* Revision 54: the header wordmark, recreated from the "New Gregory Gorman Consultancy Tree Logo" reference. Cinzel 600 (OFL; a Trajan-style
   capital face, the closest open match to the reference's lettering) for "Gregory Gorman", Montserrat 400 (OFL; the
   same wide geometric capitals as the reference's "CONSULTANCY") for the line beneath. Latin subset, self-hosted. */
@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/cinzel-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/montserrat-latin-400.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/source-serif-4-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/source-serif-4-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/source-serif-4-latin-600.woff2") format("woff2");
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img, picture { max-width: 100%; display: block; }
/* Width/height attributes reserve space; height:auto keeps the intrinsic ratio once CSS sizes the image. */
img { height: auto; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; }
p, li, a { overflow-wrap: break-word; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.575;
}
/* Nothing heavier than 600: the browser default for bold (700) is never used */
strong, b, h4, th, dt { font-weight: 600; }

h1, h2 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--navy-700);
}
h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  letter-spacing: -0.015em;
}
/* Service-page h1: same face, weight, tracking and leading, one step down (the sentences are longer) */
h1.h1--service { font-size: var(--fs-h1-service); }
/* Home h1: each sentence starts on its own line from 1200px (a styled break, not a <br>). Below that
   they run on: the break would cost 1024px a fifth line. */
@media (min-width: 1200px) {
  .h1-sentence { display: block; }
}
h2 {
  font-size: var(--fs-h2);
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.section--statement h2, .cta-banner h2 { font-size: var(--fs-h2-statement); line-height: 1.1; letter-spacing: -0.01em; }
/* h3 (and an h2 styled as one with .h3) is Inter, not the serif */
h3, .h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-h3);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--navy-700);
}
/* Balanced line lengths, so a heading never strands one word on its last line */
h1, h2, h3, .faq summary { text-wrap: balance; }

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-2);
}

.small { font-size: var(--fs-small); color: var(--ink-2); }

/* Hero sub-line */
.lede { font-size: var(--fs-lede); line-height: 1.5; max-width: var(--hero-measure); }

.prose { max-width: var(--measure); }
.prose p + p { margin-top: 1em; }

a { color: var(--teal-600); }
/* Accent word in a heading: teal-600 on --paper is 4.9:1 */
.accent { color: var(--teal-600); }
a:hover { color: var(--teal-700); }

table { font-variant-numeric: tabular-nums; }
.pricing-fee { font-variant-numeric: tabular-nums; }

/* Layout */
.container {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 24px;
}
@media (max-width: 400px) {
  .container { padding-inline: 16px; }
}
/* Wide screens (1440px and up): the container grows to 80% of the viewport, capped at 1440px of content
   (1488px with its 24px side padding), which it reaches at 1860px. Running text keeps a readable measure:
   --measure becomes 60ch, about 70 characters of Inter per line (1ch is the width of "0", wider than the
   average letter). Below 1440px nothing changes: 1120px container, 33em measure. Section backgrounds are
   on the sections, outside the container, so they stay full width. */
@media (min-width: 1440px) {
  :root { --measure: 60ch; }
  .container { max-width: min(80vw, 1488px); }
}

/* Section roles (revision 51, report 5.2), each with its own spacing, top and bottom, instead of one value for all:
   - working (.section, the default: the service cards, "How to start", the engagement steps, Sectors, About's
     experience): 80px from 900px, 48px on phones;
   - statement (.section--statement: "Consistent isn't the same as correct" with "Every question should earn its place",
     and "Three questions every evaluation should answer"): generous, 112px from 900px, 72px on phones, with the larger
     h2 (160px and 88px until revision 61, when these became tinted bands straight under the hero: with the hero's own
     space under its text, 160px left a gap of over 220px at 1440 and 1920);
   - proof (.section--proof: Selected work, Selected publications): tight, 56px from 900px, 36px on phones;
   - closing (.cta-banner): 96px above the text from 900px, the banner at its foot.
   One tint per page (--paper); the background changes only where the content changes kind: Home's hero, "How to start"
   on the service pages, the Sectors card field and the closing section (in the opposite tone to the section above). */
.section {
  padding-block: 48px;
}
.section--statement { padding-block: 72px; }
.section--proof { padding-block: 36px; }
@media (min-width: 900px) {
  .section { padding-block: 80px; }
  .section--statement { padding-block: 112px; }
  .section--proof { padding-block: 56px; }
}
/* Offset text block (revision 51): from 1024px it starts a quarter of the way across the container (column 4 of 12),
   about 60 characters wide. One per page where it suits the content: About's publications (and Home's engagement
   steps in revisions 51 to 55). */
.offset-block { max-width: 60ch; }
@media (min-width: 1024px) {
  .offset-block { margin-left: 25%; }
}
.section--alt { background: var(--paper-2); }
/* Revision 40: on the --paper-2 surfaces teal-600 text is 4.37:1, under the 4.5:1 AA minimum, so links and secondary
   buttons there use teal-700 (6.1:1). White cards inside them (.card, .sector-card) keep teal-600, 4.9:1 on white. */
:is(.section--alt, .home-hero, .service-card--validation) a:not(.btn, .check-pill__link):not(:is(.card, .sector-card) a) { color: var(--teal-700); }
:is(.section--alt, .home-hero, .service-card--validation) .btn-secondary:not(:is(.card, .sector-card) .btn-secondary) { color: var(--teal-700); border-color: var(--teal-700); }
/* teal-600 on paper-2 is 4.37:1, under AA for body text; teal-700 is 6.07:1. White cards inside keep teal-600. */
.section--alt a:not(.btn, .check-pill__link) { color: var(--teal-700); }
.section--alt a:not(.btn, .check-pill__link):hover { color: var(--navy-700); }
.section--alt .card a:not(.btn) { color: var(--teal-600); }
.section--alt .card a:not(.btn):hover { color: var(--teal-700); }

.stack { display: grid; gap: 24px; }
.stack > * { min-width: 0; }

/* Skip link */
.skip-link {
  position: absolute;
  left: 8px;
  top: 0;
  transform: translateY(-120%); /* off the top at any text size (it was top: -60px, which 200% text overran) */
  background: var(--navy-900);
  color: var(--paper-on-navy);
  padding: 10px 16px;
  border-radius: 4px;
  z-index: 100;
  transition: transform 0.1s ease;
}
.skip-link:focus {
  transform: translateY(8px);
}

/* Focus */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--teal-700);
  outline-offset: 2px;
}
.site-footer a:focus-visible { outline-color: var(--navy-700); }

/* Header */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  min-height: 60px; /* revision 40: min-height and wrapping (below), so enlarged text grows the header instead of
                       overlapping; at normal text sizes everything fits one row and nothing changes */
  padding-block: 4px; /* keeps wrapped rows off the border; inside the 60 and 72px heights, so no change otherwise */
  display: flex;
  align-items: center;
}
@media (min-width: 900px) {
  .site-header { min-height: 72px; }
}
.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
}
@media (min-width: 500px) {
  .site-header .container { gap: 16px; }
}
/* Brand: the logo mark (the simplified Logo Concept 3 mark, decorative) to the left of the wordmark, 32px tall
   under 900px and 40px from 900px, centred on the wordmark block. Revision 54: the wordmark is the logo reference's
   lettering, "GREGORY GORMAN" over "CONSULTANCY", at every width (it replaced "Dr Gregory Gorman" with the subtitle
   "Programme evaluation · Psychometrics" from 690px). Under 580px the name stacks on two lines ("GREGORY" /
   "GORMAN") so the mark, the wordmark, Menu and "Book a call" share the 60px row. From 1100px the wordmark is about
   290px wide, leaving at least 170px before the nav; the closer gaps at 1100-1439px below (8 and 10px beside the mark,
   15 and 20px in the nav) date from the wider subtitle and are kept so nothing else moves. */
.brand { display: flex; align-items: center; gap: 8px; min-width: 0; color: inherit; text-decoration: none; }  /* a link to Home since revision 36 */
.brand-mark { display: block; flex: none; width: auto; height: 32px; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
@media (min-width: 900px) {
  .brand { gap: 12px; }
  .brand-mark { height: 40px; }
}
@media (min-width: 1100px) and (max-width: 1119px) {
  .brand { gap: 8px; }
}
@media (min-width: 1120px) and (max-width: 1439px) {
  .brand { gap: 10px; }
}
/* Revision 54: "Gregory Gorman" in Cinzel 600 capitals (set by CSS, so the source and the accessible name stay in
   mixed case), tracked 0.08em with a wider word space, --wordmark-navy as in the reference; "Consultancy" beneath in
   Montserrat 400 capitals at 12px, --wordmark-steel (4.8:1 on --paper), tracked so that it runs about two thirds of
   the name's width, as in the reference. Sizes by the room beside the nav: 24px from 1100px, 21px at 900-1099px,
   19px at 580-899px; under 580px the name stacks at 17px (16px under 360px) and "CONSULTANCY" closes up to about the
   width of "GREGORY". */
.wordmark {
  font-family: "Cinzel", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: 1.1875rem; /* 19px */
  line-height: 1.15;
  letter-spacing: 0.08em;
  word-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wordmark-navy);
  white-space: nowrap;
}
.brand-subtitle {
  display: block;
  margin-top: 3px;
  font-family: "Montserrat", "Inter", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--wordmark-steel);
}
@media (min-width: 900px) {
  .wordmark { font-size: 1.3125rem; } /* 21px */
  .brand-subtitle { letter-spacing: 0.6em; }
}
@media (min-width: 1100px) {
  .wordmark { font-size: 1.5rem; } /* 24px */
  .brand-subtitle { letter-spacing: 0.78em; margin-top: 4px; }
}
@media (max-width: 579px) {
  .wordmark { font-size: 1.0625rem; line-height: 1; } /* 17px */
  .wordmark > span { display: block; }
  .brand-subtitle { letter-spacing: 0.06em; margin-top: 2px; }
}
@media (max-width: 359px) {
  .brand-subtitle { letter-spacing: 0; }
}

.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
@media (min-width: 500px) {
  .site-nav { gap: 24px; }
}
/* Narrow phones: the mark, the wordmark, Menu and a 16px "Book a call" share one row. Under 580px the wordmark
   stacks at 17px (above); under 460px the button keeps to one line, so it never wraps or runs into the
   side padding. Only under 360px, where they cannot share the row at 16px, do they step down to the 14px floor
   (the wordmark to 16px). */
@media (max-width: 899px) {
  .site-header .btn { padding-block: 12px; }
}
@media (max-width: 459px) {
  .site-header .container { gap: 6px; }
  .site-nav { gap: 6px; }
  .site-header .btn { padding-inline: 10px; white-space: nowrap; }
}
@media (max-width: 359px) {
  .wordmark { font-size: 1rem; }
  .site-header .container, .site-nav { gap: 4px; }
  .site-header .btn { padding-inline: 8px; font-size: var(--fs-small); }
  .site-header .nav-disclosure summary { font-size: var(--fs-small); }
}
.nav-links {
  display: none;
  flex-wrap: wrap;
  list-style: none;
  gap: 24px;
  align-items: center;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: var(--fs-ui);
  font-weight: 500;
}
.nav-links a:hover { color: var(--teal-600); }
/* Current page (aria-current="page"), in the nav and the Menu panel: a 2px teal underline */
.nav-links a[aria-current="page"],
.nav-disclosure .menu-panel a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--teal-600);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-disclosure { display: none; }
  .nav-links a, .site-header .btn { white-space: nowrap; }
}
/* Revision 69: with "Blog" in the nav (six items), the row does not fit beside the wordmark and the button until
   about 952px, so the Menu stays up to 959px; the full row shows from 960px. Without the blog nothing changes. */
@media (min-width: 900px) and (max-width: 959px) {
  .site-nav--blog .nav-links { display: none; }
  .site-nav--blog .nav-disclosure { display: block; }
}
/* 900–1023px: four nav links, the wordmark and the button only share one row with tighter gaps */
/* 1100–1439px: closed up a little so the subtitle fits beside the logo mark (see "Brand" above) */
@media (min-width: 1100px) and (max-width: 1119px) {
  .nav-links, .site-nav { gap: 15px; }
}
@media (min-width: 1120px) and (max-width: 1439px) {
  .nav-links, .site-nav { gap: 20px; }
}
@media (min-width: 900px) and (max-width: 1023px) {
  .nav-links, .site-nav { gap: 16px; }
  .site-header .btn { padding-inline: 20px; }
}
/* The header button's calendar icon is dropped where the row has no room for it */
@media (max-width: 509px), (min-width: 900px) and (max-width: 919px) {
  .site-header .btn .line-icon { display: none; }
}

.nav-disclosure { position: relative; }
.nav-disclosure summary {
  list-style: none;
  cursor: pointer;
  font-size: var(--fs-ui);
  font-weight: 500;
  color: var(--navy-700);
  padding: 8px 4px;
  border: 1px solid var(--line);
  border-radius: 4px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav-disclosure summary::-webkit-details-marker { display: none; }
.nav-disclosure[open] summary { border-color: var(--navy-700); }
.nav-disclosure .menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
  display: grid;
  gap: 4px;
  min-width: 200px;
  z-index: 10;
}
.nav-disclosure .menu-panel a {
  display: block;
  padding: 10px 12px;
  color: var(--ink);
  font-size: var(--fs-ui);
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
}
.nav-disclosure .menu-panel a:hover { background: var(--paper-2); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 17px 25px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-ui);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--teal-600);
  color: #fff;
}
.btn-primary:hover { background: var(--teal-700); color: #fff; }
/* Calendar icon before a "Book a call" label: the button's text colour, 8px from the label; the -2px
   block margin keeps the 20px icon from making the button taller than a text-only one */
.btn .line-icon { stroke: currentColor; margin: -2px 8px -2px 0; }
/* Outlined secondary: same box as the primary (the primary's 1px border is transparent), so equal height */
.btn-secondary {
  background: transparent;
  border-color: var(--teal-600);
  color: var(--teal-600);
}
.btn-secondary:hover { background: var(--teal-100); border-color: var(--teal-700); color: var(--teal-700); }

@media (max-width: 400px) {
  .btn { width: 100%; }
  .site-nav .btn,
  .card .btn { width: auto; }
}

.text-link {
  color: var(--teal-600);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 2px;
}
.text-link:hover { color: var(--teal-700); }
/* Secondary text link beside a primary button */
.cta-row .text-link { font-size: var(--fs-ui); font-weight: 500; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px;
}
@media (min-width: 600px) {
  .card { padding: 32px; }
}
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover { border-color: var(--navy-700); }

.card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
.card-grid > * { min-width: 0; }
/* A card that spans every column of its grid (the unpriced bespoke-measure card on Assessment Validation) */
.card-grid > .card--wide { grid-column: 1 / -1; }
.card--wide p { max-width: var(--measure); }
@media (min-width: 600px) {
  .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* Numbered steps */
.steps {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 900px) {
  .steps--3 { grid-template-columns: repeat(3, 1fr); }
  .steps--5 { grid-template-columns: repeat(1, 1fr); }
}
/* Navy numeral over an amber rule (as the hero eyebrow). Amber numerals on paper were 2.07:1. */
.step-num {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-h3);
  color: var(--navy-700);
  line-height: 1;
  margin-bottom: 8px;
  justify-self: start;
  border-bottom: 3px solid var(--amber-500);
  padding-bottom: 4px;
}
.step { display: grid; gap: 8px; }
.step-list { display: grid; gap: 24px; }
.step-list .step {
  grid-template-columns: 48px 1fr;
  display: grid;
  align-items: start;
  gap: 16px;
}
.step-list .step-num { margin-bottom: 0; }

/* Disclosure: one component for the FAQs and the review-coverage rows (Assessment Validation).
   Native <details>; the default marker in --ink-2. */
.faq { display: grid; gap: 4px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding-block: 16px;
}
.faq summary {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-body);
  color: var(--navy-700);
  cursor: pointer;
  color-scheme: light;
}
/* Marker hangs outside, so a wrapped question lines up under its first word, not the marker */
.faq summary { list-style-position: outside; margin-left: 1.1em; }
.faq details > :not(summary) { margin-left: 1.1em; }
.faq summary::marker { color: var(--ink-2); }
.faq p { margin-top: 12px; max-width: var(--measure); }

/* Item rows (partials/macros.njk "itemRow"; "Who this is for", "What you receive" and "Why it matters now"): a static
   list, each item under a thin neutral line (a 2px teal rule until revision 41: teal rules now mark only a section's
   start, never every item), an optional icon in a 48px teal-50 circle (as on the Home feature row), an 18px
   semibold title and its text always visible at body size. Under 768px one item per row, the icon beside the
   title; from 768px three columns with the icon above the title. */
.item-row { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 32px; }
.item-row__item { min-width: 0; border-top: 1px solid var(--line); padding-top: 16px; }
.item-row__head { display: flex; align-items: center; gap: 14px; }
.item-row__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--teal-50); }
.item-row__icon .line-icon { stroke-width: 1.75; }
.item-row__head h3 { font-family: var(--font-body); font-size: 1.125rem; font-weight: 600; line-height: 1.3; letter-spacing: 0; color: var(--navy-700); }
.item-row__item > p { margin-top: 10px; max-width: 52ch; font-size: var(--fs-body); }
.item-row__item > p + p { margin-top: 12px; }
@media (min-width: 768px) {
  .item-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .item-row__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .item-row__item > p { margin-top: 12px; }
}

/* Selected publications (revision 50; About): each title as a link, the journal and year (and "Co-author" where it
   applies) on one quiet line beneath, a little space between papers; no rules. */
.pub-list { list-style: none; display: grid; gap: 20px; margin-top: 20px; max-width: var(--measure); }
.pub-list__title { font-weight: 500; }
.pub-list__meta { margin-top: 4px; font-size: 1rem; line-height: 1.45; color: var(--ink-2); }  /* 16px: the body-text floor; quiet by colour (and one step under the 18px body from 1440px) */
.pub-list__more { margin-top: 24px; font-weight: 500; }

/* Editorial variant of the item row (About, "Selected experience"; revision 31): more air and clearer hierarchy, no
   cards, shadows or fills. A 56px icon circle with a 28px icon (about 17% larger), more space between the rule, icon,
   category label, title and text, text at line-height 1.6 and a little narrower, a larger gap between the two rows, and a
   small uppercase category label (class item-row__kicker, muted teal, letter-spaced, not a pill) above each title. One
   short phrase per text is in semibold. The rule above each item is the thin neutral line since revision 41. Revision
   42: no icons, and two columns from 768px (item-row--two; three until then), so the longer texts get a wider measure. */
.item-row--editorial { gap: 44px; }
.item-row--editorial .item-row__item { padding-top: 28px; }
.item-row--editorial .item-row__head { gap: 18px; }
.item-row__kicker { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.1em; line-height: 1.3; text-transform: uppercase; color: var(--teal-700); }
.item-row__titles h3 { margin-top: 6px; }
.item-row--editorial .item-row__item > p { margin-top: 16px; line-height: 1.6; }
/* Revision 56: About, Selected experience: the semibold phrase in each paragraph in the accessible teal (--teal-700,
   6.2:1 on --paper); the titles and category labels stay as they are. */
.about-experience .item-row__item > p strong { color: var(--teal-700); }
@media (min-width: 768px) {
  .item-row--editorial { gap: 72px 32px; }
  .item-row--editorial .item-row__head { gap: 20px; }
  .item-row--editorial .item-row__item > p { margin-top: 18px; padding-right: 28px; }
  .item-row--two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 64px; }
  .item-row--two .item-row__item > p { max-width: var(--measure); padding-right: 0; }
}

/* Reveal rows (Programme Evaluation "Who this is for" and "What you receive"; partials/macros.njk, assets/js/
   reveal.js): a row of icon buttons; the chosen item's text appears beneath the row as plain body text (no
   box, border, shadow or padding). Columns: 2 on phones; 768-1023px 2 (four items) or 3 (six); from 1024px
   4 or 6, so both rows are one line of buttons. Nothing is open at rest.
   768px and up: the panel below the row is as tall as the tallest text (the texts share one grid cell), so
   the space is reserved and the page below never moves. At rest the row is lowered by --rest-shift (60% of
   that height, set by the script) so the block looks spaced; opening lifts the row to the top (250ms) and
   fades the text in directly beneath it, at most 52ch (about 60 characters) wide. Switching cross-fades
   (200ms) with the row staying up; choosing the open item again closes it and the row eases back down.
   Under 768px there is no reserved block and no lift: the panel's height animates open and closed (the script
   sets it), pushing the content below down. prefers-reduced-motion: the rule at the end of this file removes
   every transition, so it all happens instantly. */
.reveal__row { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
@media (min-width: 768px) {
  .reveal--3 .reveal__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reveal--6 .reveal__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reveal--js .reveal__row { transform: translateY(var(--rest-shift, 0px)); transition: transform 250ms ease; }
  .reveal--js.is-open .reveal__row { transform: translateY(0); }
}
@media (min-width: 1024px) {
  .reveal--4 .reveal__row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .reveal--6 .reveal__row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.reveal__btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 12px 4px 12px 0;
  background: none;
  border: 0;
  border-bottom: 2px solid var(--line);
  color: var(--navy-700);
  font-family: var(--font-body);
  font-size: var(--fs-ui);
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}
/* Hover only highlights the label (teal-700 is AA on both section backgrounds); it opens nothing */
.reveal__btn:hover span { color: var(--teal-700); }
.reveal__btn[aria-expanded="true"] { border-bottom-color: var(--teal-600); }
.reveal__panel { display: grid; margin-top: 16px; }
.reveal__text {
  grid-area: 1 / 1;
  min-width: 0;
  max-width: 52ch;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 0s linear 200ms;
}
.reveal__text.is-active { opacity: 1; visibility: visible; transition: opacity 200ms ease 90ms, visibility 0s; }
.reveal__text p + p { margin-top: 12px; }
.reveal__nojs { display: none; }
@media (max-width: 767px) {
  .reveal--js .reveal__panel { margin-top: 0; height: 0; overflow: hidden; transition: height 250ms ease; }
  .reveal--js .reveal__text { padding-top: 16px; }
}

/* Review-coverage rows: two labelled paragraphs per row */
.disclosure-pairs { margin-top: 12px; max-width: var(--measure); }
.disclosure-pairs dt { font-size: var(--fs-small); color: var(--ink-2); }
.disclosure-pairs dd { margin: 2px 0 12px; }
.disclosure-pairs dd:last-child { margin-bottom: 0; }

/* Rules */
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Footer (revision 51, report 5.6): light and simple. The name line; email, LinkedIn and ORCID in one line; the page
   links in one quiet row; the year and Privacy. --paper with a thin rule above; links teal-700 (5.9:1 or more). */
.site-footer {
  padding-block: 40px 32px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: var(--fs-ui);
}
.site-footer a { color: var(--teal-700); }
.site-footer a:hover { color: var(--navy-700); }
.footer-name { font-weight: 600; color: var(--navy-700); }
.footer-row { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 12px; list-style: none; }
.footer-place { margin-top: 12px; font-size: var(--fs-small); }
.footer-links { margin-top: 20px; font-size: var(--fs-small); }
.footer-links a { color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--teal-700); text-decoration: underline; }
.footer-legal { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: var(--fs-small); }

/* Forms */
.form-field { display: grid; gap: 6px; margin-bottom: 20px; }
.form-field label { font-weight: 500; color: var(--navy-700); }
.form-field input,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 10px 12px;
  border: 1px solid var(--ink-2);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.radio-group { display: grid; gap: 8px; }
.radio-option { display: flex; align-items: center; gap: 8px; }
/* Inline send-failure message; empty (and so invisible) until the script fills it */
.form-status { margin-bottom: 20px; padding: 12px 16px; border: 1px solid #9B1C1C; border-left-width: 4px; border-radius: 4px; background: #FDF3F3; color: #7A1616; }
.form-status:empty { display: none; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Hero */
.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid--split { grid-template-columns: 1.1fr 1fr; }
}
/* Hero copy never wider than 600px */
.hero-grid > :first-child { max-width: var(--hero-measure); }
.hero-eyebrow-rule {
  display: inline-block;
  border-bottom: 3px solid var(--amber-500);
  padding-bottom: 2px;
}

/* Headshot: 4:5 frame; a real photo (object-fit: cover) or the typographic placeholder fill it identically */
.headshot {
  display: block;
  width: 100%;
  max-width: 240px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
}
.headshot--placeholder {
  background: var(--navy-100);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.headshot--placeholder span {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 3rem;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}
.headshot--sm { max-width: 168px; }
.headshot--sm.headshot--placeholder span { font-size: 2.25rem; }


/* ---------- Home ----------
   Layout by viewport width only. 1280px+: hero in three columns (text, portrait, quote card); section
   intros beside their content. 1024–1279px: hero text beside the portrait with the quote card under it;
   intros above their content. 768–1023px: hero text full width above a row of portrait and quote card;
   2×2 grids; service and report cards stacked. Under 768px: one column. */

/* Hero: flat --paper-2 tint; no photo, no gradient */
.home-hero { background: var(--paper-2); padding-block: 40px 48px; }
.home-hero__text { min-width: 0; }
.home-hero__text .lede { margin-top: 16px; }
.home-hero__ctas { margin-top: 28px; }
/* Outlined button on the tint: --teal-700 (6.07:1 on --paper-2; teal-600 would be 4.38:1) */
.home-hero .btn-secondary { color: var(--teal-700); border-color: var(--teal-700); }
/* Phones: both buttons full width */
@media (max-width: 767px) {
}
@media (min-width: 768px) {
  .home-hero { padding-block: 56px 64px; }
}
@media (min-width: 1280px) {
  .home-hero { padding-block: 72px 80px; }  /* as in revision 45 (the photo beside the text sizes to the hero) */
}

/* Section intro beside its content from 1280px (sectors, example work, steps); above it below that */
.home-split { display: grid; gap: 32px; }
.home-split > * { min-width: 0; }
.home-split__intro p { margin-top: 16px; max-width: var(--measure); }
@media (min-width: 1280px) {
  .home-split { grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: 56px; align-items: start; }
}

/* Photos (service cards and other photo slots): decorative, cropped to their box; tinted placeholder until the
   processed files exist */
.home-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-photo--placeholder { background: var(--navy-100); }
/* About (revision 59): a real photograph under the hero, the container's width, 7:3, with a 6px radius like the other
   framed photos, and its caption beneath in the small caption style (14px, --ink-2, 6:1 on --paper). */
.about-photo__figure { margin: 0; }
.about-photo .home-photo { height: auto; aspect-ratio: 7 / 3; border-radius: 6px; }
.about-photo figcaption { margin-top: 12px; font-size: var(--fs-small); line-height: 1.45; color: var(--ink-2); }

/* Sectors page: "Find out more", a <details> whose <summary> is the teal button (no marker; the label swaps with
   the open state); the revealed copy and two links below it. */
/* Sectors page (revision 38: compact). A shorter hero (less padding than a section), then the four sectors as cards on
   the --paper-2 band: two columns from 768px, one on phones. Each card is white with a 1px --line border and a 6px
   radius: the photo across the top at 3:1, then the sector name (h2 at the h3 size), its line and the "Find out more"
   disclosure (typographic in revisions 46 and 47; the photo restored in revision 48). Cards keep their own height (align-items: start), so opening one does not stretch its neighbour. */
.sectors-hero { padding-block: 40px 32px; }
.sectors-grid-band { padding-block: 32px 44px; }  /* revision 46: 44px below on phones, as every section */
@media (min-width: 900px) {
  .sectors-hero { padding-block: 56px 40px; }
  .sectors-grid-band { padding-block: 40px 72px; }
}
.sector-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 768px) {
  .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (min-width: 1024px) {
  .sector-grid { gap: 32px; }
}
.sector-card { min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.sector-card .home-photo { height: auto; aspect-ratio: 3 / 1; }  /* revision 42: 3:1 (5:2 until then); restored in revision 48 */
.sector-card__body { padding: 18px 20px 20px; }
@media (min-width: 900px) {
  .sector-card__body { padding: 20px 24px 24px; }
}
.sector-card h2 { font-size: var(--fs-h3); line-height: 1.25; }
.sector-card .lede { margin-top: 8px; font-size: var(--fs-body); }
.sector-card .sector-more { margin-top: 16px; }
.sector-more { margin-top: 24px; }
.sector-more > summary { list-style: none; }
.sector-more > summary::-webkit-details-marker { display: none; }
.sector-more__label-open, .sector-more[open] .sector-more__label-closed { display: none; }
.sector-more[open] .sector-more__label-open { display: inline; }
.sector-more__body { margin-top: 20px; max-width: var(--measure); }
.sector-more__links { list-style: none; margin-top: 16px; display: grid; gap: 14px; justify-items: start; }
.sector-more__links a { font-weight: 500; }

/* Service cards on light tints (revision 49): the photo (since revision 63 a graphic drawn in code) across the top of
   the card at 3:2, at every width, then the text. Side by side from 1024px, one per row below that. Links on the tints are --teal-700 (AA on both). Until
   revision 49 the photo sat in a tall right-hand column from 768px (a 5:2 banner on phones). */
/* (Until revision 36 the service cards had no top padding, sharing a background with the sectors band above them.) */
.service-cards { display: grid; gap: 24px; }
.service-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  border-radius: 6px;
  overflow: hidden;
  background: var(--teal-50);
}
.service-card--validation { background: var(--paper-2); }
/* Revision 63: the card's graphic (partials/home-card-*-mark.njk, styled under "Home card graphics") fills the 3:2 area
   on the card's own background; the drawing's margins are its padding. */
.service-card__mark { order: -1; aspect-ratio: 3 / 2; container-type: inline-size; }
.service-card__body { padding: 24px; min-width: 0; }
.service-card h3 { margin-top: 10px; }
.service-card__body > p { margin-top: 12px; }
.service-card a { color: var(--teal-700); }
.service-card a:hover { color: var(--navy-700); }
.service-card__more { font-weight: 500; }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; }
.arrow-link .line-icon { stroke: currentColor; }
.home-services__price { margin-top: 20px; }
@media (min-width: 768px) {
  .service-card__body { padding: 32px; }
}
@media (min-width: 1024px) {
  .service-cards { grid-template-columns: 1fr 1fr; }
}

/* Tag: a small label (Home "Published study") */
.tag {
  display: inline-block;
  background: var(--teal-100);
  color: var(--navy-700);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-small);
  padding: 4px 8px;
  border-radius: 4px;
}

/* Home "Selected work" strip (revision 15): each published study once, two columns from 768px, each under a thin line
   (a 2px teal rule until revision 41). No graphics. Revision 42: the result line leads, set large in Source Serif 4,
   with the study's title under it as the link to the full case study on its service page. */
.work-strip { list-style: none; display: grid; gap: 36px; margin-top: 28px; }
/* Revision 56: each item is a card on hover and keyboard focus (".lift-card" below the engagement steps). At rest it
   looks as before, a thin neutral line over the text (drawn as a background, inset to the text's width), but it already
   has its card padding and a transparent border, offset by an equal negative margin, so nothing moves when the border,
   the white fill and the shadow appear. The title's link is stretched over the whole item (::after), so the item is one
   link; its focus ring is drawn round the card instead. */
.work-strip__item {
  position: relative;
  min-width: 0;
  margin-inline: -20px;
  padding: 16px 20px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: linear-gradient(var(--line), var(--line)) 20px 0 / calc(100% - 40px) 1px no-repeat;
}
.work-strip__item:hover, .work-strip__item:has(:focus-visible) { border-color: var(--line); background: var(--white); }
.work-strip__item h3 a::after { content: ""; position: absolute; inset: -1px; border-radius: 10px; }
.work-strip__item h3 a:focus-visible { outline: none; }
.work-strip__item:has(a:focus-visible) { outline: 3px solid var(--teal-700); outline-offset: 2px; }
@media (max-width: 400px) {
  .work-strip__item { margin-inline: -16px; padding-inline: 16px; background-position: 16px 0; background-size: calc(100% - 32px) 1px; }
}
.work-strip__finding { margin-top: 16px; font-family: var(--font-heading); font-weight: 600; font-size: 1.5rem; line-height: 1.25; color: var(--navy-700); text-wrap: balance; }
/* Revision 43: the study's Approach sentence (word for word from its service page) between the result line and the title */
.work-strip__approach { margin-top: 12px; max-width: 46ch; color: var(--ink-2); }
.work-strip__item h3 { margin-top: 16px; font-family: var(--font-body); font-size: 1rem; font-weight: 600; line-height: 1.4; }
.work-strip__item h3 .nowrap { white-space: nowrap; }
.work-strip__item h3 .line-icon { display: inline-block; margin-left: 6px; vertical-align: -4px; }
@media (min-width: 768px) {
  .work-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
}
@media (min-width: 1024px) {
  .work-strip__finding { font-size: 1.875rem; }
}
/* Lead case study (revision 43; partials/macros.njk "spotlight", the Selected work study on each service page): one
   card, white with a thin border and a 10px radius. From 1024px the 4:3 photo in the card's top left (5 of 12
   columns; a full-height crop would cut both photos' subjects) and, beside it and centred on it, the tag, the title
   set large and the takeaway line. Below, across the card, the key figures: the lead figure large (Source Serif 4,
   navy) with its label running on in the same line of text (line-height 1.3, so a wrapped label or the lead-in never
   touches the figure at 200% text size), then the other two smaller, each after a thin rule with its label directly
   under it, with a faint dot field (the site's one SVG) behind them. From 1024px the three share one row (the lead
   in the wider first column); below that the lead takes its own row and the other two sit side by side where two
   11rem columns fit (stacked on phones). Then The challenge, Approach and Impact as a labelled list (from 768px the
   teal-700 uppercase label in an 11rem column beside the text) and the paper link. Under 1024px one column, the
   photo first, full width. With no photo the text runs the full width. No overflow clipping on the card (the photo
   rounds its own corners), so enlarged text can never be cut off. */
.selected-work__study { margin-top: 32px; }
.spotlight { border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.spotlight__lead { display: grid; }
.spotlight__lead > * { min-width: 0; }
.spotlight__media { margin: 0; }
.spotlight__media .home-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 9px 9px 0 0; }
.spotlight__head { padding: 24px 20px 0; }
.spotlight__head > * { max-width: var(--measure); }
.spotlight__body { padding: 0 20px 28px; }
.spotlight__title { margin-top: 14px; font-family: var(--font-heading); font-weight: 600; font-size: 1.75rem; line-height: 1.2; color: var(--navy-700); }
.spotlight__takeaway { margin-top: 14px; font-family: var(--font-heading); font-style: italic; font-weight: 400; font-size: 1.25rem; line-height: 1.4; color: var(--navy-700); }
.spotlight__facts { position: relative; isolation: isolate; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: 16px 24px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.spotlight__facts::after { content: ""; position: absolute; z-index: -1; right: -8px; bottom: -8px; width: 150px; height: 150px; background: url("/assets/images/dot-field.svg") no-repeat center / contain; transform: rotate(180deg); opacity: 0.12; pointer-events: none; }
.spotlight__fact { min-width: 0; color: var(--ink-2); font-size: var(--fs-body); line-height: 1.35; }
.spotlight__fact--lead { grid-column: 1 / -1; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1.125rem; }
.spotlight__fact-lead { display: block; margin-bottom: 4px; }
.spotlight__fact:not(.spotlight__fact--lead) { padding-left: 20px; border-left: 1px solid var(--line); }
.spotlight__fact:not(.spotlight__fact--lead) .spotlight__fact-label { display: block; margin-top: 2px; }  /* directly under its figure */
.spotlight__fact:not(.spotlight__fact--lead) .spotlight__figure { white-space: normal; }  /* "341 and 228" may wrap at its spaces when the text is enlarged */
/* Revision 56: the two smaller figures underlined in teal, 3px, set a little below the text (the lead figure is not) */
.spotlight__fact:not(.spotlight__fact--lead) .spotlight__figure { text-decoration: underline 3px var(--teal-600); text-underline-offset: 7px; text-decoration-skip-ink: none; }
.spotlight__figure { font-family: var(--font-heading); font-weight: 600; font-size: 2rem; line-height: 1.15; color: var(--navy-700); white-space: nowrap; }
.spotlight__fact--lead { line-height: 1.3; }
.spotlight__fact--lead .spotlight__figure { font-size: 3.25rem; line-height: 1.3; letter-spacing: -0.01em; }
.spotlight__rows { margin-top: 32px; border-top: 1px solid var(--line); }
.spotlight__rows > div { border-bottom: 1px solid var(--line); padding-block: 16px; }
.spotlight__rows dt { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-700); }
.spotlight__rows dd { margin: 6px 0 0; max-width: var(--measure); font-size: var(--fs-body); line-height: 1.55; }
.spotlight__rows .nowrap { white-space: nowrap; }  /* "(r = .98)" stays on one line */
/* Revision 56: Programme Evaluation's Impact line, "45% of the time on average", in the accessible teal (6.4:1 on the white card) */
.emph-teal { color: var(--teal-700); }
.spotlight__link { margin-top: 20px; font-size: var(--fs-body); font-weight: 500; }
/* Revision 47: the card on phones about a fifth shorter, with no text smaller: a 3:2 photo (4:3 from
   768px; both photos' subjects stay whole), 16px side padding, tighter gaps between the head, the figures, the rows
   and the paper link, each row's label run into its text as a small uppercase lead-in instead of a line of its own,
   and only the lead figure in the figure row (see below). */
@media (max-width: 767px) {
  .spotlight__media .home-photo { aspect-ratio: 3 / 2; }
  .spotlight__head { padding: 20px 16px 0; }
  .spotlight__body { padding: 0 16px 22px; }
  .spotlight__title { margin-top: 10px; }
  .spotlight__takeaway { margin-top: 10px; }
  .spotlight__facts { margin-top: 18px; padding-top: 16px; }
  /* Only the lead figure in the row: the two smaller figures are stated in the rows below ("16 trial reports covering
     14 programmes" in Approach; "341 and 228 people" in Approach and "r = .98" in Impact), so on phones they are not
     repeated here (revision 47, the site owner's cuts A, C and D). */
  .spotlight__fact:not(.spotlight__fact--lead) { display: none; }
  .spotlight__fact--lead { padding-bottom: 0; border-bottom: 0; }
  .spotlight__rows { margin-top: 18px; }
  .spotlight__rows > div { padding-block: 12px; }
  /* the row's label runs into its text, as a small uppercase lead-in */
  .spotlight__rows dt { display: inline; margin-right: 6px; }
  .spotlight__rows dd { display: inline; margin: 0; }
  .spotlight__link { margin-top: 14px; }
}
@media (min-width: 768px) {
  .spotlight__head { padding: 36px 40px 0; }
  .spotlight__body { padding: 0 40px 36px; }
  .spotlight__rows > div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 24px; padding-block: 20px; }
  .spotlight__rows dt { padding-top: 3px; }
  .spotlight__rows dd { margin: 0; }
}
@media (min-width: 1024px) {
  .spotlight__lead { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
  .spotlight__media .home-photo { border-radius: 9px 0 0 0; }
  .spotlight__head { padding: 32px 48px; }
  .spotlight__facts { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); align-items: end; margin-top: 32px; }
  .spotlight__fact--lead { grid-column: auto; padding-bottom: 0; border-bottom: 0; }
  .spotlight__body { padding: 0 48px 40px; }
  .spotlight--text-only .spotlight__lead { grid-template-columns: minmax(0, 1fr); }
  .spotlight__title { font-size: 2rem; }
  .spotlight__fact--lead .spotlight__figure { font-size: 4rem; }
}
/* Revision 60 (Programme Evaluation's fidelity study, partials/case-fidelity.njk). wideMedia: an image with text in it
   (the fidelity infographic) gets 7 of 12 columns from 1024px (about 645px wide at 1440px, so its labels read at about
   13px), the head the other 5; and keeps its 4:3 on phones, so none of it is cropped. noLeadFigure: the image shows the
   45%, so the facts are just the two smaller figures, side by side from the card's left edge (the first without the
   rule on its left); on phones, where the smaller figures are not shown (revision 47), the facts are left out. */
@media (max-width: 767px) {
  .spotlight--wide-media .spotlight__media .home-photo { aspect-ratio: 4 / 3; }
  .spotlight--no-lead .spotlight__facts { display: none; }
}
.spotlight--no-lead .spotlight__fact:first-child { padding-left: 0; border-left: 0; }
@media (min-width: 1024px) {
  .spotlight--wide-media .spotlight__lead { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .spotlight--wide-media .spotlight__head { padding: 32px 40px; }
  .spotlight--no-lead .spotlight__facts { grid-template-columns: repeat(2, minmax(0, 14rem)); }
}

/* Evidence Check pill (revision 42; partials/macros.njk "checkPill"): the one call to action for the Evidence Check.
   A rounded teal-700 pill, its label in Source Serif 4 with an arrow, so it reads apart from the rectangular booking
   buttons; the full-size pill has "3 minutes · Instant personalised results" centred under it, the small one (Sectors
   panels) the label only. White on teal-700 is 6.1:1; the note is teal-700 (6.1:1 on --paper-2). */
.check-pill { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; max-width: 100%; }
.check-pill__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--teal-700);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(11, 31, 51, 0.08), 0 8px 20px -10px rgba(15, 101, 102, 0.55);
  transition: background-color 0.15s ease;
}
.check-pill__link:hover { background: var(--navy-700); color: #fff; }
.check-pill__link:focus-visible { outline: 3px solid var(--navy-700); outline-offset: 3px; }
.check-pill__link .line-icon { flex: none; stroke: currentColor; transition: transform 0.15s ease; }
.check-pill__link:hover .line-icon { transform: translateX(2px); }
.check-pill__note { font-size: var(--fs-small); font-weight: 500; line-height: 1.3; color: var(--teal-700); }
.check-pill--small .check-pill__link { min-height: 44px; padding: 8px 20px; font-size: 1rem; box-shadow: none; }
/* "How to start" on both service pages (revision 50): the two offer cards, each ending with what you receive; then
   the bespoke-measure line, the Evidence Check pill and the scoping line, one under another at the container's left.
   A working section (revision 51 roles). */
.card__receive { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.start-bespoke { margin-top: 28px; max-width: var(--measure); }
.start-check { margin-top: 28px; }
.start-scope { margin-top: 24px; max-width: var(--measure); }
@media (prefers-reduced-motion: reduce) {
  .check-pill__link, .check-pill__link .line-icon { transition: none; }
}

/* Closing section (revision 43, every page; Home only in revision 42): open and light, no frame. Revision 46: one
   composition. The misty mountain banner runs full width across the foot of the section and is raised behind the
   text, its top 76px (40px on phones) under the last line of the text block (the text stays on top). Its top is
   faded into the background in two steps (a quarter of the image's strength over its first 30%, full strength from
   50%), so the text sits over the faint upper hills and the mountain layers come in soon after it; the image is
   multiplied with the section's tone, so its pale mist matches --paper or --paper-2 (revision 51: no longer darkened
   at its foot, now the footer is light). From 768px the 3:1 file at 18vw tall (220px at least), anchored bottom right,
   so the lower part shows and the dot pattern stays whole (its top is about 49% down the frame; 18vw shows the lower
   54%); under 768px the 2:1 crop from the right, whole. --paper, or --paper-2 (with .section--alt) where the section
   above is --paper. 96px above the heading from 900px (56px on phones): one of the two places with extra space. */
.cta-banner { position: relative; padding-top: 56px; padding-bottom: 0; overflow: hidden; }
.cta-banner:not(.section--alt) { background: var(--paper); }
.cta-banner > .container { position: relative; z-index: 1; }
.cta-banner__cross { color: var(--ink-2); }
/* The links over the raised banner are --teal-700 on both tones (teal-600 on --paper fell to 4.6:1 over the faint
   upper hills; teal-700 keeps them above 5.9:1). */
.cta-banner a:not(.btn) { color: var(--teal-700); }
.cta-banner a:not(.btn):hover { color: var(--navy-700); }
@media (min-width: 900px) {
  .cta-banner { padding-top: 96px; }
}
.cta-banner__media { position: relative; margin-top: -40px; line-height: 0; }
.cta-banner__media picture, .cta-banner__img { display: block; width: 100%; }
.cta-banner__img {
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: 100% 100%;
  mix-blend-mode: multiply;  /* the image's pale mist takes the section's own tone (--paper or --paper-2) */
  -webkit-mask-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.25) 30%, #000 50%);
  mask-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.25) 30%, #000 50%);
}
@media (min-width: 768px) {
  .cta-banner__media { margin-top: -76px; }
  .cta-banner__img { aspect-ratio: auto; height: max(220px, 18vw); }
}

/* How an engagement works (revision 56: the numbered steps of revisions 42 to 50 restored, more compact, with the
   revision 51 wording; three short paragraphs in revisions 51 to 55). Three steps, each a solid teal 44px circle with a
   white numeral (5.2:1), a Source Serif 4 title and one line. From 768px they run across, joined by 3px teal
   connectors with a chevron head that span the gap between the circles (8px clear of each), level with their centres;
   since revision 60 each circle is centred over its own step, with the step's text centred under it.
   Under 768px they stack, the circle beside the text, joined by a vertical connector pointing down. Each connector
   belongs to the step it leaves, so it is sized from that step's own box: 100% is the step's width (across) or height
   (down). On the page's own background (the tinted band of revisions 42 to 50 would add a second tint to Home). */
.engagement-steps { list-style: none; display: grid; gap: 20px; margin-top: 20px; }
.engagement-steps li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; align-items: start; }
.engagement-steps__num {
  grid-column: 1;
  grid-row: 1 / span 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-600);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1;
}
.engagement-steps h3 { grid-column: 2; margin-top: 8px; font-family: var(--font-heading); font-weight: 600; font-size: 1.125rem; line-height: 1.25; letter-spacing: 0; }
.engagement-steps p { grid-column: 2; margin-top: 4px; font-size: var(--fs-ui); line-height: 1.5; }
.engagement-steps__arrow { position: absolute; left: calc(22px - 1.5px); top: 52px; width: 3px; height: calc(100% - 40px); background: var(--teal-600); }
.engagement-steps__arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 12px;
  height: 12px;
  border-right: 3px solid var(--teal-600);
  border-bottom: 3px solid var(--teal-600);
  transform: translateX(-50%) rotate(45deg);
}
@media (min-width: 768px) {
  .engagement-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 28px; }
  /* Revision 60: each circle centred over its own step (the title and line centred under it), so 1, 2 and 3 sit over
     "Scoping call", "Scope and estimate" and "Analysis and report"; the three columns are equal, so the circles are
     evenly spaced. Each connector runs from 8px after its circle to 8px before the next: the circles' centres are a
     column plus the 40px gap apart, so it starts at 50% + 22px + 8px and is 100% + 40px - 60px long. */
  .engagement-steps li { display: block; text-align: center; }
  .engagement-steps__num { margin: 0 auto 14px; }
  .engagement-steps h3 { margin-top: 0; font-size: 1.25rem; }
  .engagement-steps__arrow { left: calc(50% + 30px); top: calc(22px - 1.5px); width: calc(100% - 20px); height: 3px; }
  .engagement-steps__arrow::after {
    left: auto;
    right: 3px;
    top: 50%;
    bottom: auto;
    border: 0;
    border-top: 3px solid var(--teal-600);
    border-right: 3px solid var(--teal-600);
    transform: translateY(-50%) rotate(45deg);
  }
}
@media (min-width: 1024px) {
  .engagement-steps h3 { font-size: 1.375rem; }
}

/* Hover lift (revision 56): the Sectors cards and Home's Selected work items. On hover, and on keyboard focus inside
   the card (:focus-visible, so a mouse click on "Find out more" does not leave it raised), a soft shadow over 200ms;
   with motion allowed the card also rises 2px (no scale, so the text stays sharp). Under prefers-reduced-motion:
   reduce the shadow only, with no movement and no transition of position. */
.lift-card { transition: box-shadow 200ms ease, border-color 200ms ease, background-color 200ms ease; }
.lift-card:hover, .lift-card:has(:focus-visible) { box-shadow: 0 1px 2px rgba(11, 31, 51, 0.06), 0 10px 24px -12px rgba(11, 31, 51, 0.3); }
@media (prefers-reduced-motion: no-preference) {
  .lift-card { transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background-color 200ms ease; }
  .lift-card:hover, .lift-card:has(:focus-visible) { transform: translateY(-2px); }
}

/* Entrance motion (revision 51; report 5.7; assets/js/motion.js). Everything here sits inside
   prefers-reduced-motion: no-preference, and applies only once the script has set .motion on <html>, so without
   JavaScript or under reduced motion nothing is hidden and nothing moves. Opacity and transform only (no layout shift).
   Hero: h1, lede and call to action fade up 12, 12 and 8px over 560, 560 and 480ms after 80, 150 and 220ms; the photo
   fades in over 680ms after 120ms without moving (700ms in the report, shortened so the whole sequence ends by 800ms); easing cubic-bezier(0.2, 0.7, 0.2, 1) (the photo ease-out). Should
   the script fail once the class is set, a zero-length animation at 2.5s shows the hero anyway. Section h2s below the
   first screen fade up 8px over 480ms, once, as they scroll into view. Printing shows everything. */
@media (prefers-reduced-motion: no-preference) {
  .motion [data-enter] {
    --enter-y: 12px;
    --enter-dur: 560ms;
    --enter-delay: 0ms;
    --enter-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .motion [data-enter="h1"] { --enter-delay: 80ms; }
  .motion [data-enter="lede"] { --enter-delay: 150ms; }
  .motion [data-enter="cta"] { --enter-y: 8px; --enter-dur: 480ms; --enter-delay: 220ms; }
  .motion [data-enter="photo"] { --enter-y: 0px; --enter-dur: 680ms; --enter-delay: 120ms; --enter-ease: ease-out; }
  /* Hidden until the script marks it in; the failsafe (a zero-length animation at 2.5s) applies only while hidden. The
     reveal is a keyframe animation, not a transition: in Chrome an animation on the same properties stops a transition
     from running, so a transition here would jump straight to the end. */
  .motion [data-enter]:not(.is-in) { opacity: 0; transform: translateY(var(--enter-y)); animation: enter-failsafe 0s linear 2.5s forwards; }
  .motion [data-enter].is-in { animation: enter-in var(--enter-dur) var(--enter-ease) var(--enter-delay) backwards; }  /* backwards: held at the start through the delay, then the element's own (settled) style */
  /* Hidden at once (no transition on the way out), revealed over 480ms. */
  .motion h2.enter-h2:not(.is-in) { opacity: 0; transform: translateY(8px); }
  .motion h2.enter-h2.is-in { opacity: 1; transform: none; transition: opacity 480ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 480ms cubic-bezier(0.2, 0.7, 0.2, 1); }
}
@keyframes enter-in { from { opacity: 0; transform: translateY(var(--enter-y)); } to { opacity: 1; transform: none; } }
@keyframes enter-failsafe { to { opacity: 1; transform: none; } }
@media print {
  .motion [data-enter], .motion h2.enter-h2, .motion [data-enter="mark"] .hm-part { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
}

/* Hero mark (revision 57; partials/hero-mark.njk): Home's hero graphic, option B of the hero animation (design record
   in docs/design/hero-animation/). Three circles that share one centre on a line (a pale teal disc, a navy outline
   and a ring of 60 teal dots), small dots along the line, and the words "Consistent. Correct. Clear." in the site's
   Source Serif 4 (500: the lab's 400 is not loaded). The resting styles are the final, nested state; the animation
   only supplies the starting positions, so without JavaScript, under reduced motion and in print it is simply shown.
   From 768px it sits in the hero's 4:3 frame on the right (the image's frame until revision 56), letterboxed to its
   1088:672 shape; no fade or mask (it is drawn on the hero background); under 768px not shown, like the photos. */
.hero-mark { display: block; width: 100%; height: auto; overflow: visible; }
.photo-hero .photo-hero__media :is(.hero-mark, .pe-mark, .av-mark) { width: min(100cqw, 100cqh * 4 / 3); aspect-ratio: 4 / 3; }  /* revision 58: the service-page graphics too */
.photo-hero:not(.home-hero) .photo-hero__media :is(.pe-mark, .av-mark) { width: min(100cqw, 100cqh * 4 / 3, 560px); }  /* revision 61: at most 560 x 420px, even where the text makes the hero taller */
.hero-mark .hm-disc { fill: var(--teal-pale); }
.hero-mark .hm-ring { fill: none; stroke: var(--teal-600); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 0 29.3215; }  /* 60 dots: zero-length dashes with round caps, one every 2πr/60 */
.hero-mark .hm-outline { fill: none; stroke: var(--navy-700); stroke-width: 3.4; }
.hero-mark .hm-line { stroke: var(--navy-700); stroke-width: 2.4; }
.hero-mark .hm-navy { fill: var(--navy-700); }
.hero-mark .hm-teal { fill: var(--teal-600); }
.hero-mark .hm-mid { fill: var(--teal-mid); }
.hero-mark .hm-words { font-family: var(--font-heading); font-size: 36px; font-weight: 500; letter-spacing: 0.01em; text-anchor: middle; fill: var(--navy-700); }
/* Below 1024px the frame (and with it the drawing) is smaller, so the words would shrink to about 12px at 768px. There
   they are set larger in the drawing's own units (its width is 1088), from 43 at 768px to the design's 36 at 1024px, so
   they render from about 14px at 768px rising smoothly to 16px at 1024px, still centred under the circles. */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-mark .hm-words { font-size: calc(43px - (100vw - 768px) * 0.02734); }
}
.hero-mark .hm-c3, .hero-mark .hm-dot { transform-box: fill-box; transform-origin: center; }
/* The animation, once (option B's timings, all 200ms after the hero is marked in, so the headline, which starts at
   80ms, leads): the disc, the outline and the dotted ring glide in along the line from 200, 280 and 360ms over 1.9s,
   easing out to a slight overshoot at 82% and settling back (the ring turning 45 degrees as it comes); the line fades
   in over 500ms; the centre dot, then the pairs of line dots outward, settle from 1.65s; the words fade in over 400ms
   from 2.4s. Still from 2.8s, and then marked done (assets/js/motion.js), which removes the animation so that it never
   replays (a resize across 768px would otherwise restart it). Until the script marks the hero in, the parts are hidden, with the same 2.5s failsafe as
   the rest of the hero. The frame itself neither fades nor moves. */
@media (prefers-reduced-motion: no-preference) {
  .motion [data-enter="mark"]:not(.is-in), .motion [data-enter="mark"].is-in { opacity: 1; transform: none; animation: none; }
  .motion [data-enter="mark"] { --mark-start: 200ms; }
  .motion [data-enter="mark"]:not(.is-in) .hm-part { opacity: 0; animation: enter-failsafe 0s linear 2.5s forwards; }
  .motion [data-enter="mark"].is-in .hm-line { animation: hm-fade 500ms linear var(--mark-start) both; }
  .motion [data-enter="mark"].is-in .hm-c1 { animation: hm-c1 1900ms calc(var(--mark-start) + 0ms) both, hm-fade 350ms linear calc(var(--mark-start) + 0ms) both; }
  .motion [data-enter="mark"].is-in .hm-c2 { animation: hm-c2 1900ms calc(var(--mark-start) + 80ms) both, hm-fade 350ms linear calc(var(--mark-start) + 80ms) both; }
  .motion [data-enter="mark"].is-in .hm-c3 { animation: hm-c3 1900ms calc(var(--mark-start) + 160ms) both, hm-fade 350ms linear calc(var(--mark-start) + 160ms) both; }
  .motion [data-enter="mark"].is-in .hm-d0 { animation: hm-dot-c 500ms cubic-bezier(0.22, 0.61, 0.36, 1) calc(var(--mark-start) + 1450ms) both; }
  .motion [data-enter="mark"].is-in .hm-l { animation: hm-dot-l 500ms cubic-bezier(0.22, 0.61, 0.36, 1) both; }
  .motion [data-enter="mark"].is-in .hm-r { animation: hm-dot-r 500ms cubic-bezier(0.22, 0.61, 0.36, 1) both; }
  .motion [data-enter="mark"].is-in .hm-p1 { animation-delay: calc(var(--mark-start) + 1550ms); }
  .motion [data-enter="mark"].is-in .hm-p2 { animation-delay: calc(var(--mark-start) + 1650ms); }
  .motion [data-enter="mark"].is-in .hm-p3 { animation-delay: calc(var(--mark-start) + 1750ms); }
  .motion [data-enter="mark"].is-in .hero-mark .hm-words { animation: hm-fade 400ms ease-out calc(var(--mark-start) + 2200ms) both; }
  /* Once played (the script marks it done when the words are in, or at 3.2s), no animation is left to replay. */
  .motion [data-enter="mark"].is-in.is-done .hm-part { animation: none; }
}
/* Glide: ease out to a tiny overshoot, then ease softly back to rest. */
@keyframes hm-c1 {
  from { transform: translateX(-267px); animation-timing-function: cubic-bezier(0.39, 0.575, 0.565, 1); }
  82% { transform: translateX(5px); animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  to { transform: translateX(0); }
}
@keyframes hm-c2 {
  from { transform: translateX(-96px); animation-timing-function: cubic-bezier(0.39, 0.575, 0.565, 1); }
  82% { transform: translateX(2px); animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  to { transform: translateX(0); }
}
@keyframes hm-c3 {
  from { transform: translateX(204px) rotate(45deg); animation-timing-function: cubic-bezier(0.39, 0.575, 0.565, 1); }
  82% { transform: translateX(-4px) rotate(-1deg); animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  to { transform: translateX(0) rotate(0deg); }
}
@keyframes hm-fade { from { opacity: 0; } }
@keyframes hm-dot-c { from { opacity: 0; transform: scale(0.4); } }
@keyframes hm-dot-l { from { opacity: 0; transform: translateX(14px) scale(0.6); } }  /* the pairs open outward from the centre */
@keyframes hm-dot-r { from { opacity: 0; transform: translateX(-14px) scale(0.6); } }

/* Hero graphics on the service pages (revision 58; design record in docs/design/hero-animation/), the same way as
   Home's: inline, decorative, in the hero's frame on the right from 768px (the photos' frame until revision 57), hidden
   on phones; started by the entrance motion 200ms after the hero is marked in, once, then marked done (motion.js) so
   they never replay; the resting styles are the final state, shown at once without JavaScript, under reduced motion
   and in print. The shared rules (hidden until started, the 2.5s failsafe, done, print) are under "Hero mark" above.
   Words in the site's Source Serif 4 500, set larger below 1024px so they never render under about 14px. */
/* Programme Evaluation, concept C, "signal from noise" (partials/pe-mark.njk), 1290 x 380 units: scattered teal dots of
   mixed sizes drift and settle into one evenly spaced, gently rising line (1.5s each, staggered up to 0.5s), then a
   thin navy trend line draws through them; the words "Evidence that holds up." fade in last. Still by 3.5s. */
.pe-mark { display: block; width: 100%; height: auto; overflow: visible; }
.pe-mark .pe-trend { fill: none; stroke: var(--navy-700); stroke-width: 2; stroke-dasharray: 1 1; }
.pe-mark .pe-dots circle { fill: var(--teal-600); transform-box: fill-box; transform-origin: center; }
.pe-mark .hm-words { font-family: var(--font-heading); font-size: 44px; font-weight: 500; letter-spacing: 0.01em; fill: var(--navy-700); }
@media (min-width: 768px) and (max-width: 1023px) {
  .pe-mark .hm-words { font-size: calc(51px - (100vw - 768px) * 0.02734); }  /* 51 units at 768px (14.2px), 44 at 1024px */
}
/* Assessment Validation, the targets (partials/av-mark.njk), 1385 x 545 units (the lab's labels left out): two identical
   targets on a line; their rings draw from 12 o'clock, inner to outer; two identical clusters of teal dots arrive from
   the same direction, the left landing off-centre (a light dashed line traces the offset, then rests at 25%), the
   right landing just short of centre, then gliding onto it with a tiny overshoot; its centre brightens once; the words
   "Precise, and right." fade in last. Still by 3.35s. */
.av-mark { display: block; width: 100%; height: auto; overflow: visible; }
.av-mark .av-base { fill: none; stroke: var(--navy-700); stroke-width: 2.4; }
.av-mark .av-ring { fill: none; stroke: var(--navy-700); stroke-width: 3; stroke-dasharray: 1 1; }
.av-mark .av-disc { fill: var(--teal-pale); stroke: var(--navy-700); stroke-width: 3; }
.av-mark .av-trace { fill: none; stroke: var(--navy-700); stroke-width: 2.5; stroke-dasharray: 6 6; opacity: 0.25; }
.av-mark .av-trace-reveal { fill: none; stroke: #fff; stroke-width: 12; stroke-dasharray: 1 1; }  /* the mask that draws the trace */
.av-mark .av-cluster circle { fill: var(--teal-600); }
.av-mark .hm-words { font-family: var(--font-heading); font-size: 44px; font-weight: 500; letter-spacing: 0.01em; text-anchor: middle; fill: var(--navy-700); }
@media (min-width: 768px) and (max-width: 1023px) {
  .av-mark .hm-words { font-size: calc(54px - (100vw - 768px) * 0.039063); }  /* 54 units at 768px (14.0px), 44 at 1024px */
}
/* Each dot's arrival: a shared direction (up and left) with a loose spread (--dx, --dy) and a stagger (--d). */
.av-mark .av-cluster circle:nth-child(1) { --dx: -224px; --dy: -160px; --d: 60ms; }
.av-mark .av-cluster circle:nth-child(2) { --dx: -200px; --dy: -124px; --d: 0ms; }
.av-mark .av-cluster circle:nth-child(3) { --dx: -230px; --dy: -100px; --d: 90ms; }
.av-mark .av-cluster circle:nth-child(4) { --dx: -273px; --dy: -122px; --d: 30ms; }
.av-mark .av-cluster circle:nth-child(5) { --dx: -259px; --dy: -175px; --d: 120ms; }
.av-mark .av-cluster circle:nth-child(6) { --dx: -236px; --dy: -194px; --d: 45ms; }
.av-mark .av-cluster circle:nth-child(7) { --dx: -192px; --dy: -172px; --d: 75ms; }
@media (prefers-reduced-motion: no-preference) {
  /* Fill mode backwards: each animation holds its start through its delay and then lets go, so the resting style (the
     final state) takes over as soon as it ends rather than an animation holding it (which renders the thin lines lighter). */
  /* Programme Evaluation */
  .motion [data-enter="mark"].is-in .pe-dots circle { animation: pe-settle 1500ms cubic-bezier(0.45, 0, 0.25, 1) calc(var(--mark-start) + 300ms + var(--d)) backwards, hm-fade 300ms linear var(--mark-start) backwards; }
  .motion [data-enter="mark"].is-in .pe-trend { animation: mark-draw 550ms cubic-bezier(0.33, 0, 0.2, 1) calc(var(--mark-start) + 2300ms) backwards; }
  .motion [data-enter="mark"].is-in .pe-mark .hm-words { animation: hm-fade 400ms ease-out calc(var(--mark-start) + 2900ms) backwards; }
  /* Assessment Validation */
  .motion [data-enter="mark"].is-in .av-base { animation: hm-fade 300ms linear var(--mark-start) backwards; }
  .motion [data-enter="mark"].is-in .av-ring { animation: mark-draw 600ms cubic-bezier(0.33, 0, 0.2, 1) var(--mark-start) backwards, hm-fade 200ms linear var(--mark-start) backwards; }
  .motion [data-enter="mark"].is-in .av-r2 { animation-delay: calc(var(--mark-start) + 60ms); }
  .motion [data-enter="mark"].is-in .av-r3 { animation-delay: calc(var(--mark-start) + 120ms); }
  .motion [data-enter="mark"].is-in .av-disc { animation: hm-fade 400ms ease-out var(--mark-start) backwards; }
  .motion [data-enter="mark"].is-in .av-disc.av-brighten { animation: hm-fade 400ms ease-out var(--mark-start) backwards, av-brighten 700ms ease-in-out calc(var(--mark-start) + 2100ms) backwards; }
  .motion [data-enter="mark"].is-in .av-cluster circle { animation: av-arrive 1100ms cubic-bezier(0.22, 0.61, 0.36, 1) backwards, hm-fade 350ms linear backwards; }
  .motion [data-enter="mark"].is-in .av-left circle { animation-delay: calc(var(--mark-start) + 400ms + var(--d)); }
  .motion [data-enter="mark"].is-in .av-right circle { animation-delay: calc(var(--mark-start) + 550ms + var(--d)); }
  .motion [data-enter="mark"].is-in .av-lock { animation: av-lock 600ms calc(var(--mark-start) + 1800ms) backwards; }
  .motion [data-enter="mark"].is-in .av-trace-reveal { animation: mark-draw 400ms ease-out calc(var(--mark-start) + 1650ms) backwards; }
  .motion [data-enter="mark"].is-in .av-trace { animation: av-trace 1000ms ease-in-out calc(var(--mark-start) + 1650ms) backwards; }
  .motion [data-enter="mark"].is-in .av-mark .hm-words { animation: hm-fade 400ms ease-out calc(var(--mark-start) + 2750ms) backwards; }
  /* Done: no animation left to replay (the shared rule under "Hero mark" has lower specificity than these). */
  .motion [data-enter="mark"].is-in.is-done :is(.pe-mark, .av-mark) .hm-part,
  .motion [data-enter="mark"].is-in.is-done :is(.pe-mark, .av-mark) .av-trace-reveal { animation: none; }
}
@keyframes mark-draw { from { stroke-dashoffset: 1; } }
@keyframes pe-settle { from { transform: translate(var(--sx), var(--sy)) scale(var(--ss)); } }
@keyframes av-arrive { from { transform: translate(var(--dx), var(--dy)); } }
@keyframes av-trace { 0%, 45% { opacity: 0.85; } }
@keyframes av-brighten { 40% { fill: var(--teal-glow); } }
/* The last short glide onto centre: a tiny overshoot along the travel, then back. */
@keyframes av-lock {
  0% { transform: translate(-16px, -11px); animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  80% { transform: translate(1px, 0.7px); animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  100% { transform: translate(0, 0); }
}
@media print {
  .motion .av-mark .av-trace { opacity: 0.25 !important; }
}

/* Home card graphics (revision 63; design record in docs/design/hero-animation/home-card-*): the two approved Home card
   graphics of the hero animation lab, inline and decorative, each filling its service card's 3:2 image area (drawn at
   1200 x 800 units, margins included) on the card's own background. No words; the factor model's F1 to F3 labels in
   the site's Source Serif 4 500 (the lab's 400 is not loaded). Static since revision 64: always the final state, with no
   animation, transition or script (revision 63 played the lab's animation once as each card scrolled into view). */
.hcs-mark, .hcv-mark { display: block; width: 100%; height: auto; overflow: visible; }
/* Programme Evaluation, "the shift" (partials/home-card-evaluation-mark.njk): the axis, the comparison group as a faint
   dashed hill that stays put, the participants as a hill of teal dot columns, and a thin bracket between the peaks. */
.hcs-mark .hcs-axis { fill: none; stroke: var(--navy-700); stroke-width: 2.5; }
.hcs-mark .hcs-comparison { fill: none; stroke: var(--navy-700); stroke-width: 2.5; stroke-dasharray: 7 8; stroke-opacity: 0.5; }
.hcs-mark .hcs-hill circle { fill: var(--teal-600); }
.hcs-mark .hcs-hill path { fill: none; stroke: var(--teal-600); stroke-width: 13; stroke-linecap: round; stroke-dasharray: 0 20; }  /* a column of dots: zero-length dashes with round caps, one every 20 units */
.hcs-mark .hcs-bracket { fill: none; stroke: var(--navy-700); stroke-width: 2.5; }
/* Assessment Validation, the factor model (partials/home-card-validation-mark.njk): nine items, each linked by a fine
   line to one of three factors. */
.hcv-mark .hcv-lines path { fill: none; stroke: var(--navy-700); stroke-width: 2; }
.hcv-mark .hcv-factor { fill: var(--teal-pale); stroke: var(--navy-700); stroke-width: 2.5; }
.hcv-mark .hcv-items circle { fill: var(--teal-600); }
.hcv-mark .hcv-label { font-family: var(--font-heading); font-size: 32px; font-weight: 500; text-anchor: middle; dominant-baseline: central; fill: var(--navy-700); fill-opacity: 0.65; }
/* The design's 32 units render at about 14px on a 520px card; on narrower cards (phones, 288 to 519px) the labels are
   set larger in the drawing's units, from 58 at 288px down to 32 at 520px (100cqw is the card's width), so they never
   render under about 14px. Centred on the circle at any size (dominant-baseline: central). */
@container (max-width: 519px) {
  .hcv-mark .hcv-label { font-size: calc(58px - (100cqw - 288px) * 0.112); }
}

/* Single-colour line icons (partials/icons.njk): teal stroke, one weight, no fill; decorative (the label
   carries the meaning). Home feature row, service-card links and step arrows; service pages: the reveal
   rows, data needs. */
.line-icon {
  flex: none;
  fill: none;
  stroke: var(--teal-600);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Split section (text + media), one layout for every page that wants it (first used by Programme Evaluation: the
   hero and "Satisfaction is not evidence of impact."; Assessment Validation and About can adopt it later).
   Markup: <div class="container split"> <div class="split__text">...</div> <div class="split__media">image</div> </div>.
   Modifiers: split__media--wide-only hides the media under 768px; split--text-only (no media) is one column.
   From 768px a 12-column grid: text in columns 1-6, media in columns 7-12, so every split section has the same
   media width with its right edge on the container edge; column gap 32px, 48px from 1024px; both centred
   vertically on each other. The media's image is 4:3 with a 6px radius. Under 768px one column, text first, and
   the image a full-width 5:2 banner (banner crops keep the subject through the slot's object-position). */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.split > * { min-width: 0; }
.split__media .home-photo { display: block; width: 100%; height: auto; aspect-ratio: 5 / 2; border-radius: 6px; object-fit: cover; }
.split__text .lede { text-wrap: pretty; }
/* A quiet line under a split section's text (revision 50; Assessment Validation, the regulators in place of "Why it
   matters now"): a rule above, secondary text colour. */
.split__note { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); max-width: var(--measure); color: var(--ink-2); }
.split__media--wide-only { display: none; }
@media (min-width: 768px) {
  .split:not(.split--text-only) { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
  .split__text { grid-column: 1 / 7; }
  .split__media { grid-column: 7 / 13; }
  .split__media--wide-only { display: block; }
  .split__media .home-photo { aspect-ratio: 4 / 3; }
}
@media (min-width: 1024px) {
  .split:not(.split--text-only) { column-gap: 48px; }
}
.split--text-only .split__media { display: none; }
/* Bridging sections (revision 61): between each service page's hero and its Selected work, on the tint.
   - .q-list (Programme Evaluation, "Three questions every evaluation should answer"): a numbered list set in type
     only, no icons, cards or circles. Each question under a thin rule, its number in Source Serif 4 teal-700 (6.1:1
     on --paper-2), the question in Source Serif 4 500. Phones and tablets: the number beside the question, one under
     another; from 1024px the three side by side, the number above.
   - .bridge__pair (Assessment Validation): "Consistent isn't the same as correct" and "Every question should earn its
     place" as one band. Stacked below 1024px, "Consistent" first, with a rule between them; from 1024px two equal
     columns with a thin vertical rule between, tops aligned, the closing line at the foot of the right-hand column.
   - .bridge__close: the closing line that leads into Selected work below, in the italic serif of the case study's
     takeaway line. On Programme Evaluation (revision 62) it is inside question 3's item (.q-list__close), under the
     question's text, linked to it by a thin dotted grey connector (decorative, --ink-2 at 55%): a short one when the
     questions are stacked, and from 1024px, in the third column, a line from just under the question down to it. */
.q-list { list-style: none; counter-reset: q; margin: 28px 0 0; padding: 0; display: grid; max-width: 40rem; }
.q-list li { counter-increment: q; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); column-gap: 12px; align-items: baseline; padding-block: 16px; border-top: 1px solid var(--line); font-family: var(--font-heading); font-weight: 500; font-size: 1.25rem; line-height: 1.3; color: var(--navy-700); text-wrap: pretty; }
.q-list li::before { content: counter(q); font-family: var(--font-heading); font-weight: 600; font-size: 1.75rem; line-height: 1; color: var(--teal-700); }
.bridge__close { margin-top: 28px; max-width: var(--measure); font-family: var(--font-heading); font-style: italic; font-weight: 400; font-size: 1.25rem; line-height: 1.4; color: var(--navy-700); text-wrap: pretty; }
.q-list__q { grid-column: 2; }
.q-list .q-list__close { position: relative; grid-column: 2; margin-top: 32px; }
.q-list .q-list__close::before { content: ""; position: absolute; left: 0.5rem; top: -26px; height: 20px; border-left: 2px dotted var(--ink-2); opacity: 0.55; }
.bridge__pair { display: grid; grid-template-columns: minmax(0, 1fr); }
.bridge__item--next { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }
@media (min-width: 1024px) {
  .q-list { max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; margin-top: 36px; }
  .q-list li { grid-template-columns: minmax(0, 1fr); row-gap: 12px; align-content: start; padding-block: 20px 0; font-size: 1.375rem; }
  .q-list li::before { font-size: 2.25rem; }
  .bridge__close { margin-top: 36px; font-size: 1.375rem; }
  .q-list__q, .q-list .q-list__close { grid-column: 1; }
  .q-list .q-list__close { margin-top: 44px; }  /* plus the item's 12px row gap: 56px under the question */
  .q-list .q-list__close::before { top: -48px; height: 40px; }
  .bridge__pair { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .bridge__pair > .bridge__item:first-child { padding-right: 48px; }
  .bridge__item--next { margin-top: 0; padding-top: 0; border-top: 0; padding-left: 48px; border-left: 1px solid var(--line); align-self: stretch; display: flex; flex-direction: column; }
  /* the closing line at the foot of its column, level with the end of the regulator line beside it, so it is the
     band's last line, straight above Selected work */
  .bridge__item--next .bridge__close { margin-top: auto; padding-top: 36px; }
}
/* Revision 46: split--flip puts the media on the left from 768px (text first on phones, as ever), so a service page
   does not open with "text left, media right" twice. */
@media (min-width: 768px) {
  .split--flip .split__media { grid-column: 1 / 7; grid-row: 1; }
  .split--flip .split__text { grid-column: 7 / 13; grid-row: 1; }
}
/* Photo hero (revision 35; Home and both service pages; Home's was typographic in revisions 46 and 47). The photo's
   own left side is a soft fade in the hero's background colour, so it needs no frame (no radius, border or card); a
   light mask softens the edges it shares with the background. The width sweep fails if a photo's subject
   (data-subject) is ever cropped or sits in a faded edge.
   Phones (revision 47): no photo; the hero is text only. (Until revision 46 a 12:5 strip of the photo ran under the
   text, but its left 40% is the source's own pale haze, so it added height without much picture.)
   From 768px the text keeps the split layout's text column and the photo sits in the hero's right column, framed (a
   4:3 frame, vertically centred, its edges faded; see below). Height:
   - Home (as in revision 45): where the text alone would make the hero too short for the photo (768-1599px), a
     minimum height sized for a 4:3 photo in the right half; elsewhere the text sets it. From 1440px the text takes
     57% of the container and the photo starts 24px after it (--media-left).
   - Programme Evaluation and Assessment Validation (revision 48: the photo had shrunk to 425px wide at 1440 and 319px
     at 1920 once section padding came down to 72px): tall enough for the 4:3 frame to fill the right column's width
     (--media-box), its height capped at 420px (540px in revisions 48 to 60: once the photos became the drawn graphics
     of revision 58, whose drawings sit in the middle of the frame, the taller frame left about 160px above and below
     the text at 1920; revision 61), with the text centred vertically beside it. About 552 x 414px at 1440, 560 x
     420px from about 1500px. */
.photo-hero__media { margin-top: 32px; }
.photo-hero__media .home-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 5;
  object-fit: cover;
  object-position: 100% 50%;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%);
  mask-image: linear-gradient(to bottom, transparent, #000 10%);
}
@media (max-width: 767px) {
  .photo-hero__media { display: none; }
}
@media (min-width: 768px) {
  .photo-hero {
    --media-left: 50vw;
    --media-box: calc(100vw - var(--media-left) - (100vw - min(100vw, 1120px)) / 2 - 24px);
    position: relative;
    overflow: hidden;
  }
  .photo-hero__text { max-width: calc(50% - 16px); }
  .photo-hero__media { position: absolute; right: 0; left: var(--media-left); margin: 0; }
  .photo-hero:not(.home-hero) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(min(var(--media-box) * 0.75, 420px) + 80px);
  }
  .photo-hero:not(.home-hero) > .container { width: 100%; }
}
@media (min-width: 1024px) {
  .photo-hero__text { max-width: calc(50% - 24px); }
}
@media (min-width: 1440px) {
  .photo-hero { --media-box: calc(100vw - var(--media-left) - (100vw - min(80vw, 1488px)) / 2 - 24px); }
  .home-hero .photo-hero__text { max-width: calc(57% - 24px); }
  /* the text column's right edge plus 24px: the container is min(80vw, 1488px) wide with 24px padding each side */
  .home-hero { --media-left: calc(50vw + 0.07 * (min(80vw, 1488px) - 48px)); }
}
@media (min-width: 768px) and (max-width: 1599px) {
  .home-hero { min-height: calc((100vw - var(--media-left)) * 0.75 + 64px); }
}
/* The photo from 768px (revision 38; it ran to the window's top, bottom and right edges until then): contained in the
   hero's right column, from the text column's edge (--media-left) to the container's right content edge
   (--media-right, so it lines up with the header button), at least 40px clear of the hero's top and bottom, and centred
   vertically and pushed right within that box. A 4:3 frame, as large as the box allows (width or height, whichever
   runs out first, via container query units); the service-page sources are 1672:941, so the frame trims only their left edge
   (object-position keeps the right), never the top, bottom or right (Home's, since revision 55, is a padded 4:3
   graphic, shown whole). Its left 22% fades into the hero background, its
   top and bottom 10% and its right 6% (the books and the questionnaire run off the sources' right edge; the short
   fade softens that cut), so it needs no frame. */
@media (min-width: 768px) {
  .photo-hero { --media-right: calc((100% - min(100%, 1120px)) / 2 + 24px); }
  .photo-hero .photo-hero__media {
    top: 40px;
    bottom: 40px;
    right: var(--media-right);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    container-type: size;
  }
  .photo-hero .photo-hero__media .home-photo {
    width: min(100cqw, 100cqh * 4 / 3);
    height: auto;
    aspect-ratio: 4 / 3;
    object-position: 100% 50% !important; /* over the slot's inline position (for the phone strip's vertical crop) */
    -webkit-mask-image: linear-gradient(to right, transparent, #000 22%, #000 94%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent, #000 22%, #000 94%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
    mask-composite: intersect;
  }
}
@media (min-width: 1440px) {
  .photo-hero { --media-right: calc((100% - min(80vw, 1488px)) / 2 + 24px); }
}
/* split__media--full: the photo keeps its 4:3 shape under 768px too (full width below the text) instead of the 5:2 banner. */
.split__media--full .home-photo { aspect-ratio: 4 / 3; }

/* Icon list ("What I need from you"): icon beside each one-line item, aligned to the first line */
.icon-list { list-style: none; display: grid; gap: 14px; max-width: var(--measure); }
.icon-list li { display: flex; align-items: flex-start; gap: 14px; }
.icon-list .line-icon { margin-top: 2px; }

/* Regulators block: one card per source; the source name in the sector-label style, then body text.
   Stacked below 900px (about 60 characters a line); from 900px two columns with the third card
   spanning both (about 45–60; three columns gave about 30). */
.regulator-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
.regulator-grid > * { min-width: 0; }
.regulator-grid p { max-width: var(--measure); }
@media (min-width: 900px) {
  .regulator-grid { grid-template-columns: 1fr 1fr; }
  .regulator-grid > :last-child { grid-column: 1 / -1; }
}
h3.source-label { font-size: var(--fs-body); font-weight: 500; line-height: 1.4; letter-spacing: 0; }

/* Service-page hero: copy left, that service's Home photo on the right (stepping stones for Programme
   Evaluation, the archery target for Assessment Validation; decorative, alt=""). Under 900px the photo is a
   5:2 banner below the copy; from 900px a square up to 26rem wide, pushed to the right edge, and from 1440px
   (wider container) centred in the space beside the 600px text column. */
.hero-grid--proof { align-items: center; }
.hero-photo { width: 100%; min-width: 0; }
.hero-photo .home-photo { width: 100%; height: auto; aspect-ratio: 5 / 2; border-radius: 6px; object-fit: cover; }
@media (min-width: 900px) {
  .hero-grid--proof { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px 80px; }
  .hero-photo { max-width: 26rem; justify-self: end; }
  .hero-photo .home-photo { aspect-ratio: 1 / 1; }
}
@media (min-width: 1440px) {
  .hero-grid--proof { grid-template-columns: minmax(0, var(--hero-measure)) minmax(0, 1fr); }
  .hero-photo { justify-self: center; }
}

/* About (revision 16, the Home pattern): the shared split section with the portrait alone in the media column
   (centred; 13rem on phones, below the text, up to 16rem from 768px), the credentials as a list in the text column
   (revision 42), then Selected experience as item rows. */
.about-hero__media { display: grid; justify-items: center; }
.about-hero__portrait { width: clamp(10.5rem, 50vw, 13rem); }
.about-hero__portrait .headshot { max-width: none; }
@media (min-width: 768px) {
  .about-hero__portrait { width: clamp(13rem, 20vw, 16rem); }
}
/* Pull quote (revision 37; on Home, as a white card, until then), directly beneath the About portrait: an
   understated quote with no card, border or background, and no attribution: Source Serif 4 italic in navy, the
   opening quotation mark hung in the left margin so the text keeps a straight left edge. On phones it runs the full width, in line with the hero text above; from 768px it
   is exactly as wide as the portrait, so the two share both edges. */
.pull-quote { position: relative; justify-self: stretch; margin: 24px 0 0; }
@media (min-width: 768px) {
  .pull-quote { justify-self: center; width: clamp(13rem, 20vw, 16rem); }
}
.pull-quote__mark {
  position: absolute;
  left: -0.42em;
  top: 0;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1875rem;
  line-height: 1.45;
  color: var(--navy-700);
  user-select: none;
}
.pull-quote blockquote { margin: 0; }
.pull-quote blockquote p {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1875rem;
  line-height: 1.45;
  color: var(--navy-700);
}
/* About credentials (revision 42; a band of four icons under the hero until then): one quiet list under the lede, each
   item after a small teal dot. One column since revision 72, so the doctorate's thesis line has room. */
.cred-line { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 28px; font-size: var(--fs-ui); font-weight: 500; line-height: 1.35; color: var(--navy-700); }
.cred-line li { position: relative; padding-left: 16px; }
.cred-line li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-600); }
.cred-line__detail { display: block; margin-top: 2px; font-weight: 400; color: var(--ink-2); text-wrap: balance; }
.cred-line__detail cite { font-style: italic; }

/* Plain bulleted lists used sparingly */
.tick-list { list-style: none; display: grid; gap: 10px; max-width: var(--measure); }
.tick-list li { padding-left: 20px; position: relative; }
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 2px;
  background: var(--amber-500);
}

.method-list dt { color: var(--navy-700); }
.method-list dd { margin: 0 0 12px; color: var(--ink-2); }

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

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* The Evidence Check (revisions 32 and 39; src/check/index.njk, src/check/check.njk, assets/js/evidence-check.js). One
   readable column, 44rem at most. Landing: two large linked choices. Tool: one question per screen (a progress bar, a
   fieldset of full-width radio rows with 56px tap targets, Back and Next), then the results. Without JavaScript the app
   stays hidden and the static checklist is shown. Area states are neutral text tags, all styled alike: no red, amber
   or green and no warning styling.
   */
.ec { max-width: 44rem; }
.ec-app[hidden], .ec-static[hidden], .ec-hint[hidden] { display: none; }
.ec-note { margin-top: 12px; font-size: var(--fs-small); color: var(--ink-2); }
.ec-route { margin-top: 12px; font-size: var(--fs-ui); color: var(--ink-2); }
.ec-route a { font-weight: 500; }
/* Landing */
.ec-choices { list-style: none; display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 640px) { .ec-choices { grid-template-columns: 1fr 1fr; gap: 24px; } }
.ec-choice { display: grid; align-content: start; gap: 8px; height: 100%; padding: 28px 24px 24px; border: 1px solid var(--line); border-top: 3px solid var(--teal-600); border-radius: 6px; background: var(--white); color: var(--ink); text-decoration: none; }
.ec-choice:hover { background: var(--teal-50); border-color: var(--teal-700); border-top-color: var(--teal-700); }
.ec-choice:focus-visible { outline: 3px solid var(--teal-700); outline-offset: 3px; }
.ec-choice__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--teal-50); margin-bottom: 8px; }
.ec-choice__title { font-family: var(--font-heading); font-size: var(--fs-h3); font-weight: 600; line-height: 1.2; color: var(--navy-700); }
.ec-choice__text { font-size: var(--fs-body); }
.ec-choice__go { margin-top: 12px; font-weight: 600; color: var(--teal-700); }
.ec-note + .ec-note { margin-top: 8px; }
.ec--landing .ec-note { margin-top: 24px; }
/* One question per screen */
.ec-app { margin-top: 32px; }
.ec-progress__text { font-size: var(--fs-small); font-weight: 500; color: var(--ink-2); }
.ec-progress__bar { height: 8px; margin-top: 8px; border-radius: 999px; background: var(--navy-100); overflow: hidden; }
.ec-progress__fill { display: block; height: 100%; border-radius: 999px; background: var(--teal-600); }
.ec-q { border: 0; padding: 0; margin: 32px 0 0; min-width: 0; }
.ec-q__kind { display: block; margin-bottom: 8px; font-family: var(--font-body); line-height: 1.4; font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-700); }
.ec-q__legend { padding: 0; font-family: var(--font-heading); font-size: var(--fs-h3); font-weight: 600; line-height: 1.25; color: var(--navy-700); }
.ec-q__legend:focus { outline: none; }
.ec-q__legend:focus-visible { outline: 3px solid var(--teal-700); outline-offset: 6px; }
.ec-options { display: grid; gap: 10px; margin-top: 20px; }
.ec-option input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.ec-option label { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); font-size: var(--fs-ui); line-height: 1.4; color: var(--navy-700); cursor: pointer; }
.ec-option label::before { content: ""; flex: none; width: 20px; height: 20px; border: 2px solid var(--ink-2); border-radius: 50%; background: var(--white); }
.ec-option label:hover { background: var(--teal-50); border-color: var(--teal-700); }
.ec-option input:checked + label { background: var(--teal-50); border-color: var(--teal-600); box-shadow: inset 0 0 0 1px var(--teal-600); font-weight: 600; }
.ec-option input:checked + label::before { border-color: var(--teal-600); background: radial-gradient(circle, var(--teal-600) 0 45%, var(--white) 50%); }
.ec-option input:focus-visible + label { outline: 3px solid var(--teal-700); outline-offset: 2px; }
.ec-option--unsure label { color: var(--ink-2); }
.ec-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ec-nav .btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.ec-hint { margin-top: 12px; font-size: var(--fs-small); color: var(--ink-2); }
/* Results */
.ec-results { display: grid; gap: 48px; }
.ec-results:focus { outline: none; }
.ec-kicker { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-700); }
.ec-headline { padding-top: 24px; border-top: 2px solid var(--teal-600); }
.ec-headline__text { margin-top: 12px; font-size: var(--fs-h3); line-height: 1.3; }
.ec-context { margin-top: 16px; font-size: var(--fs-small); color: var(--ink-2); }
.ec-context__label { font-weight: 600; }
.ec-block__title { font-size: var(--fs-h3); }
.ec-summary { display: grid; gap: 32px; }
.ec-summary .ec-block__title { font-family: var(--font-body); font-size: 1.1875rem; font-weight: 600; }
.ec-summary .ec-block { padding-top: 16px; border-top: 1px solid var(--line); }
.ec-summary .ec-block > p, .ec-list { margin-top: 10px; max-width: var(--measure); }
.ec-list { padding-left: 1.2em; display: grid; gap: 6px; }
.ec-summary .ec-block > p.ec-why { margin-top: 8px; color: var(--ink-2); }
.ec-ladder-block .ec-block__title { font-size: 1.375rem; }
.ec-ladder { list-style: none; display: grid; gap: 8px; margin-top: 20px; }
.ec-rung { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.ec-rung__num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy-100); color: var(--navy-700); font-size: var(--fs-small); font-weight: 600; }
.ec-rung__name { font-weight: 600; color: var(--navy-700); }
.ec-rung__line { margin-top: 4px; font-size: var(--fs-ui); }
.ec-rung--current { background: var(--teal-50); border-color: var(--teal-600); box-shadow: inset 4px 0 0 var(--teal-600); }
.ec-rung--current .ec-rung__num { background: var(--teal-600); color: var(--white); }
.ec-rung__you { display: inline-block; margin-left: 10px; padding: 1px 10px; border-radius: 999px; background: var(--teal-600); color: var(--white); font-size: var(--fs-small); font-weight: 600; }
.ec-claims__table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: var(--fs-ui); }
.ec-claims__table th, .ec-claims__table td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ec-claims__table thead th { padding-top: 0; font-size: var(--fs-small); font-weight: 600; color: var(--ink-2); border-bottom-color: var(--ink-2); }
.ec-claims__table tbody th { width: 55%; font-weight: 600; color: var(--navy-700); }
.ec-claims__table td { padding-right: 0; }
.ec-every { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ec-every__summary { display: flex; align-items: center; gap: 10px; min-height: 52px; font-weight: 600; color: var(--teal-700); cursor: pointer; list-style: none; }
.ec-every__summary::-webkit-details-marker { display: none; }
.ec-every__summary::before { content: ""; flex: none; width: 8px; height: 8px; margin: 0 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform 0.15s; }
.ec-every[open] .ec-every__summary::before { transform: rotate(45deg); }
.ec-every__summary:hover { color: var(--navy-700); }
.ec-every__summary:focus-visible { outline: 3px solid var(--teal-700); outline-offset: 2px; }
.ec-every .ec-profile { margin-top: 0; margin-bottom: 8px; }
.ec-every .ec-profile__row:last-child { border-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .ec-every__summary::before { transition: none; } }
.ec-profile { list-style: none; margin-top: 16px; border-top: 1px solid var(--line); }
.ec-profile__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ec-profile__name { font-weight: 500; color: var(--navy-700); }
.ec-tag { display: inline-block; flex: none; padding: 2px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: var(--fs-small); font-weight: 500; line-height: 1.6; color: var(--navy-700); }
.ec-next { padding-top: 24px; border-top: 2px solid var(--teal-600); }
.ec-next .ec-block__title { margin-bottom: 0; }
.ec-next__text { margin-top: 12px; font-size: var(--fs-lede); max-width: var(--measure); }
.ec-next .cta-row { margin-top: 20px; }
.ec-tools { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 12px; }
.ec-smallprint { max-width: var(--measure); }
.ec-printline { display: none; }  /* revision 65: print only (below) */
/* On the question screens the title block collapses to the route line (the h1 stays for screen readers), so the
   question, its progress line and Next fit the screen: from the second question on phones in revision 65, at every
   width in revision 66, and from the first question since revision 67 (Next above the fold on every question at
   390 x 844 and in a 900px-tall window up to 1920px wide). The results show the full title again (.ec--results). Keyed to
   html.js (set in <head> by motion.js), so it applies from the first paint with no shift; without JavaScript the
   checklist keeps its full title. */
.js [data-ec]:not(.ec--results) > .eyebrow { display: none; }
.js [data-ec]:not(.ec--results) > [data-ec-title] { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.js [data-ec]:not(.ec--results) > .ec-route { margin-top: 0; }
.js [data-ec]:not(.ec--results) > .ec-app { margin-top: 16px; }
.js [data-ec]:not(.ec--results) .ec-q, .js [data-ec]:not(.ec--results) .ec-nav { margin-top: 24px; }  /* revision 66: so the longest question (eight options) fits at 1024 x 900 */
.link-button { padding: 0; border: 0; background: none; font: inherit; font-weight: 500; color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; }
.link-button:hover { color: var(--navy-700); }
/* Without JavaScript: both routes as a printable checklist */
.ec-static { margin-top: 32px; }
.ec-static__route { margin-top: 40px; }
.ec-static h2 { font-size: var(--fs-h3); }
.ec-static h3 { margin-top: 24px; font-family: var(--font-body); font-size: 1.125rem; font-weight: 600; }
.ec-static__context, .ec-static__options { list-style: none; display: grid; gap: 6px; margin-top: 8px; }
.ec-static__list { list-style: none; display: grid; gap: 18px; margin-top: 12px; max-width: var(--measure); }
.ec-static__num { font-weight: 600; color: var(--navy-700); }
.ec-static__ask { margin-top: 4px; font-size: var(--fs-small); font-style: italic; color: var(--ink-2); }
.ec-static__key ol, .ec-static__ladder { padding-left: 1.4em; display: grid; gap: 18px; margin-top: 12px; max-width: var(--measure); }
.ec-static__area { margin-left: 6px; font-size: var(--fs-small); color: var(--teal-700); font-weight: 600; }
.ec-static__options { margin-left: 0; font-size: var(--fs-ui); }
.ec-static__pts { display: inline-block; min-width: 4.5em; font-weight: 600; color: var(--teal-700); }
.ec-static__key, .ec-static__next { margin-top: 48px; }
.ec-static__bands { margin-top: 12px; display: grid; gap: 12px; max-width: var(--measure); }
.ec-static__bands dt { font-weight: 600; color: var(--teal-700); }
.ec-static__bands dd { margin: 2px 0 0; }
@media (max-width: 480px) {
  .ec-rung { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .ec-nav .btn { flex: 1 1 8rem; }
}
/* Print (the results page and the checklist): the page furniture and the buttons go; what is left is the result. */
@media print {
  .skip-link, .site-header, .site-footer, .ec-route, .ec-nav, .ec-hint, .ec-progress, .ec-tools, .ec-next .cta-row, .eyebrow { display: none !important; }
  .ec-every__summary { min-height: 0; padding-top: 12px; color: inherit; }
  .ec-every__summary::before { display: none; }
  body { background: #fff; color: #000; }
  .section { padding: 0; }
  .ec { max-width: none; }
  .ec-results { gap: 24px; }
  .ec-block, .ec-rung, .ec-profile__row, .ec-claims__table tr { break-inside: avoid; }
  .ec-rung--current { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .ec-static__route { break-before: page; }
  .ec-static__route:first-of-type { break-before: auto; }
  a { color: inherit; text-decoration: none; }
  .ec-printline { display: block; margin-top: -16px; }  /* revision 65: where the result came from, how to get in touch, and when */
}
/* The 404 page (revision 40): the line, then the four ways back as a list of arrow links. */
.notfound-links { list-style: none; display: grid; gap: 16px; margin-top: 32px; font-size: var(--fs-lede); font-weight: 500; }
.notfound-links a { min-height: 44px; }


/* "Start here" tag on the Evaluation Framework Review card */
.tag-start { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: var(--teal-50, #e8f4f4); color: var(--teal-700); font-family: var(--font-sans, Inter, sans-serif); font-size: 0.875rem; font-weight: 600; line-height: 1.5; letter-spacing: 0.02em; }

/* Blog (revision 69; reading layout revision 71; src/posts/, layouts/post.njk, src/blog/index.njk,
   partials/latest-posts.njk). The site's own type and colours, laid out for reading: one centred column, --read
   (770px, revision 75), with Inter body text at 18px on phones and 20px from 768px (under 80 characters a line), line height 1.7.
   The header (date, title, summary) is centred above the column, the title up to 820px wide. The post body is a three-column grid, the middle
   column the reading column. From 768px every figure and table spans all three, centred, up to --read-figure (1000px)
   (revision 75); on phones a figure or table fills the column. The cover spans all three at every width. Captions are centred under their figure at the
   column's width. On phones a wide figure runs edge to edge, its caption kept inside the side padding. The Evidence Check box and "All posts" sit in the column. */
:root { --read: 770px; --read-figure: 1000px; }
.post-check, .post-back, .blog-index__head, .post-list { max-width: var(--read); margin-inline: auto; }
/* The header may run a little wider than the column, so the title (52px on desktop) can take two lines where the
   column would need three; the summary keeps to the column. */
.post-header { max-width: 820px; margin-inline: auto; }
.post-header, .blog-index__head { text-align: center; }
.post-date { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.post-header .post-date { justify-content: center; }
.post-title { margin-top: 12px; font-size: 2.5rem; line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance; } /* 40px; 52px from 900px */
.post-summary { margin: 16px auto 0; max-width: var(--read); text-wrap: pretty; }
@media (min-width: 900px) {
  .post-title { margin-top: 16px; font-size: 3.25rem; }
  .post-summary { margin-top: 20px; font-size: 1.3125rem; } /* 21px */
}
.post-cover { margin: 32px auto 0; }
@media (min-width: 900px) {
  .post-cover { margin-top: 48px; }
}
.post-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(var(--read), 100%) minmax(0, 1fr);
  margin-top: 40px;
  font-size: 1.125rem; /* 18px */
  line-height: 1.7;
}
@media (min-width: 768px) {
  .post-body { font-size: 1.25rem; } /* 20px */
}
@media (min-width: 900px) {
  .post-body { margin-top: 56px; }
}
.post-body > * { grid-column: 2; min-width: 0; }
.post-body > * + * { margin-top: 1.1em; }
.post-body > h2 { margin-top: 1.8em; font-size: 1.75rem; line-height: 1.2; } /* 28px; 32px from 900px */
.post-body > h3 { margin-top: 1.5em; }
@media (min-width: 900px) {
  .post-body > h2 { font-size: 2rem; }
}
.post-body > :is(h2, h3) + * { margin-top: 0.6em; }
.post-body :is(ul, ol) { padding-left: 1.4em; }
.post-body li + li { margin-top: 0.4em; }
.post-body li::marker { color: var(--teal-700); }
.post-body ol li::marker { font-weight: 600; }
.post-body a { color: var(--teal-600); text-decoration-thickness: 1px; text-underline-offset: 2px; }
.post-body a:hover { color: var(--teal-700); text-decoration-thickness: 2px; }
.post-body blockquote {
  margin-inline: 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--teal-600);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.2em; /* 21.6px on phones, 24px from 768px: the serif italic of the takeaway lines */
  line-height: 1.45;
  color: var(--navy-700);
}
.post-body blockquote p + p { margin-top: 0.6em; }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
.post-body code { font-size: 0.9em; background: var(--paper-2); padding: 0.1em 0.3em; border-radius: 3px; }
.post-body table { border-collapse: collapse; width: 100%; font-size: var(--fs-ui); line-height: 1.5; }
.post-body :is(th, td) { text-align: left; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.post-body > .post-figure { margin-block: 2em; }
.post-body > .post-figure--wide { grid-column: 1 / -1; justify-self: center; width: 100%; }
.post-figure img { display: block; width: 100%; height: auto; border-radius: 6px; }
.post-figure img[src$=".svg"] { border-radius: 0; }
.post-figure figcaption { max-width: var(--read); margin: 12px auto 0; text-align: center; font-size: 0.9375rem; line-height: 1.5; } /* 15px */
.post-figure--wide, .post-body > .post-figure--wide { max-width: var(--read-figure); }
@media (min-width: 768px) {
  .post-body > :is(.post-figure, table) { grid-column: 1 / -1; justify-self: center; width: 100%; max-width: var(--read-figure); }
}
@media (max-width: 767px) {
  .post-figure--wide, .post-body > .post-figure--wide { width: auto; justify-self: stretch; margin-inline: -24px; }
  .post-figure--wide img { border-radius: 0; }
  .post-figure--wide figcaption { padding-inline: 24px; }
}
@media (max-width: 400px) {
  .post-figure--wide, .post-body > .post-figure--wide { margin-inline: -16px; }
  .post-figure--wide figcaption { padding-inline: 16px; }
}
/* The Evidence Check box at the end of every post: a white card in the reading column, a teal rule on its left. */
.post-check {
  margin-top: 56px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal-600);
  border-radius: 6px;
}
/* On phones the box runs edge to edge (like a wide figure), so the pill's label stays on one line from 375px. */
@media (max-width: 599px) {
  .post-check { margin-inline: -24px; padding: 24px 16px; border-radius: 0; border-right: 0; }
  .post-check .check-pill__link { padding-inline: 20px; }
}
@media (max-width: 400px) {
  .post-check { margin-inline: -16px; }
}
@media (min-width: 600px) {
  .post-check { padding: 28px 32px; }
}
.post-check p { margin-top: 8px; }
.post-check .check-pill { margin-top: 20px; align-items: flex-start; }
.post-back { margin-top: 32px; }

/* The blog index: the reading column, its heading and line centred, then one post per row, newest first, the title
   in the serif a step above the working h2 and the summary at the post's body size. */
.blog-index__head .lede { margin: 16px auto 0; max-width: none; }
@media (min-width: 900px) {
  .blog-index__head .lede { font-size: 1.3125rem; } /* 21px */
}
.post-list { list-style: none; margin-top: 40px; }
.post-list__item { padding-block: 32px; border-top: 1px solid var(--line); }
.post-list__item:last-child { border-bottom: 1px solid var(--line); }
.post-list__item h2 { margin-top: 8px; font-size: 1.875rem; line-height: 1.15; text-wrap: balance; } /* 30px; 40px from 900px */
@media (min-width: 900px) {
  .post-list { margin-top: 56px; }
  .post-list__item { padding-block: 40px; }
  .post-list__item h2 { font-size: 2.5rem; }
}
.post-list__item h2 a { color: var(--navy-700); text-decoration: none; }
.post-list__item h2 a:hover { color: var(--teal-700); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.post-list__item p:last-child { margin-top: 12px; font-size: 1.125rem; line-height: 1.6; } /* 18px; 20px from 768px */
@media (min-width: 768px) {
  .post-list__item p:last-child { font-size: 1.25rem; }
}

/* Home's "Latest posts": up to three across from 900px, each under a thin rule. */
.post-grid { list-style: none; display: grid; gap: 28px; margin-top: 28px; }
.post-grid__item { padding-top: 20px; border-top: 2px solid var(--line); min-width: 0; }
.post-grid__item h3 { margin-top: 8px; font-size: 1.25rem; }
.post-grid__item h3 a { text-decoration-thickness: 1px; }
.post-grid__item p:last-child { margin-top: 10px; }
@media (min-width: 900px) {
  .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
}
.latest-posts__all { margin-top: 28px; }
