/* ============================================================
   Third Sector Lab , v3 layer
   Load AFTER styles.css. Contains the settled direction from the
   Paul x Ross check-in, plus the core utility-row component library.

   1 · Colour   , warm off-white ground, brand-only category colours
   2 · Type     , Cognate reserved for programme names
   3 · Cleanup  , no divider/grid lines, no eyebrows, tags on blog only
   4 · Rows     , the 14 utility rows every page is built from
   ============================================================ */

/* ---------- 1 · COLOUR ---------------------------------------
   Only two neutrals are added to the brand: white and the warm
   off-white (beige). Navy = ink. Cyan = the single action accent.
   Category colours come from Stuart's palette, unaltered.
   ------------------------------------------------------------ */
:root {
  /* Ross, 4 Aug: white is the default ground; cream is a sparing DETAIL only.
     This reverses the beige-everywhere direction. */
  --ds-color-ground: #FFFFFF;     /* white , the default ground */
  --ds-color-panel: #F6F3EC;      /* cream , the one alternating surface, used sparingly */
  --ds-color-panel-2: #EDE7DA;    /* deeper cream , insets and rules */
  --ds-color-white: #FFFFFF;
  --ds-color-cream: #F6F3EC;      /* named, so a detail can ask for cream explicitly */

  /* muted text re-weighted for the warm ground , 0.58 was set against pure
     white and drops to 3.73:1 on #F4F1EA. 0.70 clears AA on ground and panel. */
  --ds-text-muted: rgba(38,34,76,0.70);

  /* category coding: one restrained warm tint for every surface;
     the sanctioned brand colour appears only as the dot accent */
  --cat-strategy-bg: #F6F3EC; --cat-brand-bg: #F6F3EC; --cat-marketing-bg: #F6F3EC;
  --cat-trustees-bg: #F6F3EC; --cat-curve-bg: #F6F3EC; --cat-open-bg: #F6F3EC;

  /* sticky header height , drive every sticky offset from this */
  --ds-header-h: 105px;
}

/* header is dark in v3, on every page (the logo lock-up is the light one).
   Its background comes from the chrome token in the DARK TONAL HIERARCHY
   block below , declared once, there. */
.bb-nav__link { color: var(--ds-text-body); }
.bb-nav__link:hover { color: var(--ds-color-ink); }

/* ---------- 2 · TYPOGRAPHY -----------------------------------
   Kante (serif) carries headings and statements.
   Cognate is reserved for programme names , nothing else.
   StupidSans is body, UI and figures.
   ------------------------------------------------------------ */
.cat-card__name,
.ds-name { font-family: var(--ds-font-serif); font-weight: 400; letter-spacing: -0.01em; }

.is-programme-name,
.cat-trustees .cat-card__name,
.cat-curve .cat-card__name,
.cat-open .cat-card__name { font-family: var(--ds-font-display); font-weight: 900; letter-spacing: -0.005em; }

/* ---------- 3 · CLEANUP --------------------------------------
   No decorative rules, no eyebrow labels, no redundant tags.
   Space and type do the separating instead of lines.
   ------------------------------------------------------------ */
.bb-header { border-bottom: none; }

.fh-figures { border-top: none; }
.fh-figures__cell { border-left: none; padding-left: 0; }
.cat-card { border: none; }
.cat-card__tint { border-bottom: none; }
/* eyebrows and kickers are gone from the system , match the pattern, not a
   list of class names, so a new page cannot reintroduce one */
[class*="eyebrow"]:not(.bb-eyebrow-name),
[class*="kicker"],
.sv-guide__meta { display: none; }

/* cards lift off the warm ground in white */
.bb-card,
.cat-card { background: var(--ds-color-white); }

/* ---------- 4 · DARK SURFACES --------------------------------
   ONE canonical list of dark grounds, below. Any new dark surface must
   either be added here or simply carry .is-dark alongside its background
   declaration , then every on-dark treatment applies automatically and
   navy-on-navy text cannot be authored by accident.
   ------------------------------------------------------------ */

/* ---------- (was) 4 · DARK SURFACES ---------------------------
   .row--ink and .row-spotlight__box are new dark grounds. Every
   treatment styles.css scopes to .bb-section--ink must apply here
   too, or navy text lands on navy. One shared list, so it can't drift.
   ------------------------------------------------------------ */

/* Dark surfaces already set the right inherited colour on the section.
   Components that hard-code a light-surface colour override that and turn
   invisible, so hand back inheritance for the whole body-text tier in one
   rule rather than naming components one at a time. Emphasis rules below
   deliberately win over this. */
:is(.is-dark, .row--ink, .bb-section--ink, .row-spotlight__box, .prog-hero, .res-cover, .bb-band--ink, .cta-card) :is(p, li, .ds-lede, .cat-card__text, .row-case__fact-b, .prog-path__list li):not(.fh-figures__ctx, .bb-card__text) { color: inherit; }

/* The :not() guard matters. Components that already ship a correct dark-surface
   variant must keep it: handing them to inherit throws the variant away and picks
   up whatever an ancestor happens to set. Only two qualify , .fh-figures__ctx
   (styles.css .fh-figures--ink .fh-figures__ctx) and .bb-card__text (declared
   just above). Anything else needs an explicit rule, not a guard. The stat band sets a
   decorative 0.3 alpha on its own wrapper, so its labels inherited 2.59:1.
   Naming the class in the list above was not enough, because a bare p selector
   still matched it. */

:is(.is-dark, .row--ink, .bb-section--ink, .row-spotlight__box, .prog-hero, .res-cover, .bb-band--ink, .cta-card) .bb-btn--ghost { color: var(--ds-on-ink-strong); border-color: rgba(251,252,254,0.4); }
:is(.is-dark, .row--ink, .bb-section--ink, .row-spotlight__box, .prog-hero, .res-cover, .bb-band--ink, .cta-card) .bb-btn--ghost:hover { background: var(--ds-on-ink-strong); color: var(--ds-color-ink); border-color: var(--ds-on-ink-strong); }
:is(.is-dark, .row--ink, .bb-section--ink, .row-spotlight__box, .prog-hero, .res-cover, .bb-band--ink, .cta-card) .bb-cta-link { color: var(--ds-on-ink-strong); }
:is(.is-dark, .row--ink, .bb-section--ink, .row-spotlight__box, .prog-hero, .res-cover, .bb-band--ink, .cta-card) .bb-quote__text,
:is(.is-dark, .row--ink, .bb-section--ink, .row-spotlight__box, .prog-hero, .res-cover, .bb-band--ink, .cta-card) .bb-quote__cite b { color: var(--ds-on-ink-strong); }
:is(.is-dark, .row--ink, .bb-section--ink, .row-spotlight__box, .prog-hero, .res-cover, .bb-band--ink, .cta-card) .bb-quote__cite span { color: var(--ds-on-ink-muted); }
/* logos always sit in their own white shape, on any ground */
.bb-logos { background: transparent; border: none; border-radius: 0; gap: var(--ds-space-3); overflow: visible; }
.bb-logos__cell,
.row-logos__cell { background: var(--ds-color-white); border-radius: var(--ds-radius-sm); min-height: 104px; padding: var(--ds-space-4); color: var(--ds-text-body); }
:is(.is-dark, .row--ink, .bb-section--ink, .row-spotlight__box, .prog-hero, .res-cover, .bb-band--ink, .cta-card) .bb-logos,
:is(.is-dark, .row--ink, .bb-section--ink, .row-spotlight__box, .prog-hero, .res-cover, .bb-band--ink, .cta-card) .row-logos__grid { background: transparent; border: none; }
:is(.is-dark, .row--ink, .bb-section--ink, .row-spotlight__box, .prog-hero, .res-cover, .bb-band--ink, .cta-card) .bb-logos__cell,
:is(.is-dark, .row--ink, .bb-section--ink, .row-spotlight__box, .prog-hero, .res-cover, .bb-band--ink, .cta-card) .row-logos__cell { background: var(--ds-color-white); color: var(--ds-text-body); }
:is(.is-dark, .row--ink, .bb-section--ink, .row-spotlight__box, .prog-hero, .res-cover, .bb-band--ink, .cta-card) .bb-card { background: var(--ds-color-ink-2); }
:is(.is-dark, .row--ink, .bb-section--ink, .row-spotlight__box, .prog-hero, .res-cover, .bb-band--ink, .cta-card) .bb-card__title { color: var(--ds-on-ink-strong); }
:is(.is-dark, .row--ink, .bb-section--ink, .row-spotlight__box, .prog-hero, .res-cover, .bb-band--ink, .cta-card) .bb-card__text { color: var(--ds-on-ink-body); }
/* styles.css gives .bb-sechead__lede a light-surface colour at (0,1,0), which
   beats any inheritable colour on the section. It ships no dark variant, so it
   needs one declared here or it renders navy-on-navy. */
