/* ==========================================================================
   Fonts
   ========================================================================== */

@font-face {
  font-family: 'Atkinson Hyperlegible';
  src: url('/assets/fonts/AtkinsonHyperlegible[wght].woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Atkinson Hyperlegible';
  src: url('/assets/fonts/AtkinsonHyperlegible-Italic[wght].woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Literata';
  src: url('/assets/fonts/Literata[opsz,wght].woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Literata';
  src: url('/assets/fonts/Literata-Italic[opsz,wght].woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}


/* ==========================================================================
   Design tokens
   ========================================================================== */

:root {
  color-scheme: light dark;

  /* Shared semantic colors */
  --color-canvas:          #fff9e9;
  --color-surface:         #ffffff;
  --color-surface-muted:   #f1f1f1;
  --color-text:            #1a1a1a;
  --color-heading:         #3d3d3d;
  --color-heading-accent:  #b30020;
  --color-toc-current-surface: #b30020;
  --color-toc-current-text: #fffdfc;
  --color-text-muted:      #3d3d3d;
  --color-action:          #b30020;
  --color-action-hover:    #7f0016;
  --color-on-action:       #fffdfc;
  --color-brand-display:   #cc0025;
  --color-focus:           #b30020;
  --color-boundary:        #d8d0cc;
  --color-boundary-strong: #8c827d;
  --color-inverse-surface: #3d3d3d;
  --color-inverse-text:    #fffdfc;
  --color-inverse-muted:   #ded7d3;
  --color-code-surface:    #1a1a1a;
  --color-code-text:       #f0ede4;
  --color-code-inline:     #eee8e5;
  --color-shadow:          rgba(26, 26, 26, 0.14);

  /* Shared identity surfaces stay fixed across page domains and color modes. */
  --color-header-surface:  #ffffff;
  --color-header-text:     #262626;
  --color-header-action:   #cc0025;
  --color-header-action-hover: #b30020;
  --color-header-on-action: #ffffff;
  --color-header-boundary:  #d8d0cc;
  --color-masthead-surface: #3d3d3d;
  --color-masthead-text:    #ffffff;
  --color-masthead-muted:   #ded7d3;
  --color-footer-surface:  #3d3d3d;
  --color-footer-text:     #ffffff;
  --color-footer-muted:    #ded7d3;
  --color-footer-inset:    #fff9e9;

  /* Consultancy composition */
  --color-offer-band:       #455e59;
  --color-offer-band-text:  #fff9e9;
  --color-offer-panel:      #fff9e9;

  /* Narrow component states */
  --color-note-surface:    #fff9e9;
  --color-warning:         #6e5100;
  --color-warning-surface: #fff4cf;
  --color-tip:             #455e59;
  --color-tip-surface:     #edf3f0;
  --color-error:           #8f0019;
  --color-error-surface:   #fff0f2;

  /* Typography */
  --font-body:    'Atkinson Hyperlegible', system-ui, sans-serif;
  --font-heading: 'Literata', Georgia, serif;

  /* Type roles */
  --type-label:           0.8125rem;
  --type-support:         1rem;
  --type-body:            1.125rem;
  --type-prose:           clamp(1.125rem, 1.05rem + 0.33vw, 1.375rem);
  --type-legal-prose:     clamp(1.125rem, 1.0875rem + 0.15vw, 1.25rem);
  --type-summary:         clamp(1.125rem, 1.075rem + 0.2vw, 1.25rem);
  --type-marketing-prose: clamp(1.125rem, 1.0875rem + 0.15vw, 1.25rem);
  --type-marketing-support: clamp(1.0625rem, 1.025rem + 0.15vw, 1.125rem);
  --type-marketing-action: clamp(1.1875rem, 1.15rem + 0.2vw, 1.25rem);
  --type-lede:            clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --type-heading-small:   clamp(1.375rem, 1.25rem + 0.5vw, 1.625rem);
  --type-heading-subsection: clamp(1.5rem, 1.3125rem + 0.75vw, 1.875rem);
  --type-heading-section: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
  --type-title:           clamp(2.5rem, 1.875rem + 2.5vw, 3.5rem);
  --type-title-display:   clamp(2.625rem, 1.8125rem + 3.25vw, 4.25rem);
  --type-offer-promise:   clamp(1.75rem, 1.625rem + 0.5vw, 2rem);
  --weight-marketing-prose: 400;
  --weight-inverse-prose: 500;
  --leading-marketing-prose: 1.4;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;

  /* Layout */
  --measure-shell:     76rem;
  --measure-wide:      90rem;
  --measure-focused:   46rem;
  --measure-marketing: 60rem;
  --measure-discovery: 52rem;
  --measure-reading:   35em;
  --measure-reading-layout: 100rem;
  --gutter:            clamp(1rem, 3vw, 2rem);
  --measure-identity:  67.5rem;
  --gutter-identity:   clamp(1.5rem, 5vw, 5rem);
  --radius-action:     0.375rem;
  --action-label-optical-offset: 0.1em;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-canvas:          #181614;
    --color-surface:         #201e1c;
    --color-surface-muted:   #292624;
    --color-text:            #e8e3e0;
    --color-heading:         #f5f0ed;
    --color-heading-accent:  #ffb0bb;
    --color-toc-current-surface: #ffb0bb;
    --color-toc-current-text: #181614;
    --color-text-muted:      #d0d0d0;
    --color-action:          #fff9e9;
    --color-action-hover:    #ffffff;
    --color-on-action:       #181614;
    --color-brand-display:   #cc0025;
    --color-focus:           #fff9e9;
    --color-boundary:        #4a4542;
    --color-boundary-strong: #8b827d;
    --color-inverse-surface: #0f0e0d;
    --color-inverse-text:    #f5f0ed;
    --color-inverse-muted:   #d1cac6;
    --color-code-surface:    #0d0d0d;
    --color-code-text:       #f1eeee;
    --color-code-inline:     #312d2b;
    --color-shadow:          rgba(0, 0, 0, 0.38);
    --color-offer-band:       #20302c;
    --color-offer-band-text:  #f5f0ed;
    --color-offer-panel:      #201e1c;
    --color-note-surface:    #292624;
    --color-warning:         #f7cf62;
    --color-warning-surface: #302a18;
    --color-tip:             #b8d4cc;
    --color-tip-surface:     #20302c;
    --color-error:           #ffb0bb;
    --color-error-surface:   #3a2024;
  }
}


/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-canvas);
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-heading);
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: var(--space-4);
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 24;
}

h1, h2 {
  font-weight: 700;
}

h3 {
  font-weight: 600;
}

h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
}

p {
  margin-top: 0;
  margin-bottom: var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-action);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--color-action-hover);
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 4px;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  padding-left: var(--space-6);
  margin-top: 0;
  margin-bottom: var(--space-4);
}

li + li {
  margin-top: var(--space-2);
}

blockquote {
  margin: 0;
}

pre, code {
  font-family: ui-monospace, 'Cascadia Code', 'Fira Code', monospace;
}

hr {
  border: none;
  border-top: 1px solid var(--color-boundary);
  margin: var(--space-8) 0;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: var(--space-3);
  left: var(--space-3);
  padding: var(--space-2) var(--space-4);
  color: var(--color-inverse-text);
  background: var(--color-inverse-surface);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

main {
  flex: 1;
  width: 100%;
}


/* ==========================================================================
   Site header
   ========================================================================== */

.site-header {
  width: 100%;
  padding: 0 var(--gutter-identity);
  color-scheme: light;
  color: var(--color-header-text);
  background: var(--color-header-surface);
  border-bottom: 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--measure-identity);
  min-height: 100px;
  margin: 0 auto;
}

.site-header--landing .site-header__inner {
  justify-content: flex-start;
  min-height: 0;
  padding-block: var(--space-6);
}

.site-logo img {
  height: 32px;
  width: auto;
}

.site-menu {
  display: none;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--space-8);
}

.site-nav ul li + li {
  margin-top: 0;
}

.site-nav a {
  font-size: var(--type-body);
  font-weight: 600;
  text-decoration: none;
  color: var(--color-header-text);
}

.site-nav a:hover {
  color: var(--color-header-action-hover);
}

.site-nav a[aria-current] {
  position: relative;
  color: var(--color-header-text);
  font-weight: 700;
}

.site-nav a[aria-current]::before {
  position: absolute;
  bottom: calc(100% + var(--space-2));
  left: 0;
  display: block;
  width: 1.5rem;
  height: 0.2rem;
  background: var(--color-header-action);
  border-radius: 999px;
  content: "";
}

.site-nav a.site-nav__subscribe {
  padding: var(--space-2) var(--space-5);
  color: var(--color-header-on-action);
  background: var(--color-header-action);
  border-radius: var(--radius-action);
}

.site-nav a.site-nav__subscribe:hover {
  color: var(--color-header-on-action);
  background: var(--color-header-action-hover);
}

.site-nav a.site-nav__subscribe[aria-current] {
  color: var(--color-header-on-action);
}

.site-nav a.site-nav__subscribe[aria-current]::before {
  display: none;
}


