/* Breakaway GTM site styles. Tokens live in tokens.css. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--surface-page); color: var(--text-body);
  font: 400 var(--fs-body)/var(--lh-body) var(--font-body);
  -webkit-font-smoothing: antialiased; text-wrap: pretty;
  overflow-x: clip;
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text-strong); margin: 0; font-weight: 700; text-wrap: balance; }
h1 { font-size: var(--fs-display-l); line-height: var(--lh-display); letter-spacing: var(--ls-display); }
h2 { font-size: var(--fs-display-s); line-height: var(--lh-display-s); letter-spacing: var(--ls-title); }
h3 { font-size: var(--fs-title); line-height: var(--lh-title); letter-spacing: var(--ls-title); font-weight: 600; }
h4 { font-size: var(--fs-body-l); line-height: var(--lh-tight); font-weight: 600; letter-spacing: var(--ls-title); }
p { margin: 0; }
p + p { margin-top: var(--space-16); }
a { color: var(--text-link); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--dur-base) var(--ease-out); }
a:hover { color: var(--text-link-hover); }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 600; color: var(--text-strong); }
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--plum-100); color: var(--ink-900); }
:focus-visible { outline: none; box-shadow: var(--ring-focus); border-radius: var(--radius-6); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--oat-100); }
::-webkit-scrollbar-thumb { background: var(--ink-200); border-radius: 999px; border: 3px solid var(--oat-100); }
::-webkit-scrollbar-thumb:hover { background: var(--ink-300); }
html { scrollbar-color: var(--ink-200) var(--oat-100); }
input, textarea { caret-color: var(--plum-600); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout ---------- */
.wrap { max-width: var(--page-max); margin-inline: auto; padding-inline: var(--page-pad); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: var(--space-72); }
.section + .section { padding-top: 0; }
.on-dark + .section, .section + .section.on-dark { padding-top: var(--section-y); }
.hero + .beliefs { margin-top: var(--space-40); }
main[data-page-tree] .hero { min-height: 64vh; display: flex; align-items: center; }
main[data-page-tree] .hero .wrap { width: 100%; }
.cred-logos + p { margin-top: 0; }
.on-dark + .closing { padding-top: var(--section-y); }
.rule { border: 0; border-top: 1px solid var(--line-hairline); margin: 0; }
.grid { display: grid; gap: var(--space-24); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-56); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
.split--wide { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.stack > * + * { margin-top: var(--space-16); }
.stack-loose > * + * { margin-top: var(--space-32); }
.measure { max-width: 62ch; }
.measure-narrow { max-width: 48ch; }

/* ---------- type roles ---------- */
.display-xl { font-size: var(--fs-display-xl); line-height: var(--lh-display); letter-spacing: var(--ls-display); }
.display-l { font-size: var(--fs-display-l); line-height: var(--lh-display); letter-spacing: var(--ls-display); }
.display-m { font-size: var(--fs-display-m); line-height: var(--lh-display-s); letter-spacing: var(--ls-display); }
.display-s { font-size: var(--fs-display-s); line-height: var(--lh-display-s); }
.lede { font-size: var(--fs-body-l); line-height: 1.5; color: var(--text-muted); }
.small { font-size: var(--fs-body-s); }
.caption { font-size: var(--fs-caption); color: var(--text-subtle); line-height: 1.45; }
.muted { color: var(--text-muted); }
.subtle { color: var(--text-subtle); }
.label { font-weight: 500; font-size: var(--fs-body-s); color: var(--text-muted); }
.metric { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: var(--ls-display); }
.editorial {
  font: 400 var(--fs-display-s)/1.18 var(--font-editorial); color: var(--text-strong);
  border-left: 3px solid var(--plum-600); padding-left: var(--space-24); max-width: 30ch; text-wrap: balance;
}
.on-dark .editorial { border-color: var(--plum-300); color: var(--text-inverse); }
.section-head { margin-bottom: var(--space-40); max-width: 40ch; }
.section-head p { margin-top: var(--space-16); }
#proof .section-head { max-width: 58ch; }
.numbered { counter-reset: n; }
.numbered > li { list-style: none; counter-increment: n; display: grid; grid-template-columns: 40px 1fr; gap: var(--space-16); }
.numbered > li::before { content: counter(n); font: 700 var(--fs-title)/1 var(--font-display); color: var(--plum-600); font-variant-numeric: tabular-nums; padding-top: 3px; }
.numbered > li + li { margin-top: var(--space-32); }

/* ---------- logo ---------- */
/* Lockup (decided 2026-09-15): Antonio 700. BREAK in ink, AWAY in plum. GTM at 38% of the wordmark size sits after the Y
   with its cap top exactly on BREAKAWAY's cap top. The 0.242em top offset comes from Antonio's metrics
   (half-leading + ascent - cap height, scaled by the size difference), so the alignment holds at any size. */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.logo:hover { color: inherit; }
.wordmark { display: inline-flex; align-items: flex-start; font-family: var(--font-logo); font-weight: 700; line-height: 1; letter-spacing: 0.005em; text-transform: uppercase; }
.wordmark .w-break { color: var(--ink-800); }
.wordmark .w-away { color: var(--plum-600); }
.wordmark .w-gtm { display: block; font-size: 38%; line-height: 1; margin: 0.242em 0 0 0.10em; color: var(--ink-800); letter-spacing: 0.04em; }
.logo--header .wordmark { font-size: 34px; }
.logo--footer .wordmark { font-size: 64px; }
.on-dark .wordmark .w-break, .on-dark .wordmark .w-gtm { color: var(--oat-100); }
.on-dark .wordmark .w-away { color: var(--plum-300); }

/* ---------- header ---------- */
/* In-page anchors land below the sticky header, with the heading in view. */
html { scroll-padding-top: 112px; }

.site-header {
  position: sticky; top: 0; z-index: 50; height: 72px;
  background: rgba(237,230,216,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-hairline);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-24); }
