/* CapEvolve site, brand v2.0. Ink, white and chalk carry the page; Signal orange marks commitments, results and the square.
   Problems and principles stay black. One 1240px column. Matches CapEvolve Credentials 2026. */
:root {
  --signal: #FF5A00;
  --ink: #0A0A0A;
  --white: #FFFFFF;
  --chalk: #EDEDE8;
  --graphite: #3A3A38;
  --fog: #8C8C86;
  --rule: #D3D3CC;
  --inkrule: #2E2E2C;
  --onink: #BDBDB6;
  --font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
  --max: 1240px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { color: var(--ink); text-decoration-color: var(--ink); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 900; text-wrap: balance; overflow-wrap: break-word; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 14px; font-weight: 800; }

/* Type */
.display { font-weight: 900; font-size: clamp(56px, 11vw, 168px); font-stretch: 125%; letter-spacing: -0.045em; line-height: 0.9; }
.h1 { font-size: clamp(38px, 5.4vw, 72px); font-stretch: 125%; letter-spacing: -0.035em; line-height: 1; }
.h2 { font-size: clamp(30px, 3.6vw, 52px); font-stretch: 125%; letter-spacing: -0.03em; line-height: 1.04; }
.h2--sm { font-size: clamp(26px, 2.8vw, 38px); }
.h3 { font-size: clamp(20px, 1.7vw, 24px); font-weight: 900; font-stretch: 115%; letter-spacing: -0.015em; line-height: 1.2; }
.lead { font-size: clamp(19px, 1.7vw, 23px); font-weight: 500; line-height: 1.5; max-width: 40ch; }
.lead--wide { max-width: 58ch; }
.lead b, .lead strong { font-weight: 800; }
.muted { color: var(--graphite); }
.small { font-size: 14px; line-height: 1.5; }
.measure { max-width: 62ch; }
.blk { display: inline-block; width: 0.26em; height: 0.26em; margin-left: 0.06em; background: var(--signal); vertical-align: 0.02em; }
.nowrap { white-space: nowrap; }
.tabnum { font-variant-numeric: tabular-nums; }

/* The kicker: a Signal square and a short bold label. Used above every section heading. */
.kick { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 800; line-height: 1.25; }
.kick::before { content: ""; flex: none; width: 11px; height: 11px; background: var(--signal); }
.khead { display: grid; gap: 14px; }

/* Six-square tracker: where this page sits in the CapEvolve story (same order as the credentials) */
.tracker { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 14px; font-weight: 800; }
.tracker .sq { display: inline-flex; gap: 4px; }
.tracker .sq i { width: 9px; height: 9px; background: var(--ink); }
.tracker .sq i.on { background: var(--signal); }
.tracker .sq i.on ~ i { background: var(--rule); }
.tracker .sub { font-weight: 600; color: var(--graphite); padding-left: 12px; border-left: 1px solid var(--rule); }
.on-ink .tracker .sq i { background: var(--white); }
.on-ink .tracker .sq i.on { background: var(--signal); }
.on-ink .tracker .sq i.on ~ i { background: var(--inkrule); }
.on-ink .tracker .sub { color: var(--onink); border-left-color: var(--inkrule); }

@media (max-width: 520px) { .h1 { font-size: 34px; font-stretch: 112%; } .h2 { font-size: 30px; font-stretch: 112%; } .stat-num { font-size: 60px; } .pname, .chap-word { font-stretch: 110%; } .display { font-stretch: 112%; } }

/* Buttons: ink block, white type, Signal square. On ink: white block. */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 20px; border: 2px solid var(--ink);
  background: var(--ink); color: var(--white);
  font: 800 16px/1.2 var(--font); text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--signal); }
.btn:hover { background: var(--white); color: var(--ink); }
.btn .arr { font-weight: 900; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--ghost:hover::before { background: var(--signal); }
.on-ink .btn { background: var(--white); color: var(--ink); border-color: var(--white); }
.on-ink .btn:hover { background: var(--ink); color: var(--white); }
.on-ink .btn--ghost { background: transparent; color: var(--white); border-color: var(--white); }
.on-ink .btn--ghost::before { background: var(--white); }
.on-ink .btn--ghost:hover { background: var(--white); color: var(--ink); }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.chip { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--white); padding: 9px 14px; font-size: 15px; font-weight: 800; line-height: 1.2; }
.chip::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--signal); }
.textlink { font-weight: 800; }

