/* Hallmark · shape: Stat-Led · genre: modern-minimal · theme: Cobalt (deal 1/3, seed portfolio-sahil-mangla-backend-cb79·bae4a988·2026-11-05·r0) · job: hire · draw: 2f7ef8
 * hero: Banner · nav: banner over a retracting bar · footer: statement · imagery: none · signature: a working bfloat16 nextafter stepper, the old code stuck against the fix
 * axes: light/grotesk-sans/cool · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: H, the index and the table are both quiet rows; the table is set as a ruled run with row heads in the display face and the index lead row is larger, so the two read as different things */
/* Hallmark · dismissed 46a · the 15,000+ teams figure is from the resume's ISRO hackathon line, not invented */
@import url("./tokens.css");
@import url("./base.css");

:root { --banner-h: 56px; --bar-h: 48px; }

/* ---------- shared parts ---------- */
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); border-radius: var(--radius-input); }
.skip:focus-visible { top: var(--space-md); }

.key { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-input); background: var(--color-key-face); color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-display); text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: var(--shadow-key); transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out); }
.key:hover { transform: translateY(-1px); }
.key:active { transform: translateY(3px); box-shadow: var(--shadow-key-press); }
.key:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.key--primary { background: var(--color-accent); border-color: var(--color-accent-edge); color: var(--color-accent-ink); box-shadow: var(--shadow-key-accent); }
.key--primary:hover { background: var(--color-accent-deep); }
.key--sm { min-height: 40px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.key--icon { width: 40px; padding: 0; }
.key .gh { width: 20px; height: 20px; flex-shrink: 0; fill: currentColor; }
.key--icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:root[data-theme="dark"] .icon-moon, :root:not([data-theme="dark"]) .icon-sun { display: none; }
html:not(.js) #theme { display: none; }
.site__bar .key { color: var(--color-ink); }
.site__bar .key--primary { color: var(--color-accent-ink); }
.site__bar .key:hover { text-decoration: none; }
.site__bar .key--sm { min-height: 40px; }
.key:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.cut { border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper); }
@supports (corner-shape: bevel) { .cut { border-radius: var(--cut-l) 4px var(--cut-l) 4px; corner-shape: bevel round bevel round; } }

a:hover { text-decoration-color: var(--color-accent); }
code, .mono { font-family: var(--font-outlier); font-size: 0.92em; font-variant-numeric: tabular-nums; }

/* ---------- nav: a banner over a bar that retracts ---------- */
.site { position: sticky; top: calc(-1 * var(--banner-h)); z-index: var(--z-sticky-nav); background: var(--color-paper); }
.site__banner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); height: var(--banner-h); }
.wordmark { white-space: nowrap; font: 600 var(--text-lg)/1 var(--font-display); letter-spacing: var(--tracking-display); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.site__contact { display: flex; align-items: center; gap: var(--space-lg); font-size: var(--text-sm); color: var(--color-ink-2); }
.site__contact a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink); }
.site__bar { border-block: var(--rule-hair) solid var(--color-rule); background: var(--color-paper); }
.site__bar .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); height: var(--bar-h); }
.site__proof { display: flex; align-items: center; gap: var(--space-xs); margin: 0 auto 0 var(--space-lg); font: 500 var(--text-xs)/1 var(--font-display); color: var(--color-ink-2); }
.site__proof a { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 28px; padding: 0 var(--space-sm); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-pill); color: var(--color-ink); text-decoration: none; }
.site__proof a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); }
.site__proof a:hover { border-color: var(--color-accent); }
.site__bar ul { flex: 1 1 auto; min-width: 0; display: flex; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.site__tools { flex-shrink: 0; display: flex; align-items: center; gap: var(--space-md); }
.site__bar a { display: inline-flex; align-items: center; min-height: 44px; font: 500 var(--text-sm)/1 var(--font-display); color: var(--color-ink-2); text-decoration: none; white-space: nowrap; }
.site__bar a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.35em; }
.site__bar .site__ext { flex-shrink: 0; }

/* ---------- hero: Banner ---------- */
.hero { position: relative; overflow: clip; padding-block: var(--space-2xl) var(--space-xl); }
html:not(.js) .hero { background-image: radial-gradient(circle, var(--color-glyph-2) 1px, transparent 1.4px); background-size: var(--cell-w) var(--cell-h); }
.hero__field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__in { position: relative; z-index: var(--z-base); display: grid; gap: var(--space-lg); justify-items: start; }
.hero h1 { max-width: 20ch; }
.hero .lead { max-width: 30ch; color: var(--color-ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-md); margin-top: var(--space-xs); }