.nav { display: flex; align-items: center; gap: var(--space-4); }
.nav a { color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: var(--fs-body-s); padding: 8px 12px; border-radius: var(--radius-pill); transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out); }
.nav a:hover { color: var(--text-strong); background: var(--oat-200); }
.nav a[aria-current="page"] { color: var(--text-strong); box-shadow: inset 0 -2px 0 var(--plum-600); border-radius: 0; padding-bottom: 6px; margin-bottom: 2px; }
.nav .btn { margin-left: var(--space-12); }
.nav a.btn-primary { color: var(--oat-100); background: var(--plum-600); box-shadow: none; padding: 0 20px; }
.nav a.btn-primary:hover { color: var(--oat-100); background: var(--plum-700); }
.nav-toggle { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--control-h-m); padding: 0 20px; border-radius: var(--radius-pill); border: 1px solid transparent;
  font-weight: 600; font-size: var(--fs-body-s); line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn:active { transform: scale(.98); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--plum-600); color: var(--oat-100); }
.btn-primary:hover { background: var(--plum-700); color: var(--oat-100); }
.btn-ink { background: var(--ink-800); color: var(--oat-100); }
.btn-ink:hover { background: var(--ink-900); color: var(--oat-100); }
.btn-outline { background: var(--surface-page); color: var(--text-strong); border-color: var(--line-strong); }
.btn-outline:hover { background: var(--oat-200); color: var(--text-strong); }
.btn-ghost { background: transparent; color: var(--text-strong); }
.btn-ghost:hover { background: var(--oat-200); color: var(--text-strong); }
.btn-inverse { background: var(--oat-100); color: var(--ink-800); }
.btn-inverse:hover { background: var(--oat-50); color: var(--ink-900); }
.on-dark .btn-outline { background: transparent; color: var(--text-inverse); border-color: var(--line-inverse-strong); }
.on-dark .btn-outline:hover { background: rgba(237,230,216,.08); color: var(--text-inverse); }
.btn-l { height: var(--control-h-l); padding: 0 28px; font-size: var(--fs-body); }
.btn-s { height: var(--control-h-s); padding: 0 14px; font-size: var(--fs-caption); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-12); align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--text-strong); }
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--dur-base) var(--ease-out); }
.link-arrow:hover { color: var(--plum-600); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- cards ---------- */
.card {
  background: var(--surface-card); border: 1px solid var(--line-hairline); border-radius: var(--radius-14);
  padding: var(--space-24); box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); color: inherit; }
.card h3 { margin-bottom: var(--space-12); }
.card p + p { margin-top: var(--space-12); }
.card .caption { margin-top: var(--space-16); }
.card-quiet { background: transparent; box-shadow: none; border-color: var(--line-default); }
.card-sunken { background: var(--surface-sunken); box-shadow: none; }
.panel { background: var(--surface-card); border: 1px solid var(--line-hairline); border-radius: var(--radius-22); overflow: hidden; }
.panel--ink { background: var(--ink-800); border-color: transparent; }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--radius-6); font-size: var(--fs-caption); font-weight: 500; background: var(--oat-200); color: var(--text-muted); }
.tag--plum { background: var(--plum-100); color: var(--plum-700); }
.tag--note { background: var(--straw-100); color: var(--ink-600); }
.badge { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: var(--radius-pill); font-size: var(--fs-caption); font-weight: 600; border: 1px solid var(--line-default); color: var(--text-muted); background: var(--surface-card); }

/* ---------- dark band ---------- */
.on-dark { background: var(--surface-inverse); color: var(--text-inverse); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--text-inverse); }
.on-dark .muted, .on-dark .lede, .on-dark .label { color: var(--text-inverse-muted); }
.on-dark .subtle, .on-dark .caption { color: var(--text-inverse-muted); }
.on-dark a { color: var(--plum-300); }
.on-dark a:hover { color: var(--oat-100); }
.on-dark .rule { border-color: var(--line-inverse); }
.on-dark strong { color: var(--text-inverse); }
.on-dark ::selection { background: var(--plum-700); color: var(--oat-100); }