:is(.is-dark, .row--ink, .bb-section--ink, .row-spotlight__box, .prog-hero, .res-cover, .bb-band--ink, .cta-card) .bb-sechead__lede { color: var(--ds-on-ink-body); }
/* same class of defect: a muted light-surface label with no dark counterpart */
:is(.is-dark, .row--ink, .bb-section--ink, .row-spotlight__box, .prog-hero, .res-cover, .bb-band--ink, .cta-card) :is(.row-case__client, .row-case__fact-b, .sv-case__b, .res-facts__k) { color: var(--ds-on-ink-body); }

/* consecutive dark surfaces read as one band , collapse the join so two
   rows never stack their paddings into an empty navy void */
/* Two abutting sections that share a background read as one band, but each
   still applies a full section padding , so the join becomes an empty void.
   Collapse both sides of the join for every surface, keyed on the surface
   itself, so this can never depend on remembering to list a page. */
:root { --ds-join: clamp(2.5rem, 2rem + 2vw, 3.5rem); }

/* default warm ground */
:is(.row, .bb-section):not(.row--panel, .row--ink, .row--cyan, .row--off2, .bb-section--panel, .bb-section--ink, .bb-section--cyan) + :is(.row, .bb-section):not(.row--panel, .row--ink, .row--cyan, .row--off2, .bb-section--panel, .bb-section--ink, .bb-section--cyan) { padding-top: var(--ds-join); }
:is(.row, .bb-section):not(.row--panel, .row--ink, .row--cyan, .row--off2, .bb-section--panel, .bb-section--ink, .bb-section--cyan):has(+ :is(.row, .bb-section):not(.row--panel, .row--ink, .row--cyan, .row--off2, .bb-section--panel, .bb-section--ink, .bb-section--cyan)) { padding-bottom: var(--ds-join); }

/* panel */
:is(.row--panel, .bb-section--panel) + :is(.row--panel, .bb-section--panel) { padding-top: var(--ds-join); }
:is(.row--panel, .bb-section--panel):has(+ :is(.row--panel, .bb-section--panel)) { padding-bottom: var(--ds-join); }

/* deeper warm step */
.row--off2 + .row--off2 { padding-top: var(--ds-join); }
.row--off2:has(+ .row--off2) { padding-bottom: var(--ds-join); }

/* ink */
:is(.row--ink, .bb-section--ink) + :is(.row--ink, .bb-section--ink) { padding-top: var(--ds-join); }
:is(.row--ink, .bb-section--ink):has(+ :is(.row--ink, .bb-section--ink)) { padding-bottom: var(--ds-join); }

/* cyan */
:is(.row--cyan, .bb-section--cyan) + :is(.row--cyan, .bb-section--cyan) { padding-top: var(--ds-join); }
:is(.row--cyan, .bb-section--cyan):has(+ :is(.row--cyan, .bb-section--cyan)) { padding-bottom: var(--ds-join); }

/* the hero runs straight into the stat band on the same dark ground ,
   don't stack both paddings into a void between them */
.home-hero:has(+ .bb-section--ink) { padding-bottom: 0; }
.home-hero + .bb-section--ink { padding-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); }

/* ---------- 6 · MEGA MENU ------------------------------------
   Programmes / Training / What we do open full-width panels.
   Everything else is a plain link. Panels are hidden by default
   and revealed on hover, focus or click (see megamenu.js).
   ------------------------------------------------------------ */
.bb-header { overflow: visible; }
.mm { display: flex; align-items: center; gap: var(--ds-space-5); }
.mm__list { display: flex; align-items: center; gap: var(--ds-space-4); margin: 0; padding: 0; list-style: none; }
.mm__item { position: static; }
.mm__link { white-space: nowrap; display: inline-flex; align-items: center; gap: 0.35rem; background: none; border: 0; padding: 0.4rem 0; cursor: pointer; font-family: var(--ds-font-body); font-weight: 700; font-size: 0.96rem; color: var(--ds-text-body); text-decoration: none; border-bottom: 2px solid transparent; transition: color .15s ease, border-color .15s ease; }
.mm__link:hover, .mm__link[aria-expanded="true"] { color: var(--ds-color-ink); border-color: var(--ds-color-accent); }
.mm__caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px,-2px); opacity: 0.75; transition: transform .18s ease; }
.mm__link[aria-expanded="true"] .mm__caret { transform: rotate(225deg) translate(-3px,-3px); }

.mm__panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--ds-color-white); border-top: 1px solid rgba(38,34,76,0.08); box-shadow: 0 24px 48px -24px rgba(38,34,76,0.28); z-index: 70; }
.mm__panel[hidden] { display: none; }
.mm__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--ds-space-6); padding-block: var(--ds-space-7, 3.5rem); }
.mm__grid--3 { grid-template-columns: repeat(3, 1fr) 1fr; }
.mm__col--wide { grid-column: span 2; }
.mm__col-h { font-family: var(--ds-font-body); font-weight: 800; font-size: var(--ds-text-xs); color: var(--ds-text-muted); margin-bottom: var(--ds-space-3); }

.mm__entry { display: block; text-decoration: none; padding-block: 0.85rem; }
.mm__entry + .mm__entry { border-top: none; }
.mm__entry-name { display: flex; align-items: center; gap: 0.55rem; font-family: var(--ds-font-body); font-weight: 700; font-size: 1rem; line-height: 1.15; color: var(--ds-text-strong); }
#mm-services .mm__entry-name { font-size: 0.92rem; }
#mm-services .mm__promo-t { font-family: var(--ds-font-body); font-weight: 800; }
#mm-programmes .mm__entry-name, #mm-programmes .mm__promo-t { font-family: var(--ds-font-display); font-weight: 900; letter-spacing: -0.005em; }
.mm__entry--programme .mm__entry-name { font-family: var(--ds-font-display); font-weight: 900; font-size: 0.95rem; letter-spacing: -0.005em; }
.mm__entry-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--ds-color-accent); }
.mm__entry-desc { margin-top: 0.25rem; font-size: var(--ds-text-xs); line-height: 1.5; color: var(--ds-text-body); max-width: 34ch; }
.mm__entry:hover .mm__entry-name { text-decoration: underline; text-decoration-color: var(--ds-color-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.mm__promo { background: var(--ds-color-panel); border-radius: var(--ds-radius-card); padding: var(--ds-space-4); display: flex; flex-direction: column; gap: 0.5rem; }
.mm__promo-h { font-weight: 800; font-size: var(--ds-text-xs); color: var(--ds-text-muted); }
.mm__promo-t { font-family: var(--ds-font-serif); font-weight: 400; font-size: 1.05rem; line-height: 1.2; color: var(--ds-text-strong); }
.mm__promo-b { font-size: var(--ds-text-xs); line-height: 1.5; color: var(--ds-text-body); }
.mm__promo-foot { margin-top: auto; padding-top: var(--ds-space-3); }

.mm__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem; color: var(--ds-on-ink-strong); }
.mm__toggle span { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.mm__toggle span + span { margin-top: 5px; }

@media (max-width: 1040px) {
  .bb-header .mm__list { display: none; position: fixed; top: var(--ds-header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ds-color-white); padding: var(--ds-space-3) var(--ds-gutter) var(--ds-space-5); max-height: calc(100vh - var(--ds-header-h)); overflow-y: auto; border-top: 1px solid rgba(38,34,76,0.08); }
  .bb-header.is-open .mm__list { display: flex; }
  .mm__toggle { display: block; }
  .mm__item { border-top: 1px solid rgba(38,34,76,0.1); }
  .mm__link { color: var(--ds-text-strong); }
  .mm__link:hover, .mm__link[aria-expanded="true"] { color: var(--ds-color-ink); }
  .mm__item:first-child { border-top: none; }
  .mm__link { width: 100%; justify-content: space-between; padding-block: 0.95rem; font-size: 1.05rem; }
  .mm__panel { position: static; background: transparent; box-shadow: none; border-top: none; }
  .mm__panel .bb-container { padding-inline: 0; }
  .mm__grid, .mm__grid--3 { grid-template-columns: 1fr; gap: var(--ds-space-4); padding-block: 0 var(--ds-space-4); }
  .mm__col--wide { grid-column: auto; }
  .mm__col-h { margin-bottom: var(--ds-space-2); }
}

/* ---------- 7 · UTILITY ROWS ---------------------------------
   Every page is assembled from these. A row owns its vertical
   rhythm; nothing inside a row sets its own section padding.
   ------------------------------------------------------------ */

/* shared row rhythm , generous breathing room */
.row { padding-block: clamp(4rem, 2.5rem + 5vw, 7rem); }
.row--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.row--flush-top { padding-top: 0; }
.row--panel { background: var(--ds-color-panel); }
.row--ink { background: var(--ds-color-ink); color: var(--ds-on-ink-body); }
.row--ink h1, .row--ink h2, .row--ink h3 { color: var(--ds-on-ink-strong); }
.row--cyan { background: var(--ds-color-accent); color: var(--ds-text-strong); }

/* ROW 01 · hero, split , copy beside a photo or carousel */
.row-hero-split .row-hero-split__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }

/* ROW 02 · hero, page , a compact intro for inner pages */
.row-hero-page__inner { max-width: 820px; }
.row-hero-page__title { font-family: var(--ds-font-serif); font-weight: 400; font-size: var(--ds-text-h1); line-height: var(--ds-line-tight); color: var(--ds-text-strong); }
.row--ink .row-hero-page__title { color: var(--ds-on-ink-strong); }
.row-hero-page__lede { margin-top: var(--ds-space-4); font-size: var(--ds-text-lede); line-height: 1.5; max-width: 60ch; }

/* ROW 03 · statement , a single serif line carrying a point of view */
.row-statement__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.row-statement__text { font-family: var(--ds-font-serif); font-weight: 400; font-size: clamp(1.55rem, 1.15rem + 1.6vw, 2.4rem); line-height: 1.24; color: var(--ds-text-strong); text-wrap: balance; }
.row--ink .row-statement__text { color: var(--ds-on-ink-strong); }
.row-statement__by { margin-top: var(--ds-space-4); font-weight: 800; color: var(--ds-text-strong); }
.row--ink .row-statement__by { color: var(--ds-on-ink-strong); }
.row-statement__by span { display: block; font-weight: 600; font-size: var(--ds-text-sm); color: var(--ds-text-muted); margin-top: 0.15rem; }
.row--ink .row-statement__by span { color: var(--ds-on-ink-muted); }
.row-statement__media { aspect-ratio: 4/4.2; border-radius: var(--ds-radius-card); background: var(--ds-color-ink) center/cover no-repeat; }

/* ROW 04 · cards , services and programmes, 3-up */
.row-cards__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--ds-space-4); }