/* Header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--white); border-bottom: 1px solid var(--rule); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.logo svg { width: 30px; height: 20px; fill: currentColor; }
.logo svg .b, .mark .b { fill: var(--signal); }
.logo span { font-size: 20px; font-weight: 900; font-stretch: 125%; letter-spacing: -0.035em; }
.logo:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 700; padding-block: 6px; border-bottom: 3px solid transparent; }
.nav a:hover { border-bottom-color: var(--ink); }
.nav a[aria-current="page"] { border-bottom-color: var(--signal); }
.nav .btn { padding: 10px 16px; font-size: 15px; border-bottom-width: 2px; color: var(--white); }
.nav .btn:hover { color: var(--ink); border-bottom-color: var(--ink); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-weight: 800; font-size: 15px; padding: 10px 14px; border: 2px solid var(--ink); min-height: 44px; display: flex; align-items: center; gap: 10px; }
.menu summary::before { content: ""; width: 10px; height: 10px; background: var(--signal); }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--ink); color: var(--white); }
.menu nav { position: absolute; right: 0; top: calc(100% + 10px); width: min(320px, calc(100vw - 32px)); background: var(--white); border: 2px solid var(--ink); display: flex; flex-direction: column; padding: 10px; }
.menu nav a { color: var(--ink); text-decoration: none; font-weight: 800; padding: 12px 10px; border-bottom: 1px solid var(--rule); }
.menu nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--signal); }
.menu nav a:last-child { border-bottom: 0; background: var(--ink); color: var(--white); margin-top: 6px; }
@media (max-width: 1060px) { .nav { display: none; } .menu { display: block; } }

/* Sections */
.sec { padding-block: clamp(64px, 9vw, 120px); }
.sec--tight { padding-block: clamp(48px, 6vw, 80px); }
.sec--ink { background: var(--ink); color: var(--white); }
.sec--chalk { background: var(--chalk); }
.sec + .sec:not(.sec--ink):not(.sec--chalk) { border-top: 1px solid var(--rule); }
.sec--flush { padding-top: 0; }
.sec--flush.sec { border-top: 0; }
.on-ink a { color: var(--white); }
.on-ink .muted { color: var(--onink); }
.on-ink .kick { color: var(--white); }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 60px); max-width: 860px; }
.stack { display: grid; gap: 18px; }
.stack-lg { display: grid; gap: clamp(28px, 4vw, 48px); }

/* Grids */
.g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
@media (max-width: 960px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .g2, .g4 { grid-template-columns: 1fr; } }
.g2 > *, .g3 > *, .g4 > * { min-width: 0; }

