/* Schematic panels (consulting lifecycle, technology workflow): used on the conversation pages
   and in the overview. Needs --line, --bone*, --signal, --violet, --ink, --display, --ease. */
/* schematic stage panels */
.sp { position: relative; padding: 26px 26px 30px; border-bottom: 1px solid var(--line); background: rgba(11,10,16,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.sp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sp-k { margin: 0 0 10px; color: var(--bone-faint); }
.sp-tag { margin: 0; color: var(--violet); }
.sp-t { margin: 0 0 22px; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 62; text-transform: uppercase; font-size: 30px; line-height: .95; letter-spacing: -.005em; max-width: 16ch; }
[data-nodes] { transition: color .5s var(--ease), border-color .5s var(--ease), background .5s var(--ease), opacity .5s var(--ease); }

/* consulting: lifecycle, roles, conditions, project file */
.lc { list-style: none; margin: 0 0 6px; padding: 0; position: relative; }
.lc::before { content: ""; position: absolute; left: 4px; top: 12px; bottom: 12px; width: 1px; background: var(--line); }
.lc li { position: relative; display: grid; grid-template-columns: 20px 24px 92px 1fr auto; align-items: baseline; gap: 6px; padding: 8px 0; border-bottom: 1px solid rgba(236,233,243,.06); color: var(--bone-faint); }
.lc li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--bone-faint); background: var(--ink); align-self: center; position: relative; z-index: 1; }
.lc li .mono { font-size: 10px; }
.lc li b { font-weight: 500; font-size: 13px; color: var(--bone-dim); }
.lc li i { font-style: normal; font-size: 11px; line-height: 1.35; color: var(--bone-faint); }
.lc li em { font-style: normal; font-size: 9.5px; color: var(--bone-faint); border: 1px solid var(--line); border-radius: 3px; padding: 2px 5px; white-space: nowrap; }
.lc li.seen::before { background: var(--bone-faint); }
.lc li.lit b { color: var(--bone); } .lc li.lit i { color: var(--bone-dim); } .lc li.lit em { color: var(--bone); border-color: var(--signal); }
.lc li.lit::before { background: var(--signal); border-color: var(--signal); box-shadow: 0 0 0 5px rgba(169,166,196,.16); }
.sp-sub { margin: 18px 0 8px !important; padding-top: 14px; border-top: 1px solid var(--line); }
.rl { list-style: none; margin: 0; padding: 0; display: grid; }
.rl li { display: grid; grid-template-columns: 118px 1fr; gap: 8px; padding: 6px 0; border-bottom: 1px solid rgba(236,233,243,.06); font-size: 12px; }
.rl li b { font-weight: 500; color: var(--bone-dim); }
.rl li i { font-style: normal; color: var(--bone-faint); font-size: 11px; }
.rl li.lit b { color: var(--bone); } .rl li.lit i { color: var(--bone-dim); }
.rl li.lit b::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--signal); margin: 0 7px 1px -12px; }
.bk4 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.bk4 li { position: relative; padding: 9px 10px 9px 14px; border: 1px solid var(--line); border-radius: 3px; display: grid; gap: 2px; }
.bk4 li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: 3px 0 0 3px; }
.bk4-0::before { background: #b5443b; } .bk4-1::before { background: #c9a43a; } .bk4-2::before { background: #a7adb6; } .bk4-3::before { background: rgba(236,233,243,.25); }
.bk4 b { font-weight: 500; font-size: 12px; color: var(--bone-dim); }
.bk4 i { font-style: normal; font-size: 10.5px; color: var(--bone-faint); }
.bk4 li.lit { border-color: var(--signal); background: rgba(169,166,196,.06); } .bk4 li.lit b { color: var(--bone); }
.pf4 { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.pf4 div { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid rgba(236,233,243,.06); font-size: 10px; }
.pf4 dt { color: var(--bone-faint); letter-spacing: .06em; } .pf4 dd { margin: 0; color: var(--bone-faint); }
.pf4.lit dd { color: var(--signal); }
.sp-note { margin: 14px 0 0; color: var(--bone-faint); font-size: 9.5px; letter-spacing: .04em; }

/* technology: workflow console */
.wf { list-style: none; margin: 0 0 22px; padding: 0; position: relative; }
.wf::before { content: ""; position: absolute; left: 4px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(var(--line), var(--line)); }
.wf::after { /* a packet running down the pipeline */
  content: ""; position: absolute; left: 1px; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 12px var(--violet);
  animation: packet 4.8s cubic-bezier(.6,0,.4,1) infinite;
}
@keyframes packet { 0% { top: 8px; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { top: calc(100% - 16px); opacity: 0; } }
.wf li { position: relative; display: grid; grid-template-columns: 26px 22px 1fr auto; align-items: baseline; gap: 6px; padding: 9px 0 9px 0; border-bottom: 1px dashed var(--line); color: var(--bone-faint); }
.wf-dot { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--bone-faint); background: var(--ink); align-self: center; position: relative; z-index: 1; }
.wf li .mono { font-size: 10px; }
.wf li b { font-weight: 500; font-size: 14px; color: var(--bone-dim); }
.wf li i { grid-column: 3; font-style: normal; font-size: 11.5px; color: var(--bone-faint); }
.wf li em { grid-column: 4; grid-row: 1; font-style: normal; font-size: 9.5px; padding: 3px 7px; border: 1px solid var(--line); border-radius: 999px; color: var(--bone-faint); }
.wf li.seen .wf-dot { background: var(--bone-faint); }
.wf li.lit .wf-dot { background: var(--violet); border-color: var(--violet); box-shadow: 0 0 0 5px rgba(123,92,255,.2); }
.wf li.lit b { color: var(--bone); }
.wf li.lit i { color: var(--bone-dim); }
.ev { padding-top: 16px; border-top: 1px solid var(--line); }
.ev-ver { float: right; color: var(--violet); text-transform: none; letter-spacing: .04em; }
.ev-t { width: 100%; border-collapse: collapse; font-size: 10.5px; font-variant-numeric: tabular-nums; }
.ev-t th { text-align: left; font-weight: 500; color: var(--bone-faint); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; padding: 0 0 8px; border-bottom: 1px solid var(--line); }
.ev-t td { padding: 7px 0; border-bottom: 1px solid rgba(236,233,243,.06); color: var(--bone-dim); }
.ev-t td:first-child { color: var(--bone); font-family: var(--sans); font-size: 12px; letter-spacing: 0; }
.ev-t th:nth-child(n+2), .ev-t td:nth-child(n+2) { text-align: right; padding-left: 10px; }
.ev-run { color: var(--bone) !important; }
.ev-ok { color: var(--violet) !important; width: 14px; font-size: 8px; opacity: 0; animation: evok 7s var(--ease) infinite; animation-delay: calc(var(--i) * .45s); }
@keyframes evok { 0%, 8% { opacity: 0; } 14%, 92% { opacity: 1; } 100% { opacity: 0; } }


/* ── curated dispatch: news, quiet index, principle, case ────────────────────
   Editorial, low voice: hairlines, mono kickers, works desaturated until looked at. */
.ds { padding: 24px 26px 26px; border-bottom: 1px solid var(--line); background: rgba(11,10,16,.66); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ds-k { margin: 0 0 14px; display: flex; align-items: center; gap: 8px; color: var(--bone-faint); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; }
.ds-k i { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(123,92,255,.14); flex: none; }
.ds-count { margin-left: auto; color: var(--bone-faint); }
.ds-t { margin: 0 0 8px; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 62; text-transform: uppercase; font-size: 30px; line-height: .95; letter-spacing: -.005em; }
.ds-m { margin: 0 0 10px; color: var(--bone-faint); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.ds-x { margin: 0 0 18px; font-size: 13.5px; line-height: 1.55; color: var(--bone-dim); max-width: 46ch; }
.ds-sub { margin: 4px 0 8px; color: var(--bone-faint); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.ds-link { display: inline-block; margin-top: 4px; color: var(--bone-dim); text-decoration: none; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--line); padding-bottom: 3px; transition: color .3s, border-color .3s; }
.ds-link:hover { color: var(--bone); border-color: var(--signal); }

/* clip strip: three portrait cuts, quiet until looked at */
.ds-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ds-strip li { display: grid; gap: 8px; }
.ds-strip video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; background: var(--ink-2, #14121c);
  filter: grayscale(.85) brightness(.78) contrast(1.05); transition: filter .9s var(--ease); }
.ds-strip li:hover video { filter: none; }
.ds-strip .mono { font-size: 9.5px; line-height: 1.35; letter-spacing: .06em; color: var(--bone-faint); }
.ds-strip .mono b { color: var(--signal); font-weight: 500; margin-right: 2px; }

/* album note */
.ds-row { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: start; }
.ds-cover { width: 92px; aspect-ratio: 1; object-fit: cover; border-radius: 3px; box-shadow: 0 14px 30px -14px rgba(0,0,0,.9); }
.ds-row .ds-x { margin-bottom: 8px; }
.ds-tracks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ds-tracks li { display: grid; grid-template-columns: 28px 1fr auto; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--bone-dim); }
.ds-tracks li .mono { font-size: 10px; color: var(--bone-faint); }
.ds-tracks li i { font-style: normal; font-size: 9px; color: var(--bone-faint); }

/* quiet index: very small, monochrome, labels only on look */
.mi { padding: 18px 26px 22px; border-bottom: 1px solid var(--line); }
.mi-h { display: flex; justify-content: space-between; margin: 0 0 12px; color: var(--bone-faint); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.mi ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px; position: relative; }
.mi li { position: relative; }
.mi img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; display: block;
  filter: grayscale(1) brightness(.55) contrast(1.1); opacity: .8; transition: filter .7s var(--ease), opacity .7s var(--ease), transform .7s var(--ease); }
.mi li:hover img { filter: none; opacity: 1; transform: translateY(-2px); }
.mi li .mono { position: absolute; left: 0; top: calc(100% + 6px); white-space: nowrap; font-size: 9.5px; letter-spacing: .06em; color: var(--bone-dim); opacity: 0; pointer-events: none; transition: opacity .3s; }
.mi li:hover .mono { opacity: 1; }
.mi:hover ul { margin-bottom: 18px; }
.mi ul { transition: margin .3s var(--ease); }
.mi-n { margin: 10px 0 0; font-size: 12px; color: var(--bone-faint); max-width: 48ch; }

/* books: four covers in a row */
.ds-covers { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ds-covers a { display: grid; gap: 6px; text-decoration: none; }
.ds-covers img { width: 100%; aspect-ratio: 808 / 1172; object-fit: cover; border-radius: 2px; box-shadow: 0 12px 24px -12px rgba(0,0,0,.9); transition: transform .6s var(--ease); }
.ds-covers a:hover img { transform: translateY(-3px); }
.ds-covers .mono { font-size: 9px; line-height: 1.3; letter-spacing: .02em; color: var(--bone-faint); }

/* principle: one rule at a time */
.ds-principle .ds-t { font-size: 24px; line-height: 1.02; }
.ds-principle .ds-t, .ds-principle .ds-x { transition: opacity .45s var(--ease), transform .45s var(--ease); }
.ds-principle.swap .ds-t, .ds-principle.swap .ds-x { opacity: 0; transform: translateY(6px); }

/* case */
.ds-case .ds-t { font-size: 22px; line-height: 1.05; }
.ds-chips { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ds-chips li { font-size: 10px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--bone-faint); }

/* overview sizes */
.ov-news { margin: 0 0 clamp(40px, 5vw, 64px); }
.ov-news .ds { border: 1px solid var(--line); border-radius: 14px; padding: clamp(22px, 2.6vw, 34px); background: linear-gradient(160deg, rgba(123,92,255,.07), rgba(11,10,16,0) 50%), var(--ink-2, #14121c); }
.ds.big .ds-t { font-size: clamp(34px, 3.4vw, 54px); }
.ds.big .ds-x { font-size: 15px; max-width: 54ch; }
.ds.big .ds-strip { gap: 12px; }
.ds.big .ds-strip .mono { font-size: 10.5px; }
.ds-album.big .ds-row { grid-template-columns: 180px 1fr; gap: 26px; }
.ds-album.big .ds-cover { width: 180px; }
.ov-com .mi { padding: 0; border: 0; }
.ov-com .mi ul { grid-template-columns: repeat(auto-fill, minmax(56px, 72px)); }
@media (max-width: 560px) { .ds-album.big .ds-row { grid-template-columns: 96px 1fr; } .ds-album.big .ds-cover { width: 96px; } }
.stage .ds-books .ds-covers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
.stage .ds-books .ds-covers .mono { font-size: 10px; }
.stage .ds-books .ds-t { font-size: 40px; }
.stage .mi { background: rgba(11,10,16,.66); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ds-ticks { display: flex; gap: 4px; margin-top: 4px; }
.ds-ticks i { flex: 1; height: 2px; background: var(--line); border-radius: 1px; transition: background .5s var(--ease); }
.ds-ticks i.on { background: var(--signal); }
.ds-principle .ds-x { min-height: 4.65em; }

/* AI workflow graph */
.wfg { display: block; width: 100%; height: auto; margin: 6px 0 16px; overflow: visible; }
.wfg-grid line { stroke: rgba(236,233,243,.045); stroke-width: .5; }
.wfg-e { fill: none; stroke: rgba(236,233,243,.22); stroke-width: .8; }
.wfg-pk { fill: #a28dff; filter: drop-shadow(0 0 3px #7b5cff); }
.wfg text { font-family: var(--mono, "Geist Mono", monospace); font-size: 7.5px; letter-spacing: .08em; text-transform: uppercase; fill: rgba(236,233,243,.55); text-anchor: middle; }
.wfg-n circle, .wfg-n rect { fill: #0b0a10; stroke: rgba(236,233,243,.6); stroke-width: .9; }
.wfg-l rect { fill: #14121c; stroke: rgba(162,141,255,.55); stroke-width: .8; }
.wfg-l text { fill: rgba(236,233,243,.8); font-size: 7px; }
.wfg-g rect { fill: #7b5cff; stroke: none; }
.wfg-g text { fill: rgba(236,233,243,.7); }
.wfg-g .wfg-pass { fill: #a28dff; font-size: 6.5px; }
.wfg-out circle:first-child { fill: #ece9f3; stroke: none; }
.wfg-ring { fill: none !important; stroke: rgba(162,141,255,.5) !important; animation: wfg-ring 2.4s ease-out infinite; transform-origin: 372px 100px; }
@keyframes wfg-ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wfg-pk { display: none; } .wfg-ring { animation: none; } }
.ds-case .ds-t { font-size: 30px; }
.wfg-ctx rect { fill: rgba(123,92,255,.08); stroke: rgba(162,141,255,.4); stroke-width: .7; }
.wfg-ctx text { font-size: 6.6px; fill: rgba(216,206,255,.85); letter-spacing: .06em; }
.wfg-bus { fill: none; stroke: rgba(162,141,255,.45); stroke-width: .7; stroke-dasharray: 1.5 2.5; }
.wfg-cap { font-size: 6.4px !important; fill: rgba(236,233,243,.4) !important; }
.wfg-r { fill: none; stroke: rgba(216,206,255,.45); stroke-width: .8; stroke-dasharray: 3 3; }
.wfg-rt { font-size: 6.6px !important; fill: rgba(216,206,255,.6) !important; text-anchor: start !important; }
.wfg-pk-r { fill: #d8ceff; }
.wfg-ic { fill: none; stroke: rgba(236,233,243,.8); stroke-width: .9; }
.wfg-ic2 { fill: rgba(236,233,243,.8) !important; stroke: none !important; }
.wfg-h > circle:first-child { stroke: rgba(216,206,255,.8); }
.wfg-ring { transform-origin: 412px 124px; }

/* method: the full list, one principle open */
.pr { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pr li { border-bottom: 1px solid rgba(236,233,243,.07); }
.pr button { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: 26px 1fr 10px; align-items: baseline; gap: 6px; padding: 9px 0; }
.pr button::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: transparent; border: 1px solid var(--bone-faint); align-self: center; transition: background .4s, border-color .4s; }
.pr button .mono { font-size: 10px; color: var(--bone-faint); }
.pr button b { font-weight: 500; font-size: 13px; color: var(--bone-dim); transition: color .3s; }
.pr button:hover b, .pr button:focus-visible b { color: var(--bone); }
.pr button:focus-visible { outline: 1px solid var(--signal); outline-offset: 2px; }
.pr p { margin: 0; padding: 0 16px 0 32px; font-size: 12.5px; line-height: 1.55; color: var(--bone-dim); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .5s var(--ease), padding .6s var(--ease); }
.pr li.on b { color: var(--bone); }
.pr li.on button .mono { color: var(--signal); }
.pr li.on button::after { background: var(--signal); border-color: var(--signal); }
.pr li.on p { max-height: 8em; opacity: 1; padding-bottom: 12px; }

/* contact envelope: hairline mark, a status LED, the flap opens on hover */
.mailx { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--bone-dim); font-family: var(--sans, "Geist", sans-serif); font-size: 12.5px; font-weight: 500; letter-spacing: .01em; padding: 8px 12px 8px 10px; border: 1px solid var(--line); border-radius: 999px; width: max-content; transition: color .3s, border-color .3s, background .3s; }
.mailx-i { width: 22px; height: 16px; overflow: visible; }
.mx-body { fill: rgba(123,92,255,.08); stroke: currentColor; stroke-width: 1.1; transition: fill .4s; }
.mx-flap { fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linejoin: round; transform-origin: 14px 4px; transition: transform .5s cubic-bezier(.2,.7,0,1); }
.mx-trace { fill: none; stroke: var(--violet, #7b5cff); stroke-width: .9; opacity: .8; }
.mx-node { fill: var(--violet, #7b5cff); }
.mx-led { fill: var(--violet, #7b5cff); stroke: var(--ink, #0b0a10); stroke-width: 1.2; animation: mx-led 2.4s ease-in-out infinite; }
@keyframes mx-led { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.mailx-arrow { font-style: normal; font-size: 11px; opacity: 0; transform: translateX(-4px); transition: opacity .3s, transform .4s cubic-bezier(.2,.7,0,1); }
.mailx:hover, .mailx:focus-visible { color: var(--bone); border-color: var(--violet, #7b5cff); background: rgba(123,92,255,.08); }
.mailx:hover .mx-flap, .mailx:focus-visible .mx-flap { transform: scaleY(-1) translateY(-1px); }
.mailx:hover .mx-body { fill: rgba(123,92,255,.18); }
.mailx:hover .mailx-arrow, .mailx:focus-visible .mailx-arrow { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .mx-led { animation: none; } }

/* streaming links: quiet chips */
.sr { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.sl { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px 6px 8px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--bone-dim); font-size: 11.5px; font-family: var(--sans, "Geist", sans-serif); transition: color .3s, border-color .3s, background .3s; }
.sl svg, .ti svg { width: 14px; height: 14px; flex: none; }
.sl:hover { color: var(--bone); border-color: var(--violet, #7b5cff); background: rgba(123,92,255,.08); }
.ds-tracks li { grid-template-columns: 28px 1fr auto; align-items: center; }
.tl { display: inline-flex; gap: 2px; }
.ti { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: var(--bone-faint); transition: color .25s, background .25s; }
.ti span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ti:hover { color: var(--bone); background: rgba(123,92,255,.14); }
.ds-strip a { display: grid; gap: 8px; text-decoration: none; color: inherit; }
.stage-link { display: block; position: absolute; inset: 0; }
.stage-play { position: absolute; right: 16px; top: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 7px; border-radius: 999px; background: rgba(11,10,16,.6); backdrop-filter: blur(8px); color: var(--bone); font-size: 11px; border: 1px solid rgba(236,233,243,.2); transition: background .3s; }
.stage-play svg { width: 14px; height: 14px; }
.stage-link:hover .stage-play { background: var(--violet, #7b5cff); }

/* featured work */
.ft { padding: 24px 26px 26px; border-bottom: 1px solid var(--line); background: rgba(11,10,16,.66); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ft-hero { margin: 0 0 16px; border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 10; background: #0e0c15; }
.ft-hero img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s cubic-bezier(.2,.7,0,1); }
.ft:hover .ft-hero img { transform: scale(1.03); }
.ft-sub { margin: 0 0 10px; color: var(--bone-faint); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; }
.ft .ds-chips { margin-bottom: 0; }
.ft-pair { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; margin-top: 18px; }
.ft-pair img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; display: block; }
.ft.big { padding: clamp(22px, 2.6vw, 34px); border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(160deg, rgba(123,92,255,.07), rgba(11,10,16,0) 50%), var(--ink-2, #14121c); }
.ft.big .ft-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 0 28px; align-items: start; }
.ft.big .ft-body .ds-t { font-size: clamp(34px, 3.4vw, 54px); grid-column: 1; }
.ft.big .ft-body .ft-sub { grid-column: 1; }
.ft.big .ft-body .ds-x { grid-column: 2; grid-row: 1 / span 2; font-size: 15px; }
.ft.big .ft-body .ds-chips { grid-column: 1 / -1; margin-top: 10px; }
@media (max-width: 820px) { .ft.big .ft-body { grid-template-columns: 1fr; } .ft.big .ft-body .ds-x { grid-column: 1; grid-row: auto; } .ft-pair { grid-template-columns: 1fr; } }

/* product design: small, quiet, colour on look */
.pd { margin: clamp(28px, 4vw, 48px) 0 0; }
.pd ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.pd li { display: grid; gap: 7px; }
.pd img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; filter: saturate(.35) brightness(.8); transition: filter .7s cubic-bezier(.2,.7,0,1), transform .7s cubic-bezier(.2,.7,0,1); }
.pd li:hover img { filter: none; transform: translateY(-2px); }
.pd .mono { font-size: 9.5px; line-height: 1.35; letter-spacing: .04em; color: var(--bone-faint); }
@media (max-width: 820px) { .pd ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 480px) { .pd ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ── consulting panel v2 (2026-11-14) ──────────────────────────────────────
   Lifecycle as a dotted timeline (stage, what is read at that stage, the Sub-Clause), parties
   as the same row grammar without dots, contract forms as a small comparison matrix with a
   three-step risk meter. One grammar: label + line on the left, the clause on the right.   */
.sp-consult .lc { margin: 0; }
.sp-consult .lc::before { left: 4px; top: 16px; bottom: 16px; }
.sp-consult .lc li, .sp-consult .rl li { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 4px 14px; padding: 10px 0; border-bottom: 1px solid rgba(236,233,243,.06); }
.sp-consult .lc li { grid-template-columns: 22px 1fr auto; }
.sp-consult .lc li::before { margin-top: 5px; }
.lc-tx { display: grid; gap: 3px; min-width: 0; }
.sp-consult .lc-tx b { font-weight: 500; font-size: 13.5px; color: var(--bone-dim); letter-spacing: .005em; }
.sp-consult .lc-tx i { font-style: normal; font-size: 12px; line-height: 1.45; color: var(--bone-faint); }
.sp-consult li > em { justify-self: end; margin-top: 1px; font-style: normal; font-size: 9.5px; letter-spacing: .04em; color: var(--bone-faint); border: 1px solid var(--line); border-radius: 999px; padding: 3px 8px 2px; white-space: nowrap; }
.sp-consult li > em.none { border-color: transparent; }
.sp-consult .rl { margin: 0; }
.sp-consult .rl li b::before { display: none; }
.sp-consult li.lit .lc-tx b { color: var(--bone); }
.sp-consult li.lit .lc-tx i { color: var(--bone-dim); }
.sp-consult li.lit > em { color: var(--bone); border-color: var(--signal); }
.sp-consult .rl li.lit { box-shadow: inset 2px 0 0 var(--signal); padding-left: 10px; }
.sp-sub { margin-top: 26px !important; }
/* contract forms matrix */
.fm { display: grid; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.fm-r { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr) minmax(0, 1.1fr) 62px; gap: 10px; align-items: center; padding: 9px 12px 9px 16px; border-top: 1px solid rgba(236,233,243,.06); font-size: 11.5px; color: var(--bone-dim); }
.fm-r:first-child { border-top: 0; }
.fm-h { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--bone-faint); background: rgba(236,233,243,.025); padding-top: 8px; padding-bottom: 7px; }
.fm-r b { font-weight: 500; font-size: 12px; color: var(--bone); }
.fm-r:not(.fm-h)::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; }
.fm-red::before { background: #b5443b; } .fm-yellow::before { background: #c9a43a; } .fm-silver::before { background: #a7adb6; } .fm-bespoke::before { background: rgba(236,233,243,.28); }
.fm-risk { display: inline-flex; gap: 3px; }
.fm-risk i { width: 12px; height: 5px; border-radius: 2px; background: rgba(236,233,243,.12); }
.fm-risk i.on { background: var(--bone-dim); }
.fm-risk.open i { background: none; border: 1px dashed rgba(236,233,243,.28); }
.fm-r.lit { background: rgba(169,166,196,.07); }
.fm-r.lit .fm-risk i.on { background: var(--signal); }
.sp-note { margin: 18px 0 0; font-size: 9.5px; line-height: 1.6; letter-spacing: .04em; color: var(--bone-faint); text-transform: none; }
@media (max-width: 420px) {
  .fm-r { grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, 1fr) 46px; gap: 6px; padding-right: 8px; font-size: 10.5px; }
  .fm-risk i { width: 9px; }
}
.sp-consult .lc li::before { align-self: start; margin-top: 4px; }
.sp-consult .sp-k { font: 500 10px/1.4 var(--mono, "Geist Mono", monospace); letter-spacing: .14em; text-transform: uppercase; color: var(--bone-faint); }
.sp-consult li > em.none { visibility: hidden; }

/* ── release gate (2026-11-14): what a version must pass before it ships ── */
.ev { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.ev-hd { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.ev-hd .sp-k { margin: 0; font: 500 10px/1.4 var(--mono, "Geist Mono", monospace); letter-spacing: .14em; text-transform: uppercase; color: var(--bone-faint); }
.ev-hd .ev-ver { float: none; font-size: 10px; padding: 3px 9px 2px; border: 1px solid rgba(162,141,255,.45); border-radius: 999px; color: var(--violet-2, #a28dff); }
.ev-t { display: grid; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.ev-r { display: grid; grid-template-columns: minmax(0, 1fr) 70px 78px; gap: 10px; align-items: center; padding: 10px 12px; border-top: 1px solid rgba(236,233,243,.06); }
.ev-r:first-child { border-top: 0; }
.ev-h { padding-top: 8px; padding-bottom: 7px; background: rgba(236,233,243,.025); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--bone-faint); }
.ev-h span:nth-child(n+2), .ev-th, .ev-run { text-align: right; justify-self: end; }
.ev-m { display: grid; gap: 2px; min-width: 0; }
.ev-m b { font-weight: 500; font-size: 12.5px; color: var(--bone); }
.ev-m i { font-style: normal; font-size: 11px; line-height: 1.4; color: var(--bone-faint); }
.ev-th { font-size: 10.5px; color: var(--bone-dim); font-variant-numeric: tabular-nums; }
.ev-run { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; color: var(--bone) !important; font-variant-numeric: tabular-nums; }
.ev-run .ev-ok { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 3px rgba(123,92,255,.18); opacity: 1; animation: ev-pulse 6s var(--ease) infinite; animation-delay: calc(var(--i) * .5s); }
@keyframes ev-pulse { 0%, 70%, 100% { box-shadow: 0 0 0 3px rgba(123,92,255,.18); } 80% { box-shadow: 0 0 0 6px rgba(123,92,255,.05); } }
.ev-ft { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: start; margin-top: 12px; }
.ev-pass { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 3px; border-radius: 999px; background: rgba(123,92,255,.14); color: var(--lilac, #d8ceff); font-size: 10px; white-space: nowrap; }
.ev-pass i { width: 7px; height: 4px; border: 1.5px solid currentColor; border-top: 0; border-right: 0; transform: rotate(-45deg) translateY(-1px); }
.ev-ft p { margin: 0; font-size: 11.5px; line-height: 1.5; color: var(--bone-faint); }
@media (max-width: 420px) { .ev-r { grid-template-columns: minmax(0, 1fr) 58px 66px; gap: 6px; } .ev-ft { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ev-run .ev-ok { animation: none; } }
/* every panel label in one voice: small mono caps */
.sp .sp-k, .sp .sp-tag { font: 500 10px/1.4 var(--mono, "Geist Mono", monospace); letter-spacing: .14em; text-transform: uppercase; }
.sp .sp-k { color: var(--bone-faint); }
.sp .sp-tag { color: var(--violet-2, #a28dff); }

/* ── owner's tables (2026-11-14, second pass) ──────────────────────────────
   Contract forms: model | design | pricing on the first line, the typical application on a
   second line under the two value columns. Release evaluation: criterion with its description
   underneath | threshold | sample result. Header rows follow the same two-line grammar.      */
.fm-r { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 5px 12px; padding: 11px 12px 11px 16px; }
.fm-r > :nth-child(4) { grid-column: 2 / 4; }
.fm-r span { line-height: 1.4; }
.fm-use { font-size: 11px; color: var(--bone-faint); }
.fm-h { gap: 3px 12px; }
.fm-h > :nth-child(4) { color: rgba(236,233,243,.38); }
.fm-r.lit .fm-use { color: var(--bone-dim); }

.ev-r { grid-template-columns: minmax(0, 1fr) 84px 96px; align-items: start; gap: 10px; }
.ev-th, .ev-run, .ev-h > :nth-child(n+2) { text-align: right; justify-self: end; line-height: 1.4; }
.ev-run { align-items: baseline; }
.ev-run .ev-ok { flex: none; align-self: center; }
@media (max-width: 420px) {
  .fm-r { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 4px 8px; padding-right: 10px; font-size: 10.5px; }
  .ev-r { grid-template-columns: minmax(0, 1fr) 66px 78px; gap: 8px; }
}
.ev-run { align-items: flex-start; }
.ev-run .ev-ok { align-self: flex-start; margin-top: 5px; }
@media (max-width: 520px) {
}
@media (max-width: 520px) {
  .sp-consult li > em.wide { grid-column: 1 / -1; grid-row: 2; justify-self: start; margin-top: 4px; }
  .fm-h { font-size: 8.5px; letter-spacing: .04em; }
  .fm-h span { overflow-wrap: anywhere; }
}
/* the reviewer tag on step 06 never narrows the step text */
.wf li i { grid-column: 3 / -1; }
.ev-hd .ev-ver { white-space: nowrap; }
@media (max-width: 520px) {
  .wf li em { grid-column: 3; grid-row: 3; justify-self: start; margin-top: 6px; }
}

/* phones: every clause chip sits under its text (one rule for all rows, so the text keeps the
   full width and the chips line up on one left edge); panel tags never break */
.sp .sp-tag { white-space: nowrap; }
@media (max-width: 520px) {
  .sp-consult .lc li > em, .sp-consult .lc li > em.wide { grid-column: 2 / -1; grid-row: 2; justify-self: start; margin-top: 6px; }
  .sp-consult .rl li > em, .sp-consult .rl li > em.wide { grid-column: 1 / -1; grid-row: 2; justify-self: start; margin-top: 6px; }
  .sp-consult .lc li > em.none, .sp-consult .rl li > em.none { display: none; }
}
