/* SPONSR site — src/css/system.css  (21 Sep 2026, loaded LAST)
   ONE page grammar for every page, replacing the earlier mix of full-bleed slab photos,
   half-bleeds, pinned scenes and scrub lines:

     hero  →  sections on one 12-column grid  →  lime closing band  →  footer

   Rules of the grammar
   - The hero is the only place type sits on a photograph.
   - Below the hero every photograph sits IN the grid, beside its text (.split) or above it
     (.item__media), at a fixed 3:2 (or 4:5) frame. Nothing is taller than ~420px.
   - Every section heading is an h2 with the lime tick above it. Every numbered thing uses the
     outlined numeral (.n-out). Every page ends with the same lime .close band.
   - Grounds alternate white / grey / black; two photo sections never touch.
   Flat, square, opaque: no radius, no shadow, no blur. */

/* ------------------------------------------------------------------ scale */
:root {
  --h1: clamp(34px, 1.7vw + 27px, 56px);
  --h2: clamp(26px, 0.9vw + 21px, 36px);
  --h3: clamp(19px, 0.3vw + 17.6px, 22px);
  --lead: clamp(18px, 0.25vw + 17px, 20px);
  --body: 17px;
  --section: clamp(44px, 5vw, 76px);
  --measure: 640px;
  --n-out: clamp(44px, 2.6vw + 22px, 64px);
  --frame-max: 420px;
}
body { line-height: 1.55; }
h2, .h2 { max-width: 22ch; }
.grid { row-gap: 28px; }
.grid > h2.c-1-13 { max-width: 30ch; }
.stack > * + * { margin-top: 24px; }
.prose > * + * { margin-top: 0.9em; }
main p { max-width: 68ch; }
main .grid > p, main .grid > .prose { max-width: none; }

/* texture belongs to the hero only */
main > section:not(.ph--hero).grain::after, main > section:not(.ph--hero) .grain::after { display: none; }

/* ------------------------------------------------------------------ section heading tick */
main > section:not(.ph--hero) h2::before {
  content: ""; display: block; width: 40px; height: 4px; margin-bottom: 18px; background: var(--accent);
}
main > section .steps h2::before, main > section .report-flick h2::before, main > section .doc-stack h2::before { display: none; }

/* ------------------------------------------------------------------ the outlined numeral */
main .n-out, main .numeral, main .why__n {
  display: block;
  font-family: var(--f-figures); font-weight: 700; font-size: var(--n-out); line-height: 1;
  letter-spacing: 0; font-variant-numeric: tabular-nums;
  color: var(--accent); margin: 0 0 14px;
}
@supports (-webkit-text-stroke: 1px black) {
  main .n-out, main .numeral, main .why__n { color: transparent; -webkit-text-stroke: 2px var(--accent); }
  main .s-white .n-out, main .s-grey .n-out, main .s-white .numeral, main .s-grey .numeral { -webkit-text-stroke-color: var(--k); }
}
main .s-white .n-out, main .s-grey .n-out, main .s-white .numeral, main .s-grey .numeral { color: var(--k); }
@supports (-webkit-text-stroke: 1px black) {
  main .s-white .n-out, main .s-grey .n-out, main .s-white .numeral, main .s-grey .numeral { color: transparent; }
}
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ------------------------------------------------------------------ hero (the one photo with type on it) */
.ph--hero { min-height: min(64svh, 600px); }
/* the message side of every hero is held down by a left vignette (same family as the bottom
   one), so the headline never has to fight the photograph */
.ph--hero .ph__media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to right, rgba(10,10,10,0.80) 0%, rgba(10,10,10,0.64) 32%, rgba(10,10,10,0.14) 56%, rgba(10,10,10,0) 70%); }
@media (max-width: 767px) { .ph--hero .ph__media::before { background: rgba(10,10,10,0.5); } }
body[data-page="home"] .ph--hero { min-height: min(76svh, 700px); --hero-grey: 0.3; --hero-scrim: 0.06; }
/* the stills carry the page: the left vignette holds the headline, so the frame itself stays bright */
body[data-page="home"] .ph--hero .ph__media img { filter: grayscale(var(--hero-grey)) contrast(1.08) saturate(0.95); }
body[data-page="home"] .ph--hero .hero__shade-bottom { height: 46%;
  background: linear-gradient(to top, rgba(10,10,10,0.72) 0%, rgba(10,10,10,0.4) 45%, rgba(10,10,10,0) 100%); }