/* ROW 05 · split feature , one piece of work, image beside copy */
.row-split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2.5rem, 1.5rem + 3vw, 4rem); align-items: center; }
.row-split--reverse .row-split__media { order: 2; }
.row-split__media { aspect-ratio: 16/11; border-radius: var(--ds-radius-card); background: var(--ds-color-ink) center/cover no-repeat; }

/* ROW 06 · spotlight , a priority programme box in its own colour */
.row-spotlight__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--ds-space-4); }
.row-spotlight__box { position: relative; border-radius: var(--ds-radius-card); padding: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--ds-color-ink); color: var(--ds-on-ink-body); }
.row-spotlight__name { font-family: var(--ds-font-display); font-weight: 900; font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); line-height: 1; color: var(--ds-on-ink-strong); }
.row-spotlight__text { margin-top: var(--ds-space-3); color: var(--ds-on-ink-body); font-size: var(--ds-text-sm); line-height: 1.55; max-width: 42ch; }
.row-spotlight__meta { margin-top: var(--ds-space-4); display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: var(--ds-text-sm); color: var(--ds-on-ink-strong); }
.row-spotlight__meta .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ds-color-accent); }
.row-spotlight__foot { margin-top: var(--ds-space-4); }

/* ROW 07 · figures , the big-number proof band (no rules, no medallions) */
.row-figures__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--ds-space-5) var(--ds-space-4); }
.row-figures__num { font-family: var(--ds-font-body); font-weight: 900; font-size: clamp(2.4rem, 1.4rem + 3vw, 3.6rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--ds-text-strong); }
.row--ink .row-figures__num { color: var(--ds-on-ink-strong); }
.row-figures__ctx { margin-top: var(--ds-space-3); font-size: var(--ds-text-sm); line-height: 1.45; max-width: 22ch; }

/* ROW 08 · quote , a client saying it instead of us */
.row-quote__inner { max-width: 900px; }
.row-quote--center .row-quote__inner { margin-inline: auto; text-align: center; }
.row-quote--center .bb-quote__cite { justify-content: center; }

/* ROW 09 · logos , who we work with */
.row-logos__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--ds-space-5) var(--ds-space-4); align-items: center; }
.row-logos__cell { display: flex; align-items: center; justify-content: center; min-height: 64px; }
.row-logos__cell img { max-height: 52px; max-width: 100%; width: auto; object-fit: contain; }

/* ROW 10 · steps , how the work runs, numbered not boxed */
.row-steps__list { display: grid; gap: 0; }
.row-steps__item { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.25rem, 0.8rem + 2vw, 3rem); padding-block: var(--ds-space-5); }
.row-steps__n { font-family: var(--ds-font-body); font-weight: 900; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); line-height: 1; color: var(--ds-color-accent); font-variant-numeric: tabular-nums; }
.row-steps__t { font-family: var(--ds-font-serif); font-weight: 400; font-size: var(--ds-text-h3); color: var(--ds-text-strong); margin-bottom: 0.4rem; }
.row--ink .row-steps__t { color: var(--ds-on-ink-strong); }
.row-steps__b { font-size: var(--ds-text-sm); line-height: 1.6; max-width: 70ch; }

/* ROW 11 · resource , a guide offered with a cover image */
.row-resource__card { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: center; background: var(--ds-color-white); border-radius: var(--ds-radius-card); overflow: hidden; box-shadow: var(--ds-shadow-soft); }
.row-resource__cover { aspect-ratio: 3/3.4; background: var(--ds-color-ink) center/cover no-repeat; }
.row-resource__body { padding: clamp(1.5rem, 1rem + 2vw, 3rem) clamp(1.5rem, 1rem + 2vw, 3rem) clamp(1.5rem, 1rem + 2vw, 3rem) 0; }

/* ROW 12 · editorial , latest thinking. The one place tags belong. */
.row-editorial__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--ds-space-5) var(--ds-space-4); }
.row-editorial__card { display: flex; flex-direction: column; gap: var(--ds-space-3); text-decoration: none; color: inherit; }
.row-editorial__img { aspect-ratio: 16/10; border-radius: var(--ds-radius-sm); background: var(--ds-color-ink) center/cover no-repeat; }
.row-editorial__meta { display: flex; align-items: center; gap: var(--ds-space-3); font-size: var(--ds-text-xs); color: var(--ds-text-muted); }
.row--ink .row-editorial__meta { color: var(--ds-on-ink-muted); }
.row-editorial__t { font-family: var(--ds-font-serif); font-weight: 400; font-size: 1.3rem; line-height: 1.2; color: var(--ds-text-strong); }
.row--ink .row-editorial__t { color: var(--ds-on-ink-strong); }
.row-editorial__card:hover .row-editorial__t { text-decoration: underline; text-decoration-color: var(--ds-color-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ROW 13 · faq , plain disclosure, no boxes */
.row-faq__list { max-width: 840px; }
.row-faq__list details { border-top: 1.5px solid rgba(38,34,76,0.14); }
.row-faq__list details:last-child { border-bottom: 1.5px solid rgba(38,34,76,0.14); }
.row-faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--ds-space-4); padding-block: var(--ds-space-4); font-weight: 800; font-size: var(--ds-text-h3); color: var(--ds-text-strong); }
.row-faq__list summary::-webkit-details-marker { display: none; }
.row-faq__list summary::after { content: "+"; font-weight: 800; font-size: 1.6rem; line-height: 1; transition: transform .2s ease; }
.row-faq__list details[open] summary::after { transform: rotate(45deg); }
.row-faq__a { padding-bottom: var(--ds-space-4); max-width: 72ch; line-height: 1.6; }

/* ROW 14 · cta , the closing ask */
.row-cta__inner { max-width: 760px; margin-inline: auto; text-align: center; }
.row-cta__title { font-family: var(--ds-font-serif); font-weight: 400; font-size: var(--ds-text-h1); line-height: var(--ds-line-tight); }
.row-cta__lede { margin-top: var(--ds-space-4); font-size: var(--ds-text-lede); line-height: 1.5; max-width: 56ch; margin-inline: auto; }
/* the same closing-ask component inside the card variants on the homepage and
   About, so all six closing CTAs are governed by one size rule */
:is(.cta-card) { text-align: center; color: var(--ds-on-ink-body); }
:is(.cta-card) .row-cta__title { max-width: 24ch; margin-inline: auto; color: var(--ds-on-ink-strong); }
:is(.cta-card) .row-cta__lede { color: var(--ds-on-ink-body); }
.row-cta__actions { margin-top: var(--ds-space-5); display: flex; flex-wrap: wrap; gap: var(--ds-space-3); justify-content: center; }

/* ROW 15 · case study , how we show a website we built.
   Not a thumbnail grid. One project at a time: a real browser frame
   holding a full-page screenshot that scrolls slowly, the client's own
   words as the headline, and three plain facts. Restrained on purpose. */