.breadcrumbs {
  max-width: var(--measure-shell);
  margin: 0 auto;
  padding: var(--space-2) var(--gutter) 0;
  font-size: var(--type-support);
  font-weight: 500;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-2);
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs li {
  margin: 0;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: var(--space-2);
  color: var(--color-boundary-strong);
}

.breadcrumbs [aria-current="page"] {
  color: var(--color-text-muted);
}


/* ==========================================================================
   Site footer
   ========================================================================== */

.site-footer {
  --footer-inset-depth: clamp(40px, 3.5vw, 50px);

  color-scheme: light;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--color-footer-surface);
  color: var(--color-footer-text);
  margin-top: var(--space-16);
  padding-top: var(--footer-inset-depth);
}

.site-footer::before {
  position: absolute;
  z-index: 0;
  inset: 0 0 auto;
  height: var(--footer-inset-depth);
  background-color: var(--color-footer-inset);
  content: "";
  pointer-events: none;
  -webkit-mask: url("../img/footer-open-book-mask.svg") center top / 100% 100% no-repeat;
  mask: url("../img/footer-open-book-mask.svg") center top / 100% 100% no-repeat;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-8);
  max-width: var(--measure-shell);
  margin: 0 auto;
  padding: var(--space-8) var(--gutter);
}

.site-footer__logo img {
  height: clamp(32px, 3vw, 40px);
  width: auto;
}

.site-footer__legal {
  text-align: center;
  font-size: var(--type-support);
  font-weight: 500;
  line-height: 1.6;
}

.site-footer__legal p {
  margin-bottom: var(--space-2);
  color: var(--color-footer-text);
}

.site-footer__legal nav {
  display: flex;
  gap: var(--space-6);
  justify-content: center;
}

.site-footer__legal nav a {
  color: var(--color-footer-muted);
  font-size: var(--type-support);
  text-underline-offset: 3px;
}

.site-footer__legal nav a:hover {
  color: var(--color-footer-text);
}

.site-footer__social {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.site-footer .site-footer__social a {
  color: var(--color-footer-text);
  opacity: 1;
  transition: opacity 0.15s ease;
}

.site-footer .site-footer__social a:hover {
  opacity: 0.82;
}


/* ==========================================================================
   Articles listing
   ========================================================================== */

.articles-page {
  max-width: var(--measure-discovery);
  margin: 0 auto;
  padding: var(--space-12) var(--gutter);
}

.articles-page__title {
  font-size: var(--type-title);
  margin-bottom: var(--space-10);
}

.articles-page__empty {
  color: var(--color-text-muted);
  font-style: italic;
}

.article-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-list__item {
  padding: var(--space-10) 0;
  border-bottom: 1px solid var(--color-boundary);
}

.article-list__item:first-child {
  border-top: 1px solid var(--color-boundary);
}

.article-list__row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(16rem, 2fr) minmax(0, 3fr);
  align-items: center;
  gap: var(--space-10);
}

.article-list__row--without-image {
  grid-template-columns: minmax(0, 1fr);
}

.article-list__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-surface-muted);
  border-radius: var(--radius-action);
}

.article-list__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-list__content {
  min-width: 0;
}

.article-list__title {
  font-size: var(--type-heading-section);
  margin-bottom: var(--space-2);
}

.article-list__primary-link {
  text-decoration: none;
  color: var(--color-heading);
}

.article-list__primary-link::after {
  position: absolute;
  inset: 0;
  content: "";
}

.article-list__primary-link:hover {
  color: var(--color-heading-accent);
}

.article-list__row:hover .article-list__primary-link {
  color: var(--color-heading-accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.article-list__row:has(.article-list__primary-link:focus-visible) {
  outline: 3px solid var(--color-focus);
  outline-offset: var(--space-2);
}

.article-list__primary-link:focus-visible {
  outline: none;
}

.article-list__meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: var(--space-4);
  text-align: left;
  font-size: var(--type-support);
  font-weight: 500;
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  margin-bottom: 0;
}

.article-list__meta > time {
  text-align: left;
}

.article-list__meta-label,
.article__meta-label {
  font-weight: 700;
}

.article-list__meta a {
  position: relative;
  z-index: 1;
}

.article-list__topics {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: var(--space-2);
}

.article-list__topics li {
  margin-top: 0;
  color: var(--color-action);
  font-weight: 600;
}

.article-list__topics li + li::before {
  content: '·';
  margin-right: var(--space-2);
  color: var(--color-boundary-strong);
}

.article-list__summary {
  max-width: 36rem;
  color: var(--color-text);
  font-size: var(--type-summary);
  line-height: 1.5;
}

.discovery-page {
  width: 100%;
  max-width: calc(var(--measure-discovery) + (2 * var(--gutter)));
  margin: 0 auto;
  padding: var(--space-12) var(--gutter) var(--space-16);
}

.discovery-page__opening {
  margin-bottom: var(--space-10);
}

.page-articles .discovery-page {
  width: 100%;
  max-width: calc(var(--measure-identity) + (2 * var(--gutter)));
  padding-right: var(--gutter);
  padding-left: var(--gutter);
}

.discovery-page__intro {
  max-width: 36em;
  margin-bottom: var(--space-4);
  font-size: var(--type-lede);
  font-weight: 500;
  line-height: 1.55;
  color: var(--color-heading);
}

.discovery-page__browse,
.topic-list__count {
  color: var(--color-text-muted);
  font-size: var(--type-support);
  font-weight: 500;
}

.discovery-page > .articles-page,
.topic-detail .articles-page {
  max-width: none;
  padding: 0;
}

.discovery-page__section-title {
  margin-bottom: var(--space-6);
  font-size: var(--type-heading-section);
}

.topic-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  margin: 0;
  padding: 0;
  list-style: none;
}

.topic-list__item {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 1;
  min-width: 0;
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-boundary);
  border-radius: var(--radius-action);
}

.topic-list__item + .topic-list__item {
  margin-top: 0;
}

.topic-list__item::before {
  width: 4rem;
  height: 3px;
  margin-bottom: var(--space-6);
  background: var(--color-action);
  content: "";
}

.topic-list__item h2 {
  margin-bottom: var(--space-2);
  font-size: var(--type-heading-section);
}

.topic-list__item h2 a {
  color: var(--color-heading);
  text-decoration: none;
}

.topic-list__item h2 a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.topic-list__item:hover h2 a {
  color: var(--color-heading-accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.topic-list__item:has(h2 a:focus-visible) {
  outline: 3px solid var(--color-focus);
  outline-offset: var(--space-2);
}

.topic-list__item h2 a:focus-visible {
  outline: none;
}

.topic-list__item p {
  max-width: none;
  font-size: var(--type-summary);
  line-height: 1.6;
}

.topic-list__count {
  margin-top: auto;
  padding-top: var(--space-6);
}

.page-topics .discovery-page {
  max-width: calc(var(--measure-identity) + (2 * var(--gutter)));
}

.page-topics {
  color-scheme: light;
  --color-canvas: #fff9e9;
  --color-surface: #ffffff;
  --color-text: #1a1a1a;
  --color-heading: #3d3d3d;
  --color-text-muted: #3d3d3d;
  --color-action: #b30020;
  --color-action-hover: #7f0016;
  --color-focus: #b30020;
  --color-boundary: #d8d0cc;
  background: var(--color-canvas);
}

.page-topics main {
  background: var(--color-canvas);
}

.page-topics .site-footer {
  margin-top: 0;
}

.topic-detail__intro {
  margin-bottom: var(--space-12);
}

.topic-detail__other {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-boundary);
}

.topic-detail__other h2 {
  font-size: var(--type-heading-small);
}

.topic-detail__other ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
  margin: 0;
  padding: 0;
  list-style: none;
}

.topic-detail__other li {
  margin: 0;
}


/* ==========================================================================
   Article page
   ========================================================================== */

.article {
  padding-top: var(--space-10);
  padding-bottom: 0;
  background: var(--color-surface);
}

/* --- Article header --- */

.article__header {
  grid-area: header;
  width: 100%;
  max-width: var(--measure-reading);
  margin: 0 0 var(--space-10);
}

.article__title {
  font-size: var(--type-title);
  font-weight: 700;
  margin-bottom: var(--space-5);
}

.article__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  font-size: var(--type-support);
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.article__format {
  font-size: var(--type-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-action);
}

.article__topics {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: var(--space-2);
}

.article__topics li {
  margin-top: 0;
  color: var(--color-action);
  font-weight: 600;
}

.article__topics li + li::before {
  content: '·';
  margin-right: var(--space-2);
}

.article__summary {
  font-family: var(--font-body);
  font-size: var(--type-lede);
  font-weight: 500;
  line-height: 1.55;
  color: var(--color-heading);
  max-width: 36em;
  padding-left: var(--space-5);
  border-left: 3px solid var(--color-action);
  margin-bottom: var(--space-6);
}

/* --- Two-column layout --- */

