/* Mesura Partners
   The idea: a conversation at the owner's side of the table.
   The owner's words are set in Newsreader italic, the firm's answers in Commissioner.
   Colours: a deep forest green, cream and sand. One warm note, clay, on the logo's arc only (C, 29 October).
   Small marks (quotation marks, arrows, numbers, + signs) take the green on cream and the cream on green. */

@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Commissioner"; src: url("/fonts/commissioner.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --paper: #FDFCF9;
  --sand: #F3EDE2;
  --sand-deep: #E8DFCF;
  --palm: #163A31;
  --palm-deep: #0F2C25;
  --on-palm: #F5F0E6;
  --on-palm-muted: #C6D7CF;
  --ink: #1C2521;
  --muted: #5A645F;
  --line: #E3DACB;
  --accent: #163A31;
  --accent-on-palm: #F5F0E6;
  --clay: #8E4A35;
  --clay-on-palm: #C48A68;
  --voice: #163A31;
  --lk-line: #163A31;
  --lk-name: #1C2521;
  --lk-sub: #163A31;
  --btn-bg: #163A31;
  --btn-fg: #F5F0E6;
  --btn-hover: #0F2C25;
  --control: #163A31;
  --bar: #16805C;
  --bar-low: #8A9A93;
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235A645F' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Commissioner", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --wrap: 72rem;
  --narrow: 43rem;
  --gutter: clamp(16px, 5vw, 48px);
  --band: clamp(3.5rem, 2rem + 6vw, 6.5rem);
  --radius: 10px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #141C19;
    --sand: #1F2B26;
    --sand-deep: #27352F;
    --palm: #1D4D42;
    --palm-deep: #163D34;
    --on-palm: #F2EEE5;
    --on-palm-muted: #B7C9C0;
    --ink: #E9E6DE;
    --muted: #A5AFA9;
    --line: #34443D;
    --accent: #F2EEE5;
    --clay: #C48A68;
    --voice: #A9D3C2;
    --lk-line: #F2EEE5;
    --lk-name: #F2EEE5;
    --lk-sub: #F2EEE5;
    --btn-bg: #ECE6D9;
    --btn-fg: #163A31;
    --btn-hover: #FFFFFF;
    --control: #8FC3AF;
    --bar: #2E9E76;
    --bar-low: #7F918A;
    --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23A5AFA9' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #141C19;
  --sand: #1F2B26;
  --sand-deep: #27352F;
  --palm: #1D4D42;
  --palm-deep: #163D34;
  --on-palm: #F2EEE5;
  --on-palm-muted: #B7C9C0;
  --ink: #E9E6DE;
  --muted: #A5AFA9;
  --line: #34443D;
  --accent: #F2EEE5;
  --clay: #C48A68;
  --voice: #A9D3C2;
  --lk-line: #F2EEE5;
  --lk-name: #F2EEE5;
  --lk-sub: #F2EEE5;
  --btn-bg: #ECE6D9;
  --btn-fg: #163A31;
  --btn-hover: #FFFFFF;
  --control: #8FC3AF;
  --bar: #2E9E76;
  --bar-low: #7F918A;
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23A5AFA9' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  color-scheme: dark;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 60rem) { body { font-size: 1.125rem; } }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset, legend, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-line: underline; text-decoration-color: color-mix(in srgb, var(--accent) 70%, transparent); text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
a[href^="mailto:"] { white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: var(--gutter); top: 0.75rem; z-index: 10; background: var(--paper); padding: 0.5rem 0.75rem; }

/* Frame */
.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }
.band { padding-block: var(--band); }
.band:not(.sand):not(.palm) + .band:not(.sand):not(.palm) { padding-top: 0; }
.band.sand { background: var(--sand); }
.band.palm { background: var(--palm); color: var(--on-palm); }
.band.palm a:not(.button) { text-decoration-color: color-mix(in srgb, var(--on-palm) 45%, transparent); }
.band.palm a:not(.button):hover { text-decoration-color: currentColor; }
.stack { display: flex; flex-direction: column; gap: 1.1rem; }
.stack > * { max-width: 40rem; }
.stack > .links, .stack > .tests, .stack > .table-wrap, .stack > .plain { max-width: none; }

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 470; text-wrap: balance; letter-spacing: -0.018em; }
h1 { font-size: clamp(2.35rem, 1.4rem + 3.6vw, 4.1rem); line-height: 1.06; }
h2 { font-size: clamp(1.65rem, 1.25rem + 1.5vw, 2.4rem); line-height: 1.14; }
h3 { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); line-height: 1.2; }
h2.minor { font-size: 1.375rem; line-height: 1.25; }
.lead { font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.375rem); line-height: 1.5; max-width: 38rem; text-wrap: pretty; }
p { text-wrap: pretty; }
.muted { color: var(--muted); }
.band.palm .muted { color: var(--on-palm-muted); }

/* Newsreader draws smaller than its size says. These keep the headings and the owner's words at the size the page was drawn for. */
h1, h2, h3, legend, .tests dd, .links a, .pack figcaption, .pack dd, .pack .mini td, .proof li strong, .exhibit-name, .sequence li::before, .qa ol.steps li::before, ol.model li::before { font-size-adjust: 0.485; }
.voice, .quote, .qa > h2, .group-label, .shape-for, .ledger caption { font-size-adjust: 0.52; }

/* The owner's voice: Newsreader italic, with the opening mark hung in the margin. */
.voice { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--voice); letter-spacing: -0.005em; }
.band.palm .voice { color: var(--on-palm); }
.quote { text-indent: -0.45em; }
.quote .mark { color: var(--accent); }
.band.palm .quote .mark { color: var(--accent-on-palm); }

/* Header */
.masthead { padding-block: 1.25rem; }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
/* The lockup, drawn in the page's colours: green lines and PARTNERS, ink name, clay arc. In dark mode and on green, cream with a light clay arc. */
.lockup { display: block; width: auto; height: 3.25rem; }
.lk-l { stroke: var(--lk-line); }
.lk-t { fill: var(--lk-name); }
.lk-s { fill: var(--lk-sub); }
.page-palm .masthead .lk-l, .colophon .lk-l { stroke: var(--on-palm); }
.page-palm .masthead .lk-t, .colophon .lk-t { fill: var(--on-palm); }
.page-palm .masthead .lk-s, .colophon .lk-s { fill: var(--accent-on-palm); }
.lk-a { stroke: var(--clay); }
.page-palm .masthead .lk-a, .colophon .lk-a { stroke: var(--clay-on-palm); }
/* High-contrast modes repaint text and backgrounds but not SVG colours: draw the logo in the mode's text colour. */
@media (forced-colors: active) { .lockup .lk-l { stroke: CanvasText !important; } .lockup .lk-t, .lockup .lk-s { fill: CanvasText !important; } }
.masthead nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem 1.6rem; font-size: 0.9875rem; font-weight: 500; }
.masthead nav a { text-decoration: none; padding-block: 0.3rem; border-bottom: 1.5px solid transparent; }
.masthead nav a:hover { border-bottom-color: var(--accent); }
.masthead nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.masthead nav a.nav-contact { border: 1.5px solid var(--ink); border-radius: 999px; padding: 0.4rem 1rem; }
.masthead nav a.nav-contact:hover { background: var(--ink); color: var(--paper); }
.masthead nav a.nav-contact[aria-current="page"] { background: var(--ink); color: var(--paper); }
.page-palm .masthead { background: var(--palm); color: var(--on-palm); }
.page-palm .masthead nav a[aria-current="page"] { border-bottom-color: var(--on-palm); }
.page-palm .masthead nav a.nav-contact { border-color: var(--on-palm); }
.page-palm .masthead nav a.nav-contact:hover { background: var(--on-palm); color: var(--palm); }
@media (max-width: 40rem) {
  .masthead nav { gap: 0.25rem 1.1rem; font-size: 0.9375rem; }
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  gap: 0.5rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--btn-hover); }
.band.palm .button, .button.light { background: var(--on-palm); color: var(--palm); }
.band.palm .button:hover, .button.light:hover { background: #FFFFFF; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.6rem; margin-top: 0.5rem; }
.actions a:not(.button) { font-weight: 500; }

/* Home: the hero */
.hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(3rem, 2rem + 5vw, 6rem); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.8fr); gap: clamp(2rem, 1rem + 4vw, 5.5rem); align-items: end; }
.hero h1 { font-size: clamp(2.4rem, 1.2rem + 3.9vw, 4.2rem); line-height: 1.08; max-width: 17ch; }
.hero .stack { gap: 1.5rem; }
.nowrap { white-space: nowrap; }
.hero .lead { color: var(--on-palm); }
.portrait { margin: 0; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 50% 50% var(--radius) var(--radius) / 40% 40% var(--radius) var(--radius); background: var(--palm-deep); }
.portrait figcaption { margin-top: 0.85rem; font-size: 0.9375rem; line-height: 1.4; }
.band.palm .portrait figcaption { color: var(--on-palm-muted); }
.portrait figcaption strong { display: block; font-weight: 600; color: inherit; }
.band.palm .portrait figcaption strong { color: var(--on-palm); }
@media (max-width: 52rem) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero .portrait { max-width: 22rem; }
}