.row-case__grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
.row-case__copy { position: sticky; top: calc(var(--ds-header-h) + var(--ds-space-5)); }
.row-case__client { font-family: var(--ds-font-body); font-weight: 800; font-size: var(--ds-text-xs); color: var(--ds-text-muted); }
.row-case__quote { margin-top: var(--ds-space-3); font-family: var(--ds-font-serif); font-weight: 400; font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.2rem); line-height: 1.24; color: var(--ds-text-strong); text-wrap: balance; }
.row--ink .row-case__quote { color: var(--ds-on-ink-strong); }
.row-case__cite { margin-top: var(--ds-space-4); font-weight: 800; color: var(--ds-text-strong); font-size: var(--ds-text-sm); }
.row--ink .row-case__cite { color: var(--ds-on-ink-strong); }
.row-case__cite span { display: block; font-weight: 600; color: var(--ds-text-muted); margin-top: 0.15rem; }
.row--ink .row-case__cite span { color: var(--ds-on-ink-muted); }
.row-case__facts { margin-top: var(--ds-space-5); display: grid; gap: var(--ds-space-4); }
.row-case__fact-k { font-weight: 800; font-size: var(--ds-text-xs); color: var(--ds-text-muted); }
.row--ink .row-case__fact-k { color: var(--ds-on-ink-muted); }
.row-case__fact-b { margin-top: 0.3rem; font-size: var(--ds-text-sm); line-height: 1.6; max-width: 46ch; }
.row-case__foot { margin-top: var(--ds-space-5); }

/* the browser frame */
.case-frame { border-radius: 14px; overflow: hidden; box-shadow: 0 40px 70px -40px rgba(38,34,76,0.55); background: var(--ds-color-white); border: 1px solid rgba(38,34,76,0.1); }
.case-frame__bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.7rem 0.9rem; background: var(--ds-color-panel); border-bottom: 1px solid rgba(38,34,76,0.08); }
.case-frame__dots { display: flex; gap: 6px; flex: none; }
.case-frame__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(38,34,76,0.18); display: block; }
.case-frame__url { flex: 1; height: 22px; border-radius: 999px; background: var(--ds-color-panel-2); display: flex; align-items: center; padding-inline: 0.7rem; font-size: 0.68rem; font-weight: 700; color: var(--ds-text-muted); }
.case-frame__view { position: relative; aspect-ratio: 16/11; overflow: hidden; background: var(--ds-color-ink); container-type: size; }
.case-frame__shot { position: absolute; inset: 0 0 auto 0; width: 100%; display: block; transition: transform 7s cubic-bezier(0.4,0,0.2,1); will-change: transform; }
.case-frame:hover .case-frame__shot,
.case-frame:focus-within .case-frame__shot { transform: translateY(calc(-100% + 100cqh)); }
.case-frame__hint { position: absolute; right: 0.8rem; bottom: 0.8rem; background: rgba(38,34,76,0.82); color: #FBFCFE; font-size: 0.68rem; font-weight: 700; padding: 0.3rem 0.7rem; border-radius: 999px; transition: opacity .3s ease; }
.case-frame:hover .case-frame__hint { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .case-frame__shot { transition: none; }
  .case-frame:hover .case-frame__shot { transform: none; }
}
@media (max-width: 860px) {
  .row-case__grid { grid-template-columns: 1fr; }
  .row-case__copy { position: static; }
}

/* ---------- 8 · PROGRAMME IDENTITY --------------------------
   Every programme page shares one layout and swaps a single token.
   --prog-c is the programme's sanctioned brand colour; --prog-deep
   is the dark ground its hero sits on. Cognate is used for the
   programme name here and nowhere else.
   ------------------------------------------------------------ */
.prog { --prog-c: var(--ds-color-accent); --prog-deep: var(--ds-color-ink); }
/* Documented exception to "cyan is the single interactive accent": inside a
   programme page the programme's own colour becomes the interactive accent,
   so one page never shows two accent colours for the same class of action. */
.prog .bb-cta-link { border-bottom-color: var(--prog-c); }
.prog .bb-btn { background: var(--prog-c); color: var(--ds-color-ink); border-color: var(--prog-c); }
.prog .bb-btn:hover { background: var(--ds-color-ink); color: var(--prog-c); border-color: var(--ds-color-ink); }
.prog a:not([class]) { text-decoration-color: var(--prog-c); }
.prog-curve    { --prog-c: var(--cat-curve);    --prog-deep: #2B1830; }
.prog-trustees { --prog-c: var(--cat-trustees); --prog-deep: #0F2A2C; }
.prog-open     { --prog-c: var(--cat-open);     --prog-deep: #2C2814; }

/* you are in a channel: programme pages tint their own header and footer */
.prog .bb-header { background: color-mix(in srgb, var(--prog-deep) 93%, transparent); border-bottom-color: rgba(251,252,254,0.14); }
/* channel header is dark, so its nav and wordmark stay light */
.prog .bb-header .mm__link { color: rgba(251,252,254,0.82); }
.prog .bb-header .mm__link:hover, .prog .bb-header .mm__link[aria-expanded="true"] { color: var(--ds-on-ink-strong); }
.prog .bb-header .bb-logo__svg path, .prog .bb-header .bb-logo__svg rect { fill: #FBFCFE !important; }
.prog .bb-header .mm__toggle { color: #FBFCFE; }
.prog-lockup { display: flex; align-items: center; gap: var(--ds-space-3); min-width: 0; }
.prog-badge { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--ds-font-display); font-weight: 900; font-size: 0.8rem; letter-spacing: -0.005em; color: var(--ds-on-ink-strong); text-decoration: none; padding: 0.35rem 0.8rem; border-radius: var(--ds-radius-pill); background: color-mix(in srgb, var(--prog-c) 20%, transparent); border: 1px solid color-mix(in srgb, var(--prog-c) 45%, transparent); white-space: nowrap; transition: background .15s ease; }
.prog-badge:hover { background: color-mix(in srgb, var(--prog-c) 34%, transparent); }
.prog-badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--prog-c); flex: none; }

.prog-footbar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ds-space-3) var(--ds-space-5); padding-bottom: var(--ds-space-5); margin-bottom: var(--ds-space-5); border-bottom: 1px solid rgba(251,252,254,0.14); }
.prog-footbar__name { font-family: var(--ds-font-display); font-weight: 900; font-size: 1.35rem; color: var(--ds-on-ink-strong); display: inline-flex; align-items: center; gap: 0.6rem; }
.prog-footbar__name i { width: 11px; height: 11px; border-radius: 50%; background: var(--prog-c); }
.prog-footbar__links { display: flex; flex-wrap: wrap; gap: var(--ds-space-4); margin-left: auto; font-size: var(--ds-text-sm); font-weight: 700; }
.prog-footbar__links a { text-decoration: none; border-bottom: 2px solid transparent; padding-bottom: 2px; }
.prog-footbar__links a:hover { border-bottom-color: var(--prog-c); text-decoration: none; }
@media (max-width: 720px) { .prog-footbar__links { margin-left: 0; } .prog-badge { display: none; } }

.prog-hero { background: var(--prog-deep); color: var(--ds-on-ink-body); padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(3rem, 2rem + 4vw, 5rem); }
.prog-hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.prog-hero__name { font-family: var(--ds-font-display); font-weight: 900; font-size: clamp(2.6rem, 1.8rem + 3.4vw, 4.6rem); line-height: 0.98; letter-spacing: -0.01em; color: var(--ds-on-ink-strong); }
.prog-hero__rule { display: inline-flex; align-items: center; gap: 0.4rem; }
.prog-hero__rule i { display: block; width: 26px; height: 6px; border-radius: 3px; background: var(--prog-c); }
.prog-hero__rule b { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--prog-c); }
.prog-hero__lede { margin-top: var(--ds-space-4); font-size: var(--ds-text-lede); line-height: 1.5; color: var(--ds-on-ink-body); max-width: 46ch; }
.prog-hero__ctas { margin-top: var(--ds-space-5); display: flex; flex-wrap: wrap; gap: var(--ds-space-3); }
.prog-hero__media { aspect-ratio: 4/3.2; border-radius: var(--ds-radius-card); background: #000 center/cover no-repeat; }
.prog-hero .bb-btn { background: var(--prog-c); color: var(--ds-color-ink); border-color: var(--prog-c); }
.prog-hero .bb-btn:hover { background: var(--ds-on-ink-strong); border-color: var(--ds-on-ink-strong); color: var(--ds-color-ink); }
.prog-hero .bb-btn--ghost { background: transparent; color: var(--ds-on-ink-strong); border-color: rgba(251,252,254,0.4); }
.prog-hero .bb-btn--ghost:hover { background: var(--ds-on-ink-strong); color: var(--ds-color-ink); border-color: var(--ds-on-ink-strong); }
.prog-hero__facts { margin-top: var(--ds-space-5); display: flex; flex-wrap: wrap; gap: var(--ds-space-5); }
.prog-hero__fact b { display: block; font-family: var(--ds-font-body); font-weight: 900; font-size: var(--ds-text-h3); color: var(--ds-on-ink-strong); line-height: 1; font-variant-numeric: tabular-nums; }
.prog-hero__fact span { display: block; margin-top: 0.3rem; font-size: var(--ds-text-xs); color: var(--ds-on-ink-muted); }
/* the same figures, lifted out of the hero into their own band so the hero
   column carries one message. On a light surface they take light-surface ink. */
.prog-facts { display: flex; flex-wrap: wrap; gap: clamp(2rem, 1.5rem + 3vw, 5rem); }
.prog-facts .prog-hero__fact b { color: var(--ds-text-strong); }
.prog-facts .prog-hero__fact span { color: var(--ds-text-muted); }

/* the two ways to learn */
.prog-paths { display: grid; grid-template-columns: 1fr 1fr; gap: var(--ds-space-4); }
.prog-path { background: var(--ds-color-white); border-radius: var(--ds-radius-card); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); display: flex; flex-direction: column; gap: var(--ds-space-3); box-shadow: var(--ds-shadow-soft); }
.prog-path__tag { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 800; font-size: var(--ds-text-xs); color: var(--ds-text-muted); }
.prog-path__tag i { width: 10px; height: 10px; border-radius: 50%; background: var(--prog-c); }
.prog-path__t { font-family: var(--ds-font-serif); font-weight: 400; font-size: var(--ds-text-h3); line-height: 1.12; color: var(--ds-text-strong); }
.prog-path__list { display: grid; gap: 0.55rem; margin-top: 0.2rem; }
.prog-path__list li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: var(--ds-text-sm); line-height: 1.5; }
.prog-path__list li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--prog-c); margin-top: 0.45rem; }
.prog-path__foot { margin-top: auto; padding-top: var(--ds-space-3); }

