/* Rigora site styles. One system: tokens, base, layout, components, page sections, responsive.
   Grounds: paper (default), stone (.sec--stone), oxblood (.on-ox). Components read the scoped --fg / --hair
   variables, so the same markup works on every ground. Radius is 2px everywhere. */

/* ---------- 1. Tokens ---------- */
:root {
  --paper: #fbf9f5; --stone: #f1ede6; --white: #fff;
  --ink: #1c1514; --ink-2: #4d4340; --ink-3: #6b5f59;
  --rule: #ddd5ca; --field: #94887c;
  --ox: #5b1f25; --ox-deep: #3a1317; --ox-tint: #f4ebe8;
  --on-ox: #f7f0e7; --on-ox-2: #dfc8c1; --rule-ox: rgba(247, 240, 231, .24);
  --gold: #e9c98b; --bronze: #7d5a17; --pulse: #b8862f;
  --ok: #2c5a3c;

  /* scoped roles (redefined by .on-ox) */
  --bg: var(--paper); --fg: var(--ink); --fg-2: var(--ink-2); --fg-3: var(--ink-3);
  --hair: var(--rule); --accent: var(--ox); --mark: var(--bronze); --focus: var(--ox);

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --inscription: "Cinzel", "Trajan Pro", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --t-display: clamp(2.75rem, 1.55rem + 4.9vw, 5.5rem);
  --t-h1: clamp(2.5rem, 1.75rem + 3vw, 4rem);
  --t-h2: clamp(2rem, 1.55rem + 1.8vw, 3rem);
  --t-h3: clamp(1.375rem, 1.25rem + .5vw, 1.625rem);
  --t-lead: clamp(1.125rem, 1.05rem + .32vw, 1.3125rem);
  --t-body: 1.0625rem; --t-small: .9375rem; --t-meta: .8125rem;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --sec: clamp(64px, 7.5vw, 112px);
  --gut: clamp(20px, 5.5vw, 88px);
  --col-gap: clamp(16px, 2.2vw, 32px);
  --max: 1360px;
  --mast-h: 72px;
  --r: 2px;
  --r-card: 10px;   /* every card, panel and framed image */
  --r-inner: 6px;   /* an image or panel nested inside a card */

  --ease: cubic-bezier(.23, 1, .32, 1);

  /* Elevation: paper on a desk. Each level is a tight contact shadow plus a soft, wide ambient one, tinted
     from the oxblood ink (never neutral grey) and always cast downward. Only these tokens carry depth. */
  --e1: 0 1px 2px rgba(58, 19, 23, .09), 0 6px 16px -6px rgba(58, 19, 23, .16);
  --e2: 0 1px 3px rgba(58, 19, 23, .10), 0 26px 50px -18px rgba(58, 19, 23, .33);
  --e3: 0 2px 5px rgba(58, 19, 23, .10), 0 34px 62px -20px rgba(58, 19, 23, .36);
  /* the same levels on oxblood grounds, where the shadow has to be darker to read */
  --e1-ox: 0 1px 2px rgba(20, 6, 8, .30), 0 6px 16px -6px rgba(20, 6, 8, .42);
  --e2-ox: 0 1px 3px rgba(20, 6, 8, .30), 0 26px 50px -18px rgba(20, 6, 8, .58);
  --e3-ox: 0 2px 5px rgba(20, 6, 8, .32), 0 36px 64px -20px rgba(20, 6, 8, .64);
  /* One sheet beneath the most important documents: a slightly darker page peeking out below and right,
     with its own hairline edge and faint shadow. Listed after the document's own elevation. */
  --sheet-o: 6px;
  --sheet: var(--sheet-o) var(--sheet-o) 0 -1px #f3eee6, var(--sheet-o) var(--sheet-o) 0 0 var(--rule), var(--sheet-o) calc(var(--sheet-o) + 4px) 14px -6px rgba(58, 19, 23, .18);
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 8h12M9 3.5 13.5 8 9 12.5' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E");
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.8 8.6c1.6 1.1 2.9 2.6 3.8 4.3C7.8 8.6 10.5 5 14.4 2.2' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  --stroke: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 6' preserveAspectRatio='none'%3E%3Cpath d='M1 4.1C17 2.3 37 3.7 57 2.9 73 2.3 88 3.5 99 2.1' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  --cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 3.4c2.6 3 5.6 6 9.4 9.2M12.9 3.1C9.8 6 6.6 9.2 3.4 12.9' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}
.on-ox {
  --bg: var(--ox); --fg: var(--on-ox); --fg-2: var(--on-ox-2); --fg-3: var(--on-ox-2);
  --hair: rgba(233, 201, 139, .3); --accent: var(--on-ox); --mark: var(--gold); --focus: var(--gold);
  background: var(--bg); color: var(--fg);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--mast-h) + 24px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--t-body)/1.6 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; accent-color: var(--ox); caret-color: var(--ox); overflow-wrap: break-word; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--ox); color: var(--on-ox); }
.on-ox ::selection { background: var(--on-ox); color: var(--ox-deep); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: var(--r); }
[tabindex="-1"]:focus { outline: none; }
[id] { scroll-margin-top: calc(var(--mast-h) + 24px); }

h1, h2, h3 { font-family: var(--serif); font-optical-sizing: auto; color: var(--fg); text-wrap: balance; }
h1 { font-size: var(--t-h1); font-weight: 300; line-height: 1.04; letter-spacing: -.025em; }
h2 { font-size: var(--t-h2); font-weight: 320; line-height: 1.08; letter-spacing: -.02em; }
h3 { font-size: var(--t-h3); font-weight: 380; line-height: 1.2; letter-spacing: -.01em; }
p, li, dd { text-wrap: pretty; }
strong, b { font-weight: 600; }

/* inline text links */
a { color: inherit; text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); transition: text-decoration-color .18s var(--ease), color .18s var(--ease); }
@media (hover: hover) and (pointer: fine) { a:hover { text-decoration-color: currentColor; } }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--gut); top: 12px; z-index: 100; padding: 12px 18px; background: var(--ox); color: var(--on-ox); font-weight: 500; text-decoration: none; border-radius: var(--r); transform: translateY(-200%); }
.skip:focus { transform: none; outline: 2px solid var(--on-ox); outline-offset: -5px; }

.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--fg-2); max-width: 34em; }
.meta { font: 500 var(--t-meta)/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.on-ox .meta { color: var(--gold); }
.fine { font-size: var(--t-small); color: var(--fg-3); }

/* ---------- 3. Layout ---------- */
.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
.sec { padding-block: var(--sec); background: var(--bg); }
.sec--stone { --bg: var(--stone); }

/* Signature pattern: hairline above, statement left, detail right */
.split { border-top: 1px solid var(--hair); padding-top: var(--s-6); row-gap: var(--s-6); }
.split > .split-a { grid-column: 1 / span 6; }
.split > .split-b { grid-column: 7 / -1; }
.split--narrow > .split-a { grid-column: 1 / span 4; }
.split--narrow > .split-b { grid-column: 5 / -1; }
.split-b > * + * { margin-top: var(--s-5); }
.split-a > h2 + p { margin-top: var(--s-4); }
h2.h-sm { font-size: var(--t-h3); font-weight: 380; line-height: 1.2; letter-spacing: -.01em; }
.split-b > p { max-width: 36em; color: var(--fg-2); }
.split + .below, .below { margin-top: var(--s-8); }
.split + .split { margin-top: var(--sec); }
/* A heading that introduces a ruled list needs no rule of its own, and sits closer to the list */
.split:has(+ .rows) { border-top: 0; padding-top: 0; }
.split + .rows.below { margin-top: var(--s-7); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6); }
* + .actions { margin-top: var(--s-6); }

/* ---------- 4. Components ---------- */
/* Buttons: one primary, one quiet (operational screens), and the arrow link */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 3rem; padding: .5rem 1.375rem; border: 1px solid var(--accent); border-radius: var(--r); background: var(--accent); color: var(--bg); font: 500 var(--t-small)/1.2 var(--sans); letter-spacing: .005em; text-decoration: none; text-align: center; transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .16s var(--ease); }
.btn:active { transform: scale(.97); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn--sm { min-height: 2.5rem; padding: .375rem 1rem; }
.btn--quiet { background: transparent; color: var(--fg); border-color: var(--field); }
.on-ox .btn--quiet { border-color: var(--rule-ox); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--ox-deep); border-color: var(--ox-deep); }
  .on-ox .btn:hover { background: #fff; border-color: #fff; }  /* ivory to white: a modest step */
  .btn--quiet:hover, .on-ox .btn--quiet:hover { background: transparent; border-color: var(--fg); }
}

.arrow::after, .link-arrow::after { content: ""; flex: none; display: inline-block; width: 1em; height: 1em; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; transition: transform .2s var(--ease); }
.link-arrow { position: relative; display: inline-flex; align-items: center; gap: 10px; padding-block: 6px; color: var(--accent); font: 500 var(--t-small)/1.3 var(--sans); text-decoration: none; }
.link-arrow::before { content: ""; position: absolute; left: 0; right: 26px; bottom: 0; height: 6px; background: currentColor; -webkit-mask: var(--stroke) center / 100% 100% no-repeat; mask: var(--stroke) center / 100% 100% no-repeat; clip-path: inset(-2px 100% -2px 0); transition: clip-path .4s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover::before { clip-path: inset(-2px 0); }
  .link-arrow:hover::after, .arrow:hover::after, a:hover > .arrow::after { transform: translateX(3px); }
}
.link-arrow:focus-visible::before { clip-path: inset(-2px 0); }
.on-ox .link-arrow::before, .on-ox .link-arrow::after { background-color: var(--gold); }

/* Editorial divided lists */
.rows { border-bottom: 1px solid var(--hair); }
.rows--first > *:first-child { border-top-color: var(--ink); }
.rows > * { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--s-2); align-items: baseline; padding-block: var(--s-6); border-top: 1px solid var(--hair); }
.rows h3, .rows dt { grid-column: 1 / span 5; font: 380 var(--t-h3)/1.2 var(--serif); letter-spacing: -.01em; color: var(--fg); text-wrap: balance; }
.rows p, .rows dd { grid-column: 7 / -1; color: var(--fg-2); max-width: 36em; }
.rows p + p { margin-top: var(--s-2); }

/* Linked rows (capabilities on the homepage): flat, like the rest of the editorial text. On hover the title and
   the line diagram turn oxblood and the arrow travels a little; nothing lifts and the row keeps its edges. */
.rows--link > * { position: relative; align-items: center; }
.rows--link h3 { grid-column: 1 / span 4; }
.rows--link h3 a { text-decoration: none; transition: color .18s var(--ease); }
.rows--link h3 a::after { content: ""; position: absolute; inset: 0; }
.row-art { grid-column: 5 / span 2; width: 120px; height: 48px; justify-self: start; fill: none; stroke: var(--ink-3); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s var(--ease); }
.row-art * { vector-effect: non-scaling-stroke; }
.rows--link .row-body { grid-column: 7 / span 5; }
.rows--link .row-body p { max-width: none; }
.rows--link .row-body .row-lead { color: var(--fg); font-weight: 500; }
.rows--link .row-go { grid-column: 12; justify-self: end; width: 20px; height: 20px; color: var(--accent); background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; transition: transform .3s var(--ease); }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (hover: hover) and (pointer: fine) {
  .rows--link > *:hover h3 a { color: var(--ox); }
  .rows--link > *:hover .row-go { transform: translateX(4px); }
  .rows--link > *:hover .row-art { stroke: var(--ox); }
}
.rows--link h3 a:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: var(--r); }
.rows--link > *:has(a:focus-visible) { outline: 2px solid var(--focus); outline-offset: -2px; border-radius: var(--r); }
.rows--link > *:has(a:focus-visible) h3 a { color: var(--ox); }

/* Roman numeral in a double-rim roundel: the struck-medal marker for real sequences */
.rn { display: inline-grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border: 1px solid var(--mark); border-radius: 50%; outline: 1px solid color-mix(in srgb, var(--mark) 45%, transparent); outline-offset: -5px; color: var(--mark); font: 500 1rem/1 var(--inscription); letter-spacing: .02em; font-variant-numeric: lining-nums; }


/* The one statement per page, set at display scale */
.moment { font: 300 var(--t-display)/1.03 var(--serif); font-optical-sizing: auto; letter-spacing: -.028em; color: var(--accent); text-wrap: balance; }
.moment em { font-style: italic; color: var(--mark); }
.moment-sub { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); margin-top: var(--s-7); }
.moment-sub > * { grid-column: 7 / -1; }
.moment-sub > * + * { margin-top: var(--s-5); }

/* Photographs */
.photo { position: relative; overflow: hidden; border-radius: var(--r); background: var(--stone); }  /* flat: a hairline, no lift */
.photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(28, 21, 20, .1); pointer-events: none; }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) sepia(.07) contrast(1.02); }
.photo--wide { aspect-ratio: 21 / 9; }
.photo--land { aspect-ratio: 3 / 2; }

/* Forms */
label, .label { display: block; font: 500 var(--t-small)/1.4 var(--sans); color: var(--fg); }
label .opt, .label .opt, .opt { font-weight: 400; color: var(--fg-3); }
input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]), select, textarea { display: block; width: 100%; min-height: 48px; margin-top: var(--s-2); padding: 11px 14px; border: 1px solid var(--field); border-radius: var(--r); background: var(--white); color: var(--ink); font: 400 1rem/1.4 var(--sans); transition: border-color .15s var(--ease), box-shadow .15s var(--ease); -webkit-appearance: none; appearance: none; }
select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6 8 10.5 12.5 6' fill='none' stroke='%231c1514' stroke-width='1.3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; }
textarea { min-height: 160px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--ink-3); opacity: 1; }
input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]):focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--ox); box-shadow: 0 0 0 1px var(--ox); border-radius: var(--r); }
.on-ox input:not([type="radio"]):focus-visible { border-color: var(--on-ox); box-shadow: 0 0 0 2px var(--ox), 0 0 0 4px var(--on-ox); }
@media (hover: hover) and (pointer: fine) { input:not([type="radio"]):hover, select:hover, textarea:hover { border-color: var(--ink); } }
input[type="radio"] { flex: none; width: 18px; height: 18px; margin: 3px 0 0; }
.form { display: grid; gap: var(--s-5); }
.f2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--col-gap); }
.form-status { padding: 14px 16px; border: 1px solid var(--hair); border-radius: var(--r); background: var(--white); color: var(--ink); font-size: var(--t-small); }
.on-ox .form-status { background: transparent; color: var(--fg); }

.brief-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-3); max-width: 520px; }
.brief-form input:not([type="hidden"]) { margin-top: 0; }
.brief-form .form-status { grid-column: 1 / -1; }

/* The marked-up page: one hand, one set of marks. Bronze on paper, gold on oxblood, oxblood for exceptions.
   A [data-markup] block draws its marks in order when it enters view (assets/site.js); without script, or
   with reduced motion, every mark is simply there. */
