@import url('fonts.css');

:root {
  --bg: #f7f6f2; --surface: #e9ede7; --panel: #fffefa; --ink: #27332f;
  --muted: #616c65; --line: #d6dbd2; --accent: #b94d31; --contact: #e9ede7;
  --wire: #4e6a5f; --wire-soft: #95a79c; --positive: #356e50;
  --sans: 'DM Sans', sans-serif; --mono: 'Geist Mono', monospace;
  --gutter: clamp(24px, 5vw, 80px); --ease: cubic-bezier(.22,1,.36,1);
}
[data-theme=dark] {
  --bg: #171f1d; --surface: #24312b; --panel: #1d2823; --ink: #eeeFe5;
  --muted: #a8b5a9; --line: #394b40; --accent: #ee9b78; --contact: #202d26;
  --wire: #c2d5b6; --wire-soft: #738d77; --positive: #a0c9a2;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { max-width: 1600px; margin: 0 auto; background: var(--bg); color: var(--ink); font: 400 16px/24px var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
code, pre { font-family: var(--mono); }
button { color: inherit; cursor: pointer; border: 0; }
a, button, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
em { font: inherit; font-style: normal; }
svg { width: 24px; height: 24px; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
button:disabled { opacity: .5; cursor: default; }
.skip-link { position: fixed; top: 8px; left: 8px; background: var(--ink); color: var(--bg); padding: 12px 16px; z-index: 50; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.page-progress { position: fixed; top: 0; left: 0; z-index: 40; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.header { position: sticky; top: 0; z-index: 30; height: 96px; margin: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--bg); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(12px)) { .header { background: color-mix(in srgb,var(--bg) 97%,transparent); backdrop-filter: blur(16px); } }
.header.has-scrolled { box-shadow: 0 12px 24px -24px #27332f70; }
.wordmark { font: 700 36px/1 var(--sans); letter-spacing: -4px; }
.logo-dot { color: var(--accent); letter-spacing: 0; }
.header nav { display: flex; gap: 32px; }
.header nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; line-height: 20px; }
.header nav a > span { font: 400 11px/16px var(--mono); color: var(--muted); vertical-align: super; margin-left: 4px; }
.header nav a:after, .social-links a:after { content: ''; position: absolute; left: 0; bottom: 2px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.header nav a:hover:after, .header nav a.active:after, .social-links a:hover:after { transform: scaleX(1); }
.header nav a.active { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 24px; }
.icon-button { width: 44px; height: 44px; border-radius: 2px; background: transparent; display: grid; place-items: center; }
.icon-button:hover { background: var(--surface); }
.icon-button svg { width: 20px; height: 20px; }
.hello-link { font-size: 14px; border-bottom: 1px solid var(--line); padding: 8px 0; }
.hello-link > span { margin-left: 24px; }
.hero { margin: 0 var(--gutter); display: grid; position: relative; }
.eyebrow { display: flex; align-items: center; gap: 8px; font: 400 12px/16px var(--mono); color: var(--muted); letter-spacing: .5px; }
.status-dot { display: inline-block; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.eyebrow-divider { color: var(--muted); }
.button { display: inline-flex; align-items: center; gap: 32px; padding: 12px 16px; border-radius: 2px; font-size: 16px; font-weight: 600; }
.button-dark { background: var(--ink); color: var(--bg); }
.button-dark, .hello-link { translate: var(--magnet-x,0px) var(--magnet-y,0px); transition: translate .3s var(--ease), transform .3s var(--ease); }
.button-dark:hover { transform: translateY(-2px); }
.hero-links { display: flex; align-items: center; }
.button:active { transform: translateY(1px); }
.text-link { display: inline-flex; align-items: center; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 20px; transition: color .3s var(--ease), border-color .3s var(--ease); }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
canvas { display: block; cursor: grab; touch-action: pan-y; }
canvas.dragging { cursor: grabbing; }
.hero-bottom { grid-column: 1/-1; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); }
.section { padding: 96px var(--gutter) 0; }
.section-heading { display: grid; grid-template-columns: 1fr 320px; align-items: end; gap: 48px; border-top: 1px solid var(--line); padding-top: 24px; margin-bottom: 48px; }
h2 { font-size: 60px; line-height: 1; letter-spacing: -3px; font-weight: 600; }
.section-heading h2 { margin-top: 24px; }
.type-accent { color: var(--accent); font: inherit; }
.section-intro { color: var(--muted); font-size: 14px; line-height: 24px; max-width: 320px; }
.work-shell { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0,1.15fr); gap: 64px; align-items: start; }
.work-index-label { display: flex; justify-content: space-between; padding: 0 0 20px; color: var(--muted); font: 400 10px/16px var(--mono); letter-spacing: .5px; border-bottom: 1px solid var(--line); }
.work-name-short { display: none; }
.work-tabs { min-width: 0; }
.work-row { display: grid; grid-template-columns: 24px minmax(0,1fr) 24px; align-items: center; gap: 20px; min-height: 112px; padding: 24px 8px 24px 0; border-bottom: 1px solid var(--line); transition: padding .3s var(--ease), color .3s var(--ease), background .3s var(--ease); }
.work-number { align-self: start; padding-top: 4px; color: var(--muted); font: 400 10px/16px var(--mono); }
.work-row strong { font-size: 22px; line-height: 28px; font-weight: 500; letter-spacing: -.75px; overflow-wrap: anywhere; }
.work-row small { display: block; color: var(--muted); font-size: 12px; line-height: 20px; margin-top: 8px; }
.work-row-arrow { color: var(--muted); font-size: 20px; transition: transform .3s var(--ease); }
.work-row:hover, .work-row[aria-selected=true] { color: var(--accent); }
.work-row[aria-selected=true] { padding-left: 12px; box-shadow: inset 2px 0 var(--accent); background: linear-gradient(90deg,color-mix(in srgb,var(--accent) 5%,transparent),transparent); }
.work-row[aria-selected=true] .work-number { color: var(--accent); }
.work-row[aria-selected=true] .work-row-arrow { transform: rotate(45deg); color: var(--accent); }
.work-more { display: flex; justify-content: space-between; gap: 24px; margin-top: 24px; padding: 12px 0; font-size: 12px; color: var(--muted); }
.work-more:hover { color: var(--accent); }
.work-panels { min-width: 0; }
.work-detail { min-width: 0; scroll-margin-top: 120px; }
.work-detail + .work-detail { margin-top: 48px; }
.work-detail[hidden] { display: none; }
.work-index.has-tabs + .work-panels .work-detail { margin-top: 0; }
.work-cover { height: 280px; padding: 24px; background: var(--surface); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.cover-label, .cover-foot { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font: 400 10px/16px var(--mono); }
.cover-label { letter-spacing: .5px; }
.cover-foot > span:last-child { color: var(--accent); font-size: 18px; }
.work-detail-copy { padding: 28px 0 0; }
.work-detail-copy .eyebrow { font-size: 10px; letter-spacing: .25px; }
.work-detail-copy h3 { font-size: 28px; line-height: 36px; font-weight: 500; letter-spacing: -1px; margin: 12px 0; overflow-wrap: anywhere; }
.work-detail-copy > p:not(.eyebrow) { color: var(--muted); font-size: 15px; line-height: 26px; max-width: 540px; }
.work-detail-copy > p.contribution-note { margin-top: 12px; font-size: 12px; line-height: 20px; }
.work-links { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 12px; }
.work-links .text-link { font-size: 12px; }
.diff-study { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); background: var(--panel); margin: 24px 0; }
.diff-study > div { min-width: 0; }
.diff-study > div + div { border-left: 1px solid var(--line); }
.code-file { display: block; border-bottom: 1px solid var(--line); padding: 8px 12px; font: 400 10px/16px var(--mono); color: var(--muted); }
.diff-study code { display: block; padding: 12px 0; white-space: nowrap; font: 400 11px/24px var(--mono); }
.diff-study i { display: inline-block; margin: 0 10px; font-style: normal; color: var(--muted); font-size: 9px; }
.code-removed, .code-added { display: block; background: #9b635814; }
.code-added { background: #378b681b; color: var(--positive); }
.hub-study { display: flex; justify-content: center; align-items: center; gap: 24px; }
.hub-input { color: var(--muted); font: 400 12px/32px var(--mono); }
.hub-study svg { width: 96px; height: 80px; color: var(--accent); opacity: .6; }
.hub-output { font-size: 40px; line-height: 40px; letter-spacing: -2px; color: var(--accent); }
.dscode-study { display: flex; justify-content: center; align-items: center; gap: 28px; }
.dscode-study > span { font-size: 64px; color: var(--accent); }
.dscode-study strong { font-size: 28px; line-height: 32px; font-weight: 500; letter-spacing: -1px; }
.aside-study { display: flex; justify-content: center; align-items: center; gap: 12px; }
.aside-study svg { width: 180px; height: 130px; color: var(--accent); }
.aside-study > span { font-size: 32px; letter-spacing: -1.5px; line-height: 36px; }
.work-demo { margin-top: 24px; border-block: 1px solid var(--line); }
.work-demo > summary { padding: 16px 0; display: flex; justify-content: space-between; gap: 24px; font-size: 12px; line-height: 20px; }
.work-demo > summary:hover { color: var(--accent); }
.work-demo > summary span { font: 400 18px/20px var(--mono); }
.work-demo[open] > summary span { transform: rotate(45deg); }
.demo-context { color: var(--muted); font-size: 12px; line-height: 20px; margin: 0 0 16px; }
.demo-frame { border: 1px solid var(--line); margin-bottom: 24px; min-width: 0; }
.command-reference { padding-bottom: 24px; }
.demo-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px; background: #27332f; color: #e6efea; border-radius: 2px 2px 0 0; font: 400 12px/16px var(--mono); }
.demo-title > span:first-child { display: flex; align-items: center; gap: 8px; }
.terminal-dot { width: 5px; height: 5px; background: #91bfb5; border-radius: 50%; }
.demo-badge { font: 400 11px/16px var(--mono); color: #adc6c6; }
.demo-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--panel); border-bottom: 1px solid var(--line); font: 400 12px/16px var(--mono); color: var(--muted); }
.file-change { margin-left: 12px; color: var(--accent); font-size: 11px; }
.segmented { display: flex; padding: 4px; background: var(--surface); border-radius: 2px; }
.segmented button { padding: 8px; color: var(--muted); background: transparent; border-radius: 2px; font: 400 11px/16px var(--mono); }
.segmented button.active { color: var(--ink); background: var(--panel); }
.segmented button:active, .mini-tabs button:active { transform: translateY(1px); }
.diff-options { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; background: var(--panel); border-bottom: 1px solid var(--line); color: var(--muted); font: 400 11px/16px var(--mono); }
.diff-options label { display: flex; align-items: center; gap: 8px; }
.diff-options select { padding: 4px 8px; border: 1px solid var(--line); border-radius: 2px; font: inherit; background: var(--surface); color: var(--ink); cursor: pointer; }
.diff-checkbox { white-space: nowrap; }
.diff-checkbox input { width: 14px; height: 14px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.live-diff { height: 320px; overflow: hidden; background: var(--panel); }
.live-diff > div { height: 100%; }
.live-diff [data-virtuoso-scroller] { overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.fold-label { font: 400 11px/16px var(--mono); }
.demo-loading { font-size: 14px; line-height: 24px; padding: 24px 16px; }
.demo-loading a { display: block; margin-top: 12px; color: var(--accent); }
.demo-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); border-radius: 0 0 2px 2px; background: var(--panel); color: var(--muted); font: 400 10px/16px var(--mono); }
.demo-bottom > span:first-child { display: flex; align-items: center; gap: 8px; }
.demo-bottom > span:last-child { white-space: nowrap; }
.mini-tabs button:active { transform: translateY(1px); }
.diff-options { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; background: var(--panel); border-bottom: 1px solid var(--line); color: var(--muted); font: 400 11px/16px var(--mono); }
.diff-options label { display: flex; align-items: center; gap: 8px; }
.diff-options select { padding: 4px 8px; border: 1px solid var(--line); border-radius: 2px; font: inherit; background: var(--surface); color: var(--ink); cursor: pointer; }
.diff-checkbox { white-space: nowrap; }
.diff-checkbox input { width: 14px; height: 14px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.live-diff { height: 320px; overflow: hidden; background: var(--panel); }
.live-diff > div { height: 100%; }
.live-diff [data-virtuoso-scroller] { overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.fold-label { font: 400 11px/16px var(--mono); }
.demo-loading { font-size: 14px; line-height: 24px; padding: 24px 16px; }
.demo-loading a { display: block; margin-top: 12px; color: var(--accent); }
.demo-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); border-radius: 0 0 2px 2px; background: var(--panel); color: var(--muted); font: 400 10px/16px var(--mono); }
.demo-bottom > span:first-child { display: flex; align-items: center; gap: 8px; }
.demo-bottom > span:last-child { white-space: nowrap; }
.project-visual-label { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; font: 400 11px/16px var(--mono); color: var(--muted); }
.project-info h3 { font-size: 36px; line-height: 40px; letter-spacing: -1.5px; font-weight: 600; margin: 24px 0; overflow-wrap: anywhere; }
.project-info > p:not(.eyebrow):not(.project-note) { color: var(--muted); font-size: 16px; line-height: 28px; max-width: 440px; }
.tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.tags span { font: 400 11px/16px var(--mono); padding: 4px 8px; border: 1px solid var(--line); border-radius: 2px; color: var(--muted); }
.project-link { margin-top: 24px; }
.project-note { margin-top: 16px; color: var(--muted); font-size: 12px; line-height: 20px; max-width: 400px; }
.project-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px; margin-top: 48px; }
.mini-preview { --preview-ink: var(--ink); --preview-muted: var(--muted); --preview-line: var(--line); display: flex; flex-direction: column; min-height: 416px; padding: 24px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 2px; }
.dscode-preview { --preview-ink: #e6efea; --preview-muted: #a9c1c2; --preview-line: #36525c; background: #27332f; border-color: #36525c; }
.preview-heading { display: flex; justify-content: space-between; gap: 16px; font: 400 11px/16px var(--mono); color: var(--muted); }
.preset-diagram { display: flex; align-items: center; justify-content: center; flex: 1; min-height: 112px; margin: 16px 0; }
.preset-inputs { display: flex; flex-direction: column; gap: 8px; }
.preset-inputs span { font: 400 11px/16px var(--mono); border: 1px solid var(--line); padding: 4px 12px; border-radius: 2px; background: var(--panel); }
.preset-connector { position: relative; width: 48px; height: 64px; border: 1px solid #8baaaa; border-left: 0; border-radius: 0 12px 12px 0; }
.preset-connector:before { content: ''; position: absolute; left: 0; right: -24px; top: 50%; height: 1px; background: #8baaaa; }
.preset-artifact { display: flex; align-items: center; gap: 12px; padding-left: 40px; font: 400 12px/20px var(--mono); }
.preset-artifact svg { width: 32px; height: 32px; color: var(--accent); }
.preset-artifact strong { font: 500 24px/32px var(--sans); letter-spacing: -.8px; }
.mini-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.mini-tabs button { flex: 1; min-width: 0; min-height: 40px; padding: 8px 4px; font: 400 12px/16px var(--sans); color: var(--muted); background: transparent; border-radius: 2px; }
.mini-tabs button.active { color: var(--ink); background: var(--panel); }
.dscode-preview .mini-tabs button.active { background: #294954; }
.hub-description, .dscode-description { min-height: 40px; margin: 16px 0; color: var(--muted); font-size: 14px; line-height: 20px; }
.command-snippet { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px; min-height: 72px; padding: 12px; border: 1px solid var(--line); border-radius: 2px; background: var(--panel); }
.command-snippet code { font: 400 11px/20px var(--mono); overflow-wrap: anywhere; }
.copy-command { color: var(--muted); background: none; padding: 8px 0; font: 400 11px/16px var(--mono); }
.copy-command:hover { color: var(--ink); }
.dscode-preview .command-snippet { background: #0d2632; }
.preview-footnote { margin-top: 12px; color: var(--muted); font: 400 10px/16px var(--mono); }

@media(max-width:1200px) { .work-shell { gap: 40px; } .work-row { gap: 16px; } .work-row strong { font-size: 20px; } .work-cover { padding: 20px; } .diff-study code { font-size: 9px; } .diff-study i { margin-inline: 6px; } }
@media(max-width:900px) { .work-shell { grid-template-columns: 1fr; gap: 32px; } .work-index { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; } .work-index-label,.work-more { grid-column: 1/-1; } .work-row { min-height: 112px; } .work-row strong { font-size: 20px; } .work-more { margin-top: 8px; } .work-cover { height: 300px; } .diff-study { max-width: 520px; width: 100%; align-self: center; } .diff-study code { font-size: 12px; } .work-detail-copy { padding-top: 24px; } }
@media(max-width:600px) { .work-index { display: block; } .work-row { min-height: 88px; padding-block: 20px; gap: 12px; } .work-row small { margin-top: 4px; font-size: 11px; } .work-row strong { font-size: 20px; line-height: 24px; } .work-number { padding-top: 2px; } .work-cover { height: 248px; padding: 16px; } .cover-label,.cover-foot { font-size: 9px; } .diff-study code { font-size: 9px; line-height: 22px; } .diff-study i { margin-inline: 5px; font-size: 8px; } .code-file { padding-inline: 10px; } .work-detail-copy h3 { font-size: 26px; line-height: 32px; } .work-detail-copy .eyebrow { line-height: 18px; font-size: 9px; } .hub-study { gap: 20px; } .hub-study svg { width: 72px; } .hub-output { font-size: 36px; line-height: 36px; } .dscode-study { gap: 20px; } .dscode-study strong { font-size: 24px; line-height: 28px; } .dscode-study > span { font-size: 48px; } .aside-study svg { width: 140px; } .aside-study > span { font-size: 26px; line-height: 30px; } }
@media(max-width:360px) { .diff-study { margin-inline: -8px; width: calc(100% + 16px); } .diff-study code { font-size: 8px; } .diff-study i { margin-inline: 3px; } .work-row strong { font-size: 18px; } .dscode-study { gap: 12px; } .dscode-study strong { font-size: 20px; } .hub-study { gap: 12px; } .hub-input { font-size: 10px; } .aside-study { gap: 0; } .aside-study svg { width: 128px; } .aside-study > span { font-size: 24px; } }
.about-top { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; border-top: 1px solid var(--line); margin-bottom: 48px; }
.small-note { color: var(--muted); font: 400 11px/16px var(--mono); }
.about-intro { display: grid; grid-template-columns: 1.1fr 1fr; align-items: start; gap: 64px; margin-bottom: 40px; }
.about-copy p { color: var(--muted); font-size: 16px; line-height: 28px; max-width: 560px; }
.about-copy p + p { margin-top: 16px; }
.about-copy .text-link { margin-top: 16px; }
.off-duty { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 16px 0; margin-bottom: 32px; border-top: 1px solid var(--line); color: var(--muted); }
.off-duty-label { font: 400 11px/16px var(--mono); }
.off-duty > p { display: flex; gap: 16px; align-items: center; font-size: 12px; }
.off-duty a:hover { color: var(--accent); }
.quiet-number { font: 400 11px/16px var(--mono); }
.off-duty p > span { color: var(--line); }
.focus-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.focus-list summary { display: grid; grid-template-columns: 32px 1fr auto 24px; align-items: center; gap: 24px; padding: 24px 0; }
.focus-number { color: var(--accent); font: 400 12px/16px var(--mono); }
.focus-list h3 { font-size: 24px; line-height: 32px; letter-spacing: -.8px; font-weight: 500; }
.focus-tags { font: 400 11px/16px var(--mono); color: var(--muted); }
.expand-symbol { display: inline-block; width: 24px; text-align: center; font-size: 24px; line-height: 24px; transition: transform .3s var(--ease); }
details[open] .expand-symbol { transform: rotate(45deg); color: var(--accent); }
summary:hover h3 { color: var(--accent); }
.focus-detail { display: flex; justify-content: space-between; gap: 48px; padding: 0 48px 24px 56px; }
.focus-detail p { max-width: 560px; font-size: 14px; line-height: 24px; color: var(--muted); }
.focus-detail > span { max-width: 288px; font: 400 12px/20px var(--mono); color: var(--muted); }
.journey { padding-bottom: 96px; }
.journey-controls { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 16px; color: var(--muted); font: 400 11px/16px var(--mono); }
.journey-controls button { background: none; color: var(--ink); padding: 8px 0 8px 12px; font: 400 14px/20px var(--sans); }
.journey-controls button > span { margin-left: 12px; }
.journey-controls button:hover { color: var(--accent); }
.journey-list { border-top: 1px solid var(--line); }
.journey-list summary { display: grid; grid-template-columns: 160px 1fr 208px 24px; align-items: center; gap: 24px; padding: 24px 0; }
.journey-date { color: var(--muted); font: 400 11px/20px var(--mono); }
.journey-list summary > div { min-width: 0; }
.journey-list h3 { font-size: 24px; line-height: 32px; letter-spacing: -.7px; font-weight: 500; }
.journey-list summary p { color: var(--muted); font-size: 14px; line-height: 20px; margin-top: 4px; }
.journey-type { color: var(--muted); font: 400 11px/16px var(--mono); }
.journey-detail { padding: 0 48px 32px 184px; }
.journey-detail p { color: var(--muted); font-size: 14px; line-height: 24px; max-width: 680px; }
.journey-detail p.role-intro { color: var(--ink); font-size: 16px; line-height: 24px; }
.journey-detail ul { color: var(--muted); font-size: 14px; line-height: 24px; max-width: 680px; padding-left: 16px; margin: 16px 0 24px; }
.journey-detail li + li { margin-top: 12px; }
.journey-detail li::marker { color: var(--accent); }
.role-stack { display: flex; flex-wrap: wrap; gap: 8px; }
.role-stack span { padding: 4px 8px; border: 1px solid var(--line); border-radius: 2px; font: 400 11px/16px var(--mono); color: var(--muted); }
.independent-work { display: grid; grid-template-columns: 160px 1fr 24px; align-items: center; gap: 24px; margin: 24px 0; }
.independent-work .eyebrow { font-size: 11px; }
.independent-work p { color: var(--muted); font-size: 14px; line-height: 24px; }
.independent-work p a { color: var(--ink); border-bottom: 1px solid var(--line); }
.independent-work p a:hover { color: var(--accent); border-color: var(--accent); }
.independent-work > span:last-child { color: var(--accent); font-size: 24px; }
.education { display: flex; align-items: center; gap: 24px; margin-top: 32px; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 2px; }
.education-icon { color: var(--accent); font-size: 30px; line-height: 36px; }
.education-content { min-width: 0; }
.education .eyebrow { font-size: 11px; }
.education h3 { font-size: 20px; line-height: 28px; letter-spacing: -.4px; font-weight: 500; margin: 8px 0; }
.education-degree { font-size: 14px; line-height: 20px; color: var(--muted); }
.education-date { margin-left: auto; align-self: flex-start; color: var(--muted); font: 400 11px/16px var(--mono); white-space: nowrap; }
.education-minors { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.education-minors > span { color: var(--muted); font: 400 11px/16px var(--mono); margin-right: 4px; }
.education-minors strong { font-size: 12px; line-height: 20px; font-weight: 600; color: var(--accent); padding: 4px 8px; border: 1px solid var(--accent); border-radius: 2px; }
.contact { padding: 48px var(--gutter); background: var(--contact); border-block: 1px solid var(--line); }
.contact-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.contact-top > span { color: var(--muted); font: 400 11px/16px var(--mono); }
.contact-main { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin: 48px 0; }
.contact h2 { font-size: 72px; line-height: 1; letter-spacing: -4px; }
.contact h2 a { display: inline-block; margin-top: 8px; color: var(--accent); }
.contact h2 a > span:last-child { display: inline-block; font-size: 48px; margin-left: 32px; transition: transform .3s var(--ease); }
.contact h2 a:hover > span:last-child { transform: translate(4px,-4px); }
.contact-main > p { color: var(--muted); font-size: 14px; line-height: 24px; max-width: 320px; }
.contact-bottom { display: flex; align-items: center; gap: 24px; border-top: 1px solid var(--line); padding-top: 24px; }
.email-link { font-size: 20px; line-height: 28px; letter-spacing: -.4px; }
.copy-email { display: flex; align-items: center; gap: 8px; padding: 12px 0; background: none; color: var(--muted); font-size: 12px; line-height: 16px; }
.copy-email svg { width: 16px; height: 16px; }
.copy-email:hover { color: var(--accent); }
.social-links { display: flex; align-items: center; gap: 32px; margin-left: auto; font-size: 14px; }
.social-links a { position: relative; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 var(--gutter); padding: 32px 0; }
footer .wordmark { font-size: 30px; letter-spacing: -3px; }
footer p, footer > a:last-child, .motion-setting { color: var(--muted); font: 400 11px/16px var(--mono); }
.footer-divider { margin: 0 12px; color: var(--line); }
.motion-setting { padding: 12px 0; background: none; white-space: nowrap; }
.motion-setting span { color: var(--ink); margin-left: 8px; }
.footer-interest { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font: 400 11px/16px var(--mono); }
.footer-interest svg { width: 18px; height: 18px; stroke-width: 1.2; }
.footer-interest:hover { color: var(--accent); }
.toast { position: fixed; bottom: 24px; left: 50%; z-index: 50; max-width: calc(100% - 32px); padding: 16px 24px; color: var(--bg); background: var(--ink); border-radius: 2px; opacity: 0; transform: translate(-50%,16px); pointer-events: none; font-size: 14px; line-height: 20px; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.toast.visible { opacity: 1; transform: translate(-50%,0); }
[data-reveal] { transition: opacity .7s var(--ease), transform .8s var(--ease); }
[data-motion=on] [data-reveal]:not(.is-visible):not(:focus-within) { opacity: 0; transform: translateY(24px); }
[data-motion=off] { scroll-behavior: auto; }
[data-motion=off] *, [data-motion=off] *:before, [data-motion=off] *:after { animation: none !important; transition: none !important; }
[data-motion=off] [data-tilt], [data-motion=off] [data-reveal] { transform: none; }
[data-motion=off] .button-dark, [data-motion=off] .hello-link { translate: none; }
@media (max-width: 1100px) {
  .section-heading { grid-template-columns: 1fr 280px; gap: 32px; }
  .project { gap: 32px; }
  .project-info h3 { font-size: 30px; line-height: 36px; }
  .project-pair { gap: 32px; }
  .project-visual { padding: 16px; }
  .file-change { display: none; }
  .demo-badge { font-size: 10px; }
  .demo-bottom > span:last-child { display: none; }
  .mini-preview { padding: 16px; }
  .preset-connector { width: 32px; }
  .preset-artifact { padding-left: 32px; gap: 8px; }
  .preset-artifact svg { width: 24px; }
  .terminal-motif { gap: 16px; }
  .terminal-motif strong { font-size: 20px; line-height: 28px; }
  .terminal-motif div > span { font-size: 10px; }
  .aside-project { grid-template-columns: 144px 1fr; gap: 24px; }
  .aside-meta { grid-column: 2; flex-direction: row; align-items: center; }
  .about-intro { gap: 32px; }
  .about-intro h2 { font-size: 48px; letter-spacing: -2.4px; }
  .focus-tags { display: none; }
  .focus-list summary { grid-template-columns: 32px 1fr 24px; }
  .journey-list summary { grid-template-columns: 128px 1fr 160px 24px; gap: 16px; }
  .journey-type { font-size: 10px; }
  .journey-detail { padding-left: 144px; }
  .independent-work { grid-template-columns: 128px 1fr 24px; gap: 16px; }
  .contact h2 { font-size: 60px; }
  footer p, footer > a:last-child, .motion-setting { font-size: 10px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 88px; }
  .header { height: 80px; gap: 16px; }
  .header nav { gap: 20px; }
  .header nav a { font-size: 12px; }
  .header nav a > span, .hello-link { display: none; }
  .header-actions { gap: 0; }
  .wordmark { font-size: 32px; }
  .section { padding-top: 64px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  h2 { font-size: 48px; letter-spacing: -2.4px; }
  .section-heading h2 { margin-top: 16px; }
  .section-intro { max-width: 480px; }
  .project { grid-template-columns: 1fr; gap: 32px; }
  .project, .project-small, .aside-project { scroll-margin-top: 104px; }
  .project-info h3 { font-size: 30px; line-height: 36px; margin: 16px 0; }
  .project-info > p:not(.eyebrow):not(.project-note), .project-small > p:not(.contribution-note) { font-size: 14px; line-height: 24px; }
  .project-pair { grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
  .mini-preview { padding: 24px; min-height: 400px; }
  .small-project-heading { margin-top: 24px; }
  .small-project-heading h3 { font-size: 24px; line-height: 32px; }
  .aside-project { grid-template-columns: 1fr; gap: 24px; padding: 24px; margin-top: 40px; }
  .aside-art { height: 144px; }
  .aside-meta { grid-column: 1; }
  .aside-copy h3 { font-size: 24px; line-height: 32px; }
  .project-tagline { font-size: 18px; margin-left: 12px; }
  .all-work { font-size: 12px; line-height: 20px; gap: 16px; }
  .all-work > span:last-child { white-space: nowrap; }
  .about-top { margin-bottom: 32px; gap: 16px; }
  .small-note { display: none; }
  .about-intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  .about-intro h2 { font-size: 48px; }
  .about-copy p { font-size: 14px; line-height: 24px; }
  .off-duty { gap: 12px; }
  .off-duty-label { width: 100%; }
  .focus-list summary { gap: 16px; grid-template-columns: 24px 1fr 24px; }
  .focus-list h3 { font-size: 20px; line-height: 28px; }
  .focus-detail { display: block; padding: 0 0 24px 40px; }
  .focus-detail > span { display: block; margin-top: 16px; max-width: none; }
  .journey { padding-bottom: 64px; }
  .journey-controls { font-size: 10px; gap: 16px; }
  .journey-controls > span { max-width: 144px; }
  .journey-controls button { font-size: 12px; padding-left: 0; }
  .journey-list summary { grid-template-columns: 88px 1fr 24px; gap: 16px; }
  .journey-date { font-size: 10px; line-height: 16px; }
  .journey-list h3 { font-size: 20px; line-height: 28px; }
  .journey-list summary p { font-size: 12px; line-height: 20px; }
  .journey-type { display: none; }
  .journey-detail { padding: 0 0 24px; }
  .journey-detail ul { font-size: 14px; line-height: 24px; }
  .independent-work { grid-template-columns: 1fr 24px; margin: 24px 0; }
  .independent-work .eyebrow { grid-column: 1/-1; }
  .independent-work p { font-size: 12px; line-height: 20px; }
  .education { padding: 24px; gap: 16px; position: relative; }
  .education-icon { display: none; }
  .education h3 { font-size: 18px; line-height: 28px; }
  .education-date { position: absolute; right: 24px; top: 24px; font-size: 10px; }
  .education-minors > span { width: 100%; }
  .education-minors strong { font-size: 11px; }
  .contact { padding-top: 32px; padding-bottom: 32px; }
  .contact-top > span { display: none; }
  .contact-main { display: block; margin: 32px 0; }
  .contact h2 { font-size: 48px; letter-spacing: -2.4px; }
  .contact h2 a > span:last-child { font-size: 36px; margin-left: 24px; }
  .contact-main > p { margin-top: 24px; }
  .contact-bottom { flex-wrap: wrap; gap: 16px; }
  .email-link { font-size: 18px; }
  .copy-email { margin-left: auto; }
  .social-links { width: 100%; margin: 0; gap: 24px; }
  footer { flex-wrap: wrap; gap: 16px; padding: 24px 0; }
  footer p { order: 4; width: 100%; text-align: center; }
}
@media (max-width: 420px) {
  .header nav { gap: 16px; }
  h2, .about-intro h2 { font-size: 36px; letter-spacing: -1.8px; }
  .eyebrow { font-size: 11px; }
  .demo-title { padding: 16px 12px; font-size: 11px; }
  .demo-badge { font-size: 9px; }
  .demo-toolbar, .diff-options { padding: 12px; gap: 8px; font-size: 10px; }
  .segmented button { font-size: 10px; padding: 4px 8px; }
  .diff-options label { gap: 4px; }
  .diff-options select { padding: 4px; }
  .diff-checkbox { font-size: 10px; }
  .demo-bottom { padding: 12px; font-size: 9px; }
  .project-visual-label { font-size: 10px; }
  .mini-preview { padding: 16px; }
  .terminal-motif { gap: 12px; }
  .terminal-motif strong { font-size: 20px; line-height: 24px; }
  .terminal-motif div > span { font-size: 9px; }
  .preset-artifact { padding-left: 24px; gap: 8px; }
  .preset-artifact svg { width: 24px; }
  .preset-inputs span { padding: 4px 8px; }
  .mini-tabs button { font-size: 11px; }
  .aside-project { padding: 16px; }
  .aside-copy h3 { font-size: 24px; }
  .project-tagline { display: inline-block; margin-left: 8px; font-size: 16px; }
  .focus-list h3 { font-size: 18px; line-height: 28px; }
  .journey-list summary { grid-template-columns: 72px 1fr 24px; gap: 12px; }
  .journey-list h3 { font-size: 18px; line-height: 24px; }
  .journey-controls button > span { margin-left: 4px; }
  .education { padding: 24px 16px; }
  .education-date { right: 16px; }
  .education h3 { font-size: 16px; line-height: 24px; }
  .education-minors strong { font-size: 10px; }
  .contact h2 { font-size: 36px; letter-spacing: -1.8px; }
  .contact h2 a > span:last-child { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  [data-tilt] { transform: none !important; }
  .button-dark, .hello-link { translate: none !important; }
}

/* Project navigation keeps its place while the selected project changes. */
@keyframes project-arrive { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
[data-motion=on] .work-index.has-tabs + .work-panels .work-detail:not([hidden]) { animation: project-arrive .22s var(--ease); }
.contact h2 .contact-signoff { font: italic 400 1.18em/.95 'Instrument Serif', Georgia, serif; letter-spacing: -.035em; }
.contact .social-links a { min-height: 44px; display: inline-flex; align-items: center; }
.about-copy p { max-width: 54ch; font-size: 16px; line-height: 28px; }
.work-links .text-link { min-height: 44px; }
@media (min-width: 901px) and (min-height: 780px) {
  .work-index.has-tabs { position: sticky; top: 128px; }
}
@media (max-width: 900px) {
  .work-index { display: block; }
  .work-index.has-tabs .work-tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
  .work-index.has-tabs .work-index-label { padding-bottom: 12px; border: 0; }
  .work-index.has-tabs .work-row { position: relative; display: flex; flex-direction: column; align-items: start; justify-content: center; gap: 8px; min-height: 88px; padding: 12px; border: 1px solid var(--line); }
  .work-index.has-tabs .work-row[aria-selected=true] { box-shadow: inset 0 -2px var(--accent); background: color-mix(in srgb,var(--accent) 5%,var(--bg)); }
  .work-index.has-tabs .work-row strong { font-size: 14px; line-height: 18px; letter-spacing: -.25px; }
  .work-index.has-tabs .work-name-full,.work-index.has-tabs .work-row small,.work-index.has-tabs .work-row-arrow { display: none; }
  .work-index.has-tabs .work-name-short { display: inline; }
  .work-index.has-tabs .work-number { padding: 0; }
  .work-index.has-tabs .work-more { margin-top: 8px; padding-block: 8px; font-size: 11px; }
  .work-shell { gap: 24px; }
}
@media (max-width: 420px) {
  .work-index.has-tabs .work-tabs { gap: 6px; }
  .work-index.has-tabs .work-row { padding: 10px 8px; min-height: 84px; }
  .work-index.has-tabs .work-row strong { font-size: 12px; line-height: 17px; }
  .about-copy p { font-size: 15px; line-height: 26px; }
}