/* upcoming sessions , card grid (Ross, 4 Aug): quick view / learn more / book a place */
.prog-sessions { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--ds-space-4); }
.prog-session { display: flex; flex-direction: column; gap: var(--ds-space-3); background: var(--ds-color-white); border-radius: var(--ds-radius-card); padding: var(--ds-space-5); box-shadow: var(--ds-shadow-soft); }
.prog-session__head { display: flex; align-items: center; gap: var(--ds-space-3); }
.prog-session__date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 58px; height: 58px; flex: none; border-radius: var(--ds-radius-sm); background: var(--prog-deep, var(--ds-color-ink)); }
.prog-session__d { font-family: var(--ds-font-body); font-weight: 900; font-size: var(--ds-text-h3); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.prog-session__m { font-weight: 800; font-size: var(--ds-text-xs); color: rgba(255,255,255,0.82); margin-top: 0.12rem; }
.prog-session__cost { font-weight: 800; font-size: var(--ds-text-xs); color: var(--ds-text-strong); display: inline-flex; align-items: center; gap: 0.4rem; }
.prog-session__cost::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--prog-c); flex: none; }
.prog-session__t { font-family: var(--ds-font-serif); font-weight: 400; font-size: var(--ds-text-lede); line-height: 1.15; color: var(--ds-text-strong); }
.prog-session__meta { display: flex; flex-wrap: wrap; gap: var(--ds-space-3); font-size: var(--ds-text-xs); color: var(--ds-text-muted); }
.prog-session__quickbody { font-size: var(--ds-text-sm); line-height: 1.55; color: var(--ds-text-body); }
.prog-session__quickbody[hidden] { display: none; }
.prog-session__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: var(--ds-space-3); align-items: center; padding-top: var(--ds-space-2); }
.prog-session__quick { background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--ds-font-body); font-weight: 800; font-size: var(--ds-text-sm); color: var(--ds-text-body); }
.prog-session__quick:hover { color: var(--ds-color-ink); }
.prog-session__more { font-weight: 800; font-size: var(--ds-text-sm); color: var(--ds-text-strong); text-decoration: none; border-bottom: 2px solid transparent; }
.prog-session__more:hover { border-bottom-color: var(--prog-c); }
.prog-session__book { margin-left: auto; font-family: var(--ds-font-body); font-weight: 800; font-size: var(--ds-text-sm); color: var(--ds-color-ink); background: var(--prog-c); border-radius: var(--ds-radius-pill); padding: 0.5rem 1rem; text-decoration: none; white-space: nowrap; }
.prog-session__book:hover { background: var(--ds-color-ink); color: #fff; }

/* trainers */
.prog-trainers { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--ds-space-4); }
.prog-trainer__photo { aspect-ratio: 1/1.15; border-radius: var(--ds-radius-card); background: var(--ds-color-panel-2) center/cover no-repeat; }
.prog-trainer__n { margin-top: var(--ds-space-3); font-weight: 800; color: var(--ds-text-strong); }
.prog-trainer__r { font-size: var(--ds-text-xs); color: var(--ds-text-muted); margin-top: 0.15rem; }