/* ---------- forms ---------- */
.field { display: grid; gap: 8px; }
.field label { font-weight: 500; font-size: var(--fs-body-s); color: var(--text-strong); }
.field .hint { font-size: var(--fs-caption); color: var(--text-subtle); }
.input, .textarea, .select {
  width: 100%; min-height: var(--control-h-m); padding: 10px 14px; background: var(--surface-raised);
  border: 1px solid var(--line-default); border-radius: var(--radius-10); color: var(--text-body); font-size: var(--fs-body);
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-400); }
.input:hover, .textarea:hover, .select:hover { border-color: var(--line-strong); }
.input:focus-visible, .textarea:focus-visible, .select:focus-visible { border-color: var(--plum-600); box-shadow: var(--ring-focus); border-radius: var(--radius-10); }
.textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field.is-error .input, .field.is-error .textarea { border-color: var(--status-critical); }
.field .error { font-size: var(--fs-caption); color: var(--status-critical); display: none; }
.field.is-error .error { display: block; }
.form-grid { display: grid; gap: var(--space-24); }
.form-grid-2 { grid-template-columns: 1fr 1fr; }
.form-note { font-size: var(--fs-body-s); color: var(--text-muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-800); color: var(--text-inverse); padding-block: var(--space-72) var(--space-40); margin-top: var(--section-y); }
.site-footer { position: relative; overflow: hidden; }
.site-footer .wrap { position: relative; z-index: 1; }
.site-footer .top { display: grid; grid-template-columns: minmax(0, 1fr) repeat(2, max-content); column-gap: var(--space-56); row-gap: var(--space-40); align-items: start; justify-items: start; }
.site-footer h4 { color: var(--plum-300); font: 500 var(--fs-body-s)/1.2 var(--font-body); margin-bottom: var(--space-16); }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer ul a { color: var(--text-inverse); text-decoration: none; font-size: var(--fs-body-s); }
.site-footer ul a:hover { color: var(--plum-300); }
.site-footer .bottom { margin-top: var(--space-32); padding-top: var(--space-24); border-top: 1px solid var(--line-inverse); display: flex; justify-content: space-between; gap: var(--space-24); flex-wrap: wrap; font-size: var(--fs-caption); color: var(--text-inverse-muted); }
.site-footer .top { min-height: 380px; }
.site-footer .footer-tree { position: absolute; left: 0; top: 150px; width: 44%; max-width: 500px; height: auto; opacity: .6; pointer-events: none; z-index: 0; -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 92%); mask-image: linear-gradient(to bottom, #000 45%, transparent 92%); }
.site-footer .bottom { position: relative; z-index: 1; }
.site-footer .footer-tree .bw-art { height: auto; }

/* ---------- fractal art ---------- */
.bw-art { width: 100%; height: 100%; display: block; }
.bw-art rect { transition: opacity var(--dur-slow) var(--ease-out); }
.bw-art .bw-plum { transition: opacity var(--dur-slow) var(--ease-out), fill-opacity var(--dur-slow) var(--ease-out); }
/* The tree is a design element in the back of the page, never a framed focal point. */
.art-frame { position: relative; pointer-events: none; }
.art-frame .bw-art { position: absolute; inset: -6%; width: 112%; height: 112%; opacity: .8; }
.art-frame .art-caption { display: none; }
/* generation gating: .depth-N hides generations above N */
.depth-0 rect[data-g]:not([data-g="0"]) { opacity: 0; }
.depth-1 rect[data-g]:not([data-g="0"]):not([data-g="1"]) { opacity: 0; }
.depth-2 rect[data-g="3"], .depth-2 rect[data-g="4"], .depth-2 rect[data-g="5"], .depth-2 rect[data-g="6"], .depth-2 rect[data-g="7"], .depth-2 rect[data-g="8"], .depth-2 rect[data-g="9"], .depth-2 rect[data-g="10"] { opacity: 0; }
.depth-3 rect[data-g="4"], .depth-3 rect[data-g="5"], .depth-3 rect[data-g="6"], .depth-3 rect[data-g="7"], .depth-3 rect[data-g="8"], .depth-3 rect[data-g="9"], .depth-3 rect[data-g="10"] { opacity: 0; }
.depth-4 rect[data-g="5"], .depth-4 rect[data-g="6"], .depth-4 rect[data-g="7"], .depth-4 rect[data-g="8"], .depth-4 rect[data-g="9"], .depth-4 rect[data-g="10"] { opacity: 0; }
.depth-5 rect[data-g="6"], .depth-5 rect[data-g="7"], .depth-5 rect[data-g="8"], .depth-5 rect[data-g="9"], .depth-5 rect[data-g="10"] { opacity: 0; }
.depth-6 rect[data-g="7"], .depth-6 rect[data-g="8"], .depth-6 rect[data-g="9"], .depth-6 rect[data-g="10"] { opacity: 0; }
.depth-7 rect[data-g="8"], .depth-7 rect[data-g="9"], .depth-7 rect[data-g="10"] { opacity: 0; }
.depth-8 rect[data-g="9"], .depth-8 rect[data-g="10"] { opacity: 0; }
.depth-9 rect[data-g="10"] { opacity: 0; }
/* the plum square is always visible once its generation exists */
.bw-art .bw-plum { opacity: 1 !important; }

/* ---------- page tree: one very large, faint tree spanning the page behind the content ---------- */
main { position: relative; overflow-x: clip; } /* the page tree is wider than the viewport; clip it here so no width can pan sideways */
main > *:not(.page-tree) { position: relative; z-index: 1; }
.page-tree { position: absolute; top: -15vw; left: 62%; transform: translateX(-50%); width: 150vw; max-width: 2200px; aspect-ratio: 1.42; pointer-events: none; z-index: 0; }
/* the tree's faintness lives on the individual squares so the plum square can come to full color on hover */
.page-tree { opacity: 1; }
.page-tree .bw-art rect:not(.bw-plum) { opacity: .34; }
.page-tree .bw-plum { fill-opacity: .19; stroke-opacity: .19; pointer-events: auto; transition: fill-opacity var(--dur-slow) var(--ease-out), stroke-opacity var(--dur-slow) var(--ease-out); }
.page-tree .bw-plum:hover, .page-tree .bw-plum.is-hot { fill-opacity: 1; stroke-opacity: 1; }
.page-tree .bw-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-tree { -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 58%, transparent 96%), linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 58%, transparent 96%), linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%); -webkit-mask-composite: source-in; mask-composite: intersect; }
@media (max-width: 760px) {
  main[data-page-tree] { display: flex; flex-direction: column; }
  main[data-page-tree] .hero { order: -1; min-height: 0; display: block; padding-block: var(--space-40) 0; }
  main[data-page-tree] > *:not(.page-tree):not(.hero) { order: 1; }
  .page-tree { order: 0; position: relative; top: auto; left: auto; transform: none; width: 150vw; margin: -24vw 0 -40vw -30vw; aspect-ratio: 1.42; }
  .hero + .beliefs { margin-top: 0; }
  .page-tree .bw-art rect:not(.bw-plum) { opacity: .3; }
  .page-tree .bw-art rect[data-g="7"], .page-tree .bw-art rect[data-g="8"], .page-tree .bw-art rect[data-g="9"] { display: none; }
  .page-tree { -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 95%); mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 95%); -webkit-mask-composite: source-over; mask-composite: add; }
}