/* Home hero: the cover. A black band across the page, the brand line in white, a Signal block at the edge. */
.hero { background: var(--white); }
.hero-top { padding-block: clamp(40px, 6vw, 80px) clamp(28px, 4vw, 48px); display: grid; gap: 12px; }
.hero-top h1 { font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; font-stretch: 100%; line-height: 1.4; max-width: 46ch; }
.hero-top .hero-name { font-size: clamp(22px, 2.2vw, 30px); font-weight: 900; font-stretch: 125%; letter-spacing: -0.03em; line-height: 1.1; }
.hero-band { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.hero-band .wrap { position: relative; padding-block: clamp(48px, 7vw, 96px); }
.hero-band .display { padding-right: clamp(64px, 20vw, 320px); }
.hero-band .display .ln { display: block; }
.hero-block { position: absolute; top: 0; bottom: 0; right: 0; width: clamp(48px, 17vw, 300px); background: var(--signal); }
.hero-foot { padding-block: clamp(36px, 5vw, 64px) clamp(56px, 8vw, 104px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.hero-foot .lead { max-width: 44ch; }
.hero-paths { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.hero-path { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.hero-path::before { content: ""; width: 14px; height: 14px; margin-top: 6px; background: var(--signal); }
.hero-path b { display: block; font-size: clamp(19px, 1.7vw, 23px); font-weight: 900; font-stretch: 115%; letter-spacing: -0.015em; line-height: 1.2; }
.hero-path span { display: block; font-size: 15px; color: var(--graphite); margin-top: 4px; }
.hero-path .arr { font-weight: 900; font-size: 20px; padding-top: 2px; transition: transform 0.15s ease; }
.hero-path:hover .arr { transform: translateX(4px); }
@media (max-width: 860px) { .hero-foot { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-band .display .ln { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.1, 1) both; }
  .hero-band .display .ln:nth-child(2) { animation-delay: 0.08s; }
  .hero-block { animation: slide 1s 0.2s cubic-bezier(0.2, 0.7, 0.1, 1) both; }
}
@keyframes rise { from { transform: translateY(0.28em); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes slide { from { transform: translateX(100%); } to { transform: none; } }

/* Chapter hero: ink panel with the section's name, white panel with the lead and what is on the page */
.chap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--rule); }
.chap-l { background: var(--ink); color: var(--white); padding: clamp(36px, 5vw, 72px) clamp(24px, 4vw, 56px) clamp(36px, 5vw, 72px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); display: grid; align-content: space-between; gap: clamp(48px, 9vw, 160px); }
.chap-l .crumbs, .chap-l .crumbs a { color: var(--onink); }
.chap-word { font-size: clamp(36px, 4.1vw, 64px); font-weight: 900; font-stretch: 125%; letter-spacing: -0.04em; line-height: 0.98; overflow-wrap: normal; }
.chap-r { padding: clamp(36px, 5vw, 72px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) clamp(36px, 5vw, 72px) clamp(24px, 4vw, 56px); display: grid; gap: clamp(24px, 3vw, 36px); align-content: center; }
.chap-lead { font-size: clamp(22px, 2.3vw, 32px); font-weight: 800; font-stretch: 108%; letter-spacing: -0.015em; line-height: 1.25; max-width: 30ch; }
.onpage { display: grid; gap: 10px; }
.onpage > p { font-size: 15px; font-weight: 800; }
.onpage ol { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.onpage li + li { border-top: 1px solid var(--rule); }
.onpage a { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 16px 0; color: var(--ink); text-decoration: none; }
.onpage a::before { content: ""; width: 16px; height: 16px; margin-top: 4px; background: var(--signal); }
.onpage b { display: block; font-size: clamp(18px, 1.6vw, 21px); font-weight: 900; font-stretch: 112%; line-height: 1.25; }
.onpage span { display: block; font-size: 15px; color: var(--graphite); margin-top: 2px; }
.onpage .go { font-weight: 900; }
.onpage a:hover b { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 860px) {
  .chap { grid-template-columns: 1fr; }
  .chap-l { padding: 32px var(--gutter) 36px; gap: 40px; }
  .chap-r { padding: 32px var(--gutter) 40px; }
}

.crumbs { font-size: 14px; font-weight: 700; color: var(--graphite); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--graphite); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.page-hero { padding-block: clamp(56px, 8vw, 112px) clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--rule); }
.page-hero .stack-lg > * { max-width: 1000px; }

/* Practice opener: the practice name is the page */
.p-open { padding-block: clamp(28px, 4vw, 48px) clamp(56px, 8vw, 96px); }
.p-open-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px clamp(28px, 5vw, 80px); align-items: start; margin-top: clamp(36px, 5vw, 64px); margin-bottom: clamp(40px, 5vw, 64px); }
.p-open-name { grid-column: 1 / -1; }
.pname { overflow-wrap: normal; font-size: clamp(32px, 6.2vw, 92px); font-weight: 900; font-stretch: 125%; letter-spacing: -0.045em; line-height: 0.95; }
.punch { font-size: clamp(22px, 2.3vw, 32px); font-weight: 800; font-stretch: 112%; letter-spacing: -0.015em; line-height: 1.2; color: var(--graphite); }
.p-open-side { display: grid; gap: 18px; justify-items: start; }
.p-open-side p:first-child { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; }
@media (max-width: 860px) { .p-open-grid { grid-template-columns: 1fr; align-items: start; } }

/* Escape diagram, built from the C: problems sit inside the mark, each line leaves it for an outcome */
.esc { --bw: clamp(16px, 2.4vw, 30px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: auto var(--bw) auto auto auto var(--bw); }
.esc-h { grid-row: 1; font-size: 15px; font-weight: 800; padding: 0 0 14px; }
.esc-h:first-child { padding-left: calc(var(--bw) + 22px); }
.esc-h:last-child { padding-left: 44px; }
.esc-frame { grid-column: 1; grid-row: 2 / span 5; background: var(--chalk); border: var(--bw) solid var(--ink); border-right: 0; }
.esc-p, .esc-a, .esc-o { grid-row: var(--r); min-height: 116px; display: flex; align-items: center; position: relative; }
.esc-p { grid-column: 1; padding: 18px 36px 18px calc(var(--bw) + 22px); font-size: clamp(17px, 1.5vw, 20px); font-weight: 700; line-height: 1.3; }
.esc-p::after { content: ""; position: absolute; right: 0; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: var(--graphite); }
.esc-a { grid-column: 2; }
.esc-a::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px solid var(--graphite); }
.esc-a span { position: absolute; left: 22px; right: 14px; bottom: calc(50% + 10px); font-size: 17px; font-weight: 700; line-height: 1.3; }
.esc-o { grid-column: 3; padding-left: 44px; font-size: clamp(19px, 1.7vw, 24px); font-weight: 900; font-stretch: 112%; letter-spacing: -0.015em; line-height: 1.2; }
.esc-o::before { content: ""; position: absolute; left: 0; top: 50%; width: 28px; height: 28px; margin-top: -14px; background: var(--signal); }
.esc-note { margin-top: 18px; font-size: 15px; color: var(--graphite); }
@media (max-width: 860px) {
  .esc { grid-template-columns: 1fr; grid-template-rows: none; }
  .esc-h, .esc-frame { display: none; }
  .esc-p, .esc-a, .esc-o { grid-row: auto; grid-column: 1; min-height: 0; }
  .esc-p { background: var(--chalk); border-left: 14px solid var(--ink); padding: 16px 18px; margin-top: 20px; }
  .esc-p::after { display: none; }
  .esc-a { padding: 12px 0 12px 22px; margin-left: 6px; border-left: 2px solid var(--graphite); }
  .esc-a::after { display: none; }
  .esc-a span { position: static; font-size: 16px; }
  .esc-o { padding: 2px 0 0 40px; min-height: 28px; align-items: flex-start; }
  .esc-o::before { top: 2px; margin-top: 0; }
}

/* Checklist: problems stay black */
.check { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; }
.check li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 14px; font-size: 18px; font-weight: 700; line-height: 1.4; }
.check li::before { content: ""; width: 18px; height: 18px; border: 2px solid currentColor; margin-top: 3px; }
@media (max-width: 720px) { .check { grid-template-columns: 1fr; } }

/* Black panels: principles and what we will not claim */
.callout, .notclaim { background: var(--ink); color: var(--white); padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 12px; align-content: start; }
.callout-title, .notclaim-title { display: flex; align-items: center; gap: 14px; font-size: clamp(21px, 2vw, 26px); font-weight: 900; font-stretch: 115%; letter-spacing: -0.02em; line-height: 1.15; }
.callout-title::before, .notclaim-title::before { content: ""; flex: none; width: 14px; height: 14px; background: var(--signal); }
.callout b, .callout strong { font-weight: 800; }

/* Signal panels: commitments and terms */
.terms { background: var(--signal); color: var(--ink); padding: clamp(20px, 3vw, 32px) clamp(20px, 3vw, 36px); display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 20px; align-items: start; }
.terms::before { content: ""; width: 28px; height: 28px; background: var(--ink); margin-top: 2px; }
.terms-lab { font-size: 14px; font-weight: 800; }
.terms-t { font-size: clamp(20px, 2.2vw, 30px); font-weight: 900; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1.2; margin-top: 4px; }
.terms-t--sm { font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; font-stretch: 100%; letter-spacing: 0; line-height: 1.5; margin-top: 8px; }

/* Chalk panel: the question a reader should ask next, with one action */
.ask { background: var(--chalk); padding: clamp(22px, 3vw, 36px); display: grid; gap: 14px; align-content: start; }

/* Item lists */
.items { display: grid; gap: 22px; }
.item { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 16px; }
.item::before { content: ""; width: 12px; height: 12px; margin-top: 7px; background: var(--signal); }
.item h3 { font-size: 19px; font-weight: 800; line-height: 1.3; font-stretch: 105%; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; align-items: start; counter-increment: s; }
.steps li::before { content: counter(s); width: 36px; height: 36px; display: grid; place-items: center; background: var(--ink); color: var(--white); font-weight: 900; font-size: 16px; }
.steps--end li:last-child::before { background: var(--signal); color: var(--ink); }
.steps strong { display: block; font-size: 18px; font-weight: 800; line-height: 1.35; }
.steps .muted { display: block; margin-top: 2px; }
.steps--plain strong { font-weight: 600; }

/* Weekly rhythm */
.week { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.day { padding: clamp(20px, 2.6vw, 32px); display: grid; gap: 10px; align-content: start; background: var(--chalk); }
.day:last-child { background: var(--ink); color: var(--white); }
.day:last-child .muted { color: var(--onink); }
.day-name { font-size: 14px; font-weight: 700; }
.day-word { font-size: clamp(34px, 3.6vw, 52px); font-weight: 900; font-stretch: 125%; letter-spacing: -0.04em; line-height: 1; }
.on-ink .day { background: #1A1A19; }
.on-ink .day:last-child { background: var(--white); color: var(--ink); }
@media (max-width: 720px) { .week { grid-template-columns: 1fr; } }

/* Commitments, reasons and facts: a rule, a Signal square, a title */
.commit { border-top: 2px solid var(--ink); padding-top: 16px; display: grid; grid-template-columns: 12px minmax(0, 1fr); column-gap: 14px; row-gap: 6px; align-content: start; }
.commit::before { content: ""; width: 12px; height: 12px; margin-top: 7px; background: var(--signal); grid-row: 1; }
.commit h3 { font-size: 19px; font-weight: 900; font-stretch: 112%; letter-spacing: -0.01em; line-height: 1.3; }
.commit p { grid-column: 2; }
.on-ink .commit { border-top-color: var(--white); }

.glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; }
.glance div { border-top: 2px solid var(--ink); padding-top: 12px; display: grid; grid-template-columns: 12px minmax(0, 1fr); column-gap: 12px; row-gap: 4px; align-content: start; }
.glance div::before { content: ""; width: 12px; height: 12px; margin-top: 5px; background: var(--signal); grid-row: 1; }
.glance dt { font-size: 14px; font-weight: 700; color: var(--graphite); }
.glance dd { grid-column: 2; margin: 0; font-size: 19px; font-weight: 800; line-height: 1.35; }
@media (max-width: 720px) { .glance { grid-template-columns: 1fr; } }

/* Why clients choose us */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.why-l { display: grid; gap: 24px; }
.why .h2 { font-size: clamp(28px, 3vw, 42px); }
.why-panel { background: var(--ink); color: var(--white); padding: clamp(26px, 3.6vw, 44px); display: grid; gap: 14px; }
.why-panel h3 { font-size: clamp(28px, 3.2vw, 44px); font-weight: 900; font-stretch: 120%; letter-spacing: -0.03em; line-height: 1.05; }
.why-panel p { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; }
.why-r { display: grid; gap: clamp(28px, 3vw, 40px); }
.valb { background: var(--signal); color: var(--ink); padding: clamp(22px, 3vw, 32px); display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 18px; }
.valb::before { content: ""; width: 26px; height: 26px; background: var(--ink); margin-top: 2px; }
.valb .lab { font-size: 14px; font-weight: 800; }
.valb .t { font-size: clamp(24px, 2.4vw, 32px); font-weight: 900; font-stretch: 115%; letter-spacing: -0.025em; line-height: 1.1; margin: 4px 0 10px; }
.valb p:last-child { font-size: 16px; line-height: 1.55; font-weight: 500; }
@media (max-width: 960px) { .why { grid-template-columns: 1fr; } }

/* Proof stats on ink */
.stat { display: grid; gap: 10px; align-content: start; border-top: 2px solid currentColor; padding-top: 18px; text-decoration: none; color: inherit; }
.on-ink .stat:hover { color: inherit; }
.stat-num { font-size: clamp(52px, 5.2vw, 80px); font-weight: 900; font-stretch: 125%; letter-spacing: -0.045em; line-height: 0.9; color: var(--signal); }
.stat-unit { font-size: clamp(19px, 1.6vw, 22px); font-weight: 900; font-stretch: 115%; letter-spacing: -0.01em; line-height: 1.15; margin-top: -2px; }
.stat-cap { font-size: 16px; line-height: 1.45; color: #D6D6D0; }
.stat-src { font-size: 13px; font-weight: 700; color: var(--onink); }
.stat:hover .stat-src { color: var(--white); text-decoration: underline; text-decoration-color: var(--signal); }

/* Case index: the same entry as the credentials */
.cindex { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.cindex li + li { border-top: 2px solid var(--ink); }
.centry { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: clamp(14px, 2vw, 24px); padding: 20px 0; color: var(--ink); text-decoration: none; }
.centry .no { width: 44px; height: 40px; display: grid; place-items: center; background: var(--ink); color: var(--white); font-weight: 900; font-size: 17px; font-stretch: 112%; }
.centry .prac { font-size: 14px; font-weight: 700; color: var(--graphite); }
.centry .title { display: block; font-size: clamp(20px, 2vw, 26px); font-weight: 900; font-stretch: 112%; letter-spacing: -0.015em; line-height: 1.2; margin-top: 2px; }
.centry .subt { display: block; font-size: 16px; font-weight: 800; margin-top: 6px; }
.centry .res { display: block; font-size: 17px; margin-top: 8px; }
.centry .tl { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 10px; font-size: 15px; color: var(--graphite); margin-top: 10px; }
.centry .tl::before { content: ""; width: 10px; height: 10px; margin-top: 6px; background: var(--signal); }
.centry .tl b { color: var(--ink); }
.centry .go { font-weight: 800; font-size: 15px; white-space: nowrap; }
.centry:hover .title { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 3px; text-underline-offset: 5px; }
@media (max-width: 720px) { .centry { grid-template-columns: 40px minmax(0, 1fr); } .centry .no { width: 40px; } .centry .go { grid-column: 2; } }
.cindex--compact .centry { grid-template-columns: 44px minmax(0, 1fr); }
.cindex--compact .centry .go { grid-column: 2; }

/* Case page */
.case-hero { background: var(--ink); color: var(--white); }
.case-hero .wrap { padding-block: clamp(28px, 4vw, 48px) clamp(48px, 7vw, 88px); display: grid; gap: clamp(32px, 5vw, 56px); }
.case-hero .crumbs, .case-hero .crumbs a { color: var(--onink); }
.case-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.case-lab { font-size: 15px; font-weight: 700; color: var(--onink); }
.case-no { display: flex; align-items: flex-end; gap: 16px; margin-top: 4px; }
.case-no .cn { font-size: clamp(76px, 9vw, 132px); font-weight: 900; font-stretch: 125%; letter-spacing: -0.05em; line-height: 0.82; }
.cprog { display: inline-flex; gap: 5px; padding-bottom: 6px; }
.cprog i { width: 13px; height: 13px; background: #3A3A38; }
.cprog i.on { background: var(--signal); }
.case-no .of { font-size: 15px; font-weight: 700; color: var(--onink); padding-bottom: 3px; }
.case-prac { margin-top: 26px; font-size: 16px; font-weight: 800; }
.case-prac a { color: var(--signal); text-decoration: none; }
.case-prac a:hover { text-decoration: underline; }
.case-title { font-size: clamp(28px, 3.2vw, 44px); font-weight: 900; font-stretch: 118%; letter-spacing: -0.03em; line-height: 1.08; margin-top: 8px; }
.case-sub { font-size: 17px; color: var(--onink); margin-top: 10px; }
.hook { font-size: clamp(24px, 2.6vw, 36px); font-weight: 900; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1.18; }
.cquote { margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--inkrule); display: grid; gap: 12px; }
.cquote::before { content: ""; width: 18px; height: 18px; background: var(--signal); }
.cquote q { font-size: clamp(18px, 1.7vw, 22px); font-weight: 800; line-height: 1.4; quotes: "\201C" "\201D"; }
.cquote figcaption { font-size: 14px; color: var(--onink); font-weight: 600; }
@media (max-width: 860px) { .case-hero-grid { grid-template-columns: 1fr; } }
.panel { border: 2px solid var(--ink); padding: clamp(20px, 3vw, 36px); display: grid; gap: 22px; }
.panel h2 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 900; font-stretch: 115%; letter-spacing: -0.02em; }
.results { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.results li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 14px; font-size: 18px; font-weight: 800; line-height: 1.4; }
.results li::before { content: ""; width: 14px; height: 14px; margin-top: 6px; background: var(--signal); }
.foot-note { font-size: 13px; color: var(--graphite); line-height: 1.5; }
.endcase { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; border-top: 2px solid var(--ink); padding-top: 20px; }
.endcase p { font-weight: 800; }
.endcase p::before { content: ""; display: inline-block; width: 11px; height: 11px; margin-right: 10px; background: var(--signal); vertical-align: 0.02em; }
.endcase a { font-weight: 800; }

/* Charts */
.bars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2vw, 22px); align-items: end; height: 240px; }
.bar { display: grid; gap: 8px; align-content: end; height: 100%; }
.bar-val { font-size: clamp(22px, 2.6vw, 34px); font-weight: 900; font-stretch: 120%; letter-spacing: -0.03em; text-align: center; }
.bar-fill { background: var(--ink); }
.bar-fill--sig { background: var(--signal); }
.bar-lab { font-size: 14px; font-weight: 700; text-align: center; }
.kpis { display: grid; gap: 18px; align-content: start; }
.kpi-num { font-size: clamp(34px, 3.6vw, 48px); font-weight: 900; font-stretch: 125%; letter-spacing: -0.04em; line-height: 1; }
.kpi-cap { font-size: 15px; color: var(--graphite); }
.hbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.hbar-track { height: 26px; position: relative; }
.hbar-fill { height: 100%; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 800; display: flex; align-items: center; padding-left: 8px; }
.hbar-fill--sig { background: var(--signal); color: var(--ink); }
.gantt { display: grid; gap: 14px; }
.gantt-row { display: grid; gap: 6px; }
.gantt-lab { font-size: 14px; font-weight: 700; }
.gantt-track { position: relative; height: 34px; }
.gantt-bar { position: absolute; top: 0; bottom: 0; }
.axis { position: relative; height: 22px; border-top: 2px solid var(--ink); margin-top: 6px; }
.axis span { position: absolute; top: 4px; transform: translateX(-50%); font-size: 13px; font-weight: 700; white-space: nowrap; }
.axis span:last-child { transform: translateX(-100%); }
.phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.phase { background: var(--ink); color: var(--white); padding: 12px; display: grid; gap: 4px; font-size: 15px; line-height: 1.3; }
.phase b { color: var(--signal); font-size: 13px; }
.road { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: end; }
.road div { padding: 12px; display: grid; gap: 4px; font-size: 15px; font-weight: 800; line-height: 1.3; }
.road small { font-size: 13px; font-weight: 600; }
.split { display: flex; height: 40px; font-size: 14px; font-weight: 800; }
.split div { display: flex; align-items: center; padding-left: 10px; min-width: 0; white-space: nowrap; overflow: hidden; }
@media (max-width: 720px) { .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); } .road { grid-template-columns: 1fr; } .split { height: auto; flex-direction: column; } .split div { width: 100% !important; padding: 10px; white-space: normal; } }

/* Questions */
.qa { border-top: 1px solid var(--rule); padding-block: 22px; display: grid; gap: 8px; }
.qa h2, .qa h3 { font-size: 20px; font-weight: 800; line-height: 1.3; font-stretch: 105%; }
.qa:last-child { border-bottom: 1px solid var(--rule); }
.qgroup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 56px); }
.qgroup + .qgroup { margin-top: clamp(48px, 6vw, 80px); }
@media (max-width: 860px) { .qgroup { grid-template-columns: 1fr; } }