.mk { display: inline-block; flex: none; overflow: visible; fill: none; stroke: var(--mark); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.mk path { vector-effect: non-scaling-stroke; }
.mk-tick { width: 17px; height: 15px; }
.mk-caret { width: 14px; height: 12px; }
.mk-read { width: 22px; height: 8px; }
.mk-sign { width: 64px; height: 20px; }
.mk-under { position: absolute; left: 0; bottom: -.1em; width: 100%; height: .2em; }
.mk-circle { position: absolute; left: calc(-7% - 8px); top: calc(-28% - 3px); width: calc(114% + 16px); height: calc(156% + 6px); max-width: none; stroke: var(--ox); pointer-events: none; }
.circled { position: relative; display: inline-block; white-space: nowrap; }
.xref { display: inline-grid; place-items: center; flex: none; width: 1.5em; height: 1.5em; border: 1.3px solid var(--mark); border-radius: 52% 48% 50% 50% / 49% 52% 48% 51%; color: var(--mark); font: italic 500 .8125rem/1 var(--serif); }
.note { color: var(--mark); font: italic 400 .9375rem/1.35 var(--serif); letter-spacing: 0; text-transform: none; }
.note--ex { color: var(--ox); }
.held { display: inline-block; padding: 2px 8px 1px; border: 1.5px solid var(--ox); border-radius: var(--r); color: var(--ox); font: 600 .6875rem/1.5 var(--sans); letter-spacing: .1em; text-transform: uppercase; rotate: -2deg; white-space: nowrap; }
/* Stretched marks (the proof stroke and the circle) are wiped in; the rest are drawn along their path. */
[data-markup].is-armed .mk path { stroke-dasharray: 1; stroke-dashoffset: 1; }
[data-markup].is-armed :is(.mk-under, .mk-circle) path { stroke-dasharray: none; }
[data-markup].is-armed :is(.mk-under, .mk-circle) { clip-path: inset(-30% 100% -30% -5%); }
[data-markup].is-armed.is-in :is(.mk-under, .mk-circle) { clip-path: inset(-30% -5%); transition: clip-path .7s var(--ease) calc(var(--d, 0) * 1ms); }
[data-markup].is-armed .mk-in { opacity: 0; transform: translateY(5px); }
[data-markup].is-armed.is-in .mk path { stroke-dashoffset: 0; transition: stroke-dashoffset .55s var(--ease) calc(var(--d, 0) * 1ms); }
[data-markup].is-armed.is-in .mk-in { opacity: 1; transform: none; transition: opacity .45s var(--ease) calc(var(--d, 0) * 1ms), transform .45s var(--ease) calc(var(--d, 0) * 1ms); }
/* Passed without being seen (a jump link, the End key): finished at once, no draw delay */
[data-markup].is-now, [data-markup].is-now * { transition: none !important; }

/* A working paper: a real document on the page, read line by line, with its margin */
.doc { border: 1px solid var(--rule); border-radius: var(--r); background: var(--white); color: var(--ink); box-shadow: var(--e2); }
.on-ox .doc { --mark: var(--bronze); --fg: var(--ink); --fg-2: var(--ink-2); --fg-3: var(--ink-3); --hair: var(--rule); --focus: var(--ox); border-color: transparent; box-shadow: var(--e2-ox); }
.doc-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-1) var(--s-4); padding: 12px var(--s-5); border-bottom: 1px solid var(--rule); font: 500 .75rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.doc-title { padding: var(--s-5) var(--s-5) var(--s-4); }
.doc-title > :first-child { font: 380 1.375rem/1.2 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.doc-title > * + * { margin-top: 4px; font-size: var(--t-small); color: var(--ink-3); }
.doc-rows > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--s-4); row-gap: 6px; align-items: baseline; padding: 12px var(--s-5); border-top: 1px solid var(--rule); font-size: var(--t-small); }
.doc-rows dt { grid-row: 1 / span 2; color: var(--ink-3); }
.doc-rows dd { color: var(--ink); font-variant-numeric: tabular-nums lining-nums; }
.doc-rows dd.doc-m { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-height: 22px; }
.doc-rows .is-held { background: var(--ox-tint); }
.doc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-4); padding: var(--s-4) var(--s-5); border-top: 1px solid var(--rule); font-size: var(--t-small); color: var(--ink-2); }
.doc-foot .doc-m { display: inline-flex; align-items: center; gap: 10px; }
.doc--hero .doc-rows > div { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }

/* Before and after: how the work runs by hand, the gold seam where the solution joins it, and what then arrives */
.ba-list { border-bottom: 1px solid var(--hair); }
.ba { display: grid; grid-template-columns: minmax(0, 5fr) 2px minmax(0, 6fr); column-gap: clamp(20px, 3.4vw, 56px); row-gap: var(--s-6); align-items: start; padding-block: var(--s-8); border-top: 1px solid var(--hair); }
.ba-head { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--s-2); align-items: baseline; }
.ba-head h3 { grid-column: 1 / span 5; font-size: var(--t-h2); font-weight: 320; line-height: 1.08; letter-spacing: -.02em; }
.ba-head p { grid-column: 7 / -1; color: var(--ink-2); max-width: 36em; }
.ba-seam { align-self: stretch; background: var(--pulse); border-radius: 1px; }
.ba-k { font: 500 var(--t-meta)/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.ba-steps { margin-top: var(--s-4); counter-reset: b; border-bottom: 1px solid var(--hair); }
.ba-steps li { counter-increment: b; display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); padding-block: var(--s-3); border-top: 1px solid var(--hair); color: var(--ink-2); }
.ba-steps li::before { content: counter(b); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ba-steps .note { display: flex; align-items: baseline; gap: 8px; grid-column: 2; margin-top: 4px; }
.ba-steps .note .mk { align-self: center; stroke: var(--ox); }
.ba-after .doc { margin-top: var(--s-4); box-shadow: var(--e2), var(--sheet); }

/* Two ways to work with us */
.ways-head { max-width: 62rem; }
.ways { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--s-6); }
.way { grid-column: span 6; display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: var(--s-4); align-content: start; padding-top: var(--s-5); border-top: 1px solid var(--fg); }
.way h3 { font-size: var(--t-h2); font-weight: 320; line-height: 1.08; letter-spacing: -.02em; }
.way p { font-size: var(--t-lead); line-height: 1.5; color: var(--fg-2); max-width: 26em; }
.ways-join { grid-column: 1 / -1; padding-top: var(--s-5); border-top: 1px solid var(--hair); }
.ways-join .note { font-size: var(--t-h3); line-height: 1.3; }
.ways-sub { margin-top: var(--s-5); font-size: var(--t-lead); line-height: 1.5; color: var(--fg-2); max-width: 30em; }
/* The first step, in the same section as the two ways (homepage) */
.first-step > h3 { font-size: var(--t-h2); font-weight: 320; line-height: 1.08; letter-spacing: -.02em; }

/* Jump links under a page header: a ruled row of in-page links */
.jump { display: flex; flex-wrap: wrap; gap: 0 var(--s-6); padding-block: var(--s-3); border-top: 1px solid var(--ink); }
.jump a { position: relative; padding-block: 10px; color: var(--ink-2); font: 500 var(--t-small)/1.3 var(--sans); text-decoration: none; transition: color .18s var(--ease); }
@media (hover: hover) and (pointer: fine) { .jump a:hover { color: var(--ox); } }
.page-head:has(.jump) .page-head-in { padding-bottom: clamp(32px, 4vw, 56px); }
.cap, .ba { scroll-margin-top: 0; }  /* jump targets: the root's scroll-padding already clears the sticky header */

/* Sector list and small print */
.sectors dt { grid-column: 1 / span 4; }
.sectors dd { grid-column: 6 / -1; max-width: 40em; }
.smallprint { margin-top: var(--s-5); font-size: var(--t-meta); line-height: 1.5; color: var(--fg-3); max-width: 60em; }

/* Form fields flagged the working-paper way: the field's name is circled and the reason is written under it */
.flagged { position: relative; }
.flagged :is(input, textarea, select) { border-color: var(--ox); }
.flag-note { display: flex; align-items: baseline; gap: 8px; margin-top: var(--s-2); color: var(--ox); font: italic 400 1rem/1.35 var(--serif); animation: rise .4s var(--ease) both; }
.flag-note .mk { align-self: center; stroke: var(--ox); }
@keyframes wipe { from { clip-path: inset(-30% 100% -30% -5%); } to { clip-path: inset(-30% -5%); } }
.flagged .mk-caret path { stroke-dasharray: 1; animation: draw .55s var(--ease) both; }
.flagged .mk-circle { animation: wipe .6s var(--ease) both; }

/* ---------- 5. Shell ---------- */
.review { display: none; padding: 8px var(--gut); background: var(--ink); color: #e9e1d8; font-size: var(--t-meta); line-height: 1.5; text-align: center; }
.is-review .review { display: block; }
.review a { color: #fff; }

.wordmark { display: inline-flex; align-items: center; gap: 12px; color: var(--accent); text-decoration: none; }
.wordmark .medal { width: 34px; height: 34px; flex: none; }
.wm-rule { width: 1px; height: 24px; background: currentColor; opacity: .3; flex: none; }
.wm-t { display: flex; font: 500 1.125rem/1 "EB Garamond", Georgia, serif; letter-spacing: .2em; margin-right: -.2em; white-space: nowrap; }
.wm-t span { display: block; text-box: trim-both cap alphabetic; }

.mast { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); transition: background-color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }
/* Once the page moves under it, the bar keeps a fine rule (on the homepage the rule appears as it turns to paper) */
.mast.is-stuck:not(.is-open) { border-bottom-color: var(--rule); box-shadow: 0 1px 0 rgba(58, 19, 23, .03); }
.mast-in { display: flex; flex-wrap: wrap; align-items: center; gap: 0 clamp(20px, 3vw, 48px); min-height: var(--mast-h); }
.mast-nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); }
.mast-nav ul { display: flex; gap: clamp(20px, 2.6vw, 36px); }
.mast-nav ul a, .mast-sub { position: relative; display: inline-block; padding-block: 10px; color: var(--ink-2); font: 500 var(--t-small)/1.2 var(--sans); text-decoration: none; white-space: nowrap; transition: color .18s var(--ease); }
.mast-nav ul a::after, .mast-sub::after { content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 6px; color: var(--bronze); background: currentColor; -webkit-mask: var(--stroke) center / 100% 100% no-repeat; mask: var(--stroke) center / 100% 100% no-repeat; clip-path: inset(-2px 100% -2px 0); transition: clip-path .4s var(--ease); }
.mast-nav ul a[aria-current="page"] { color: var(--ink); }
.mast-nav ul a[aria-current="page"]::after { clip-path: inset(-2px 0); }
@media (hover: hover) and (pointer: fine) {
  .mast-nav ul a:hover, .mast-sub:hover { color: var(--ink); }
  .mast-nav ul a:hover::after, .mast-sub:hover::after { clip-path: inset(-2px 0); }
}
.mast-actions { display: flex; align-items: center; gap: var(--s-5); }
.mast-toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; margin-left: auto; margin-right: -12px; border: 0; background: none; color: var(--ink); }
/* Homepage: at the top the bar takes the hero's oxblood (no overlay, so nothing shifts); it turns to paper once scrolled */
.wordmark, .mast-toggle { transition: color .25s var(--ease); }
.mast-toggle-box { position: relative; width: 22px; height: 12px; }
.mast-toggle-box i { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .22s var(--ease); }
.mast-toggle-box i:first-child { top: 0; }
.mast-toggle-box i:last-child { bottom: 0; }
.mast-toggle[aria-expanded="true"] i:first-child { transform: translateY(5.25px) rotate(45deg); }
.mast-toggle[aria-expanded="true"] i:last-child { transform: translateY(-5.25px) rotate(-45deg); }

.foot { --fg: var(--on-ox); --fg-2: var(--on-ox-2); --hair: var(--rule-ox); --accent: var(--on-ox); --focus: var(--on-ox); background: var(--ox-deep); color: var(--on-ox-2); padding-block: var(--s-9) var(--s-6); font-size: var(--t-small); }
.foot-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--s-7); }
.foot-brand { grid-column: 1 / span 4; }
.foot-brand p { margin-top: var(--s-5); font: 300 var(--t-h3)/1.25 var(--serif); color: var(--on-ox); max-width: 16em; }
.foot-col { grid-column: span 2; }
.foot-col:first-of-type { grid-column: 6 / span 2; }
.foot-col:last-of-type { grid-column: span 3; }
.foot-h { font: 500 var(--t-meta)/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.foot-col ul { margin-top: var(--s-4); display: grid; gap: var(--s-2); }
.foot-col li { color: var(--on-ox-2); }
.foot a { display: inline-block; padding-block: 3px; color: var(--on-ox); text-decoration-color: transparent; overflow-wrap: anywhere; }
.foot a[href^="mailto:"] { white-space: nowrap; overflow-wrap: normal; }  /* the address never breaks mid-word; its column is always wide enough */
@media (hover: hover) and (pointer: fine) { .foot a:hover { text-decoration-color: currentColor; } }
.foot-base { margin-top: var(--s-8); }
.signoff { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); padding-bottom: var(--s-5); color: var(--on-ox); font: italic 400 1.0625rem/1.3 var(--serif); }
.signoff .medal { width: 26px; height: 26px; color: var(--on-ox); }
.signoff .mk-sign { width: 72px; height: 22px; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3) var(--s-6); padding-top: var(--s-5); border-top: 1px solid rgba(233, 201, 139, .3); font-size: var(--t-meta); }
.foot-legal-links { display: flex; gap: var(--s-5); }

/* ---------- 6. Page header (inner pages) ---------- */
.page-head { padding-top: clamp(56px, 8vw, 120px); }
.page-head-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--s-5); align-items: end; padding-bottom: clamp(40px, 5vw, 72px); }
.page-head h1 { grid-column: 1 / span 7; }
.page-head .dek { grid-column: 8 / -1; font-size: var(--t-lead); line-height: 1.5; color: var(--ink-2); max-width: 30em; padding-bottom: .35em; }
.page-head .dek + .dek { grid-column: 8 / -1; font-size: var(--t-small); color: var(--ink-3); padding-bottom: 0; margin-top: calc(var(--s-3) - var(--s-5)); }
.page-head + .sec { padding-top: 0; }
.page-head:has(.photo) + .sec { padding-top: var(--sec); }

/* Closing band: the one oxblood moment before the footer */
.close { position: relative; overflow: hidden; padding-block: clamp(72px, 9vw, 128px); }
.close-in { position: relative; z-index: 1; }
.close h2.moment { font-size: var(--t-display); line-height: 1.03; letter-spacing: -.028em; }
.close-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--s-6); align-items: start; }
.close h2 { grid-column: 1 / span 8; font-size: var(--t-h1); font-weight: 300; line-height: 1.04; letter-spacing: -.025em; }
.close-body { grid-column: 1 / span 6; }
.close-body > p { font-size: var(--t-lead); line-height: 1.5; color: var(--fg-2); max-width: 30em; }
.close-body > p + p { margin-top: var(--s-3); font-size: var(--t-body); }

/* ---------- 7. Home ---------- */
.hero { position: relative; overflow: hidden; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-rows: 1fr; min-height: calc(100svh - var(--mast-h)); padding-top: clamp(32px, 5vw, 72px); }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); padding-bottom: clamp(32px, 5vw, 72px); }
.hero-main { grid-column: 1 / span 8; align-self: center; }
.hero-doc { grid-column: 8 / -1; align-self: center; animation: rise .8s var(--ease) 200ms both; }
/* Hero drawing: the capability line-art at full scale. Ivory strokes, gold seams and marks, margin notes in italic. */
.hero h1 em { position: relative; display: inline-block; }
.hero h1 .mk-under { bottom: -.02em; height: .14em; stroke: var(--gold); }
.hero h1 { font-size: clamp(2.75rem, 1.2rem + 5.2vw, 6.5rem); line-height: 1.02; letter-spacing: -.032em; }
.hero h1 span { display: block; }
.hero h1 em { font-style: italic; font-weight: 300; color: var(--gold); }
.hero-dek { margin-top: var(--s-6); font-size: var(--t-lead); line-height: 1.5; color: var(--fg-2); max-width: 33em; }
.hero-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s-2) var(--s-7); padding-block: var(--s-5); border-top: 1px solid var(--hair); font-size: var(--t-small); color: var(--fg-2); }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.hero h1 span, .hero-dek, .hero .actions, .hero-base { animation: rise .7s var(--ease) both; }
.hero h1 span:nth-child(2) { animation-delay: 60ms; }
.hero h1 span:nth-child(3) { animation-delay: 120ms; }
.hero-dek { animation-delay: 190ms; }
.hero .actions { animation-delay: 250ms; }
.hero-base { animation-name: fade; animation-delay: 380ms; }

/* Homepage rhythm: one explanation leads into the next, so its sections sit closer than on the inner pages */
.home { --sec: clamp(52px, 6.8vw, 98px); }
.proto { align-items: start; }
.proto > .split-a { grid-column: 1 / span 5; }
.proto > .split-b { grid-column: 7 / -1; margin: 0; }
.proto h2 + p { margin-top: var(--s-5); font-size: var(--t-lead); line-height: 1.5; color: var(--fg-2); }

