/* Develp website mockup: components (from the Develp design system's bundle.css) and the site's own layout.
   B4 Drawing, drafting film. Layout: a page of at most 1320px with 24px padding on the dotted film; inside it one
   1px frame holding the header, ruled sections and the footer with its title block. Emphasis is line weight and
   hatch, never colour. */

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; color: var(--ink); font-family: var(--font-sans); font-stretch: 104%; line-height: 1.3;
  font-size: 17px; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
/* selection is a light tint, never black bars over the words (the owner, 2026-10-19) */
::selection { background: rgba(14, 14, 14, .16); color: var(--ink); }
.sec--night ::selection, .dv-night ::selection, .is-night ::selection { background: rgba(235, 237, 237, .3); color: var(--white); }
:focus-visible { outline: var(--line-heavy) solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 24px; top: -60px; z-index: 200; background: var(--ink); color: var(--ground); padding: 10px 14px; font-size: 15px; text-decoration: none; }
.skip:focus { top: 8px; }

/* type classes need width, capitals and colour on top of tokens.css */
.title-slide, .slide-title, .display, .h1 { font-stretch: 102%; }
.h2, .standfirst, .body, .small, .button { font-stretch: 104%; }
.label { text-transform: uppercase; color: var(--graphite); }
.note { color: var(--graphite); }
.standfirst { color: var(--ink-2); }
.dv-ink, .label.dv-ink { color: var(--ink); }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; }
p { margin: 0; }
.hero-title { font-size: clamp(46px, 6.4vw, 92px); line-height: 1.02; font-weight: 330; font-stretch: 102%; letter-spacing: -0.03em; text-wrap: balance; }
.page-title { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.06; font-weight: 330; font-stretch: 102%; letter-spacing: -0.025em; text-wrap: balance; }
.sec-title { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.1; font-weight: 330; font-stretch: 102%; letter-spacing: -0.015em; text-wrap: balance; }
.sec-title--xl { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.06; letter-spacing: -0.025em; }
.lede { font-size: 19px; line-height: 30px; color: var(--ink-2); max-width: 36em; }
.prose-sm { font-size: 15px; line-height: 23px; color: var(--ink-2); }
.measure { max-width: 34em; }
.mono { font-family: var(--font-mono); }
.upper { text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- surfaces ---------- */
.dv-film { --dv-surface: var(--ground); background-color: var(--ground); background-image: radial-gradient(var(--grid) 1px, transparent 1.3px); background-size: var(--grid-pitch) var(--grid-pitch); background-position: 8px 8px; color: var(--ink); }
.dv-night { --dv-surface: var(--night); background-color: var(--night); background-image: radial-gradient(var(--night-grid) 1px, transparent 1.3px); background-size: var(--grid-pitch) var(--grid-pitch); color: var(--white); }
.dv-panel { --dv-surface: var(--paper); background: var(--paper); border: var(--line-thin) solid var(--ink); padding: 20px 18px; display: flex; flex-direction: column; gap: 14px; }
.dv-mask { background-color: var(--dv-surface, var(--ground)); box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: 0 4px; margin: 0 -4px; }

/* ---------- the page and its frame ---------- */
.page { max-width: 1320px; margin: 0 auto; padding: 24px; position: relative; }
.zones { position: absolute; left: 24px; right: 24px; top: 0; height: 24px; display: grid; grid-template-columns: repeat(4, 1fr); pointer-events: none; }
.zones span { text-align: center; font-family: var(--font-mono); font-size: 10px; line-height: 24px; color: var(--graphite); }
.frame { position: relative; border: var(--line-thin) solid var(--ink); background: rgba(235, 237, 237, 0.6); }
.frame--article { background: rgba(235, 237, 237, 0.7); }
@media (max-width: 700px) { .page { padding: 12px; } .zones { display: none; } }

/* ---------- header ---------- */
.dv-header {
  position: sticky; top: 0; z-index: 60; display: flex; align-items: stretch; justify-content: space-between;
  border-bottom: var(--line-thin) solid var(--ink); background: var(--ground); view-transition-name: site-header;
}
.dv-header.is-stuck { box-shadow: 0 -1px 0 var(--ink); }
.dv-header__mark { display: flex; align-items: center; padding: 18px 24px; border-right: var(--line-thin) solid var(--ink); text-decoration: none; }
.dv-header__mark img { height: 26px; width: auto; display: block; }
.dv-header nav { display: flex; align-items: stretch; margin-left: auto; }
.dv-header__link { position: relative; display: flex; align-items: center; padding: 0 22px; border-left: var(--line-thin) solid var(--rule); color: var(--ink); text-decoration: none; font-size: 15px; }
.dv-header__link:hover { color: var(--ink-2); }
.dv-header__link[aria-current="page"]::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: -1px; height: var(--line-heavy); background: var(--ink); }
.dv-header__cta { display: flex; align-items: center; padding: 18px 24px; border-left: var(--line-thin) solid var(--ink); background: var(--ink); color: var(--ground); text-decoration: none; font-size: 15px; font-weight: 520; transition: background .2s var(--ease-fade); }
.dv-header__cta:hover { background: var(--ink-2); }
.dv-header__menu { display: none; align-items: center; gap: 10px; padding: 18px 24px; border: 0; border-left: var(--line-thin) solid var(--ink); background: transparent; color: var(--ink); font-size: 15px; cursor: pointer; }
.dv-header__menu i { display: grid; gap: 4px; width: 18px; }
.dv-header__menu i::before, .dv-header__menu i::after { content: ""; height: 1px; background: var(--ink); }
@media (max-width: 1080px) { .dv-header__link { padding: 0 14px; } .dv-header__link[aria-current="page"]::after { left: 14px; right: 14px; } }
@media (max-width: 860px) { .dv-header__link, .dv-header__cta { display: none; } .dv-header__menu { display: flex; } }
@media (max-width: 420px) { .dv-header__mark { padding: 16px 16px; } .dv-header__mark img { height: 22px; } .dv-header__menu { padding: 16px 18px; } }

/* the menu sheet (small screens) */
.menu-sheet { position: fixed; inset: 0; z-index: 120; display: none; padding: 12px; padding-top: calc(12px + env(safe-area-inset-top, 0px)); }
.menu-sheet.is-open { display: block; animation: sheet-in .38s var(--ease-out) both; }
.menu-sheet__frame { height: 100%; border: var(--line-thin) solid var(--ink); display: flex; flex-direction: column; background: rgba(235, 237, 237, 0.75); }
.menu-sheet__top { display: flex; justify-content: space-between; border-bottom: var(--line-thin) solid var(--ink); }
.menu-sheet__top .dv-header__mark { border-right: var(--line-thin) solid var(--ink); }
.menu-sheet__close { border: 0; border-left: var(--line-thin) solid var(--ink); background: transparent; padding: 0 22px; font-size: 15px; cursor: pointer; }
.menu-sheet nav { display: flex; flex-direction: column; overflow: auto; }
.menu-sheet nav a { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 10px; padding: 18px 20px; border-bottom: var(--line-thin) solid var(--rule); text-decoration: none; font-size: 30px; line-height: 34px; font-weight: 330; font-stretch: 102%; }
.menu-sheet nav a .label { align-self: center; }
.menu-sheet nav a[aria-current="page"] { box-shadow: inset 0 0 0 var(--line-heavy) var(--ink); }
.menu-sheet__foot { margin-top: auto; padding: 20px; display: grid; gap: 14px; border-top: var(--line-thin) solid var(--ink); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* reading progress: a dimension line under the header (articles) */
.progress { position: absolute; left: 0; right: 0; top: 100%; height: 20px; background: var(--ground); border-bottom: var(--line-thin) solid var(--rule); pointer-events: none; }
.progress__dim { position: absolute; left: 0; top: 0; height: 20px; width: var(--p, 0%); }
.progress__dim::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; border-top: var(--line-thin) solid var(--graphite); }
.progress__dim::after { content: ""; position: absolute; right: 0; top: 4px; height: 11px; border-left: var(--line-thin) solid var(--graphite); }
.progress__lab { position: absolute; right: 12px; top: 3px; font-family: var(--font-mono); font-size: 10px; line-height: 14px; letter-spacing: .08em; color: var(--graphite); background: var(--ground); padding: 0 4px; white-space: nowrap; }

/* ---------- sections ---------- */
.sec { position: relative; border-top: var(--line-thin) solid var(--ink); }
.sec:first-of-type { border-top: 0; }
.sec[data-zone]::before {
  content: attr(data-zone); position: absolute; left: -17px; top: 76px; font-family: var(--font-mono); font-size: 10px;
  color: var(--graphite); line-height: 1;
}
@media (max-width: 700px) { .sec[data-zone]::before { display: none; } }
.sec--band { --dv-surface: var(--ground-2); background: var(--ground-2); }
.sec--paper { --dv-surface: var(--paper); background: var(--paper); }
.sec--night { --dv-surface: var(--night); color: var(--ground); }
.wrap { padding: 72px 48px; }
.wrap--tight { padding-block: 48px; }
.wrap--hero { padding: 88px 48px 64px; }
@media (max-width: 900px) { .wrap { padding: 56px 28px; } .wrap--hero { padding: 56px 28px 44px; } }
@media (max-width: 520px) { .wrap { padding: 44px 18px; } .wrap--hero { padding: 40px 18px 32px; } }
.sec-head { display: grid; gap: 16px; margin-bottom: 44px; max-width: 54rem; }
.sec-head--row { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px 40px; }
.sec-head--row > :last-child:not(:first-child) { max-width: 30em; }
/* the heading never gets squeezed by its note: below 1100 px they stack */
@media (max-width: 1100px) { .sec-head--row { grid-template-columns: minmax(0, 1fr); } }
.kicker { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }

/* grids */
.cols { display: grid; gap: 24px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.split--top { align-items: start; }
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split--wide { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.stack { display: grid; gap: 16px; align-content: start; }
.stack--lg { gap: 28px; }
.stack--xl { gap: 40px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
@media (max-width: 1100px) { .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .split, .split--even, .split--wide { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .cols-3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) { .cols-2, .cols-4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- buttons and links ---------- */
.dv-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 19px; border: var(--line-thin) solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font-family: var(--font-sans); font-stretch: 104%; font-size: 15px; line-height: 1.3; font-weight: 400; text-decoration: none; cursor: pointer; transition: background .18s var(--ease-fade), color .18s var(--ease-fade); white-space: nowrap; }
.dv-button:hover { background: var(--paper); }
.dv-button--primary { padding: 13px 20px; border: 0; background: var(--ink); color: var(--dv-surface, var(--ground)); font-weight: 520; }
.dv-button--primary:hover { background: var(--ink-2); }
.dv-button--large { padding: 15px 22px; font-size: 16px; }
.dv-button[disabled] { opacity: .45; cursor: not-allowed; }
.dv-night .dv-button, .sec--night .dv-button { border-color: var(--ground); color: var(--ground); }
.dv-night .dv-button:hover, .sec--night .dv-button:hover { background: #1b1b1b; }
.dv-night .dv-button--primary, .sec--night .dv-button--primary { background: var(--ground); color: var(--night); }
.dv-night .dv-button--primary:hover, .sec--night .dv-button--primary:hover { background: var(--white); }
.dv-link { color: var(--link); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.dv-link:hover { color: var(--ink-2); }
.dv-arrowlink { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 15px; }
.dv-arrowlink svg { display: block; overflow: visible; }
.dv-arrowlink path { stroke: currentColor; stroke-width: 1.2; fill: none; transition: transform .3s var(--ease-out); }
.dv-arrowlink:hover path { transform: translateX(6px); }
.dv-night .dv-arrowlink, .sec--night .dv-arrowlink { color: var(--ground); }

/* ---------- emphasis, series ---------- */
.dv-highlight { box-shadow: inset 0 0 0 var(--line-thin) var(--ink); padding: 3px 6px; }
.dv-stress { font-weight: 570; }
.dv-one { border: var(--line-heavy) solid var(--ink); background-color: var(--paper); background-image: var(--hatch-25); }
.dv-series-1 { background: var(--ink); }
.dv-series-2 { background-color: var(--paper); background-image: var(--hatch-25); box-shadow: inset 0 0 0 var(--line-thin) var(--hatch); }
.dv-series-3 { background-color: var(--paper); background-image: var(--cross-hatch-50); box-shadow: inset 0 0 0 var(--line-thin) var(--hatch); }
.dv-series-4 { background: var(--paper); box-shadow: inset 0 0 0 var(--line-thin) var(--ink); }

/* ---------- drawing parts ---------- */
.dv-callout { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border: var(--line-thin) solid var(--ink); border-radius: var(--radius-full); background: var(--dv-surface, var(--paper)); color: var(--ink); font-family: var(--font-mono); font-size: 11px; line-height: 1; flex: none; vertical-align: middle; }
.dv-callout--text { width: 22px; height: 22px; font-size: 11px; margin: 0 2px; position: relative; top: -2px; cursor: help; transition: background .2s, color .2s; }
.dv-callout--text:hover, .dv-callout--text.is-on { background: var(--ink); color: var(--ground); }
.dv-leader { display: block; height: 0; border-top: var(--line-thin) solid var(--ink); flex: none; }
.dv-dim { position: relative; height: 40px; }
.dv-dim__line { position: absolute; left: 0; right: 0; top: 20px; border-top: var(--line-thin) solid var(--graphite); }
.dv-dim__tick { position: absolute; left: 0; top: 12px; height: 16px; border-left: var(--line-thin) solid var(--graphite); }
.dv-dim__tick--end { left: 100%; }
.dv-dim__label { position: absolute; left: 50%; top: 3px; transform: translateX(-50%); font-family: var(--font-mono); font-size: 11px; line-height: 1.3; color: var(--graphite); text-transform: uppercase; white-space: nowrap; letter-spacing: .04em; }
.dv-dim--under .dv-dim__label { top: 24px; }
.key { display: grid; grid-template-columns: 26px 1fr; gap: 10px 12px; align-items: start; }
.key .dv-callout { margin-top: 1px; }

/* ---------- dated figures and stats ---------- */
.dv-figure { display: grid; grid-template-columns: 1fr 1fr 1fr; border-top: var(--line-thin) solid var(--ink); border-left: var(--line-thin) solid var(--ink); background: var(--paper); }
.dv-figure > * { border-right: var(--line-thin) solid var(--ink); border-bottom: var(--line-thin) solid var(--ink); padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dv-figure__head { grid-column: span 3; flex-direction: row !important; justify-content: space-between; align-items: flex-end; gap: 12px; }
.dv-figure__head .label { padding-bottom: 4px; }
.dv-figure__title { grid-column: span 3; }
.dv-figure__title > :last-child { font-size: 17px; }
.dv-figure__value { grid-column: span 3; padding: 10px 12px 14px !important; }
.dv-figure--row { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
.dv-figure--row .dv-figure__lead > :last-child { font-family: var(--font-mono); font-size: 20px; line-height: 26px; }
.dv-check { font-family: var(--font-mono); white-space: nowrap; }
.dv-check u { text-decoration: underline; text-underline-offset: 2px; }
.dv-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--line-thin) solid var(--ink); }
.dv-stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dv-stats > div { display: flex; flex-direction: column; gap: 4px; padding: 16px 24px; border-right: var(--line-thin) solid var(--rule); min-width: 0; }
.dv-stats > div:last-child { border-right: 0; }
@media (max-width: 900px) {
  .dv-stats, .dv-stats--4 { grid-template-columns: 1fr; }
  .dv-stats > div { border-right: 0; border-top: var(--line-thin) solid var(--rule); }
  .dv-stats > div:first-child { border-top: 0; }
  .dv-figure--row { grid-template-columns: 1fr 1fr; }
}

/* parts list */
.dv-parts { border-top: var(--line-thin) solid var(--ink); border-left: var(--line-thin) solid var(--ink); background: var(--paper); }
.dv-parts__row { display: grid; font-size: 14px; line-height: 18px; transition: box-shadow .2s; }
.dv-parts__row > * { padding: 9px 10px; border-right: var(--line-thin) solid var(--ink); border-bottom: var(--line-thin) solid var(--ink); min-width: 0; overflow-wrap: break-word; }
.dv-parts__row.is-selected, .dv-parts__row.is-hl { box-shadow: inset 0 0 0 var(--line-heavy) var(--ink); }
.dv-parts--hover .dv-parts__row:not(.dv-parts__row--head):hover { box-shadow: inset 0 0 0 var(--line-heavy) var(--ink); }
.dv-parts--compact .dv-parts__row { font-size: 13px; }
.dv-parts .label { white-space: nowrap; }
.dv-parts--compact .dv-parts__row > * { padding: 7px 9px; }

/* cards */
.dv-card { border: var(--line-thin) solid var(--ink); background: var(--white); display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: box-shadow .2s var(--ease-fade); }
.dv-card.is-selected { box-shadow: inset 0 0 0 1px var(--ink); }
a.dv-card:hover, .dv-card--hover:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.dv-card__body { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; min-height: 180px; flex: 1; }
.dv-card__title { font-size: 30px; line-height: 34px; font-weight: 330; font-stretch: 102%; letter-spacing: -0.01em; }
.dv-card__text { font-size: 15px; line-height: 23px; color: var(--ink-2); }
.dv-card__foot { display: grid; grid-template-columns: 1fr 1fr; border-top: var(--line-thin) solid var(--ink); }
.dv-card__foot > span { padding: 10px 20px; font-family: var(--font-mono); font-size: 12px; }
.dv-card__foot > span:first-child { border-right: var(--line-thin) solid var(--ink); }
.dv-kicker { display: flex; flex-direction: column; gap: 6px; }
.dv-kicker__head { font-size: 28px; line-height: 32px; font-weight: 330; font-stretch: 102%; letter-spacing: -0.015em; }

/* title block */
.dv-titleblock { display: grid; grid-template-columns: 200px 1fr 1fr; grid-template-rows: 1fr 1fr; min-height: 96px; border-top: var(--line-thin) solid var(--ink); border-left: var(--line-thin) solid var(--ink); background: var(--ground); }
.dv-titleblock__mark { grid-row: span 2; border-right: var(--line-thin) solid var(--ink); display: flex; align-items: center; justify-content: center; padding: 10px; }
.dv-titleblock__mark img { height: 22px; width: auto; }
.dv-titleblock__cell { padding: 8px 12px; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; }
.dv-titleblock__cell--title { grid-column: span 2; border-bottom: var(--line-thin) solid var(--ink); }
.dv-titleblock__cell--title > :last-child { font-size: 15px; line-height: 18px; }
.dv-titleblock__cell--rule { border-right: var(--line-thin) solid var(--ink); }

/* ---------- footer ---------- */
.site-foot { border-top: var(--line-thin) solid var(--ink); }
.foot-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.foot-grid > div { padding: 22px 24px 26px; border-right: var(--line-thin) solid var(--rule); display: grid; gap: 12px; align-content: start; }
.foot-grid > div:last-child { border-right: 0; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.foot-grid a { text-decoration: none; color: var(--ink-2); }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.foot-base { display: grid; grid-template-columns: minmax(0, 1fr) 528px; border-top: var(--line-thin) solid var(--ink); }
.foot-tools { padding: 18px 24px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.foot-tools .row { gap: 10px 18px; }
.toggle { display: inline-flex; align-items: center; gap: 10px; border: var(--line-thin) solid var(--ink); background: transparent; padding: 8px 12px; cursor: pointer; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.toggle i { width: 26px; height: 14px; border: var(--line-thin) solid var(--ink); position: relative; }
.toggle i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 8px; height: 8px; background: var(--ink); transition: transform .25s var(--ease-out); }
.toggle[aria-pressed="true"] i::after { transform: translateX(12px); }
.foot-base .dv-titleblock { border-bottom: 0; }
.dv-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 18px 24px; border-top: var(--line-thin) solid var(--ink); }
.dv-footer img { height: 20px; width: auto; }
.dv-footer > a { font-family: var(--font-mono); font-size: 13px; color: var(--ink); text-decoration: none; }
.dv-footer > :last-child { justify-self: end; font-size: 13px; color: var(--ink-2); }
@media (max-width: 1000px) {
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-grid > div { border-bottom: var(--line-thin) solid var(--rule); }
  .foot-base { grid-template-columns: minmax(0, 1fr); }
  .foot-base .dv-titleblock { border-left: 0; }
}
@media (max-width: 640px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dv-titleblock { grid-template-columns: 120px 1fr 1fr; }
  .dv-footer { display: flex; flex-wrap: wrap; justify-content: space-between; }
}

/* ---------- motion helpers: lines draw, bars grow, settled frame when motion is reduced ---------- */
/* transitions sit on the drawn state only: when the js class arrives after the first paint, nothing slides back */
html.js [data-draw] .ln { stroke-dasharray: var(--len, 2000); stroke-dashoffset: var(--len, 2000); }
html.js [data-draw].is-drawn .ln { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease-out) var(--d, 0s); }
html.js [data-draw] .ln.dash { stroke-dasharray: 4 4; stroke-dashoffset: 0; opacity: 0; }
html.js [data-draw] .ln.dash-l { stroke-dasharray: 8 6; stroke-dashoffset: 0; opacity: 0; }
html.js [data-draw].is-drawn .ln.dash, html.js [data-draw].is-drawn .ln.dash-l { opacity: 1; transition: opacity .9s var(--ease-fade) var(--d, 0s); }
html.js [data-draw] .grow { transform: scaleX(0); transform-origin: left center; transform-box: fill-box; }
html.js [data-draw] .grow-y { transform: scaleY(0); transform-origin: center bottom; transform-box: fill-box; }
html.js [data-draw].is-drawn .grow { transform: none; transition: transform 1.2s var(--ease-out) var(--d, 0s); }
html.js [data-draw].is-drawn .grow-y { transform: none; transition: transform 1.1s var(--ease-out) var(--d, 0s); }
html.js [data-draw] .fade { opacity: 0; }
html.js [data-draw].is-drawn .fade { opacity: 1; transition: opacity .7s var(--ease-fade) var(--d, 0s); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-draw] .ln, html.js [data-draw] .grow, html.js [data-draw] .grow-y, html.js [data-draw] .fade { transition: none !important; stroke-dashoffset: 0 !important; transform: none !important; opacity: 1 !important; }
  .dv-motion, .dv-motion * { animation: none !important; transition: none !important; }
}

/* svg drawing styles */
.svgd { width: 100%; height: auto; overflow: visible; font-family: var(--font-mono); }
.svgd text { font-family: var(--font-mono); font-size: 11px; fill: var(--graphite); letter-spacing: .06em; }
.svgd .t-ink { fill: var(--ink); }
.svgd .t-up { text-transform: uppercase; }
.svgd .t-lg { font-size: 13px; letter-spacing: 0; }
.svgd .t-sans { font-family: var(--font-sans); font-size: 15px; letter-spacing: 0; fill: var(--ink); }
.svgd .s-ink { stroke: var(--ink); stroke-width: 1; fill: none; }
.svgd .s-heavy { stroke: var(--ink); stroke-width: 2; fill: none; }
.svgd .s-med { stroke: var(--ink); stroke-width: 1.5; fill: none; }
.svgd .s-graph { stroke: var(--graphite); stroke-width: 1; fill: none; }
.svgd .s-rule { stroke: var(--rule); stroke-width: 1; fill: none; }
.svgd .s-rule2 { stroke: var(--rule-2); stroke-width: 1; fill: none; }
.svgd .s-cons { stroke: var(--night-2); stroke-width: 1; fill: none; }
.svgd .dash { stroke-dasharray: 4 4; }
.svgd .dash-l { stroke-dasharray: 8 6; }
.svgd .f-paper { fill: var(--paper); }
.svgd .f-ground { fill: var(--ground); }
.svgd .f-ink { fill: var(--ink); }
.svgd .f-white { fill: var(--white); }
.svgd .f-hatch { fill: url(#dv-hatch); }
.svgd .f-xhatch { fill: url(#dv-xhatch); }
.svgd .hot { cursor: pointer; }
.svgd .part { transition: stroke-width .2s; }
.svgd .part.is-on .box { stroke-width: 2; }
.svgd .marching { stroke-dasharray: 6 6; animation: march 1.2s linear infinite; }
@keyframes march { to { stroke-dashoffset: -12; } }
.fig { display: grid; gap: 14px; }
.fig__cap { display: grid; gap: 6px; }
.fig__note { font-family: var(--font-mono); font-size: 12px; line-height: 18px; color: var(--graphite); }
.sample { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--graphite); }
.panel-fig { border: var(--line-thin) solid var(--ink); background: var(--paper); padding: 18px 18px 14px; --dv-surface: var(--paper); }

/* tooltips for charts */
.tip { position: absolute; z-index: 20; pointer-events: none; background: var(--paper); border: var(--line-thin) solid var(--ink); padding: 8px 10px; font-family: var(--font-mono); font-size: 12px; line-height: 17px; white-space: nowrap; opacity: 0; transform: translate(-50%, calc(-100% - 12px)); transition: opacity .15s; }
.tip.is-on { opacity: 1; }
.tip b { font-weight: 400; color: var(--ink); display: block; font-size: 13px; }
.tip span { color: var(--graphite); }

/* ---------- hero: one canvas scene behind the copy, live data beside it ---------- */
.hero { position: relative; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero.is-grab { cursor: grab; }
.hero.is-grabbing, .hero.is-grabbing * { cursor: grabbing; user-select: none; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 6.2fr) minmax(0, 5.8fr); gap: 40px; align-items: center; min-height: 600px; }
.hero__copy { display: grid; gap: 24px; align-content: center; }
.hero__copy .hero-title { max-width: 9.5em; }
.hero__copy .standfirst { max-width: 30em; }
.hero__copy .row { align-items: center; gap: 16px 28px; }
.hero__fig { position: relative; aspect-ratio: 1 / 1; max-width: 100%; pointer-events: none; }
.hero__fig figcaption { position: absolute; left: 0; right: 0; bottom: -4px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 12px; }
.nodekey { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-family: var(--font-mono); font-size: 11px; color: var(--graphite); }
.nodekey > span { display: inline-flex; align-items: center; gap: 6px; }
.nk { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--ink); background: var(--paper); flex: none; }
.nk--solid { background: var(--ink); }
.nk--hatch { background: linear-gradient(45deg, transparent 44%, var(--ink) 44% 56%, transparent 56%), var(--paper); }
.hero__readout { position: absolute; z-index: 2; right: 48px; top: 28px; min-width: 330px; display: grid; gap: 2px; justify-items: end; text-align: right; pointer-events: none; }
.hero__readout .data { color: var(--ink); }
.hero__check > span { display: inline-flex; align-items: center; gap: 7px; }
.hero__check i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid currentColor; flex: none; }
.hero__check[data-live-ok="yes"] i { background: currentColor; }
.hero__check[data-live-ok="no"] i { border-style: dashed; }
.hero[data-hero="ring"] .hero__readout [data-r="dup"] { display: none; }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero__fig { max-width: 440px; width: 100%; justify-self: center; }
  .hero__readout { position: relative; z-index: 1; right: auto; top: auto; min-width: 0; justify-items: start; text-align: left; padding: 0 28px 24px; }
}
@media (max-width: 520px) { .hero__readout { padding: 0 18px 20px; } }

.hero .dv-stats { position: relative; z-index: 1; background: rgba(235, 237, 237, 0.88); }

/* the hero on the night ground */
.hero.is-night { background-color: var(--night); background-image: radial-gradient(var(--night-grid) 1px, transparent 1.3px); background-size: var(--grid-pitch) var(--grid-pitch); color: var(--ground); }
.hero.is-night .dv-ink, .hero.is-night .label.dv-ink, .hero.is-night .hero__readout .data { color: var(--ground); }
.hero.is-night .dv-stats { background: rgba(14, 14, 14, 0.9); border-top-color: var(--night-2); }
.hero.is-night .dv-stats > div { border-color: var(--night-rule); }
.hero.is-night .figure-s { color: var(--ground); }
.hero.is-night .nk { border-color: var(--ground); background: var(--night); }
.hero.is-night .nk--solid { background: var(--ground); }
.hero.is-night .nk--hatch { background: linear-gradient(45deg, transparent 44%, var(--ground) 44% 56%, transparent 56%), var(--night); }
.hero.is-night .ek { border-color: var(--ground); background: var(--night); }
.hero.is-night .nodekey, .hero.is-night .epoch__key { color: var(--night-2); }
.hero.is-night .ek--ok { background: var(--ground); }
.hero.is-night .ek--now { background-color: var(--night); background-image: repeating-linear-gradient(45deg, var(--ground) 0 1.414px, transparent 1.414px 5.657px); }
.hero.is-night .dv-arrowlink { color: var(--ground); }


/* live epoch strip: every slot as the node reports it */
.epoch { display: grid; grid-template-columns: 220px minmax(0, 1fr) 200px; border-top: var(--line-thin) solid var(--ink); }
.epoch > div { padding: 16px 24px; display: grid; gap: 4px; align-content: center; min-width: 0; }
.epoch > div + div { border-left: var(--line-thin) solid var(--rule); }
.epoch__slots { display: grid; grid-template-columns: repeat(32, minmax(0, 1fr)); gap: 3px; align-items: center; height: 26px; }
.epoch__slot { height: 12px; position: relative; }
.epoch__slot i { position: absolute; inset: 0; border-radius: 99px; border: var(--line-thin) solid var(--rule-2); transform: skewY(-12deg) scaleY(.9); }
.epoch__slot.is-past i { background: var(--ink); border-color: var(--ink); }
.epoch__slot.is-wait i { background: var(--rule); border-color: var(--rule); }
.epoch__slot.is-miss i { background: var(--paper); border: var(--line-thin) dashed var(--ink); }
.epoch__slot.is-now i { background-color: var(--paper); background-image: var(--hatch-25); border-color: var(--ink); animation: slotlock 12s linear; }
.epoch__slot.is-now.is-past i { background: var(--ink); }
@keyframes slotlock { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.epoch__dim { position: relative; height: 14px; margin-top: 6px; }
.epoch__dim::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; border-top: var(--line-thin) solid var(--graphite); }
.epoch__dim::after { content: ""; position: absolute; left: 0; right: 0; top: 1px; height: 11px; border-left: var(--line-thin) solid var(--graphite); border-right: var(--line-thin) solid var(--graphite); }
.epoch__dim span { position: absolute; left: 50%; top: -1px; transform: translateX(-50%); background: var(--dv-surface, var(--ground)); padding: 0 6px; font-family: var(--font-mono); font-size: 10px; color: var(--graphite); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.epoch__key { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--graphite); }
.epoch__key > span { display: inline-flex; align-items: center; gap: 6px; }
.ek { width: 14px; height: 8px; border-radius: 99px; border: var(--line-thin) solid var(--ink); background: var(--paper); transform: skewY(-12deg); flex: none; }
.ek--ok { background: var(--ink); }
.ek--miss { border-style: dashed; }
.ek--now { background-color: var(--paper); background-image: var(--hatch-25); }
.ek--wait { background: var(--rule); border-color: var(--rule); }
.epoch__src { margin: 0; padding: 10px 24px 12px; border-top: var(--line-thin) solid var(--rule); }
@media (max-width: 900px) { .epoch { grid-template-columns: minmax(0, 1fr); } .epoch > div + div { border-left: 0; border-top: var(--line-thin) solid var(--rule); } }
@media (max-width: 520px) { .epoch > div, .epoch__src { padding-left: 18px; padding-right: 18px; } .epoch__slots { gap: 2px; } }

/* penalty calculator */
.calc { display: grid; gap: 18px; }
.calc__presets { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: var(--line-thin) solid var(--ink); background: transparent; font-family: var(--font-mono); font-size: 12px; cursor: pointer; transition: background .15s, color .15s; }
.chip:hover { background: var(--paper); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--ground); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 1px; background: var(--ink); }
.range::-moz-range-track { height: 1px; background: var(--ink); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -9px; background: var(--paper); border: var(--line-heavy) solid var(--ink); border-radius: 50%; }
.range::-moz-range-thumb { width: 14px; height: 14px; background: var(--paper); border: var(--line-heavy) solid var(--ink); border-radius: 50%; }
.calc__out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--line-thin) solid var(--ink); border-left: var(--line-thin) solid var(--ink); background: var(--paper); }
.calc__out > div { padding: 10px 12px; border-right: var(--line-thin) solid var(--ink); border-bottom: var(--line-thin) solid var(--ink); display: grid; gap: 2px; }
.calc__bar { position: relative; height: 26px; border: var(--line-thin) solid var(--ink); background: var(--paper); }
.calc__bar span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; transition: width .45s var(--ease-out); }
@media (max-width: 520px) { .calc__out { grid-template-columns: minmax(0, 1fr); } }

/* faq */
.faq { border-top: var(--line-thin) solid var(--ink); }
.faq details { border-bottom: var(--line-thin) solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px minmax(0, 1fr) 26px; gap: 12px; align-items: center; padding: 18px 0; font-size: 20px; line-height: 26px; font-weight: 400; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .label { padding-top: 2px; }
.faq summary i { width: 26px; height: 26px; border: var(--line-thin) solid var(--ink); border-radius: 50%; position: relative; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 7px; right: 7px; top: 12px; border-top: var(--line-thin) solid var(--ink); transition: transform .3s var(--ease-out); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq details > div { padding: 0 38px 22px 56px; font-size: 17px; line-height: 27px; color: var(--ink-2); display: grid; gap: 10px; }
@media (max-width: 520px) { .faq summary { grid-template-columns: 30px minmax(0, 1fr) 26px; font-size: 18px; } .faq details > div { padding: 0 0 20px 42px; } }

/* refusals */
/* what we do not do: a ledger, each refusal with what we do instead (no strike-through: the owner, 2026-10-17) */
.ledger { border-top: var(--line-heavy) solid var(--ink); background: var(--paper); }
.ledger__head, .ledger__row { display: grid; grid-template-columns: 64px minmax(0, 5fr) minmax(0, 7fr); gap: 0 28px; padding: 0 24px; }
.ledger__head { padding-block: 10px; border-bottom: var(--line-thin) solid var(--ink); }
.ledger__row { padding-block: 22px 24px; border-bottom: var(--line-thin) solid var(--rule); align-items: baseline; }
.ledger__row:last-child { border-bottom: var(--line-thin) solid var(--ink); }
.ledger__not { margin: 0; font-size: 28px; line-height: 34px; font-weight: 330; font-stretch: 102%; letter-spacing: -0.01em; }
.ledger__do { margin: 0; font-size: 17px; line-height: 27px; font-stretch: 104%; color: var(--ink-2); max-width: 38em; }
.ledger__tag { display: none; }
@media (max-width: 760px) {
  .ledger__head { display: none; }
  .ledger__row { grid-template-columns: 44px minmax(0, 1fr); gap: 8px 12px; padding-inline: 18px; }
  .ledger__do { grid-column: 2; }
  .ledger__tag { display: block; margin-bottom: 4px; }
}
.mark-plate__svg { display: block; width: min(100%, 420px); margin: 12px auto 0; }

/* credential cells */
.creds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--line-thin) solid var(--ink); border-left: var(--line-thin) solid var(--ink); }
.creds > div { padding: 20px; border-right: var(--line-thin) solid var(--ink); border-bottom: var(--line-thin) solid var(--ink); display: grid; gap: 12px; align-content: start; background: var(--paper); }
.markph { display: grid; place-items: center; height: 56px; border: var(--line-thin) dashed var(--graphite); font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--graphite); }
@media (max-width: 960px) { .creds { grid-template-columns: minmax(0, 1fr); } }