.article-layout {
  display: grid;
  font-size: var(--type-prose);
  grid-template-columns:
    [anchor] minmax(10rem, 14rem)
    [rail] 2px
    [content] minmax(0, var(--measure-reading))
    [canvas] minmax(0, 1fr);
  grid-template-areas:
    "anchor rail body    ."
    ".      .    endmatter .";
  column-gap: clamp(2.5rem, 3vw, 3.5rem);
  align-items: start;
  max-width: var(--measure-reading-layout);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* --- Article body (prose) --- */

.article-layout__body {
  grid-area: body;
  min-width: 0;
  width: 100%;
  max-width: var(--measure-reading);
  font-size: var(--type-prose);
  line-height: 1.62;
}

.article-layout__body a,
.article-signoff a,
.article-record a,
.article-related a {
  color: var(--color-text);
  text-decoration-color: var(--color-heading-accent);
  text-decoration-thickness: 2px;
}

.article-layout__body a:hover,
.article-signoff a:hover,
.article-record a:hover,
.article-related a:hover {
  color: var(--color-heading-accent);
}

.article-layout__body h2 {
  color: var(--color-heading);
  font-size: var(--type-heading-section);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.article-layout__body h3 {
  color: var(--color-heading);
  font-size: var(--type-heading-subsection);
  font-weight: 700;
  line-height: 1.3;
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.article-layout__body h4 {
  color: var(--color-heading);
  font-family: var(--font-body);
  font-size: var(--type-heading-small);
  font-weight: 700;
  line-height: 1.35;
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
}

.article-layout__body h2,
.article-layout__body h3,
.article-layout__body h4 {
  scroll-margin-top: var(--space-8);
}

.article-layout__body h2:target,
.article-layout__body h3:target,
.article-layout__body h4:target {
  outline: 3px solid var(--color-focus);
  outline-offset: var(--space-2);
}

.article-layout__body p {
  line-height: inherit;
}

.pullquote {
  border-left: 3px solid var(--color-action);
  padding-left: var(--space-6);
  margin: var(--space-8) 0;
}

.pullquote__text p {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  font-size: var(--type-lede);
  color: var(--color-heading);
  line-height: 1.5;
  margin-bottom: 0;
}

.pullquote__citation {
  display: block;
  font-style: italic;
  font-size: var(--type-support);
  font-weight: 500;
  color: var(--color-text-muted);
  text-align: right;
  margin-top: var(--space-3);
}

.article-layout__body pre {
  background-color: var(--color-code-surface);
  color: var(--color-code-text);
  padding: var(--space-5) var(--space-6);
  overflow-x: auto;
  margin: var(--space-6) 0;
  font-size: var(--type-support);
  line-height: 1.6;
}

.article-layout__body code {
  font-size: 0.875em;
  background-color: var(--color-code-inline);
  padding: 0.1em 0.35em;
  border-radius: 2px;
}

.article-layout__body pre code {
  background: none;
  padding: 0;
  font-size: inherit;
}

/* --- Blocks: figure --- */

.block-figure {
  margin: var(--space-8) 0;
}

.block-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.block-figure__caption {
  margin-top: var(--space-3);
  font-size: var(--type-support);
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Placement — margin and wide figures use available canvas space. */
@media (min-width: 1081px) {
  .block-figure[data-placement="wide"] {
    width: min(calc(100% + 16rem), calc(100vw - var(--gutter) * 2));
  }

  .block-figure[data-placement="margin"] {
    float: right;
    clear: right;
    width: clamp(10rem, 16vw, 15rem);
    margin: var(--space-2) 0 var(--space-6) var(--space-12);
    margin-right: clamp(-19rem, -19vw, -13rem);
  }

  .block-figure[data-placement="margin"] .block-figure__caption {
    font-size: var(--type-label);
  }
}

/* --- Blocks: steps --- */

.block-steps {
  margin: var(--space-8) 0;
}

.block-steps__intro {
  margin-bottom: var(--space-5);
}

.block-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: steps;
}

.block-steps__item {
  counter-increment: steps;
  position: relative;
  padding-left: var(--space-10);
  margin-bottom: var(--space-6);
}

.block-steps__item:last-child {
  margin-bottom: 0;
}

.block-steps__item::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: var(--type-support);
  font-weight: 700;
  color: var(--color-on-action);
  background-color: var(--color-action);
  border-radius: 50%;
}

.block-steps__heading {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: var(--space-1);
}

.block-steps__body {
  line-height: 1.7;
}

.block-steps__body p:last-child {
  margin-bottom: 0;
}

/* --- Reading anchor: reading time + table of contents (sticky) --- */

.article-layout__anchor {
  grid-area: anchor;
  min-width: 0;
  position: sticky;
  top: var(--space-8);
  align-self: start;
  max-height: calc(100vh - var(--space-16));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.article-layout__anchor::-webkit-scrollbar {
  display: none;
}

.toc {
  font-size: var(--type-support);
  font-weight: 500;
}

.toc__summary,
.toc__label {
  color: var(--color-heading);
  font-family: var(--font-body);
  font-size: var(--type-heading-small);
  font-weight: 700;
  line-height: 1.25;
}

.toc__summary {
  display: none;
  cursor: pointer;
}

.toc__label {
  margin: 0 0 var(--space-4);
}

.toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc__item {
  line-height: 1.4;
  margin-bottom: var(--space-2);
}

.toc__item--h3 {
  padding-left: var(--space-4);
}

.toc__item--h3 a {
  font-size: 0.9375rem;
}

.toc__item a {
  display: block;
  padding: 0.35rem var(--space-2);
  color: var(--color-text);
  border: none;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.toc__item a:hover {
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-color: var(--color-heading-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2rem;
}

.toc__item a.is-active,
.toc__item a[aria-current="location"] {
  background: var(--color-toc-current-surface);
  color: var(--color-toc-current-text);
  font-weight: 700;
  text-decoration: none;
}

.toc__item a.is-active:hover,
.toc__item a[aria-current="location"]:hover {
  color: var(--color-toc-current-text);
}

/* --- Reading progress rail: the anchor/content divider, fills on scroll --- */

.reading-rail {
  grid-area: rail;
  align-self: stretch;
  width: 2px;
  background-color: var(--color-boundary);
  border-radius: 1px;
}

.reading-rail__fill {
  display: block;
  width: 100%;
  height: calc(var(--reading-progress, 0) * 100%);
  background-color: var(--color-action);
  border-radius: 1px;
}

/* --- Post-reading author and article record --- */

.article-endmatter {
  grid-area: endmatter;
  width: 100%;
  max-width: var(--measure-reading);
  margin-top: var(--space-12);
  padding-bottom: var(--space-12);
}

.article-signoff {
  width: 100%;
  margin: 0;
}

.article-signoff__identity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3rem minmax(0, 1fr);
  width: min(80%, 24rem);
  margin: 0 auto var(--space-5);
  align-items: center;
  gap: var(--space-3);
}

.article-signoff__identity::before,
.article-signoff__identity::after {
  height: 1px;
  background: var(--color-boundary);
  content: '';
}

.article-signoff__identity::before {
  grid-column: 1;
}

.article-signoff__identity::after {
  grid-column: 3;
}

.article-signoff__mark {
  display: grid;
  width: 3rem;
  height: 3rem;
  grid-column: 2;
  grid-row: 1;
  place-items: center;
  border: 1px solid var(--color-boundary);
  border-radius: 50%;
  background: var(--color-surface-muted);
  color: var(--color-heading-accent);
  font-family: var(--font-body);
  font-size: var(--type-support);
  font-weight: 700;
}

.article-signoff__heading {
  margin-bottom: var(--space-5);
  color: var(--color-heading);
  font-size: var(--type-heading-small);
  text-align: center;
}

.article-signoff__authors {
  display: grid;
  gap: var(--space-6);
}

.article-signoff__name {
  margin-bottom: var(--space-2);
  font-size: var(--type-heading-small);
  text-align: center;
}

.article-signoff__name a {
  color: var(--color-heading);
}

.article-signoff__bio {
  max-width: 36em;
  margin: 0 auto;
  font-size: var(--type-body);
  line-height: 1.6;
}

.article-signoff__bio p {
  margin-bottom: var(--space-3);
}

.article-signoff__bio p:last-child {
  margin-bottom: 0;
}

.article-record {
  width: 100%;
  margin: var(--space-10) 0 0;
  padding: var(--space-8) 0 0;
  font-size: var(--type-body);
  line-height: 1.6;
  background: transparent;
  border-top: 1px solid var(--color-boundary);
}

.article-record__heading {
  color: var(--color-heading);
  font-size: var(--type-heading-small);
  margin-bottom: var(--space-5);
}

.article-record__list {
  margin: 0;
}

.article-record__row {
  display: grid;
  grid-template-columns: minmax(7rem, 0.35fr) minmax(0, 1fr);
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-boundary);
}

.article-record__row:last-child {
  border-bottom: 1px solid var(--color-boundary);
}

.article-record__row dt {
  font-size: var(--type-support);
  font-weight: 700;
  color: var(--color-heading);
}

.article-record__row dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.article-record__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-record__links li {
  margin-top: 0;
}

/* --- Related articles: foot of article, aligned to the text column --- */

.article-related {
  max-width: var(--measure-reading);
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-boundary);
}

.article-related__heading {
  font-size: var(--type-support);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: var(--space-5);
}

.article-related__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-5);
}