@media (max-width: 900px) {
  .prog-hero__grid, .prog-paths { grid-template-columns: 1fr; }
  .prog-hero__media { order: -1; aspect-ratio: 16/10; }
  .prog-trainers { grid-template-columns: repeat(2, 1fr); }
  .prog-sessions { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .prog-trainers, .prog-sessions { grid-template-columns: 1fr; } }

/* ============================================================
   RESTORED SYSTEM BLOCKS
   A block replacement matched on the next unrelated comment as its end
   sentinel and swallowed everything in between. Each block below now
   ends with an explicit END marker so a slice can never take its
   neighbours again.
   ============================================================ */

/* ---------- RESOURCE PAGE ---------------------------------
   A resource page is a short post ABOUT the resource, not the resource
   itself. The thing you download lives elsewhere; this page explains what
   it covers, who it is for and how to get it, then gets out of the way.
   Sidebar carries the practical metadata and the access card.
   ------------------------------------------------------------ */
.res-cover { background: var(--ds-color-ink); color: var(--ds-on-ink-body); padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.res-cover__grid { display: grid; grid-template-columns: 1fr minmax(200px, 300px); gap: clamp(1.5rem, 1rem + 3vw, 4.5rem); align-items: center; }
.res-cover__type { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 800; font-size: var(--ds-text-sm); color: var(--ds-on-ink-muted); }
.res-cover__type i { width: 9px; height: 9px; border-radius: 50%; background: var(--ds-color-accent); }
.res-cover__title { font-family: var(--ds-font-serif); font-weight: 400; font-size: var(--ds-text-h1); line-height: 1.06; color: var(--ds-on-ink-strong); margin-top: var(--ds-space-3); max-width: 26ch; text-wrap: balance; }
.res-cover__lede { margin-top: var(--ds-space-4); font-size: var(--ds-text-lede); line-height: 1.5; color: var(--ds-on-ink-body); max-width: 56ch; }
.res-cover__actions { margin-top: var(--ds-space-5); display: flex; flex-wrap: wrap; gap: var(--ds-space-3); }
.res-cover__art { aspect-ratio: 3/4; border-radius: 6px; background: var(--ds-color-ink-2) center/cover no-repeat; box-shadow: 0 24px 44px -22px rgba(10,8,28,0.75); }

.res-summary { display: grid; grid-template-columns: 1fr 340px; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
.res-summary__main > * + * { margin-top: clamp(2.25rem, 1.75rem + 2vw, 3.5rem); }
.res-summary__h { font-family: var(--ds-font-serif); font-weight: 400; font-size: var(--ds-text-h3); line-height: 1.12; color: var(--ds-text-strong); }
.res-summary__p { margin-top: var(--ds-space-3); line-height: 1.7; max-width: 62ch; }

/* what it covers. One shared measure for the number column: each li is its
   own grid, so an auto column resolves per-row and the titles go ragged. The
   brand font does not honour tabular-nums, so a fixed measure is the only
   reliable fix. */
.res-covers { margin-top: var(--ds-space-4); display: grid; gap: 0.55rem; }
.res-covers li { display: grid; grid-template-columns: 1.75rem 1fr; gap: 0.9rem; align-items: baseline; }
.res-covers__n { font-family: var(--ds-font-body); font-weight: 900; font-size: var(--ds-text-xs); color: var(--ds-text-muted); font-variant-numeric: tabular-nums; }
.res-covers__t { font-weight: 700; color: var(--ds-text-strong); line-height: 1.4; }

.res-impact { margin-top: var(--ds-space-4); display: grid; gap: 0.7rem; max-width: 62ch; }
.res-impact li { display: flex; gap: 0.7rem; align-items: flex-start; line-height: 1.6; }
.res-impact li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--ds-color-accent); margin-top: 0.55rem; }

.res-side { display: grid; gap: var(--ds-space-4); position: sticky; top: calc(var(--ds-header-h) + var(--ds-space-4)); }
.res-facts { background: var(--ds-color-white); border-radius: var(--ds-radius-card); padding: var(--ds-space-5); box-shadow: var(--ds-shadow-soft); }
.res-facts__row { display: flex; justify-content: space-between; gap: var(--ds-space-4); padding: 0.65rem 0; border-top: 1px solid rgba(38,34,76,0.1); font-size: var(--ds-text-sm); }
.res-facts__row:first-of-type { border-top: none; padding-top: 0; }
.res-facts__k { color: var(--ds-text-muted); }
.res-facts__v { font-weight: 800; color: var(--ds-text-strong); text-align: right; }
.res-access { background: var(--ds-color-ink); border-radius: var(--ds-radius-card); padding: var(--ds-space-5); color: var(--ds-on-ink-body); }
.res-access__h { font-family: var(--ds-font-serif); font-weight: 400; font-size: var(--ds-text-h3); line-height: 1.15; color: var(--ds-on-ink-strong); }
.res-access__b { margin-top: var(--ds-space-3); font-size: var(--ds-text-sm); line-height: 1.55; }
.res-access .bb-btn { margin-top: var(--ds-space-4); width: 100%; justify-content: center; }
.res-access__note { margin-top: var(--ds-space-3); font-size: var(--ds-text-xs); color: var(--ds-on-ink-muted); }

@media (max-width: 980px) {
  .res-summary { grid-template-columns: 1fr; }
  .res-side { position: static; }
}
@media (max-width: 700px) {
  /* collapsed, the cover fills its column as a landscape band; a fixed-width
     portrait thumbnail here strands two thirds of the row in empty navy */
  .res-cover__grid { grid-template-columns: 1fr; }
  .res-cover__art { aspect-ratio: 16/9; }
}
/* END RESOURCE PAGE */

/* ---------- TYPE ROLES + SCALE -----------------------------
   Four jobs, four sizes. Every piece of text is a heading, a lede, body
   or meta and takes the size for that job, rather than a number invented
   at the instance. styles.css ships several values a hair apart (body at
   1.0625rem, nav at 1.05rem, buttons at 1rem) which nobody can tell apart
   but which make a page look subtly untidy , collapse them.
   ------------------------------------------------------------ */
.t-lede { font-size: var(--ds-text-lede); line-height: 1.5; }
.t-body { font-size: 1rem; line-height: 1.65; }
.t-meta { font-size: var(--ds-text-sm); line-height: 1.45; font-weight: 800; }

body { font-size: 1rem; }
/* the nav runs out of room on long menus, so it sits one step down globally */
.mm__link { font-size: var(--ds-text-sm); }
.mm__promo-t { font-size: 1rem; }
.bb-header .bb-btn, .bb-header__cta { font-size: var(--ds-text-sm); }

/* small labels share the one small-label step */
.bb-chip { font-size: var(--ds-text-xs); }
.bb-media__note { font-size: var(--ds-text-xs); }

/* the hero headline is the h1 step, not a bespoke clamp per page */
.home-hero__title { font-size: var(--ds-text-h1); }

/* card and note names are h3s, not two bespoke sizes a hair apart */
.cat-card__name, .hp-services-note__name { font-size: var(--ds-text-h3); }

/* a standalone pull-quote is a statement at section-heading scale */
.bb-quote__text, .row-case__quote { font-size: var(--ds-text-h2); }
/* END TYPE ROLES + SCALE */

/* ---------- DARK TONAL HIERARCHY ---------------------------
   Three dark values, not one. Chrome (header and footer) is the deepest
   and frames the page; content ink sits above it in brand navy; cards
   inside ink lift one step. That also stops a final CTA on ink bleeding
   into the footer, because they are no longer the same colour. */
:root { --ds-color-chrome: #1B1738; }
/* Ross, 4 Aug: the header was too dark and sections were hard to tell apart.
   Header is now light , white, translucent, blurred , with navy ink and a
   navy wordmark. The footer stays chrome. */
.bb-header { background: rgba(255,255,255,0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(38,34,76,0.10); }
.bb-header .bb-logo__svg path, .bb-header .bb-logo__svg rect { fill: var(--ds-color-ink) !important; }
.bb-header .bb-logo__svg [style*="0,237,255"], .bb-header .bb-logo__svg [style*="0, 237, 255"] { fill: var(--ds-color-accent) !important; }
.bb-header .bb-navcta, .bb-header .bb-btn { background: var(--ds-color-ink); color: var(--ds-on-ink-strong); border-color: var(--ds-color-ink); }
.bb-header .bb-navcta:hover, .bb-header .bb-btn:hover { background: var(--ds-color-accent); color: var(--ds-color-ink); border-color: var(--ds-color-accent); }
.mm__toggle { color: var(--ds-color-ink); }
.bb-footer { background: var(--ds-color-chrome); }
:is(.row--ink, .bb-section--ink) + .bb-footer { box-shadow: inset 0 1px 0 rgba(251,252,254,0.08); }
.bb-footer__bar { border-top: 1px solid rgba(251,252,254,0.14); }
/* END DARK TONAL HIERARCHY */

/* ---------- ANCHOR OFFSET ----------------------------------
   Every in-page anchor has to clear the sticky header, or the browser
   parks the target underneath it. */
:is(section, [class*="__inner"], h2, h3)[id],
:is(.row, .bb-section, .res-summary__main > div)[id] {
  scroll-margin-top: calc(var(--ds-header-h) + var(--ds-space-4));
}
/* END ANCHOR OFFSET */

/* ---------- CARD FOOTERS -----------------------------------
   A card's final action sits on the bottom edge, so a row of cards of
   different copy lengths still lines its links up. */
:is(.bb-card, .cat-card__body, .ab-panel) { display: flex; flex-direction: column; }
:is(.bb-card, .cat-card__body, .ab-panel) > :last-child:is(div, p):has(.bb-cta-link) { margin-top: auto; padding-top: var(--ds-space-4); }
/* END CARD FOOTERS */

/* ---------- ATTRIBUTION AVATARS ----------------------------
   Every quote attribution carries the dash-dot mark in a circle, so a
   named person reads the same way on every page whether or not we have
   a photograph of them. */
.bb-quote__cite .bb-mark {
  width: 52px; height: 52px; flex: none;
  border-radius: 50%;
  background: var(--ds-color-ink);
  display: inline-flex; align-items: center; justify-content: center;
}
:is(.is-dark, .row--ink, .bb-section--ink, .row-spotlight__box, .prog-hero, .res-cover, .bb-band--ink, .cta-card) .bb-quote__cite .bb-mark {
  background: var(--ds-color-ink-2);
}
/* END ATTRIBUTION AVATARS */

/* ---------- SECONDARY BUTTONS ------------------------------
   styles.css draws the ghost outline at 30% navy, which reads as a
   disabled control rather than a secondary action. */
.bb-btn--ghost { border-color: var(--ds-color-ink); color: var(--ds-color-ink); }
/* END SECONDARY BUTTONS */

/* ---------- CALLOUT BOXES: THE RULE ------------------------
   .bb-callout       neutral panel , supporting detail. It sits back.
   .bb-callout--ink  navy , a point we are making in our own voice.
                     One per section at most, or it stops meaning anything. */
.bb-callout { display: flex; align-items: center; gap: var(--ds-space-4); flex-wrap: wrap; background: var(--ds-color-panel); border-radius: var(--ds-radius-card); padding: var(--ds-space-5); }
.bb-callout--ink { background: var(--ds-color-ink); color: var(--ds-on-ink-body); }
.bb-callout--ink p { color: var(--ds-on-ink-body); }
.bb-callout--ink b, .bb-callout--ink strong { color: var(--ds-on-ink-strong); }
/* END CALLOUT BOXES */

/* ---------- QUOTES ARE NOT HEADINGS ------------------------
   A quote in the same serif at the same size as an h2 reads as a
   heading. Mark quotes with the thing headings never have: an oversized
   cyan opening quote hung above the text. The space above it lives on
   the quote as padding, because a margin on the pseudo-element collapses
   into the block's own margin-top and silently does nothing. */
:is(.bb-quote__text, .ab-founder__quote, .ab-quote-card__text, .row-case__quote, .sv-pov__statement)::before {
  content: "\201C";
  display: block;
  font-family: var(--ds-font-serif);
  font-size: 2.4em;
  line-height: 0.44;
  color: var(--ds-color-accent);
  margin: 0 0 0.02em;
}
:is(.bb-quote__text, .ab-founder__quote, .ab-quote-card__text, .row-case__quote, .sv-pov__statement) {
  line-height: 1.28;
  letter-spacing: 0;
  padding-top: 1.6em;
}
/* A quote beside body copy in a column is not a hero statement. Standalone
   centred quotes keep h2; in-column ones step down to h3. */
:is(.ab-founder__quote, .ab-quote-card__text, .row-case__quote, .sv-pov__statement) { font-size: var(--ds-text-h3); }
:is(.ab-founder__quote, .ab-quote-card__text, .row-case__quote, .sv-pov__statement)::before { font-size: 2.1em; }
/* END QUOTES */

/* ---------- CARDS CARRY A PHOTO ----------------------------
   Service and programme cards lead with an image, closer to the brand
   guide card treatment and far warmer than a flat colour band. */
.cat-card__tint { padding: 0 !important; min-height: 0; aspect-ratio: 3/2; background-size: cover; background-position: center 62%; background-repeat: no-repeat; display: block; }
.cat-card__tint > * { display: none; }
.cat-trustees .cat-card__tint, .cat-curve .cat-card__tint, .cat-open .cat-card__tint { background-color: var(--ds-color-ink); border-bottom: none; }
/* END CARDS CARRY A PHOTO */

/* ROW 16 · process , how the work actually runs.
   Third attempt, and the lesson is about line length. Five equal columns
   inside a 1200px container can never exceed ~22 characters per line, so
   the copy shredded at every viewport, not just narrow ones. The
   proportion argument therefore lives ENTIRELY in the ribbon, and the
   copy runs as full-width rows where a line can breathe. The rail on each
   row carries the same taper, so the two halves agree.
   ------------------------------------------------------------ */
.row-process__flow { display: grid; gap: var(--ds-space-3); }
.proc { position: relative; display: grid; grid-template-columns: minmax(9rem, 13rem) 1fr; gap: clamp(1.25rem, 0.75rem + 2vw, 3rem); padding: var(--ds-space-4) 0 var(--ds-space-4) var(--ds-space-5); }
.proc::before { content: ""; position: absolute; inset: 10px auto 10px 0; width: 6px; border-radius: 999px; background: color-mix(in srgb, var(--ds-color-accent) var(--a), transparent); }
.proc__k { font-family: var(--ds-font-serif); font-weight: 400; font-size: var(--ds-text-h3); line-height: 1.1; color: var(--ds-on-ink-strong); }
.proc__b { font-size: var(--ds-text-sm); line-height: 1.65; color: var(--ds-on-ink-body); max-width: 62ch; }
.proc__w { margin-top: var(--ds-space-3); font-size: var(--ds-text-xs); font-weight: 800; color: var(--ds-color-accent); }
.row-process__note { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); max-width: 64ch; font-size: var(--ds-text-sm); line-height: 1.65; color: var(--ds-on-ink-body); }

@media (max-width: 700px) {
  .proc { grid-template-columns: 1fr; gap: var(--ds-space-2); }
}
/* END ROW 16 process */

/* ---------- GET IN TOUCH -----------------------------------
   Contact page: a plain form on white, a supporting aside. No new UI
   primitives , inputs reuse the card surfaces and ink tokens.
   ------------------------------------------------------------ */
.git-hero { max-width: 40ch; }
.git-hero__title { font-family: var(--ds-font-serif); font-weight: 400; font-size: var(--ds-text-h1); line-height: 1.06; color: var(--ds-text-strong); margin-top: var(--ds-space-4); text-wrap: balance; }
.git-hero__lede { margin-top: var(--ds-space-4); font-size: var(--ds-text-lede); line-height: 1.5; color: var(--ds-text-body); max-width: 56ch; }
.git-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
.git-form { display: grid; gap: var(--ds-space-4); }
.git-field { display: grid; gap: 0.5rem; }
.git-field label { font-weight: 800; font-size: var(--ds-text-sm); color: var(--ds-text-strong); }
.git-field input, .git-field select, .git-field textarea { font-family: var(--ds-font-body); font-size: 1rem; color: var(--ds-text-strong); background: var(--ds-color-white); border: 1.5px solid rgba(38,34,76,0.18); border-radius: var(--ds-radius-sm); padding: 0.85rem 1rem; width: 100%; transition: border-color .15s ease, box-shadow .15s ease; }
.git-field textarea { resize: vertical; }
.git-field input::placeholder, .git-field textarea::placeholder { color: var(--ds-text-muted); }
.git-field input:focus, .git-field select:focus, .git-field textarea:focus { outline: none; border-color: var(--ds-color-ink); box-shadow: 0 0 0 3px var(--ds-color-accent); }
.git-form .bb-btn { justify-self: start; }
.git-form__note { font-size: var(--ds-text-xs); color: var(--ds-text-muted); }
.git-aside { display: grid; gap: var(--ds-space-4); }
.git-card { background: var(--ds-color-cream); border-radius: var(--ds-radius-card); padding: var(--ds-space-5); }
.git-card--ink { background: var(--ds-color-ink); color: var(--ds-on-ink-body); }
.git-card--ink .git-card__h { color: var(--ds-on-ink-strong); }
.git-card--ink .git-card__b { color: var(--ds-on-ink-body); }
.git-card--ink .bb-cta-link { color: var(--ds-on-ink-strong); }
.git-card__h { font-family: var(--ds-font-body); font-weight: 800; font-size: var(--ds-text-h3); color: var(--ds-text-strong); }
.git-card__b { margin-top: 0.5rem; font-size: var(--ds-text-sm); line-height: 1.55; color: var(--ds-text-body); }
.git-card .bb-cta-link { margin-top: var(--ds-space-3); }
@media (max-width: 820px) { .git-grid { grid-template-columns: 1fr; } }
/* END GET IN TOUCH */

/* ---------- WHAT'S ON --------------------------------------
   Timely homepage block (Ross, 4 Aug): pulls the next cohort, workshop
   and event in, contextually. Three plain cards, colour-coded dot only,
   never a ticker or a highlight bar.
   ------------------------------------------------------------ */
.whatson__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--ds-space-4); flex-wrap: wrap; margin-bottom: var(--ds-space-5); }
.whatson__title { font-family: var(--ds-font-serif); font-weight: 400; font-size: var(--ds-text-h3); color: var(--ds-text-strong); }
.whatson__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--ds-space-4); }
.whatson__card { display: flex; flex-direction: column; gap: 0.5rem; background: var(--ds-color-cream); border-radius: var(--ds-radius-card); padding: var(--ds-space-5); text-decoration: none; transition: transform .15s ease; }
.whatson__card:hover { transform: translateY(-2px); }
.whatson__kind { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 800; font-size: var(--ds-text-xs); color: var(--ds-text-muted); }
.whatson__dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.whatson__name { font-family: var(--ds-font-serif); font-weight: 400; font-size: var(--ds-text-lede); line-height: 1.18; color: var(--ds-text-strong); }
.whatson__meta { font-size: var(--ds-text-sm); color: var(--ds-text-body); }
.whatson__go { margin-top: auto; padding-top: var(--ds-space-3); font-weight: 800; font-size: var(--ds-text-sm); color: var(--ds-text-strong); border-bottom: 2px solid transparent; align-self: flex-start; }
.whatson__card:hover .whatson__go { border-bottom-color: var(--ds-color-accent); }
@media (max-width: 820px) { .whatson__grid { grid-template-columns: 1fr; } }
/* END WHAT'S ON */

