/* brandonedling.com (October 2026 redesign): a field report. Light paper, cobalt
   ink, dark by the system's setting. Fonts are served from this site
   (public/assets/fonts, the latin subsets from Google Fonts), so the Content-
   Security-Policy can stay default-src 'self'. Browsers keep the fonts for a year
   (the ?v= stamp): replace a font file and raise its ?v=, here and in lib/layout.php's preloads. */

@font-face { font-family: "Bricolage Grotesque"; font-weight: 200 800; font-stretch: 75% 100%; font-style: normal; font-display: swap;
  src: url("/assets/fonts/bricolage-grotesque.woff2?v=1") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 400 700; font-stretch: 75% 100%; font-style: normal; font-display: swap;
  src: url("/assets/fonts/instrument-sans.woff2?v=1") format("woff2"); }
:root {
  --paper: #fbfbfd;
  --paper-2: #f0f2f8;
  --ink: #0e1117;
  --ink-2: #4a5061;
  --rule: #dfe2ea;
  --cobalt: #2747f0;
  --cobalt-ink: #ffffff;
  --before: #b9bfcc;
  --night: #0e1117;
  --night-ink: #f3f4f8;
  --night-2: #a9afbf;
  --night-rule: #262b36;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  /* No typewriter face (Brandon, 2026-10-25): what used the mono uses the body face (labels, numbers). */
  --mono: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --measure: 1240px;
  --err: #c62828;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0d1016; --paper-2: #151a23; --ink: #eef0f6; --ink-2: #a3a9b8; --rule: #262c38;
    --cobalt: #6f87ff; --cobalt-ink: #0d1016; --before: #6b7385;
    --night: #111734; --night-ink: #eef0f6; --night-2: #9aa1b2; --night-rule: #1f2430; --err: #ff8a80;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0d1016; --paper-2: #151a23; --ink: #eef0f6; --ink-2: #a3a9b8; --rule: #262c38;
  --cobalt: #6f87ff; --cobalt-ink: #0d1016; --before: #6b7385;
  --night: #111734; --night-ink: #eef0f6; --night-2: #9aa1b2; --night-rule: #1f2430; --err: #ff8a80;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--cobalt); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; }
p { margin: 0; }
.band { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: var(--measure); margin: 0 auto; }
.label { font: 500 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.num { font-variant-numeric: tabular-nums; }

/* nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { font: 800 20px/1 var(--display); color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.nav-links { display: flex; align-items: center; gap: 26px; font-weight: 500; font-size: 15px; }
.nav-links a { color: var(--ink); text-decoration: none; }
.nav-links a:hover { color: var(--cobalt); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 22px; border-radius: 999px; font: 600 15px/1 var(--body); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; }
.btn-primary { background: var(--cobalt); color: var(--cobalt-ink); }
.btn-primary:hover { filter: brightness(1.08); color: var(--cobalt-ink); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* hero */
.hero { padding-block: 72px 56px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 56px; align-items: center; }
.eyebrow span { white-space: nowrap; }
@media (max-width: 760px) { .eyebrow span { display: block; } .eyebrow .sep { display: none; } }
.hero h1 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; color: var(--ink-2); }
.hero h1.qualities { margin: 18px 0 0; font: 800 clamp(40px, 6.2vw, 84px)/.98 var(--display); letter-spacing: -.04em; color: var(--ink); text-wrap: initial; }
.qualities span { display: block; }
.qualities em { font-style: normal; color: var(--cobalt); }
.qualities .payoff { color: var(--cobalt); }   /* the conclusion: the whole line in the accent */
.hero .because { margin-top: 28px; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; max-width: 52ch; }
.hero .because b { font-weight: 600; }
.hero .lede { margin-top: 26px; font-size: 19px; color: var(--ink-2); max-width: 60ch; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .who { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 300px; justify-self: end; }
.portrait { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; width: 100%; max-width: 300px; background: var(--paper-2); }
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.who .tag { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.who .tag b { display: block; font: 600 16px/1.3 var(--body); color: var(--ink); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } .hero .who { justify-self: start; max-width: 240px; } }

/* readout: the one loud moment */
.readout { background: var(--night); color: var(--night-ink); }
.readout .wrap { padding-block: 72px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; }
.readout .label { color: var(--night-2); }
.readout h2 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; letter-spacing: -.025em; line-height: 1.05; margin-top: 12px; }
.readout .intro p { color: var(--night-2); margin-top: 16px; max-width: 42ch; }
.metric-tabs { display: flex; flex-direction: column; gap: 8px; margin-top: 28px; }
.metric-tab { all: unset; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--night-rule); color: var(--night-ink); }
.metric-tab small { font: 500 12px/1.3 var(--mono); color: var(--night-2); letter-spacing: .06em; text-transform: uppercase; }
.metric-tab span { font: 600 16px/1.3 var(--body); }
.metric-tab .delta { grid-row: span 2; align-self: center; font: 500 14px/1 var(--mono); color: var(--night-2); white-space: nowrap; }
.metric-tab[aria-selected="true"] { background: var(--cobalt); border-color: var(--cobalt); color: var(--cobalt-ink); }
.metric-tab[aria-selected="true"] small, .metric-tab[aria-selected="true"] .delta { color: var(--cobalt-ink); opacity: .85; }
.metric-tab:focus-visible { outline: 3px solid var(--night-ink); outline-offset: 2px; }
.panel { background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--cobalt) 22%, transparent), transparent 62%); border: 1px solid var(--night-rule); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.panel-head h3 { font-size: 26px; font-weight: 600; letter-spacing: -.01em; }
.panel-head p { color: var(--night-2); font-size: 15px; margin-top: 6px; }
.big { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.big .from { font: 400 clamp(36px, 5vw, 64px)/1 var(--display); color: var(--night-2); text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: color-mix(in srgb, var(--night-2) 60%, transparent); }
.big .arrow { font: 400 28px/1 var(--mono); color: var(--night-2); }
.big .to { font: 800 clamp(72px, 11vw, 148px)/.86 var(--display); letter-spacing: -.05em; color: var(--night-ink); }
.big .unit { font: 500 18px/1 var(--mono); color: var(--night-2); }
/* Narrower screens: "before → after" always on one line and the unit on its own line
   below, so the count-up never reflows the panel (it stuttered on phones: the number's
   width changing made the unit, or "16 wk", jump between lines). */
@media (max-width: 900px) {
  .big { display: grid; grid-template-columns: auto auto minmax(0, 1fr); column-gap: 14px; row-gap: 8px; white-space: nowrap; }
  .big .unit { grid-column: 1 / -1; }
  .big .unit:empty { display: none; }
}
@media (max-width: 760px) { .big .from { font-size: 32px; } .big .to { font-size: 60px; } .big .arrow { font-size: 22px; } }
.bars { display: flex; flex-direction: column; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) 96px; gap: 14px; align-items: center; font: 500 13px/1 var(--mono); color: var(--night-2); }
.track { position: relative; height: 18px; border-radius: 99px; background: var(--night-rule); overflow: hidden; }
.fill { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: var(--before); transition: width 1.1s cubic-bezier(.2,.8,.2,1); }
.fill.after { background: var(--cobalt); }
.bar-row .v { text-align: right; color: var(--night-ink); }
.scale { display: grid; grid-template-columns: 72px minmax(0, 1fr) 96px; gap: 14px; font: 400 11px/1 var(--mono); color: var(--night-2); }
.scale .ticks { display: flex; justify-content: space-between; }
.panel-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--night-2); border-top: 1px solid var(--night-rule); padding-top: 18px; }
@media (max-width: 900px) { .readout .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; } .panel { padding: 22px; } .bar-row, .scale { grid-template-columns: 56px minmax(0, 1fr) 76px; } }