.article-related__list a {
  font-weight: 600;
  line-height: 1.4;
}

.article-related__list p {
  font-size: var(--type-support);
  font-weight: 500;
  color: var(--color-text-muted);
  margin-top: var(--space-1);
  line-height: 1.5;
}

.page-article .site-footer {
  margin-top: 0;
}


/* ==========================================================================
   Custom blocks
   ========================================================================== */

/* --- Callout --- */

.callout {
  border-left: 4px solid var(--color-boundary-strong);
  background-color: var(--color-note-surface);
  padding: var(--space-4) var(--space-6);
  margin: var(--space-8) 0;
}

.callout[data-type="warning"] {
  border-left-color: var(--color-warning);
  background-color: var(--color-warning-surface);
}

.callout[data-type="tip"] {
  border-left-color: var(--color-tip);
  background-color: var(--color-tip-surface);
}

.callout__label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--type-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.callout__icon {
  flex-shrink: 0;
  display: flex;
}

.callout[data-type="warning"] .callout__label {
  color: var(--color-warning);
}

.callout[data-type="tip"] .callout__label {
  color: var(--color-tip);
}

/* --- CTA card --- */

.cta-card {
  border-top: 4px solid var(--color-action);
  background: var(--color-surface-muted);
  padding: var(--space-8) var(--space-8);
  margin: var(--space-10) 0;
  text-align: left;
}

.cta-card__heading {
  font-family: var(--font-heading);
  font-size: var(--type-heading-section);
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: var(--space-3);
}

.cta-card__text {
  font-size: var(--type-prose);
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.cta-card__button {
  display: inline-block;
  background-color: var(--color-action);
  color: var(--color-on-action);
  padding: var(--space-3) var(--space-8);
  text-decoration: none;
  font-size: var(--type-support);
  font-weight: 700;
  border-radius: var(--radius-action);
}

.cta-card__button:hover {
  background-color: var(--color-action-hover);
  color: var(--color-on-action);
}

/* --- Related reading (inline block) --- */

.related-reading {
  border-top: 2px solid var(--color-action);
  padding-top: var(--space-5);
  margin: var(--space-10) 0;
}

.related-reading__heading {
  font-size: var(--type-support);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: var(--space-4);
}

.related-reading ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-reading li {
  margin-bottom: var(--space-4);
}

.related-reading a {
  font-weight: 600;
}

.related-reading__description {
  display: block;
  font-size: var(--type-support);
  font-weight: 500;
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}


/* ==========================================================================
   Shared masthead
   ========================================================================== */

.masthead {
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: hidden;
  color: var(--color-masthead-text);
  background: var(--color-masthead-surface);
  border-radius: 0 0 3.125rem 3.125rem;
}

.masthead--compact {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
}

.masthead--standard {
  padding: clamp(3.75rem, 7vw, 5.25rem) 0 clamp(3.5rem, 6vw, 4.5rem);
  border-radius: 0 0 clamp(2.75rem, 6vw, 5.5rem) 0;
}

.masthead--expanded {
  padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(4.5rem, 8vw, 6.5rem);
}

.masthead--reading {
  padding: clamp(2.25rem, 3.25vw, 3.25rem) 0 clamp(2rem, 3vw, 2.75rem);
}

.masthead__inner {
  position: relative;
  z-index: 2;
  width: min(var(--measure-identity), calc(100% - (2 * var(--gutter-identity))));
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

.masthead .breadcrumbs {
  max-width: none;
  margin: 0 0 var(--space-6);
  padding: 0;
  color: var(--color-masthead-muted);
}

.masthead .breadcrumbs a {
  color: var(--color-masthead-text);
}

.masthead .breadcrumbs li + li::before,
.masthead .breadcrumbs [aria-current="page"] {
  color: var(--color-masthead-muted);
}

.masthead__title {
  max-width: 20ch;
  margin: 0;
  color: var(--color-masthead-text);
  font-size: clamp(2rem, 1.75rem + 1vw, 2.5rem);
  line-height: 1.16;
}

.masthead--standard .masthead__title {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.25rem, 1.625rem + 2.5vw, 3rem);
  line-height: 1.2;
}

.masthead__eyebrow {
  max-width: 36rem;
  margin: 0 0 var(--space-4);
  color: var(--color-masthead-muted);
  font-size: var(--type-support);
  font-weight: 700;
  line-height: 1.35;
}

.masthead--expanded .masthead__title {
  max-width: 17ch;
  font-size: clamp(2.625rem, 2rem + 2.5vw, 3.5rem);
  line-height: 1.2;
}

.masthead__copy {
  max-width: 36rem;
  margin-top: var(--space-8);
  font-size: var(--type-marketing-prose);
  font-weight: 500;
  line-height: 1.45;
}

.masthead--standard .masthead__copy {
  max-width: 38em;
  margin-top: var(--space-6);
  font-size: var(--type-marketing-prose);
  line-height: var(--leading-marketing-prose);
}

.masthead__copy p + p {
  margin-top: var(--space-4);
}

.masthead__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
  margin-top: var(--space-6);
  color: var(--color-masthead-muted);
  font-size: var(--type-support);
  font-weight: 500;
}

.masthead__meta a {
  color: var(--color-masthead-text);
}

.masthead--reading .masthead__inner {
  width: 100%;
  max-width: calc(var(--measure-reading) + (2 * var(--gutter-identity)));
  padding: 0 var(--gutter-identity);
}

.masthead--reading .masthead__title {
  max-width: 24ch;
  font-size: var(--type-title);
}

.masthead--reading .masthead__copy {
  max-width: none;
  margin-top: var(--space-6);
  color: var(--color-masthead-text);
}

@media (min-width: 1200px) {
  .toc {
    font-size: 1.0625rem;
  }

  .toc__item--h3 a {
    font-size: 1rem;
  }

  .masthead--reading .masthead__inner {
    display: grid;
    grid-template-columns:
      [orientation] minmax(12rem, 14rem)
      [rail] 2px
      [content] minmax(0, var(--measure-reading))
      [canvas] minmax(0, 1fr);
    width: 100%;
    max-width: var(--measure-reading-layout);
    column-gap: clamp(2.5rem, 3vw, 3.5rem);
    padding-right: var(--gutter);
    padding-left: var(--gutter);
    font-size: var(--type-prose);
  }

  .masthead--reading .masthead__inner > * {
    grid-column: content / -1;
  }

  .masthead--reading .masthead__title {
    max-width: none;
    text-wrap: balance;
  }

}

.masthead__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.masthead__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 13rem;
  padding: calc(var(--space-3) - var(--action-label-optical-offset)) var(--space-8)
    calc(var(--space-3) + var(--action-label-optical-offset));
  color: var(--color-masthead-surface);
  background: var(--color-masthead-text);
  border: 2px solid var(--color-masthead-text);
  border-radius: var(--radius-action);
  font-family: var(--font-heading);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 24;
  font-size: var(--type-heading-small);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.masthead__action:hover {
  color: var(--color-on-action);
  background: var(--color-action-hover);
  border-color: var(--color-action-hover);
}

.masthead__action--primary {
  color: var(--color-on-action);
  background: var(--color-action);
  border-color: var(--color-action);
}

.masthead--expanded .masthead__action {
  padding: calc(var(--space-2) - var(--action-label-optical-offset)) var(--space-6)
    calc(var(--space-2) + var(--action-label-optical-offset));
}

@media (min-width: 601px) {
  .masthead--expanded .masthead__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 40rem);
  }
}

.masthead__shape {
  position: absolute;
  z-index: 1;
  width: clamp(14rem, 18vw, 18rem);
  aspect-ratio: 1;
  background: var(--color-brand-display);
  pointer-events: none;
}

.masthead--shape-fold .masthead__shape {
  -webkit-mask: url("../img/masthead-curve-mask.svg") center / 100% 100% no-repeat;
  mask: url("../img/masthead-curve-mask.svg") center / 100% 100% no-repeat;
}

.masthead--shape-cluster .masthead__shape {
  -webkit-mask: url("../img/masthead-cluster-mask.svg") center / 100% 100% no-repeat;
  mask: url("../img/masthead-cluster-mask.svg") center / 100% 100% no-repeat;
}

.masthead--shape-weave .masthead__shape {
  -webkit-mask: url("../img/masthead-weave-mask.svg") center / 100% 100% no-repeat;
  mask: url("../img/masthead-weave-mask.svg") center / 100% 100% no-repeat;
}

.masthead--shape-circle .masthead__shape {
  -webkit-mask: url("../img/masthead-circle-mask.svg") center / 100% 100% no-repeat;
  mask: url("../img/masthead-circle-mask.svg") center / 100% 100% no-repeat;
}

.masthead--shape-at-top-right .masthead__shape {
  top: 0;
  right: 0;
}