/* ---------- hero ---------- */
.hero { padding-block: var(--space-72) var(--space-96); position: relative; overflow: hidden; }
.hero .wrap { position: relative; }
.hero .split { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; gap: var(--space-40); }
.hero .split > div:first-child { position: relative; z-index: 1; }
.hero h1 { font-size: var(--fs-display-l); max-width: 19ch; }
.hero .lede { margin-top: var(--space-24); max-width: 44ch; }
.hero .btn-row { margin-top: var(--space-32); }
.hero-art { position: absolute; right: -14%; top: -22%; width: 66%; height: 144%; aspect-ratio: auto; }
.hero-art .bw-art { inset: 0; width: 100%; height: 100%; opacity: .55; }
.cred { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-12) var(--space-32); padding-block: var(--space-24); border-top: 1px solid var(--line-hairline); border-bottom: 1px solid var(--line-hairline); }
.cred .who { font-weight: 600; color: var(--text-strong); }
.cred .designations { display: flex; flex-wrap: wrap; gap: var(--space-8) var(--space-24); color: var(--text-muted); font-size: var(--fs-body-s); }
.cred .designations span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--plum-600); margin-right: 10px; vertical-align: 2px; }

/* ---------- credential marks ---------- */
/* Credential marks: one row in the footer, on ink. */
.cred-logos { list-style: none; }
.cred-logos li { display: flex; align-items: center; }
.cred-logos img { display: block; width: auto; }
.site-footer .cred-logos--footer { display: flex; flex-wrap: nowrap; justify-content: flex-end; align-items: center; gap: var(--space-40); padding: 0; border: 0; margin: var(--space-40) 0 0; position: relative; z-index: 1; }
.cred-logos--footer li a { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; text-decoration: none; }
.cred-logos--footer .cred-attio { height: 22px; filter: invert(1); }
.cred-logos--footer .cred-badge { height: 60px; }
.cred-logos--footer li span { font: 700 13px/1 var(--font-display); letter-spacing: -0.012em; color: var(--text-inverse); }

.cred-card-mark { height: 64px; display: flex; align-items: center; margin-bottom: var(--space-20); }
.cred-card-mark img { display: block; filter: grayscale(1); opacity: .82; transition: filter var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out); }
.cred-card:hover .cred-card-mark img, .cred-card:focus-within .cred-card-mark img { filter: none; opacity: 1; }
.cred-card-mark .cred-attio { height: 26px; width: auto; }
.cred-card-mark .cred-badge { height: 64px; width: auto; }
/* Five credentials: the two partner statuses on the first row, the three certifications under them. */
.cred-grid--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cred-grid--5 > .cred-card { grid-column: span 2; }
.cred-grid--5 > .cred-card:nth-child(-n+2) { grid-column: span 3; }

/* ---------- stages (MAP / CORE / TUNE) ---------- */
.stage-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-24); }
.stage { display: grid; grid-template-rows: auto 1fr; gap: 0; padding: 0; overflow: hidden; }
.stage .stage-art { aspect-ratio: 5 / 3; position: relative; overflow: hidden; }
.stage .stage-art .bw-art { position: absolute; inset: 8% 6% 4% 6%; width: 88%; height: 88%; opacity: .7; }
.stage .stage-body { padding: var(--space-24); }
.stage-word { color: var(--plum-600); }
.stage h3 { font-size: var(--fs-title); }
.stage p { margin-top: var(--space-12); color: var(--text-muted); font-size: var(--fs-body-s); }

/* ---------- sticky rail (How We Work) ---------- */
.rail-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-72); align-items: start; }
.rail { position: sticky; top: 104px; }
.rail .art-frame { aspect-ratio: 1 / 1; overflow: visible; }
.rail .rail-state { display: flex; gap: var(--space-8); margin-top: var(--space-16); flex-wrap: wrap; }
.rail .rail-state span { font-size: var(--fs-caption); color: var(--text-subtle); padding: 4px 0; border-bottom: 2px solid transparent; transition: color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out); }
.rail .rail-state span.is-on { color: var(--plum-700); border-bottom-color: var(--plum-600); }
.stage-section { padding-block: var(--space-56); }
.stage-section + .stage-section { border-top: 1px solid var(--line-hairline); }
.stage-section h2 { font-size: var(--fs-display-m); }
.stage-section .lede { margin-top: var(--space-16); }
.steps { list-style: none; display: grid; gap: var(--space-24); margin-top: var(--space-40); }
.steps li { display: grid; grid-template-columns: 140px 1fr; gap: var(--space-24); padding-top: var(--space-24); border-top: 1px solid var(--line-hairline); }
.steps li h4 { font-size: var(--fs-body-l); }
.steps li p { color: var(--text-muted); }
.steps li p + p { margin-top: var(--space-8); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-24); margin-top: var(--space-40); }
.facts h4 { font: 500 var(--fs-body-s)/1.3 var(--font-body); color: var(--text-muted); margin-bottom: var(--space-12); }
.facts ul { list-style: none; display: grid; gap: 8px; }
.facts li { padding-left: 16px; position: relative; font-size: var(--fs-body-s); }
.facts li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; background: var(--ink-300); }

/* ---------- how we work: three stages, full width ---------- */
.stage-block { padding-block: var(--space-72); }
.stage-block + .stage-block { border-top: 1px solid var(--line-hairline); }
.stage-block-head { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: var(--space-56); align-items: center; }
.stage-block-head h2 { font-size: var(--fs-display-m); }
.stage-block-head .lede { margin-top: var(--space-16); max-width: 56ch; }
.stage-block-art { position: relative; aspect-ratio: 1; }
.stage-block-art .bw-art { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .75; }
.stage-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-32); margin-top: var(--space-40); padding-top: var(--space-32); border-top: 1px solid var(--line-hairline); }
.stage-steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stage-steps h4 { font-size: var(--fs-body-l); margin-bottom: var(--space-8); color: var(--plum-600); }
.stage-steps p { font-size: var(--fs-body-s); color: var(--text-muted); }
.stage-facts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-40); margin-top: var(--space-40); }
.stage-facts h4 { font: 500 var(--fs-body-s)/1.3 var(--font-body); color: var(--text-muted); margin-bottom: var(--space-12); }
.stage-facts ul { list-style: none; display: grid; gap: 8px; }
.stage-facts li { padding-left: 16px; position: relative; font-size: var(--fs-body-s); }
.stage-facts li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; background: var(--ink-300); }
.stage-block > p { margin-top: var(--space-32); }