/* sections */
.section { padding-block: 96px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.section-head p { color: var(--ink-2); max-width: 52ch; }

/* programs explorer */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { all: unset; cursor: pointer; padding: 10px 16px; min-height: 24px; border-radius: 99px; border: 1px solid var(--rule); font: 500 14px/1.3 var(--body); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.explorer { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; border: 1px solid var(--rule); border-radius: 20px; overflow: hidden; background: var(--paper); }
.prog-list { position: relative; list-style: none; margin: 0; padding: 0; border-right: 1px solid var(--rule); }
.prog { all: unset; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; width: 100%; box-sizing: border-box; padding: 18px 22px; cursor: pointer; border-bottom: 1px solid var(--rule); }
.prog strong { font: 600 17px/1.3 var(--body); }
.prog small { font: 500 12px/1.3 var(--mono); color: var(--ink-2); letter-spacing: .06em; text-transform: uppercase; }
.prog .yr { grid-row: span 2; align-self: center; font: 500 13px/1 var(--mono); color: var(--ink-2); }
.prog[aria-selected="true"] { background: var(--paper-2); box-shadow: inset 4px 0 0 var(--cobalt); }
.prog:hover { background: var(--paper-2); }
.prog:focus-visible { outline: 3px solid var(--cobalt); outline-offset: -3px; }
.detail { padding: 40px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.detail .org { font: 500 13px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cobalt); }
.detail h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -.025em; line-height: 1.05; }
.detail ul { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 10px; color: var(--ink-2); }
.detail .facts { display: flex; flex-wrap: wrap; gap: 10px; }
.fact { background: var(--paper-2); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.fact b { font: 800 24px/1 var(--display); }
.fact span { font-size: 13px; color: var(--ink-2); }
.detail .links { display: flex; flex-wrap: wrap; gap: 16px; font-weight: 600; margin-top: auto; padding-top: 8px; }
@media (max-width: 900px) { .explorer { grid-template-columns: minmax(0, 1fr); } .prog-list { border-right: 0; border-bottom: 1px solid var(--rule); max-height: 320px; overflow: auto; } .detail { padding: 24px; } }

/* stacked panels: one cell, as tall as the tallest panel; the active one dissolves in */
.detail-stack, .mstack { display: grid; min-width: 0; flex: 1 1 0; }
.detail-stack > *, .mstack > * { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .38s ease, visibility 0s linear .38s; }
.detail-stack > .on, .mstack > .on { opacity: 1; visibility: visible; transition: opacity .38s ease .06s, visibility 0s; }
.prog { transition: opacity .3s ease, background .2s; }
.prog.dim { opacity: .32; cursor: default; }
.big.fadein { animation: bigfade .5s ease; }
@keyframes bigfade { from { opacity: .15; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .detail-stack > *, .mstack > *, .prog { transition: none; } .big.fadein { animation: none; } }
.track-wrap { overflow-x: auto; padding-bottom: 8px; }
.yr-tick { grid-row: 1; white-space: nowrap; overflow: visible; font: 500 11px/1 var(--mono); color: var(--ink-2); padding: 0 0 10px 2px; }



/* method: a loop, so the numbers are real sequence */
.method { border-top: 1px solid var(--rule); }
.method .section-head h2 { max-width: 22ch; }
.loop { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; padding-bottom: 76px; }
.step { all: unset; cursor: pointer; position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 24px; border-radius: 16px; border: 1px solid var(--rule); background: var(--paper); min-height: 196px; box-sizing: border-box; transition: background .35s, border-color .35s, color .35s, transform .35s; }
.step .n { font: 800 34px/1 var(--display); color: var(--cobalt); }
.step h3 { font: 800 24px/1.05 var(--display); letter-spacing: -.02em; }
.step p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.step::after { content: "→"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%); font: 500 16px/1 var(--mono); color: var(--ink-2); z-index: 1; }
.step:last-of-type::after { content: none; }
.step[aria-pressed="true"] { background: var(--cobalt); border-color: var(--cobalt); color: var(--cobalt-ink); transform: translateY(-4px); }
.step[aria-pressed="true"] .n, .step[aria-pressed="true"] p { color: var(--cobalt-ink); }
.step:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.return { position: absolute; left: 28%; right: 8%; bottom: 0; height: 64px; pointer-events: none; }
.return svg { width: 100%; height: 100%; overflow: visible; }
.return path { fill: none; stroke: var(--cobalt); stroke-width: 2; stroke-dasharray: 6 6; }
.return .return-head { position: absolute; left: calc(5% - 7px); top: -3px; width: 14px; height: 9px; overflow: visible; }
.return .return-head path { stroke-dasharray: none; stroke-linecap: round; stroke-linejoin: round; }
.return-label { position: absolute; left: 50%; transform: translateX(-50%); bottom: 18px; background: var(--paper); padding: 0 12px; font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cobalt); white-space: nowrap; }
.loop-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; color: var(--ink-2); font-size: 15px; }
.loop-foot button { all: unset; cursor: pointer; font: 500 13px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--rule); border-radius: 99px; padding: 12px 16px; color: var(--ink); }
.loop-foot button:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
@media (max-width: 900px) {
  .loop { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-bottom: 0; }
  .step { min-height: 0; }
  .step::after { content: "↓"; right: auto; left: 24px; top: auto; bottom: -15px; transform: none; }
  .return { position: static; height: auto; }
  .return svg { display: none; }
  .return-label { position: static; transform: none; display: inline-block; margin-top: 12px; padding: 10px 14px; border: 1px dashed var(--cobalt); border-radius: 12px; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { .step { transition: none; } }


.stage-stack { display: grid; min-width: 0; margin-top: 18px; }
.stage-stack > * { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .38s ease, visibility 0s linear .38s; }
.stage-stack > .on { opacity: 1; visibility: visible; transition: opacity .38s ease .06s, visibility 0s; }
.stage { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 20px 32px; padding: 28px; border-radius: 18px; background: var(--paper-2); align-content: start; }
.stage .call { grid-column: 1 / -1; padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.stage .call p:not(.label) { font: 600 clamp(20px, 2vw, 26px)/1.3 var(--display); letter-spacing: -.01em; color: var(--ink); max-width: 60ch; }
.stage p { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.stage .label { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; color: var(--ink); }
.stage-tools { display: inline-flex; gap: 6px; }
.tool { font: 500 11px/1 var(--mono); letter-spacing: .04em; text-transform: none; padding: 5px 8px; border-radius: 99px; background: var(--cobalt); color: var(--cobalt-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.loop-foot span:not(.sr-only) { max-width: 70ch; }
@media (max-width: 900px) { .stage { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 20px; } }
@media (prefers-reduced-motion: reduce) { .stage-stack > * { transition: none; } }
/* needs analysis: five ways in, shown before the loop because it's the step most often skipped */
.needs { margin: 8px 0 44px; padding: 26px 28px 28px; border-radius: 20px; border: 1px solid var(--rule); }
.needs .label { color: var(--cobalt); }
.needs-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin-top: 16px; }
.need { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.need + .need { border-left: 1px solid var(--rule); padding-left: 24px; }
.need h3 { font: 700 17px/1.25 var(--display); letter-spacing: -.01em; }
.need p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 1100px) { .needs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .need + .need { border-left: 0; padding-left: 0; } }
@media (max-width: 600px) { .needs-grid { grid-template-columns: minmax(0, 1fr); } .needs { padding: 20px; } }
/* AI: three ways it runs through the work; the one tinted band on a light page */
.ai { background: color-mix(in srgb, var(--cobalt) 14%, var(--paper)); }   /* its own tint: set apart from the gray quotes */
.ai-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ai-card { background: var(--paper); border: 1px solid var(--rule); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ai-card .kicker { font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt); }
.ai-card h3 { font: 800 26px/1.08 var(--display); letter-spacing: -.02em; }
.ai-card .proof { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding-block: 14px; border-block: 1px solid var(--rule); }
.ai-card .proof b { font: 800 44px/1 var(--display); letter-spacing: -.03em; }
.ai-card .proof span { font-size: 14px; color: var(--ink-2); line-height: 1.4; flex: 1 1 140px; }
.ai-card ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; color: var(--ink-2); font-size: 16px; }
.article-card { margin-top: 24px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; max-width: 560px; padding: 16px 20px; border-radius: 16px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.article-card:hover { border-color: var(--cobalt); transform: translateY(-2px); }
.article-card .t { grid-column: 1; font: 700 18px/1.3 var(--display); letter-spacing: -.01em; }
.article-card .arrow { grid-column: 2; grid-row: 1 / span 2; font: 500 20px/1 var(--mono); color: var(--cobalt); }
@media (max-width: 760px) {
  #about .tools span { display: inline-block; padding: 0; border: 0; background: none; font: 500 14px/1.7 var(--body); color: var(--ink-2); }
  #about .tools span:not(:last-child)::after { content: "·"; margin: 0 .45em; color: var(--ink-2); }
  #about .tools { display: block; line-height: 1.7; }
  .article-card .t { font-size: 16px; }
}
#work .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }   /* its intro line sits under the heading */
#ai .section-head h2 { max-width: 20ch; }
/* the intro line stays on the right of the heading, as in the other sections, until phones */
@media (min-width: 761px) { #ai .section-head { flex-wrap: nowrap; } #ai .section-head h2 { flex: 1 1 auto; } #ai .section-head p { flex: 0 1 44ch; } }
@media (max-width: 900px) { .ai-grid { grid-template-columns: minmax(0, 1fr); } }

/* about */
/* About on the gray band, set apart from the programs above; its quote card and
   tool tags take the page colour so they still stand out on it. */
.about { background: var(--paper-2); }
.about .pull-quote, .about .tools span { background: var(--paper); }
.about .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
.about h2 { font-size: clamp(30px, 3.2vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.about .body { display: flex; flex-direction: column; gap: 18px; color: var(--ink-2); font-size: 18px; max-width: 62ch; }
.creds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.cred { border: 1px solid var(--rule); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.cred b { font: 600 15px/1.3 var(--body); color: var(--ink); }
.cred span { font: 500 12px/1.3 var(--mono); color: var(--ink-2); }

.career-list ul { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.career-list li { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.career-list b { color: var(--ink); font-weight: 600; }
.career-list .when { font: 500 12px/1.4 var(--mono); color: var(--ink-2); white-space: nowrap; }
@media (max-width: 600px) { .career-list li { grid-template-columns: minmax(0, 1fr) auto; } .career-list li span:not(.when) { grid-column: 1 / -1; grid-row: 2; } }
/* ---------- a recommendation, in the recommender's own words ---------- */
.pull-quote { margin: 48px 0 0; max-width: 64ch; display: flex; flex-direction: column; gap: 16px; padding: 28px 32px; border-radius: 20px; background: var(--paper-2); }
.pull-quote blockquote { margin: 0; }
.pull-quote blockquote p { font: 600 clamp(20px, 2vw, 26px)/1.32 var(--display); letter-spacing: -.015em; color: var(--ink); text-wrap: pretty; }
.pull-quote figcaption { display: flex; flex-direction: column; gap: 4px; padding-left: 14px; border-left: 3px solid var(--cobalt); }
.pull-quote figcaption b { font-weight: 600; }
.pull-quote figcaption span { font-size: 14px; color: var(--ink-2); }
.pull-quote figcaption a { font-size: 14px; align-self: flex-start; }
.about .pull-quote { margin-top: 32px; }
.about .pull-quote blockquote p { font-size: clamp(18px, 1.6vw, 21px); }
@media (max-width: 760px) { .pull-quote { margin-top: 32px; padding: 20px; } .pull-quote blockquote p { font-size: 19px; } }

.about-links { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .about-links { display: grid; grid-template-columns: 1fr 1fr; } .about-links .btn:first-child { grid-column: 1 / -1; } }
.tools { display: flex; flex-wrap: wrap; gap: 8px; }
.tools span { font: 500 13px/1 var(--mono); padding: 8px 10px; border-radius: 8px; background: var(--paper-2); color: var(--ink); }
@media (max-width: 900px) { .about .wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; } .creds { grid-template-columns: minmax(0, 1fr); } }

/* contact */
.contact { background: var(--cobalt); color: var(--cobalt-ink); }
.contact .wrap { padding-block: 96px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: end; }
.contact h2 { font-size: clamp(40px, 6vw, 84px); font-weight: 800; letter-spacing: -.04em; line-height: .95; }
.contact p { margin-top: 20px; font-size: 19px; max-width: 46ch; opacity: .92; }
.contact-card { background: var(--paper); color: var(--ink); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.contact-card .btn-primary { width: 100%; }
.email-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border: 1px solid var(--rule); border-radius: 12px; padding: 10px 10px 10px 14px; }
.email-row code { font: 500 15px/1.3 var(--mono); flex: 1 1 auto; min-width: 0; user-select: all; overflow-wrap: anywhere; }
.copy { all: unset; cursor: pointer; font: 600 13px/1 var(--body); padding: 10px 14px; border-radius: 99px; background: var(--paper-2); }
.copy:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
@media (max-width: 900px) { .contact .wrap { grid-template-columns: minmax(0, 1fr); } }
footer { padding-block: 32px; font-size: 14px; color: var(--ink-2); }

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

/* ---------- base reset (the preview platform supplied these; a real site needs its own) ---------- */
[hidden] { display: none !important; }
/* jump links land below the sticky top bar, not under it */
html { scroll-padding-top: calc(84px + env(safe-area-inset-top, 0px)); }
/* phone header: one line, always */
.btn { white-space: nowrap; }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: var(--cobalt-ink); }
@media (max-width: 760px) {
  .nav .wrap { gap: 10px; }
  .nav-links { gap: 14px; }
  .nav .btn { min-height: 40px; padding: 10px 16px; font-size: 14px; }
  .brand { font-size: 18px; white-space: nowrap; }
}
img { max-width: 100%; }
/* ---------- the Work menu: one word in the bar, a small two-column panel ---------- */
.menu { position: relative; }
.menu-btn { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 15px; color: var(--ink); padding: 10px 2px; }
.menu-btn:hover, .menu-btn[aria-expanded="true"] { color: var(--cobalt); }
.menu-btn:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
.menu-btn svg { transition: transform .2s; }
.menu-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.menu-panel { position: absolute; top: calc(100% + 12px); right: -12px; width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; padding: 22px; border-radius: 18px; background: var(--paper); border: 1px solid var(--rule); box-shadow: 0 24px 60px rgba(0,0,0,.18); z-index: 20; }
.menu-panel .label { margin: 0 0 6px 10px; }
.menu-col { display: flex; flex-direction: column; gap: 2px; }
.menu-panel a { display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.menu-panel a b { font-weight: 600; font-size: 15px; }
.menu-panel a span { font-size: 13px; color: var(--ink-2); }
.menu-panel a:hover, .menu-panel a:focus-visible { background: var(--paper-2); color: var(--cobalt); outline: none; }
.menu-panel a[aria-current="page"] b { color: var(--cobalt); }
.sm-only { display: none; }
@media (max-width: 760px) {
  .lg-only { display: none !important; }
  .sm-only { display: block; }
  .menu-panel { grid-template-columns: 1fr; }
}
/* Below 900px the 560px panel no longer fits beside the button: it spans the
   window under the bar instead (nav.js sets its top to the bar's bottom). */
@media (max-width: 900px) {
  .menu-panel { position: fixed; top: calc(76px + env(safe-area-inset-top, 0px)); left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); width: auto; max-height: calc(100dvh - 96px); overflow: auto; }
}
/* The narrowest phones (320px): the bar still fits on one line. */
@media (max-width: 374px) {
  .nav .wrap { gap: 8px; }
  .nav-links { gap: 10px; }
  .brand { font-size: 16px; }
  .nav .btn { padding: 8px 12px; font-size: 13px; min-height: 36px; }
}


/* ---------- phones: compact layouts, no sideways swiping, tighter spacing ---------- */
@media (max-width: 760px) {
  .section { padding-block: 44px; }
  .hero { padding-block: 32px 24px; }
  .readout .wrap, .contact .wrap { padding-block: 40px; gap: 24px; }
  .section-head { margin-bottom: 20px; gap: 12px; }
  .hero .because { margin-top: 20px; }

  /* results: the panel's title gets the full width; "lower is better" goes under it */
  .panel-head { flex-direction: column; gap: 4px; }
  .panel-head h3 { font-size: 22px; }

  .hero .who { flex-direction: row; align-items: center; gap: 14px; max-width: none; justify-self: start; }
  .hero .portrait { width: 84px; flex: 0 0 84px; aspect-ratio: 1; border-radius: 50%; }

  /* needs analysis: a tight list */
  .needs { padding: 18px 0 0; border: 0; margin-bottom: 28px; }
  .needs-grid { display: flex; flex-direction: column; gap: 0; margin-top: 8px; }
  .need { padding: 14px 0 !important; border: 0 !important; border-top: 1px solid var(--rule) !important; gap: 4px; }
  .need h3 { font-size: 16px; }
  .need p { font-size: 14px; }

  /* ADDIE: five small stage buttons in one row; the detail panel below does the talking */
  .loop { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; padding-bottom: 0; }
  .loop > .step { min-height: 0; padding: 12px 4px; gap: 4px; align-items: center; text-align: center; border-radius: 12px; }
  .loop > .step .n { font-size: 24px; }
  .loop > .step h3 { font-size: 10.5px; letter-spacing: 0; font-family: var(--body); font-weight: 600; }
  .loop > .step p { display: none; }
  .step::after { content: none !important; }
  .step[aria-pressed="true"] { transform: none; }
  /* The loop back, as on desktop: from Evaluate under the row and up into Design.
     The five steps sit in one row here too, so the path runs from the centre of the
     2nd column (30%) to the centre of the 5th (90%): the path's ends are at 5% and
     95% of its box, hence the box's 26.7% / 6.7% margins. */
  .return { position: relative; inset: auto; grid-column: 1 / -1; height: 30px; margin: 0 6.7% 14px 26.7%; }
  .return svg { display: block; }
  /* the label sits under the loop, centred on its horizontal line */
  .return-label { position: absolute; left: 50%; width: max-content; bottom: -12px; transform: translateX(-50%); margin: 0; padding: 0; border: 0; border-radius: 0; background: none;
    white-space: nowrap; font-size: clamp(9px, 2.6vw, 11px); letter-spacing: .04em; }
  .stage-stack { margin-top: 12px; }
  .stage { padding: 18px; gap: 14px; }
  .stage .call p:not(.label) { font-size: 18px; }

  /* AI: stacked, lighter */
  .ai-grid { gap: 12px; }
  .ai-card { padding: 20px; gap: 12px; }
  .ai-card .proof b { font-size: 36px; }

  /* results picker: 2 x 2 */
  .metric-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
  .metric-tab { padding: 12px; grid-template-columns: 1fr; }
  .metric-tab .delta { grid-row: auto; font-size: 12px; }
  .metric-tab span { font-size: 14px; }



  /* programs: one dropdown picks the program; no list scrolling inside the page */
  .filters, .prog-list { display: none; }
  .filter-select { display: flex !important; align-items: center; gap: 10px; margin-bottom: 12px; }
  .detail { padding: 20px; gap: 14px; }
  .detail h3 { font-size: 26px; }

  /* about: credentials as a plain list, not boxes */
  .creds { gap: 0; margin-top: 0; }
  .cred { border: 0; border-radius: 0; border-bottom: 1px solid var(--rule); padding: 10px 0; }

  /* each detail panel sized to its own content (desktop keeps one height for all) */
  .detail-stack > :not(.on), .stage-stack > :not(.on) { display: none; }
  .detail-stack > .on, .stage-stack > .on { animation: panelin .3s ease; }
}
@keyframes panelin { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .detail-stack > .on, .stage-stack > .on { animation: none; } }

.filter-select { display: none; }
.filter-select label { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.filter-select select { flex: 1; min-width: 0; width: 100%; text-overflow: ellipsis; min-height: 44px; padding: 0 40px 0 14px; border-radius: 99px; border: 1px solid var(--rule); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.4'%3E%3Cpath d='M5 9l7 7 7-7'/%3E%3C/svg%3E") no-repeat right 16px center; color: var(--ink); font: 500 15px/1 var(--body); -webkit-appearance: none; appearance: none; }
.filter-select select:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
/* ---------- software ---------- */
.apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 96px; }
.app { border: 1px solid var(--rule); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; background: var(--paper); min-width: 0; }
.app-icon { width: 72px; height: 72px; object-fit: contain; display: block; }
.app-icon.rounded { border-radius: 22.5%; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.app .kicker { font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt); }
.app h2 { font: 800 30px/1.05 var(--display); letter-spacing: -.02em; }
.app .tag { font: 600 19px/1.35 var(--display); color: var(--ink); }
.app p { color: var(--ink-2); }
.app .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.app .chips span { font: 500 12px/1 var(--mono); padding: 7px 9px; border-radius: 8px; background: var(--paper-2); color: var(--ink); }
.app .go { margin-top: auto; padding-top: 8px; font-weight: 600; }
.app.soon { background: var(--paper-2); border-style: dashed; }
.app.soon .kicker { color: var(--ink-2); }
@media (max-width: 900px) { .apps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- shared: footer, current page, sub-page heads ---------- */
.nav-links a[aria-current="page"]:not(.btn) { color: var(--cobalt); }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.site-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-foot a { color: var(--ink-2); text-decoration: none; }
.site-foot a:hover { color: var(--cobalt); }
.page-head { padding-block: 64px 36px; }
.page-head h1 { font: 800 clamp(44px, 6vw, 84px)/.95 var(--display); letter-spacing: -.04em; margin-top: 12px; }
.page-head p.sub { margin-top: 16px; color: var(--ink-2); font-size: 19px; max-width: 60ch; text-wrap: balance; }


/* ---------- skip link ---------- */
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- photography: justified rows, Squarespace's row breaks (target 400px) ---------- */
/* The photos run the full window less 3vw a side, as on Squarespace, so the rows
   break exactly where they did there (tests/browser/public.spec.js pins them). */
.page-photos { --gap: calc(20px + .37vw); --row: 400px; }   /* --row must equal TARGET in site.js */
.page-photos main .band { padding-left: max(3vw, env(safe-area-inset-left, 0px)); padding-right: max(3vw, env(safe-area-inset-right, 0px)); }
.page-photos main .wrap { max-width: none; }
.gallery { display: flex; flex-wrap: wrap; gap: var(--gap); margin-bottom: 96px; }
.gallery::after { content: ""; flex-grow: 1e4; }   /* keeps a short last row from stretching */
.photo { flex: var(--r) 1 calc(var(--r) * var(--row)); aspect-ratio: var(--r); position: relative; overflow: hidden; border-radius: 6px; background: var(--paper-2); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.photo:hover img { transform: scale(1.03); }
.photo:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.gallery.laid { display: block; position: relative; }   /* site.js placed every photo */
.gallery.laid::after { content: none; }
.gallery.laid .photo { position: absolute; aspect-ratio: auto; }
@media (max-width: 767px) { .page-photos { --gap: 20px; } .page-photos main .band { padding-left: max(6vw, env(safe-area-inset-left, 0px)); padding-right: max(6vw, env(safe-area-inset-right, 0px)); } .photo { flex-basis: 100%; } }

/* ---------- the photo viewer (site.js) ---------- */
.viewer { position: fixed; inset: 0; z-index: 50; background: rgba(5, 7, 10, .96); display: none; align-items: center; justify-content: center; touch-action: pan-y pinch-zoom; }
.viewer.open { display: flex; }
.viewer img { max-width: calc(100vw - 160px); max-height: calc(100vh - 80px); width: auto; height: auto; object-fit: contain; border-radius: 4px; user-select: none; -webkit-user-drag: none; }
.viewer button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 99px; opacity: .8; }
.viewer button:hover, .viewer button:focus-visible { opacity: 1; background: rgba(255,255,255,.12); }
.viewer button:focus-visible { outline: 3px solid #fff; }
.viewer button svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.viewer .close { top: max(12px, env(safe-area-inset-top, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); }
.viewer .prev { left: max(12px, env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); }
.viewer .next { right: max(12px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }
body.viewing { overflow: hidden; }
@media (max-width: 767px) {
  .viewer img { max-width: 100vw; max-height: calc(100vh - 120px); border-radius: 0; }
  .viewer .prev, .viewer .next { top: auto; bottom: max(8px, env(safe-area-inset-bottom, 0px)); transform: none; }
}
@media (prefers-reduced-motion: reduce) { .photo img { transition: none; } }

/* ---------- samples ---------- */
.samples-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-bottom: 72px; }
.sample-list { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.sample-list a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; font-weight: 500; }
.sample-list a:hover { color: var(--cobalt); }
.sample-list .sample-t small { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; line-height: 1.45; color: var(--ink-2); }
.sample-list a span { font: 500 12px/1.6 var(--mono); color: var(--ink-2); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 16px; }
.videos figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.videos video { width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; background: #000; display: block; }
.videos figcaption { font-weight: 600; }
@media (max-width: 900px) { .samples-grid, .videos { grid-template-columns: minmax(0, 1fr); } }

/* ---------- contact (contact.php: the form posts back to the page) ---------- */
.contact-page { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; padding-block: 64px 96px; align-items: start; }
.contact-intro .headshot { width: 100%; max-width: 280px; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 18px; display: block; margin-bottom: 28px; }
.contact-intro h1 { font: 800 clamp(40px, 5vw, 68px)/1 var(--display); letter-spacing: -.035em; }
.contact-intro p { margin-top: 18px; font-size: 19px; color: var(--ink-2); max-width: 44ch; }
.contact-form { display: flex; flex-direction: column; gap: 18px; background: var(--paper-2); border-radius: 20px; padding: 32px; }
.contact-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.contact-form legend { padding: 0; margin-bottom: 8px; font-weight: 600; font-size: 15px; }
.name-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-weight: 600; font-size: 15px; }
.req { font-weight: 400; color: var(--ink-2); }
.field input, .field textarea { width: 100%; box-sizing: border-box; font: 400 16px/1.4 var(--body); color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; padding: 12px 14px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--cobalt); outline-offset: 1px; }
.field textarea { min-height: 160px; resize: vertical; }
.error { color: var(--err); font-size: 14px; font-weight: 500; margin: 0; }
.has-error input, .has-error textarea { border-color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .button { align-self: flex-start; display: inline-flex; align-items: center; min-height: 46px; padding: 12px 22px; border-radius: 999px; border: 0; background: var(--cobalt); color: var(--cobalt-ink); font: 600 15px/1 var(--body); cursor: pointer; }
.contact-form .button:hover { filter: brightness(1.1); }
.contact-form .button:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.thanks p { margin: 0; font: 800 28px/1.1 var(--display); }
@media (max-width: 900px) { .contact-page { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 32px 64px; } .contact-intro .headshot { max-width: 140px; } .contact-form { padding: 20px; } }
@media (max-width: 480px) { .name-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- not found ---------- */
.page-notfound .page-head p { margin-top: 16px; font-size: 19px; color: var(--ink-2); }

/* ---------- phones: the sub-pages (after their own rules, so these win) ---------- */
@media (max-width: 760px) {
  /* samples: videos two to a row */
  .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .videos video { border-radius: 8px; }
  .videos figcaption { font-size: 14px; line-height: 1.3; }
  .sample-list a { padding: 12px 2px; }
  .samples-grid { gap: 28px; margin-bottom: 40px; }

  /* sub-page heads, software cards, contact */
  .page-head { padding-block: 32px 20px; }
  .apps { gap: 12px; margin-bottom: 48px; }
  .app { padding: 20px; gap: 10px; }
  .app-icon { width: 56px; height: 56px; }
  .app h2 { font-size: 26px; }
  .contact-page { padding-block: 24px 48px; gap: 24px; }
  .contact-intro .headshot { max-width: 88px; border-radius: 50%; margin-bottom: 16px; }
  .contact-intro p { font-size: 17px; margin-top: 12px; }
  .field textarea { min-height: 120px; }
}

/* ---------- Kirkpatrick's four levels: 1-2 quiet, 3-4 the point ---------- */
/* The staircase: four steps rise in turn (CSS only), 1-2 grey, 3-4 in the accent. */
.stairs { margin: 0 0 40px; padding: 28px 28px 24px; border-radius: 20px; background: var(--paper-2); }
.stairs-marks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 14px; font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.stairs-marks span { padding-bottom: 8px; border-bottom: 2px solid; }
.stairs-marks .stop { color: var(--ink-2); border-color: var(--rule); border-bottom-style: dashed; }
.stairs-marks .shows { color: var(--cobalt); border-color: var(--cobalt); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: end; height: 260px; }
.step-col { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; height: 100%; min-width: 0; }
.step-bar { height: calc(var(--i) * 25% - 34px); min-height: 36px; border-radius: 12px 12px 4px 4px; background: color-mix(in srgb, var(--ink-2) 28%, var(--paper)); display: flex; align-items: flex-start; padding: 10px 12px;
  transform-origin: bottom; animation: steprise .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * .22s); }
.step-bar span { font: 800 26px/1 var(--display); color: var(--ink); }
.step-col.deep .step-bar { background: var(--cobalt); }
.step-col.deep .step-bar span { color: var(--cobalt-ink); }
.step-col b { font: 700 16px/1.2 var(--display); }
.step-col small { font-size: 13px; line-height: 1.3; color: var(--ink-2); }
@keyframes steprise { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .step-bar { animation: none; } }
@media (max-width: 560px) {
  .stairs { padding: 18px 14px 16px; }
  .stairs-marks { font-size: 10px; letter-spacing: .06em; gap: 8px; }
  .steps { gap: 8px; height: 220px; }
  .step-bar { padding: 8px; }
  .step-bar span { font-size: 20px; }
  .step-col b { font-size: 13px; }
  .step-col small { font-size: 11px; }
}
.levels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.level { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 20px; border: 1px solid var(--rule); background: var(--paper); min-width: 0; }
.level .n { font: 800 44px/1 var(--display); color: var(--ink-2); }
.level h2 { font: 800 24px/1.1 var(--display); letter-spacing: -.02em; }
.level .asks { font-weight: 600; color: var(--ink); }
.level .how { font-size: 15px; color: var(--ink-2); }
.level .how b { font-weight: 600; color: var(--ink-2); }
.level:not(.deep) { opacity: .72; }
.level.deep { border-color: var(--cobalt); background: color-mix(in srgb, var(--cobalt) 10%, var(--paper)); }
.level.deep .n { color: var(--cobalt); }
.levels-point { margin: 40px 0 96px; max-width: 64ch; padding: 28px 32px; border-radius: 20px; background: var(--paper-2); display: flex; flex-direction: column; gap: 16px; }
.levels-point p { font: 600 clamp(19px, 1.8vw, 23px)/1.4 var(--display); letter-spacing: -.01em; color: var(--ink); }
.levels-point a { font-weight: 600; }
@media (max-width: 900px) { .levels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .levels { grid-template-columns: minmax(0, 1fr); gap: 10px; } .level { padding: 18px; gap: 6px; } .levels-point { margin: 28px 0 48px; padding: 20px; } }

/* ---------- Design review, 2026-10-25 ---------- */
/* The headline leads with the outcome; three real results sit right under it. */
.hero h1.outcome { margin: 18px 0 0; font: 800 clamp(40px, 5.4vw, 76px)/.98 var(--display); letter-spacing: -.04em; color: var(--ink); text-wrap: balance; max-width: 14ch; }
.proof-chips { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; max-width: 640px; }
.proof-chips a { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 14px; color: var(--ink); text-decoration: none; background: var(--paper); }
.proof-chips a:hover { border-color: var(--cobalt); }
.proof-chips small { font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.proof-chips b { font: 700 24px/1.15 var(--display); letter-spacing: -.02em; color: var(--cobalt); }
.proof-chips span { font-size: 14px; color: var(--ink-2); }
.hero .qualities-line { margin-top: 26px; font: 600 clamp(18px, 1.5vw, 21px)/1.45 var(--body); max-width: 56ch; }
.qualities-line em { font-style: normal; color: var(--cobalt); }
.hero .lede { margin-top: 16px; }
/* The approach, shorter: the needs list folds away and nothing moves on its own. */
.method.compact .needs { margin-bottom: 32px; }
.method.compact .needs summary { cursor: pointer; color: var(--cobalt); }
.method.compact .needs[open] summary { margin-bottom: 4px; }
.loop-hint { margin: 30px 0 18px; color: var(--ink-2); font-size: 15px; }
/* What people say: one band. */
.voices { background: var(--paper-2); }
.voice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 8px; }
.voices .pull-quote { margin: 0; max-width: none; background: var(--paper); }
.voices .pull-quote blockquote p { font-size: clamp(18px, 1.6vw, 22px); }
@media (max-width: 760px) { .voice-grid { grid-template-columns: minmax(0, 1fr); } }
/* Footer links: taller tap targets on a phone. */
.site-foot nav a { display: inline-block; padding-block: 6px; }
/* Contact page: the address and LinkedIn beside the form; a fuller thank-you. */
.contact-direct { margin-top: 22px; display: flex; flex-direction: column; gap: 6px; font-size: 17px; }
.contact-direct a { font-weight: 600; }
.thanks h2 { font: 800 clamp(28px, 3vw, 40px)/1.05 var(--display); letter-spacing: -.03em; }
.thanks p { margin-top: 12px; color: var(--ink-2); font: 400 18px/1.5 var(--body); }
.thanks .next { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
/* Samples: a line of purpose under each title, and a tag for portfolio pieces. */
.sample-list .sample-t small.made-up { display: inline-block; margin-top: 8px; padding: 2px 8px; border-radius: 99px; background: var(--paper-2); font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.sample-list .side-note { margin: -6px 0 0; padding: 0 4px 14px; border-bottom: 1px solid var(--rule); }
.sample-list .side-note a { display: inline; padding: 0; border: 0; color: var(--cobalt); font-weight: 500; }
.sample-list li:has(.side-note) > a { border-bottom: 0; }
.video figcaption small { display: block; font-size: 14px; font-weight: 400; color: var(--ink-2); }
.side-note { margin-top: 10px; font-size: 15px; color: var(--ink-2); }

/* (Brandon, 2026-10-25: "a lot of Claude-designed sites have the same Courier font
   throughout"): labels are ordinary words in the body face, sentence case and semibold,
   not spaced-out capitals; numbers keep their columns with tabular figures. */
.label, .metric-tab small, .prog small, .detail .org, .return-label, .ai-card .kicker, .filter-select label,
.app .kicker, .sample-list a span, .stairs-marks, .proof-chips small, .sample-list .sample-t small.made-up {
  text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 13px;
}
.label { font-size: 14px; }
.num, .metric-tab .delta, .bar-row, .scale, .when, .fact b, .proof .num { font-variant-numeric: tabular-nums; }
.metric-tab .delta, .big .num { font-family: var(--display); }
/* Where each result comes from (2026-10-25): company, years, and Brandon's part in it. */
.m-source { display: block; margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--night-2); }
.m-source b { font-weight: 600; color: var(--night-ink); }
.m-source a { color: var(--night-ink); }
/* What he's open to, under his name. */
.hero .open-to { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.4; }   /* not cobalt: it would read as a link */
/* Case study pages (/work/…). */
.case-head { padding-block: 64px 40px; }
.case-head .label a { color: inherit; }
.case-head h1 { margin-top: 14px; font: 800 clamp(36px, 5vw, 68px)/1 var(--display); letter-spacing: -.035em; text-wrap: balance; max-width: 18ch; }
.case-head .lede { margin-top: 20px; font-size: 20px; color: var(--ink-2); max-width: 60ch; }
.case-facts { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.case-facts li { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 14px; background: var(--paper-2); }
.case-facts b { font: 700 28px/1.1 var(--display); letter-spacing: -.02em; color: var(--cobalt); }
.case-facts span { font-size: 14px; color: var(--ink-2); }
.case-body { display: grid; gap: 40px; padding-block: 8px 80px; }
.case-body > * { max-width: 760px; }   /* a readable column, on the page's left edge like the heading above (Brandon, 2026-10-25) */
.case-body h2 { font: 800 clamp(24px, 2.4vw, 30px)/1.1 var(--display); letter-spacing: -.02em; }
.case-body ul:not(.sample-list) { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 10px; font-size: 18px; color: var(--ink-2); }
.case-body p { margin-top: 14px; font-size: 18px; color: var(--ink-2); }
.case-body .hint { font-size: 15px; }
.case-next { display: flex; flex-wrap: wrap; gap: 12px; }

/* "Fictional company" is a tag, not a link (Brandon, 2026-10-25: in blue it read as one). */
.sample-list a:hover .made-up { color: var(--ink-2); }
/* The footer stands apart from the page: space and a rule above it. */
.site-foot { margin-top: 72px; border-top: 1px solid var(--rule); }
.site-foot .wrap { padding-block: 28px 40px; }
/* The sun/moon switch in the header: the moon offers dark, the sun offers light. */
.theme-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--rule); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.theme-toggle[hidden] { display: none; }
.theme-toggle:hover { color: var(--cobalt); border-color: var(--cobalt); }
.theme-toggle:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: none; }
}
@media (max-width: 520px) { .theme-toggle { width: 36px; height: 36px; } }
/* On the narrowest phones the header has no room for it: it's a row in the Work menu instead. */
.theme-row { display: none; }
@media (max-width: 400px) {
  .nav-links .theme-toggle { display: none; }
  .theme-row:not([hidden]) { display: block; all: unset; cursor: pointer; display: block; padding: 10px 0; font-weight: 600; color: var(--ink); }
  .theme-row:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
}
.menu-panel .label.menu-label-next { margin-top: 18px; }   /* Also, below Case studies */
/* Blue means a link, a button, or a big headline moment (Brandon, 2026-10-25: small blue text
   read as links). Small labels are grey; the hero line is set large, like a headline. */
.detail .org, .ai-card .kicker, .app .kicker, .needs .label:not(summary) { color: var(--ink-2); }
.hero .qualities-line { font: 700 clamp(22px, 2.1vw, 30px)/1.3 var(--display); letter-spacing: -.015em; max-width: 34ch; }