/* Home: three questions */
.section-head { display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); max-width: 44rem; }
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto 1fr auto auto 1fr; column-gap: clamp(2rem, 1rem + 3vw, 3.5rem); row-gap: 0; }
.door { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0.9rem; }
.door .quote { font-size: clamp(1.45rem, 1.2rem + 0.9vw, 1.85rem); line-height: 1.22; }
.door h3 { font-size: 1.25rem; line-height: 1.25; font-weight: 600; padding-top: 1rem; border-top: 2px solid var(--ink); }
.door h3 a, .links a > span:not(.quote), .doorlinks small { text-decoration-line: underline; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); text-decoration-thickness: 1.5px; text-underline-offset: 0.22em; }
.door h3 a:hover, .links a:hover > span:not(.quote), .doorlinks a:hover small { text-decoration-color: var(--accent); }
.door p:not(.quote) { color: var(--muted); }
.doors .door > p:last-child { padding-bottom: clamp(1.5rem, 1rem + 2vw, 3rem); }
@media (max-width: 56rem) { .doors .door > p:last-child { padding-bottom: 0; } }
@media (max-width: 56rem) {
  .doors { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 2.75rem; }
  .door { display: flex; flex-direction: column; grid-row: auto; gap: 0.9rem; }
}

/* A sequence: how the work runs */
.sequence { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 1rem + 2vw, 2.75rem); counter-reset: step; }
.sequence li { counter-increment: step; display: flex; flex-direction: column; gap: 0.5rem; }
.sequence li::before { content: counter(step); font-family: var(--serif); font-weight: 500; font-size: 2.4rem; line-height: 1; color: var(--accent); margin-bottom: 0.35rem; }
/* How we start: the step number on the title's line, at the title's size, under a hairline (C, 29 October). */
.sequence.steps > li { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); column-gap: 0.25rem; row-gap: 0.5rem; align-content: start; border-top: 1px solid var(--line); padding-top: 1.1rem; }
.sequence.steps > li::before { grid-column: 1; grid-row: 1; font-size: 1.25rem; font-weight: 600; line-height: 1.25; margin: 0; }
.sequence.steps > li > * { grid-column: 2; }
.sequence h3 { font-size: 1.25rem; font-weight: 600; }
.sequence p { color: var(--muted); font-size: 1rem; }
.sequence-note { margin-top: 2.25rem; max-width: 40rem; }
.sequence-note + .actions { margin-top: 1.5rem; }
@media (max-width: 60rem) { .sequence { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .sequence { grid-template-columns: minmax(0, 1fr); } }

/* A heading on the left, the words on the right */
.split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); gap: 1.25rem clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.split > h2, .split > .split-head { position: sticky; top: 1.5rem; }
.split-head { display: flex; flex-direction: column; gap: 0.6rem; }
.split-head .quote { font-size: 1.2rem; line-height: 1.3; }
.split + .split { margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); border-top: 1px solid var(--line); }
@media (max-width: 52rem) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split > h2, .split > .split-head { position: static; }
}

/* Size tests */
.tests { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-block: 1px solid var(--line); }
.tests div { padding: 1.1rem 1.25rem 1.2rem 0; }
.tests div + div { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.tests dt { font-size: 0.9375rem; color: var(--muted); }
.tests dd { font-family: var(--serif); font-size: 1.25rem; line-height: 1.3; margin-top: 0.2rem; text-wrap: pretty; }
@media (max-width: 44rem) {
  .tests { grid-template-columns: minmax(0, 1fr); }
  .tests div, .tests div + div { padding: 0.9rem 0; border-left: 0; }
  .tests div + div { border-top: 1px solid var(--line); }
}

/* Lists */
.plain { display: flex; flex-direction: column; }
.plain li { padding-block: 0.8rem; border-top: 1px solid var(--line); }
.plain li:first-child { border-top: 0; padding-top: 0; }
.said { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 2.5rem; }
.said li { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); line-height: 1.3; }
@media (max-width: 44rem) { .said { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; } }
.links { display: flex; flex-direction: column; }
.links li { border-top: 1px solid var(--line); }
.links li:last-child { border-bottom: 1px solid var(--line); }
.links a { display: block; padding-block: 1rem; font-family: var(--serif); font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); line-height: 1.3; text-decoration: none; text-wrap: pretty; }
.links a:hover { color: var(--palm); }

.doorlinks a { display: flex; flex-direction: column; gap: 0.3rem; }
.doorlinks .quote { color: var(--voice); }
.doorlinks small { font-family: var(--sans); font-size: 0.9375rem; font-weight: 500; color: var(--muted); }
.links.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }
.links.two li:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--line); }
@media (max-width: 44rem) { .links.two { grid-template-columns: minmax(0, 1fr); } .links.two li:nth-last-child(2):nth-child(odd) { border-bottom: 0; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .links a:hover { color: var(--voice); } }
:root[data-theme="dark"] .links a:hover { color: var(--voice); }

/* Inner pages: the opening */
.opening { padding-block: clamp(2.25rem, 1.5rem + 3vw, 4.5rem) clamp(2.75rem, 2rem + 3vw, 4.75rem); }
.opening .stack { gap: 1.25rem; }
.opening .stack > * { max-width: 46rem; }
.opening .quote { font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.75rem); line-height: 1.25; }
.opening h1 { max-width: 18ch; }
.opening .lead { max-width: 40rem; }
.band.palm.opening .lead { color: var(--on-palm); }
.about-opening .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.75fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: end; }
@media (max-width: 52rem) { .about-opening .wrap { grid-template-columns: minmax(0, 1fr); } .about-opening .portrait { max-width: 22rem; } }