/* ---------- 8. Perspectives listings (generated by tools/build.py) ---------- */
.pv-meta { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-5); font: 500 var(--t-meta)/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.pv-fmt { color: var(--mark); }
.pv-draft { display: inline-block; margin-right: 8px; padding: 1px 6px; border: 1px solid currentColor; border-radius: var(--r); color: var(--accent); }
.pv-title { margin-top: var(--s-3); font-size: var(--t-h3); }
.pv-title a { text-decoration: none; transition: color .18s var(--ease); }
@media (hover: hover) and (pointer: fine) { .pv-title a:hover { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; } }
.pv-desc { margin-top: var(--s-3); color: var(--fg-2); max-width: 36em; }
.pv-lead .pv-title { font-size: var(--t-h2); font-weight: 320; line-height: 1.1; letter-spacing: -.018em; }
.pv-lead .pv-desc { font-size: var(--t-lead); line-height: 1.5; }
.pv-side, .pv-latest ol, .lib-list, .lib-aside ol, .cont-list { margin-top: var(--s-7); border-bottom: 1px solid var(--hair); }
.pv-item, .pv-row { padding-block: var(--s-5); border-top: 1px solid var(--hair); }
.pv-note { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--hair); }
.pv-note p { color: var(--fg-2); max-width: 36em; margin-bottom: var(--s-3); }
.pv-h { font: 500 var(--t-meta)/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.pv-latest { margin-top: var(--s-7); }
.pv-latest ol, .lib-aside ol, .cont-list, .lib-list { margin-top: var(--s-4); }
.pv-all { margin-top: var(--s-6); }
.pv-split > .split-a h2 { font-size: var(--t-h1); font-weight: 300; line-height: 1.04; letter-spacing: -.025em; }
.pv-photo { margin-top: var(--s-7); aspect-ratio: 3 / 2; }
.pv-photo img { object-position: 50% 70%; }
.brief-block { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--ink); }
.split-b > .brief-block { margin-top: var(--s-7); }
.brief-block > * + * { margin-top: var(--s-4); }
.brief-block > p { color: var(--fg-2); max-width: 34em; }
.brief-block .brief-form { margin-top: var(--s-5); }
/* Homepage band while nothing is published: title, promise and the signup in one block */
.pv-band:has(.pv-compact) { padding-block: clamp(48px, 5.5vw, 80px); }
.pv-compact { border-top: 0; padding-top: 0; align-items: end; }
.pv-compact > .split-a h2 { font-size: var(--t-h1); font-weight: 300; line-height: 1.04; letter-spacing: -.025em; }
.pv-compact .pv-empty-t { margin-top: var(--s-5); font: 380 var(--t-h3)/1.2 var(--serif); letter-spacing: -.01em; color: var(--fg); }
.pv-compact .brief-block { margin-top: 0; }
.pv-compact .brief-block .fine { font-size: var(--t-meta); }
.pv-empty .pv-empty-t { font: 380 var(--t-h3)/1.2 var(--serif); letter-spacing: -.01em; color: var(--fg); text-wrap: balance; }
.lib-empty .pv-empty-t { font: 320 var(--t-h2)/1.1 var(--serif); letter-spacing: -.018em; max-width: 14em; }
.pv-empty-b { margin-top: var(--s-3); }
.lib-empty .pv-empty-b { margin-top: 0; }
.pv-empty-b p { color: var(--fg-2); max-width: 34em; }
.pv-empty .link-arrow { margin-top: var(--s-5); }

.lib { padding-bottom: var(--sec); }
.lib-feature { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); padding-top: var(--s-6); border-top: 1px solid var(--ink); }
.lib-feature > * { grid-column: 1 / span 9; }
.lib-feature .pv-title { font-size: var(--t-h1); font-weight: 300; line-height: 1.05; letter-spacing: -.022em; }
.lib-empty { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--s-5); padding-top: var(--s-6); border-top: 1px solid var(--ink); }
.lib-empty .pv-empty-t { grid-column: 1 / span 6; }
.lib-empty .pv-empty-b { grid-column: 7 / -1; }
.lib-filters { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); margin-top: var(--s-8); padding-bottom: var(--s-3); border-bottom: 1px solid var(--hair); }
.lib-filters a { position: relative; padding-block: 8px; color: var(--ink-2); font: 500 var(--t-small)/1.2 var(--sans); text-decoration: none; }
.lib-filters a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 6px; color: var(--bronze); background: currentColor; -webkit-mask: var(--stroke) center / 100% 100% no-repeat; mask: var(--stroke) center / 100% 100% no-repeat; clip-path: inset(-2px 100% -2px 0); transition: clip-path .4s var(--ease); }
.lib-filters a[aria-current="page"] { color: var(--ink); }
.lib-filters a[aria-current="page"]::after { clip-path: inset(-2px 0); }
@media (hover: hover) and (pointer: fine) { .lib-filters a:hover { color: var(--ink); } }
.lib-latest, .lib-aside { margin-top: var(--s-8); }
.lib-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--s-2); }
.lib-row .pv-meta { grid-column: 1 / span 3; flex-direction: column; padding-top: 6px; }
.lib-row .pv-title { grid-column: 4 / span 4; margin-top: 0; }
.lib-row .pv-desc { grid-column: 8 / -1; margin-top: 0; }
.lib-more { margin-top: var(--s-6); }
.lib-more button { min-height: 48px; padding: 0 22px; border: 1px solid var(--field); border-radius: var(--r); background: transparent; font: 500 var(--t-small)/1 var(--sans); transition: border-color .18s var(--ease), transform .16s var(--ease); }
.lib-more button:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .lib-more button:hover { border-color: var(--ink); } }
.cont { padding-top: var(--sec); }

/* ---------- 9. Architecture diagram (content/architecture.html) ---------- */
.arch { margin-top: var(--s-8); padding: clamp(20px, 3vw, 40px); border: 1px solid var(--rule); border-radius: var(--r); background: var(--white); box-shadow: var(--e1); }  /* an interactive diagram, not a deliverable */
.arch-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s-3) var(--s-6); padding-bottom: var(--s-5); border-bottom: 1px solid var(--rule); }
.arch-t { font: 380 var(--t-h3)/1.25 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.arch-key { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: var(--t-meta); color: var(--ink-2); }
.arch-key li { display: flex; align-items: center; gap: 8px; }
.sw { width: 14px; height: 14px; border: 1px solid var(--field); background: var(--white); flex: none; }
.sw-r { border: 1.5px solid var(--ox); background: var(--ox-tint); }
.arch svg { width: 100%; height: auto; margin: var(--s-6) auto 0; }
.arch-d { max-width: 940px; }
.arch-m { display: none; max-width: 400px; }
.arch .a-n { fill: var(--white); stroke: var(--field); stroke-width: 1; }
.arch .a-team { stroke: var(--ink-2); stroke-width: 1.25; }
.arch .a-cap { fill: var(--ox-tint); stroke: var(--ox); stroke-width: 1.25; }
.arch .a-in { fill: var(--white); stroke: var(--ox); stroke-width: 1; }
.arch .a-ln { fill: none; stroke: var(--pulse); stroke-width: 1.5; }
.arch marker path { fill: var(--pulse); }
.row-art .seam { stroke: var(--pulse); }
.a-pulse { fill: var(--pulse); }
.a-pulse-halo { fill: var(--gold); opacity: .45; }
.arch-key .sim-ctl { min-height: 32px; padding: 0 10px; font-size: var(--t-meta); }
.arch text { fill: var(--ink); }
.arch .a-t { font: 400 17px var(--serif); }
.arch .a-big { font-size: 19px; }
.arch .a-l { font: 500 13.5px var(--sans); fill: var(--ox); }
.arch .a-l-n { fill: var(--ink); }
.arch .a-s { font: 400 13.5px var(--sans); fill: var(--ink-2); }
.arch .a-k { font: 600 11px var(--sans); letter-spacing: 1.4px; fill: var(--ox); }
.arch .a-m { font: italic 400 14px var(--serif); fill: var(--ox); }
.arch .a-c { font: 500 12px var(--sans); fill: var(--ink-2); }
.arch figcaption { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--s-2); margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--rule); }
.arch-sum { grid-column: 1 / span 8; font-size: var(--t-small); color: var(--ink-2); max-width: 44em; }
.arch-cap { grid-column: 10 / -1; font-size: var(--t-meta); line-height: 1.5; color: var(--ink-3); }

/* ---------- 10. Solutions ---------- */
.cap { align-items: start; }
.cap + .cap { margin-top: var(--s-9); }
.cap-head { position: sticky; top: calc(var(--mast-h) + 32px); }
.cap-head p { margin-top: var(--s-4); font-size: var(--t-lead); line-height: 1.45; color: var(--fg-2); max-width: 22em; }
.kv > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 4fr); column-gap: var(--col-gap); row-gap: var(--s-1); padding-block: var(--s-5); border-top: 1px solid var(--hair); }
.kv > div:first-child { border-top: 0; padding-top: 4px; }
.kv dt { font: 500 var(--t-small)/1.5 var(--sans); color: var(--fg); padding-top: 1px; }
.kv dd { color: var(--fg-2); }
.cap-note { margin-top: var(--s-9); padding-top: var(--s-5); border-top: 1px solid var(--hair); color: var(--ink-2); }
.cap-note p { max-width: 44em; }

/* Illustrative review screen */
.rx { margin-top: var(--s-8); border: 1px solid var(--rule); border-radius: var(--r); background: var(--white); box-shadow: var(--e2); }
.rx-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-1) var(--s-5); padding: 12px clamp(16px, 2.5vw, 32px); border-bottom: 1px solid var(--rule); font: 500 var(--t-meta)/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.rx-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-3) var(--s-5); padding: var(--s-5) clamp(16px, 2.5vw, 32px); }
.rx-ttl { min-width: 0; }
.rx-ttl p { margin-top: 4px; font-size: var(--t-meta); color: var(--ink-3); }
.rx-chip { padding: 5px 12px; border: 1px solid var(--ox); border-radius: var(--r); color: var(--ox); font: 500 var(--t-meta)/1.3 var(--sans); white-space: nowrap; }
.rx-rows > li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--col-gap); row-gap: var(--s-2); padding: var(--s-5) clamp(16px, 2.5vw, 32px); border-top: 1px solid var(--rule); font-size: var(--t-small); }
.rx-k { font-weight: 500; color: var(--ink); }
.rx-rows > li > div { color: var(--ink-2); }
.rx-rows > li > div > * + * { margin-top: var(--s-3); }
.rx-dl > div { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); column-gap: var(--s-4); padding-block: 8px; border-top: 1px solid var(--rule); }
.rx-dl > div:first-child { border-top: 0; padding-top: 0; }
.rx-dl dt { color: var(--ink-3); }
.rx-dl dd { color: var(--ink); }
.rx-dl dd span { margin-left: 8px; font-size: var(--t-meta); color: var(--ink-3); white-space: nowrap; }
.rx-note { font-size: var(--t-meta); color: var(--ink-3); }
.rx-checks { display: grid; gap: 6px; }
.rx-checks li { display: flex; align-items: baseline; gap: 10px; color: var(--ink); }
.rx-checks li::before { content: ""; flex: none; align-self: center; width: 14px; height: 14px; background: var(--ok); -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat; }
.rx-checks .no { color: var(--ox); font-weight: 500; }
.rx-checks .no::before { background: var(--ox); -webkit-mask-image: var(--cross); mask-image: var(--cross); }
.rx-sub { font: 500 var(--t-meta)/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.rx-rows > li > .rx-checked > .rx-checks { margin-top: 6px; }
.rx-flag { padding: 10px 12px; border-left: 2px solid var(--ox); background: var(--ox-tint); }
.rx-flag .rx-sub { color: var(--ox); }
.rx-flag .rx-checks { margin-top: 6px; }
.rx-why { background: var(--ox-tint); }
.rx-rows > .rx-why > div { color: var(--ink); }
.rx-btns { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.rx-b { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--field); border-radius: var(--r); background: var(--white); color: var(--ink); font: 500 var(--t-small)/1.2 var(--sans); transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), opacity .18s var(--ease), transform .16s var(--ease); }
.rx-b1 { border-color: var(--ox); background: var(--ox); color: var(--on-ox); }
.rx-b:active { transform: scale(.97); }
.rx-b:disabled { cursor: default; opacity: .45; }
.rx-b[aria-pressed="true"] { opacity: 1; border-color: var(--ox); background: var(--ox); color: var(--on-ox); }
@media (hover: hover) and (pointer: fine) { .rx-b:not(:disabled):hover { border-color: var(--ink); } .rx-b1:not(:disabled):hover { background: var(--ox-deep); border-color: var(--ox-deep); } }
.rx-result { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-2) var(--s-4); color: var(--ink); animation: rise .45s var(--ease) both; }
.rx-result p::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px; background: var(--ok); -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat; }
.rx-reset { padding: 0; border: 0; background: none; color: var(--ox); font: 500 var(--t-small)/1.2 var(--sans); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; min-height: 44px; }
.rx-chip { transition: background-color .25s var(--ease), color .25s var(--ease); }
.rx[data-state] .rx-chip { background: var(--ox); color: var(--on-ox); }
.rx--compact { margin-top: 0; box-shadow: var(--e2), var(--sheet); }
.rx--compact .rx-rows > li { grid-template-columns: minmax(0, 1fr); }
.rx--compact .rx-head h3 { font-size: 1.25rem; }
/* Homepage card: read at a glance. Three lines, the reason folded away, then the decision. */
.rx--compact { --rx-px: clamp(16px, 2vw, 28px); }
.rx--compact > * + * { margin-top: 0; }
.proto > .split-a { align-self: center; }
.rx--compact .rx-bar { padding: 10px var(--rx-px); }
.rx--compact .rx-head { padding: var(--s-4) var(--rx-px); }
.rx-sum { display: grid; gap: 8px; padding: var(--s-4) var(--rx-px); border-top: 1px solid var(--rule); font-size: var(--t-small); line-height: 1.45; }
.rx-sum li { display: flex; align-items: baseline; gap: 10px; color: var(--ink); }
.rx-sum li::before { content: ""; flex: none; align-self: center; width: 15px; height: 15px; }
.rx-sum .ok::before { background: var(--ok); -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat; }
.rx-sum .no { color: var(--ox); font-weight: 500; }
.rx-sum .no::before { background: var(--ox); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6.9' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3Cpath d='M8 4.3v4.6' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='11.5' r='1' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6.9' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3Cpath d='M8 4.3v4.6' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='11.5' r='1' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat; }
.rx-sum .wait { color: var(--ink-2); }
.rx-sum .wait::before { height: 1px; width: 9px; margin-inline: 3px; background: var(--ink-3); }
.rx[data-state] .rx-sum .wait { color: var(--ink-3); }
details.bd-more.rx-more { margin: 0; padding-inline: var(--rx-px); border-top: 1px solid var(--rule); }
details.bd-more.rx-more summary { min-height: 46px; font-size: var(--t-small); }
details.bd-more.rx-more > div { padding-bottom: var(--s-4); color: var(--ink); max-width: none; }
.rx-dec { padding: var(--s-4) var(--rx-px); border-top: 1px solid var(--rule); }
.rx-dec .rx-btns { gap: 6px; }
.rx-dec .rx-b { padding: 0 12px; }
.rx-dec .rx-result { margin-top: var(--s-3); }
.rx--compact .rx-cap { padding: var(--s-3) var(--rx-px); }
.rx-cap { padding: var(--s-4) clamp(16px, 2.5vw, 32px); border-top: 1px solid var(--rule); font-size: var(--t-meta); line-height: 1.5; color: var(--ink-3); }
.rx-cap a { color: var(--ox); }

/* ---------- 11. Approach ---------- */
.stages { border-bottom: 1px solid var(--hair); }
.stages > li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--s-5); padding-block: var(--s-7); border-top: 1px solid var(--hair); }
.stages > li:first-child { border-top-color: var(--ink); }
.st-name { grid-column: 1 / span 4; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--s-4); align-content: start; align-items: center; }
.st-name .rn { grid-row: 1; }
.st-name p { grid-column: 2; }
.st-name h3 { font-size: var(--t-h2); font-weight: 320; line-height: 1.08; letter-spacing: -.02em; }
.st-name p { margin-top: var(--s-3); color: var(--ink-2); }
.st-cols { grid-column: 5 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5) var(--col-gap); padding-top: 6px; }
.st-cols dt { font: 500 var(--t-meta)/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.st-cols dd { margin-top: var(--s-2); font-size: var(--t-small); line-height: 1.6; color: var(--ink-2); }
.ex-link { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-1) var(--s-5); margin-top: var(--s-6); font-size: var(--t-small); color: var(--ink-3); }

/* ---------- 12. About ---------- */
.statement { grid-column: 1 / -1; font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4.25rem); line-height: 1.08; letter-spacing: -.024em; }

