/* Siddarth Nyati — portfolio hub. Standard: DESIGN.md.
   A cheque-paper slip torn off over a carbon desk.
   Three marks: filled circle a model, ruled square code, coral square a person.
   Coral appears only where a person acted. */

:root {
  color-scheme: dark;

  --carbon: #17204A;
  --carbon-2: #111838;
  --carbon-3: #222D63;
  --slip: #CFEBDB;
  --slip-2: #E3F4EA;
  --ink: #17204A;
  --ink-2: #3D4878;
  --paper: #F5F7FC;
  --paper-2: #B8C2E0;
  --paper-3: #8793BF;
  --stamp: #FF5C39;
  --stamp-ink: #D9381E;
  --line: rgba(245, 247, 252, 0.14);
  --line-2: rgba(245, 247, 252, 0.32);
  --line-ink: rgba(23, 32, 74, 0.22);
  --white: #FBFCFD;
  --wash: #EEF2F7;
  --line-white: #CDD7E5;

  --display: "Archivo", "Franklin Gothic Medium", "Arial Narrow", "Helvetica Neue", sans-serif;
  --text: "Ysabeau Office", "Gill Sans Nova", "Gill Sans", "Seravek", "Segoe UI", sans-serif;

  --fs-meta: 0.9375rem;
  --fs-body: 1.125rem;
  --fs-lede: 1.1875rem;

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 72px; --s7: 104px;
  --gutter: clamp(16px, 4vw, 40px);
  --wide: 1240px;
  --measure: 66ch;
  --radius: 10px;
  --tooth: 9px;
  --grain: 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='.75' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .09 0 0 0 0 .13 0 0 0 0 .29 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-desk: 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  --waves: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='14' viewBox='0 0 56 14'%3E%3Cpath d='M0 7c7-7 21-7 28 0s21 7 28 0' fill='none' stroke='%2317204A' stroke-opacity='.075'/%3E%3C/svg%3E");
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; scrollbar-color: var(--paper-3) var(--carbon-2); scrollbar-width: thin; background: var(--carbon); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body { margin: 0; background: var(--carbon); color: var(--paper); font-family: var(--text); font-size: var(--fs-body); line-height: 1.5; font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; accent-color: var(--slip); caret-color: var(--slip); }
::selection { background: var(--paper); color: var(--ink); }

h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
h2 { font-stretch: 72%; font-weight: 800; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem); line-height: 0.98; letter-spacing: -0.008em; }
h3 { font-stretch: 88%; font-weight: 700; font-size: 1.25rem; line-height: 1.15; letter-spacing: -0.005em; }
p { margin: 0; text-wrap: pretty; }
img, svg { display: block; max-width: 100%; }
figure { margin: 0; }
dl, dd { margin: 0; }