/* Problem pages */
.back { font-size: 0.9375rem; font-weight: 500; }
.back a { text-decoration: none; color: var(--muted); }
.back a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); }
.article h1 { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.4rem); line-height: 1.08; max-width: none; }
.byline { display: flex; align-items: center; gap: 0.8rem; font-size: 0.9375rem; color: var(--muted); margin-top: 0.5rem; }
.byline img { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.byline a { color: var(--ink); font-weight: 600; text-decoration: none; }
.byline a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.prose { display: flex; flex-direction: column; gap: clamp(3rem, 2.25rem + 2.5vw, 4.5rem); }
.qa { display: flex; flex-direction: column; gap: 1.05rem; }
.qa > h2 { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--voice); font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); line-height: 1.2; margin-bottom: 0.35rem; }
.qa ol.steps { counter-reset: s; display: flex; flex-direction: column; gap: 0.6rem; }
.qa ol.steps li { counter-increment: s; position: relative; padding-left: 2.1rem; }
.qa ol.steps li::before { content: counter(s); position: absolute; left: 0; top: 0.05em; font-family: var(--serif); font-weight: 600; color: var(--accent); font-size: 1.05em; }
.qa ul.plain li { padding-block: 0.5rem; }

/* Tables */
.table-wrap { overflow-x: auto; margin-block: 0.75rem; }
table.ledger { border-collapse: collapse; width: 100%; font-size: 0.96875rem; font-variant-numeric: tabular-nums lining-nums; background: var(--sand); border-radius: var(--radius); overflow: hidden; }
.ledger caption { caption-side: top; text-align: left; font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 1rem; padding-bottom: 0.6rem; }
.ledger th, .ledger td { padding: 0.7rem 1rem; border-top: 1px solid var(--line); text-align: right; vertical-align: top; }
.ledger thead th { font-weight: 600; font-size: 0.875rem; color: var(--muted); border-top: 0; padding-top: 0.9rem; }
.ledger thead th:first-child { text-align: left; }
.ledger th[scope="row"] { text-align: left; font-weight: 400; }
.ledger tr.total th, .ledger tr.total td { border-top: 1.5px solid var(--ink); font-weight: 650; background: var(--sand-deep); }
.ledger.text td, .ledger.text th { text-align: left; }
.ledger.text th[scope="row"] { width: 42%; font-weight: 500; }
.ledger + p { color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 30rem) { .ledger th, .ledger td { padding: 0.55rem 0.4rem; font-size: 0.8125rem; } .ledger thead th { font-size: 0.75rem; } .exhibit { padding: 1rem 0.75rem; } }

/* Call to action */
.cta { display: flex; flex-direction: column; gap: 1.1rem; }
.cta .person { display: flex; align-items: center; gap: 0.85rem; font-size: 0.9375rem; color: var(--muted); }
.cta .person img { width: 52px; height: 52px; border-radius: 50%; }
.cta .person strong { display: block; color: var(--ink); font-weight: 600; }
.band.palm .cta .person { color: var(--on-palm-muted); }
.band.palm .cta .person strong { color: var(--on-palm); }
.closing .wrap { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 2rem 3rem; }
.closing h2 { max-width: 16ch; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); line-height: 1.08; }
.closing .stack { gap: 1rem; }

.sequence.two { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.75rem; }
@media (max-width: 40rem) { .sequence.two { grid-template-columns: minmax(0, 1fr); } }
.sequence.two p { font-size: inherit; color: var(--ink); }

/* Contact form */
.contact-split { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.6fr); }
.contact-split .aside { position: sticky; top: 1.5rem; }
.person { display: flex; align-items: center; gap: 0.85rem; font-size: 0.9375rem; color: var(--muted); }
.person img { width: 52px; height: 52px; border-radius: 50%; }
.person strong { display: block; color: var(--ink); font-weight: 600; }
@media (max-width: 52rem) { .contact-split { grid-template-columns: minmax(0, 1fr); } .contact-split .aside { position: static; } }
form { display: flex; flex-direction: column; gap: 2.75rem; }
fieldset { border: 0; display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
legend { font-family: var(--serif); font-weight: 500; font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); line-height: 1.2; margin-bottom: 0.9rem; }
.group-label { font-family: var(--serif); font-style: italic; color: var(--voice); font-size: 1.125rem; margin: 1rem 0 0.25rem; }
.group-label:first-of-type { margin-top: 0; }
.hint { color: var(--muted); font-size: 0.9375rem; margin: -0.6rem 0 0.6rem; }
.hint + .group-label { margin-top: 0; }
.choice { display: flex; gap: 0.8rem; align-items: flex-start; padding: 0.6rem 0.85rem; border-radius: 8px; cursor: pointer; line-height: 1.45; }
.choice:hover { background: var(--sand); }
.choice:has(input:checked) { background: var(--sand); box-shadow: inset 0 0 0 1.5px var(--control); }
.choice input { flex: none; margin: 0.2em 0 0; width: 1.15rem; height: 1.15rem; appearance: none; -webkit-appearance: none; border: 1.5px solid var(--muted); border-radius: 50%; background: var(--paper); display: grid; place-content: center; cursor: pointer; }
.choice input[type="checkbox"] { border-radius: 4px; }
.choice input:checked { border-color: var(--control); }
.choice input[type="radio"]:checked::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--control); }
.choice input[type="checkbox"]:checked { background: var(--control); }
.choice input[type="checkbox"]:checked::before { content: ""; width: 0.6rem; height: 0.32rem; border-left: 2px solid var(--paper); border-bottom: 2px solid var(--paper); transform: translateY(-1px) rotate(-45deg); }
.choice input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.1rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field label { font-size: 0.9375rem; font-weight: 500; }
fieldset > .field { margin-top: 0.9rem; }
.field.wide { grid-column: 1 / -1; }
.field.wide select { max-width: 22rem; }
input[type="text"], input[type="email"], select {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  width: 100%;
}
select { appearance: none; -webkit-appearance: none; background-image: var(--arrow); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.5rem; cursor: pointer; }
input[type="text"]:focus, input[type="email"]:focus, select:focus { border-color: var(--control); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--control) 25%, transparent); }
.form-head { margin-bottom: 1.5rem; }
.form-card { background: var(--sand); border-radius: calc(var(--radius) * 1.4); padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); }
.form-card input[type="text"], .form-card input[type="email"], .form-card select { background: var(--paper); }
.form-card .choice:hover, .form-card .choice:has(input:checked) { background: var(--paper); }
@media (max-width: 40rem) { .form-card { padding: 1.25rem 1rem; } .choice { padding-inline: 0.4rem; } }
.pending { background: color-mix(in srgb, var(--accent) 18%, transparent); border-radius: 4px; padding: 0 0.25em; }
/* The spam trap: a field people never see. Bots fill it; the site then drops the enquiry. */
.trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.result { border-radius: 8px; border: 1.5px dashed var(--accent); padding: 1rem 1.15rem; display: flex; flex-direction: column; gap: 0.4rem; }
.result strong { font-weight: 600; }
.thanks { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.5rem 1.6rem; background: var(--paper); border-radius: var(--radius); border-left: 4px solid var(--palm); }
.thanks h2 { font-size: 1.75rem; line-height: 1.15; }
.thanks .label { color: var(--muted); font-size: 0.9375rem; font-weight: 600; }
.thanks .label.small { font-weight: 500; font-size: 0.875rem; margin-top: 0.35rem; margin-bottom: -0.35rem; }
.thanks:focus { outline: none; }