/* ---------- 13. Contact ---------- */
.next-steps { margin-top: var(--s-6); counter-reset: n; border-bottom: 1px solid var(--hair); }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 2rem minmax(0, 1fr); padding-block: var(--s-4); border-top: 1px solid var(--hair); color: var(--ink-2); }
.next-steps li::before { content: counter(n, upper-roman); font: 500 .9375rem/1.8 var(--inscription); color: var(--bronze); }
.next-steps b { color: var(--ink); font-weight: 600; }
.next-alt { margin-top: var(--s-4); font-size: var(--t-small); color: var(--ink-2); }
.next-steps + .next-alt { margin-top: var(--s-6); }
.next-alt a, .legal a, .author a, .prose a { color: var(--ox); }
.ctx { display: grid; gap: var(--s-4); padding: var(--s-5); border: 1px solid var(--rule); border-radius: var(--r); background: var(--stone); }
.ctx-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-3); align-items: end; }
.ctx-clear { min-height: 48px; padding: 0 16px; border: 1px solid var(--field); border-radius: var(--r); background: transparent; font: 500 var(--t-small)/1 var(--sans); transition: border-color .18s var(--ease), transform .16s var(--ease); }
.ctx-clear:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .ctx-clear:hover { border-color: var(--ink); } }
.ctx-note { font-size: var(--t-meta); line-height: 1.5; color: var(--ink-3); }

/* ---------- 14. Legal and long-form reading ---------- */
.legal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); padding-top: var(--s-6); padding-bottom: var(--sec); border-top: 1px solid var(--ink); }
.legal-date { grid-column: 1 / span 4; font: 500 var(--t-meta)/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding-top: 6px; }
.legal-body { grid-column: 5 / span 7; max-width: 41em; color: var(--ink-2); }
.legal-body > * + * { margin-top: var(--s-4); }
.legal-body h2 { margin-top: var(--s-7); font-size: var(--t-h3); font-weight: 380; line-height: 1.2; letter-spacing: -.01em; }
.legal-body ul { display: grid; gap: var(--s-3); }
.legal-body li { position: relative; padding-left: 20px; }
.legal-body li::before, .prose ul li::before, .bd-sec > ul li::before, .brief-aside li::before, .nl-list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 1px; background: var(--fg-3); }
.legal-body strong { color: var(--ink); }

.crumb { padding-top: clamp(40px, 5vw, 72px); font-size: var(--t-small); color: var(--ink-3); }
.crumb a { color: var(--ink-2); }
.a-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); padding-top: var(--s-5); padding-bottom: var(--s-7); }
.a-head > * { grid-column: 1 / span 9; }
.a-head h1 { max-width: 15em; }
.a-head .dek { margin-top: var(--s-5); font-size: var(--t-lead); line-height: 1.5; color: var(--ink-2); max-width: 34em; }
.byline { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-6); margin-top: var(--s-7); padding-top: var(--s-4); border-top: 1px solid var(--ink); font-size: var(--t-small); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.byline b { font-weight: 500; color: var(--ink); }
.byline a { text-decoration-color: transparent; }
.a-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--s-7); align-items: start; }
.brief-aside { grid-column: 1 / span 3; position: sticky; top: calc(var(--mast-h) + 32px); }
.brief-aside ul { margin-top: var(--s-4); display: grid; gap: var(--s-3); font-size: var(--t-small); color: var(--ink-2); }
.brief-aside li { position: relative; padding-left: 20px; }
.prose { grid-column: 5 / span 7; max-width: 34em; font: 400 1.25rem/1.6 var(--serif); color: var(--ink); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font: 600 1.125rem/1.35 var(--sans); letter-spacing: 0; }
.prose h2 + * { margin-top: .5em; }
.prose ul { display: grid; gap: .5em; }
.prose ul li { position: relative; padding-left: 24px; }
.prose .fig { margin-block: 2em; padding: var(--s-5); border: 1px solid var(--rule); border-radius: var(--r); background: var(--white); font-family: var(--sans); }
.fig-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-1) var(--s-4); padding-bottom: var(--s-4); margin-bottom: var(--s-4); border-bottom: 1px solid var(--rule); font: 500 var(--t-body)/1.35 var(--sans); color: var(--ink); }
.fig-n { font: 500 var(--t-meta)/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ox); }
.matrix { width: 100%; height: auto; }
.src { margin-top: var(--s-4); font-size: var(--t-meta); line-height: 1.5; color: var(--ink-3); }
.apply { margin-top: var(--sec); }
.author { margin-top: var(--s-8); padding-bottom: var(--sec); }
.author .split-b p { color: var(--ink-2); }
.author b { font-weight: 600; color: var(--ink); }

/* ---------- 15. Self-check (operational) ---------- */
.sc-step { padding-bottom: var(--sec); }
.sc-step .split { align-items: start; }
.sc-side { position: sticky; top: calc(var(--mast-h) + 32px); }
.sc-side .rn { margin-bottom: var(--s-4); }
.wp-stages { margin-top: var(--s-6); border-bottom: 1px solid var(--hair); }
.wp-stages li { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding-block: var(--s-3); border-top: 1px solid var(--hair); font-size: var(--t-small); color: var(--ink-3); }
.wp-stages li[aria-current] { color: var(--ink); font-weight: 500; }
.wp-stages li.is-done { color: var(--ink-2); }
.wp-stages .mk path { stroke-dasharray: 1; animation: draw .5s var(--ease) both; }
.bd-signoff { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--ink); color: var(--ink-2); font: italic 400 1.0625rem/1.35 var(--serif); }
.bd-signoff .medal { width: 26px; height: 26px; color: var(--ox); }
.sc-stage-h { font-size: var(--t-h2); }
.stage:not([hidden]), #review-list, .brief-doc > * { animation: rise .45s var(--ease) both; }
.sc-stage-k { margin-top: var(--s-3); font: 500 var(--t-meta)/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.sc-err { margin-bottom: var(--s-5); padding: var(--s-4) var(--s-5); border: 1px solid var(--ox); border-radius: var(--r); background: var(--ox-tint); }
.sc-err h3 { font: 600 var(--t-body)/1.3 var(--sans); letter-spacing: 0; color: var(--ox); }
.sc-err ul { margin-top: var(--s-2); display: grid; gap: 4px; font-size: var(--t-small); }
.sc-err a { color: var(--ox); }
.q { padding-block: var(--s-6); border-top: 1px solid var(--hair); }
.stage > .q:first-child { border-top: 0; padding-top: 0; }
.q legend, .q .q-l { font: 380 var(--t-h3)/1.25 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.q .q-l .opt { font: 400 var(--t-small)/1 var(--sans); letter-spacing: 0; }
.q .hint { margin-top: var(--s-2); font-size: var(--t-small); color: var(--ink-3); }
.q-err { display: flex; align-items: center; gap: 8px; margin-top: var(--s-2); color: var(--ox); font: italic 400 1rem/1.35 var(--serif); }
.q-err::before { content: ""; flex: none; width: 14px; height: 12px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 12'%3E%3Cpath d='M1.6 10.6C3.4 7.6 5 4.8 6.8 1.6 8.6 4.6 10.4 7.4 12.4 10.4' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 12'%3E%3Cpath d='M1.6 10.6C3.4 7.6 5 4.8 6.8 1.6 8.6 4.6 10.4 7.4 12.4 10.4' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.q[data-invalid] .opts label { border-color: var(--ox); }
.opts { margin-top: var(--s-4); display: grid; gap: var(--s-2); }
.opts label, .choice label { display: flex; align-items: flex-start; gap: 12px; padding: 13px 16px; border: 1px solid var(--field); border-radius: var(--r); background: var(--white); color: var(--ink); font: 400 1rem/1.5 var(--sans); cursor: pointer; transition: border-color .15s var(--ease), background-color .15s var(--ease); }
.opts label:has(input:checked) { border-color: var(--ox); background: var(--ox-tint); box-shadow: inset 0 0 0 1px var(--ox); }
.opts label:has(input:focus-visible) { outline: 2px solid var(--ox); outline-offset: 2px; }
.opts input:focus-visible { outline: none; }
@media (hover: hover) and (pointer: fine) { .opts label:hover { border-color: var(--ink); } }
.name-in { margin-top: var(--s-4); }
.sc-nav { margin-top: var(--s-7); display: flex; flex-wrap: wrap; gap: var(--s-3); }
.rv-stage { margin-top: var(--s-6); border-top: 1px solid var(--ink); }
#review-list > .rv-stage:first-child { margin-top: 0; }
.rv-stage-h { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); padding-block: var(--s-4) var(--s-2); }
.rv-stage-h button { min-height: 44px; padding: 0; border: 0; background: none; color: var(--ox); font: 500 var(--t-small)/1 var(--sans); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.rv-stage dl > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px var(--col-gap); padding-block: var(--s-3); border-top: 1px solid var(--hair); font-size: var(--t-small); }
.rv-stage dt { color: var(--ink-2); }
.rv-stage dd { color: var(--ink); font-weight: 500; }

.brief-doc { padding-top: clamp(48px, 6vw, 88px); padding-bottom: var(--sec); }
.bd-top { padding-bottom: var(--s-6); border-bottom: 1px solid var(--ink); }
.bd-top h2 { font-size: var(--t-h1); font-weight: 300; line-height: 1.05; letter-spacing: -.022em; max-width: 18em; }
.bd-meta { margin-top: var(--s-4); font-size: var(--t-small); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.bd-approach { margin-top: var(--s-5); font: 380 var(--t-h3)/1.3 var(--serif); color: var(--ink-2); }
.bd-approach b { font-weight: 380; color: var(--ox); }
.bd-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7) calc(var(--col-gap) * 2.5); margin-top: var(--s-7); }
.bd-sec + .bd-sec { margin-top: var(--s-7); }
.bd-sec h3 { padding-bottom: var(--s-3); border-bottom: 1px solid var(--hair); font: 500 var(--t-meta)/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.bd-sec > p, .bd-sec li { margin-top: var(--s-3); color: var(--ink-2); }
.bd-sec > ul li { position: relative; padding-left: 20px; }
.bd-sec b { color: var(--ink); }
.bd-level { font-weight: 600; color: var(--ink); }
.bd-sec > .bd-fine { font-size: var(--t-meta); line-height: 1.5; color: var(--ink-3); }
.bd-key { margin-top: var(--s-3); padding: var(--s-4) var(--s-5); border-radius: var(--r); background: var(--ox-tint); }
.bd-key b { display: block; font: 380 var(--t-h3)/1.25 var(--serif); color: var(--ink); }
.bd-key p { margin-top: 6px; font-size: var(--t-small); color: var(--ink-2); }
.bd-steps { counter-reset: s; }
.bd-steps li { counter-increment: s; display: grid; grid-template-columns: 2rem minmax(0, 1fr); }
.bd-steps li::before { content: counter(s, upper-roman); font: 500 .9375rem/1.8 var(--inscription); color: var(--bronze); }
.bd-prep > div { padding-block: var(--s-3); border-bottom: 1px solid var(--hair); }
.bd-prep dt { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); font-weight: 500; font-size: var(--t-small); color: var(--ink); }
.bd-prep dt span { padding: 1px 8px; border: 1px solid var(--field); border-radius: var(--r); font-weight: 400; font-size: var(--t-meta); color: var(--ink-2); white-space: nowrap; }
.bd-prep dt span[data-state="ok"] { border-color: var(--ok); color: var(--ok); }
.bd-prep dt span[data-state="prep"] { border-color: var(--ox); color: var(--ox); }
.bd-prep dd { margin-top: 4px; font-size: var(--t-small); color: var(--ink-2); }
.bd-scope { margin-top: var(--s-3); padding: var(--s-4) var(--s-5); border: 1px solid var(--rule); border-radius: var(--r); background: var(--white); }
.bd-scope .k { font-size: var(--t-meta); color: var(--ink-3); }
.bd-scope p + p { margin-top: var(--s-2); color: var(--ink); }
details.bd-more { margin-top: var(--s-5); border-top: 1px solid var(--hair); }
details.bd-more summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 52px; cursor: pointer; font-weight: 500; color: var(--ink); list-style: none; }
details.bd-more summary::-webkit-details-marker { display: none; }
details.bd-more summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s var(--ease); }
details.bd-more[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
details.bd-more > div { padding-bottom: var(--s-4); font-size: var(--t-small); color: var(--ink-2); max-width: 46em; }
details.bd-more > div p + p, details.bd-more li { margin-top: var(--s-2); }
details.bd-more summary:focus-visible { outline-offset: -2px; }
/* The detail beneath the recommendation: closed by default, opened for print by assets/selfcheck.js */
.bd-details { margin-top: var(--s-7); }
.bd-details details.bd-more { margin-top: 0; }
.bd-details .bd-prep > div:first-child { padding-top: 0; }
.bd-details .bd-fine { font-size: var(--t-meta); line-height: 1.5; color: var(--ink-3); }
.bd-details .bd-sub { margin-top: var(--s-5); font-weight: 500; color: var(--ink); }
.bd-details ul li { position: relative; padding-left: 20px; }
.bd-details ul li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 1px; background: var(--ink-3); }
.bd-actions { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-3); }
.choice { margin-top: var(--s-5); display: grid; gap: var(--s-2); }
.choice legend { margin-bottom: var(--s-3); font-weight: 500; color: var(--fg); }
.choice label { background: transparent; border-color: var(--rule-ox); color: var(--fg); }
.choice label:has(input:checked) { border-color: var(--on-ox); box-shadow: inset 0 0 0 1px var(--on-ox); }
.choice label:has(input:focus-visible) { outline: 2px solid var(--on-ox); outline-offset: 2px; }
.choice input { accent-color: var(--on-ox); }
.choice input:focus-visible { outline: none; }
.fallback { margin-top: var(--s-5); }
.fallback > * + * { margin-top: var(--s-3); }
.nl-list { display: grid; gap: var(--s-2); color: var(--fg-2); }
.nl-list li { position: relative; padding-left: 20px; }