a { color: inherit; text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); transition: text-decoration-color .2s var(--ease-out), color .2s var(--ease-out); }
a:hover { text-decoration-color: currentColor; text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: calc(var(--wide) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: var(--gutter); top: -60px; background: var(--slip); color: var(--ink); padding: 10px 16px; z-index: 50; text-decoration: none; }
.skip:focus { top: 8px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- the three marks ---------- */
.mark-model { fill: currentColor; }
.mark-code { fill: none; stroke: currentColor; stroke-width: 1.6; }
.mark-person { fill: var(--stamp); }
.mark-ring { fill: none; stroke: var(--stamp); stroke-width: 1.5; }
.mark-person-if { fill: none; stroke: var(--stamp); stroke-width: 2; }
.top .mark-person, .contact .mark-person, .quote .mark-person, .sheet .mark-person { fill: var(--stamp-ink); }

/* ---------- draft markers (draft builds only) ---------- */
.draft-bar { background: #7A2A1B; color: #FFF1EC; font-size: var(--fs-meta); padding: 6px var(--gutter); text-align: center; }
.unsigned { text-decoration: underline dotted var(--stamp); text-underline-offset: 0.22em; text-decoration-thickness: 2px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--carbon-2); color: var(--paper); }
.site-header .wrap { display: flex; align-items: center; gap: var(--s3); min-height: 54px; }
.brand { font-family: var(--display); font-stretch: 88%; font-weight: 700; font-size: 1.1875rem; color: var(--paper); text-decoration: none; margin-right: auto; display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); font-size: 1.0625rem; }
.site-nav a:not(.btn) { color: var(--paper-2); text-decoration: none; font-weight: 500; }
.site-nav a:not(.btn):hover { color: var(--paper); }
@media (max-width: 1000px) { .site-nav a:not(.btn) { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; min-height: 46px; padding: 10px 20px; font-family: var(--display); font-stretch: 92%; font-weight: 700; font-size: 1.0625rem; line-height: 1.2; border-radius: 999px; text-decoration: none; border: 1.5px solid var(--line-2); color: var(--paper); background: transparent; cursor: pointer; transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out), transform .2s var(--ease-out), color .2s; }
.btn:hover { border-color: var(--paper); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--ink, .btn--paper, .btn--coral { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--ink:hover, .btn--paper:hover, .btn--coral:hover { background: var(--paper-2); border-color: var(--paper-2); color: var(--ink); }
.btn--small { min-height: 36px; padding: 5px 16px; font-size: 1rem; }
.contact .btn--sign { background: var(--ink); color: var(--slip); border-color: var(--ink); }
.contact .btn--sign:hover { background: var(--carbon-3); border-color: var(--carbon-3); color: var(--white); }
@media (max-width: 480px) { .site-nav .btn--small { padding: 5px 12px; font-size: 0.9375rem; } }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.actions .plain { font-weight: 600; }

/* ---------- the slip ---------- */
.lift { position: relative; z-index: 2; filter: drop-shadow(0 9px 10px rgba(4, 7, 22, 0.5)); }
.lift--up { filter: drop-shadow(0 -7px 10px rgba(4, 7, 22, 0.45)); }
.top { position: relative; background-color: var(--slip); color: var(--ink); overflow: hidden;
  background-image: var(--grain), var(--waves);
  padding-bottom: calc(var(--tooth) + 4px);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--tooth)) 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--tooth)) 100%; }
.top a { color: var(--ink); }
.top__grid { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 10px; padding-top: clamp(16px, 2.6vh, 26px); }
.top__copy { display: grid; gap: 8px; justify-items: start; }
.top__copy h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.statement { font-family: var(--display); font-stretch: 64%; font-weight: 800; font-size: clamp(2.125rem, 0.5rem + 3.15vw, 3.5rem); line-height: 0.98; letter-spacing: -0.004em; color: var(--ink); text-wrap: balance; }
.status { font-size: 1.0625rem; color: var(--ink-2); font-weight: 500; }
.blurb { font-size: 1.0625rem; line-height: 1.45; color: var(--paper-2); max-width: 52ch; }