/* Footer */
.colophon { background: var(--palm-deep); color: var(--on-palm-muted); padding-block: 3rem 2.5rem; font-size: 0.9375rem; }
.colophon .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 3rem; }
.colophon .brand-mark { margin-bottom: 1.1rem; }
.colophon .brand-mark .lockup { height: 3.75rem; }
.colophon p + p { margin-top: 0.35rem; }
.colophon ul { display: flex; flex-direction: column; gap: 0.35rem; }
.colophon a { color: var(--on-palm); text-decoration-color: color-mix(in srgb, var(--on-palm) 35%, transparent); }
.colophon a:hover { text-decoration-color: var(--on-palm); }
.colophon .fine { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--on-palm) 16%, transparent); font-size: 0.875rem; }
@media (max-width: 44rem) { .colophon .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Home: a page of the work, in the opening */
.pack { margin: 0; background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 1.4rem 1.5rem 1.3rem; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 18px 40px -24px rgba(0, 0, 0, 0.45); max-width: 26rem; justify-self: end; width: 100%; }
.pack figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.2rem 1rem; font-family: var(--serif); font-size: 1.1rem; padding-bottom: 0.8rem; border-bottom: 1.5px solid var(--ink); }
.pack-tag { font-family: var(--sans); font-size: 0.8125rem; color: var(--muted); white-space: nowrap; margin-left: auto; }
.pack dl { display: flex; flex-direction: column; }
.pack dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: 0.7rem; border-bottom: 1px solid var(--line); }
.pack dt { font-size: 0.9375rem; color: var(--muted); }
.pack dd { font-family: var(--serif); font-size: 1.3rem; font-variant-numeric: lining-nums tabular-nums; text-align: right; white-space: nowrap; }
.pack dd small { display: block; font-family: var(--sans); font-size: 0.8125rem; color: var(--muted); }
.pack > p { margin-top: 0.9rem; font-size: 0.9375rem; line-height: 1.45; }
@media (max-width: 52rem) { .pack { justify-self: start; } }

.hero-note { color: var(--on-palm-muted); font-size: 0.9875rem; max-width: 36rem; }
/* The hero portrait: the founder, four facts under him. */
.hero-portrait { max-width: 20rem; justify-self: end; width: 100%; }
.hero-portrait img { aspect-ratio: 4 / 4.6; }
.hero-portrait figcaption { font-size: 0.9375rem; }
.facts { list-style: none; margin: 0.9rem 0 0; padding: 0; display: flex; flex-direction: column; }
.facts li { padding: 0.5rem 0; border-top: 1px solid color-mix(in srgb, var(--paper) 22%, transparent); color: var(--on-palm); font-size: 0.9375rem; line-height: 1.35; }
.facts li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--paper) 22%, transparent); }
@media (max-width: 52rem) { .hero-portrait { justify-self: start; max-width: 18rem; } }
/* The founder: in the hero on wide screens, after the four questions on a phone. */
.phone-only { display: none; }
@media (max-width: 52rem) { .wide-only { display: none; } .phone-only { display: block; margin-top: 2.5rem; } }
.band:not(.palm) .facts li { color: var(--ink); border-color: var(--line); }
.band:not(.palm) .hero-portrait figcaption { color: var(--muted); }
.band:not(.palm) .hero-portrait figcaption strong { color: var(--ink); }
/* The proof strip: the same facts, no portrait. */
.hero-strip .wrap { grid-template-columns: minmax(0, 1fr); }
.proof { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem 2rem; max-width: 60rem; }
.proof li { border-top: 1.5px solid color-mix(in srgb, var(--paper) 45%, transparent); padding-top: 0.8rem; color: var(--on-palm-muted); font-size: 0.9375rem; line-height: 1.4; }
.proof li strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.35rem; line-height: 1.2; color: var(--on-palm); margin-bottom: 0.25rem; }
@media (max-width: 52rem) { .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 30rem) { .proof { grid-template-columns: minmax(0, 1fr); } }
.label-line { font-family: var(--sans); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); }
/* Questions we get asked, and what we say */
.asked + .asked { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); padding-top: clamp(2rem, 1.5rem + 2vw, 3rem); border-top: 1px solid var(--line); }
.asked h2.quote { font-size: clamp(1.5rem, 1.25rem + 1vw, 2.1rem); line-height: 1.25; margin-bottom: 1.25rem; }
.asked h3 { font-family: var(--sans); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); margin: 1.25rem 0 0.4rem; }
.asked h3:first-of-type { margin-top: 0; }
.pack-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 2.5rem 2rem; align-items: start; }
.pack-options .pack { justify-self: stretch; max-width: none; }
.pack-options .hero-note strong { color: var(--on-palm); font-weight: 600; }
.pack table.mini { width: 100%; border-collapse: collapse; font-size: 0.9375rem; font-variant-numeric: tabular-nums lining-nums; margin-top: 0.35rem; }
.pack .mini th, .pack .mini td { padding: 0.55rem 0 0.55rem 0.6rem; text-align: right; border-bottom: 1px solid var(--line); }
.pack .mini th:first-child { padding-left: 0; text-align: left; }
.pack .mini thead th { font-weight: 500; font-size: 0.8125rem; color: var(--muted); vertical-align: bottom; line-height: 1.25; }
.pack .mini tbody th { font-weight: 400; }
.pack .mini td { font-family: var(--serif); font-size: 1.05rem; }
.pack .mini tr.total th, .pack .mini tr.total td { font-weight: 650; border-bottom: 0; border-top: 1.5px solid var(--ink); }
.pack-unit { margin-top: 0.4rem; font-size: 0.8125rem; color: var(--muted); }
.shape-list.changes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 60rem) { .shape-list.changes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .shape-list.changes { grid-template-columns: minmax(0, 1fr); } }