/* ---------- services ---------- */
.service-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-24); }
.service-cards .card { display: grid; grid-template-rows: auto auto 1fr auto; }
.service-cards .card .badge { justify-self: start; margin-top: var(--space-16); }
/* Services: four practice cards, no art. */
.practice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-24); margin-top: var(--space-40); }
.practice-card { display: grid; gap: var(--space-24); padding: var(--space-32); }
.practice-card .sits { display: flex; gap: 6px; flex-wrap: wrap; }
.practice-card h2 { font-size: var(--fs-display-s); line-height: 1.08; letter-spacing: -0.02em; margin-top: var(--space-16); }
.practice-card .promise { margin-top: 6px; font-size: var(--fs-body-l); color: var(--text-muted); }
.practice-card .problem { padding-top: var(--space-20); border-top: 1px solid var(--line-hairline); color: var(--text-body); }
.practice-card h3 { font-size: var(--fs-body); font-weight: 600; color: var(--text-strong); margin-bottom: var(--space-8); }
.practice-card .cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-24) var(--space-32); }
.practice-card ul { list-style: none; display: grid; gap: 6px; color: var(--text-muted); }
.practice-card li { padding-left: 16px; position: relative; }
.practice-card li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; background: var(--plum-600); }
.practice-card .foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-12) var(--space-24); padding-top: var(--space-20); border-top: 1px solid var(--line-hairline); font-size: var(--fs-body-s); color: var(--text-muted); }
.practice-card .foot strong { color: var(--text-strong); }
.practice-card .foot .link-arrow { margin-left: auto; }
/* Services: who the work is for. */
.audience { padding-block: var(--space-96, 96px) var(--space-72); }
.audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-24); margin-top: var(--space-40); }
.audience-card { display: grid; align-content: start; gap: var(--space-20); padding: var(--space-32); }
.audience-card h3 { font-size: var(--fs-title); line-height: 1.15; letter-spacing: -0.015em; }
.audience-card .who { font-size: var(--fs-caption); color: var(--plum-600); font-weight: 600; }
.audience-card ul { list-style: none; display: grid; gap: 6px; color: var(--text-muted); padding-top: var(--space-16); border-top: 1px solid var(--line-hairline); }
.audience-card li { padding-left: 16px; position: relative; }
.audience-card li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; background: var(--plum-600); }
.audience-card .btn-row { margin-top: var(--space-8); }
.anchor-nav { display: flex; flex-wrap: wrap; gap: var(--space-8); margin-top: var(--space-32); }
.anchor-nav a { text-decoration: none; color: var(--text-muted); font-size: var(--fs-body-s); font-weight: 500; padding: 8px 14px; border-radius: var(--radius-pill); border: 1px solid var(--line-default); }
.anchor-nav a:hover { color: var(--text-strong); background: var(--oat-200); }

/* ---------- results ---------- */
.note { display: flex; gap: var(--space-12); align-items: flex-start; padding: var(--space-16) var(--space-20); border-radius: var(--radius-10); background: var(--straw-100); color: var(--ink-800); font-size: var(--fs-body-s); }
.note svg { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.filters { display: flex; flex-wrap: wrap; gap: var(--space-8); }
.filters button { height: var(--control-h-s); padding: 0 14px; border-radius: var(--radius-pill); border: 1px solid var(--line-default); background: transparent; color: var(--text-muted); font-weight: 500; font-size: var(--fs-caption); cursor: pointer; transition: all var(--dur-base) var(--ease-out); }
.filters button:hover { background: var(--oat-200); color: var(--text-strong); }
.filters button[aria-pressed="true"] { background: var(--ink-800); color: var(--oat-100); border-color: var(--ink-800); }
.case { padding: 0; overflow: hidden; }
.case .case-top { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: var(--space-24); padding: var(--space-24); border-bottom: 1px solid var(--line-hairline); }
.case .case-art { aspect-ratio: 1; position: relative; }
.case .case-art .bw-art { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .7; }
.case .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--space-12); }
.case dl { display: grid; grid-template-columns: 110px 1fr; gap: var(--space-12) var(--space-24); padding: var(--space-24); }
.case dt { font-weight: 500; font-size: var(--fs-body-s); color: var(--text-subtle); }
.case dd { margin: 0; font-size: var(--fs-body-s); }
.case dd .ph { color: var(--text-muted); }
.ph::before { content: "["; } .ph::after { content: "]"; }
.case .result-line { display: grid; grid-template-columns: 110px 1fr; gap: var(--space-24); padding: var(--space-20) var(--space-24); border-top: 1px solid var(--line-hairline); background: var(--surface-raised); align-items: baseline; }
.case .result-line .metric { font-size: var(--fs-display-s); color: var(--text-strong); }
.case[hidden] { display: none; }