/* People */
.founder { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.portrait { position: relative; background: var(--chalk); aspect-ratio: 4 / 5; overflow: hidden; max-width: 100%; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: grayscale(1); }
.portrait::before { content: ""; position: absolute; left: 0; top: 0; width: 13%; aspect-ratio: 1; background: var(--signal); z-index: 1; }
.person { display: grid; gap: 16px; align-content: start; }
.person .portrait { max-width: 260px; }
.person h4 { font-size: clamp(22px, 2vw, 26px); font-weight: 900; font-stretch: 118%; letter-spacing: -0.02em; }
.ventures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.venture { display: grid; gap: 10px; }
.venture-logo { background: var(--chalk); height: 96px; display: grid; place-items: center; }
.venture-logo img { width: 230px; max-width: 78%; height: auto; }
@media (max-width: 720px) { .founder { grid-template-columns: 1fr; } .founder .portrait { max-width: 260px; } .ventures { grid-template-columns: 1fr; } }

/* Project delivery structure: our team inside the C, a line to each counterpart */
.org { --bw: clamp(14px, 2vw, 24px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1fr); grid-template-rows: auto var(--bw) repeat(5, auto) var(--bw); }
.org-h { grid-row: 1; font-size: 15px; font-weight: 800; padding-bottom: 14px; }
.org-h:first-child { padding-left: calc(var(--bw) + 20px); }
.org-frame { grid-column: 1; grid-row: 2 / span 7; background: var(--chalk); border: var(--bw) solid var(--ink); border-right: 0; }
.org-us, .org-line, .org-you { grid-row: var(--r); display: flex; align-items: center; min-height: 108px; position: relative; }
.org-us { grid-column: 1; padding: 10px 0 10px calc(var(--bw) + 20px); }
.ob { width: 100%; background: var(--white); border: 2px solid var(--ink); padding: 14px 16px; display: grid; gap: 2px; }
.ob.dk { background: var(--ink); color: var(--white); }
.ob b { font-size: 17px; font-weight: 900; font-stretch: 108%; line-height: 1.25; }
.ob span { font-size: 14px; line-height: 1.4; color: var(--graphite); }
.ob.dk span { color: var(--onink); }
.org-line { grid-column: 2; }
.org-line::after { content: ""; position: absolute; left: 0; right: 22px; top: 50%; border-top: 2px solid var(--ink); }
.org-line::before { content: ""; position: absolute; right: 0; top: 50%; width: 22px; height: 22px; margin-top: -11px; background: var(--signal); }
.org-line span { position: absolute; left: 16px; right: 30px; bottom: calc(50% + 8px); font-size: 14px; font-weight: 800; line-height: 1.3; }
.org-you { grid-column: 3; }
.org-you .last-t { font-size: clamp(19px, 1.7vw, 23px); font-weight: 900; font-stretch: 112%; line-height: 1.2; padding-left: 16px; }
@media (max-width: 860px) {
  .org { grid-template-columns: 1fr; grid-template-rows: none; }
  .org-h, .org-frame { display: none; }
  .org-us, .org-line, .org-you { grid-row: auto; grid-column: 1; min-height: 0; }
  .org-us { padding: 0; margin-top: 22px; border-left: 12px solid var(--ink); }
  .org-us .ob { border-left: 0; }
  .org-line { padding: 10px 0 10px 22px; margin-left: 4px; border-left: 2px solid var(--ink); }
  .org-line::after, .org-line::before { display: none; }
  .org-line span { position: static; }
  .org-you .ob { border-left: 12px solid var(--signal); }
  .org-you .last-t { padding-left: 0; }
}

/* Contact */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 15px; font-weight: 800; }
.field input, .field select, .field textarea { font: 400 17px/1.4 var(--font); padding: 13px 14px; border: 2px solid var(--ink); background: var(--white); color: var(--ink); border-radius: 0; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--signal); outline-offset: 0; }
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 14px; color: var(--graphite); }
.hidden-field { position: absolute; left: -9999px; }
.copyable { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.copyable code { font: 800 clamp(18px, 2vw, 24px)/1.3 var(--font); background: var(--white); padding: 6px 10px; border: 2px solid var(--ink); word-break: break-all; }
.copyable .btn { padding: 10px 14px; }

/* Let's connect: the back cover, on ink */
.connect-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.connect-grid > * { min-width: 0; }
.connect-title { font-size: clamp(40px, 6.4vw, 92px); font-weight: 900; font-stretch: 125%; letter-spacing: -0.045em; line-height: 0.95; max-width: 14ch; }
.cta-steps { display: grid; border-top: 1px solid var(--inkrule); }
.cta-step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--inkrule); }
.cta-step b { font-size: 14px; font-weight: 700; color: var(--onink); padding-top: 6px; }
.cta-step h3 { font-size: clamp(21px, 2vw, 26px); font-weight: 900; font-stretch: 118%; letter-spacing: -0.02em; }
.cta-step p { color: var(--onink); margin-top: 4px; }
.page-light .cta-steps { border-top-color: var(--rule); }
.page-light .cta-step { border-bottom-color: var(--rule); }
.page-light .cta-step b, .page-light .cta-step p { color: var(--graphite); }
@media (max-width: 860px) { .connect-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .connect-title { font-size: 38px; font-stretch: 112%; } }