.ph--hero .ph__body { padding-block: 56px 48px; }
.ph__main { max-width: 760px; }
.ph__main > * + * { margin-top: 24px; }
.ph--hero .lead { max-width: 56ch; }
.ph--hero .scratch { display: none; }
@media (max-width: 767px) {
  .ph--hero, body[data-page="home"] .ph--hero { min-height: min(72svh, 560px); }
  .ph--hero .ph__body { padding-block: 40px 32px; }
  .ph__main > * + * { margin-top: 18px; }
}
/* home hero: three stills, cross-fading. No movement of any kind. */
.slides { position: absolute; inset: 0; }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s linear; }
.slides img.is-on { opacity: 1; }
html.is-paused .slides img { transition: none; }
@media (prefers-reduced-motion: reduce) { .slides img { transition: none; } }

/* ------------------------------------------------------------------ .split — text beside a framed photograph */
.split { padding-block: var(--section); position: relative; }
.split > .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 28px; align-items: center; }
.split__text { grid-column: 1 / 7; grid-row: 1; }
.split__media { grid-column: 7 / 13; grid-row: 1; }
.split--flip .split__text { grid-column: 7 / 13; padding-left: clamp(0px, 2vw, 32px); }
.split--flip .split__media { grid-column: 1 / 7; }
.split:not(.split--flip) .split__text { padding-right: clamp(0px, 2vw, 32px); }
.split__text > * + * { margin-top: 18px; }
.split__text .btn { margin-top: 6px; }
.split__text .rows { margin-top: 22px; max-width: none; }
.split__media { position: relative; aspect-ratio: 3 / 2; max-height: var(--frame-max); overflow: hidden; background: var(--k2); }
.split__media--tall { aspect-ratio: 4 / 5; max-height: 520px; grid-column: 8 / 13; }
.split--flip .split__media--tall { grid-column: 1 / 6; }
.split__media picture { display: block; height: 100%; }
.split__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); filter: contrast(1.06) saturate(1.08); }
.split__media.duo img { filter: grayscale(1) contrast(1.15); }
.split .panel { background: none; color: inherit; padding: 0; max-width: none; }
.split .panel > * + * { margin-top: 18px; }
.split.s-black .rows > * { border-color: var(--g1); }
@media (max-width: 1023px) {
  .split__text, .split--flip .split__text { grid-column: 1 / -1; grid-row: 2; padding: 0; }
  .split__media, .split--flip .split__media, .split__media--tall, .split--flip .split__media--tall { grid-column: 1 / -1; grid-row: 1; max-height: 300px; aspect-ratio: 16 / 9; }
}

/* ------------------------------------------------------------------ .items — numbered / titled items on the grid */
.items { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 36px var(--gutter); margin-top: 36px; }
.items--2 { --cols: 2; } .items--4 { --cols: 4; }
.item { border-top: 1px solid var(--g4); padding-top: 22px; }
.s-black .item { border-color: var(--g1); }
.item > * + * { margin-top: 12px; }
.item h3 { font-size: var(--h3); }
.item p:not(.n-out) { font-size: var(--body); }
main .item .n-out { font-size: var(--n-out); margin: 0 0 4px; }
.item .btn { margin-top: 8px; }
.item__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--k2); margin: 0 0 22px; }
.item__media picture { display: block; height: 100%; }
.item__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); filter: contrast(1.06) saturate(1.08); }
.item--media { border-top: 0; padding-top: 0; }
.sec-foot { margin-top: 32px; }
@media (max-width: 1023px) { .items, .items--4 { --cols: 2; } }
@media (max-width: 767px) { .items, .items--2, .items--4 { --cols: 1; gap: 28px; } }

/* ------------------------------------------------------------------ ruled rows, compact */
.rows > * { padding-block: 16px; font-size: var(--body); line-height: 1.5; }
.rows--lead > * { font-size: var(--lead); padding-block: 12px; font-weight: 700; }
.rows--credits > * { padding-block: 12px; }