/* ---------- case study ---------- */
/* collab lockup: our wordmark × the client's mark */
.collab { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: var(--space-24); padding-bottom: var(--space-16); border-bottom: 1px solid var(--line-hairline); }
.wordmark--small { font-size: 22px; }
.collab-x { font: 400 18px/1 var(--font-body); color: var(--text-subtle); }
.collab-client { display: inline-flex; align-items: center; gap: 8px; font: 700 15px/1 var(--font-display); letter-spacing: -0.01em; color: var(--ink-900); }
/* client logos keep their own colors; only our credential badges are muted */
.collab-client img { height: 30px; width: auto; }
/* swipeable track: one card per view on phones, side by side on wide screens */
.case-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--space-24); margin-top: var(--space-32); }
a.case-teaser, .case-teaser {
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto auto; grid-template-areas: "head" "body" "metrics" "foot";
  row-gap: 0; padding: var(--space-28, 28px); margin-top: 0;
}
.case-metrics { margin-top: var(--space-24); }
.collab-client .logo-monarch { height: 14px; }
.collab-client .logo-leff { height: 22px; }
.case-teaser > .collab { grid-area: head; margin-bottom: var(--space-32); }
.case-teaser-body { grid-area: body; display: grid; align-content: start; }
.case-teaser-body .tag { justify-self: start; margin-bottom: var(--space-20); }
.case-teaser h3 { font-size: var(--fs-title); line-height: 1.2; margin-bottom: var(--space-24); text-wrap: pretty; }
/* an attributed quote: one plum rule spans the words and the name */
.cite { margin: 0; padding-left: var(--space-24); border-left: 3px solid var(--plum-600); }
.cite .editorial { border-left: 0; padding-left: 0; }
.cite p + p { margin-top: 8px; }
.case-teaser .case-quote { font-size: 21px; line-height: 1.25; max-width: none; }
.case-metrics { grid-area: metrics; list-style: none; display: grid; align-content: start; gap: var(--space-20); padding: var(--space-24); background: var(--surface-sunken); border-radius: var(--radius-14); }
.case-metrics li { display: grid; gap: 4px; }
.case-metrics .metric { font-size: var(--fs-display-s); color: var(--text-strong); line-height: 1; }
.case-metrics li > span:last-child { font-size: var(--fs-caption); color: var(--text-muted); line-height: 1.4; }
.case-foot { grid-area: foot; display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-24); flex-wrap: wrap; margin-top: var(--space-32); padding-top: var(--space-20); border-top: 1px solid var(--line-hairline); }
.case-study { padding-block: var(--space-72); }
.case-switch { display: flex; gap: 0; border-bottom: 1px solid var(--line-hairline); margin-top: var(--space-24); overflow-x: auto; scrollbar-width: none; }
.case-switch::-webkit-scrollbar { display: none; }
.case-switch [role="tab"] { flex: 0 0 auto; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 0 var(--space-32) var(--space-16); cursor: pointer; position: relative; opacity: .28; transition: opacity var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out); }
.case-switch [role="tab"]:first-child { padding-left: 0; }
.case-switch [role="tab"] + [role="tab"]::before { content: ""; position: absolute; left: 0; top: 4px; bottom: var(--space-16); width: 1px; background: var(--line-hairline); }
.case-switch [role="tab"]:hover { opacity: .7; }
.case-switch [role="tab"][aria-selected="true"] { opacity: 1; border-bottom-color: var(--plum-600); }
.case-switch [role="tab"]:focus-visible { outline: 2px solid var(--plum-600); outline-offset: 4px; border-radius: var(--radius-6); }
.case-switch .collab { margin: 0; padding: 0; border: 0; flex-wrap: nowrap; }
.case-study[role="tabpanel"] { padding-top: var(--space-56); }
.case-next { margin-top: var(--space-40); padding-top: var(--space-24); border-top: 1px solid var(--line-hairline); }

.case-study .case-head { display: block; }
.case-study .case-head .tags { flex-wrap: nowrap; }
.case-study .case-head h2, .case-study .case-head .who { max-width: 62ch; }
.case-study .case-head .cite .editorial { max-width: none; }
.case-study .case-head h2 { font-size: var(--fs-display-m); }
.case-study .case-head .who { margin-top: var(--space-16); color: var(--text-muted); }
/* the numbers get the page's one ink band, full bleed */
.case-stats-band { margin: var(--space-56) calc(50% - 50vw) 0; padding: var(--space-56) 0; }
.case-stats-band .case-stats { max-width: var(--page-max); margin-inline: auto; padding-inline: var(--page-pad); }
.case-study .case-stats { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-32); }
.case-study .case-stats li { display: grid; gap: 8px; align-content: start; }
.case-study .case-stats .metric { font-size: var(--fs-display-m); line-height: 1; color: var(--text-inverse); }
.case-study .case-stats li > span:last-child { font-size: var(--fs-caption); color: var(--text-inverse-muted); line-height: 1.45; }
.case-study .case-body { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: var(--space-24) var(--space-40); margin-top: var(--space-56); }
.case-study .case-body h3 { font-size: var(--fs-body-l); padding-top: 4px; color: var(--plum-600); }
.case-study .case-body .part { display: contents; }
.case-study .case-body .part > div { padding-bottom: var(--space-32); border-bottom: 1px solid var(--line-hairline); max-width: 62ch; }
.case-study .case-body .part:last-child > div { border-bottom: 0; }
.case-study .case-body p + p { margin-top: var(--space-12); }
.case-study .built { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-32); margin-top: var(--space-16); }
.case-study .built h4 { font-size: var(--fs-body); margin-bottom: var(--space-12); }
.case-study .built ul { list-style: none; display: grid; gap: 10px; }
.case-study .built li { padding-left: 16px; position: relative; font-size: var(--fs-body-s); color: var(--text-muted); }
.case-study .built li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; background: var(--plum-600); }
.case-study .built li strong { color: var(--text-strong); }
.case-study .case-art { position: relative; aspect-ratio: 5 / 4; }
.case-study .case-art .bw-art { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .75; }

@media (max-width: 1100px) {
  .case-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--space-16); margin-inline: calc(-1 * var(--page-pad)); padding-inline: var(--page-pad); padding-bottom: 6px; scrollbar-width: none; }
  .case-track::-webkit-scrollbar { display: none; }
  .case-track .case-teaser { flex: 0 0 86%; scroll-snap-align: start; }
  .collab { flex-wrap: nowrap; gap: 10px; }
  .wordmark--small { font-size: 17px; }
  .collab-x { font-size: 15px; }
  .collab-client { font-size: 13px; gap: 6px; }
  .collab-client img { height: 24px; }
}

@media (max-width: 900px) {
  a.case-teaser, .case-teaser { grid-template-columns: 1fr; grid-template-areas: "head" "body" "metrics" "foot"; padding: var(--space-24); }
  .case-metrics { margin-top: var(--space-24); }
}

