:root {
  --paper: oklch(95.6% .012 105); --paper-raised: oklch(98% .009 105); --paper-inset: oklch(92.2% .017 105);
  --ink: oklch(25% .019 112); --muted: oklch(47% .023 112); --rule: oklch(81% .024 105); --rule-strong: oklch(67% .034 105);
  --accent: oklch(87% .145 114); --accent-ink: oklch(39% .064 114);
  --display: 'Anek Latin', sans-serif; --body: 'Atkinson Hyperlegible Next', sans-serif;
  --space-sm: .5rem; --space-md: 1rem; --space-lg: 1.5rem; --space-xl: 2rem; --space-2xl: 3rem; --space-3xl: 4rem; --space-4xl: 6rem;
  --gutter: clamp(1.25rem, 5vw, 5rem); --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1rem/1.6 var(--body); -webkit-font-smoothing: antialiased; font-kerning: normal; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; text-wrap: balance; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button, summary { -webkit-tap-highlight-color: transparent; }
button, a, summary { touch-action: manipulation; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 5px; }
::selection { color: var(--ink); background: var(--accent); }
[hidden] { display: none !important; }
.shell { width: min(100% - var(--gutter) * 2, 1240px); margin-inline: auto; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 50; padding: .65rem 1rem; background: var(--accent); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { display: flex; gap: .6rem; align-items: center; font-size: .75rem; line-height: 1.4; letter-spacing: .075em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.status-dot { display: inline-block; width: .45rem; height: .45rem; flex: 0 0 .45rem; border-radius: 50%; background: var(--accent-ink); box-shadow: 0 0 0 3px var(--accent); }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 100px; border-bottom: 1px solid var(--rule); }
.identity { display: flex; align-items: center; gap: .8rem; font-weight: 600; line-height: 1.2; font-size: 1rem; }
.identity-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--ink); font: 500 1.6rem/1 var(--display); letter-spacing: -.08em; transform: rotate(-4deg); }
.identity-caption { display: block; margin-top: .25rem; font-size: .75rem; font-weight: 400; color: var(--muted); }
.site-header nav { display: flex; gap: clamp(.8rem, 2.5vw, 2.25rem); align-items: center; font-size: .875rem; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-header nav a:hover { text-decoration: underline; text-underline-offset: .35em; }
.nav-contact { gap: .6rem; }
.hero { padding-block: 64px 40px; display: grid; gap: 40px; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
h1 { font-size: clamp(3.5rem, 6.6vw + .75rem, 7.3rem); line-height: .97; letter-spacing: -.045em; font-variation-settings: 'wdth' 110; margin-top: 28px; margin-bottom: 28px; }
.marked-word { position: relative; display: inline-block; z-index: 0; }
.marked-word::before { content: ''; position: absolute; z-index: -1; left: -.04em; right: -.1em; bottom: .05em; height: .28em; background: var(--accent); transform: rotate(-4deg); }
.hero-lede { font-size: 1.125rem; line-height: 1.5; max-width: 42ch; }
.hero-now { margin-top: 18px; color: var(--muted); max-width: 38ch; }
.hero-now a { color: var(--ink); border-bottom: 1px solid var(--rule-strong); }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 13px 19px; min-height: 48px; background: var(--ink); color: var(--paper-raised); border: 1px solid var(--ink); font-size: .875rem; font-weight: 500; transition: background 160ms, transform 200ms var(--ease); }
.button span { font-size: 1.1rem; }
.text-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; font-size: .875rem; font-weight: 500; text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: .4em; }
.text-link span { display: inline-block; transition: transform 200ms var(--ease); }
.environment { position: relative; align-self: center; min-width: 0; }
.figure-top { display: flex; justify-content: space-between; gap: 1rem; padding-block: 12px; border-top: 1px solid var(--rule); font-size: .75rem; color: var(--muted); }
.figure-index { white-space: nowrap; font-variant-numeric: tabular-nums; }
.environment-drawing { display: block; width: 100%; height: auto; color: var(--ink); }
.construction { stroke: var(--rule-strong); stroke-width: 1; stroke-dasharray: 3 6; }
.layer-edge { fill: var(--paper-inset); stroke: var(--rule-strong); stroke-linejoin: round; }
.layer-face { fill: var(--paper); stroke: var(--rule-strong); stroke-linejoin: round; transition: fill 240ms; }
.layer-traces { stroke: var(--ink); stroke-width: 1.2; stroke-linecap: round; opacity: .65; }
.system-layer text { fill: var(--muted); font: 500 10px var(--body); letter-spacing: 1px; }
.layer-pin { fill: var(--paper-inset); stroke: var(--muted); }
.environment[data-active='act'] .layer-act .layer-face,
.environment[data-active='remember'] .layer-remember .layer-face,
.environment[data-active='review'] .layer-review .layer-face,
.environment[data-active='distribute'] .layer-distribute .layer-face { fill: var(--accent); stroke: var(--accent-ink); }
.environment[data-active='act'] .layer-act .layer-pin,
.environment[data-active='remember'] .layer-remember .layer-pin,
.environment[data-active='review'] .layer-review .layer-pin,
.environment[data-active='distribute'] .layer-distribute .layer-pin { fill: var(--ink); }
.diagram-annotation path { stroke: var(--rule-strong); }
.diagram-annotation text { font: 500 9px var(--body); fill: var(--muted); letter-spacing: .6px; }
.layer-controls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; border-block: 1px solid var(--rule); padding-block: 5px; }
.layer-controls button { border: 0; background: transparent; padding: 10px 2px; min-height: 44px; cursor: pointer; font-size: .8125rem; }
.layer-controls button[aria-pressed='true'] { background: var(--accent); font-weight: 600; }
.layer-controls button:hover { background: var(--paper-inset); }
.layer-controls button[aria-pressed='true']:hover { background: var(--accent); }
.concern-caption { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; min-height: 68px; padding-top: 14px; font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.concern-caption p { max-width: 32ch; }
.concern-caption a { color: var(--ink); flex-shrink: 0; text-decoration: underline; text-underline-offset: .3em; }
.no-js-note { font-size: .8125rem; color: var(--muted); }
.credentials { border-block: 1px solid var(--rule); padding-block: 24px; display: grid; gap: 24px; font-size: .875rem; }
.credentials p > span:first-child { display: block; color: var(--muted); margin-bottom: 6px; font-size: .6875rem; text-transform: uppercase; letter-spacing: .07em; }
.credential-detail { display: block; color: var(--muted); font-size: .8125rem; margin-top: 3px; }
.credentials > a { display: flex; align-items: flex-start; gap: 12px; padding-top: 4px; }
.credentials > a .status-dot { margin-top: 8px; }
.work { padding-top: 80px; position: relative; }
.anchor-alias { position: absolute; top: 0; }
.section-heading { display: grid; gap: 20px; margin-bottom: 40px; }
h2 { font-size: clamp(2.5rem, 3.8vw, 3.5rem); line-height: 1.05; letter-spacing: -.03em; }
.section-heading h2, .lineage-intro h2, .about h2 { margin-top: 18px; }
.section-heading > p { color: var(--muted); max-width: 40ch; }
.project { display: grid; gap: 32px; position: relative; padding-bottom: 56px; }
.project + .project { padding-top: 48px; border-top: 1px solid var(--rule); }
.project-visual { position: relative; min-width: 0; overflow: hidden; }
.visual-caption { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: .6875rem; letter-spacing: .04em; padding: 20px; text-transform: uppercase; }
.fusion-visual { display: flex; flex-direction: column; background: var(--ink); color: var(--paper); min-height: 370px; }
.fusion-visual .visual-caption { color: oklch(78% .025 112); }
.compute-boundary { border: 1px solid oklch(47% .024 112); margin: 12px clamp(16px, 3vw, 40px) 24px; padding: 0 20px 24px; }
.compute-boundary-label { width: fit-content; background: var(--ink); padding-inline: 12px; margin: -10px auto 24px; font-size: .6875rem; color: oklch(78% .025 112); }
.gpu-pair { display: grid; grid-template-columns: 1fr 44px 1fr; max-width: 330px; margin-inline: auto; }
.gpu { display: flex; flex-direction: column; align-items: center; border: 1px solid oklch(59% .04 112); padding: 12px 8px; background: oklch(29% .022 112); }
.gpu-label { align-self: flex-start; font-size: .6875rem; letter-spacing: .05em; color: oklch(81% .028 112); }
.chip-grid { display: grid; grid-template-columns: repeat(3, 9px); gap: 3px; margin: 24px auto 18px; transform: rotate(-10deg); }
.chip-grid i { width: 9px; height: 9px; background: oklch(77% .046 112); }
.gpu:nth-child(3) .chip-grid { transform: rotate(10deg); }
.gpu:nth-child(3) .chip-grid i:nth-child(even) { background: oklch(48% .034 112); }
.gpu strong { font-family: var(--display); font-size: 1.5rem; line-height: 1.2; font-weight: 400; }
.gpu small { font-size: .625rem; color: oklch(78% .025 112); margin-top: 4px; }
.gpu-connection { display: grid; place-items: center; font-size: 1.65rem; color: oklch(77% .046 112); }
.decode-path { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 24px; font-size: .75rem; color: oklch(81% .028 112); }
.experiment-record { margin-top: auto; display: flex; gap: 12px; padding: 18px 24px; border-top: 1px solid oklch(42% .027 112); }
.record-mark { margin-top: 3px; }
.experiment-record strong { display: block; font-size: .875rem; font-weight: 500; }
.experiment-record p > span { display: block; font-size: .6875rem; color: oklch(78% .025 112); margin-top: 2px; }
.project-copy { align-self: center; }
.project-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.project-kicker .eyebrow { font-size: .6875rem; }
.status-tag { border: 1px solid var(--rule); font-size: .6875rem; padding: 2px 7px; color: var(--muted); }
.project h3 { font-size: clamp(2.2rem, 3.7vw, 3.25rem); line-height: 1.05; letter-spacing: -.03em; }
.project-question { margin-block: 16px; font-size: 1.125rem; line-height: 1.45; }
.project-copy > p:not(.project-question) { max-width: 54ch; color: var(--muted); }
.project-link { margin-top: 20px; }
.link-language { font-size: .6875rem; color: var(--muted); text-decoration: none; }
.project-detail { margin-top: 20px; border-top: 1px solid var(--rule); font-size: .8125rem; color: var(--muted); }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.project-detail summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; color: var(--ink); }
.project-detail summary > span { font-size: 1.25rem; transition: transform 180ms; }
details[open] > summary > .disclosure-icon, .project-detail[open] summary > span { transform: rotate(45deg); }
.project-detail > div { padding: 4px 0 12px; }
.project-detail p + p { margin-top: 12px; }
.magpie-visual { background: var(--paper-inset); border: 1px solid var(--rule); padding-bottom: 20px; }
.conversation-source { display: flex; gap: 14px; align-items: flex-start; margin: 12px auto 0; width: 72%; color: var(--muted); }
.source-symbol { font: 400 3.5rem/.8 var(--display); }
.conversation-source > div { flex: 1; }
.conversation-source .eyebrow { font-size: .625rem; }
.transcript-lines { display: grid; gap: 6px; margin-top: 10px; }
.transcript-lines i { display: block; height: 2px; background: var(--rule); }
.transcript-lines i:nth-child(2) { width: 88%; }
.transcript-lines i:last-child { width: 55%; }
.capture-path { display: flex; gap: 12px; align-items: center; justify-content: center; padding-block: 14px; color: var(--muted); font-size: .625rem; }
.capture-path > span:first-child { font-size: 1.5rem; }
.artifact-paper { position: relative; width: 77%; margin: 0 auto 20px; background: var(--paper-raised); border: 1px solid var(--rule-strong); padding: 16px 20px; box-shadow: 5px 6px 0 var(--paper-inset), 6px 7px 0 var(--rule); transform: rotate(-3deg); }
.artifact-heading { display: flex; align-items: center; gap: 10px; font-size: .625rem; color: var(--muted); }
.artifact-heading > span:last-child { margin-left: auto; }
.paper-mark { font: 500 1.5rem/1 var(--display); color: var(--ink); }
.artifact-paper > p { font: 500 clamp(1.4rem, 2.5vw, 2rem)/1.06 var(--display); margin-block: 24px 20px; letter-spacing: -.015em; }
.artifact-rule { height: 1px; background: var(--rule); }
.artifact-source { display: block; font-size: .625rem; color: var(--muted); margin-top: 8px; }
.artifact-actions { display: flex; gap: 12px; align-items: center; margin-top: 16px; font-size: .625rem; }
.artifact-actions span:first-child { padding: 3px 10px; background: var(--accent); }
.artifact-actions span:last-child { margin-left: auto; color: var(--muted); }
.visual-footnote { text-align: center; font-size: .6875rem; color: var(--muted); }
.lineage-section { padding-block: 64px; background: var(--paper-inset); border-block: 1px solid var(--rule); }
.lineage-layout { display: grid; gap: 36px; }
.lineage-intro > p:not(.eyebrow) { color: var(--muted); max-width: 37ch; margin-top: 24px; }
.lineage-intro > a { margin-top: 20px; }
.work-index { border-top: 1px solid var(--rule-strong); }
.archive-entry { border-bottom: 1px solid var(--rule-strong); }
.archive-entry summary { display: grid; grid-template-columns: 28px 1fr 24px; gap: 12px; align-items: center; padding-block: 22px; }
.archive-number { font-size: .75rem; color: var(--muted); align-self: start; padding-top: 9px; font-variant-numeric: tabular-nums; }
.archive-entry summary strong { display: block; font: 500 1.875rem/1.1 var(--display); letter-spacing: -.02em; }
.archive-entry summary > span:nth-child(2) > span { display: block; margin-top: 6px; font-size: .8125rem; color: var(--muted); }
.disclosure-icon { display: block; font-size: 1.5rem; font-weight: 400; text-align: right; transition: transform 180ms; }
.archive-body { padding: 0 28px 24px 40px; }
.archive-body p { max-width: 46ch; color: var(--muted); }
.archive-body a { margin-top: 12px; }
.about { padding-block: 72px; display: grid; gap: 28px; }
.about-copy { display: grid; gap: 20px; }
.about-copy > p { max-width: 53ch; color: var(--muted); }
.about-copy .about-lede { font-size: 1.25rem; color: var(--ink); line-height: 1.4; }
.about-copy strong { font-weight: 500; color: var(--ink); }
.about-copy a { justify-self: start; }
.contact { padding: 28px; border: 1px solid var(--rule-strong); background: var(--paper-inset); position: relative; }
.contact::after { content: ''; position: absolute; top: -1px; right: 28px; width: 64px; height: 5px; background: var(--accent); }
.contact-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.contact-date { font-size: .75rem; color: var(--muted); }
.contact-grid { display: grid; gap: 28px; padding-top: 28px; }
.contact h2 { margin-bottom: 20px; }
.contact-grid > div:first-child > p { max-width: 47ch; color: var(--muted); }
.contact-aside { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.contact-aside > p { max-width: 30ch; }
.contact-small { font-size: .875rem; color: var(--muted); }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-block: 32px; font-size: .75rem; color: var(--muted); }
.footer-signature { font: 500 1.2rem var(--display); color: var(--ink); min-height: 44px; display: flex; gap: 12px; align-items: center; }
.site-footer > span { font-size: .6875rem; }
@media (hover: hover) {
  .button:hover { background: var(--accent-ink); transform: translateY(-2px); }
  .text-link:hover span { transform: translate(2px, -2px); }
  .text-link:hover { text-decoration-color: var(--ink); }
  .archive-entry summary:hover strong { color: var(--accent-ink); }
  .artifact-paper { transition: transform 320ms var(--ease); }
  .magpie-visual:hover .artifact-paper { transform: rotate(-1deg) translateY(-3px); }
}
@media (min-width: 720px) {
  .hero { grid-template-columns: 1.08fr .92fr; align-items: center; column-gap: 40px; padding-block: 64px 48px; }
  .hero-copy { padding-bottom: 28px; }
  .hero h1 { font-size: clamp(3.4rem, 6.5vw, 7rem); }
  .hero-lede { font-size: 1rem; }
  .hero-now { font-size: .875rem; }
  .credentials { grid-template-columns: 1fr 1fr; column-gap: 36px; }
  .credentials > a { grid-column: 1 / -1; }
  .section-heading { grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; }
  .section-heading > p { justify-self: end; padding-bottom: 4px; }
  .project { grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
  .project-magpie .project-copy { grid-column: 1; grid-row: 1; }
  .project-magpie .project-visual { grid-column: 2; grid-row: 1; }
  .project-copy > p:not(.project-question) { font-size: .9375rem; }
  .lineage-layout { grid-template-columns: 1fr 1.05fr; gap: 64px; }
  .lineage-intro h2 { max-width: 12ch; }
  .about { grid-template-columns: 1fr 1.05fr; gap: 64px; }
  .contact { padding: 36px; }
  .contact-grid { grid-template-columns: 1.25fr .8fr; gap: 56px; align-items: end; }
}
@media (min-width: 1050px) {
  .site-header { min-height: 108px; }
  .hero { column-gap: 80px; padding-top: 56px; padding-bottom: 56px; }
  .hero-lede { font-size: 1.125rem; }
  .hero-now { font-size: 1rem; }
  .hero-actions { margin-top: 32px; }
  .credentials { grid-template-columns: 1fr 1.12fr 1fr; padding-block: 24px; }
  .credentials > a { grid-column: auto; justify-self: end; align-self: center; }
  .work { padding-top: 96px; }
  .section-heading { margin-bottom: 56px; }
  .project { gap: 88px; padding-bottom: 64px; }
  .project + .project { padding-top: 64px; }
  .project-copy > p:not(.project-question) { font-size: 1rem; }
  .fusion-visual { min-height: 436px; }
  .compute-boundary { margin-top: 24px; padding-top: 0; }
  .gpu-pair { max-width: 320px; }
  .gpu { padding-block: 16px; }
  .chip-grid { margin-block: 24px; }
  .magpie-visual { min-height: 436px; }
  .artifact-paper { width: 72%; padding: 20px 24px; }
  .artifact-paper > p { margin-block: 28px 24px; }
  .lineage-section { padding-block: 80px; }
  .lineage-layout, .about { gap: 120px; }
  .about { padding-block: 96px; }
  .contact { padding: 40px 48px; }
  .contact-grid { padding-top: 40px; }
  .contact-aside .button { margin-top: 8px; }
}
@media (max-width: 430px) {
  .site-header { min-height: 84px; }
  .identity-mark { width: 34px; height: 34px; font-size: 1.4rem; }
  .identity { gap: 8px; }
  .identity-caption { display: none; }
  .site-header nav { font-size: .75rem; gap: 14px; }
  .nav-contact { gap: 4px; }
  .hero { padding-top: 44px; gap: 36px; }
  .hero h1 { font-size: clamp(3.1rem, 13vw, 3.65rem); }
  .hero .eyebrow { font-size: .65rem; }
  .hero-lede { font-size: 1rem; }
  .desktop-break { display: none; }
  .hero-now { font-size: .9375rem; }
  .hero-actions { gap: 20px; }
  .figure-top { font-size: .6875rem; }
  .concern-caption { gap: 14px; font-size: .75rem; }
  .concern-caption p { max-width: 25ch; }
  .concern-caption a { max-width: 13ch; flex-shrink: 1; }
  .layer-controls button { font-size: .75rem; }
  .project-question br { display: none; }
  .compute-boundary { padding-inline: 12px; }
  .gpu-pair { grid-template-columns: 1fr 32px 1fr; }
  .visual-caption { padding: 16px; font-size: .625rem; }
  .artifact-paper { width: 81%; }
  .decode-path { font-size: .6875rem; gap: 10px; }
  .contact { padding: 24px; }
  .contact h2 { font-size: 2.4rem; }
  .site-footer { gap: 8px 20px; }
  .site-footer > span { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: enter 650ms var(--ease) both; }
  .environment { animation: enter 800ms 90ms var(--ease) both; }
  @keyframes enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  body { background: var(--paper-raised); }
  .shell { width: 100%; }
  .site-header nav, .hero-actions, .layer-controls, .skip-link { display: none !important; }
  .hero, .work, .about, .lineage-section { padding-block: 24px; }
  .project { break-inside: avoid; }
  .project-detail > div, .archive-body { display: block !important; }
}