/* the journey, in ink on the slip */
.journey { display: grid; gap: 2px; min-width: 0; padding-bottom: clamp(8px, 1.4vh, 14px); }
.curve { position: relative; height: 128px; margin-top: clamp(10px, 1.6vh, 16px); }
.curve .track { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.curve .track path { fill: none; stroke: var(--ink); stroke-opacity: .55; stroke-width: 2; stroke-dasharray: 1 7; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.curve button { position: absolute; transform: translate(-50%, -13px); background: none; border: 0; padding: 6px 4px; cursor: pointer; font: inherit; color: var(--ink-2); display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
.curve .when { display: flex; align-items: baseline; gap: 6px; margin-top: 2px; white-space: nowrap; }
.curve .nd { width: 4px; height: 15px; border-radius: 2px; background: var(--ink); opacity: .5; transition: transform .2s var(--ease-out), opacity .2s; }
.curve .yr { font-family: var(--display); font-stretch: 85%; font-size: 0.8125rem; font-weight: 700; font-variant-numeric: tabular-nums lining-nums; color: var(--ink-2); line-height: 1.1; }
.curve .lb { font-size: 0.8125rem; font-weight: 600; white-space: nowrap; line-height: 1.15; }
.curve .figs { display: flex; gap: 14px; align-items: flex-start; }
.curve .fig { display: grid; gap: 2px; justify-items: center; }
.curve .fig b { font-family: var(--display); font-stretch: 80%; font-weight: 800; font-size: 1.25rem; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums lining-nums; }
.curve .fig small { font-size: 0.6875rem; font-weight: 600; color: var(--ink-2); line-height: 1.1; white-space: nowrap; }
.journey__cap { min-height: 1.5em; margin-top: 0; font-size: 0.875rem; color: var(--ink-2); }
.journey__cap p { margin: 0; } .journey__cap b { color: var(--ink); font-weight: 700; }
.curve button:hover { color: var(--ink); }
.curve button:hover .nd { opacity: .85; }
.curve button[aria-selected="true"] { color: var(--ink); }
.curve button[aria-selected="true"] .nd { opacity: 1; transform: scale(1.5, 1.35); }
.curve button[aria-selected="true"] .yr { color: var(--ink); }

@media (max-width: 1000px) {
  .journey:not(.is-open) .journey__cap { display: none; }
  .curve .nd { height: 12px; }
  .curve button[aria-selected="true"] .nd { transform: none; }
  .curve { height: auto; display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s2); }
  .curve .track { display: none; }
  .curve button { position: static; transform: none; flex-direction: row; gap: 8px; align-items: center; padding: 6px 12px 6px 8px; border: 1.5px solid var(--line-ink); border-radius: 999px; }
  .curve button[aria-selected="true"] { border-color: var(--ink); }
  .curve .when { margin-top: 0; }
  .curve .lb { display: none; }
  .curve .figs { gap: 8px; }
  .curve .fig b { font-size: 1rem; }
  .journey__cap { margin-top: 10px; min-height: 0; }
}

/* ---------- the desk: sections of pictures ---------- */
.group { padding-block: var(--s6); background-image: var(--grain-desk); }
.group--lead { padding-top: clamp(22px, 3.4vh, 34px); }
.group + .group { border-top: 2px dotted var(--line-2); }
#stablecoins, #colleagues { background: var(--carbon-2); }
.group:last-of-type { padding-bottom: var(--s7); }
.group__grid { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--s4); }
.group--lead .group__grid { row-gap: 20px; }
.group__grid > h2 { color: var(--paper); }
.group__intro { color: var(--paper-2); font-size: var(--fs-lede); max-width: 52ch; }
.group__intro a { color: var(--paper); font-weight: 600; }
.notes { display: none; }
@media (max-width: 1000px) { .group { padding-block: var(--s5); } }

.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s5) var(--s4); }
.tile { grid-column: span 2; scroll-margin-top: 96px; }
.tile--wide { grid-column: span 3; }
#stablecoins .tile--wide .thumb { aspect-ratio: 2 / 1; }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4) var(--s3); } .tile, .tile--wide { grid-column: span 1; } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }
.tile__link { display: grid; gap: 10px; color: var(--paper); text-decoration: none; align-content: start; }
.thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--carbon-3); transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out), transform .35s var(--ease-out); }
.thumb img, .thumb > svg { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .7s var(--ease-out); }
.flag { position: absolute; z-index: 1; left: 10px; top: 10px; font-family: var(--display); font-stretch: 88%; font-size: 0.8125rem; font-weight: 700; line-height: 1; color: var(--paper); background: var(--carbon-2); border: 1px solid var(--line-2); border-radius: 3px; padding: 6px 9px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); }
.flag--work { color: var(--ink); background: var(--slip); border-color: var(--slip); }
.tile__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px 14px; flex-wrap: nowrap; margin-top: 2px; }
.tile__row h3 { min-width: 0; color: var(--paper); transition: color .2s var(--ease-out); }
.oneline { color: var(--paper-2); font-size: 1rem; line-height: 1.4; }
.tile__state { font-size: 0.875rem; color: var(--stamp); font-weight: 600; }
.stat { display: grid; justify-items: end; text-align: right; line-height: 1; flex: none; }
.stat b { font-family: var(--display); font-stretch: 78%; font-weight: 800; font-size: 1.5rem; color: var(--paper); font-variant-numeric: tabular-nums lining-nums; }
.stat small { font-size: 0.75rem; color: var(--paper-3); margin-top: 3px; white-space: nowrap; }
a.tile__link:hover .thumb { border-color: var(--line-2); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.85); transform: translateY(-5px); }
a.tile__link:hover .thumb img { transform: scale(1.025); }
a.tile__link:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.16em; }
a.tile__link:focus-visible { outline-offset: 6px; border-radius: var(--radius); }
.tile__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-family: var(--display); font-stretch: 90%; font-size: 0.9375rem; font-weight: 700; }
.lnk { color: var(--paper-2); text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.lnk:hover { color: var(--paper); }
.lnk--live { color: var(--paper); text-decoration-thickness: 2px; text-decoration-color: currentColor; }
.lnk--live:hover { color: var(--white); }
.thumb--screen { background: var(--field, var(--carbon-3)); border-color: transparent; }
.thumb--screen img { position: absolute; left: 9%; top: 15%; width: 100%; height: auto; max-width: none; border-radius: 10px 0 0 0; object-fit: unset; }

.cover .pulse { opacity: 0; offset-distance: 0%; }
.cover .keystone { transform-box: fill-box; transform-origin: center; }

/* ---------- colleague slips ---------- */
.quotes__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); align-items: start; padding-top: 6px; }
@media (max-width: 900px) { .quotes__row { grid-template-columns: 1fr; gap: var(--s3); } }
@media (max-width: 900px) { .quote:nth-child(n) { transform: none; } }