/* ---------- sections ---------- */
.section { padding-top: var(--section-gap-s); }
.section--work { padding-top: var(--section-gap); }
.section--band { margin-top: var(--section-gap); padding-block: var(--section-gap-s); background: var(--color-paper-2); border-block: var(--rule-hair) solid var(--color-rule); }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: start; }
.split--center { align-items: center; }
.split__text { grid-column: 1 / 6; display: grid; gap: var(--space-lg); align-content: start; }
.split__body { grid-column: 6 / 13; min-width: 0; }
.meta { font-size: var(--text-sm); color: var(--color-ink-2); }
.meta a { color: var(--color-ink); }

/* ---------- the case: the bfloat16 stepper ---------- */
.rig { margin: 0; display: grid; gap: var(--space-lg); padding: var(--space-lg); }
.rig__plain { margin: 0; font-size: var(--text-md); color: var(--color-ink); max-width: 56ch; }
.rig__panes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.pane { display: grid; gap: var(--space-md); align-content: start; padding: var(--space-lg) var(--space-md); background: var(--color-graphite); color: var(--color-graphite-ink); border-radius: var(--cut) 3px var(--cut) 3px; min-width: 0; grid-template-columns: minmax(0, 1fr); container-type: inline-size; }
@supports (corner-shape: bevel) { .pane { border-radius: var(--cut) 3px var(--cut) 3px; corner-shape: bevel round bevel round; } }
.pane h3 { font-weight: 500; font-size: var(--text-md); color: var(--color-graphite-muted); letter-spacing: 0; }
.pane__val { margin: 0; font: 600 min(var(--text-display-s), 20cqi)/1 var(--font-display); letter-spacing: var(--tracking-display); font-variant-numeric: tabular-nums; min-height: 1em; color: var(--color-graphite-ink); }
.bits, .bits-labels { display: flex; gap: var(--space-sm); margin: 0; }
.bits__g { display: flex; min-width: 0; }
.bits-labels span { min-width: 0; text-align: center; font-size: var(--text-xs); line-height: 1; color: var(--color-graphite-muted); white-space: nowrap; }
.g-s { flex: 1 1 0; } .g-e { flex: 8 1 0; } .g-f { flex: 7 1 0; }
.bits__g i { flex: 1 1 0; min-width: 0; display: grid; place-items: center; height: 32px; font: 400 var(--text-sm)/1 var(--font-outlier); font-style: normal; color: var(--color-graphite-muted); background: var(--color-graphite-2); border-bottom: 2px solid var(--color-graphite-glyph-2); margin-inline: 1px; }
.bits__g.g-f i { color: var(--color-accent-2); border-bottom-color: var(--color-accent-2); }
.bits__g i.chg { background: var(--color-accent); color: var(--color-accent-ink); border-bottom-color: var(--color-accent-2); }
.pane__note { margin: 0; display: flex; align-items: flex-start; gap: var(--space-xs); min-height: 2lh; font-size: var(--text-sm); line-height: 1.5; color: var(--color-graphite-ink); }
.pane__note svg { flex-shrink: 0; margin-top: var(--space-3xs); width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pane__note svg[hidden] { display: none; }
.pane--bug .pane__note svg { color: var(--color-error); }
.pane--fix .pane__note svg { color: var(--color-accent-2); }
.pane__note code { color: var(--color-accent-2); }
.rig__controls { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-lg); }
.tray { display: flex; align-items: center; gap: var(--space-sm); margin: 0; padding: var(--space-xs); border: 0; border-radius: var(--radius-card); background: var(--color-paper-3); }
.tray legend { float: left; padding: 0 var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); }
.tray input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tray label { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; min-height: 44px; padding: 0 var(--space-sm); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-input); background: var(--color-key-face); font: 500 var(--text-sm)/1 var(--font-outlier); cursor: pointer; box-shadow: 0 2px 0 0 var(--color-key-edge); transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out); }
.tray input:checked + label { transform: translateY(2px); box-shadow: var(--shadow-key-press); background: var(--color-accent-wash); border-color: var(--color-accent); }
.tray input:focus-visible + label { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.rig__count { margin: 0; margin-left: auto; font: 500 var(--text-md)/1 var(--font-display); font-variant-numeric: tabular-nums; color: var(--color-ink-2); }
.rig figcaption { font-size: var(--text-sm); color: var(--color-ink-2); max-width: 60ch; }

/* ---------- the index ---------- */
.head { display: grid; gap: var(--space-md); margin-bottom: var(--space-xl); }
.index { list-style: none; margin: 0; padding: 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.index li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xs); align-items: baseline; padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.index h3 { grid-column: 1 / 5; font-weight: 500; }
.index p { grid-column: 5 / 10; max-width: none; color: var(--color-ink-2); }
.index .proof { grid-column: 10 / 13; text-align: right; font: 500 var(--text-md)/1.4 var(--font-display); font-variant-numeric: tabular-nums; color: var(--color-ink); }
.index .proof a { color: var(--color-ink); }
.index li:first-child { padding-block: var(--space-xl); }
.index li:first-child h3 { font-size: var(--text-2xl); font-weight: 600; letter-spacing: var(--tracking-display); }
.index li:first-child p { font-size: var(--text-lg); color: var(--color-ink); }

/* ---------- project peek: a small card that follows a hovered or focused title ---------- */
.index h3[data-peek] { width: fit-content; cursor: default; text-decoration: underline dotted; text-decoration-thickness: 1px; text-decoration-color: var(--color-rule-2); text-underline-offset: 0.22em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.index h3[data-peek]:hover, .index h3[data-peek]:focus-visible { text-decoration-color: var(--color-accent); }
.peek { position: fixed; left: 0; top: 0; z-index: var(--z-tooltip); width: 340px; max-width: calc(100vw - 24px); overflow: hidden; background: var(--color-graphite); color: var(--color-graphite-ink); border: var(--rule-hair) solid var(--color-graphite-2); border-radius: var(--cut) 3px var(--cut) 3px; box-shadow: 0 22px 44px -14px oklch(0% 0 0 / 0.5); pointer-events: none; visibility: hidden; opacity: 0; transform: translateY(6px) scale(0.98); transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out), visibility 0s linear var(--dur-short); }
@supports (corner-shape: bevel) { .peek { corner-shape: bevel round bevel round; } }
.peek.on { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
@media (hover: none) { .peek { pointer-events: auto; } }
.peek__media { position: relative; box-sizing: border-box; aspect-ratio: 7 / 4; padding: 4px 0; background: #0d1117; overflow: hidden; }
.peek__media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.peek__body { display: grid; gap: var(--space-2xs); padding: var(--space-sm) var(--space-md) var(--space-md); }
.peek__body b { font: 600 var(--text-md)/1.2 var(--font-display); letter-spacing: var(--tracking-display); }
.peek__body p { font-size: var(--text-sm); line-height: 1.45; color: var(--color-graphite-muted); }

/* in-house panels for projects that have no GIF yet (same dark look, CSS only) */
.viz { position: absolute; inset: 4px 0; display: grid; align-content: center; gap: 10px; padding: 0 22px; font: 400 12px/1.3 var(--font-outlier); color: var(--color-graphite-ink); --v-good: oklch(72% 0.16 150); --v-bad: oklch(70% 0.17 27); --v-blue: oklch(70% 0.14 256); --v-line: oklch(30% 0.028 262); --v-fill: oklch(21% 0.026 262); }
.viz p, .viz ul { margin: 0; max-width: none; }
.viz__cap { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-graphite-muted); }
.viz__row { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border: 1px solid var(--v-line); border-radius: 6px; background: var(--v-fill); opacity: 0; }
.viz__row span { width: 44px; color: var(--color-graphite-muted); }
.viz__row code { font-size: 12.5px; }
.viz__row--bad { border-color: color-mix(in oklab, var(--v-bad) 55%, transparent); animation: vz-a 6s var(--ease-out) infinite; }
.viz__row--bad code { color: var(--v-bad); }
.viz__row--good { border-color: color-mix(in oklab, var(--v-good) 55%, transparent); animation: vz-b 6s var(--ease-out) infinite; }
.viz__row--good code { color: var(--v-good); }
@keyframes vz-a { 0%, 6% { opacity: 0; transform: translateY(5px); } 16%, 90% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes vz-b { 0%, 34% { opacity: 0; transform: translateY(5px); } 44%, 90% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }

.bar { position: relative; display: grid; align-items: center; min-height: 32px; padding: 4px 12px; box-sizing: border-box; border-radius: 5px; background: var(--v-fill); border: 1px solid var(--v-line); overflow: hidden; }
.bar i { position: absolute; inset: 4px auto 4px 4px; width: calc(100% - 8px); border-radius: 2px; background: color-mix(in oklab, var(--v-blue) 38%, transparent); border-right: 2px solid var(--v-blue); }
.bar span { grid-area: 1 / 1; position: relative; z-index: 1; }
.bar--b i { background: color-mix(in oklab, var(--v-good) 34%, transparent); border-right-color: var(--v-good); animation: vz-shrink 6s var(--ease-in-out) infinite; }
.bar--b .from { animation: vz-from 6s linear infinite; }
.bar--b .to { opacity: 0; animation: vz-to 6s linear infinite; }
.viz__pill { justify-self: start; padding: 8px 14px; border-radius: 999px; background: color-mix(in oklab, var(--v-good) 18%, transparent); color: var(--v-good); opacity: 0; animation: vz-pill 6s var(--ease-out) infinite; }
@keyframes vz-shrink { 0%, 18% { width: calc(100% - 8px); } 42%, 92% { width: calc(93.9% - 8px); } 100% { width: calc(100% - 8px); } }
@keyframes vz-from { 0%, 30% { opacity: 1; } 36%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes vz-to { 0%, 30% { opacity: 0; } 36%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes vz-pill { 0%, 40% { opacity: 0; transform: translateY(4px); } 50%, 90% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }

.viz--flow, .viz:has(.flow) { gap: 8px; }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.flow li { padding: 6px 4px; border: 1px solid var(--v-line); border-radius: 6px; background: var(--v-fill); text-align: center; font-size: 12px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--color-graphite-muted); animation: vz-act 8s var(--ease-out) infinite; }
.flow b { display: block; font-weight: 500; font-size: 12px; opacity: 0.8; }
.flow li:nth-child(2) { animation-delay: 2s; } .flow li:nth-child(3) { animation-delay: 4s; } .flow li:nth-child(4) { animation-delay: 6s; }
.said { display: grid; justify-items: center; margin: 0; min-height: 1.4em; color: var(--v-blue); }
.said span { grid-area: 1 / 1; opacity: 0; animation: vz-say 8s var(--ease-out) infinite; }
.said span:nth-child(2) { animation-delay: 2s; } .said span:nth-child(3) { animation-delay: 4s; } .said span:nth-child(4) { animation-delay: 6s; }
.guar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.guar li { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 6px 10px; border: 1px solid var(--v-line); border-radius: 6px; background: var(--v-fill); font: 400 12px/1.2 var(--font-body); color: var(--color-graphite-muted); }
.guar li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--v-line); flex-shrink: 0; }
.guar li:nth-child(1) { animation: vz-g1 8s linear infinite; } .guar li:nth-child(1)::before { animation: vz-d1 8s linear infinite; }
.guar li:nth-child(2) { animation: vz-g2 8s linear infinite; } .guar li:nth-child(2)::before { animation: vz-d2 8s linear infinite; }
.guar li:nth-child(3) { animation: vz-g3 8s linear infinite; } .guar li:nth-child(3)::before { animation: vz-d3 8s linear infinite; }
.guar li:nth-child(4) { animation: vz-g4 8s linear infinite; } .guar li:nth-child(4)::before { animation: vz-d4 8s linear infinite; }
@keyframes vz-act { 0%, 23% { border-color: var(--v-blue); background: color-mix(in oklab, var(--v-blue) 18%, var(--v-fill)); color: var(--color-graphite-ink); } 27%, 100% { border-color: var(--v-line); background: var(--v-fill); color: var(--color-graphite-muted); } }
@keyframes vz-say { 0% { opacity: 0; transform: translateY(4px); } 4%, 22% { opacity: 1; transform: none; } 27%, 100% { opacity: 0; } }
@keyframes vz-g1 { 0% { color: var(--color-graphite-muted); border-color: var(--v-line); } 4%, 94% { color: var(--color-graphite-ink); border-color: color-mix(in oklab, var(--v-good) 60%, transparent); } 98%, 100% { color: var(--color-graphite-muted); border-color: var(--v-line); } }
@keyframes vz-d1 { 0% { background: var(--v-line); } 4%, 94% { background: var(--v-good); } 98%, 100% { background: var(--v-line); } }
@keyframes vz-g2 { 0%, 25% { color: var(--color-graphite-muted); border-color: var(--v-line); } 29%, 94% { color: var(--color-graphite-ink); border-color: color-mix(in oklab, var(--v-good) 60%, transparent); } 98%, 100% { color: var(--color-graphite-muted); border-color: var(--v-line); } }
@keyframes vz-d2 { 0%, 25% { background: var(--v-line); } 29%, 94% { background: var(--v-good); } 98%, 100% { background: var(--v-line); } }
@keyframes vz-g3 { 0%, 50% { color: var(--color-graphite-muted); border-color: var(--v-line); } 54%, 94% { color: var(--color-graphite-ink); border-color: color-mix(in oklab, var(--v-good) 60%, transparent); } 98%, 100% { color: var(--color-graphite-muted); border-color: var(--v-line); } }
@keyframes vz-d3 { 0%, 50% { background: var(--v-line); } 54%, 94% { background: var(--v-good); } 98%, 100% { background: var(--v-line); } }
@keyframes vz-g4 { 0%, 75% { color: var(--color-graphite-muted); border-color: var(--v-line); } 79%, 94% { color: var(--color-graphite-ink); border-color: color-mix(in oklab, var(--v-good) 60%, transparent); } 98%, 100% { color: var(--color-graphite-muted); border-color: var(--v-line); } }
@keyframes vz-d4 { 0%, 75% { background: var(--v-line); } 79%, 94% { background: var(--v-good); } 98%, 100% { background: var(--v-line); } }

.skel { display: grid; gap: 6px; }
.skel i { height: 7px; border-radius: 4px; background: var(--v-line); }
.skel i:nth-child(1) { width: 92%; } .skel i:nth-child(2) { width: 78%; } .skel i:nth-child(3) { width: 54%; }
.chips { display: flex; gap: 6px; padding: 0; list-style: none; }
.chips li { flex: 1 1 0; padding: 8px 8px; text-align: center; white-space: nowrap; border: 1px solid var(--v-line); border-radius: 6px; background: var(--v-fill); color: var(--color-graphite-muted); animation: vz-chip 6s var(--ease-out) infinite; }
.chips li::after { content: " \2713"; opacity: 0; animation: inherit; animation-name: vz-tick; }
.chips li:nth-child(2), .chips li:nth-child(2)::after { animation-delay: 0.7s; }
.chips li:nth-child(3), .chips li:nth-child(3)::after { animation-delay: 1.4s; }
@keyframes vz-chip { 0%, 8% { border-color: var(--v-line); color: var(--color-graphite-muted); } 16%, 90% { border-color: var(--v-good); color: var(--v-good); } 98%, 100% { border-color: var(--v-line); color: var(--color-graphite-muted); } }
@keyframes vz-tick { 0%, 8% { opacity: 0; } 16%, 90% { opacity: 1; } 98%, 100% { opacity: 0; } }

/* ---------- what I take on ---------- */
.four { grid-column: 5 / 13; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.four > div { display: grid; gap: var(--space-xs); align-content: start; padding: var(--space-lg) var(--space-lg) var(--space-lg) 0; border-top: var(--rule-hair) solid var(--color-rule-2); }
.four > div:nth-child(even) { padding: var(--space-lg) 0 var(--space-lg) var(--space-lg); border-left: var(--rule-hair) solid var(--color-rule-2); }
.four p { color: var(--color-ink-2); }
.split__text--narrow { grid-column: 1 / 5; }
.take__note { max-width: 28ch; font-size: var(--text-lg); line-height: 1.4; color: var(--color-ink-2); }

/* ---------- where I am ---------- */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; vertical-align: baseline; padding: var(--space-lg) 0; border-top: var(--rule-hair) solid var(--color-rule); }
.table tr:last-child th, .table tr:last-child td { border-bottom: var(--rule-hair) solid var(--color-rule); }
.table th { width: 22%; padding-right: var(--space-lg); font: 500 var(--text-lg)/1.3 var(--font-display); white-space: nowrap; color: var(--color-ink); }
.table td { color: var(--color-ink-2); font-size: var(--text-md); }
.table td > span { display: block; }
.table td > span + span { margin-top: var(--space-xs); }
.section--stack { padding-top: var(--section-gap-s); }
.stack { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); margin: 0; }
.stack > div { display: grid; gap: var(--space-sm); align-content: start; padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule-2); }
.stack dt { font: 500 var(--text-sm)/1.4 var(--font-display); color: var(--color-muted); }
.stack dd { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: 0; }
.stack dd span { padding: 6px 12px; border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-input); background: var(--color-paper); font: 500 var(--text-sm)/1.2 var(--font-display); color: var(--color-ink); }
.table td b { font-weight: 500; color: var(--color-ink); }