/* What we do: four shapes */
.shapes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.5rem, 1.5rem + 3vw, 4rem) clamp(2rem, 1rem + 4vw, 5rem); }
.shape { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0.75rem; align-content: start; padding-top: 1.1rem; border-top: 2px solid var(--ink); }
.shapes { row-gap: 0; }
.shape { margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.shape-for { font-family: var(--serif); font-style: italic; color: var(--voice); font-size: 1.15rem; line-height: 1.35; }
.shape-terms { font-size: 0.9375rem; color: var(--muted); }
.shape ul.plain li { padding-block: 0.55rem; }
@media (max-width: 48rem) { .shapes { grid-template-columns: minmax(0, 1fr); } .pair-break { display: none; } }
.shape-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.shape-list li { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0.5rem; align-content: start; padding-top: 1rem; border-top: 2px solid var(--ink); }
.shape-list h3 { font-size: 1.25rem; font-weight: 600; }
.shape-list p { color: var(--muted); font-size: 1rem; }
@media (max-width: 60rem) { .shape-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .shape-list { grid-template-columns: minmax(0, 1fr); } }

/* Exhibits: the work, with made-up numbers */
.exhibit { margin: 0; background: var(--sand); border-radius: calc(var(--radius) * 1.4); padding: clamp(1.25rem, 0.75rem + 2vw, 2.25rem); display: flex; flex-direction: column; gap: 1.25rem; }
.exhibit + .exhibit { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
.exhibit > figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.4rem 1.5rem; padding-bottom: 0.9rem; border-bottom: 1.5px solid var(--ink); }
.exhibit-name { font-family: var(--serif); font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); line-height: 1.2; }
.exhibit > figcaption .muted { font-size: 0.9375rem; }
.exhibit-body.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2.5rem; align-items: start; }
@media (max-width: 52rem) { .exhibit-body.two-col { grid-template-columns: minmax(0, 1fr); } }
.exhibit table.ledger { background: var(--paper); }
.exhibit .ledger caption { font-family: var(--sans); font-style: normal; font-weight: 600; color: var(--ink); font-size: 0.9375rem; }
.exhibit-note { max-width: 46rem; }
.chart { width: 100%; height: auto; display: block; max-width: 60rem; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .tick, .chart .axis { fill: var(--muted); font-family: var(--sans); font-size: 15px; }
.chart .bar { fill: var(--bar); }
.chart .bar.low { fill: var(--bar-low); }
.chart .bar:hover { opacity: 0.85; }
.chart .callout { fill: var(--ink); font-family: var(--sans); font-size: 16px; font-weight: 600; }
.numbers { margin-top: 1rem; font-size: 0.9375rem; }
.numbers summary { cursor: pointer; font-weight: 500; color: var(--muted); }
.numbers .table-wrap { margin-top: 0.75rem; }
table.ledger.compact th, table.ledger.compact td { padding: 0.5rem 0.6rem; white-space: nowrap; }
ol.model { counter-reset: m; display: flex; flex-direction: column; }
ol.model li { counter-increment: m; position: relative; padding: 0.85rem 0 0.85rem 2.6rem; border-top: 1px solid var(--line); }
ol.model li:first-child { border-top: 0; }
ol.model li::before { content: counter(m); position: absolute; left: 0; top: 0.7rem; font-family: var(--serif); font-size: 1.35rem; color: var(--accent); }
ol.model strong { font-weight: 600; }

/* The founder, smaller, lower on the home page */
.portrait.small { max-width: 15rem; margin-top: 1.5rem; }
.portrait.small figcaption { color: var(--muted); }
.portrait.small figcaption strong { color: var(--ink); }

/* The preview's own note, shown only in the review copy */
.preview-bar { position: fixed; left: 16px; bottom: 16px; z-index: 20; display: flex; align-items: center; gap: 0.5rem; background: var(--ink); color: var(--paper); font-size: 0.8125rem; line-height: 1.3; padding: 0.35rem 0.4rem 0.35rem 0.85rem; border-radius: 999px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18); }
.preview-bar a { color: var(--paper); font-weight: 600; text-decoration: none; border: 1px solid color-mix(in srgb, var(--accent) 80%, transparent); border-radius: 999px; padding: 0.3rem 0.7rem; }
.preview-bar button { font: inherit; font-weight: 600; color: var(--paper); background: transparent; border: 1px solid color-mix(in srgb, var(--paper) 35%, transparent); border-radius: 999px; padding: 0.3rem 0.7rem; cursor: pointer; }
.preview-bar button[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }

@media (prefers-reduced-motion: no-preference) {
  .button, .masthead nav a, .choice, .links a { transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease, box-shadow 140ms ease; }
}

/* The founder byline: a small photo beside the name, the facts under it */
.hero-byline .wrap { align-items: center; }
.byline-card { max-width: 20rem; justify-self: end; width: 100%; }
.byline-head { display: flex; align-items: center; gap: 0.9rem; }
.byline-head img { width: 72px; height: 72px; border-radius: 50%; display: block; object-fit: cover; }
.byline-head p { font-size: 0.9375rem; line-height: 1.4; color: var(--on-palm-muted); }
.byline-head strong { display: block; font-weight: 600; color: var(--on-palm); }
@media (max-width: 52rem) { .byline-card { justify-self: start; max-width: 22rem; } }
.band:not(.palm) .byline-head p { color: var(--muted); }
.band:not(.palm) .byline-head strong { color: var(--ink); }
.stack > .byline-card.phone-only { margin-top: 0.5rem; }

/* ======================================================================
   The new look: calmer surfaces, a lighter hero, folds on a phone, and
   movement that follows the reader. Every rule is an enhancement: a browser
   without a feature shows the page as it was.
   ====================================================================== */
:root { --band: clamp(4rem, 2.5rem + 6vw, 7.5rem); --radius: 14px; }
h1, h2, h3 { letter-spacing: -0.018em; }

/* Hero: the headline, one line on who and where, two actions, the founder. */
.hero h1 { font-size: clamp(2.7rem, 1.3rem + 4.6vw, 5rem); line-height: 1.08; max-width: 14ch; }
.hero .stack { gap: 1.6rem; }
.hero .lead { max-width: 30rem; }
@media (min-width: 52.01rem) { .hero .wrap { grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr); align-items: end; } }

/* The founder: a panel one shade deeper than the band. What he brings opens on a click. */
.founder { background: var(--palm-deep); border: 1px solid color-mix(in srgb, var(--on-palm) 12%, transparent); border-radius: var(--radius); padding: 1.1rem 1.2rem 0.4rem; max-width: 22rem; width: 100%; justify-self: end; color: var(--on-palm); }
.founder .byline-head img { width: 56px; height: 56px; }
.founder .byline-head p { color: var(--on-palm-muted); }
.founder .byline-head strong { color: var(--on-palm); }
.founder-more { margin-top: 0.9rem; border-top: 1px solid color-mix(in srgb, var(--on-palm) 14%, transparent); }
.founder-more > summary { list-style: none; cursor: pointer; padding: 0.75rem 0; font-size: 0.9375rem; font-weight: 500; color: var(--on-palm-muted); display: flex; justify-content: space-between; align-items: center; }
.founder-more > summary::-webkit-details-marker { display: none; }
.founder-more > summary::after { content: "+"; font-family: var(--serif); font-size: 1.3rem; line-height: 1; color: var(--accent-on-palm); }
.founder-more[open] > summary::after { content: "\2013"; }
.founder-more > summary:hover, .founder-more > summary:focus-visible { color: var(--on-palm); }
.founder .facts { margin: 0 0 0.6rem; }
.founder .facts li { border-top-color: color-mix(in srgb, var(--on-palm) 10%, transparent); font-size: 0.9rem; padding: 0.45rem 0; }
.founder .facts li:last-child { border-bottom: 0; }
@media (max-width: 52rem) {
  .hero .wrap { align-items: start; gap: 2rem; }
  .founder { justify-self: start; max-width: 24rem; }
  .founder .byline-head img { width: 48px; height: 48px; }
}