/* ---------- the closing slip: a signature line ---------- */
.contact { background-color: var(--slip); color: var(--ink); padding-block: calc(var(--s6) + var(--tooth)) var(--s6); position: relative;
  background-image: var(--grain), var(--waves);
  -webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--tooth)) 100%;
  mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--tooth)) 100%; }
.contact a { color: var(--ink); }
.contact h2 { font-stretch: 66%; font-size: clamp(2.25rem, 1.2rem + 4.4vw, 4.5rem); color: var(--ink); }
.contact .actions { margin-top: var(--s4); gap: 12px 26px; }
.site-footer { background: var(--carbon-2); color: var(--paper-3); font-size: var(--fs-meta); padding-block: var(--s4) var(--s5); }

/* ---------- the scripted agent: a paper device ---------- */
.device__sub { color: #5C6F93; font-size: 0.8125rem; margin-left: auto; }
.agent__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 12px; }
.agent__chips button { font: inherit; font-size: 0.9375rem; font-weight: 600; line-height: 1.2; color: var(--ink); background: var(--white); border: 1px solid var(--line-white); border-radius: 999px; padding: 7px 12px; cursor: pointer; transition: border-color .15s, background-color .15s; }
.agent__chips button:hover { border-color: var(--ink); background: var(--wash); }
dialog.agent { position: fixed; inset: 0 0 0 auto; margin: 0; height: 100dvh; max-height: 100dvh; width: min(440px, 100%); max-width: 100%; border: 0; padding: 0; background: var(--white); color: var(--ink); box-shadow: -24px 0 60px -30px rgba(0, 0, 0, 0.8); flex-direction: column; }
dialog.agent[open] { display: flex; }
dialog.agent::backdrop { background: rgba(8, 12, 30, 0.6); }
.agent__head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line-white); }
.agent__head h2 { font-size: 1.1875rem; font-stretch: 88%; font-weight: 700; color: var(--ink); }
.agent__close { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-white); background: var(--white); color: var(--ink); font-size: 1.375rem; line-height: 1; cursor: pointer; }
.agent__close:hover { background: var(--wash); }
.agent__log { flex: 1; overflow: auto; padding: 18px; display: grid; gap: 12px; align-content: start; }
.msg { max-width: 92%; padding: 10px 14px; border-radius: 14px; font-size: 1rem; line-height: 1.45; }
.msg p { margin: 0; }
.msg--agent { background: var(--wash); justify-self: start; border-bottom-left-radius: 4px; }
.msg--you { background: var(--ink); color: var(--white); justify-self: end; border-bottom-right-radius: 4px; }
.msg .seal { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-stretch: 88%; font-size: 0.8125rem; font-weight: 700; color: var(--stamp-ink); margin-top: 8px; }
.msg .typing::after { content: ""; display: inline-block; width: 2px; height: 1em; background: var(--ink); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { to { opacity: 0; } }
.agent__ask { display: flex; gap: 8px; padding: 12px 18px 18px; border-top: 1px solid var(--line-white); }
.agent__ask input { flex: 1; min-width: 0; font: inherit; padding: 9px 14px; border: 1.5px solid var(--line-white); border-radius: 999px; background: var(--white); color: var(--ink); }
.agent__ask input:focus { outline: none; border-color: var(--ink); }
.agent__ask input::placeholder { color: #5C6F93; }
.agent__ask .btn { background: var(--ink); color: var(--white); border-color: var(--ink); }
.agent-fab { position: fixed; right: 22px; bottom: 22px; z-index: 45; display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-stretch: 90%; font-weight: 700; font-size: 1.0625rem; color: var(--ink); background: var(--paper); border: 1.5px solid var(--ink); border-radius: 999px; padding: 12px 20px 12px 15px; box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.85); cursor: pointer; transition: transform .2s var(--ease-out), background-color .2s; }
.agent-fab:hover { transform: translateY(-2px); background: var(--white); }
dialog.agent[open] ~ .agent-fab { display: none; }
@media (max-width: 560px) { .agent-fab { right: 14px; bottom: 14px; font-size: 0.9375rem; padding: 10px 16px 10px 13px; } }

/* ---------- case pages and the ledger ---------- */
.stops svg .rail { stroke: var(--line-2); stroke-width: 1.5; }
.stops svg { max-width: 100%; height: auto; overflow: visible; color: var(--paper); }
.case { padding-block: var(--s5) var(--s7); }
.case__back { display: inline-flex; align-items: center; gap: 6px; font-size: 1.0625rem; font-weight: 600; color: var(--paper-2); }
.case__head { display: grid; gap: var(--s2); margin-top: var(--s4); max-width: 54rem; justify-items: start; }
.case__tag { font-family: var(--display); font-stretch: 88%; font-size: var(--fs-meta); font-weight: 700; color: var(--paper-2); }
.case__head h1 { font-stretch: 68%; font-weight: 800; font-size: clamp(2.25rem, 1.2rem + 4vw, 4.25rem); line-height: 0.97; }
.case__thumb { margin-top: var(--s5); max-width: 60rem; }
.case__body { display: grid; gap: var(--s5); margin-top: var(--s5); max-width: 46rem; }
.case__body h2 { font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.125rem); margin-bottom: var(--s2); }
.case__body p + p { margin-top: var(--s2); }
.case__body p, .case__body li { color: var(--paper-2); max-width: var(--measure); }
.case__body ul { margin: 0; padding-left: 1.1em; display: grid; gap: 10px; }
.case__body li::marker { color: var(--paper-3); }
.case__body strong { color: var(--paper); font-weight: 650; }
.case__body .proof { list-style: none; padding-left: 0; gap: 0; margin-top: var(--s1); border-top: 1.5px solid var(--line-2); }
.case__body .proof li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: var(--s3); padding: 14px 0; max-width: none; border-bottom: 1px solid var(--line); }
.case__body .proof .fig { font-family: var(--display); font-stretch: 78%; font-weight: 800; font-size: 1.75rem; color: var(--paper); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.stoplist { list-style: none; padding: 0; margin: var(--s2) 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); color: var(--paper); }
.stoplist li { display: grid; grid-template-columns: 28px minmax(0, 12rem) minmax(0, 1fr); gap: 4px 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); max-width: none; }
.stoplist svg { width: 16px; height: 16px; align-self: center; }
.stoplist b { color: var(--paper); font-weight: 650; }
@media (max-width: 560px) { .stoplist li { grid-template-columns: 28px 1fr; } .stoplist li span { grid-column: 2; } }
.sheet { background-color: var(--slip); background-image: var(--grain), var(--waves); color: var(--ink); border-radius: 3px; padding: clamp(18px, 3vw, 40px); margin-top: var(--s5); max-width: 66rem; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.85); }
.sheet a { color: var(--ink); font-weight: 600; }
.ledger__table { width: 100%; border-collapse: collapse; margin-top: var(--s3); font-size: 1.0625rem; }
.ledger__table th { text-align: left; font-family: var(--display); font-stretch: 88%; font-weight: 700; font-size: 0.9375rem; color: var(--ink-2); padding: 0 16px 10px 0; border-bottom: 1.5px solid var(--ink); }
.ledger__table td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line-ink); vertical-align: top; color: var(--ink); }
.ledger__table tr:target td { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.ledger__who { color: var(--ink-2); white-space: nowrap; }
@media (max-width: 700px) { .ledger__table td { display: block; padding: 10px 0 0; border: 0; } .ledger__table td.ledger__who { padding: 4px 0 12px; border-bottom: 1px solid var(--line-ink); white-space: normal; } .ledger__table thead { display: none; } }

.error-page { min-height: 60svh; display: grid; align-content: center; gap: var(--s3); padding-block: var(--s7); justify-items: start; }
.error-page h1 { font-stretch: 68%; font-weight: 800; font-size: clamp(2.25rem, 1.2rem + 4vw, 4.25rem); }

/* ---------- decluttered (4 Oct, pass 10): fewer words, no marks ---------- */
.top__grid { padding-top: clamp(22px, 3.6vh, 38px); row-gap: 12px; }
.top__copy { gap: 10px; }
.curve { margin-top: clamp(14px, 2.2vh, 22px); }
.journey { padding-bottom: clamp(10px, 1.6vh, 16px); }

.device__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--stamp); flex: none; animation: glow 2.2s ease-in-out infinite; }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--stamp) 55%, transparent); } 55% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--stamp) 0%, transparent); } }