/* Practice blocks on the home page */
.practice { display: grid; gap: 28px; padding-top: 28px; border-top: 4px solid var(--ink); }
.practice + .practice { margin-top: clamp(56px, 7vw, 96px); }
.practice-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px 48px; align-items: end; }
.practice-top .punch { margin-top: 8px; }
@media (max-width: 860px) { .practice-top { grid-template-columns: 1fr; } }
.check--one { grid-template-columns: 1fr; }
.sec--chalk .day { background: var(--white); }
.sec--chalk .day:last-child { background: var(--ink); }
.note-ink { background: var(--ink); color: var(--white); padding: clamp(22px, 3vw, 32px); display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 16px; font-size: 17px; line-height: 1.55; }
.note-ink::before { content: ""; width: 12px; height: 12px; margin-top: 7px; background: var(--signal); }
.note-ink strong { font-weight: 800; }
.glance--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
@media (max-width: 860px) { .glance--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .glance--6 { grid-template-columns: 1fr; } }
.contact-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
.contact-facts dt { font-size: 14px; font-weight: 700; color: var(--onink); }
.contact-facts dd { margin: 4px 0 0; font-size: clamp(18px, 1.6vw, 21px); font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; }
.contact-facts .wide { grid-column: 1 / -1; }
@media (max-width: 520px) { .contact-facts { grid-template-columns: 1fr; } }