/* ---------- WORK GRID --------------------------------------
   Recent work as small blocks (Ross, 4 Aug): a screenshot, what changed,
   and the client's own words. Not full case-study articles.
   ------------------------------------------------------------ */
.wk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 1rem + 3vw, 3rem); }
.wk-item { display: flex; flex-direction: column; background: var(--ds-color-white); border-radius: var(--ds-radius-card); overflow: hidden; box-shadow: var(--ds-shadow-soft); container-type: inline-size; }
.wk-item__shot { background: var(--ds-color-ink); }
.wk-item__bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 0.8rem; background: var(--ds-color-cream); border-bottom: 1px solid rgba(38,34,76,0.08); }
.wk-item__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(38,34,76,0.16); flex: none; }
.wk-item__bar u { flex: 1; height: 20px; border-radius: 999px; background: var(--ds-color-panel-2); text-decoration: none; font-size: 0.66rem; font-weight: 700; color: var(--ds-text-muted); display: flex; align-items: center; padding-inline: 0.6rem; }
.wk-item__view { aspect-ratio: 16/10; overflow: hidden; }
.wk-item__img { width: 100%; display: block; }
.wk-item__body { display: flex; flex-direction: column; gap: 0.75rem; padding: var(--ds-space-5); flex: 1; }
.wk-item__type { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--ds-font-body); font-weight: 800; font-size: var(--ds-text-xs); color: var(--ds-text-muted); }
.wk-item__type i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--ds-color-accent)); flex: none; }
.wk-item__name { font-family: var(--ds-font-serif); font-weight: 400; font-size: var(--ds-text-h3); line-height: 1.1; color: var(--ds-text-strong); }
/* photo variant — non-web work (training, events, programmes) leads with a
   photograph instead of a browser frame, so the page reads as our whole
   practice, not a website gallery. It has no browser bar, so the image
   absorbs that bar's height to stay level with the website tiles beside it. */