.masthead--shape-at-right-center .masthead__shape {
  top: 50%;
  right: 0;
  transform: translateY(-50%) rotate(90deg);
}

.masthead--shape-at-bottom-right .masthead__shape {
  right: 0;
  bottom: 0;
  transform: scaleY(-1);
}

.masthead--shape-at-top-left .masthead__shape {
  top: 0;
  left: 0;
  transform: scaleX(-1);
}

.masthead--shape-at-left-center .masthead__shape {
  top: 50%;
  left: 0;
  transform: translateY(-50%) rotate(-90deg);
}

.masthead--shape-at-bottom-left .masthead__shape {
  bottom: 0;
  left: 0;
  transform: scale(-1);
}

@media (min-width: 601px) and (max-width: 900px) {
  .masthead--standard .masthead__copy {
    max-width: calc(100% - 16rem);
  }

  .masthead--compact.masthead--shape-circle .masthead__copy {
    max-width: calc(100% - 16rem);
  }
}


/* ==========================================================================
   Home page
   ========================================================================== */

@media (min-width: 1081px) {
  .masthead--expanded .masthead__title { max-width: 23ch; }
  .masthead--expanded .masthead__copy { max-width: 42rem; }
}

/* ==========================================================================
   Services overview
   ========================================================================== */

.services-page {
  font-size: var(--type-marketing-prose);
  line-height: 1.62;
}

.services-section__inner {
  width: 100%;
  max-width: calc(var(--measure-marketing) + (2 * var(--gutter)));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.services-section__inner--reading {
  max-width: calc(var(--measure-marketing) + (2 * var(--gutter)));
}

.services-section__inner--reading > * {
  max-width: var(--measure-reading);
}

.services-section__opening {
  max-width: var(--measure-reading);
}

.services-opening,
.services-group,
.services-process,
.services-proof,
.services-final {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.services-opening {
  padding-top: clamp(3.5rem, 7vw, 6rem);
}

.services-opening h2,
.services-pathways h2,
.services-group h2,
.services-process h2,
.services-proof h2,
.services-final h2 {
  margin-bottom: var(--space-6);
  font-size: var(--type-heading-section);
}

.services-opening h2::before,
.services-pathways h2::before,
.services-group h2::before,
.services-process h2::before,
.services-proof h2::before,
.services-final h2::before {
  display: block;
  width: 2.5rem;
  margin-bottom: var(--space-6);
  border-top: 4px solid currentColor;
  content: "";
}

.services-opening__lede,
.services-group__tagline {
  color: var(--color-heading);
  font-size: var(--type-lede);
  font-weight: 700;
  line-height: 1.45;
}

.services-pathways {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  color: var(--color-offer-band-text);
  background: var(--color-offer-band);
}

.services-pathways h2,
.services-pathways .services-section__opening p {
  color: var(--color-offer-band-text);
}

.services-pathways__list,
.services-group__engagements {
  margin: 0;
  padding: 0;
  list-style: none;
}

.services-pathways__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-10);
}

.services-pathways__list li {
  display: flex;
  margin: 0;
}

.services-pathways__list a {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  color: var(--color-text);
  background: var(--color-offer-panel);
  border-top: 4px solid var(--color-heading);
  text-decoration: none;
}

.services-pathways__list a:hover {
  color: var(--color-action-hover);
  border-top-color: var(--color-action-hover);
}

.services-pathways__list strong {
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 24;
  font-size: var(--type-heading-small);
  line-height: 1.25;
}

.services-pathways__list span {
  font-size: var(--type-support);
  font-weight: 500;
  line-height: 1.5;
}

.services-group {
  scroll-margin-top: var(--space-8);
}

.services-group__opening {
  margin-bottom: var(--space-10);
}

.services-group__tagline {
  font-style: italic;
}

.services-group__urgent {
  margin-top: var(--space-6);
  padding-left: var(--space-4);
  color: var(--color-text-muted);
  border-left: 2px solid var(--color-boundary-strong);
}

.services-group__urgent a {
  font-weight: 700;
}

.services-group__engagements {
  max-width: var(--measure-marketing);
  margin: 0 auto;
}

.services-group__engagements li {
  margin: 0;
  padding: var(--space-8);
  background: var(--color-surface);
  border-left: 4px solid var(--color-offer-band);
}

.services-group__engagements li + li {
  margin-top: var(--space-4);
}

.services-group__engagements li > * {
  max-width: var(--measure-reading);
}

.services-group__engagements h3,
.services-group__note h3,
.services-process h3 {
  font-size: var(--type-heading-subsection);
}

.services-group__engagements h3::before,
.services-group__note h3::before {
  display: block;
  width: 2.25rem;
  margin-bottom: var(--space-5);
  border-top: 3px solid var(--color-heading);
  content: "";
}

.services-group__promise {
  color: var(--color-heading);
  font-weight: 700;
}

.services-group__fit {
  margin-top: var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--type-support);
  font-weight: 500;
}

.services-group__fit strong {
  color: var(--color-heading);
}

.services-group__detail-link {
  display: inline-flex;
  margin-top: var(--space-3);
  font-weight: 700;
}

.services-group__note {
  max-width: var(--measure-marketing);
  margin: var(--space-4) auto 0;
  padding: var(--space-8);
  background: var(--color-surface-muted);
  border-left: 4px solid var(--color-boundary-strong);
}

.services-group__note > * {
  max-width: var(--measure-reading);
}

.consultancy-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-6);
  padding: calc(var(--space-3) - var(--action-label-optical-offset)) var(--space-8)
    calc(var(--space-3) + var(--action-label-optical-offset));
  color: var(--color-on-action);
  background: var(--color-action);
  border-radius: var(--radius-action);
  font-family: var(--font-heading);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 24;
  font-size: var(--type-heading-small);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.consultancy-action:hover {
  color: var(--color-on-action);
  background: var(--color-action-hover);
}

.consultancy-action--wide {
  display: flex;
  width: min(100%, var(--measure-reading));
  margin-right: auto;
  margin-left: auto;
}

.consultancy-statement {
  margin: 0;
  padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter);
  color: var(--color-inverse-text);
  background: var(--color-inverse-surface);
}

.consultancy-statement p {
  max-width: var(--measure-marketing);
  margin: 0 auto;
  color: inherit;
  font-family: var(--font-heading);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 24;
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
}

.services-process {
  color: var(--color-offer-band-text);
  background: var(--color-offer-band);
}

.services-process h2,
.services-process .services-section__opening p {
  color: var(--color-offer-band-text);
}

.services-process__lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.services-process__lists section {
  padding: var(--space-8);
  color: var(--color-text);
  background: var(--color-offer-panel);
  border-top: 4px solid var(--color-heading);
}

.services-process__lists h3 {
  color: var(--color-heading);
}

.services-process__lists ul {
  margin-bottom: 0;
}

.services-proof {
  background: var(--color-surface-muted);
}

.services-proof figure,
.services-proof blockquote {
  margin: 0;
}

.services-proof blockquote {
  padding-left: var(--space-6);
  border-left: 4px solid var(--color-action);
}

.services-proof blockquote p {
  margin: 0;
  color: var(--color-heading);
  font-size: var(--type-lede);
  font-weight: 500;
  line-height: 1.55;
}

.services-proof figcaption {
  display: grid;
  margin-top: var(--space-5);
  padding-left: calc(var(--space-6) + 4px);
  font-size: var(--type-support);
}

.services-proof figcaption span {
  color: var(--color-text-muted);
  font-weight: 500;
}

.services-final {
  color: var(--color-inverse-text);
  background: var(--color-inverse-surface);
  border-top: 4px solid var(--color-brand-display);
}

.services-final h2,
.services-final p {
  color: var(--color-inverse-text);
}

.services-final__focused-offer {
  margin-top: var(--space-6);
  color: var(--color-inverse-muted) !important;
  font-size: var(--type-support);
  font-weight: 500;
}

.services-final__focused-offer a {
  color: var(--color-inverse-text);
  font-weight: 700;
}

.page-services .site-footer {
  margin-top: 0;
}


/* ==========================================================================
   Focused audience, problem, and event landing pages
   ========================================================================== */

.focused-landing {
  font-size: var(--type-marketing-prose);
  line-height: 1.62;
}

.focused-section {
  padding: 0;
}

.focused-section__inner {
  width: min(var(--shell), calc(100% - (2 * var(--gutter))));
  margin: 0 auto;
}

.focused-section-group .focused-section + .focused-section .focused-section__inner {
  margin-top: var(--space-12);
  padding-top: var(--space-12);
  border-top: 1px solid var(--color-boundary);
}

.focused-prelude {
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-boundary);
}

.focused-prelude p {
  font-family: var(--font-heading);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 24;
  font-size: var(--type-lede);
  font-weight: 600;
  line-height: 1.5;
}

.focused-prelude p:last-child {
  margin-bottom: 0;
}

.focused-section__reading {
  max-width: var(--measure-reading);
}

.focused-section h2 {
  margin-bottom: var(--space-6);
  font-size: var(--type-heading-section);
  line-height: 1.25;
}