/* ---------- 16. Workflow demo ---------- */
.demo { padding-bottom: var(--sec); }
.demo-back { padding-top: clamp(32px, 4vw, 56px); }
.demo .page-head { padding-top: var(--s-5); }
.demo .page-head h1 { font-size: var(--t-h2); font-weight: 320; line-height: 1.08; letter-spacing: -.02em; grid-column: 1 / span 5; }
.demo .page-head .dek { grid-column: 7 / -1; font-size: var(--t-body); max-width: 38em; padding-bottom: 0; }
.demo .page-head-in { padding-bottom: var(--s-6); }
.sim { border-top: 1px solid var(--ink); }
.sim-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding-block: var(--s-2); }
.sim-bar p { font-size: var(--t-small); color: var(--ink-2); }
.sim-bar b { color: var(--ink); }
.sim-ctl { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--field); border-radius: var(--r); background: transparent; color: var(--ink); font: 500 var(--t-small)/1 var(--sans); transition: border-color .18s var(--ease), transform .16s var(--ease); }
.sim-ctl { min-width: 5.5rem; justify-content: center; }
.sim-ctl:active { transform: scale(.97); }
.sim-ctl { flex: none; }
.sim-ctl svg { flex: none; width: 12px; height: 12px; fill: currentColor; }
@media (hover: hover) and (pointer: fine) { .sim-ctl:hover { border-color: var(--ink); } }
.canvas { position: relative; margin-top: var(--s-4); }
.canvas > svg { width: 100%; height: auto; max-width: none; overflow: visible; aspect-ratio: 1250 / 324; }
@media (max-width: 999px) { .canvas > svg { aspect-ratio: 360 / 680; } }
.sx text { font-family: var(--sans); }
.sx .grp { font-size: 13px; font-weight: 600; fill: var(--ink-2); }
.sx .grp.sys { fill: var(--ox); font-weight: 500; }
.sx .frame { fill: none; stroke: var(--ox); stroke-width: 1; stroke-opacity: .45; }
.sx .tick { stroke: var(--ox); stroke-width: 1.5; fill: none; }
.sx .edge { fill: none; stroke: #a6998d; stroke-width: 1; stroke-linejoin: round; }
.sx .edge.main { stroke: var(--ink); stroke-width: 1.5; }
.sx .elab { font-size: 12.5px; fill: var(--ink-2); }
.sx .port { fill: var(--paper); stroke: var(--ink); stroke-width: 1; }
.sx .node rect:not(.halo), .sx .node polygon { fill: var(--white); stroke: var(--ink); stroke-width: 1; transition: fill .4s var(--ease), stroke .4s var(--ease); }
.sx .node .band { fill: var(--ink); stroke: none; transition: fill .4s var(--ease); }
.sx .node .t { font-size: 15px; font-weight: 500; fill: var(--ink); }
.sx .node.tool rect { stroke: #a6998d; fill: var(--paper); }
.sx .node.tool .t { font-size: 13.5px; font-weight: 400; fill: var(--ink-2); }
.sx .node.person rect:not(.halo) { stroke-dasharray: 4 3; stroke: var(--ink-2); }
.sx .node.on rect:not(.halo), .sx .node.on polygon { stroke: var(--ox); fill: var(--ox-tint); transition-duration: .08s; }
.sx .node.on .band { fill: var(--ox); transition-duration: .08s; }
.sx .node.wait-ex rect:not(.halo) { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: none; }
.sx .node.wait-ap rect:not(.halo) { stroke: var(--ox); stroke-width: 2; stroke-dasharray: none; fill: var(--ox-tint); }
.sx .halo { fill: none; stroke: var(--ox); stroke-width: 1; opacity: 0; }
.sx .node.wait-ap .halo { animation: halo 2.2s var(--ease) infinite; }
@keyframes halo { 0% { opacity: .55; transform: scale(1); } 100% { opacity: 0; transform: scale(1.08); } }
.sx .pkt { fill: var(--ox); }
.sx .pkt.held-ex { fill: var(--ink); }
.sx .trail { stroke: var(--ox); stroke-width: 2.5; stroke-linecap: round; opacity: .35; }
.hb { position: absolute; transform: translateX(-50%); min-height: 40px; padding: 0 16px; border: 0; border-radius: var(--r); color: var(--on-ox); font: 500 var(--t-small)/1 var(--sans); white-space: nowrap; transition: background-color .18s var(--ease), transform .16s var(--ease); }
.hb:active { transform: translateX(-50%) scale(.97); }
.hb.ex { background: var(--ink); }
.hb.ap { background: var(--ox); }
.hb:focus-visible { outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .hb.ex:hover { background: #000; } .hb.ap:hover { background: var(--ox-deep); } }
.strip { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-3) var(--s-8); align-items: start; margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--rule); }
.counts { display: flex; gap: var(--s-7); }
.counts div { display: flex; flex-direction: column-reverse; }
.counts dt { font-size: var(--t-meta); color: var(--ink-2); }
.counts dd { font: 320 2rem/1.1 var(--serif); font-variant-numeric: tabular-nums lining-nums; color: var(--ink); }
.counts .await dd { color: var(--ox); }
.feed { min-height: 66px; font-size: var(--t-small); line-height: 1.5; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.feed li:first-child { color: var(--ink); }
.feed b { font-weight: 500; }
.sim-note { grid-column: 1 / -1; font-size: var(--t-meta); color: var(--ink-3); }

/* ---------- 16b. Depth: paper on a desk ----------
   One hierarchy. Prepared deliverables (the review card, illustrative documents, the "after" figures) are the
   only lifted objects (--e2, plus the backing sheet). Forms and interactive panels are white surfaces with a
   hairline (at most --e1). Editorial text, rows, photos and headings are flat: spacing and fine rules.
   The homepage hero has soft light and a faint ledger ruling behind its drawing. One overlap per page at most,
   wide screens only. */

/* ---------- Homepage (2026-11-30, broad landing page) ---------- */
/* Hero: light ground; statement left, photograph right with one piece of the work laid over it */
.hero { background: var(--paper); border-bottom: 1px solid var(--rule); }
/* Anthropic's homepage: one left edge for everything. The statement is a single paragraph (the claim in full ink,
   the rest lighter), then a full-width drawing, then rows of equal cards under a small ruled label. */
.hero { border-bottom: 0; }
.hero .hero-in { position: relative; display: block; min-height: 0; padding-block: clamp(40px, 5vh, 80px) clamp(32px, 4vh, 56px); }
.hero .hero-main { text-align: center; }
.hero h1 { font-size: clamp(2.25rem, .6rem + 2.4vw + 1.2vh, 4.25rem); font-weight: 340; line-height: 1.06; letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.hero .hero-dek { margin: var(--s-4) auto 0; font-size: clamp(1.0625rem, .9rem + .45vw, 1.3125rem); line-height: 1.5; color: var(--ink-2); max-width: 34em; text-wrap: balance; }
@media (min-width: 1000px) { .hero h1, .hero .hero-dek { white-space: nowrap; } .hero .hero-dek { max-width: none; } }
.hero .actions { margin-top: var(--s-5); justify-content: center; }
/* The perspective band: a checker floor in one-point perspective running back into the "View Perspectives" box on
   the horizon. It grows with tall screens so the latest cards still sit on the first screen. */
.hero-band { position: relative; height: clamp(200px, calc(100svh - var(--mast-h) - 700px), 420px); background: var(--paper); overflow: hidden; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
.hero-band .persp { display: block; width: 100%; height: 100%; }
.p-floor path { fill: none; stroke: var(--ox); stroke-width: .9; stroke-opacity: .16; }

.p-hz { stroke: var(--ox); stroke-width: 1; stroke-opacity: .22; }
/* The link is a caption belonging to the drawing: plain text above the vanishing point, with a generous hit area */
.p-go { position: absolute; left: 50%; top: 0; transform: translate(-50%, -100%); display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; font: 500 .9375rem/1.2 var(--sans); color: var(--ox); text-decoration: none; white-space: nowrap; }
.p-go::after { content: "\2192"; transition: translate .25s var(--ease); }
@media (hover: hover) and (pointer: fine) { .p-go:hover span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; } .p-go:hover::after { translate: 4px 0; } }
.p-go:focus-visible { outline: 2px solid var(--ox); outline-offset: -2px; }
.hero-latest { padding-block: 8px clamp(56px, 6vw, 96px); }
.row-h { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--rule); margin-bottom: var(--s-5); }
.row-t { font: 500 var(--t-small)/1.4 var(--sans); letter-spacing: 0; color: var(--ink); }
.hcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); }
.hcards li { display: flex; }
.hcard { flex: 1; display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; padding: 14px 14px 20px; border-radius: var(--r-card); background: var(--stone); color: var(--ink); text-decoration: none; transition: background-color .3s var(--ease); }
.hcard-art { display: block; margin-bottom: 6px; border-radius: var(--r-inner); overflow: hidden; background: var(--paper); aspect-ratio: 3 / 1; }
.hcard-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hcard-k, .hcard-t, .hcard-go { margin-inline: 10px; }
.hcard-k { font-size: var(--t-meta); color: var(--bronze); }
.hcard-t { font: 400 1.25rem/1.22 var(--serif); letter-spacing: -.012em; }
.hcard--lead { grid-template-rows: auto 1fr auto; padding-top: 22px; }
.hcard--lead .hcard-t { font-size: clamp(1.375rem, 1rem + .7vw, 1.75rem); line-height: 1.18; align-self: start; }

.hcard-go { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; font-size: var(--t-small); color: var(--ox); }
.hcard-go::after { content: ""; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); transition: translate .25s var(--ease); }
@media (hover: hover) and (pointer: fine) { .hcard:hover { background: #ebe5dc; } .hcard:hover .hcard-go::after { translate: 3px 0; } }
/* Below the hero, sections keep the same left edge and split into equal halves */
.sys .idea-h { grid-column: 1 / span 6; }
.sys .idea-b { grid-column: 7 / -1; }
.sys .see-a { grid-column: 1 / span 6; }
.sys .see-card { grid-column: 7 / -1; }
.sys .close-in h2 { grid-column: 1 / span 6; }
.sys .close-body { grid-column: 7 / -1; }

/* The idea, and the router */
.idea-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--s-7); align-items: start; }
.idea-h { grid-column: 1 / span 5; font-size: var(--t-h1); font-weight: 300; line-height: 1.06; letter-spacing: -.025em; }
.idea-h em { font-style: italic; color: var(--accent); }
.idea-b { grid-column: 7 / -1; }
.route { margin-top: var(--s-6); padding: clamp(20px, 2.6vw, 32px); border: 1px solid var(--rule); border-radius: var(--r); background: var(--white); box-shadow: var(--e1); }
.route-q { font: 400 var(--t-h3)/1.2 var(--serif); color: var(--ink); }
.route-row { margin-top: var(--s-5); display: grid; gap: var(--s-4); }
.route label { display: grid; gap: 6px; font-size: var(--t-small); color: var(--fg-2); }
.route select { width: 100%; min-height: 3rem; padding: .5rem 2.5rem .5rem .875rem; border: 1px solid var(--field); border-radius: var(--r); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%235b1f25' stroke-width='1.5'/%3E%3C/svg%3E") right 14px center / 12px 8px no-repeat; color: var(--ink); font: inherit; font-size: var(--t-body); appearance: none; }
.route .btn { justify-self: start; margin-top: var(--s-2); }

/* What changes: one slow, continuous band */
.flow { overflow: hidden; padding-block: clamp(22px, 2.6vw, 34px); border-block: 1px solid rgba(233, 201, 139, .18); background: #24090d; }
.flow-track { display: flex; width: max-content; animation: flow 60s linear infinite; }
.flow-set { display: flex; flex: none; }
.flow-set span { display: inline-flex; align-items: center; gap: clamp(28px, 3.4vw, 56px); padding-right: clamp(28px, 3.4vw, 56px); font: 300 clamp(1.375rem, 1rem + 1.4vw, 2.25rem)/1.1 var(--serif); color: var(--on-ox); white-space: nowrap; }
.flow-set span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); opacity: .75; }
@keyframes flow { to { transform: translateX(-50%); } }
@media (hover: hover) { .flow:hover .flow-track { animation-play-state: paused; } }

/* Section heads and the capability tiles */
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s-3) var(--s-6); padding-bottom: var(--s-5); border-bottom: 1px solid var(--rule); }
.tiles { list-style: none; margin: var(--s-7) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--s-7); }
.tile a { display: block; color: inherit; text-decoration: none; }
.tile figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--stone); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile-b { padding-top: var(--s-5); }
.tile h3 { font-size: var(--t-h3); font-weight: 380; line-height: 1.2; letter-spacing: -.01em; }
.tile p { margin-top: var(--s-3); color: var(--fg-2); max-width: 30em; }
@media (hover: hover) and (pointer: fine) { .tile a:hover img { transform: scale(1.04); } .tile a:hover h3 { text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; } }

/* See it working */
.see { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--s-7); align-items: center; }
.see-a { grid-column: 1 / span 5; }
.see-a .lead { margin-top: var(--s-5); }
.see-a .link-arrow { display: inline-flex; margin-top: var(--s-5); }
.see-card { grid-column: 7 / -1; margin: 0; }

/* How we work: four steps */
.steps { list-style: none; margin: var(--s-7) 0 0; padding: 0; counter-reset: st; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--s-6); }
.steps li { counter-increment: st; padding-top: var(--s-5); border-top: 1px solid var(--ink); }
.steps li::before { content: counter(st); display: block; margin-bottom: var(--s-4); font: 300 2.25rem/1 var(--serif); color: var(--bronze); font-variant-numeric: lining-nums; }
.steps h3 { font-size: 1.25rem; font-weight: 400; line-height: 1.25; }
.steps p { margin-top: var(--s-3); color: var(--fg-2); }

/* Principles */
.principles { background: linear-gradient(180deg, #2a0c11, #1f090c); }
.pr-h { max-width: 15em; font-size: var(--t-h1); font-weight: 300; line-height: 1.06; letter-spacing: -.025em; }
.pr { margin: var(--s-7) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--s-6); }
.pr > div { padding-top: var(--s-5); border-top: 1px solid rgba(233, 201, 139, .35); }
.pr dt { font: 400 1.25rem/1.25 var(--serif); color: var(--on-ox); }
.pr dd { margin: var(--s-3) 0 0; color: var(--on-ox-2); }

@media (max-width: 1099px) {
  .steps, .pr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .hcards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hero-band { height: 300px; }
  .hcard--lead { min-height: 0; }
  .sys .idea-h, .sys .idea-b, .sys .see-a, .sys .see-card, .sys .close-in h2, .sys .close-body { grid-column: 1 / -1; }
  .hero .hero-in { min-height: 0; row-gap: var(--s-7); }
  .idea-h, .idea-b, .see-a, .see-card { grid-column: 1 / -1; }
  .tiles { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599px) {
  .steps, .pr { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: 2.375rem; }

  .hero-cred { margin-top: var(--s-6); }
}
@media (prefers-reduced-motion: reduce) {
  .flow-track { animation: none; }
  .hc { animation: none; transition: none; }
  .tile img { transition: none; }
}

/* How control is kept: two columns of plain statements */
.ctl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--col-gap); }
.ctl > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--col-gap); padding: var(--s-5) 0; border-top: 1px solid var(--rule); }
.ctl dt { font-weight: 500; color: var(--ink); }
.ctl dd { margin: 0; color: var(--fg-2); }
.ctl-note { margin-top: var(--s-4); max-width: 62em; color: var(--fg-2); }
.ctl + .ctl-note { margin-top: var(--s-7); }
.ctl-note b { font-weight: 500; color: var(--ink); }
.ctl-note .fine { display: block; margin-top: 4px; }

/* Short term lists (first step, wider offer) */
.begin { margin: 0; }
.begin > div { padding: var(--s-4) 0; border-top: 1px solid var(--rule); }
.begin dt { font-weight: 500; color: var(--ink); }
.begin dd { margin: 4px 0 0; color: var(--fg-2); max-width: 36em; }
.who .lead { color: var(--ink); }

@media (max-width: 899px) {
  .ctl { grid-template-columns: minmax(0, 1fr); }
  .ctl > div { grid-template-columns: minmax(0, 1fr); row-gap: 4px; }
}


/* Forms are sheets to write on */
#form.form, .sc-step > .split > .split-b { padding: clamp(20px, 3vw, 40px); border: 1px solid var(--rule); border-radius: var(--r); background: var(--white); }
#form.form { box-shadow: 0 1px 2px rgba(58, 19, 23, .05); }  /* barely there: a surface to write on, not an object */
#form .ctx { background: var(--paper); }

/* The homepage review card sits inside its own section (the hero already carries the one lifted object) */
@media (min-width: 900px) {
  .proto > .rx--compact { margin-top: 0; align-self: center; }
}

/* Phones: nothing overlaps and documents sit lower, on level one */
@media (max-width: 699px) {
  .doc, .rx { box-shadow: var(--e1); }
  .on-ox .doc { box-shadow: var(--e1-ox); }
  :root { --sheet-o: 4px; }
  .ba-after .doc, .rx--compact { box-shadow: var(--e1), var(--sheet); }
  #form.form, .sc-step > .split > .split-b { padding: var(--s-5) var(--s-4); }
}

/* About: a photograph paired with a short text block (the background statement at lead size, then three points) */
.pair { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--s-6); align-items: start; }
.pair-photo { grid-column: 1 / span 5; aspect-ratio: 4 / 3; }
.pair-photo img { object-position: 42% 50%; }
.pair-text { grid-column: 7 / -1; }
.pair-lead { font-size: var(--t-lead); line-height: 1.5; color: var(--ink); max-width: 30em; text-wrap: pretty; }
.pair-lead em { font-style: normal; color: var(--ox); }
.pair-rows { margin-top: var(--s-6); }
.pair-rows > * { display: block; padding-block: var(--s-4); }
.pair-rows dt { font-size: 1.25rem; }
.pair-rows dd { margin-top: var(--s-1); }
@media (max-width: 899px) { .pair-photo, .pair-text { grid-column: 1 / -1; } .pair-photo { aspect-ratio: 3 / 2; } }