/* ---------- footer: a statement ---------- */
.foot { margin-top: var(--section-gap); padding-block: var(--section-gap-s) var(--space-2xl); border-top: var(--rule-hair) solid var(--color-rule); }
.foot__lead { grid-column: 1 / 6; display: grid; gap: var(--space-lg); align-content: start; }
.foot__table { grid-column: 6 / 13; align-self: start; }
.foot__where { margin: 0; color: var(--color-ink-2); }
.foot__line { margin: 0; max-width: 12ch; font: 600 var(--text-display-s)/1.02 var(--font-display); letter-spacing: var(--tracking-display); text-wrap: balance; }
.foot__mail { display: inline-flex; align-items: center; min-height: 48px; width: fit-content; font: 500 clamp(1rem, 5vw, var(--text-xl))/1.2 var(--font-display); letter-spacing: var(--tracking-display); white-space: nowrap; text-decoration-color: var(--color-rule-2); }
.foot__links { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); margin: 0; padding: 0; list-style: none; }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; font: 500 var(--text-md)/1 var(--font-display); }

/* ---------- reveal on scroll (class added by app.js; nothing is hidden without JS) ---------- */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- small screens ---------- */
@media (max-width: 60rem) {
  .split__text, .split__text--narrow, .split__body, .four, .foot__lead, .foot__table { grid-column: 1 / -1; }
  .index li { grid-template-columns: minmax(0, 1fr); }
  .index h3, .index p, .index .proof { grid-column: 1 / -1; text-align: left; }
  .site__bar .site__ext, .site__proof { display: none; }
  .stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .table th { width: 28%; }
}
@media (max-width: 40rem) {
  .pane__note { min-height: 3lh; }
  .site__status { display: none; }
  .site__contact { font-size: var(--text-xs); }
  .rig__panes { grid-template-columns: minmax(0, 1fr); }
  .rig { padding: var(--space-md); }
  .four { grid-template-columns: minmax(0, 1fr); }
  .stack { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .four > div, .four > div:nth-child(even) { padding: var(--space-lg) 0; border-left: 0; }
  .table, .table tbody, .table tr, .table th, .table td { display: block; width: 100%; }
  .table th { padding: var(--space-lg) 0 var(--space-3xs); border-top: var(--rule-hair) solid var(--color-rule); }
  .table td { padding: 0 0 var(--space-lg); border-top: 0; }
  .table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
  .table tr:last-child td { border-bottom: var(--rule-hair) solid var(--color-rule); }
  .rig__count { margin-left: 0; }
  .hero { padding-block: var(--space-xl) var(--space-lg); }
  /* the text spans the full width here, so keep the hex field faint behind it */
  .hero__field { opacity: 0.5; -webkit-mask-image: linear-gradient(100deg, transparent 38%, #000 92%); mask-image: linear-gradient(100deg, transparent 38%, #000 92%); }
  /* the nav row scrolls sideways; fade its right edge so the cut-off link reads as more to scroll */
  .site__bar ul { padding-right: var(--space-lg); -webkit-mask-image: linear-gradient(to right, #000 calc(100% - var(--space-lg)), transparent); mask-image: linear-gradient(to right, #000 calc(100% - var(--space-lg)), transparent); }
}
@media (max-width: 23rem) {
  .site__banner { gap: var(--space-sm); }
  .wordmark { font-size: var(--text-md); }
  .site__contact a { font-size: 0.6875rem; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .key, .tray label { transition: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .peek { transition: none; transform: none; }
  .viz *, .viz *::before, .viz *::after { animation: none !important; }
  .viz__row, .viz__pill, .bar--b .to, .chips li::after { opacity: 1; }
  .bar--b .from { opacity: 0; }
  .bar--b i { width: calc(93.9% - 8px); }
  .chips li { border-color: var(--v-good); color: var(--v-good); }
  .said span:first-child { opacity: 1; }
  .flow li:first-child { border-color: var(--v-blue); color: var(--color-graphite-ink); }
  .guar li { border-color: color-mix(in oklab, var(--v-good) 60%, transparent); color: var(--color-graphite-ink); }
  .guar li::before { background: var(--v-good); }
}