/* research cards with drawn thumbnails */
.rcard { display: grid; grid-template-rows: auto 1fr; border: var(--line-thin) solid var(--ink); background: var(--paper); text-decoration: none; color: var(--ink); transition: box-shadow .2s var(--ease-fade); --dv-surface: var(--paper); }
.rcard:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.rcard__thumb { aspect-ratio: 16 / 9; border-bottom: var(--line-thin) solid var(--ink); position: relative; overflow: hidden; }
.rcard__thumb svg { width: 100%; height: 100%; }
.rcard__body { padding: 16px 18px 18px; display: grid; gap: 8px; align-content: start; }
.rcard__title { font-size: 22px; line-height: 27px; font-weight: 400; letter-spacing: -0.005em; }
.rcard--lg .rcard__title { font-size: 34px; line-height: 38px; font-weight: 330; font-stretch: 102%; letter-spacing: -0.015em; }
.rcard__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.rcard[hidden] { display: none; }
.filters { display: grid; gap: 14px; margin-bottom: 28px; }
.search { display: flex; align-items: center; border: var(--line-thin) solid var(--ink); background: var(--paper); max-width: 420px; }
.search label { padding: 0 12px; border-right: var(--line-thin) solid var(--ink); align-self: stretch; display: flex; align-items: center; }
.search input { border: 0; background: transparent; padding: 12px; font: 16px var(--font-sans); width: 100%; outline: none; }
.search:focus-within { box-shadow: 0 0 0 1px var(--ink); }
.empty { padding: 40px; border: var(--line-thin) dashed var(--graphite); text-align: center; display: none; }
.empty.is-on { display: block; }