/* Footer */
.site-foot { background: var(--ink); color: var(--white); padding-block: clamp(48px, 6vw, 80px) 32px; border-top: 1px solid var(--inkrule); }
.site-foot a { color: var(--white); text-decoration: none; }
.site-foot a:hover { text-decoration: underline; text-decoration-color: var(--signal); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.foot-grid h2 { font-size: 14px; font-weight: 800; color: var(--signal); margin-bottom: 12px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.foot-def { font-size: 15px; line-height: 1.6; color: #D6D6D0; max-width: 46ch; }
.foot-line { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--inkrule); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; font-size: 13px; color: var(--onink); }
.foot-brand { font-size: clamp(40px, 6.4vw, 88px); font-weight: 900; font-stretch: 125%; letter-spacing: -0.045em; line-height: 0.9; color: var(--white); }
.site-foot .logo svg { fill: var(--white); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* Preview banner */
.preview-note { background: var(--ink); color: var(--white); font-size: 14px; font-weight: 700; padding: 10px var(--gutter); text-align: center; border-bottom: 3px solid var(--signal); }

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

/* Small fixes: crumbs on ink, the terms panel inside Let's connect, sticky FAQ group headings */
.on-ink .crumbs, .on-ink .crumbs a { color: var(--onink); }
.connect .terms-t { font-size: clamp(20px, 1.9vw, 26px); }
@media (min-width: 861px) { .qgroup > .khead, .qgroup > .stack:first-child { position: sticky; top: 96px; align-self: start; } }