/* ------------------------------------------------------------------ steps: the same numeral, two columns, no rail */
.steps { padding-left: 0; margin-top: 8px; }
.steps__line { display: none; }
.steps__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); }
.steps__list > li, .steps__list > li:last-child { display: grid; grid-template-columns: 84px minmax(0, 1fr); column-gap: 20px; align-items: start; padding-block: 24px; border-top: 1px solid var(--g1); border-bottom: 0; }
.steps__list .numeral { margin: 0; line-height: 1; }
.steps__body > * + * { margin-top: 10px; }
.steps h2, .steps h3 { font-family: var(--f-body); font-weight: 700; font-size: var(--h3); line-height: 1.25; letter-spacing: -0.01em; max-width: none; }
.steps .lead { font-size: var(--body); line-height: 1.5; }
h2.slab-wrap, .slab-wrap { margin-bottom: 20px; }
.slab-wrap .slab, h2.slab { display: block; background: none; color: inherit; padding: 0; }
@media (max-width: 767px) { .steps__list { grid-template-columns: 1fr; } .steps__list > li { grid-template-columns: 64px minmax(0, 1fr); } }

/* ------------------------------------------------------------------ photo strip / band, capped */
.strip-sec, .strip-sec--solo { padding-block: 0; }
.strip .frame { height: clamp(180px, 21vw, 300px); }
.band { background: var(--k); }
.band__media { height: clamp(180px, 21vw, 300px); overflow: hidden; }
.band__media picture { display: block; height: 100%; }
.band__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); filter: contrast(1.06) saturate(1.08); }
@media (max-width: 767px) { .strip .frame, .strip .frame:first-child { height: 150px; } .strip .frame:last-child { grid-column: 1 / -1; } }

/* ------------------------------------------------------------------ the circuits line: a plain band of names */
.names { background: var(--k); color: var(--w); padding-block: 28px; border-top: 1px solid var(--g1); border-bottom: 1px solid var(--g1); }
.names p { max-width: none; font-family: var(--f-display); font-size: clamp(18px, 1.5vw + 8px, 30px); line-height: 1.3; letter-spacing: -0.01em; }
.names .pre { color: var(--accent); padding-inline: 0.25em; }

/* ------------------------------------------------------------------ .close — the same lime closing band on every page */
.close { background: var(--accent); color: var(--on-accent); padding-block: var(--section); }
.close > .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 24px; align-items: center; }
.close h2 { grid-column: 1 / 8; color: var(--on-accent); max-width: none; }
main > section.close h2::before { background: var(--k); }
.close__body { grid-column: 8 / 13; }
.close__body > * + * { margin-top: 18px; }
.close .btn, .close .btn--accent { background: var(--k); color: var(--w); }
.close .btn .stop, .close .btn--accent .stop { color: var(--accent); }
.close .btn:hover, .close .btn:focus-visible { background: var(--w); color: var(--k); }
.close .btn:hover .stop, .close .btn:focus-visible .stop { color: var(--accent-text); }
.close ::selection { background: var(--k); color: var(--w); }
@media (max-width: 1023px) { .close h2, .close__body { grid-column: 1 / -1; } }

/* ------------------------------------------------------------------ artefacts (every quarter): keep, but in proportion */
.report-flick, .doc-stack { max-width: 980px; margin-inline: auto; }

/* ------------------------------------------------------------------ a counted list: numeral + heading left, the list right */
.grid > .num-flag { grid-column: 1 / -1; margin-bottom: -16px; }
.grid > .num-flag + .stack { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 18px; align-items: start; }
.grid > .num-flag + .stack > * { margin-top: 0; }
.grid > .num-flag + .stack > h2 { grid-column: 1 / 7; grid-row: 1; }
.grid > .num-flag + .stack > .rows { grid-column: 7 / 13; grid-row: 1 / span 3; max-width: none; }
.grid > .num-flag + .stack > p { grid-column: 1 / 6; grid-row: 2; }
@media (max-width: 1023px) { .grid > .num-flag + .stack > * { grid-column: 1 / -1 !important; grid-row: auto !important; } }