/* The four doors: a panel each, the whole panel is the way in. */
.doors { grid-template-rows: none; gap: 1.1rem; }
.door { grid-row: auto; display: flex; flex-direction: column; gap: 0.75rem; position: relative; background: var(--sand); border-radius: var(--radius); padding: 1.6rem 1.7rem; }
.door h3 { border-top: 0; padding-top: 0.3rem; font-size: 1.2rem; }
.door h3 a { text-decoration: none; }
.door h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.door h3 a:focus-visible { outline: none; }
.door:has(a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.doors .door > p:last-child, .doors .door > p:not(.quote) { padding-bottom: 0; }
.door .go { margin-top: auto; padding-top: 0.5rem; font-size: 0.9375rem; font-weight: 600; color: var(--palm); }
.door .go::after { content: " \2192"; }
.door { transition: background-color 160ms ease; }
.door:hover { background: var(--sand-deep); }
@media (max-width: 56rem) { .door { padding: 1.35rem 1.25rem; } }

/* Lists of links: an arrow, no underline on the big type. */
.links a { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.links a > span:not(.quote) { text-decoration-line: none; }
.links a::after { content: "\2192"; font-family: var(--sans); color: var(--accent); flex: none; transition: translate 160ms ease; }
.links a:hover::after { translate: 3px 0; }
.links a:hover > span:not(.quote) { text-decoration-line: underline; }
.doorlinks a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; row-gap: 0.3rem; align-items: baseline; }
.doorlinks a > .quote, .doorlinks a > small { grid-column: 1; }
.doorlinks a::after { grid-column: 2; grid-row: 1 / span 2; align-self: start; }

/* Lighter rules: hairlines, not bars. */
.shape-list li { border-top: 1px solid color-mix(in srgb, var(--ink) 28%, transparent); }
.shape { border-top: 1px solid color-mix(in srgb, var(--ink) 28%, transparent); }

/* A comfortable line length for reading. */
.split > .stack, .split > ul.plain, .split > p { max-width: 38rem; }

/* What changes: the line that used to sit in the hero opens it. */
.section-head .lead { margin-top: 1rem; max-width: 40rem; }

/* Folds: the title is the handle. Closed on a phone, open on a wide screen (a few lines of script set this). */
details.fold > summary { list-style: none; cursor: pointer; display: block; }
details.fold > summary::-webkit-details-marker { display: none; }
.shape-list.changes li { display: block; }
.shape-list.changes details h3 { min-height: 2.5em; }
.shape-list.changes details p { margin-top: 0.5rem; }
@media (max-width: 59.99rem) {
  .shape-list.changes { gap: 0; }
  .shape-list.changes li { padding-top: 0; border-top: 0; }
  .shape-list.changes details { border-top: 1px solid color-mix(in srgb, var(--ink) 28%, transparent); }
  .shape-list.changes details h3 { min-height: 0; }
  .shape-list.changes summary { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: 0.95rem 0; }
  .shape-list.changes summary::after { content: "+"; font-family: var(--serif); font-size: 1.3rem; line-height: 1; color: var(--accent); flex: none; }
  .shape-list.changes details[open] summary::after { content: "\2013"; }
  .shape-list.changes details p { margin: 0; padding-bottom: 1rem; }
}
@media (min-width: 60rem) { details.fold.wide-open > summary { pointer-events: none; } }
@media (prefers-reduced-motion: no-preference) {
  details.fold, .founder-more { interpolate-size: allow-keywords; }
  details.fold::details-content, .founder-more::details-content {
    block-size: 0; overflow: clip; opacity: 0;
    transition: block-size 240ms cubic-bezier(0.2, 0, 0, 1), opacity 160ms ease 40ms, content-visibility 240ms allow-discrete;
  }
  details.fold[open]::details-content, .founder-more[open]::details-content { block-size: auto; opacity: 1; }
}

/* On a phone the masthead is one line and stays at the top: Contact is always one tap away.
   It fits from 320px: Questions, About, Contact. What we do and How we start are in the footer and on the home page. */
@media (max-width: 40rem) {
  .masthead { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); padding-block: 0.8rem; }
  .page-palm .masthead { background: var(--palm); border-bottom-color: color-mix(in srgb, var(--on-palm) 14%, transparent); }
  .masthead nav a[href$="what-we-do/"], .masthead nav a[href$="how-we-start/"], .masthead nav a[href="#work"], .masthead nav a[href="#start"] { display: none; }
  .masthead .wrap { flex-wrap: nowrap; gap: 0.6rem; }
  /* The logo shrinks before Contact is pushed off a small screen or a large text setting. */
  .masthead .brand { min-width: 0; }
  .masthead .lockup { width: 7.75rem; max-width: 100%; height: auto; }
  .menu > summary { white-space: nowrap; }
  .masthead nav { flex-wrap: nowrap; gap: 0.75rem; font-size: 0.875rem; }
  .masthead nav a { white-space: nowrap; }
  .masthead nav a.nav-contact { padding: 0.35rem 0.8rem; }
  .skip:focus { z-index: 30; }
  main, main [id] { scroll-margin-top: 4.5rem; }
}

/* Movement. A heading or a list row rises 10px and fades in over the first 80px it travels into view:
   tied to the scroll, not a clock. Never paragraphs, the first screen, the form or the buttons. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .section-head, .split > h2, .shape-list > li, .plain > li, .links > li, ol.model > li, .said > li,
    .sequence > li, .shape {
      animation: arrive linear both;
      animation-timeline: view();
      animation-range: entry 0 entry 80px;
    }
    .hero *, .opening *, .masthead *, .doors, .doors *, form *, .closing * { animation: none; }
  }
  /* Moving between pages: a short cross-fade, and the owner's question glides into its page. */
  @view-transition { navigation: auto; }
}
@keyframes arrive { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
::view-transition-old(root) { animation-duration: 120ms; }
::view-transition-new(root) { animation-duration: 200ms; }
::view-transition-group(*) { animation-duration: 280ms; animation-timing-function: cubic-bezier(0.2, 0, 0, 1); }
.quote[data-door="raise"] { view-transition-name: q-raise; }
.quote[data-door="decision"] { view-transition-name: q-decision; }
.quote[data-door="visibility"] { view-transition-name: q-visibility; }
.quote[data-door="value"] { view-transition-name: q-value; }
@media print { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ======================================================================
   The first screen: the owner's four questions, the founder as a line beneath them.
   ====================================================================== */
.hero-doors { padding-block: clamp(2rem, 1.25rem + 3vw, 3.5rem) clamp(2rem, 1.25rem + 3vw, 3.25rem); }
.hero-doors .wrap { row-gap: 2rem; }
@media (min-width: 52.01rem) {
  .hero-doors .wrap { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); column-gap: clamp(3rem, 2rem + 3vw, 4.5rem); align-items: end; row-gap: 2.25rem; }
  .hero-doors h1 { font-size: clamp(2.7rem, 1.3rem + 4.2vw, 4.6rem); }
  .hero-doors .stack { padding-bottom: 0.4rem; }
}
.hero-doors .lead { max-width: 28rem; }
.hero-doorlist { width: 100%; }
.doorlist-head { font-size: 0.9375rem; color: var(--on-palm-muted); padding-bottom: 0.5rem; }
.hero-doorlist ul { display: flex; flex-direction: column; }
.hero-doorlist li { border-top: 1px solid color-mix(in srgb, var(--on-palm) 18%, transparent); }
.hero-doorlist a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; align-items: center; padding: 0.75rem 0; text-decoration: none; }
.hero-doorlist .quote { font-size: clamp(1.2rem, 1.05rem + 0.55vw, 1.45rem); line-height: 1.2; color: var(--on-palm); display: block; }
.hero-doorlist .answer { display: block; font-size: 0.9375rem; line-height: 1.35; color: var(--on-palm-muted); margin-top: 0.3rem; }
.hero-doorlist a::after { content: "\2192"; grid-column: 2; grid-row: 1 / span 2; color: var(--accent-on-palm); font-size: 1.1rem; transition: translate 160ms ease; }
.hero-doorlist a:hover::after { translate: 3px 0; }
.hero-doorlist a:hover .answer { color: var(--on-palm); }
.founder-strip { grid-column: 1 / -1; margin: 0; border-top: 1px solid color-mix(in srgb, var(--on-palm) 18%, transparent); }
.founder-strip > summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 2rem; padding: 1.1rem 0 0.2rem; font-size: 0.9375rem; color: var(--on-palm-muted); }
.founder-strip > summary::after, .founder-strip[open] > summary::after { content: none; }
.founder-strip .byline-head { display: flex; align-items: center; gap: 0.9rem; }
.founder-strip .byline-head img { width: 48px; height: 48px; }
.founder-strip .byline-text { display: block; line-height: 1.4; color: var(--on-palm-muted); }
.founder-strip .byline-text strong { display: block; font-weight: 600; color: var(--on-palm); }
.founder-strip .more { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 500; }
.founder-strip .more::after { content: "+"; font-family: var(--serif); font-size: 1.3rem; line-height: 1; color: var(--accent-on-palm); }
.founder-strip[open] .more::after { content: "\2013"; }
.founder-strip > summary:hover .more, .founder-strip > summary:focus-visible .more { color: var(--on-palm); }
.founder-strip .facts { margin: 0.9rem 0 0.2rem; }
@media (min-width: 52.01rem) {
  .founder-strip .facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; }
  .founder-strip .facts li { border-top: 1px solid color-mix(in srgb, var(--on-palm) 10%, transparent); }
}
@media (max-width: 52rem) {
  .hero-doors { padding-top: 1.75rem; }
  .hero-doors .wrap { gap: 1.4rem; }
  .hero-doors .lead { font-size: 1.0625rem; }
  .hero-doors .actions { margin-top: 0; gap: 0.9rem 1.2rem; }
  .hero-doors .button { padding-inline: 1.3rem; }
  .founder-strip > summary { padding-top: 0.9rem; }
}
.hero-doorlist a { -webkit-tap-highlight-color: transparent; }
.hero-doorlist a:active .quote { color: var(--on-palm-muted); }
.hero-doorlist a:focus-visible { outline-offset: 2px; }