.quote { background-color: var(--slip-2); background-image: var(--grain); color: var(--ink); border-radius: 3px; padding: 26px 28px 20px; display: grid; gap: 22px; align-content: space-between; box-shadow: 0 18px 36px -22px rgba(0, 0, 0, 0.8); transition: transform .35s var(--ease-out), box-shadow .3s var(--ease-out); }
.quotes__row { align-items: stretch; }
.quote:nth-child(1) { transform: rotate(-0.7deg); }
.quote:nth-child(2) { transform: rotate(0.5deg) translateY(8px); }
.quote:nth-child(3) { transform: rotate(-0.3deg) translateY(2px); }
.quote:hover { transform: rotate(0) translateY(-4px); box-shadow: 0 26px 44px -22px rgba(0, 0, 0, 0.85); }
@media (max-width: 900px) { .quote:nth-child(n) { transform: none; } }
.quote blockquote { margin: 0; }
.quote blockquote p { font-family: var(--display); font-stretch: 80%; font-weight: 700; font-size: clamp(1.375rem, 1.1rem + 0.7vw, 1.75rem); line-height: 1.12; color: var(--ink); text-wrap: balance; }
.quote figcaption { display: grid; gap: 1px; font-size: 0.9375rem; color: var(--ink-2); border-top: 1.5px solid var(--ink); padding-top: 12px; }
.quote figcaption b { color: var(--ink); font-family: var(--display); font-stretch: 88%; font-weight: 700; font-size: 1.0625rem; }
.quote__rel { color: var(--ink-2); font-size: 0.875rem; }
.quotes .tile__links { margin-top: var(--s3); }

.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 40px; justify-content: space-between; }
.site-footer p { max-width: 70ch; }
.site-footer a { color: var(--paper); font-weight: 600; }
.ledger__facts { font-size: 1.0625rem; font-weight: 600; color: var(--ink); border-block: 1.5px solid var(--ink); padding: 10px 0; }
.quote figcaption span { text-wrap: balance; }