.wk-item--photo .wk-item__view { aspect-ratio: auto; height: calc(100cqw * 0.625 + 40px); }
.wk-item--photo .wk-item__img { height: 100%; object-fit: cover; }
.wk-item__what { font-size: var(--ds-text-sm); line-height: 1.55; color: var(--ds-text-body); }
.wk-item__quote { font-family: var(--ds-font-serif); font-weight: 400; font-size: var(--ds-text-lede); line-height: 1.3; color: var(--ds-text-strong); border-left: 3px solid var(--ds-color-accent); padding-left: var(--ds-space-4); margin: 0; text-wrap: balance; }
.wk-item__cite { font-weight: 800; font-size: var(--ds-text-xs); color: var(--ds-text-muted); }
.wk-item__body .bb-cta-link { margin-top: auto; padding-top: var(--ds-space-3); }
@media (max-width: 760px) { .wk-grid { grid-template-columns: 1fr; } }
/* END WORK GRID */

/* ---------- BLOG ------------------------------------------
   Listing + article, built on the shared card and prose patterns
   (Ross, 4 Aug: a proper Blog for news, updates and opinion).
   ------------------------------------------------------------ */
.blog-feature { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.5rem, 1rem + 3vw, 3rem); align-items: center; text-decoration: none; color: inherit; }
.blog-feature__img { aspect-ratio: 16/11; border-radius: var(--ds-radius-card); background: var(--ds-color-ink) center/cover no-repeat; }
.blog-feature__title { font-family: var(--ds-font-serif); font-weight: 400; font-size: var(--ds-text-h2); line-height: var(--ds-line-tight); color: var(--ds-text-strong); margin: var(--ds-space-3) 0; text-wrap: balance; }
.blog-feature__excerpt { font-size: var(--ds-text-lede); line-height: 1.5; color: var(--ds-text-body); max-width: 52ch; }
.blog-feature .bb-cta-link { margin-top: var(--ds-space-4); }
.blog-feature:hover .blog-feature__title { text-decoration: underline; text-decoration-color: var(--ds-color-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 1rem + 3vw, 2.75rem); }
.blog-card { display: flex; flex-direction: column; gap: 0.65rem; text-decoration: none; color: inherit; }
.blog-card__img { aspect-ratio: 16/10; border-radius: var(--ds-radius-card); background: var(--ds-color-ink) center/cover no-repeat; margin-bottom: 0.35rem; }
.blog-card__cat { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 800; font-size: var(--ds-text-xs); color: var(--ds-text-muted); }
.blog-card__cat i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.blog-card__title { font-family: var(--ds-font-serif); font-weight: 400; font-size: var(--ds-text-h3); line-height: 1.15; color: var(--ds-text-strong); text-wrap: balance; }
.blog-card__excerpt { font-size: var(--ds-text-sm); line-height: 1.55; color: var(--ds-text-body); }
.blog-card:hover .blog-card__title { text-decoration: underline; text-decoration-color: var(--ds-color-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* article */
.article__head-band { padding-top: var(--ds-space-5); padding-bottom: var(--ds-space-7); }
.article__head { max-width: 780px; }
.article__back { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 800; font-size: var(--ds-text-sm); color: var(--ds-on-ink-body); text-decoration: none; margin-bottom: var(--ds-space-4); }
.article__back:hover { color: var(--ds-on-ink-strong); }
.article__title { font-family: var(--ds-font-serif); font-weight: 400; font-size: var(--ds-text-h1); line-height: var(--ds-line-tight); color: var(--ds-on-ink-strong); margin: var(--ds-space-3) 0; text-wrap: balance; }
.article__standfirst { font-size: var(--ds-text-lede); line-height: 1.5; color: var(--ds-on-ink-body); max-width: 60ch; }
.article__meta { display: flex; flex-wrap: wrap; gap: var(--ds-space-4); margin-top: var(--ds-space-5); font-size: var(--ds-text-sm); color: var(--ds-on-ink-muted); }
.article__by { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 800; color: var(--ds-on-ink-strong); }
.article__hero { max-width: 900px; margin-inline: auto; margin-top: calc(-6vw - var(--ds-space-6)); aspect-ratio: 16/9; border-radius: var(--ds-radius-card); background: var(--ds-color-ink) center/cover no-repeat; box-shadow: var(--ds-shadow-soft); }
.article__body { max-width: 68ch; margin-inline: auto; }
.article__body > * + * { margin-top: var(--ds-space-4); }
.article__figure { margin-top: var(--ds-space-5); }
.article__figure img { width: 100%; border-radius: var(--ds-radius-card); display: block; }
.article__figure figcaption { margin-top: var(--ds-space-3); font-size: var(--ds-text-sm); color: var(--ds-text-muted); }
.article__body p { font-size: var(--ds-text-body-size); line-height: 1.7; color: var(--ds-text-body); }
.article__body h2 { font-family: var(--ds-font-serif); font-weight: 400; font-size: var(--ds-text-h3); color: var(--ds-text-strong); margin-top: var(--ds-space-6); }
.article__body ul { display: grid; gap: 0.6rem; padding-left: 1.1rem; }
.article__body li { font-size: var(--ds-text-lede); line-height: 1.55; color: var(--ds-text-body); }
.article__pull { font-family: var(--ds-font-serif); font-weight: 400; font-size: var(--ds-text-h3); line-height: 1.3; color: var(--ds-text-strong); border-left: 3px solid var(--ds-color-accent); padding-left: var(--ds-space-5); margin: var(--ds-space-6) 0; text-wrap: balance; }
.article__foot { max-width: 68ch; margin-inline: auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--ds-space-4); padding-top: var(--ds-space-5); border-top: 1px solid rgba(38,34,76,0.12); }

@media (max-width: 860px) { .blog-feature { grid-template-columns: 1fr; } .blog-feature__img { order: -1; } .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }
/* END BLOG */

/* ---------- PARTNERSHIP STRIP ------------------------------
   The ongoing partnership woven in (Ross, 4 Aug): not a standalone
   page, a slim reminder that the work does not stop at handover.
   Dropped in at the foot of case studies, programmes and services.
   ------------------------------------------------------------ */
.partner-strip { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.partner-strip__k { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 800; font-size: var(--ds-text-xs); color: var(--ds-color-accent); }
.partner-strip__k i { width: 9px; height: 9px; border-radius: 50%; background: var(--ds-color-accent); flex: none; }
.partner-strip__title { font-family: var(--ds-font-serif); font-weight: 400; font-size: var(--ds-text-h2); line-height: 1.1; color: var(--ds-on-ink-strong); margin-top: var(--ds-space-3); text-wrap: balance; }
.partner-strip__lede { margin-top: var(--ds-space-3); font-size: var(--ds-text-lede); line-height: 1.5; color: var(--ds-on-ink-body); }
.partner-strip__foot { margin-top: var(--ds-space-4); }
.partner-strip__list { display: grid; gap: 0.7rem; }
.partner-strip__list li { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 700; color: var(--ds-on-ink-strong); font-size: var(--ds-text-sm); line-height: 1.4; }
.partner-strip__list li::before { content: ""; flex: none; width: 11px; height: 11px; border-radius: 50%; background: var(--ds-color-accent); margin-top: 0.3rem; }
@media (max-width: 760px) { .partner-strip { grid-template-columns: 1fr; } }
/* END PARTNERSHIP STRIP */

/* ---------- responsive ---------------------------------------- */
@media (max-width: 960px) {
  .row-cards__grid,
  .row-editorial__grid { grid-template-columns: repeat(2, 1fr); }
  .row-figures__grid { grid-template-columns: repeat(2, 1fr); }
  .row-logos__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .row-hero-split .row-hero-split__grid,
  .row-statement__grid,
  .row-split,
  .row-spotlight__grid,
  .row-resource__card { grid-template-columns: 1fr; }
  .row-statement__media,
  .row-split__media { order: -1; aspect-ratio: 16/10; }
  .row-split--reverse .row-split__media { order: -1; }
  .row-resource__cover { aspect-ratio: 16/9; }
  .row-resource__body { padding: var(--ds-space-5); }
}
@media (max-width: 620px) {
  .row-cards__grid,
  .row-editorial__grid,
  .row-figures__grid { grid-template-columns: 1fr; }
  .row-logos__grid { grid-template-columns: repeat(2, 1fr); }
}