.focused-section h2::before {
  display: block;
  width: 2.5rem;
  margin-bottom: var(--space-6);
  border-top: 4px solid currentColor;
  content: "";
}

.focused-section h3 {
  font-size: var(--type-heading-subsection);
  line-height: 1.3;
}

.focused-section__lede {
  color: var(--color-heading);
  font-size: var(--type-lede);
  font-weight: 700;
  line-height: 1.45;
}

.focused-text-action {
  display: inline-flex;
  margin-top: var(--space-5);
  font-weight: 700;
}

.focused-recognition {
  padding-top: 0;
}

.focused-recognition__questions {
  margin: var(--space-6) 0;
  padding: 0;
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 24;
  font-size: var(--type-heading-small);
  font-style: italic;
  font-weight: 600;
  line-height: 1.45;
  list-style: none;
}

.focused-recognition__questions li + li {
  margin-top: var(--space-2);
}

.focused-recognition__symptoms {
  max-width: var(--measure-marketing);
  margin-top: var(--space-10);
  padding: var(--space-8);
  background: transparent;
  border-top: 4px solid var(--color-offer-band);
}

.focused-recognition__symptoms h3 {
  margin-bottom: var(--space-5);
}

.focused-recognition__symptoms ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3) var(--space-8);
  margin: 0;
}

.focused-recognition__symptoms li {
  margin: 0;
}

.focused-stakes {
  color: inherit;
  background: transparent;
}

.focused-stakes h2,
.focused-stakes .focused-section__lede,
.focused-stakes p {
  color: inherit;
}

.focused-system {
  color: inherit;
  background: transparent;
}

.focused-system h2,
.focused-system .focused-section__lede,
.focused-system p {
  color: inherit;
}

.focused-system__actors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin: var(--space-10) 0 0;
  padding: 0;
  list-style: none;
}

.focused-system__actors li {
  display: grid;
  align-content: start;
  gap: var(--space-1);
  margin: 0;
  padding: var(--space-5);
  color: var(--color-text);
  background: var(--color-offer-panel);
  border-top: 4px solid var(--color-heading);
}

.focused-system__actors strong {
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 24;
  font-size: var(--type-heading-small);
  line-height: 1.3;
}

.focused-system__actors span {
  font-size: var(--type-support);
  font-weight: 500;
}

.focused-system__explanation {
  margin-top: var(--space-10);
}

.focused-help {
  scroll-margin-top: var(--space-8);
}

.focused-help__items,
.focused-fit__items,
.focused-services__list,
.focused-guidance__list {
  margin: var(--space-10) 0 0;
  padding: 0;
  list-style: none;
}

.focused-help__items {
  max-width: var(--measure-marketing);
}

.focused-help__items > li {
  margin: 0;
  padding: var(--space-8);
  background: transparent;
  border-left: 4px solid var(--color-offer-band);
}

.focused-help__items > li + li {
  margin-top: var(--space-4);
}

.focused-help__items h3,
.focused-help__items p {
  max-width: var(--measure-reading);
}

.focused-help__items h3::before,
.focused-services__list h3::before {
  display: block;
  width: 2.25rem;
  margin-bottom: var(--space-5);
  border-top: 3px solid var(--color-heading);
  content: "";
}

.focused-perspective--muted {
  color: inherit;
  background: transparent;
}

.focused-perspective--muted h2,
.focused-perspective--muted .focused-section__lede,
.focused-perspective--muted p {
  color: inherit;
}

.focused-perspective__items {
  margin-bottom: 0;
}

.focused-fit {
  color: inherit;
  background: transparent;
}

.focused-fit h2,
.focused-fit .focused-section__lede,
.focused-fit p {
  color: inherit;
}

.focused-fit__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.focused-fit__items li {
  margin: 0;
  padding: var(--space-5);
  color: var(--color-text);
  background: var(--color-offer-panel);
  border-top: 3px solid var(--color-heading);
  font-weight: 500;
}

.focused-services {
  color: inherit;
  background: transparent;
}

.focused-services > .focused-section__inner > h2 {
  max-width: var(--measure-reading);
  color: inherit;
}

.focused-services__list > li {
  margin: 0;
  padding: var(--space-8);
  color: var(--color-text);
  background: var(--color-offer-panel);
  border-top: 4px solid var(--color-heading);
}

.focused-services__list > li + li {
  margin-top: var(--space-4);
}

.focused-services__list > li > * {
  max-width: var(--measure-reading);
}

.focused-services__situation {
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 24;
  font-size: var(--type-heading-small);
  font-style: italic;
  font-weight: 700;
  line-height: 1.4;
}

.focused-services__list ul {
  margin-top: var(--space-5);
}

.focused-evidence {
  background: transparent;
}

.focused-evidence dl {
  margin: var(--space-8) 0 0;
}

.focused-evidence dl div {
  padding: var(--space-5) 0;
  border-top: 1px solid var(--color-boundary);
}

.focused-evidence dt {
  color: var(--color-heading);
  font-weight: 700;
}

.focused-evidence dd {
  margin: var(--space-2) 0 0;
}

.focused-evidence figure {
  margin: var(--space-10) 0 0;
}

.focused-evidence blockquote {
  padding-left: var(--space-6);
  border-left: 4px solid var(--color-action);
}

.focused-evidence blockquote p {
  color: var(--color-heading);
  font-size: var(--type-lede);
  font-weight: 500;
  line-height: 1.55;
}

.focused-evidence figcaption {
  display: grid;
  margin-top: var(--space-4);
  padding-left: calc(var(--space-6) + 4px);
  font-size: var(--type-support);
}

.focused-evidence figcaption span {
  color: var(--color-text-muted);
}

.focused-guidance__list {
  max-width: var(--measure-marketing);
}

.focused-guidance__list li {
  margin: 0;
  padding: var(--space-6) 0;
  border-top: 1px solid var(--color-boundary);
}

.focused-guidance__list li:last-child {
  border-bottom: 1px solid var(--color-boundary);
}

.focused-guidance__list a {
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 24;
  font-size: var(--type-heading-subsection);
  font-weight: 700;
}

.focused-guidance__list p {
  max-width: var(--measure-reading);
  margin-top: var(--space-2);
  color: var(--color-text-muted);
}

.focused-final {
  color: inherit;
  background: transparent;
}

.focused-final h2,
.focused-final p {
  color: inherit;
}

.focused-final__reassurance {
  margin-top: var(--space-5);
  color: var(--color-inverse-muted) !important;
  font-size: var(--type-support);
  font-weight: 500;
}

.page-focused-landing .masthead__title {
  max-width: 25ch;
}

.page-focused-landing .site-footer {
  margin-top: 0;
}


/* ==========================================================================
   Content pages (services, speaking, terms, privacy)
   ========================================================================== */

.content-page {
  max-width: var(--measure-focused);
  margin: 0 auto;
  padding: var(--space-12) var(--gutter) var(--space-16);
}

.content-page__title {
  font-size: var(--type-title);
  color: var(--color-action);
  margin-bottom: var(--space-5);
}

.content-page__intro {
  font-family: var(--font-body);
  font-size: var(--type-lede);
  font-weight: 500;
  line-height: 1.55;
  color: var(--color-heading);
  max-width: 36em;
  padding-left: var(--space-5);
  border-left: 3px solid var(--color-action);
  margin-bottom: var(--space-10);
}

.content-page__body {
  font-size: var(--type-prose);
  line-height: 1.62;
  margin-bottom: var(--space-10);
}

.content-page__body h2 {
  font-size: var(--type-heading-section);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.content-page__body h3 {
  font-size: var(--type-heading-small);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.content-page__body p {
  line-height: 1.68;
}


/* ==========================================================================
   Legal reading
   ========================================================================== */

.legal-page {
  width: 100%;
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: var(--space-10) var(--gutter) var(--space-16);
}

.legal-page__record,
.legal-page__contact {
  width: 100%;
  max-width: var(--measure-reading);
  margin-left: calc(14rem + var(--space-8) + 2px + var(--space-8));
}

.legal-page__record {
  margin-bottom: var(--space-10);
}

.legal-page__intro {
  margin-bottom: var(--space-6);
  font-size: var(--type-lede);
  font-weight: 500;
  line-height: 1.55;
  color: var(--color-heading);
}

.legal-page__record dl {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-8);
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--type-support);
  font-weight: 500;
}

.legal-page__record dl div {
  display: flex;
  gap: var(--space-2);
}

.legal-page__record dt {
  font-weight: 700;
  color: var(--color-heading);
}

.legal-page__record dd {
  margin: 0;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(10rem, 14rem) 2px minmax(0, var(--measure-reading)) minmax(0, 1fr);
  gap: var(--space-8);
  align-items: start;
}

.legal-layout::before {
  grid-column: 2;
  align-self: stretch;
  width: 2px;
  background: var(--color-boundary);
  content: "";
}