/* tabs */
.tabs { display: flex; flex-wrap: wrap; border-top: var(--line-thin) solid var(--ink); border-left: var(--line-thin) solid var(--ink); width: fit-content; max-width: 100%; }
.tabs button { border: 0; border-right: var(--line-thin) solid var(--ink); border-bottom: var(--line-thin) solid var(--ink); background: var(--paper); padding: 10px 16px; font-family: var(--font-mono); font-size: 12px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--ground); }

/* timeline drawn to scale */
.tl { position: relative; }
.tl svg { overflow: visible; }

/* forms */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; position: relative; min-width: 0; }
.field > label, .field legend { font-family: var(--font-mono); font-size: 11px; line-height: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); padding: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: var(--line-thin) solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); font: 17px var(--font-sans); font-stretch: 104%;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: var(--line-heavy) solid var(--ink); outline-offset: 0; }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { box-shadow: inset 0 0 0 1px var(--ink); background-image: var(--hatch-25); background-size: 100% 4px; background-repeat: no-repeat; background-position: bottom; }
.field__err { display: none; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--ink); }
.field.is-bad .field__err { display: flex; }
.field__err .dv-leader { width: 18px; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick label { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: var(--line-thin) solid var(--ink); background: var(--paper); font-size: 15px; cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick label:has(input:checked) { box-shadow: inset 0 0 0 1px var(--ink); background: var(--white); }
.pick label:has(input:checked)::before { content: ""; width: 8px; height: 8px; background: var(--ink); }
.pick label:has(input:focus-visible) { outline: var(--line-heavy) solid var(--ink); outline-offset: 3px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 23px; color: var(--ink-2); }
.check input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border: var(--line-thin) solid var(--ink); background: var(--paper); margin: 1px 0 0; flex: none; cursor: pointer; }
.check input:checked { background-image: var(--hatch-25); box-shadow: inset 0 0 0 1px var(--ink); }
.slots { display: grid; grid-template-columns: 70px repeat(5, minmax(0, 1fr)); border-top: var(--line-thin) solid var(--ink); border-left: var(--line-thin) solid var(--ink); background: var(--paper); }
.slots > * { border-right: var(--line-thin) solid var(--ink); border-bottom: var(--line-thin) solid var(--ink); padding: 8px; font-family: var(--font-mono); font-size: 12px; min-height: 38px; display: flex; align-items: center; justify-content: center; }
.slots button { background: transparent; border-top: 0; border-left: 0; cursor: pointer; }
.slots button:hover { background: var(--white); }
.slots button[aria-pressed="true"] { background-color: var(--paper); background-image: var(--hatch-25); box-shadow: inset 0 0 0 2px var(--ink); }
.slots button[disabled] { color: var(--rule-2); cursor: not-allowed; background-color: var(--ground); background-image: repeating-linear-gradient(45deg, var(--rule) 0 1px, transparent 1px 6px); }
.sent { display: none; }
.sent.is-on { display: grid; }
.loader { width: 44px; height: 44px; }

/* loading loop and opening motion of the mark (SVG groups) */
.mark-anim .s1, .mark-anim .s2 { transform-box: view-box; }
.mark-loop .s1 { animation: loop1 3.2s var(--ease-out) infinite; }
.mark-loop .s2 { animation: loop2 3.2s var(--ease-out) .45s infinite; }
@keyframes loop1 { 0% { transform: none; } 30% { transform: translate(-60px, -34.6px); animation-timing-function: var(--ease-out); } 62%, 100% { transform: none; } }
@keyframes loop2 { 0% { transform: none; } 30% { transform: translate(-60px, 34.6px); animation-timing-function: var(--ease-out); } 62%, 100% { transform: none; } }

/* night end card */
.endcard { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: center; }
.endcard__mark { aspect-ratio: 1; max-width: 280px; width: 100%; }
.sec--night .label, .sec--night .note { color: var(--night-2); }
.sec--night .standfirst, .sec--night .lede { color: var(--night-2); }
@media (max-width: 900px) { .endcard { grid-template-columns: minmax(0, 1fr); } .endcard__mark { max-width: 220px; } }

/* steps on a dimensioned line */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: var(--line-thin) solid var(--ink); counter-reset: s; }
.steps li { counter-increment: s; padding: 16px 16px 4px 0; display: grid; gap: 8px; align-content: start; position: relative; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--font-mono); font-size: 11px; color: var(--graphite); }
.steps li::after { content: ""; position: absolute; left: 0; top: -6px; height: 11px; border-left: var(--line-thin) solid var(--ink); }
.steps li b { font-weight: 520; font-size: 17px; line-height: 22px; }
.steps li p { font-size: 15px; line-height: 23px; color: var(--ink-2); }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; } }
@media (max-width: 600px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* article */
.article-head { display: grid; gap: 22px; max-width: 980px; }
.byline { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.article-grid { display: grid; grid-template-columns: 200px minmax(0, 640px) minmax(0, 1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: 104px; display: grid; gap: 10px; }
.toc a { font-size: 14px; line-height: 19px; color: var(--graphite); text-decoration: none; padding-left: 12px; border-left: var(--line-thin) solid var(--rule); }
.toc a.is-on { color: var(--ink); border-left: var(--line-heavy) solid var(--ink); padding-left: 11px; }
.prose { display: grid; gap: 22px; font-size: 17px; line-height: 27px; }
.prose h2 { font-size: 28px; line-height: 34px; font-weight: 520; margin-top: 22px; scroll-margin-top: 110px; }
.prose ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }
.prose .callbox { border: var(--line-thin) solid var(--ink); background: var(--paper); padding: 20px 22px; display: grid; gap: 10px; --dv-surface: var(--paper); }
.prose .shortv { border: var(--line-heavy) solid var(--ink); background: var(--paper); padding: 20px 22px; display: grid; gap: 10px; --dv-surface: var(--paper); }
.aside-figs { position: sticky; top: 104px; display: grid; gap: 24px; }
@media (max-width: 1180px) { .article-grid { grid-template-columns: minmax(0, 640px) minmax(0, 1fr); } .toc { display: none; } }
@media (max-width: 960px) { .article-grid { grid-template-columns: minmax(0, 1fr); } .aside-figs { position: static; } }

/* report */
.report-cover { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; }
.report-cover > div { padding: 56px 48px; min-width: 0; }
.report-cover > div + div { border-left: var(--line-thin) solid var(--ink); }
.contents { list-style: none; margin: 0; padding: 0; border-top: var(--line-thin) solid var(--ink); }
.contents a { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 12px; padding: 14px 0; border-bottom: var(--line-thin) solid var(--rule); text-decoration: none; font-size: 19px; align-items: baseline; }
.contents a:hover { box-shadow: inset 0 -2px 0 var(--ink); }
.heat { display: grid; grid-template-columns: 70px repeat(13, minmax(0, 1fr)); gap: 3px; align-items: center; }
.heat span { height: 22px; }
.heat .label { height: auto; }
@media (max-width: 960px) { .report-cover { grid-template-columns: minmax(0, 1fr); } .report-cover > div + div { border-left: 0; border-top: var(--line-thin) solid var(--ink); } .report-cover > div { padding: 40px 24px; } }

/* team */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: var(--line-thin) solid var(--ink); border-left: var(--line-thin) solid var(--ink); }
.team > div { padding: 18px; border-right: var(--line-thin) solid var(--ink); border-bottom: var(--line-thin) solid var(--ink); display: grid; gap: 10px; align-content: start; background: var(--paper); }
.avatar { width: 84px; height: 84px; border-radius: 50%; border: var(--line-thin) solid var(--ink); background: var(--ground); display: grid; place-items: center; overflow: hidden; }
.avatar img { width: 46px; height: auto; }
@media (max-width: 1000px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .team { grid-template-columns: minmax(0, 1fr); } }

/* 404 */
.lost { min-height: 62vh; display: grid; place-items: center; text-align: center; }



/* ---------- page transitions: a section line cuts to the next sheet ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .24s var(--ease-in) both; }
::view-transition-new(root) { animation: vt-in .52s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* ---------- page parts added with the pages ---------- */
/* staking: layer states */
.layers .state { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; }
.swatch { display: inline-block; width: 30px; height: 12px; flex: none; transition: background-color .4s var(--ease-fade); }
[data-layer] { transition: box-shadow .3s var(--ease-fade); }


/* staking: a sample monthly report, drawn small */
.sheet-mini { max-width: 420px; width: 100%; justify-self: center; aspect-ratio: 210 / 260; background-color: var(--paper); border: var(--line-thin) solid var(--ink); padding: 14px; box-shadow: 10px 10px 0 -1px var(--ground-2), 10px 10px 0 0 var(--ink); }
.sheet-mini__frame { height: 100%; border: var(--line-thin) solid var(--ink); padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.sheet-mini__title { font-size: 24px; line-height: 28px; font-weight: 330; font-stretch: 102%; letter-spacing: -.01em; }
.sheet-mini__chart { border-top: var(--line-thin) solid var(--rule); border-bottom: var(--line-thin) solid var(--rule); padding: 8px 0; }
.sheet-mini__rows { display: grid; gap: 8px; }
.sheet-mini__rows i { height: 7px; background: var(--rule); }
.sheet-mini__rows i:nth-child(2) { width: 82%; } .sheet-mini__rows i:nth-child(3) { width: 90%; } .sheet-mini__rows i:nth-child(4) { width: 58%; }
.sheet-mini__tb { margin-top: auto; border-top: var(--line-thin) solid var(--ink); padding-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sheet-mini__tb img { height: 16px; width: auto; }

/* security: the incident drill */
.drill { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: var(--line-thin) solid var(--ink); border-left: var(--line-thin) solid var(--ink); background: var(--paper); }
.drill > div { position: relative; padding: 22px 16px 18px; border-right: var(--line-thin) solid var(--ink); border-bottom: var(--line-thin) solid var(--ink); display: grid; gap: 8px; align-content: start; transition: box-shadow .25s var(--ease-fade); }
.drill > div::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-bottom: var(--line-thin) solid var(--rule); }
.drill > div b { font-weight: 520; font-size: 20px; }
.drill > div.is-on { box-shadow: inset 0 0 0 var(--line-heavy) var(--ink); }
.drill > div.is-on::before { background-color: var(--paper); background-image: var(--hatch-25); border-bottom-color: var(--ink); animation: drill-fill 1.6s linear; }
.drill > div.is-done::before { background: var(--ink); border-bottom-color: var(--ink); }
.drill > div.is-done::after { content: "Done"; position: absolute; right: 12px; top: 14px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
@keyframes drill-fill { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (max-width: 1100px) { .drill { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .drill { grid-template-columns: minmax(0, 1fr); } }

/* code */
.code { margin: 0; padding: 16px 18px; background: var(--paper); border: var(--line-thin) solid var(--ink); font-family: var(--font-mono); font-size: 13px; line-height: 21px; white-space: pre-wrap; overflow-wrap: anywhere; }

/* about: vertical timeline, roles */
.vtl { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: var(--line-thin) solid var(--ink); display: grid; gap: 26px; }
.vtl li { position: relative; display: grid; gap: 4px; }
.vtl li::before { content: ""; position: absolute; left: -33px; top: 3px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.vtl li.is-now::before { background: var(--paper); border: var(--line-heavy) solid var(--ink); left: -34px; width: 11px; height: 11px; }
.vtl b { font-weight: 520; font-size: 19px; line-height: 24px; }
.vtl p { color: var(--ink-2); }
.roles { border-top: var(--line-thin) solid var(--ink); }
.roles a { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto 40px; gap: 16px; align-items: center; padding: 20px 4px; border-bottom: var(--line-thin) solid var(--rule); text-decoration: none; font-size: 22px; line-height: 28px; font-weight: 330; font-stretch: 102%; }
.roles a svg { stroke: var(--ink); fill: none; stroke-width: 1.2; transition: transform .3s var(--ease-out); }
.roles a:hover { box-shadow: inset 0 -2px 0 var(--ink); }
.roles a:hover svg { transform: translateX(6px); }
@media (max-width: 600px) { .roles a { grid-template-columns: 52px minmax(0, 1fr) 32px; } .roles a .note { display: none; } }

/* report: readiness cells */
.readiness .rd { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; }
.readiness .rd i { width: 16px; height: 12px; flex: none; }

/* layout variants (no inline grid columns, so phones get one column) */
.split--4-8 { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.rcard--feature { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: auto; }
.rcard--feature .rcard__thumb { border-bottom: 0; border-right: var(--line-thin) solid var(--ink); }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) {
  .split--4-8, .rcard--feature { grid-template-columns: minmax(0, 1fr); }
  .rcard--feature .rcard__thumb { border-right: 0; border-bottom: var(--line-thin) solid var(--ink); }
}
@media (max-width: 600px) { .steps--3 { grid-template-columns: minmax(0, 1fr); } }

/* phones: the epoch in two rows, wide drawings scroll, the pie gets a key */
@media (max-width: 600px) {
  .epoch__slots { grid-template-columns: repeat(16, minmax(0, 1fr)); height: auto; row-gap: 8px; }
}
.piekey { display: grid; gap: 8px; margin-top: 10px; font-family: var(--font-mono); font-size: 12px; }
.piekey span { display: inline-flex; align-items: center; gap: 10px; }
.piekey i { width: 22px; height: 12px; flex: none; }

/* critic round 1 */
@media (max-width: 600px) {
  .parts-3 .dv-parts__row { grid-template-columns: 44px minmax(0, 1fr) !important; }
  .parts-3 .dv-parts__row > :first-child { grid-row: span 2; }
  .parts-3 .dv-parts__row > :nth-child(2) { border-bottom: 0; padding-bottom: 2px; }
  .parts-3 .dv-parts__row > :nth-child(3) { padding-top: 2px; }
}
@media (max-width: 520px) {
  .dv-figure { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .dv-figure__head, .dv-figure__title, .dv-figure__value { grid-column: span 2; }
  .dv-figure > :last-child:not(.dv-figure__head):not(.dv-figure__value) { grid-column: span 2; }
  .dv-figure--row > * { grid-column: auto !important; }
}
.svgd--big text { font-size: 13px; }
.dim-short { display: none; }
@media (max-width: 520px) { .dim-long { display: none; } .dim-short { display: inline; } }
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; width: 12px; height: 12px; cursor: pointer;
  background: linear-gradient(45deg, transparent 44%, var(--ink) 44% 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, var(--ink) 44% 56%, transparent 56%); }
.field legend { margin-bottom: 7px; }
.check { flex-wrap: wrap; }
.check > span:not(.field__err) { flex: 1 1 200px; }
.check .field__err { flex-basis: 100%; }
@media (prefers-reduced-motion: reduce) {
  .epoch__slot.is-now i, .mark-loop .s1, .mark-loop .s2, .drill > div.is-on::before, .menu-sheet.is-open, .svgd .marching { animation: none !important; }
}

/* ---------- hero grounds: depth from light, never from colour (the owner, 2026-10-17: "show depth ... gravitas") ----------
   Film is the plain drafting film. Light table: the film lit from behind, brightest behind the figure. Horizon: a sky
   that deepens toward the floor. Studio: a photographer's sweep with a soft shadow under the figure. Graphite, Night
   and Night glow are the dark grounds. A fine grain sits over the gradients so they never band. */
.hero { --hero-lx: 70%; --hero-ly: 46%; }
.hero__grain { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 180px 180px; }
@media (max-width: 960px) { .hero { --hero-lx: 50%; --hero-ly: 66%; } }
.hero[data-ground="table"] { background-color: #dde1e2;
  background-image: radial-gradient(ellipse 60% 64% at var(--hero-lx) var(--hero-ly), rgba(255, 255, 255, .96) 0%, rgba(250, 251, 251, .72) 32%, rgba(240, 242, 242, 0) 72%), radial-gradient(var(--grid) 1px, transparent 1.3px), linear-gradient(180deg, #e7eaeb 0%, #d4d9db 100%);
  background-size: 100% 100%, var(--grid-pitch) var(--grid-pitch), 100% 100%; }
.hero[data-ground="horizon"] { background-color: #e4e7e8;
  background-image: radial-gradient(ellipse 72% 42% at var(--hero-lx) 60%, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 72%), linear-gradient(180deg, #f4f5f5 0%, #eceeee 36%, #dce0e1 62%, #c6cbce 100%); }
.hero[data-ground="studio"] { background-color: #e8eaea;
  background-image: radial-gradient(ellipse 46% 16% at var(--hero-lx) 86%, rgba(14, 14, 14, .13), rgba(14, 14, 14, 0) 72%), radial-gradient(ellipse 70% 78% at var(--hero-lx) 34%, #fbfbfb 0%, rgba(251, 251, 251, 0) 66%), linear-gradient(180deg, #d6dadc 0%, #edefef 44%, #e1e4e5 100%); }
.hero[data-ground="table"] .hero__grain, .hero[data-ground="horizon"] .hero__grain, .hero[data-ground="studio"] .hero__grain { opacity: .32; }
.hero.is-night[data-ground="graphite"] { background-color: #22201e; color: var(--ground);
  background-image: radial-gradient(ellipse 56% 62% at var(--hero-lx) var(--hero-ly), rgba(190, 185, 176, .26), rgba(190, 185, 176, 0) 70%), radial-gradient(#3b3835 1px, transparent 1.3px), linear-gradient(180deg, #2d2b28 0%, #161514 100%);
  background-size: 100% 100%, var(--grid-pitch) var(--grid-pitch), 100% 100%; }
.hero.is-night[data-ground="glow"] {
  background-image: radial-gradient(ellipse 52% 58% at var(--hero-lx) var(--hero-ly), rgba(235, 237, 237, .17) 0%, rgba(235, 237, 237, .05) 46%, rgba(235, 237, 237, 0) 74%), radial-gradient(var(--night-grid) 1px, transparent 1.3px);
  background-size: 100% 100%, var(--grid-pitch) var(--grid-pitch); }
.hero[data-ground="graphite"] .hero__grain, .hero[data-ground="glow"] .hero__grain { opacity: .55; filter: invert(1); mix-blend-mode: screen; }
.hero[data-ground="table"] .dv-stats, .hero[data-ground="horizon"] .dv-stats, .hero[data-ground="studio"] .dv-stats { background: rgba(247, 248, 248, 0.84); }
.hero.is-night[data-ground="graphite"] .dv-stats { background: rgba(22, 21, 20, 0.88); }
/* the ridges' key: a line per state */
.lk { width: 18px; height: 0; border-top: 2px solid var(--ink); flex: none; }
.lk--dash { border-top-style: dashed; }
.lk--wait { border-top: 1px solid var(--rule-2); }
.hero.is-night .lk { border-top-color: var(--ground); }
.hero.is-night .lk--wait { border-top-color: var(--night-2); }
/* in the hero the canvas keeps the words clear itself, so the text masks would only show as boxes on the grounds */
.hero .dv-mask { background-color: transparent; }

/* ---------- partners: a tree. IFT on top, its companies (Develp first, highlighted), Develp's partners below Develp.
   Wide screens draw it as a diagram with connectors; narrow ones as an indented tree. Logos are the partners' own,
   in ink. ---------- */
.ptree { position: relative; }
.ptree__root { display: grid; justify-items: center; gap: 8px; padding-bottom: 28px; position: relative; }
.ptree__logo { display: block; height: 28px; width: auto; max-width: 100%; }
.ptree__logo--ift { height: 44px; }
.ptree__logo--develp { height: 26px; }
.ptree__logo--nimbus { height: 32px; }
.ptree__logo--status { height: 19px; margin-block: 6px; }
.ptree__logo--logos { height: 24px; margin-block: 4px; }
.ptree__logo--keycard { height: 30px; }
.ptree__logo--lido { height: 26px; }
.ptree__logo--obol { height: 24px; margin-block: 2px; }
.ptree__logo--miga { height: 30px; }
.ptree__kids, .ptree__partners { list-style: none; margin: 0; padding: 0; }
.ptree__card { display: grid; gap: 12px; align-content: start; padding: 20px; background: var(--paper); border: var(--line-thin) solid var(--ink); position: relative; }
.ptree__card .small { margin: 0; color: var(--ink-2); }
.ptree__card--develp { border-width: var(--line-heavy); padding-top: 30px; background-color: var(--paper); background-image: var(--hatch-25); background-size: 100% 8px; background-repeat: no-repeat; }
.ptree__us { position: absolute; top: 12px; right: 14px; color: var(--ink); }
.ptree__branch-label { display: block; }
@media (min-width: 961px) {
  .ptree__card { height: 100%; }
  .ptree__root::after { content: ""; position: absolute; left: 50%; bottom: 0; height: 28px; border-left: var(--line-thin) solid var(--ink); }
  .ptree__kids { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 16px; position: relative; padding-top: 24px; }
  /* the bus from the first company to the last; each company hangs from it */
  .ptree__kids::before { content: ""; position: absolute; top: 0; left: calc((100% - 64px) / 10); right: calc((100% - 64px) / 10); border-top: var(--line-thin) solid var(--ink); }
  .ptree__kid > .ptree__card::before { content: ""; position: absolute; left: 50%; top: -25px; height: 24px; border-left: var(--line-thin) solid var(--ink); }
  .ptree__kid > .ptree__card--develp::before { top: -26px; border-left-width: var(--line-heavy); margin-left: -.5px; }
  .ptree__kid--develp { display: contents; }
  .ptree__kid--develp > .ptree__card { grid-column: 1; grid-row: 1; }
  .ptree__kid:not(.ptree__kid--develp) { grid-row: 1; }
  /* Develp's own line runs down to a bus over its partners */
  .ptree__branch { grid-column: 1 / -1; grid-row: 2; position: relative; padding-top: 76px; }
  .ptree__branch::before { content: ""; position: absolute; top: -28px; left: calc((100% - 64px) / 10); height: 81px; border-left: var(--line-heavy) solid var(--ink); margin-left: -.5px; }
  .ptree__branch::after { content: ""; position: absolute; top: 52px; left: calc((100% - 64px) / 10); right: calc((100% - 32px) / 6); border-top: var(--line-heavy) solid var(--ink); margin-left: -.5px; }
  .ptree__branch-label { position: absolute; top: 14px; left: calc((100% - 64px) / 10 + 14px); }
  .ptree__partners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .ptree__partners > li > .ptree__card::before { content: ""; position: absolute; left: 50%; top: -23px; height: 22px; border-left: var(--line-thin) solid var(--ink); }
}
@media (max-width: 960px) {
  /* an indented tree: each item draws its own piece of the rule, so the rule stops at the last tick */
  .ptree__root { justify-items: start; padding-bottom: 18px; }
  .ptree__kids, .ptree__partners { display: grid; gap: 14px; position: relative; padding-left: 26px; }
  .ptree__kid, .ptree__partners > li { position: relative; }
  .ptree__kid::before { content: ""; position: absolute; left: -18px; top: -14px; bottom: 0; border-left: var(--line-thin) solid var(--ink); }
  .ptree__kid:first-child::before { top: -18px; }
  .ptree__kid:last-child::before { bottom: auto; height: 40px; }
  .ptree__kid > .ptree__card::after { content: ""; position: absolute; left: -18px; top: 26px; width: 17px; border-top: var(--line-thin) solid var(--ink); }
  .ptree__kid > .ptree__card--develp::after { border-top-width: var(--line-heavy); }
  .ptree__branch { margin-top: 12px; display: grid; gap: 10px; position: relative; padding-left: 26px; }
  .ptree__branch::before { content: ""; position: absolute; left: 12px; top: -12px; height: 36px; border-left: var(--line-heavy) solid var(--ink); }
  .ptree__partners > li::before { content: ""; position: absolute; left: -40px; top: -14px; bottom: 0; border-left: var(--line-heavy) solid var(--ink); }
  .ptree__partners > li:last-child::before { bottom: auto; height: 41px; }
  .ptree__partners > li > .ptree__card::after { content: ""; position: absolute; left: -40px; top: 26px; width: 39px; border-top: var(--line-thin) solid var(--ink); }
}

/* ---------- no horizontal scrolling (the owner, 2026-10-17, "note this forever") ----------
   Wide drawings have a phone version; wide tables stack, each value under its column's name. */
.fig-narrow { display: none; }
@media (max-width: 760px) {
  .fig-wide { display: none; }
  .fig-narrow { display: block; }
  .parts-stack .dv-parts__row--head { display: none; }
  .parts-stack .dv-parts__row { grid-template-columns: 44px minmax(0, 1fr) !important; }
  .parts-stack .dv-parts__row > :first-child { grid-row: 1 / span 12; }
  .parts-stack .dv-parts__row > :not(:first-child) { border-bottom: 0; padding: 4px 12px; }
  .parts-stack .dv-parts__row > :nth-child(2) { padding-top: 12px; }
  .parts-stack .dv-parts__row > :last-child { border-bottom: var(--line-thin) solid var(--ink); padding-bottom: 12px; }
  .parts-stack .dv-parts__row > [data-label]::before { content: attr(data-label); display: block; margin-bottom: 2px; font-family: var(--font-mono); font-size: 10px; line-height: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--graphite); }
}

/* ---------- images: four directions on test (the owner, 2026-10-17) ----------
   The same slot in each: ink duotone with drawn callouts, a line-drawn axonometric scene, a cyanotype, or the photo
   in full colour as a full-width band. Never corporate Memphis: no cartoon people, no blobs. */
.sec--photo { border-top: var(--line-thin) solid var(--ink); }
.wrap--photo { padding-block: 40px 36px; }
.photo { margin: 0; display: grid; gap: 10px; }
.photo__frame { position: relative; aspect-ratio: var(--ar, 21 / 9); max-width: 100%; overflow: hidden; border: var(--line-thin) solid var(--ink); background: var(--paper); }
.photo__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.photo__iso { position: absolute; inset: 0; display: none; background: var(--paper); }
.photo__iso svg { width: 100%; height: 100%; display: block; }
.photo__marks { position: absolute; inset: 0; display: none; pointer-events: none; }
.photo__cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; }
.photo__credit-line { display: none; }
html[data-imgdir="ink"] .photo__img { filter: url(#dv-duo-ink) contrast(1.06); }
html[data-imgdir="ink"] .photo__marks { display: block; }
html[data-imgdir="cyan"] .photo__img { filter: url(#dv-duo-cyan) contrast(1.08); }
html[data-imgdir="line"] .photo__img { display: none; }
html[data-imgdir="line"] .photo__iso { display: block; }
html[data-imgdir="line"] .photo__credit { display: none; }
html[data-imgdir="line"] .photo__credit-line { display: inline; }
/* full colour: the band runs edge to edge of the frame and stands taller */
html[data-imgdir="color"] .sec--photo .wrap--photo { padding: 0; }
html[data-imgdir="color"] .sec--photo .photo { gap: 0; }
html[data-imgdir="color"] .sec--photo .photo__frame { border: 0; aspect-ratio: 21 / 8; }
html[data-imgdir="color"] .sec--photo .photo__cap { padding: 10px 24px; border-top: var(--line-thin) solid var(--ink); background: var(--paper); }
@media (max-width: 760px) { html[data-imgdir="color"] .sec--photo .photo__frame { aspect-ratio: 4 / 3; } .photo__frame { aspect-ratio: 4 / 3; } }
/* drawn callouts on pictures (the owner, 2026-10-19: the ring and the boxed label looked glued on top). A drawing
   labels a part this way: a small solid point exactly on the thing, a hairline leader at 45 degrees, and the words
   standing on the leader's shoulder. No ring and no box; a paper halo keeps the line and the words readable on a
   photo. The leader runs at --ang for --lead: pm--l leads up to the left, pm--d down to the right, both down to the
   left; the line drawings set their own angle and length so the words land in clear space. On a dark part of a photo
   (pm--dark, measured from the picture) the point, the line and the words turn light. */
.pm { --lead: 38px; --ang: -45deg; --pm-ink: var(--ink); --pm-halo: 247, 248, 248; position: absolute; left: var(--x); top: var(--y); filter: drop-shadow(0 0 1px rgba(var(--pm-halo), .95)) drop-shadow(0 0 2px rgba(var(--pm-halo), .7)); }
.pm--dark { --pm-ink: var(--paper); --pm-halo: 14, 14, 14; }
.pm--l { --ang: -135deg; }
.pm--d { --ang: 45deg; }
.pm--l.pm--d { --ang: 135deg; }
.pm i { position: absolute; left: -3.5px; top: -3.5px; width: 7px; height: 7px; border-radius: 50%; background: var(--pm-ink); }
.pm::before { content: ""; position: absolute; left: 0; top: 0; width: var(--lead); border-top: var(--line-thin) solid var(--pm-ink); transform: rotate(var(--ang)); transform-origin: 0 0; }
.pm b { position: absolute; left: calc(var(--lead) * cos(var(--ang))); bottom: calc(var(--lead) * sin(var(--ang)) * -1); white-space: nowrap; font-weight: 400; font-family: var(--font-mono); font-size: 11px; line-height: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--pm-ink); padding: 0 4px 4px 0; border-bottom: var(--line-thin) solid var(--pm-ink); text-shadow: 0 0 3px rgb(var(--pm-halo)), 0 0 3px rgb(var(--pm-halo)), 0 0 6px rgb(var(--pm-halo)); }
.pm--l b { left: auto; right: calc(var(--lead) * cos(var(--ang)) * -1); padding: 0 0 4px 4px; text-align: right; }
/* the words always stand on the leader's shoulder, whichever way the leader runs */
@media (max-width: 760px) { .pm b { font-size: 10px; } }
/* the line scenes */
.iso .iso-grid { stroke: var(--rule); stroke-width: 1; }
.iso .iso-ln { stroke: var(--ink); stroke-width: 1; stroke-linejoin: round; }
.iso .iso-hot { stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.iso .iso-top { fill: var(--paper); }
.iso .iso-r { fill: var(--ground); }
.iso .iso-l { fill: var(--ground-2); }
.iso .iso-unit { stroke: var(--rule-2); stroke-width: .8; }
.iso .iso-wire { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 4 4; fill: none; }
.iso .iso-lead { stroke: var(--ink); stroke-width: 1; }
.iso .iso-label { font-size: 14px; letter-spacing: .08em; }
@media (max-width: 760px) { .iso .iso-label, .iso .iso-lead { display: none; } }
.rcard__thumb--photo .photo, .rcard__thumb--photo .photo__frame { height: 100%; border: 0; aspect-ratio: auto; }

/* a wide drawing in a column too narrow for it shows its narrow version, kept at a readable size */
.use-narrow > svg.fig-wide { display: none; }
.use-narrow > svg.fig-narrow { display: block; max-width: 440px; margin-inline: auto; }
/* card thumbnails: their small words go when the card is too small to read them */
.rcard__thumb { container-type: inline-size; }
@container (max-width: 300px) { .rcard__thumb svg text { display: none; } }
/* line 3D callouts are HTML marks over the drawing, shown in that direction only */
.photo__marks--iso { display: none; }
html[data-imgdir="line"] .photo__marks--iso { display: block; }

html:not([data-imgdir="line"]):not([data-imgdir="model"]) .photo__marks--iso { display: none !important; }

/* ---------- the living grid (the owner chose it, 2026-10-19) ----------
   The hero draws the page grid itself and brings it alive around the mark, so the ground keeps only its light: no
   second dot grid under the drawing. */
.hero.hero--living[data-ground="film"] { background-color: var(--ground); background-image: none; }
.hero.hero--living[data-ground="table"] { background-image: radial-gradient(ellipse 60% 64% at var(--hero-lx) var(--hero-ly), rgba(255, 255, 255, .96) 0%, rgba(250, 251, 251, .72) 32%, rgba(240, 242, 242, 0) 72%), linear-gradient(180deg, #e7eaeb 0%, #d4d9db 100%); background-size: 100% 100%, 100% 100%; }
.hero.hero--living.is-night { background-image: none; }
.hero.hero--living.is-night[data-ground="graphite"] { background-image: radial-gradient(ellipse 56% 62% at var(--hero-lx) var(--hero-ly), rgba(190, 185, 176, .26), rgba(190, 185, 176, 0) 70%), linear-gradient(180deg, #2d2b28 0%, #161514 100%); background-size: 100% 100%, 100% 100%; }
.hero.hero--living.is-night[data-ground="glow"] { background-image: radial-gradient(ellipse 52% 58% at var(--hero-lx) var(--hero-ly), rgba(235, 237, 237, .17) 0%, rgba(235, 237, 237, .05) 46%, rgba(235, 237, 237, 0) 74%); background-size: 100% 100%; }
.hero.hero--living .hero__fig figcaption { user-select: none; }

/* ---------- Model 3D: renders from the Blender kit (website-mockup/3d; the owner asked on 2026-10-19 how to make
   brand pictures as specific as Figment's). A slot with a render shows it with its own callouts; a slot without one
   falls back to its line drawing. ---------- */
.photo__model { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.model__marks { position: absolute; inset: 0; display: none; pointer-events: none; }
.photo__credit-model { display: none; }
html[data-imgdir="model"] .photo__img { display: none; }
html[data-imgdir="model"] .photo__model, html[data-imgdir="model"] .model__marks { display: block; }
html[data-imgdir="model"] .photo__frame:not(:has(.photo__model)) .photo__iso { display: block; }
html[data-imgdir="model"] .photo__frame:not(:has(.photo__model)) .photo__marks--iso { display: block; }
html[data-imgdir="model"] .photo__frame:has(.photo__model) .photo__marks--iso { display: none !important; }
html[data-imgdir="model"] .photo__credit { display: none; }
html[data-imgdir="model"] .photo:has(.photo__model) .photo__credit-model { display: inline; }
html[data-imgdir="model"] .photo:not(:has(.photo__model)) .photo__credit-line { display: inline; }

/* ---------- 3D grounds (the owner, 2026-10-19: "add some 3d style one considering we might use some 3d images on
   the website, so they could work well together"). They take the Blender kit's world: a white model room with a
   soft wall-to-floor sweep and a contact shadow, an isometric floor on the renders' 30 degree axes, or a floor in
   perspective running to a horizon. The living grid is drawn over them, as the film over a model. ---------- */
.hero__space { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; display: none; }
.hero__floor { position: absolute; display: block; }
.hero[data-ground="model"], .hero[data-ground="iso"], .hero[data-ground="floor"] { background-color: #e6e9ea; }
.hero[data-ground="model"] .hero__space, .hero[data-ground="iso"] .hero__space, .hero[data-ground="floor"] .hero__space { display: block; }
.hero[data-ground="model"] .hero__grain, .hero[data-ground="iso"] .hero__grain, .hero[data-ground="floor"] .hero__grain { opacity: .3; }
.hero.hero--living[data-ground="model"] { background-image: linear-gradient(180deg, #f1f3f3 0%, #eceeef 46%, #e2e5e6 60%, #d9dddf 100%); }
.hero[data-ground="model"] .hero__floor { left: 0; right: 0; top: 52%; height: 22%; background: linear-gradient(180deg, rgba(14, 14, 14, 0) 0%, rgba(14, 14, 14, .045) 46%, rgba(14, 14, 14, 0) 100%); }
.hero[data-ground="model"] .hero__space::after { content: ""; position: absolute; left: var(--hero-lx); top: 74%; width: 46%; height: 13%; transform: translate(-50%, -50%); background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(14, 14, 14, .14), rgba(14, 14, 14, 0) 70%); }
.hero.hero--living[data-ground="iso"] { background-image: radial-gradient(ellipse 62% 66% at var(--hero-lx) var(--hero-ly), rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 72%), linear-gradient(180deg, #eceeef 0%, #dde1e2 100%); }
.hero[data-ground="iso"] .hero__floor { inset: -10%; opacity: .55; background-image: repeating-linear-gradient(30deg, rgba(14, 14, 14, .09) 0 1px, transparent 1px 28px), repeating-linear-gradient(-30deg, rgba(14, 14, 14, .09) 0 1px, transparent 1px 28px); -webkit-mask-image: radial-gradient(ellipse 70% 70% at var(--hero-lx) 60%, #000 30%, transparent 78%); mask-image: radial-gradient(ellipse 70% 70% at var(--hero-lx) 60%, #000 30%, transparent 78%); }
.hero.hero--living[data-ground="floor"] { background-image: linear-gradient(180deg, #f2f4f4 0%, #eaeced 40%, #dfe3e4 41%, #d3d8da 100%); }
.hero[data-ground="floor"] .hero__floor { left: -60%; right: -60%; top: 40.5%; height: 120%; transform-origin: 50% 0; transform: perspective(520px) rotateX(64deg); background-image: linear-gradient(rgba(14, 14, 14, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 14, 14, .12) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%); }
.hero[data-ground="model"] .dv-stats, .hero[data-ground="iso"] .dv-stats, .hero[data-ground="floor"] .dv-stats { background: rgba(247, 248, 248, 0.86); }

/* the 3D grounds keep their lines away from the words: they open out on the figure's side */
.hero[data-ground="model"] .hero__space, .hero[data-ground="iso"] .hero__space, .hero[data-ground="floor"] .hero__space { -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 34%, #000 60%); mask-image: linear-gradient(90deg, transparent 0%, transparent 34%, #000 60%); }
@media (max-width: 960px) { .hero[data-ground="model"] .hero__space, .hero[data-ground="iso"] .hero__space, .hero[data-ground="floor"] .hero__space { -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 50%, #000 68%); mask-image: linear-gradient(180deg, transparent 0%, transparent 50%, #000 68%); } }