/* ---------- 17. Responsive ---------- */
@media (max-width: 1099px) {
  .mast-sub { display: none; }
  .st-name { grid-column: 1 / -1; }
  .st-cols { grid-column: 1 / -1; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-col, .foot-col:first-of-type, .foot-col:last-of-type { grid-column: span 4; }
  .lib-row .pv-meta { grid-column: 1 / -1; flex-direction: row; padding-top: 0; }
  .lib-row .pv-title { grid-column: 1 / span 5; }
  .lib-row .pv-desc { grid-column: 6 / -1; }
  .brief-aside { grid-column: 1 / span 4; }
  .prose { grid-column: 5 / -1; }
}

@media (max-width: 899px) {
  :root { --mast-h: 64px; }
  .split > .split-a, .split > .split-b, .split--narrow > .split-a, .split--narrow > .split-b, .proto > .split-a, .proto > .split-b { grid-column: 1 / -1; }
  .page-head h1, .page-head .dek, .page-head .dek + .dek, .demo .page-head h1, .demo .page-head .dek { grid-column: 1 / -1; }
  .page-head .dek + .dek { margin-top: calc(var(--s-2) - var(--s-5)); }
  .close h2, .close-body { grid-column: 1 / -1; }
  .rows h3, .rows dt, .rows p, .rows dd { grid-column: 1 / -1; }
  .rows--link > * { align-items: start; }
  .rows--link h3 { grid-column: 1 / span 8; grid-row: 1; }
  .row-art { grid-column: 9 / span 3; grid-row: 1; justify-self: end; width: 90px; height: 36px; margin-right: var(--s-2); }
  .rows--link .row-go { grid-column: 12; grid-row: 1; margin-top: 8px; }
  .rows--link .row-body { grid-column: 1 / -1; }
  .moment-sub > * { grid-column: 1 / -1; }
  .ba-head h3, .ba-head p { grid-column: 1 / -1; }
  .cap-head, .sc-side, .brief-aside { position: static; }
  .hero-in { min-height: 0; }
  .hero-main { grid-column: 1 / -1; }
  .hero-doc { grid-column: 1 / -1; margin-top: var(--s-7); max-width: 560px; }
  
  .arch figcaption > * { grid-column: 1 / -1; }
  .lib-feature > *, .lib-empty .pv-empty-t, .lib-empty .pv-empty-b, .a-head > * { grid-column: 1 / -1; }
  .legal-date, .legal-body, .brief-aside, .prose { grid-column: 1 / -1; }
  .legal { row-gap: var(--s-5); }
  .bd-grid { grid-template-columns: minmax(0, 1fr); }
  .strip { grid-template-columns: minmax(0, 1fr); }
  .counts { gap: var(--s-5); justify-content: space-between; }
  .feed { min-height: 0; }
  .sim { max-width: 480px; margin-inline: auto; }

  /* Menu: a full-screen panel under the bar. Without JavaScript the links simply wrap below the wordmark. */
  .mast-in { flex-wrap: wrap; row-gap: 0; padding-top: var(--s-3); }
  .js .mast-in { padding-top: 0; }
  .mast-nav { flex: 1 0 100%; flex-direction: column; align-items: flex-start; gap: var(--s-4); padding-bottom: var(--s-5); }
  .mast-nav ul { flex-wrap: wrap; }
  .js .mast-toggle { display: inline-flex; }
  .js .mast-in { flex-wrap: nowrap; }
  .js .mast-nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - var(--menu-top, var(--mast-h))); padding: var(--s-5) var(--gut) var(--s-7); overflow-y: auto; background: var(--paper); align-items: stretch; justify-content: space-between; gap: var(--s-7); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s; }
  .js .mast.is-open .mast-nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .js .mast.is-open .mast-nav li, .js .mast.is-open .mast-actions { animation: rise .5s var(--ease) both; }
  .js .mast.is-open .mast-nav li:nth-child(2) { animation-delay: 45ms; }
  .js .mast.is-open .mast-nav li:nth-child(3) { animation-delay: 90ms; }
  .js .mast.is-open .mast-nav li:nth-child(4) { animation-delay: 135ms; }
  .js .mast.is-open .mast-actions { animation-delay: 200ms; }
  .js .mast-nav ul { flex-direction: column; flex-wrap: nowrap; gap: 0; border-bottom: 1px solid var(--rule); }
  .js .mast-nav ul a { display: block; padding-block: var(--s-4); border-top: 1px solid var(--rule); color: var(--ink); font: 300 2rem/1.15 var(--serif); letter-spacing: -.02em; }
  .js .mast-nav ul a::after { display: none; }
  .js .mast-nav ul a[aria-current="page"] { color: var(--ox); }
  .js .mast-actions { flex-direction: column; align-items: stretch; gap: var(--s-4); }
  .js .mast-sub { display: block; align-self: flex-start; padding-block: 13px; }
  .js .mast-actions .btn { min-height: 52px; }
  .menu-open { overflow: hidden; }  /* root only: also locking body detaches the sticky header from the viewport */
}

@media (max-width: 699px) {
  .doc-rows .is-held dt { margin-bottom: 10px; }
  .ba { grid-template-columns: minmax(0, 1fr); }
  .ba-seam { width: 100%; height: 2px; margin: 0; }
  .way { grid-column: 1 / -1; }
  .pv-compact { align-items: start; }
  .sectors dt, .sectors dd { grid-column: 1 / -1; }
  .doc-rows > div, .doc--hero .doc-rows > div { grid-template-columns: minmax(0, 1fr); row-gap: 2px; }
  .doc-rows dt { grid-row: auto; }
  .doc-rows dd.doc-m { grid-column: 1; margin-top: 4px; }
  .doc-head, .doc-title, .doc-rows > div, .doc-foot { padding-inline: var(--s-4); }
  .doc--hero .doc-opt { display: none; }
  .f2 { grid-template-columns: minmax(0, 1fr); }
  .kv > div, .rx-rows > li, .rx-dl > div { grid-template-columns: minmax(0, 1fr); }
  .st-cols { grid-template-columns: minmax(0, 1fr); }
  .foot-col, .foot-col:first-of-type, .foot-col:last-of-type { grid-column: 1 / -1; }
  .foot-in { row-gap: var(--s-6); }
  .foot-col ul { gap: 0; margin-top: var(--s-2); }
  .foot-col li { padding-block: 10px; }
  .foot-col li > a { margin-block: -10px; padding-block: 10px; }
  .foot-legal-links a { padding-block: 10px; margin-block: -10px; }
  .lib-row .pv-title, .lib-row .pv-desc { grid-column: 1 / -1; }
  .rv-stage dl > div { grid-template-columns: minmax(0, 1fr); }
  .photo--wide { aspect-ratio: 3 / 2; }
  .arch { padding: var(--s-4); }
  .row-art { grid-column: 1 / span 6; grid-row: 1; justify-self: start; width: 90px; height: 36px; margin: 0 0 var(--s-2); }
  .rows--link h3 { grid-column: 1 / span 11; grid-row: 2; }
  .rows--link .row-go { grid-row: 2; }
  .arch-d { display: none; }
  .arch-m { display: block; }
  .actions .btn, .sc-nav .btn, .bd-actions .btn, .close .btn { flex: 1 1 100%; }
  .brief-form { grid-template-columns: minmax(0, 1fr); }
  .prose { font-size: 1.1875rem; }
  .prose .fig { padding: var(--s-4); margin-inline: calc(var(--s-2) * -1); }
  .rx-dl dd span { display: block; margin-left: 0; white-space: normal; }
}

@media (pointer: coarse) {
  .wordmark, .hero-teaser a { min-height: 44px; }
  .foot-legal-links a { padding-block: 13px; margin-block: -13px; }
  .arch-key .sim-ctl, .hb { min-height: 44px; }
  .link-arrow { padding-block: 12px; }
  .link-arrow::before { bottom: 8px; }
}

/* ---------- 18. Motion preferences and print ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero h1 span, .hero-dek, .hero .actions, .hero-base, .hero-doc, .stage:not([hidden]), #review-list, .brief-doc > *, .rx-result, .js .mast.is-open .mast-nav li, .js .mast.is-open .mast-actions { animation-name: fade; animation-duration: .4s; }
  .flagged .mk-caret path, .flagged .mk-circle, .wp-stages .mk path { animation: none; }
  .link-arrow::before, .mast-nav ul a::after, .mast-sub::after, .lib-filters a::after { transition: none; }
  .rows--link > *:hover .row-go { transform: none; }
  .btn:active, .hb:active, .lib-more button:active, .ctx-clear:active, .sim-ctl:active, .rx-b:active { transform: none; }
  .hb:active { transform: translateX(-50%); }
  .link-arrow::after, .arrow::after, .row-go, .mast-toggle-box i, .js .mast-nav, details.bd-more summary::after { transition-duration: .01s; }
  .sx *, .sx .node.wait-ap .halo { transition: none !important; animation: none !important; }
}

@media print {
  .review, .mast, .foot, .sc-step, .bd-actions, .after, .skip, .close, .apply, .article-brief, .cont, .brief-form, .brief-block { display: none !important; }
  .sc-out { display: block !important; }
  body { background: #fff; font-size: 11pt; }
  .brief-doc { padding: 0; }
}

.close-body .close-cred { margin: var(--s-6) 0 0; padding-top: var(--s-5); border-top: 1px solid rgba(246, 239, 227, .2); max-width: 34em; font-size: var(--t-small); line-height: 1.5; color: rgba(246, 239, 227, .72); text-wrap: balance; }
/* Perspective art: one plate per article (assets/art/<slug>.svg, drawn with the article-art skill) */
.a-art { margin-block: var(--s-6) var(--s-8); }
.a-art img { display: block; width: 100%; height: auto; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--rule); }
.pv-art { display: block; max-width: 760px; margin-bottom: var(--s-5); border-radius: var(--r-card); overflow: hidden; background: var(--paper); border: 1px solid var(--rule); }
.pv-art img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

/* Homepage below the hero, in the same system as the hero: every section opens with a small ruled label row, a
   statement in two tones where there is one, and its content as equal cards (16px inset, 20px corners, no border). */