.legal-layout__anchor {
  position: sticky;
  top: var(--space-8);
  grid-column: 1;
  grid-row: 1;
  max-height: calc(100vh - var(--space-16));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.legal-layout__anchor::-webkit-scrollbar {
  display: none;
}

.legal-page__body {
  min-width: 0;
  grid-column: 3;
  grid-row: 1;
  font-size: var(--type-legal-prose);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.legal-page__body h2 {
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  font-size: var(--type-heading-section);
  scroll-margin-top: var(--space-8);
}

.legal-page__body h2:first-child {
  margin-top: 0;
}

.legal-page__body h3 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
  font-size: var(--type-heading-small);
  scroll-margin-top: var(--space-8);
}

.legal-page__body h2:target,
.legal-page__body h3:target {
  outline: 3px solid var(--color-focus);
  outline-offset: var(--space-2);
}

.legal-page__contact {
  margin-top: var(--space-12);
  padding: var(--space-8);
  background: var(--color-surface-muted);
  border-top: 2px solid var(--color-boundary-strong);
}

.legal-page__contact h2 {
  font-size: var(--type-heading-small);
}

.legal-page__contact p {
  overflow-wrap: anywhere;
}

/* ==========================================================================
   Consultancy offers
   ========================================================================== */

.consultancy-offer {
  padding-bottom: 0;
}

.consultancy-offer__opening {
  position: relative;
}

.consultancy-offer__section,
.consultancy-offer__use-cases-section h2 {
  max-width: var(--measure-marketing);
}

.consultancy-offer__promise {
  max-width: 22em;
  margin: 0 0 var(--space-5);
  font-size: var(--type-offer-promise);
  line-height: 1.2;
}

.consultancy-offer__opening p,
.consultancy-offer__section p {
  font-size: var(--type-prose);
  line-height: 1.68;
}

.consultancy-offer__opening p.consultancy-offer__opening-context,
.consultancy-offer__section p.consultancy-offer__section-lede {
  font-family: var(--font-body);
  font-size: var(--type-lede);
  font-weight: 500;
  line-height: 1.55;
  color: var(--color-heading);
}

.consultancy-offer__opening-context {
  max-width: var(--measure-reading);
  margin-bottom: var(--space-5);
}

.consultancy-offer__opening-detail {
  max-width: var(--measure-reading);
}

.consultancy-offer__opening-detail p:last-child {
  margin-bottom: 0;
}

.consultancy-offer__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-3);
  padding: var(--space-4) var(--space-8);
  font-size: var(--type-lede);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  color: var(--color-on-action);
  background: var(--color-action);
  border-radius: var(--radius-action);
}

.consultancy-offer__button:hover {
  color: var(--color-on-action);
  background: var(--color-action-hover);
}

.consultancy-offer__section {
  margin: 0;
}

.consultancy-offer__section h2 {
  margin-bottom: var(--space-6);
  font-size: var(--type-heading-section);
}

.consultancy-offer__use-cases {
  display: block;
  width: 100%;
  margin: var(--space-10) 0 0;
  padding: 0;
  list-style: none;
}

.consultancy-offer__use-cases li {
  margin: 0;
  padding: var(--space-8);
  color: var(--color-text);
}

.consultancy-offer__use-cases li + li {
  margin-top: var(--space-2);
}

.consultancy-offer__use-cases h3 {
  color: var(--color-heading);
  margin-bottom: var(--space-3);
  font-size: var(--type-heading-subsection);
}

.consultancy-offer__use-cases h3::before {
  display: block;
  width: 2.25rem;
  margin-bottom: var(--space-5);
  border-top: 4px solid var(--color-heading);
  content: "";
}

.consultancy-offer__use-cases p,
.consultancy-offer__deliverables {
  max-width: var(--measure-reading);
  font-size: var(--type-prose);
  line-height: 1.6;
}

.consultancy-offer__section + .consultancy-offer__section {
  margin-top: var(--space-12);
  padding-top: var(--space-12);
  border-top: 1px solid var(--color-boundary);
}

.consultancy-offer__section > p:not(.consultancy-offer__section-lede),
.consultancy-offer__deliverables {
  max-width: var(--measure-reading);
}

.consultancy-offer__boundary {
  margin-top: var(--space-6);
  padding-left: var(--space-4);
  font-weight: 500;
  color: var(--color-text-muted);
  border-left: 2px solid var(--color-boundary-strong);
}

.consultancy-offer__use-cases-section {
  color: inherit;
}

.consultancy-offer__investment {
  color: inherit;
}

.consultancy-offer__investment-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-12);
}

.consultancy-offer__investment h2,
.consultancy-offer__price {
  color: var(--color-inverse-text);
}

.consultancy-offer__investment h2 {
  margin-bottom: var(--space-3);
  font-size: var(--type-heading-section);
}

.consultancy-offer__price,
.consultancy-offer__availability {
  margin-bottom: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--type-prose);
  font-weight: var(--weight-inverse-prose);
  line-height: 1.68;
}

.consultancy-offer__availability {
  margin: 0;
  color: var(--color-inverse-muted);
}

.consultancy-offer__button--inverse {
  flex: 0 0 auto;
  margin-top: 0;
}


/* ==========================================================================
   Lead magnets
   ========================================================================== */

.lead-magnet {
  width: min(var(--shell), calc(100% - (2 * var(--gutter))));
  margin: 0 auto;
  padding: var(--space-12) 0 var(--space-16);
}

.lead-magnet__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.75fr);
  gap: var(--space-16);
  align-items: start;
}

.lead-magnet__content {
  min-width: 0;
  max-width: var(--measure-focused);
}

.lead-magnet__intro {
  margin-bottom: var(--space-10);
}

.lead-magnet__eyebrow {
  margin: 0 0 var(--space-4);
  color: var(--color-action);
  font-size: var(--type-support);
  font-weight: 700;
  line-height: 1.35;
}

.lead-magnet__title {
  margin-bottom: var(--space-5);
  font-size: var(--type-title);
}

.lead-magnet__lede {
  max-width: 34em;
  margin-bottom: 0;
  font-family: var(--font-body);
  font-size: var(--type-lede);
  font-weight: 500;
  line-height: 1.55;
  color: var(--color-heading);
}

.lead-magnet__outcomes {
  display: grid;
  gap: var(--space-4);
  margin: 0 0 var(--space-10);
  padding-left: var(--space-6);
  font-size: var(--type-prose);
  line-height: 1.55;
}

.lead-magnet__outcomes strong {
  color: var(--color-heading);
}

.lead-magnet__artwork {
  position: sticky;
  top: var(--space-8);
  margin: 0;
  padding: var(--space-6);
  background: var(--color-surface-muted);
  border-top: 3px solid var(--color-boundary-strong);
}

.lead-magnet__artwork img {
  display: block;
  width: 100%;
  height: auto;
}

.lead-magnet-form {
  margin-top: var(--space-8);
  padding: var(--space-8);
  background: var(--color-surface-muted);
  border-top: 4px solid var(--color-action);
}

.lead-magnet-form__heading {
  margin-bottom: var(--space-6);
  font-size: var(--type-heading-section);
}

.lead-magnet-form__status {
  margin-bottom: var(--space-6);
  padding: var(--space-4);
  color: var(--color-error);
  background: var(--color-error-surface);
  border-left: 4px solid var(--color-error);
}

.lead-magnet-form__status p {
  margin: 0;
}

.lead-magnet-form__field {
  margin-bottom: var(--space-5);
}

.lead-magnet-form__field label {
  display: block;
  margin-bottom: var(--space-2);
  font-weight: 700;
  color: var(--color-heading);
}

.lead-magnet-form__field input {
  width: 100%;
  min-height: 3rem;
  padding: var(--space-3) var(--space-4);
  font: inherit;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-boundary-strong);
  border-radius: 2px;
}

.lead-magnet-form__field input[aria-invalid="true"] {
  border-color: var(--color-error);
}

.lead-magnet-form__field input:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}

.lead-magnet-form__error {
  margin-top: var(--space-2);
  margin-bottom: 0;
  font-size: var(--type-support);
  font-weight: 600;
  color: var(--color-error);
}

.lead-magnet-form__consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-3);
  align-items: start;
  margin-bottom: var(--space-6);
}

.lead-magnet-form__consent input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.1em;
  accent-color: var(--color-action);
}

.lead-magnet-form__consent label {
  line-height: 1.45;
}

.lead-magnet-form__submit {
  width: 100%;
  min-height: 3rem;
  padding: var(--space-3) var(--space-6);
  font: inherit;
  font-weight: 700;
  color: var(--color-on-action);
  background: var(--color-action);
  border: 0;
  border-radius: var(--radius-action);
  cursor: pointer;
}

.lead-magnet-form__submit:hover {
  background: var(--color-action-hover);
}

.lead-magnet-form__submit:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