/* Keyboard and touch: a cream ring on the green, no grey flash on a tap, footer links 24px apart. */
.band.palm :focus-visible, .page-palm .masthead :focus-visible { outline-color: var(--on-palm); }
.door .go { color: var(--voice); }
.door, .links a { -webkit-tap-highlight-color: transparent; }
.door:active { background: var(--sand-deep); }
.colophon ul { gap: 0.5rem; }

/* Two reading lists in one band, side by side on a wide screen. */
@media (min-width: 60rem) {
  .band.reading .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
  .band.reading .split { grid-template-columns: minmax(0, 1fr); align-content: start; row-gap: 1.25rem; margin: 0; padding: 0; border: 0; }
}

/* Contact: the two things we need first, the rest behind one fold. */
details.more > summary { list-style: none; cursor: pointer; font-weight: 500; color: var(--muted); padding: 0.9rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after { content: "+"; font-family: var(--serif); font-size: 1.3rem; line-height: 1; color: var(--accent); flex: none; }
details.more[open] > summary::after { content: "\2013"; }
details.more[open] > summary { border-bottom: 0; margin-bottom: 1rem; }
details.more > fieldset + fieldset { margin-top: 2.75rem; }
details.more[open] > summary + fieldset { margin-top: 0.5rem; }
details.others > .choice { margin-top: 0.35rem; }
/* A visitor who came from one of the four questions sees that group first; the others wait behind a fold. */
details.others > summary { list-style: none; cursor: pointer; font-weight: 500; color: var(--muted); padding: 0.75rem 0; margin-top: 0.75rem; display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); }
details.others > summary::-webkit-details-marker { display: none; }
details.others > summary::after { content: "+"; font-family: var(--serif); font-size: 1.3rem; line-height: 1; color: var(--accent); flex: none; }
details.others[open] > summary::after { content: "\2013"; }
@media (prefers-reduced-motion: no-preference) {
  details.more, details.others { interpolate-size: allow-keywords; }
  details.more::details-content, details.others::details-content { block-size: 0; overflow: clip; opacity: 0; transition: block-size 240ms cubic-bezier(0.2, 0, 0, 1), opacity 160ms ease 40ms, content-visibility 240ms allow-discrete; }
  details.more[open]::details-content, details.others[open]::details-content { block-size: auto; opacity: 1; }
}
/* ======================================================================
   Judge's verdict. Only additions to the agreed stylesheet.
   Q1  Phone: answer lines hidden, hero a little tighter (Hold's trims);
       the founder strip is a plain line (Story), no "+" fold.
       Desktop: answer lines shown; they cost 0px and fill the column.
   Q2  A 44px tap target for the text link beside a button (Hold).
   Q3  The four facts sit under "Senior-led": open on a wide screen,
       folded on a phone, using the existing details.fold pattern.
   ====================================================================== */
/* Q1 */
.founder-strip > .byline-head { padding: 1.1rem 0 0.2rem; font-size: 0.9375rem; }
@media (max-width: 52rem) {
  .hero-doors { padding-top: 1.5rem; }
  .hero-doors .wrap { gap: 1.25rem; }
  .hero-doorlist .answer { display: none; }
  .hero-doorlist a { padding: 0.6rem 0; }
  .hero-doorlist a::after { grid-row: 1; }
  .founder-strip > .byline-head { padding-top: 0.9rem; }
}
/* Q2 */
.actions a:not(.button) { padding-block: 0.5rem; margin-block: -0.5rem; }
/* Q3 */
.band:not(.palm) .facts { margin-top: 0.1rem; }
details.facts-fold > summary { padding: 0.6rem 0 0.2rem; }
.facts-fold > summary .label-line { display: block; }
@media (max-width: 59.99rem) {
  .facts-fold { border-top: 1px solid color-mix(in srgb, var(--ink) 28%, transparent); }
  details.facts-fold > summary { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.95rem 0; }
  details.facts-fold > summary::after { content: "+"; font-family: var(--serif); font-size: 1.3rem; line-height: 1; color: var(--accent); flex: none; }
  details.facts-fold[open] > summary::after { content: "\2013"; }
  .facts-fold .facts { margin-top: 0; padding-bottom: 0.5rem; }
  .facts-fold .facts li:first-child { border-top: 0; }
}

/* What we do: the four ways we work, each on its own sand panel, set apart from the page's opening.
   A row of links under the opening jumps to each. */
.jump { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.4rem; }
.jump a { text-decoration: none; font-size: 0.9375rem; font-weight: 500; padding: 0.45rem 0.9rem; border: 1px solid color-mix(in srgb, var(--ink) 28%, transparent); border-radius: 999px; -webkit-tap-highlight-color: transparent; }
.jump a:hover { background: var(--sand); border-color: transparent; }
.band.services { padding-top: clamp(1rem, 0.5rem + 2vw, 2rem); }
.services .shapes { row-gap: clamp(1rem, 0.75rem + 1vw, 1.5rem); column-gap: clamp(1rem, 0.75rem + 1vw, 1.5rem); }
.services .shape { margin: 0; border-top: 0; background: var(--sand); border-radius: var(--radius); padding: clamp(1.4rem, 1rem + 1.5vw, 2rem) clamp(1.25rem, 1rem + 1.5vw, 2.1rem); row-gap: 0.85rem; }
.services .shape h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.services .shape ul.plain li { border-top-color: color-mix(in srgb, var(--ink) 16%, transparent); }
.services .shape-terms { align-self: end; padding-top: 0.4rem; }
.services .shape:target { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent) 60%, transparent); }