.sys .sec { padding-block: clamp(56px, 6vw, 96px); }
.sys .row-h .row-t { margin: 0; }
.st { font: 340 clamp(1.75rem, 1rem + 1.9vw, 2.75rem)/1.14 var(--serif); letter-spacing: -.02em; color: var(--ink); text-wrap: pretty; }
.st span { color: var(--ink-3); }
.st--sm { font-size: clamp(1.5rem, 1rem + 1.2vw, 2.125rem); }
.sys .idea-h.st { font-size: clamp(1.75rem, 1rem + 1.9vw, 2.75rem); font-weight: 340; line-height: 1.14; }
.sys .idea-b .lead { margin-top: 0; }
.sys .tiles { margin-top: 0; column-gap: var(--col-gap); }
.sys .tile a { height: 100%; padding: 16px 16px 26px; border-radius: var(--r-card); background: var(--stone); transition: background-color .3s var(--ease); }
.sys .tile figure { border-radius: var(--r-inner); aspect-ratio: 16 / 10; }
.sys .tile-b { padding: var(--s-5) 10px 0; }
@media (hover: hover) and (pointer: fine) { .sys .tile a:hover { background: #ebe5dc; } }
.sys .steps { margin-top: 0; }
.sys .steps li { padding: 24px 26px 28px; border: 0; border-radius: var(--r-card); background: var(--stone); }
.sys .pr { margin-top: 0; }
.sys .pr > div { padding: 24px 26px 28px; border: 0; border-radius: var(--r-card); background: rgba(233, 201, 139, .07); }
.on-ox .row-h { border-top-color: rgba(233, 201, 139, .3); }
.on-ox .row-h .row-t { color: var(--on-ox); }
.sys #see-it .see { align-items: start; }
.sys #see-it .see-card { margin: 0; }
.sys .close-in > .row-h { grid-column: 1 / -1; margin-bottom: 0; }
.sys .close h2 { font-size: clamp(1.75rem, 1rem + 1.9vw, 2.75rem); }
.sys .pv-band .split { align-items: start; }
.sys .pv-band .split-b .brief-block { border-top: 0; padding-top: 0; }

/* Below the hero, the same composition as the hero: each section opens centred (a small label, a statement, an
   optional caption link), and its content sits underneath in an even grid or as one centred object. Links are plain
   burgundy captions with an arrow, as in the hero; the only filled buttons are the calls to start a conversation. */
.sys .row-h { flex-direction: column; align-items: center; gap: 10px; text-align: center; border-top: 0; padding-top: 0; margin-bottom: var(--s-7); }
.sys .row-t { color: var(--ink-3); font-weight: 500; letter-spacing: .02em; }
.sys .on-ox .row-t { color: var(--on-ox-2); }
.sys .row-h .link-arrow { order: 3; }
.sys .st, .sys .idea-h.st { text-align: center; margin-inline: auto; max-width: 22em; text-wrap: balance; }
.sys .idea-grid, .sys .see, .sys .pv-band .split, .sys .close-in { display: block; }
.sys .idea-b { max-width: 44rem; margin: var(--s-5) auto 0; text-align: center; }
.sys .idea-b .lead { margin-inline: auto; max-width: 36em; text-wrap: balance; }
.sys .route { max-width: 40rem; margin: var(--s-7) auto 0; text-align: left; }
.sys #see-it .see-a { max-width: 44rem; margin-inline: auto; }
.sys #see-it .see-card { max-width: 46rem; margin: var(--s-7) auto 0; }
.sys .pv-band .split-a { max-width: 44rem; margin-inline: auto; }
.sys .pv-band .split-b { max-width: 34rem; margin: var(--s-6) auto 0; text-align: center; }
.sys .pv-band .brief-block > * { margin-inline: auto; }
.sys .pv-band form { justify-content: center; }
.sys .close-in { text-align: center; }
.sys .close-in > .row-h { margin-bottom: var(--s-5); }
.sys .close h2 { max-width: none; margin-inline: auto; }
.sys .close-body { max-width: 36rem; margin: var(--s-5) auto 0; }
.sys .close-body > p { margin-inline: auto; }
.sys .close-body .actions { justify-content: center; }
.sys .close-body .close-cred { margin: var(--s-6) auto 0; }
.sys .pr > div { background: rgba(255, 255, 255, .045); }
.sys .principles { background: #24090d; }
.sys .see-go { margin-top: var(--s-5); text-align: center; }
.sys .hero-latest .row-h { margin-bottom: var(--s-5); }

/* Homepage rhythm: one section gap (not two paddings stacked), and the same opening in every section:
   label (small caps), statement, caption link, then the content. */
.sys .sec { padding-block: clamp(44px, 4.6vw, 72px); }
.sys .sec:not(.sec--stone):not(.on-ox) + .sec:not(.sec--stone):not(.on-ox) { padding-top: clamp(20px, 2vw, 32px); }
.sys .row-h { gap: 0; margin-bottom: clamp(32px, 3.2vw, 48px); }
.sys .row-t { font: 600 .8125rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ox); }
.sys .on-ox .row-t { color: var(--on-ox-2); }
.sys .row-h .st { margin-top: 14px; }
.sys .row-h .link-arrow { margin-top: 18px; font-size: 1rem; }
.sys .st, .sys .idea-h.st { font-size: clamp(1.875rem, 1.1rem + 1.9vw, 2.875rem); line-height: 1.12; }
.sys .on-ox .st { color: var(--on-ox); } .sys .on-ox .st span { color: var(--on-ox-2); }
.sys .idea-grid > .idea-h { margin-top: 0; }
.sys .idea-b { margin-top: var(--s-5); }
.sys .idea-b .lead, .sys .close-body > p { font-size: clamp(1.0625rem, .95rem + .35vw, 1.25rem); line-height: 1.55; }
.sys .route { margin-top: var(--s-7); }
.sys .tile h3, .sys .steps h3, .sys .pr dt { font-size: clamp(1.25rem, 1.05rem + .5vw, 1.5rem); }
.sys .tile p, .sys .steps p, .sys .pr dd { font-size: 1rem; line-height: 1.55; }
.sys .see-a .st--sm { font-size: clamp(1.5rem, 1rem + 1.2vw, 2.125rem); }
.sys #see-it .row-h, .sys .close-in > .row-h, .sys .pv-band .row-h, .sys #idea .row-h { margin-bottom: 14px; }
.sys .hero-latest .row-h { margin-bottom: var(--s-5); }
.sys .hero-latest .row-t { color: var(--ink-3); }
.sys #idea .row-h { margin-bottom: 14px; }
.sys .see-go { margin-top: 18px; }
.sys #see-it .see-card { margin-top: clamp(32px, 3.2vw, 48px); }
.sys .close-body > p.close-cred { font-size: var(--t-small); line-height: 1.5; }

/* Homepage below the cards, after the desktop and phone audits: one opening for every section
   (label 14px caps → 20px → statement → 24px → link → 48px → content), and section paddings on one scale. */
.sys { --lbl-gap: 20px; --sec: clamp(52px, 6.8vw, 98px); }
.sys .row-t { font-size: .875rem; letter-spacing: .08em; }
.sys .row-h .st { margin-top: var(--lbl-gap); }
.sys #idea .row-h, .sys #see-it .row-h, .sys .pv-band .row-h, .sys .close-in > .row-h { margin-bottom: var(--lbl-gap); }
.sys .row-h { margin-bottom: var(--s-7); }
.sys .row-h .link-arrow, .sys .see-go { margin-top: var(--s-5); }
.sys .see-a .st--sm { font-size: clamp(1.875rem, 1.1rem + 1.9vw, 2.875rem); }
.sys #see-it .see-a { max-width: 52rem; }
.sys .close { padding-block: clamp(64px, 6.5vw, 96px); }
.sys .close h2 { font-size: clamp(1.875rem, 1.1rem + 1.9vw, 2.875rem); line-height: 1.12; font-weight: 340; letter-spacing: -.02em; }
.sys .brief-form { align-items: stretch; }
.sys .brief-form input { height: 56px; }
.sys .tile h3, .sys .steps h3, .sys .pr dt { font-weight: 400; letter-spacing: -.01em; }
.sys #idea { padding-top: clamp(64px, 6vw, 88px); }
@media (max-width: 760px) {
  .sys .sec { padding-block: var(--s-7); }
  .sys .sec:not(.sec--stone):not(.on-ox) + .sec:not(.sec--stone):not(.on-ox) { padding-top: var(--s-4); }
  .sys #idea { padding-top: var(--s-8); }
  .sys .close { padding-block: var(--s-8); }
  .sys .tiles { row-gap: var(--s-6); }
  .sys .route .btn { width: 100%; justify-self: stretch; }
  .sys .rx-dec .rx-btns { display: grid; gap: var(--s-2); }
  .sys .rx-dec .rx-b { width: 100%; justify-content: center; }
}

/* "Our view": concise, close to the cards above, and the router as one sentence across the column */
.sys .hero-latest { padding-bottom: 0; }
.sys #idea { padding-top: clamp(56px, 5.5vw, 80px); }
.sys .idea-b { max-width: 56rem; }
.sys .idea-b .lead { max-width: 30em; }
.sys .route { max-width: none; margin-top: var(--s-6); padding: 16px; border-radius: var(--r-card); border: 0; box-shadow: none; background: var(--stone); }
.sys .route-row { margin-top: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; gap: 12px; }
.sys .route label { text-align: left; }
.sys .route .btn { margin-top: 0; min-height: 3rem; align-self: end; }
@media (max-width: 760px) { .sys .route-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- The site-wide system for inner pages (shares the homepage's rules above) ---------- */
/* Page opening: centred, like the homepage hero. An optional small label (.row-t), the title, the dek. */
.sys .page-head { text-align: center; padding-block: clamp(48px, 5.5vw, 88px) clamp(32px, 3.5vw, 56px); border: 0; }
.sys .page-head .crumb { justify-content: center; }
.sys .page-head h1 { margin-inline: auto; max-width: 18em; font-size: clamp(2.25rem, 1rem + 2.9vw, 4rem); font-weight: 340; line-height: 1.06; letter-spacing: -.03em; text-wrap: balance; }
.sys .page-head .dek { margin: var(--s-5) auto 0; max-width: 34em; font-size: clamp(1.0625rem, .95rem + .35vw, 1.25rem); line-height: 1.55; color: var(--ink-2); text-wrap: balance; }
.sys .page-head .actions { justify-content: center; margin-top: var(--s-6); }
/* Centred content column for prose, rows and forms */
.sys .col { max-width: 46rem; margin-inline: auto; }
.sys .col--wide { max-width: 64rem; margin-inline: auto; }
/* Even grids of stone cards */
.sys .cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--col-gap); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sys .cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sys .cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sys .card { padding: 24px 26px 28px; border-radius: var(--r-card); background: var(--stone); color: var(--ink); text-decoration: none; }
.sys .sec--stone .card { background: var(--paper); }
.sys .on-ox .card { background: rgba(255, 255, 255, .045); color: var(--on-ox); }
.sys .card-k { display: block; margin-bottom: var(--s-3); font-size: var(--t-meta); color: var(--ox); letter-spacing: .02em; }
.sys .card h3, .pg-404 .card h2 { font: 400 clamp(1.25rem, 1.05rem + .5vw, 1.5rem)/1.2 var(--serif); letter-spacing: -.01em; }
.sys .card p { margin-top: var(--s-3); font-size: 1rem; line-height: 1.55; color: var(--ink-2); }
.sys .on-ox .card p { color: var(--on-ox-2); }
.sys .card .link-arrow { display: inline-flex; margin-top: var(--s-5); }
a.card { transition: background-color .3s var(--ease); }
@media (hover: hover) and (pointer: fine) { a.card:hover { background: #ebe5dc; } }
@media (max-width: 960px) { .sys .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .sys .cards, .sys .cards--2, .sys .cards--4 { grid-template-columns: minmax(0, 1fr); gap: 12px; } }
.sys .page-head-in { display: block; padding-bottom: 0; }
/* A section label that is itself the link (when a statement would only repeat what the cards show) */
.sys .row-link { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.sys .row-link::after { content: "\2192"; font-weight: 400; letter-spacing: 0; transition: translate .25s var(--ease); }
@media (hover: hover) and (pointer: fine) { .sys .row-link:hover { text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px; } .sys .row-link:hover::after { translate: 3px 0; } }
.sys a.card { display: block; height: 100%; }

/* ---------- Page-specific rules (each scoped to its page class on <main>) ---------- */
/* solutions */
/* solutions.html (What we do): scoped to .pg-solutions */
.pg-solutions .card { display: flex; flex-direction: column; }
.pg-solutions a.card .link-arrow { margin-top: auto; padding-top: var(--s-5); }
.pg-solutions .card .sol-ex { margin-top: auto; padding-top: var(--s-4); border-top: 1px solid var(--rule); font-size: .9375rem; color: var(--ink-3); }
.pg-solutions .card .sol-ex b { display: block; margin-bottom: 4px; font: 600 .75rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ox); }
.pg-solutions .sol-note { max-width: 36em; margin: var(--s-6) auto 0; text-align: center; font-size: .9375rem; line-height: 1.5; color: var(--ink-3); text-wrap: balance; }
.pg-solutions .row-h + .arch, .pg-solutions .col > .rx { margin-top: 0; }
.pg-solutions .arch { max-width: 64rem; margin-inline: auto; border: 0; border-radius: var(--r-card); background: var(--paper); box-shadow: none; }
/* Belongs in site.css for every .sys page: the legacy .page-head-in 12-col grid overrides the centred opening */
.pg-solutions .page-head-in { display: block; padding-bottom: 0; }
.pg-solutions li.card > p:not(.sol-ex) { margin-bottom: var(--s-5); }

/* industries */
/* industries.html (.pg-industries) and investment-firms.html (.pg-invest) */

/* Centred page opening: the legacy 12-column grid on .page-head-in still splits h1 and dek.
   (Sitewide, `.sys .page-head-in { display: block; }` would make this unnecessary.) */
.pg-industries .page-head-in, .pg-invest .page-head-in { display: block; }

/* Whole-card links inside a card grid fill their cell */
.pg-industries .cards > li > a.card { display: block; height: 100%; }

/* Industries: the capital-call excerpt as one centred object under the cards */
.pg-industries .ind-doc { max-width: 46rem; margin: clamp(40px, 4vw, 56px) auto 0; }
.pg-industries .ind-doc .doc { box-shadow: var(--e2), var(--sheet); }

/* Footnotes under a grid, centred */
.pg-industries .ind-note, .pg-invest .inv-note { margin: var(--s-6) auto 0; text-align: center; text-wrap: balance; }

/* Investment firms: centred in-page links under the opening */
.pg-invest .page-head .jump { justify-content: center; gap: 0 var(--s-6); max-width: 46rem; margin: var(--s-6) auto 0; border-top: 1px solid var(--hair); }
.pg-invest .page-head .jump a { color: var(--accent); }
.pg-invest .page-head:has(.jump) .page-head-in { padding-bottom: 0; }

/* Before/after: each workflow opens centred (title, then one line), then the two columns */
.pg-invest .ba-list { border-bottom: 0; }
.pg-invest .ba { padding-block: clamp(40px, 4.4vw, 64px); }
.pg-invest .ba:first-child { border-top: 0; padding-top: 0; }
.pg-invest .ba-head { display: block; text-align: center; }
.pg-invest .ba-head h3 { max-width: 20em; margin-inline: auto; font-size: clamp(1.5rem, 1rem + 1.2vw, 2.125rem); font-weight: 340; line-height: 1.14; text-wrap: balance; }
.pg-invest .ba-head p { max-width: 34em; margin: var(--s-3) auto 0; text-wrap: balance; }

/* approach-about */
/* ---------- approach-about: approach.html, about.html, standards.html ---------- */
/* Centred opening: the shared .page-head-in is still a 12-column grid, which pushes h1 and dek apart.
   (Lead: this rule probably belongs on .sys .page-head-in site-wide.) */
.pg-approach .page-head-in, .pg-about .page-head-in, .pg-standards .page-head-in { display: block; padding-bottom: 0; }

/* Approach: wide photo under the opening */
.pg-approach .page-head .photo--wide { margin-top: clamp(32px, 3.5vw, 56px); border-radius: var(--r-card); }
.pg-approach .page-head .photo--wide::after { border-radius: var(--r-card); }
.pg-approach .page-head:has(.photo) + .sec { padding-top: clamp(56px, 6vw, 96px); }

/* Approach: the five stages as equal stone panels, one centred stack */
.pg-approach .stages { list-style: none; margin: 0; padding: 0; border: 0; display: grid; gap: 12px; }
.pg-approach .stages > li { padding: 32px 36px; border: 0; border-radius: var(--r-card); background: var(--stone); align-items: start; }
.pg-approach .stages > li:first-child { border-top-color: transparent; }
.pg-approach .st-name h3 { font-size: clamp(1.5rem, 1.15rem + .9vw, 2rem); font-weight: 400; line-height: 1.12; letter-spacing: -.015em; }
.pg-approach .st-name p { margin-top: var(--s-2); font-size: 1rem; color: var(--ink-2); }
.pg-approach .st-name .rn { align-self: start; border-color: var(--ox); outline-color: color-mix(in srgb, var(--ox) 30%, transparent); color: var(--ox); }
.pg-approach .st-cols { padding-top: 4px; }
.pg-approach .st-cols dt { color: var(--ox); font-weight: 600; letter-spacing: .08em; }
.pg-approach .st-cols dd { font-size: 1rem; line-height: 1.55; }
.pg-approach .ex-link { justify-content: center; text-align: center; margin-top: var(--s-6); }
.pg-approach .ex-link .link-arrow { font-size: 1rem; }

/* Approach: self-check band, one centred opening with a short lead */
.pg-approach #self-check .row-h { margin-bottom: 0; }
.pg-approach .row-lead { order: 2; margin: var(--s-5) auto 0; max-width: 36em; font-size: clamp(1.0625rem, .95rem + .35vw, 1.25rem); line-height: 1.55; color: var(--ink-2); text-wrap: balance; }

@media (max-width: 760px) {
  .pg-approach .stages > li { padding: 24px 20px 26px; row-gap: var(--s-5); }
  .pg-approach .page-head .photo--wide { aspect-ratio: 3 / 2; }
}
.pg-approach .page-head:has(.photo) + .sec { padding-top: clamp(40px, 4.4vw, 72px); }

/* About: the background pair as two equal halves in a centred column; the photo is the founder-headshot slot */
.pg-about .pair { align-items: center; }
.pg-about .pair-photo { grid-column: 1 / span 6; aspect-ratio: 1 / 1; border-radius: var(--r-card); }
.pg-about .pair-photo::after { border-radius: var(--r-card); }
.pg-about .pair-text { grid-column: 7 / -1; }
.pg-about .pair-lead { font-size: clamp(1.0625rem, .95rem + .35vw, 1.25rem); line-height: 1.55; color: var(--ink); }
.pg-about .pair-rows { margin-top: var(--s-5); }
.pg-about .pair-rows dt { font-size: clamp(1.25rem, 1.05rem + .5vw, 1.5rem); font-weight: 400; }
.pg-about .pair-rows dd { max-width: none; font-size: 1rem; line-height: 1.55; }
@media (max-width: 899px) {
  .pg-about .pair-photo, .pg-about .pair-text { grid-column: 1 / -1; }
  .pg-about .pair-photo { aspect-ratio: 3 / 2; }
}

/* Standards: the rows in a centred column */
.pg-standards .rows dt { font-size: clamp(1.25rem, 1.05rem + .5vw, 1.5rem); font-weight: 400; }
.pg-standards .rows dd { font-size: 1rem; line-height: 1.55; }
.pg-standards .rows > * { padding-block: var(--s-5); }
/* About and standards: content starts close under the opening */
.pg-about .page-head + .sec, .pg-standards .page-head + .sec { padding-top: clamp(16px, 2vw, 32px); }

/* contact-selfcheck */
/* ---------- contact-selfcheck: contact.html (.pg-contact) and self-check.html (.pg-selfcheck) ---------- */
/* Page opening: the base .page-head-in is a 12-column grid (h1 left, dek right). Stack it so the
   .sys centring applies. If site.css gains a site-wide `.sys .page-head-in { display: block; }`, drop this. */
.pg-contact .page-head-in, .pg-selfcheck .page-head-in { display: block; padding-bottom: 0; }

/* Contact: the form as one flat stone panel in a centred column */
.pg-contact #contact .row-h { margin-bottom: var(--s-5); }
.pg-contact #form.form { padding: clamp(20px, 3vw, 40px); border: 0; border-radius: var(--r-card); background: var(--stone); box-shadow: none; }
.pg-contact #form .ctx { border: 0; border-radius: var(--r-inner); background: var(--paper); }
.pg-contact #form .btn { min-width: 9rem; }
.pg-contact #contact .next-alt { margin-top: var(--s-5); text-align: center; text-wrap: balance; }
.pg-contact #prototype .card-k { font: 500 .9375rem/1 var(--inscription); letter-spacing: .02em; }

/* Self-check: privacy note under the dek */
.pg-selfcheck .page-head .sc-private { margin: var(--s-4) auto 0; max-width: 34em; font-size: var(--t-small); line-height: 1.5; color: var(--ink-3); text-wrap: balance; }

/* Self-check: stage header centred above one centred column of questions (same DOM, no split) */
.pg-selfcheck .sc-step { padding-top: clamp(32px, 3.5vw, 56px); }
.pg-selfcheck .sc-step > .split { display: block; max-width: 46rem; margin-inline: auto; padding-top: 0; border-top: 0; }
.pg-selfcheck .sc-step > .split > .split-a { position: static; text-align: center; }
.pg-selfcheck .sc-side .rn { margin: 0 auto var(--s-4); }
.pg-selfcheck .sc-stage-h { font-size: clamp(1.875rem, 1.1rem + 1.9vw, 2.875rem); font-weight: 340; line-height: 1.12; letter-spacing: -.02em; }
.pg-selfcheck .sc-stage-k { margin-top: var(--s-3); }
.pg-selfcheck .wp-stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: var(--s-6) 0 0; border: 0; list-style: none; padding: 0; }
.pg-selfcheck .wp-stages li { justify-content: center; gap: 8px; padding: 10px 0 0; border-top: 2px solid var(--hair); text-align: center; }
.pg-selfcheck .wp-stages li[aria-current] { border-top-color: var(--ox); color: var(--ox); }
.pg-selfcheck .wp-stages li.is-done { border-top-color: color-mix(in srgb, var(--ox) 40%, var(--hair)); }
.pg-selfcheck .sc-step > .split > .split-b { margin-top: var(--s-6); padding: clamp(20px, 3vw, 40px); border: 0; border-radius: var(--r-card); background: var(--stone); box-shadow: none; }
.pg-selfcheck .sc-nav { justify-content: center; }
.pg-selfcheck .sc-nav .btn { min-width: 9rem; }

/* Self-check result: the Rigora Brief band below the closing band, centred like the homepage */
.pg-selfcheck .pv-band .st { font-size: clamp(1.5rem, 1rem + 1.2vw, 2.125rem); }

@media (max-width: 760px) {
  .pg-selfcheck .wp-stages li { font-size: var(--t-meta); line-height: 1.3; }
  .pg-selfcheck .sc-nav .btn { flex: 1 1 0; }
}

/* legal-perspectives */
/* ---------- legal-perspectives: privacy.html, terms.html (.pg-legal), perspectives/index.html (.pg-lib),
   perspectives/*.html articles (.pg-article) ---------- */

/* Shared: the page opening stacks as one centred block (the base .page-head-in is still a 12-col grid) */
.pg-legal .page-head-in, .pg-lib .page-head-in { display: block; padding-bottom: 0; }

/* Legal: one centred reading column, quiet section heads */
.pg-legal .legal-sec { padding-top: 0; padding-bottom: var(--sec); }
.pg-legal .legal-date { text-align: center; font: 600 .8125rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ox); }
.pg-legal .legal-body { margin-top: var(--s-6); padding-top: var(--s-6); border-top: 1px solid var(--rule); color: var(--ink-2); }
.pg-legal .legal-body > * + * { margin-top: var(--s-4); }
.pg-legal .legal-body > p:first-child { font-size: clamp(1.0625rem, .95rem + .35vw, 1.25rem); line-height: 1.55; color: var(--ink); }
.pg-legal .legal-body h2 { margin-top: var(--s-7); font: 400 clamp(1.25rem, 1.05rem + .5vw, 1.5rem)/1.2 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.pg-legal .legal-body h2 + * { margin-top: var(--s-3); }
.pg-legal .legal-body ul { display: grid; gap: var(--s-3); }
.pg-legal .legal-body li { position: relative; padding-left: 20px; }
.pg-legal .legal-body li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 1px; background: var(--fg-3); }
.pg-legal .legal-body strong { font-weight: 600; color: var(--ink); }
.pg-legal .legal-body a { color: var(--ox); }

/* Library: the feature (review) and the empty state (public) as one centred object */
.pg-lib .lib { padding-top: 0; padding-bottom: var(--sec); }
.pg-lib .lib-feature, .pg-lib .lib-empty { display: block; max-width: 46rem; margin-inline: auto; padding-top: 0; border-top: 0; text-align: center; }
.pg-lib .lib-feature .pv-lead { display: block; }
.pg-lib .lib-feature .pv-art { display: block; padding: 16px; border-radius: var(--r-card); background: var(--stone); }
.pg-lib .lib-feature .pv-art img { display: block; width: 100%; height: auto; border: 0; border-radius: var(--r-inner); background: var(--paper); }
.pg-lib .lib-feature .pv-meta { justify-content: center; margin-top: var(--s-6); }
.pg-lib .lib-feature .pv-title { margin: var(--s-4) auto 0; max-width: 18em; font-size: clamp(1.875rem, 1.1rem + 1.9vw, 2.875rem); font-weight: 340; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.pg-lib .lib-feature .pv-desc { margin: var(--s-4) auto 0; max-width: 36em; font-size: clamp(1.0625rem, .95rem + .35vw, 1.25rem); line-height: 1.55; text-wrap: pretty; }
.pg-lib .lib-empty { padding: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 56px); border-radius: var(--r-card); background: var(--stone); }
.pg-lib .lib-empty .pv-empty-t { margin-inline: auto; max-width: 16em; font: 340 clamp(1.625rem, 1.1rem + 1.4vw, 2.25rem)/1.15 var(--serif); letter-spacing: -.02em; }
.pg-lib .lib-empty .pv-empty-b { margin-top: var(--s-4); }
.pg-lib .lib-empty .pv-empty-b p { margin-inline: auto; max-width: 32em; color: var(--ink-2); }
.pg-lib .lib-empty .link-arrow { margin-top: var(--s-5); }
/* Later listings (generated once more pieces exist) stay inside the same centred column */
.pg-lib .lib-filters, .pg-lib .lib-latest, .pg-lib .lib-aside { max-width: 64rem; margin-inline: auto; }
.pg-lib .lib-filters { justify-content: center; }

/* Newsletter bands on the library and the article reuse the homepage .pv-band; the split-b width fits the form */
.pg-lib .pv-band .brief-form, .pg-article .pv-band .brief-form { margin-inline: auto; }

/* Article: centred head, one calm reading column */
.pg-article .crumb { text-align: center; }
.pg-article .a-head { display: block; padding-top: var(--s-5); padding-bottom: 0; text-align: center; }
.pg-article .a-head h1 { margin-inline: auto; max-width: 16em; font-size: clamp(2.25rem, 1rem + 2.9vw, 4rem); font-weight: 340; line-height: 1.06; letter-spacing: -.03em; text-wrap: balance; }
.pg-article .a-head .dek { margin: var(--s-5) auto 0; max-width: 34em; font-size: clamp(1.0625rem, .95rem + .35vw, 1.25rem); line-height: 1.55; text-wrap: balance; }
.pg-article .byline { justify-content: center; margin: var(--s-6) auto 0; padding-top: 0; border-top: 0; }
.pg-article .a-art { max-width: 64rem; margin: clamp(32px, 4vw, 56px) auto clamp(40px, 5vw, 72px); padding: 16px; border-radius: var(--r-card); background: var(--stone); }
.pg-article .a-art img { border: 0; border-radius: var(--r-inner); }
.pg-article .a-body { display: block; }
.pg-article .a-col { max-width: 42rem; }
.pg-article .brief-aside { position: static; padding: 24px 26px 26px; border-radius: var(--r-card); background: var(--stone); }
.pg-article .brief-aside .meta { font: 600 .8125rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ox); }
.pg-article .brief-aside ul { margin-top: var(--s-3); font-size: 1rem; line-height: 1.55; }
.pg-article .prose { max-width: none; margin-top: var(--s-7); }
.pg-article .prose h2 { margin-top: 1.9em; font: 400 clamp(1.375rem, 1.1rem + .6vw, 1.625rem)/1.2 var(--serif); letter-spacing: -.012em; }
.pg-article .prose h2 + * { margin-top: .55em; }
.pg-article .prose .fig { padding: 20px 22px 18px; border: 0; border-radius: var(--r-card); background: var(--stone); }
.pg-article .prose .fig-h { border-bottom-color: rgba(28, 21, 20, .1); }
.pg-article .author { margin-top: var(--s-8); padding: var(--s-5) 0 var(--sec); border-top: 1px solid var(--rule); }
.pg-article .author p { margin-top: var(--s-3); color: var(--ink-2); }
.pg-article .apply { margin-top: 0; }
/* Related reads (generated; empty until a second piece is published) sit in the same column */
.pg-article [data-build="related"] > * { max-width: 64rem; margin-inline: auto; }

@media (max-width: 760px) {
  .pg-article .a-art { padding: 10px; border-radius: var(--r-card); }
  .pg-lib .lib-feature .pv-art { padding: 10px; border-radius: var(--r-card); }
  .pg-article .brief-aside { padding: 20px 20px 22px; }
  .pg-article .prose .fig { padding: 16px; margin-inline: 0; }
}
.pg-lib .pv-band .split, .pg-article .pv-band .split { border-top: 0; padding-top: 0; }
/* figure.a-art also carries .wrap (generated), so it must not add a second gutter inside the page wrap */
.pg-article .a-art.wrap { width: auto; margin-inline: auto; }
@media (max-width: 760px) { .pg-article .byline { gap: 4px 16px; } }


/* Status messages scroll into view with room to spare, never flush against the screen edge. */
.form-status, #formStatus { scroll-margin: 24px 0; }

/* The medal letter is Cinzel upright: never inherit the italic of a sign-off line. */
.medal text { font-style: normal; font-synthesis: none; }

/* 404: the destination cards end on their link, aligned across the row. */
.sys.pg-404 a.card { display: flex; flex-direction: column; }
.pg-404 .page-head .row-t { margin-bottom: var(--lbl-gap); }
.pg-404 .card .link-arrow { margin-top: auto; padding-top: var(--s-5); }

/* Awwwards pass: designed hover and pressed states for every card family, in the house bronze. */
.hcard-t, .sys a.card h3, .pg-404 a.card h2, .sys .tile a h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; text-decoration-color: transparent; transition: text-decoration-color .3s var(--ease); }
.hcard, .sys a.card, .sys .tile a { transition: background-color .3s var(--ease), box-shadow .3s var(--ease), transform .08s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .hcard:hover .hcard-t, .sys a.card:hover h3, .pg-404 a.card:hover h2, .sys .tile a:hover h3 { text-decoration-color: var(--bronze); }
  .hcard:hover, .sys a.card:hover, .sys .tile a:hover { background: #ece6dd; }
  .sys a.card:hover .link-arrow::before { clip-path: inset(-2px 0); }
}
.hcard:active, .sys a.card:active, .sys .tile a:active { transform: scale(.99); }

/* Standalone links are at least 44px tall to tap; inline prose links keep the text rhythm. */
a.link-arrow, a.row-link { min-height: 44px; }
.sys .row-link { display: inline-flex; align-items: center; }
.p-go { min-height: 44px; }

/* Home steps use the same I-IV numerals as Approach and Contact. */
.steps li::before { content: counter(st, upper-roman); font: 500 1.5rem/1 var(--inscription); letter-spacing: .04em; }

@media (prefers-reduced-motion: reduce) { .hcard, .sys a.card, .sys .tile a, .hcard-t, .sys a.card h3, .sys .tile a h3 { transition: none; } .hcard:active, .sys a.card:active, .sys .tile a:active { transform: none; } }
.jump a { display: inline-flex; align-items: center; min-height: 44px; }
.pg-industries .ind-more { justify-content: center; text-align: center; align-items: center; }

/* Hero, refined (consensus of the impeccable, hallmark, taste and frontend-design reviews). */
.hero h1 { font-size: clamp(2.25rem, .4rem + 4.1vw, 4.5rem); font-weight: 360; font-variation-settings: "opsz" 72; line-height: 1.04; letter-spacing: -.022em; }
.hero .hero-dek { margin-top: 20px; font-size: clamp(1.0625rem, .95rem + .3vw, 1.1875rem); line-height: 1.55; max-width: 31em; }
@media (min-width: 1000px) { .hero .hero-dek { white-space: normal; max-width: 31em; } }
.hero .actions { margin-top: 32px; }
.hero .hero-in { padding-block: clamp(40px, 6vh, 64px) 28px; }
/* The band: drawn at its real pixel size by home.js; no CSS mask, the bottom fades inside the drawing. */
.hero-band { height: clamp(240px, calc(100svh - var(--mast-h) - 560px), 460px); -webkit-mask-image: none; mask-image: none; }
.hero-band .persp { display: block; width: 100%; height: 100%; }
.p-rays, .p-rows { fill: none; stroke: var(--ox); stroke-width: .7; vector-effect: non-scaling-stroke; }
.p-rays { stroke-opacity: .12; }
.p-rows { stroke-opacity: .14; }
.p-hz { opacity: 1; }
.p-veil { opacity: 1; transition: opacity 1.4s cubic-bezier(.16, 1, .3, 1) .25s; }
.hero-band.is-in .p-veil { opacity: 0; }
.js .p-go { opacity: 0; transition: opacity .4s var(--ease) .7s; }
.js .hero-band.is-in .p-go { opacity: 1; }
/* One arrow across the hero: the caption link and the cards use the same drawn arrow as every .link-arrow. */
.p-go::after, .hcard-go::after { content: ""; flex: none; width: 1em; height: 1em; border: 0; transform: none; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; transition: translate .2s var(--ease); }
@media (hover: hover) and (pointer: fine) { .p-go:hover::after, .hcard:hover .hcard-go::after { translate: 3px 0; } }
.hero-latest { padding-top: 16px; }
.hcards { margin-top: 0; }
@media (max-width: 899px) { .hero-band { height: 300px; } }
@media (prefers-reduced-motion: reduce) { .p-veil, .p-go { transition: none; } }

/* Site-wide refinement, from the impeccable, hallmark, taste and frontend-design reviews.
   1. Section labels: sentence case, untracked, quieter. A tracked-caps eyebrow over every heading reads as a template. */
.sys .row-t { font: 500 .9375rem/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ox); }
.on-ox .sys .row-t, .sys .on-ox .row-t, .on-ox .row-h .row-t { color: var(--gold); }
/* 2. One arrow: the drawn arrow used by .link-arrow, everywhere a link points onward. */
.sys .row-link::after { content: ""; width: 1em; height: 1em; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; }
.sys .row-link { gap: 10px; }
/* 3. Display type: the serif's display optical size, tighter tracking, weight matched to the hero. */
h1, h2, .st, .hcard-t, .sys .card h3 { font-optical-sizing: auto; }
.st, .page-head h1, .close h2 { font-weight: 360; letter-spacing: -.022em; }
.page-head h1 { line-height: 1.04; }
.st { line-height: 1.12; text-wrap: balance; }
p, dd, li { text-wrap: pretty; }
/* 4. Photographs: one warm monochrome treatment, so free photos read as art-directed rather than stock. */
.photo img, .sys .tile figure img { filter: grayscale(1) sepia(.18) contrast(1.06) brightness(1.03); }
.photo::before, .sys .tile figure::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; background: #5b1f25; mix-blend-mode: soft-light; opacity: .22; pointer-events: none; }
.sys .tile figure { position: relative; overflow: hidden; }
/* Hero cards: every card now carries a 3:1 plate, so lead (funnel) cards match article cards exactly. */
.hcard--lead:has(.hcard-art) { grid-template-rows: auto auto auto 1fr auto; padding-top: 14px; }
.hcard--lead:has(.hcard-art) .hcard-t { font-size: 1.25rem; line-height: 1.22; }
.hcard { gap: 6px; padding-bottom: 16px; }
.hcard-art { margin-bottom: 8px; }
/* Keep the three cards on the first screen at 1440x900 now that they carry plates: a 4:1 window onto each 3:1 plate
   (plates keep their idea inside the middle 75% of the height), and a slightly shorter band and top padding. */
.hcard-art { aspect-ratio: 4 / 1; }
.hero-band { height: clamp(240px, calc(100svh - var(--mast-h) - 590px), 460px); }
.hero .hero-in { padding-top: clamp(36px, 4.5vh, 64px); }
@media (max-width: 899px) { .hero-band { height: 300px; } .hcard-art { aspect-ratio: 3 / 1; } }

/* About: the firm, then People (one founder: portrait, name, title on its own line, a short third-person bio, one CTA). */
.pg-about .firm-rows { margin-inline: auto; max-width: 52rem; }
.pg-about .firm-rows a { color: var(--accent); text-underline-offset: .2em; white-space: nowrap; }
.pg-about .person { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; max-width: 60rem; margin: var(--s-6) auto 0; }
.pg-about .person-photo { position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: var(--r-card); overflow: hidden; background: var(--stone); }
.pg-about .person-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pg-about .person-photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(28, 21, 20, .08); pointer-events: none; }
.pg-about .person-name { font: 360 clamp(1.75rem, 1.2rem + 1.2vw, 2.25rem)/1.1 var(--serif); letter-spacing: -.02em; }
.pg-about .person-role { margin-top: 6px; font: 500 .9375rem/1.3 var(--sans); color: var(--ox); }
.pg-about .person-bio { margin-top: var(--s-5); max-width: 36em; }
.pg-about .person-bio p { color: var(--ink-2); font-size: 1.0625rem; line-height: 1.6; }
.pg-about .person-bio p + p { margin-top: var(--s-4); }
.pg-about .person .link-arrow { margin-top: var(--s-5); }
@media (max-width: 760px) {
  .pg-about .person { grid-template-columns: minmax(0, 1fr); }
  .pg-about .person-photo { max-width: 280px; }
}