.lead-magnet-form__privacy,
.lead-magnet__bonus {
  font-size: var(--type-support);
  font-weight: 500;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.lead-magnet-form__privacy {
  margin-top: var(--space-4);
  margin-bottom: 0;
}

.lead-magnet__bonus {
  margin-top: var(--space-6);
  padding-left: var(--space-4);
  border-left: 2px solid var(--color-boundary-strong);
}

.lead-magnet-form__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.directory-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.directory-list li {
  padding: var(--space-6) 0;
  border-top: 1px solid var(--color-boundary);
}

.directory-list h2 {
  font-size: var(--type-heading-section);
  margin-bottom: var(--space-2);
}

.directory-list p {
  font-size: var(--type-summary);
  line-height: 1.6;
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width: 1081px) and (max-width: 1199px) {
  .article-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
      "anchor"
      "body"
      "endmatter";
    max-width: calc(var(--measure-reading) + (2 * var(--gutter)));
    column-gap: 0;
  }

  .article-layout__anchor {
    position: static;
    max-height: none;
    padding: var(--space-5) 0;
    overflow-y: visible;
    border-top: 1px solid var(--color-boundary);
    border-bottom: 1px solid var(--color-boundary);
  }

  .toc__summary {
    display: list-item;
  }

  .toc__label {
    display: none;
  }

  .reading-rail {
    position: fixed;
    z-index: 60;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    border-radius: 0;
  }

  .reading-rail__fill {
    width: calc(var(--reading-progress, 0) * 100%);
    height: 100%;
  }
}

@media (max-width: 700px) {
  .article-list__row {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-6);
  }

  .article-list__image {
    width: 100%;
  }

  .article-list__title {
    font-size: 1.625rem;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .topic-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .topic-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .topic-list__item {
    padding: var(--space-6);
  }
}

@media (max-width: 1080px) {
  .lead-magnet__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-10);
  }

  .lead-magnet__content {
    max-width: var(--measure-focused);
  }

  .lead-magnet__artwork {
    position: static;
    max-width: 24rem;
    padding: var(--space-4);
  }

  .article-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
      "anchor"
      "body"
      "endmatter";
    max-width: calc(var(--measure-reading) + (2 * var(--gutter)));
  }

  /* Anchor stops being a column; ToC becomes a disclosure */
  .article-layout__anchor {
    position: static;
    max-height: none;
    overflow-y: visible;
    border-top: 1px solid var(--color-boundary);
    border-bottom: 1px solid var(--color-boundary);
    padding: var(--space-5) 0;
  }

  .toc__summary {
    display: list-item;
  }

  .toc__label {
    display: none;
  }

  /* Progress moves from the side rail to a fixed bar across the top */
  .reading-rail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 60;
    border-radius: 0;
  }

  .reading-rail__fill {
    height: 100%;
    width: calc(var(--reading-progress, 0) * 100%);
  }

  .article-related {
    margin-top: var(--space-8);
  }

  .article-endmatter {
    margin-top: var(--space-10);
  }

  .legal-page {
    max-width: calc(var(--measure-reading) + (2 * var(--gutter)));
  }

  .legal-page__record,
  .legal-page__contact {
    margin-left: 0;
  }

  .legal-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .legal-layout::before {
    display: none;
  }

  .legal-layout__anchor,
  .legal-page__body {
    grid-column: 1;
    grid-row: auto;
  }

  .legal-layout__anchor {
    position: static;
    max-height: none;
    margin-bottom: var(--space-8);
    padding: var(--space-5) 0;
    overflow-y: visible;
    border-top: 1px solid var(--color-boundary);
    border-bottom: 1px solid var(--color-boundary);
  }

}

@media (max-width: 900px) {
  .site-nav .site-nav__desktop {
    display: none;
  }

  .site-menu {
    display: block;
    position: relative;
  }

  .site-menu > summary {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    cursor: pointer;
    font-size: var(--type-body);
    font-weight: 600;
    color: var(--color-header-text);
  }

  .site-menu > summary::marker {
    content: "";
  }

  .site-menu__icon {
    width: 1.25rem;
    height: 0.875rem;
    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    position: relative;
  }

  .site-menu__icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    border-top: 2px solid currentColor;
    transform: translateY(-50%);
  }

  .site-menu:not([open]) > ul {
    display: none;
  }

  .site-menu[open] > ul {
    display: grid;
    position: absolute;
    z-index: 50;
    top: calc(100% + var(--space-3));
    right: 0;
    min-width: 12rem;
    gap: 0;
    padding: var(--space-2);
    background: var(--color-header-surface);
    border: 1px solid var(--color-header-boundary);
    box-shadow: 0 0.75rem 2rem var(--color-shadow);
  }

  .site-menu[open] li {
    margin: 0;
  }

  .site-menu[open] a {
    display: block;
    padding: var(--space-3);
  }

  .site-menu[open] a[aria-current]::before {
    position: static;
    width: 1.5rem;
    margin-bottom: var(--space-2);
  }

  .site-menu[open] a.site-nav__subscribe {
    margin-top: var(--space-2);
    text-align: center;
  }

  .services-pathways__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .focused-system__actors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 760px) {

  :root {
    --gutter-identity: 1.5rem;
  }

  .site-header__inner {
    min-height: 83px;
  }

  .services-pathways__list,
  .services-process__lists,
  .focused-recognition__symptoms ul,
  .focused-system__actors,
  .focused-fit__items {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  :root {
    --action-label-optical-offset: 0em;
  }

  .masthead {
    border-radius: 0 0 2rem 2rem;
  }

  .services-group__engagements li,
  .services-group__note,
  .services-process__lists section,
  .focused-recognition__symptoms,
  .focused-help__items > li,
  .focused-services__list > li {
    padding: var(--space-6);
  }

  .consultancy-action {
    width: 100%;
  }

  .masthead__title {
    max-width: 12ch;
  }

  .masthead--expanded .masthead__title {
    max-width: 11ch;
  }

  .masthead__copy {
    max-width: 25rem;
  }

  .masthead__actions {
    display: grid;
  }

  .masthead__action {
    width: 100%;
    min-width: 0;
  }

  .masthead__shape {
    width: 14rem;
  }

  .masthead--shape-at-top-right .masthead__shape,
  .masthead--shape-at-right-center .masthead__shape,
  .masthead--shape-at-bottom-right .masthead__shape {
    right: -5rem;
  }

  .masthead--shape-at-top-left .masthead__shape,
  .masthead--shape-at-left-center .masthead__shape,
  .masthead--shape-at-bottom-left .masthead__shape {
    left: -5rem;
  }

  .masthead--compact.masthead--shape-at-top-right .masthead__shape,
  .masthead--compact.masthead--shape-at-right-center .masthead__shape,
  .masthead--compact.masthead--shape-at-bottom-right .masthead__shape {
    right: -8rem;
  }

  .masthead--compact.masthead--shape-circle .masthead__copy {
    max-width: calc(100% - 4.5rem);
  }

  .masthead--reading.masthead--shape-at-top-right .masthead__shape,
  .masthead--reading.masthead--shape-at-right-center .masthead__shape,
  .masthead--reading.masthead--shape-at-bottom-right .masthead__shape {
    right: -9rem;
    width: 12rem;
  }

  .masthead--standard .masthead__shape {
    display: none;
  }

  .page-topics .masthead__shape {
    display: none;
  }

  .page-focused-landing .masthead--standard {
    padding-top: 3.75rem;
    padding-bottom: 3.5rem;
  }

  .page-focused-landing .masthead__title {
    max-width: none;
  }

  .page-focused-landing .masthead__shape {
    width: 11rem;
  }

  .consultancy-offer__opening {
    padding: var(--space-10) 0;
  }

  .consultancy-offer__use-cases-section {
    padding-top: var(--space-10);
    padding-bottom: var(--space-10);
  }

  .consultancy-offer__use-cases li {
    padding: var(--space-6);
  }

  .consultancy-offer__investment-inner {
    display: block;
  }

  .consultancy-offer__button {
    width: 100%;
    text-align: center;
  }

  .consultancy-offer__button--inverse {
    margin-top: var(--space-6);
  }

  .lead-magnet {
    padding-top: var(--space-8);
  }

  .lead-magnet-form {
    padding: var(--space-6);
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-6);
  }

  .site-footer__logo,
  .site-footer__social {
    justify-content: center;
  }

  .cta-card {
    padding: var(--space-6);
  }

  .article-record__row {
    grid-template-columns: 1fr;
    gap: var(--space-1);
  }
}

@media (max-width: 400px) {
  .site-logo img {
    height: 28px;
  }

  .article__title,
  .consultancy-offer__promise,
  .content-page__title,
  .articles-page__title,
  .masthead__title {
    overflow-wrap: anywhere;
  }

  .page-focused-landing .masthead__title {
    font-size: 1.875rem;
    line-height: 1.18;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Authored comparison tables: preserve column relationships at narrow widths. */
.article-table { overflow-x: auto; margin-block: var(--space-8); max-width: 100%; }
.article-table:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; }
.article-table table { border-collapse: collapse; width: 100%; font-size: var(--type-body); }
.article-table caption { text-align: left; font-weight: 700; padding-bottom: var(--space-3); }
.article-table th, .article-table td { padding: var(--space-3); border: 1px solid var(--color-boundary-strong); text-align: left; vertical-align: top; min-width: 9rem; }
.article-table th { background: var(--color-surface-muted); color: var(--color-heading); }
.article-layout__body :not(pre) > code { overflow-wrap: anywhere; }