/* About: the founder's band. Its four parts sit under one heading, one step smaller. */
.founder-band .split > h3 { position: sticky; top: 1.5rem; }
.founder-band .section-head { margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
@media (max-width: 52rem) { .founder-band .split > h3 { position: static; } }

/* ======================================================================
   After the fresh-eyes review
   ====================================================================== */
/* The masthead stays at the top on every screen, so Contact is always one click away. */
:root { --mast: 0px; }
@media (min-width: 40.01rem) {
  :root { --mast: 5.4rem; }
  .masthead { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); padding-block: 1rem; }
  .page-palm .masthead { background: var(--palm); border-bottom-color: color-mix(in srgb, var(--on-palm) 14%, transparent); }
  .split > h2, .split > .split-head, .founder-band .split > h3 { top: calc(var(--mast) + 1.5rem); }
  main, main [id] { scroll-margin-top: calc(var(--mast) + 1rem); }
  .contact-split .aside { top: calc(var(--mast) + 1.5rem); }
  .skip:focus { z-index: 30; }
}
/* Narrow tablets: a smaller logo keeps the masthead on one row from about 700px. Below that it wraps to two rows,
   so jumps to a heading and the sticky headings allow for the taller masthead. */
/* --mast is the masthead's height: 85px on wide screens, 75px with the smaller logo, 131px on two rows.
   The bands leave room for a desktop scrollbar (up to 17px), which media queries count and the layout does not. */
@media (min-width: 40.01rem) and (max-width: 50rem) { :root { --mast: 4.8rem; } .lockup { height: 2.6rem; } .masthead nav { gap: 0.35rem 1.1rem; } }
@media (min-width: 40.01rem) and (max-width: 45rem) { :root { --mast: 8.4rem; } }
/* For advisers sits in the menu where there is room for it. */
@media (max-width: 70rem) { .masthead nav a[href$="for-advisers/"], .masthead nav a[href="#advisers"] { display: none; } }
/* Two reading lists side by side: their headings do not stick over the lists. */
.band.reading .split > h2 { position: static; }
/* The founder's four facts, open on every screen. */
.facts-label { margin-top: 0.5rem; }
/* The Questions page: each owner's words lead to that page. */
.split-head .quote a { text-decoration: none; }
.split-head .quote a:hover { text-decoration-line: underline; text-decoration-color: var(--accent); }
/* The line on the call, under the actions in every closing band. */
.call-note { font-size: 0.9375rem; color: var(--muted); margin-top: -0.25rem; }
.band.palm .call-note { color: var(--on-palm-muted); }
/* Under a situation page's buttons: Charif, once per page, with the line that fits the page. The first phone screen shows who leads. */
.who-leads { display: flex; align-items: flex-start; gap: 0.8rem; max-width: 34rem; font-size: 0.9375rem; line-height: 1.45; color: var(--muted); }
.who-leads picture { flex: none; display: block; margin-top: 0.15rem; }
.who-leads img { width: 44px; height: 44px; border-radius: 50%; display: block; flex: none; object-fit: cover; }
/* Two lines, like the founder card on Home: who leads, in the strong colour; then the proof for this page, quieter. */
.who-line { display: block; font-weight: 600; color: var(--ink); }
.who-proof { display: block; margin-top: 0.2rem; }
.band.palm .who-line { color: var(--on-palm); }
.who-leads a { font-weight: 600; color: inherit; text-decoration: none; }
.who-leads a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.band.palm .who-leads { color: var(--on-palm-muted); }
.stack > .who-leads { margin-top: -0.5rem; }
/* Phones: a little less air in the opening, so the card fits the first screen of a 360x640 phone too. */
@media (max-width: 40rem) { .opening .stack { gap: 1rem; } }
/* LinkedIn in the footer. */
.colophon .linkedin { display: inline-flex; vertical-align: -3px; margin-left: 0.5rem; padding: 3px; text-decoration: none; }
/* Contact: the button sits under Charif's line. */
.contact-split .aside .person + .button { justify-self: start; }

/* How we start: three steps; the third, the work, in one of two ways side by side. */
.sequence.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sequence.steps > li.wide { grid-column: 1 / -1; }
.sequence h2.step { font-size: 1.25rem; font-weight: 600; line-height: 1.25; }
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 0.5rem; }
.ways > div { background: var(--paper); border-radius: var(--radius); padding: 1.25rem 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; }
.ways h3 { font-size: 1.15rem; font-weight: 600; }
.ways p { color: var(--muted); font-size: 1rem; }
@media (max-width: 36rem) { .sequence.steps, .ways { grid-template-columns: minmax(0, 1fr); } }
/* The menu: on a phone, every page one tap away, beside Contact. */
.menu { display: none; position: relative; }
.menu > summary { list-style: none; cursor: pointer; font-size: 0.875rem; font-weight: 500; padding: 0.35rem 0.2rem; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary::after { content: " +"; color: var(--accent); }
.page-palm .masthead .menu > summary::after { color: var(--accent-on-palm); }
.page-palm .masthead nav a:hover { border-bottom-color: var(--accent-on-palm); }
.menu[open] > summary::after { content: " \2013"; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 0.6rem); min-width: 13rem; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgb(0 0 0 / 0.12); padding: 0.4rem 0; display: flex; flex-direction: column; z-index: 40; }
.menu-panel a { padding: 0.7rem 1rem; text-decoration: none; font-weight: 500; }
.menu-panel a[aria-current="page"] { color: var(--voice); }
@media (max-width: 40rem) {
  .menu { display: block; }
  .masthead nav a:not(.nav-contact) { display: none !important; }
  .masthead .wrap { gap: 0.9rem; justify-content: flex-start; }
  .masthead .brand { margin-right: auto; }
  .masthead .menu { order: 2; }
  .masthead .wrap > nav { order: 3; }
}
/* Door links: the whole row is the link; the line under the quote is not a second one. */
.doorlinks small, .links a > small { text-decoration-line: none; }
/* A missing answer, beside its question. */
.field-error { color: #9B2C2C; font-weight: 500; font-size: 0.9375rem; margin: 0.2rem 0 0.4rem; }
/* Contact: the reply time sits with the form it applies to. */
.form-card .form-hint { margin: -0.4rem 0 1.4rem; }

/* An AI assistant is filling the form for someone (WebMCP, Chrome): the form shows it is in use. */
form:tool-form-active { outline: 2px solid var(--voice); outline-offset: 0.5rem; border-radius: 0.25rem; }

/* The recording choice: once, at the bottom, once reading starts. Two buttons of the same size, both easy to read:
   "Allow" in the site's main button style, "No thanks" outlined (C, 28 October). */
.consent { position: fixed; z-index: 35; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: 31rem; display: grid; gap: 0.75rem; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 28px rgb(0 0 0 / 0.14); padding: 0.9rem 1rem; font-size: 0.9375rem; line-height: 1.45; }
.consent p { margin: 0; }
.consent a { color: var(--voice); }
.consent-choices { display: flex; gap: 0.6rem; }
.consent-choices button { flex: 1 1 0; font: inherit; font-weight: 600; padding: 0.6rem 1rem; border-radius: 999px; border: 1px solid var(--voice); background: transparent; color: var(--voice); cursor: pointer; }
.consent-choices button:hover { background: var(--sand); }
.consent-choices .consent-yes { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.consent-choices .consent-yes:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
@media (min-width: 40rem) { .consent { left: 16px; right: auto; bottom: 16px; } }
@media (prefers-reduced-motion: no-preference) {
  .consent { animation: consent-in 0.35s ease-out both; }
  @keyframes consent-in { from { opacity: 0; transform: translateY(12px); } }
}
.link-button { font: inherit; color: var(--voice); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
@media (max-width: 40rem) {
  .consent { padding: 0.75rem 0.85rem; gap: 0.6rem; font-size: 0.875rem; line-height: 1.4; }
  .consent-choices button { padding: 0.5rem 0.9rem; }
}