/* ---------- insights ---------- */
.insight-list { list-style: none; border-top: 1px solid var(--line-hairline); }
.insight-list li { border-bottom: 1px solid var(--line-hairline); }
.insight-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-24); align-items: center; padding: var(--space-24) 0; text-decoration: none; color: inherit; }
.insight-list a:hover h3 { color: var(--plum-600); }
.insight-list h3 { transition: color var(--dur-base) var(--ease-out); }
.insight-list p { color: var(--text-muted); margin-top: 6px; font-size: var(--fs-body-s); max-width: 60ch; }
.insight-list .meta { font-size: var(--fs-caption); color: var(--text-subtle); white-space: nowrap; }
.article { max-width: 68ch; }
.article h1 { font-size: var(--fs-display-m); }
.article .byline { margin-top: var(--space-16); color: var(--text-subtle); font-size: var(--fs-body-s); }
.article .body { margin-top: var(--space-40); }
.article .body p + p { margin-top: var(--space-20); }
.article .body h2 { font-size: var(--fs-title); margin-top: var(--space-40); margin-bottom: var(--space-12); }
.article .editorial { margin-block: var(--space-40); }

/* ---------- about ---------- */
.belief-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-40) var(--space-32); }
.belief-list li { padding-top: var(--space-20); border-top: 1px solid var(--line-inverse); }
.belief-list h3 { font-size: var(--fs-title); color: var(--text-inverse); margin-bottom: var(--space-12); }
.belief-list p { color: var(--text-inverse-muted); font-size: var(--fs-body-s); }
/* three-belief variant: narrower rail so a single column of cells fills it */
.beliefs--three .split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.beliefs--three .belief-list { grid-template-columns: minmax(0, 1fr); }
.expertise-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-24); }
.expertise-grid .card .label { margin-bottom: var(--space-8); }
.expertise-grid .card h3 { font-size: var(--fs-body-l); }
.expertise-grid .card p { color: var(--text-muted); font-size: var(--fs-body-s); }

/* ---------- problem section: pieces come together ---------- */
.problem .split { grid-template-columns: 1fr; }
.problem .art-frame { aspect-ratio: 5 / 4; }
.problem .art-frame .bw-art { inset: -14% -18% -14% -6%; width: 124%; height: 128%; opacity: .7; }
.problem .argument p { max-width: 64ch; }
.problem .argument .list { display: grid; grid-template-columns: repeat(2, max-content); gap: 8px var(--space-56); margin-block: var(--space-24); color: var(--text-muted); }
.problem .argument .list span { display: block; padding-left: 16px; position: relative; }
.problem .argument .list span::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; background: var(--ink-300); }

/* ---------- closing ---------- */
.closing { padding-block: var(--space-96); }
.closing .split { align-items: center; }
.closing h2 { font-size: var(--fs-display-l); }

/* ---------- reveal (one authored entrance; not on every section) ---------- */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity var(--dur-page) var(--ease-out), transform var(--dur-page) var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }

/* ---------- contact ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-72); align-items: start; }
.contact-layout .aside { align-self: start; }
.contact-form { background: var(--surface-card); border: 1px solid var(--line-hairline); border-radius: var(--radius-22); padding: var(--space-40); }
.success { text-align: center; padding: var(--space-72) var(--space-40); }
.success .bw-mark { margin: 0 auto var(--space-24); }
.success h2 { font-size: var(--fs-display-s); }
.success p { margin-top: var(--space-16); color: var(--text-muted); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  :root { --fs-display-xl: 60px; --fs-display-l: 48px; --fs-display-m: 36px; --section-y: 80px; }
  .hero .split { grid-template-columns: 1fr; }
  .hero-art { position: relative; right: auto; top: auto; width: 100%; height: auto; aspect-ratio: 4 / 3; max-height: 420px; margin-top: var(--space-24); }
  .split, .split--wide, .rail-layout, .contact-layout, .problem .split, .beliefs--three .split { grid-template-columns: 1fr; gap: var(--space-40); }
  .rail { order: -1; position: sticky; top: 72px; z-index: 5; background: var(--surface-page); display: grid; grid-template-columns: 140px 1fr; gap: var(--space-16); align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-hairline); }
  .rail .art-frame { width: 140px; }
  .rail .art-frame .bw-art { padding: 4%; }
  .rail .bw-art rect:not(.bw-plum) { stroke: rgba(21,23,27,.75); }
  .rail .rail-state { margin-top: 0; }
  .rail .caption { display: none; }
  .grid-4, .expertise-grid, .stage-steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cred-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cred-grid--5 > .cred-card, .cred-grid--5 > .cred-card:nth-child(-n+2) { grid-column: auto; }
  .cred-grid--5 > .cred-card:last-child { grid-column: 1 / -1; }
  .stage-cards, .belief-list { grid-template-columns: 1fr; }
  .site-footer .top { grid-template-columns: 1fr 1fr; column-gap: var(--space-40); }
  .site-footer .top { min-height: 0; }
  .site-footer .footer-tree { position: static; width: 240px; margin-top: var(--space-24); opacity: .6; }
}
@media (max-width: 760px) {
  :root { --fs-display-xl: 44px; --fs-display-l: 38px; --fs-display-m: 32px; --fs-display-s: 27px; --fs-title: 21px; --page-pad: 20px; --section-y: 64px; }
  .nav { position: fixed; inset: 72px 0 auto 0; background: var(--oat-100); border-bottom: 1px solid var(--line-default); flex-direction: column; align-items: stretch; padding: var(--space-16) var(--space-20) var(--space-24); gap: 4px; box-shadow: var(--shadow-md); }
  .nav:not(.is-open) { display: none; }
  .nav a { font-size: var(--fs-body); padding: 12px 8px; border-radius: var(--radius-10); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--plum-700); }
  .nav .btn { margin: var(--space-12) 0 0; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: var(--radius-pill); border: 1px solid var(--line-default); background: transparent; cursor: pointer; }
  .nav-toggle svg { width: 20px; height: 20px; }
  .logo--header .wordmark { font-size: 30px; }
  .logo--footer .wordmark { font-size: 48px; }
  .grid-2, .grid-3, .grid-4, .cred-grid--5, .service-cards, .expertise-grid, .form-grid-2, .facts, .practice-grid, .practice-card .cols, .audience-grid, .stage-steps, .stage-steps--4, .stage-facts { grid-template-columns: 1fr; }
  .stage-block-head { grid-template-columns: 1fr; gap: var(--space-24); }
  .stage-block-art { max-width: 200px; }
  .steps li { grid-template-columns: 1fr; gap: var(--space-8); }
  .case .case-top { grid-template-columns: 1fr; }
  .case .case-art { max-width: 160px; }
  .case dl, .case .result-line { grid-template-columns: 1fr; gap: 4px; }
  .case dl { gap: var(--space-4) 0; }
  .case dt { margin-top: var(--space-12); }
  .case dt:first-child { margin-top: 0; }
  .insight-list a { grid-template-columns: 1fr; gap: var(--space-8); }
  .case-study .case-body, .case-study .built { grid-template-columns: 1fr; }
  .case-study .case-head .tags { flex-wrap: wrap; }
  .case-study .case-stats { grid-template-columns: 1fr 1fr; gap: var(--space-24); }
  .case-stats-band { padding: var(--space-40) 0; }
  .site-footer .top { grid-template-columns: 1fr; }
  .contact-form { padding: var(--space-24); border-radius: var(--radius-14); }
  .cred { flex-direction: column; align-items: flex-start; }
  .cred-logos { flex-wrap: nowrap; gap: var(--space-20); justify-content: flex-start; }
  .site-footer .cred-logos--footer { gap: clamp(var(--space-12), 3.5vw, var(--space-24)); justify-content: flex-start; }
  .cred-logos--footer .cred-attio { height: 20px; }
  .cred-logos--footer li span { font-size: var(--fs-caption); white-space: nowrap; }
  .cred-logos--footer .cred-badge { height: 42px; }
  .editorial { font-size: 24px; }
  .hero { padding-block: var(--space-40) var(--space-56); }
  .closing h2 { font-size: var(--fs-display-m); }
  .numbered > li { grid-template-columns: 32px 1fr; }
  /* proof cards stack on phones: a swipe track with no cue hid the second case */
  .case-track { display: grid; grid-auto-flow: row; grid-template-columns: 1fr; gap: var(--space-16); overflow: visible; margin-inline: 0; padding: 0; scroll-snap-type: none; }
  /* case switcher: every tab shares the width; the client mark alone names the tab */
  .case-switch { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); overflow: visible; }
  .case-switch [role="tab"], .case-switch [role="tab"]:first-child { min-width: 0; padding: 0 var(--space-8) var(--space-16); }
  .case-switch .collab { justify-content: center; min-width: 0; }
  .case-switch .wordmark, .case-switch .collab-x { display: none; }
  .case-switch .collab-client { max-width: 100%; }
  .case-switch .collab-client img { max-width: 100%; object-fit: contain; }
  .case-study .case-stats .metric { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* trademark sign in a nav label (GTM OS) */
.nav sup { font-size: 0.6em; line-height: 0; vertical-align: super; margin-left: 1px; font-weight: 500; }

/* GTM OS Certified Partner lockup under the home hero */
.hero-cred { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--space-16); align-items: center; margin-top: var(--space-32); max-width: 46ch; }
.hero-cred img { display: block; width: 56px; height: 56px; }
.hero-cred p { font-size: var(--fs-body-s); line-height: 1.5; color: var(--text-muted); margin: 0; }
.hero-cred sup, .assess-cred sup { font-size: 0.6em; line-height: 0; vertical-align: super; margin-left: 1px; }

/* a line break used on wider screens only; phones let the sentence wrap naturally */
@media (max-width: 760px) { .br-wide { display: none; } }

/* Where to start: four offers */
.offer-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto auto; column-gap: var(--space-32); row-gap: var(--space-16); }
.offer-group { display: grid; grid-row: span 3; grid-template-rows: subgrid; gap: var(--space-16); }
.offer-group > .label { margin-bottom: var(--space-4, 4px); }
.offer { display: grid; align-content: start; }
.offer .offer-sit { font-size: var(--fs-body-l); line-height: 1.4; color: var(--text-strong); margin-bottom: var(--space-16); text-wrap: pretty; }
.offer h3 { color: var(--plum-600); margin-bottom: var(--space-8, 8px); }
.offer .offer-body { font-size: var(--fs-body-s); color: var(--text-muted); }
.offer .tag { justify-self: start; margin-top: var(--space-20); }
.offer-else { margin-top: var(--space-40); padding-top: var(--space-24); border-top: 1px solid var(--line-hairline); display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-24); flex-wrap: wrap; }
.offer-else p { max-width: 78ch; color: var(--text-muted); }
@media (max-width: 900px) { .offer-groups { grid-template-columns: 1fr; grid-template-rows: none; row-gap: var(--space-32); } .offer-group { grid-row: auto; grid-template-rows: none; } }
#start.on-dark { padding-block: var(--section-y); }
#start.on-dark + .section { padding-top: var(--section-y); }
.on-dark .offer { background: rgba(237,230,216,.05); border-color: var(--line-inverse); box-shadow: none; }
.on-dark .offer .offer-sit { color: var(--text-inverse); }
.on-dark .offer h3 { color: var(--plum-300); }
.on-dark .offer .offer-body { color: var(--text-inverse-muted); }
.on-dark .offer .tag { background: rgba(237,230,216,.10); color: var(--text-inverse-muted); }
.on-dark .offer-else { border-top-color: var(--line-inverse); }
.on-dark .offer-else p { color: var(--text-inverse-muted); }
.on-dark .offer-else .link-arrow { color: var(--text-inverse); }
.on-dark .offer-else .link-arrow:hover { color: var(--plum-300); }