/* ------------------------------------------------------------------ text page heads (accountant, terms, privacy): black, compact */
.page-head .slab-wrap { margin-bottom: 20px; }
.page-head .btn { background: var(--accent); color: var(--on-accent); }
.page-head .btn .stop { color: var(--on-accent); }

/* artefact photographs (proposal / report on a desk) sit in the same 3:2 frame as every other photo */
.artefact-photo { width: 100%; aspect-ratio: 3 / 2; max-height: var(--frame-max); object-fit: cover; }

/* ------------------------------------------------------------------ header navigation with submenus (21 Sep 2026)
   Get involved ▾ · How we work ▾ · Accountability ▾ · Looking for sponsorship · [Talk through your plans]
   Desktop: a disclosure button per group, its panel hanging off the bottom edge of the black bar.
   Below 1280px the whole nav is the full-screen menu and every group is simply listed open. */
.hdr__nav > ul { align-items: stretch; gap: 36px; height: 120px; }
.hdr__nav > ul > li { display: flex; align-items: center; position: relative; }
@media (max-width: 1439px) { .hdr__nav > ul { gap: 24px; } }
@media (min-width: 1280px) { .hdr__nav > ul > li.site-nav__cta-row { display: none; } }
.nav-parent { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; color: inherit;
  font-family: var(--f-body); font-weight: 500; font-size: 17px; line-height: 1; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-parent::after { content: ""; width: 7px; height: 7px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 150ms; }
.nav-parent[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: 4px; }
.nav-parent:hover, .nav-parent[aria-expanded="true"], .has-sub:has(a[aria-current="page"]) > .nav-parent { border-bottom-color: currentColor; }
.hdr__nav .sub { display: none; position: absolute; top: 100%; left: -24px; z-index: 60; min-width: 270px; height: auto; gap: 0;
  background: var(--k); border-top: 2px solid var(--accent); padding: 10px 0 14px; }
.nav-parent[aria-expanded="true"] + .sub { display: block; }
@media (hover: hover) and (min-width: 1280px) { .has-sub:hover > .sub { display: block; } }
html:not(.js) .has-sub:focus-within > .sub { display: block; }
.hdr__nav .sub a { display: block; padding: 12px 24px; font-size: 16px; font-weight: 500; line-height: 1.2; border-bottom: 0; }
.hdr__nav .sub a:hover, .hdr__nav .sub a:focus-visible, .hdr__nav .sub a[aria-current="page"] { color: var(--accent); border-bottom: 0; }

/* full-screen menu: groups listed open, the parent is a label; the wordmark and the Close button stay above the sheet */
body.menu-open .hdr__mark, body.menu-open .hdr__menu { position: relative; z-index: 36; }
.js .site-nav.is-open a { white-space: normal; }
@media (max-width: 767px) { .js .site-nav.is-open .nav-parent, .js .site-nav.is-open > ul > li > a:not(.btn) { font-size: 24px; } }
.js .site-nav.is-open > ul { height: auto; }
.js .site-nav.is-open > ul > li { display: block; }
.js .site-nav.is-open .nav-parent { display: block; width: 100%; text-align: left; pointer-events: none; border: 0; padding: 20px 0 6px;
  font-family: var(--f-display); font-weight: 400; font-size: 28px; line-height: 1.1; letter-spacing: -0.01em; color: var(--w); }
.js .site-nav.is-open .nav-parent::after { display: none; }
.js .site-nav.is-open .sub { display: block; position: static; min-width: 0; border: 0; padding: 0 0 16px; background: none; max-width: none; margin: 0; }
.js .site-nav.is-open .sub li, .js .site-nav.is-open .sub li:last-child { border: 0; }
.js .site-nav.is-open .sub a { font-family: var(--f-body); font-weight: 500; font-size: 20px; line-height: 1.2; padding: 9px 0; color: var(--paper); }
.js .site-nav.is-open .sub a[aria-current="page"] { color: var(--accent); }
@media (min-width: 768px) { .js .site-nav.is-open .nav-parent { font-size: 36px; } .js .site-nav.is-open .sub a { font-size: 22px; } .js .site-nav.is-open a:not(.btn):not(.sub a) { font-size: 36px; } }

/* no JS, narrow: everything is a plain visible list under the bar */
@media (max-width: 1279px) {
  html:not(.js) .hdr__nav > ul { height: auto; align-items: flex-start; }
  html:not(.js) .hdr__nav > ul > li { display: block; }
  html:not(.js) .hdr__nav .sub { display: block; position: static; border: 0; padding: 4px 0 8px; min-width: 0; }
  html:not(.js) .hdr__nav .sub a { padding: 5px 0; }
  html:not(.js) .nav-parent { pointer-events: none; color: var(--g3); font-size: var(--small); }
  html:not(.js) .nav-parent::after { display: none; }
}

/* the motion control now lives in the footer */
.ftr__motion { font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.ftr__motion:hover, .ftr__motion[aria-pressed="true"] { color: var(--accent); }

/* ------------------------------------------------------------------ variants (21 Sep 2026, "too much visual repetition")
   Same grammar, different silhouettes, so neighbouring sections never look alike:
     .split            photo and text half and half
     .split--wide      a bigger 16:10 photo (7 columns) with a narrow text column
     .split--pair      two upright photos, the second dropped a step
     .stack            one wide photo across the grid, heading and text beneath it
     .statement        a short section set large: heading across, lead beneath, lime rule at the side
     numbered .items   replaces two-column ruled lists (one numbered block per page)                     */
.split--wide .split__text { grid-column: 1 / 6; }
.split--wide .split__media { grid-column: 6 / 13; aspect-ratio: 16 / 10; max-height: 470px; }
.split--wide.split--flip .split__text { grid-column: 8 / 13; }
.split--wide.split--flip .split__media { grid-column: 1 / 8; }

.split--pair .split__media { aspect-ratio: auto; max-height: none; overflow: visible; background: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.split--pair .split__media picture { aspect-ratio: 4 / 5; overflow: hidden; background: var(--k2); height: auto; }
.split--pair .split__media picture + picture { margin-top: 48px; }

.stack { padding-block: var(--section); }
.stack__media { width: 100%; height: clamp(220px, 27vw, 400px); overflow: hidden; background: var(--k2); }
.stack__media picture { display: block; height: 100%; }
.stack__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); filter: contrast(1.06) saturate(1.08); }
.stack__text { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 18px; margin-top: 32px; align-items: start; }
.stack__text > h2 { grid-column: 1 / 6; }
.stack__body { grid-column: 7 / 13; }
.stack__body > * + * { margin-top: 18px; }

.statement > .wrap { position: relative; }
.statement .statement__in { border-left: 4px solid var(--accent); padding-left: clamp(20px, 3vw, 44px); }
.statement h2 { font-size: clamp(30px, 2vw + 18px, 46px); max-width: 20ch; }
main > section.statement h2::before { display: none; }
.statement .lead { margin-top: 22px; max-width: 58ch; }

@media (max-width: 1023px) {
  .split--wide .split__text, .split--wide.split--flip .split__text, .split--wide .split__media, .split--wide.split--flip .split__media { grid-column: 1 / -1; }
  .split--pair .split__media { aspect-ratio: auto; max-height: none; }
  .split--pair .split__media picture + picture { margin-top: 24px; }
  .stack__text > h2, .stack__body { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------------ the three documents (every quarter): three short tiles, not a 1,400px stack */
.docs3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px var(--gutter); margin-top: 8px; }
.docs3 > li { border-top: 1px solid var(--g4); padding-top: 18px; }
.docs3 .n-out { display: block; margin: 0 0 6px; }
.docs3__label { display: block; font-weight: 700; font-size: var(--h3); margin-bottom: 14px; }
.docs3__doc { height: 250px; overflow: hidden; border-bottom: 1px solid var(--g4); font-size: 11px; }
.docs3__doc .doc, .docs3__doc .doc--agreement, .docs3__doc .doc--invoice { position: static; transform: none; margin: 0; left: auto; right: auto; top: auto; bottom: auto; max-width: none; width: 100%; padding: 16px 16px 20px; }
.docs3__doc .doc-title { font-size: 1.7em; }
.docs3__doc .doc-line { margin-top: 0.9em; }
@media (max-width: 1023px) { .docs3 { grid-template-columns: 1fr; } .docs3__doc { height: 200px; } }