/* Site-walk fixes (1 Dec 2026) */
select:focus-visible, textarea:focus-visible { border-color: var(--ox); }
#ctx-topic { min-height: 0; resize: none; field-sizing: content; }
.jump a:hover, .pg-invest .page-head .jump a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
@media (hover: hover) and (pointer: fine) { .mast .wordmark { transition: opacity .2s var(--ease); } .mast .wordmark:hover { opacity: .78; } }
.route-msg { margin-top: var(--s-3); font-size: var(--t-small); color: var(--ox); }
.sim-bar { flex-wrap: wrap; row-gap: var(--s-2); }
.sim-bar > :first-child { flex: 1 1 12em; }
/* The panel starts inside the bar's 1px bottom border, so it needs that pixel back to reach the screen's edge. */
@media (max-width: 899px) { .js .mast-nav { height: calc(100dvh - var(--menu-top, var(--mast-h)) + 1px); } }
@media (max-width: 899px) { .js .mast.is-open .mast-nav li:nth-child(5) { animation-delay: 180ms; } }
/* Legal pages: a sub-heading sits below the section headings. */
.pg-legal h3 { margin-top: var(--s-6); font: 600 1rem/1.4 var(--sans); letter-spacing: 0; color: var(--ink); }
.pg-legal h3 + p { margin-top: var(--s-2); }
