@import url('./fonts.css');

:root {
  --bg: #0b1013;
  --surface: #10171b;
  --surface-raised: #151e23;
  --text: #eef2ed;
  --muted: #a0aaa9;
  --mint: #a6f5c5;
  --pink: #d8a2d7;
  --line: #283237;
  --sans: 'Portfolio Sans', 'Avenir Next', 'Segoe UI', sans-serif;
  --mono: 'Portfolio Mono', 'SFMono-Regular', Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
::selection { background: var(--mint); color: var(--bg); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--mint); outline-offset: 6px; }
button:disabled { cursor: default; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 600; }
[hidden] { display: none !important; }
.section-shell { max-width: 1272px; margin-inline: auto; padding-inline: 40px; }
.section-spacing { padding-top: 112px; }
.mono, .eyebrow { font-family: var(--mono); font-size: 10px; line-height: 1.6; letter-spacing: 1.3px; }
.eyebrow { font-weight: 500; }
.mint { color: var(--mint); }
.muted { color: var(--muted); }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px #a6f5c533; flex: 0 0 auto; }
.icon { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 20px; background: var(--mint); color: var(--bg); padding: 12px 20px; z-index: 100; }
.skip-link:focus { top: 16px; }

.site-header { height: 100px; max-width: 1272px; padding: 0 40px; margin: auto; display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 5; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 11px; font-weight: 500; line-height: 1.4; letter-spacing: 1.3px; }
.brand-mark { font-family: var(--mono); font-size: 32px; letter-spacing: -4px; color: var(--mint); padding-right: 3px; font-weight: 500; }
.brand-mark > span { color: var(--text); }
.brand-subtitle { display: block; font-size: 8px; color: var(--muted); letter-spacing: 1.45px; margin-top: 4px; }
.site-header nav { display: flex; gap: 32px; margin-left: 20px; }
.site-header nav a { font-size: 12px; color: #c5cdca; }
.site-header nav a span { font-family: var(--mono); font-size: 9px; color: #81918c; margin-right: 7px; }
.site-header nav a:hover, .site-header nav a[aria-current], .header-contact:hover { color: var(--mint); }
.header-contact { font-size: 12px; border: 1px solid #3d4b48; padding: 10px 18px; border-radius: 3px; }
.header-contact span { margin-left: 16px; color: var(--mint); }

.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; padding-top: 77px; padding-bottom: 73px; position: relative; isolation: isolate; overflow: hidden; }
.hero-content { position: relative; z-index: 2; }
.hero .eyebrow { display: flex; align-items: center; gap: 11px; color: #c2cec7; font-size: 9px; letter-spacing: 1.5px; margin-bottom: 30px; }
h1 { font-size: clamp(50px, 5.3vw, 72px); line-height: 1.08; letter-spacing: -3.5px; font-weight: 550; white-space: nowrap; }
h1 > span { color: var(--mint); }
.hero-intro { font-size: 19px; line-height: 1.6; margin-top: 28px; letter-spacing: -.25px; }
.hero-description { color: var(--muted); font-size: 14px; margin-top: 16px; line-height: 1.8; }
.hero-description em { color: #dce4df; font-style: normal; }
.hero-actions { display: flex; gap: 22px; align-items: center; margin-top: 31px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 28px; border-radius: 3px; padding: 13px 22px; font-size: 12px; font-weight: 600; transition: background .18s, transform .18s; }
.button-primary { background: var(--mint); color: #11251a; border: 1px solid var(--mint); }
.button-primary:hover { background: #c6ffdb; transform: translateY(-2px); }
.button-text { color: #d4ddd8; padding-inline: 0; gap: 9px; }
.button-text:hover { color: var(--mint); }
.button span { font-size: 17px; }
.hero-footnote { margin-top: 42px; font-family: var(--mono); color: #93a29a; font-size: 9px; letter-spacing: .1px; }
.hero-footnote > span { font-size: 15px; margin-right: 10px; }
.hero-visual { position: relative; max-width: 406px; width: 100%; margin-top: 11px; justify-self: end; align-self: start; }
.portrait { position: relative; border: 1px solid #607369; padding: 9px; background: #111c1bd9; transform: rotate(2deg); box-shadow: 0 24px 55px #0005; }
.portrait-topline, .portrait figcaption { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 7px; letter-spacing: .75px; color: #b9c6bf; padding: 2px 2px 10px; }
.portrait-topline > span:first-child { display: flex; align-items: center; gap: 6px; }
.portrait-topline .status-dot { width: 4px; height: 4px; }
.portrait img { aspect-ratio: 1 / 1.06; width: 100%; height: auto; object-fit: cover; object-position: 50% 37%; filter: saturate(.74); }
.portrait figcaption { padding: 12px 2px 2px; font-size: 7px; }
.portrait figcaption span:first-child { color: var(--mint); }
.portrait-corner { position: absolute; width: 17px; height: 17px; }
.corner-tl { top: -4px; left: -4px; border-top: 2px solid var(--mint); border-left: 2px solid var(--mint); }
.corner-br { bottom: -4px; right: -4px; border-bottom: 2px solid var(--mint); border-right: 2px solid var(--mint); }
.photo-note { font-family: var(--mono); font-size: 8px; letter-spacing: .15px; color: #acb8ae; margin-top: 22px; text-align: center; }
.photo-note > span { color: var(--pink); font-size: 14px; margin-right: 6px; }
.orbital-decoration { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, #89748a1c, #dca4dc04 69%, transparent 70%); z-index: -1; top: -46px; right: -50px; }
.orbital-decoration > i { position: absolute; inset: 0; border: 1px solid #c790bf2e; border-radius: 50%; }
.orbital-decoration > i:nth-child(2) { inset: 25px; }
.orbital-decoration > i:nth-child(3) { inset: 50px; }
.hero-grid { position: absolute; z-index: -1; bottom: -110px; right: -200px; width: 1000px; height: 480px; background-image: linear-gradient(#86ddbc26 1px, transparent 1px), linear-gradient(90deg, #86ddbc26 1px, transparent 1px); background-size: 60px 45px; transform: perspective(400px) rotateX(60deg) rotateZ(-7deg); mask-image: radial-gradient(ellipse, #0008, transparent 70%); }

.career-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 29px; padding-bottom: 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #bcc6c0; }
.strip-label { color: #8c9a91; font-size: 8px; letter-spacing: 1.1px; line-height: 1.7; }
.company-blue { font-size: 16px; letter-spacing: 3px; font-weight: 650; }
.company-feather { font-size: 25px; vertical-align: -2px; letter-spacing: -8px; padding-left: 3px; color: #8da3a5; }
.company-opt { font-size: 23px; font-weight: 550; letter-spacing: -1px; display: flex; align-items: center; gap: 9px; }
.company-opt i { width: 20px; height: 20px; border: 3px solid #a5b3ab; border-left-color: transparent; border-radius: 50%; transform: rotate(-40deg); }
.company-jpm { font-size: 22px; font-family: Georgia, serif; letter-spacing: -1px; }
.company-red { font-family: var(--mono); font-size: 19px; letter-spacing: 2px; line-height: 1; }
.company-red > span { color: #a2ada6; }
.company-red small { display: block; font-size: 6px; letter-spacing: 1.6px; margin-top: 9px; }

.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 32px; }
.section-index { color: var(--mint); font-size: 9px; letter-spacing: 1.6px; margin-bottom: 21px; }
h2 { font-size: 43px; line-height: 1.18; letter-spacing: -1.6px; }
h2 .muted { color: #9ca7a0; }
.section-description { font-size: 14px; color: var(--muted); line-height: 1.8; padding-bottom: 4px; }
.work-toolbar { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); margin-bottom: 25px; padding-bottom: 20px; }
.filters { display: flex; gap: 6px; }
.filter { padding: 8px 13px; font-size: 11px; border: 1px solid transparent; background: transparent; color: var(--muted); border-radius: 3px; }
.filter > span { margin-left: 10px; font-family: var(--mono); font-size: 8px; color: #9abbac; }
.filter.active { background: #a6f5c50b; border-color: #729f874a; color: var(--mint); }
.filter:hover { color: var(--mint); }
.project-count { font-size: 8px; color: #94a199; letter-spacing: 1px; }
.projects-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.project-card { grid-column: span 2; background: var(--surface); border: 1px solid #2a3639; border-radius: 5px; overflow: hidden; position: relative; transition: border-color .2s, transform .2s; display: flex; flex-direction: column; }
.project-card:hover, .project-card:focus-within { border-color: #718c7e; transform: translateY(-3px); }
.project-mcc, .project-script { grid-column: span 3; }
.projects-grid.filtered .project-card { grid-column: span 2; }
.projects-grid.filtered:has(.project-mcc:not([hidden])) .project-card { grid-column: span 3; }
.project-content { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.project-meta { display: flex; justify-content: space-between; font-size: 7px; letter-spacing: 1px; color: #a6b5ad; margin-bottom: 12px; }
.project-title-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 11px; }
.project-title-row h3 { font-size: 23px; letter-spacing: -.6px; line-height: 1.25; }
.card-arrow { color: var(--mint); font-size: 20px; transition: transform .2s; }
.project-card:hover .card-arrow { transform: translate(2px, -2px); }
.project-content > p { color: var(--muted); font-size: 13px; line-height: 1.8; margin-bottom: 20px; flex: 1; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.project-tags > span, .dialog-tags > span { font-family: var(--mono); font-size: 8px; color: #bbc9bf; padding: 3px 8px; border: 1px solid #34413c; border-radius: 2px; }
.project-open { display: flex; justify-content: space-between; width: 100%; background: none; border: 0; border-top: 1px solid var(--line); color: #cddad2; padding: 14px 0 0; text-align: left; font-size: 11px; }
.project-open > span { color: var(--mint); font-size: 18px; line-height: 1; }
.project-open::after { content: ''; position: absolute; inset: 0; }
.project-open:focus-visible { outline: none; }
.project-card:has(.project-open:focus-visible) { outline: 2px solid var(--mint); outline-offset: 4px; }
.project-visual { height: 180px; overflow: hidden; position: relative; background: #091319; border-bottom: 1px solid #34403e; flex: 0 0 auto; }
.project-visual > img { width: 100%; height: 100%; object-fit: contain; }
.project-mcc .project-visual, .project-script .project-visual { height: 260px; }
.project-script .project-visual { background: #03120c; }
.project-visual-artwork > img { object-fit: cover; object-position: 10% center; opacity: .87; }
.project-tripwire .project-visual { background: #050e13; }
.project-systemssim .project-visual { background: #10151d; }
.project-acronym .project-visual { background: #f3f6fb; }
.visual-stamp { position: absolute; bottom: 14px; left: 18px; color: var(--mint); font-size: 6px; letter-spacing: 1px; background: #001308e0; border: 1px solid #539a6c80; padding: 5px 8px; }
.early-work { display: grid; grid-template-columns: 160px 1fr; gap: 24px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.early-work > .mono { color: var(--mint); font-size: 8px; padding-top: 4px; }
.early-work h3 { font-size: 15px; font-weight: 500; margin-bottom: 6px; color: #c8d3ca; }
.early-work h3 a { color: #c8d3ca; }
.early-work h3 a:hover { color: var(--mint); }
.early-work h3 span { color: var(--mint); margin-left: 10px; }
.early-work div > p { max-width: 710px; color: var(--muted); font-size: 12px; line-height: 1.85; }

.experience-list { border-top: 1px solid var(--line); }
.experience-item { border-bottom: 1px solid var(--line); }
.experience-item summary { list-style: none; display: grid; grid-template-columns: 32% 1fr 28px; align-items: center; gap: 25px; padding: 29px 0; cursor: pointer; }
.experience-item summary::-webkit-details-marker { display: none; }
.experience-company > span, .experience-role > .mono { color: #9eaea3; font-size: 8px; letter-spacing: 1px; }
.experience-company h3 { font-size: 23px; letter-spacing: -.75px; margin-top: 7px; }
.experience-role { display: flex; flex-direction: column; gap: 5px; }
.experience-role strong { font-size: 14px; font-weight: 500; }
.experience-role > span:last-child { font-size: 11px; color: var(--muted); }
.experience-toggle { width: 27px; height: 27px; border: 1px solid #3d5045; border-radius: 50%; position: relative; }
.experience-toggle::before, .experience-toggle::after { content: ''; position: absolute; left: 8px; top: 12px; width: 9px; height: 1px; background: var(--mint); }
.experience-toggle::after { transform: rotate(90deg); }
.experience-item[open] .experience-toggle::after { transform: rotate(0); }
.experience-item summary:hover .experience-company h3 { color: var(--mint); }
.experience-expanded { display: grid; grid-template-columns: 1.5fr 1fr; gap: 70px; padding: 0 0 31px; }
.experience-description { padding-top: 4px; }
.experience-intro { font-size: 13px; color: #d0d8d2; margin-bottom: 14px; }
.experience-description ul { margin: 0 0 15px; padding: 0 0 0 16px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.experience-description li { padding-left: 5px; margin-bottom: 7px; }
.experience-description li::marker { color: #829b8c; }
.experience-extra { font-size: 12px; color: var(--muted); line-height: 1.9; }
.progression { border-left: 1px solid #3b4a40; padding: 3px 0 2px 25px; }
.progression > .mono { color: var(--mint); font-size: 7px; letter-spacing: 1.2px; }
.progression > p { margin-top: 17px; position: relative; }
.progression > p::before { content: ''; position: absolute; left: -28px; top: 8px; width: 5px; height: 5px; background: #799b86; border-radius: 50%; }
.progression > p > span { font-family: var(--mono); font-size: 8px; color: #95a99b; display: block; margin-bottom: 3px; }
.progression strong { font-size: 11px; font-weight: 400; color: #c5d1c8; display: block; line-height: 1.6; }
.earlier-experience { display: flex; gap: 30px; padding-top: 26px; color: #9daba0; font-size: 10px; }
.earlier-experience > .mono { font-size: 7px; color: var(--mint); padding-top: 2px; min-width: 90px; }
.earlier-experience p { line-height: 1.95; }
.earlier-experience strong { font-weight: 400; color: #cad3cd; }
.earlier-experience p span { margin-left: 6px; color: #8b9d90; font-family: var(--mono); font-size: 8px; }
.earlier-experience .earlier-note { margin-left: auto; font-size: 10px; color: #94a498; padding-top: 2px; }

.opensource-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; margin-bottom: 30px; }
.opensource-intro > div:last-child { padding-bottom: 4px; }
.opensource-intro p:not(.eyebrow) { color: var(--muted); font-size: 13px; line-height: 1.9; }
.text-link { color: var(--mint); font-size: 11px; margin-top: 15px; display: inline-flex; gap: 24px; align-items: center; }
.text-link:hover { color: #d5ffe5; }
.contributions { border-top: 1px solid var(--line); }
.contribution { display: grid; grid-template-columns: 32% 1fr 25px; gap: 25px; border-bottom: 1px solid var(--line); padding: 22px 0; align-items: center; transition: background .2s; }
.contribution:hover { background: #a6f5c505; }
.contribution-repo { display: flex; align-items: center; gap: 13px; font-size: 11px; letter-spacing: -.3px; }
.pr-icon { font-size: 26px; font-weight: 300; color: var(--mint); padding-inline: 4px; }
.contribution-repo small { font-size: 7px; letter-spacing: 1px; display: block; color: #9bab9f; margin-top: 4px; }
.contribution h3 { font-size: 13px; font-weight: 500; margin-bottom: 3px; }
.contribution p { font-size: 11px; color: var(--muted); }
.contribution > span { font-size: 21px; color: var(--mint); }

.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 95px; padding-bottom: 110px; }
.about h2 { font-size: 39px; line-height: 1.25; letter-spacing: -1.6px; }
.about-lead { font-size: 17px; margin-top: 20px; margin-bottom: 21px; }
.about-story > p:not(.eyebrow):not(.about-lead) { font-size: 14px; color: var(--muted); line-height: 1.95; margin-bottom: 15px; }
.interest-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.interest-tags > span { font-size: 9px; border: 1px solid #34443a; padding: 5px 9px; border-radius: 2px; color: #b5c2b9; }
.about-aside { padding-top: 38px; }
.philosophy { border: 1px solid #3b4b43; border-radius: 5px; background: #0d1515; box-shadow: 0 12px 50px #0002; }
.terminal-bar { display: flex; align-items: center; gap: 22px; padding: 11px 15px; border-bottom: 1px solid #2d3d34; font-family: var(--mono); font-size: 8px; color: #a5b7a9; letter-spacing: .15px; }
.terminal-dots { font-size: 7px; letter-spacing: 2px; color: #607468; }
.terminal-content { padding: 21px 24px 23px; font-family: var(--mono); font-size: 9px; line-height: 1.9; }
.terminal-content > p:first-child { font-size: 8px; color: #bccabc; letter-spacing: -.1px; }
.terminal-content ol { list-style: none; padding: 0; margin: 19px 0; font-size: 12px; line-height: 2; color: #d8e6da; }
.terminal-content li > span { font-size: 8px; margin-right: 16px; color: #91ac96; }
.terminal-prompt { color: #a7baa9; font-size: 9px; }
.terminal-prompt > span:first-child { margin-right: 10px; }
.cursor { color: var(--mint); margin-left: 3px; }
.education { padding-top: 26px; }
.education > .mono { font-size: 7px; color: var(--mint); }
.education p { margin-top: 12px; }
.education strong { display: block; font-size: 11px; font-weight: 500; }
.education p span { display: block; font-size: 10px; color: var(--muted); margin-top: 1px; }
.publication { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line); margin-top: 22px; padding-top: 18px; }
.publication > .mono { color: var(--mint); font-size: 7px; }
.publication strong { font-size: 11px; font-weight: 500; }
.publication strong > span { margin-left: 10px; color: var(--mint); }
.publication > span:last-child { font-size: 10px; color: var(--muted); }
.publication:hover strong { color: var(--mint); }

.contact { padding-top: 48px; padding-bottom: 27px; position: relative; isolation: isolate; border-top: 1px solid #4b6354; border-bottom: 1px solid #4b6354; background: linear-gradient(115deg, #14231a77, transparent 70%); overflow: hidden; }
.contact .eyebrow { color: #b9cfbd; display: flex; align-items: center; gap: 10px; font-size: 8px; }
.contact-row { display: flex; justify-content: space-between; align-items: center; margin-top: 23px; gap: 40px; }
.contact h2 { font-size: 59px; line-height: 1.08; letter-spacing: -2.3px; }
.contact h2 > span { color: var(--mint); }
.contact-copy { padding-right: 35px; }
.contact-copy p { font-size: 12px; line-height: 1.9; color: #aebcb0; margin-bottom: 22px; }
.contact-copy .button { min-width: 155px; justify-content: space-between; }
.contact-bottom { display: flex; align-items: center; gap: 20px; margin-top: 36px; padding-top: 20px; border-top: 1px solid #a6f5c51c; }
.contact-bottom > a { font-family: var(--mono); font-size: 10px; color: #c2d3c4; }
.contact-bottom > a:hover { color: var(--mint); }
.contact-bottom > a > span { color: var(--mint); margin-left: 10px; }
.copy-email { padding: 3px 10px; display: flex; gap: 9px; align-items: center; font-size: 9px; color: #acc0ae; background: transparent; border: 0; border-left: 1px solid #475849; }
.copy-email .icon { width: 11px; height: 11px; }
.copy-email:hover { color: var(--mint); }
.contact-grid { position: absolute; inset: 0; background-image: linear-gradient(#7fa88d0a 1px, transparent 1px), linear-gradient(90deg, #7fa88d0a 1px, transparent 1px); background-size: 45px 45px; mask-image: linear-gradient(90deg, transparent 20%, #000 100%); z-index: -1; }
.site-footer { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding-top: 31px; padding-bottom: 30px; }
.footer-brand { gap: 13px; font-size: 9px; }
.footer-brand .brand-mark { font-size: 25px; }
.site-footer p { font-size: 9px; color: #8b9b8f; margin-left: 22px; }
.site-footer > div { display: flex; gap: 23px; font-size: 9px; color: #bdcabc; }
.site-footer a:hover { color: var(--mint); }
.copyright { grid-column: 1 / -1; font-family: var(--mono); font-size: 7px; color: #92a596; letter-spacing: .4px; }

.project-dialog { width: min(760px, calc(100% - 40px)); max-height: calc(100dvh - 60px); background: var(--surface); color: var(--text); border: 1px solid #6b8a76; border-radius: 6px; padding: 0; box-shadow: 0 30px 120px #0009; }
.project-dialog::backdrop { background: #03090dd9; backdrop-filter: blur(7px); }
.dialog-top { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 19px 30px; background: #15221b; border-bottom: 1px solid #3a4d40; position: sticky; top: 0; z-index: 1; }
.dialog-top > span { font-size: 8px; color: var(--mint); letter-spacing: 1px; }
.dialog-close { background: none; border: 0; color: #d1dfd3; font-size: 11px; display: flex; align-items: center; gap: 15px; padding: 2px; }
.dialog-close > span { font-size: 26px; line-height: 1; }
.dialog-body { padding: 34px 40px 40px; }
.dialog-body > .eyebrow { color: #a5c5af; font-size: 8px; margin-bottom: 12px; }
.dialog-body h2 { font-size: 43px; margin-bottom: 18px; }
.dialog-summary { color: #d0dfd3; font-size: 17px; line-height: 1.6; }
.dialog-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.dialog-image-figure { margin-top: 24px; }
.dialog-image-figure > a { display: block; border: 1px solid #3b4c41; border-radius: 4px; overflow: hidden; background: #091319; }
.dialog-image-figure img { width: 100%; height: auto; }
.dialog-image-figure > a > span { display: flex; justify-content: end; gap: 10px; padding: 8px 12px; border-top: 1px solid #3b4c41; font-size: 10px; color: var(--mint); background: #14221a; }
.dialog-image-figure a:hover > span { color: #d5ffe5; }
.dialog-image-figure figcaption { margin-top: 8px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.dialog-body h3 { margin: 28px 0 8px; color: var(--mint); font-size: 14px; }
.dialog-body > p:not(.eyebrow):not(.dialog-summary), .dialog-body li { font-size: 13px; color: #aebeb1; line-height: 1.9; }
.dialog-body ul { padding-left: 20px; margin-top: 18px; }
.dialog-body li { margin-bottom: 8px; padding-left: 4px; }
.dialog-body li::marker { color: var(--mint); }
.dialog-body blockquote { margin: 28px 0; padding: 8px 0 8px 22px; border-left: 2px solid var(--mint); color: #cfdfd2; font-size: 14px; line-height: 1.8; }
.noscript-note { text-align: center; padding: 24px; font-size: 12px; }
.noscript-note a { color: var(--mint); text-decoration: underline; }

@media (min-width: 1500px) {
  .hero { padding-top: 90px; padding-bottom: 86px; }
  h1 { font-size: 76px; }
}
@media (max-width: 1050px) {
  .section-shell, .site-header { padding-inline: 30px; }
  .hero { gap: 30px; grid-template-columns: 1.2fr 1fr; padding-top: 60px; }
  h1 { font-size: 57px; letter-spacing: -2.8px; }
  .hero-intro { font-size: 17px; }
  .hero-description { font-size: 13px; }
  .portrait { margin-top: 9px; }
  .company-blue { font-size: 13px; letter-spacing: 2px; }
  .company-opt { font-size: 20px; }
  .company-jpm { font-size: 19px; }
  .company-red { font-size: 16px; }
  .company-red small { font-size: 5px; letter-spacing: 1.2px; }
  .projects-grid { gap: 17px; }
  .project-content { padding: 19px; }
  .project-meta { font-size: 6px; letter-spacing: .5px; }
  .about { gap: 55px; }
  .about h2 { font-size: 34px; }
  .earlier-experience { gap: 20px; }
  .earlier-experience .earlier-note { max-width: 230px; }
  .opensource-intro { gap: 45px; }
}
@media (max-width: 800px) {
  .site-header { height: 85px; }
  .site-header nav { gap: 22px; margin-left: 0; }
  .site-header nav a span { display: none; }
  .brand { font-size: 9px; gap: 9px; }
  .brand-subtitle { font-size: 6px; }
  .brand-mark { font-size: 28px; }
  .header-contact { font-size: 10px; padding: 8px 12px; }
  .header-contact span { margin-left: 9px; }
  .hero { gap: 23px; padding-top: 50px; padding-bottom: 50px; }
  .hero .eyebrow { font-size: 7px; letter-spacing: 1px; margin-bottom: 23px; }
  h1 { font-size: 45px; letter-spacing: -2px; }
  .hero-intro { font-size: 15px; margin-top: 22px; }
  .hero-description { font-size: 12px; }
  .desktop-break { display: none; }
  .hero-actions { gap: 14px; }
  .button { padding: 11px 16px; font-size: 10px; gap: 15px; }
  .button-text { padding-inline: 0; gap: 6px; }
  .hero-footnote { font-size: 7px; margin-top: 27px; }
  .hero-footnote > span { font-size: 10px; }
  .hero-visual { margin-top: 22px; }
  .portrait-topline, .portrait figcaption { font-size: 5px; letter-spacing: .3px; }
  .portrait img { aspect-ratio: 1 / 1.3; }
  .portrait { padding: 7px; }
  .photo-note { font-size: 6px; }
  .career-strip { flex-wrap: wrap; justify-content: space-around; gap: 21px; padding-block: 22px; }
  .strip-label { width: 100%; text-align: center; }
  .strip-label > br { display: none; }
  .section-spacing { padding-top: 80px; }
  h2 { font-size: 36px; letter-spacing: -1.4px; }
  .section-heading { gap: 40px; }
  .section-description { font-size: 11px; max-width: 240px; }
  .section-index { font-size: 8px; margin-bottom: 18px; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .project-card, .project-mcc, .project-script, .projects-grid.filtered .project-card, .projects-grid.filtered:has(.project-mcc:not([hidden])) .project-card { grid-column: span 1; }
  .project-mcc { grid-column: span 2; }
  .project-mcc .project-visual { height: 250px; }
  .project-script .project-visual { height: 180px; }
  .project-card .project-content { padding: 22px; }
  .project-mcc .project-content > p { max-width: 500px; }
  .project-meta { font-size: 7px; }
  .experience-item summary { grid-template-columns: 29% 1fr 26px; gap: 18px; }
  .experience-company h3 { font-size: 18px; }
  .experience-role strong { font-size: 12px; }
  .experience-role > span:last-child { font-size: 10px; }
  .experience-company > span, .experience-role > .mono { font-size: 6px; }
  .experience-expanded { gap: 35px; grid-template-columns: 1.3fr 1fr; }
  .earlier-experience { flex-wrap: wrap; }
  .earlier-experience .earlier-note { max-width: none; margin-left: 110px; }
  .opensource-intro { gap: 30px; }
  .contribution { grid-template-columns: 27% 1fr 20px; gap: 20px; }
  .contribution-repo { font-size: 9px; gap: 8px; }
  .contribution h3 { font-size: 12px; }
  .contribution p { font-size: 10px; }
  .about { gap: 40px; grid-template-columns: 1fr 1fr; padding-bottom: 80px; }
  .about h2 { font-size: 29px; letter-spacing: -1px; }
  .about-story > p:not(.eyebrow):not(.about-lead) { font-size: 13px; }
  .about-lead { font-size: 14px; }
  .terminal-content { padding: 20px 17px; }
  .terminal-bar { gap: 10px; font-size: 6px; }
  .terminal-content > p:first-child { font-size: 6px; }
  .terminal-content ol { font-size: 10px; }
  .terminal-prompt { font-size: 7px; }
  .contact { padding-top: 40px; }
  .contact h2 { font-size: 45px; }
  .contact-copy { padding-right: 0; max-width: 250px; }
  .contact-copy p { font-size: 11px; }
  .site-footer { grid-template-columns: auto 1fr; }
  .site-footer p { font-size: 8px; text-align: right; margin: 0; }
  .site-footer > div { grid-column: 1 / -1; }
  .copyright { grid-column: auto; grid-row: 2; justify-self: end; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 25px; }
  .section-shell, .site-header { padding-inline: 22px; }
  .site-header { height: 77px; }
  .site-header nav { gap: 15px; margin-left: auto; }
  .site-header nav a { font-size: 10px; }
  .header-contact { display: none; }
  .brand { gap: 10px; }
  .brand-subtitle { font-size: 6px; letter-spacing: .8px; }
  .hero { grid-template-columns: 1fr; gap: 42px; padding-top: 44px; padding-bottom: 36px; }
  .hero .eyebrow { font-size: 7px; letter-spacing: 1.2px; margin-bottom: 25px; }
  h1 { font-size: clamp(40px, 10.5vw, 62px); line-height: 1.12; letter-spacing: -2px; }
  .hero-intro { font-size: 17px; max-width: 390px; }
  .hero-description { font-size: 13px; max-width: 390px; }
  .hero-actions { gap: 25px; margin-top: 25px; }
  .hero-actions .button-primary { white-space: nowrap; gap: 16px; padding-inline: 16px; }
  .button { font-size: 11px; padding: 12px 19px; gap: 26px; }
  .button-text { padding-inline: 0; gap: 8px; }
  .hero-footnote { margin-top: 28px; font-size: 8px; }
  .hero-footnote > span { font-size: 12px; }
  .hero-visual { justify-self: center; width: min(88%, 340px); margin-top: 0; }
  .portrait img { aspect-ratio: 1 / 1.05; }
  .portrait-topline, .portrait figcaption { font-size: 6px; letter-spacing: .5px; }
  .photo-note { font-size: 6px; }
  .orbital-decoration { width: 300px; height: 300px; top: -25px; right: -25px; }
  .hero-grid { width: 800px; bottom: -50px; }
  .career-strip { gap: 22px 15px; padding-block: 24px; }
  .strip-label { font-size: 6px; letter-spacing: 1px; margin-bottom: 3px; }
  .company-blue { font-size: 11px; letter-spacing: 1.4px; width: 43%; text-align: center; white-space: nowrap; }
  .company-feather { display: none; }
  .company-opt { font-size: 20px; width: 43%; justify-content: center; }
  .company-jpm { font-size: 20px; width: 43%; text-align: center; }
  .company-red { font-size: 16px; width: 43%; text-align: center; }
  .company-red small { font-size: 5px; margin-top: 7px; }
  .section-spacing { padding-top: 67px; }
  .section-heading { display: block; margin-bottom: 25px; }
  h2 { font-size: 35px; letter-spacing: -1.4px; }
  .section-description { font-size: 13px; margin-top: 20px; max-width: 360px; }
  .section-index { font-size: 7px; letter-spacing: 1.3px; margin-bottom: 17px; }
  .work-toolbar { padding-bottom: 15px; margin-bottom: 20px; }
  .filters { gap: 2px; flex-wrap: wrap; }
  .filter { font-size: 9px; padding: 7px 9px; }
  .filter > span { font-size: 7px; margin-left: 5px; }
  .project-count { display: none; }
  .projects-grid { display: flex; flex-direction: column; gap: 20px; }
  .project-mcc .project-visual { height: 224px; }
  .project-script .project-visual { height: 205px; }
  .project-tripwire .project-visual, .project-systemssim .project-visual, .project-acronym .project-visual { height: 175px; }
  .project-card .project-content { padding: 22px; }
  .project-meta { font-size: 7px; letter-spacing: .6px; }
  .project-title-row h3 { font-size: 25px; }
  .project-content > p { font-size: 14px; }
  .project-tags > span { font-size: 8px; }
  .project-open { font-size: 11px; }
  .early-work { grid-template-columns: 1fr; gap: 10px; margin-top: 26px; padding-top: 20px; }
  .early-work div > p { font-size: 13px; }
  .experience-item summary { grid-template-columns: 1fr 26px; gap: 15px; padding: 23px 0; }
  .experience-company h3 { font-size: 21px; margin-top: 4px; }
  .experience-company > span { font-size: 8px; }
  .experience-role { grid-column: 1; grid-row: 2; gap: 4px; }
  .experience-role > .mono { font-size: 7px; margin-top: 2px; }
  .experience-role strong { font-size: 12px; }
  .experience-role > span:last-child { font-size: 10px; }
  .experience-toggle { grid-column: 2; grid-row: 1; }
  .experience-expanded { grid-template-columns: 1fr; gap: 25px; padding-bottom: 26px; }
  .experience-intro { font-size: 14px; }
  .experience-description ul, .experience-extra { font-size: 13px; }
  .progression { padding-left: 22px; margin-left: 2px; }
  .progression > p::before { left: -25px; }
  .progression > p { margin-top: 13px; }
  .earlier-experience { gap: 12px; display: block; }
  .earlier-experience > .mono { display: block; font-size: 7px; margin-bottom: 12px; }
  .earlier-experience p { font-size: 9px; }
  .earlier-experience p span { font-size: 7px; white-space: nowrap; }
  .earlier-experience .earlier-note { margin: 14px 0 0; font-size: 10px; }
  .opensource-intro { grid-template-columns: 1fr; gap: 23px; margin-bottom: 24px; }
  .opensource-intro p:not(.eyebrow) { font-size: 14px; }
  .contribution { grid-template-columns: 1fr 20px; gap: 14px; padding-block: 21px; }
  .contribution-repo { grid-column: 1; font-size: 10px; gap: 11px; }
  .contribution-repo small { display: inline; margin-left: 13px; font-size: 6px; }
  .contribution > div:nth-child(2) { grid-row: 2; }
  .contribution > span { grid-column: 2; grid-row: 1 / 3; }
  .contribution h3 { font-size: 13px; }
  .contribution p { font-size: 11px; line-height: 1.8; }
  .about { grid-template-columns: 1fr; gap: 30px; padding-bottom: 67px; }
  .about h2 { font-size: 34px; letter-spacing: -1.3px; }
  .about-lead { font-size: 16px; }
  .about-story > p:not(.eyebrow):not(.about-lead) { font-size: 14px; }
  .about-aside { padding-top: 0; }
  .terminal-bar { font-size: 8px; gap: 20px; }
  .terminal-content { padding: 22px; }
  .terminal-content > p:first-child { font-size: 8px; }
  .terminal-content ol { font-size: 12px; }
  .terminal-prompt { font-size: 9px; }
  .education { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .education > .mono { grid-column: 1 / -1; }
  .education strong { font-size: 10px; }
  .education p span { font-size: 8px; }
  .contact { padding-top: 32px; padding-bottom: 22px; }
  .contact .eyebrow { font-size: 6px; letter-spacing: 1px; }
  .contact-row { display: block; margin-top: 23px; }
  .contact h2 { font-size: 44px; letter-spacing: -1.8px; }
  .contact-copy { margin-top: 25px; max-width: 350px; }
  .contact-copy p { font-size: 12px; margin-bottom: 20px; }
  .contact-copy .button { min-width: 160px; }
  .contact-bottom { flex-wrap: wrap; gap: 10px; margin-top: 28px; padding-top: 17px; }
  .contact-bottom > a { font-size: 9px; letter-spacing: -.2px; }
  .contact-bottom > a > span { margin-left: 4px; }
  .copy-email { font-size: 8px; padding-left: 0; border: 0; }
  .site-footer { display: flex; flex-wrap: wrap; gap: 17px; padding-block: 24px; }
  .footer-brand { font-size: 8px; gap: 10px; }
  .site-footer p { text-align: left; font-size: 8px; width: 100%; order: 2; }
  .site-footer > div { margin-left: auto; gap: 13px; font-size: 8px; }
  .site-footer > div a:last-child { display: none; }
  .copyright { order: 3; font-size: 7px; }
  .project-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .dialog-top { padding: 16px 20px; }
  .dialog-top > span { font-size: 6px; letter-spacing: .5px; }
  .dialog-body { padding: 27px 24px; }
  .dialog-body h2 { font-size: 34px; }
  .dialog-summary { font-size: 15px; }
  .dialog-body > p:not(.eyebrow):not(.dialog-summary), .dialog-body li { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  :root { --bg: #fff; --text: #17211a; --muted: #465448; --mint: #185b36; --line: #c4ccc6; }
  body { background: #fff; color: #17211a; font-size: 11px; }
  .section-shell { padding-inline: 0; }
  .site-header, .hero-visual, .hero-grid, .hero-actions, .career-strip, .work-toolbar, .project-open, .hero-footnote, .contact-grid, .copy-email, .site-footer, dialog, .orbital-decoration { display: none; }
  .hero { display: block; padding-block: 25px; }
  h1 { font-size: 44px; }
  h2 { font-size: 28px; }
  .section-spacing { padding-top: 35px; }
  .projects-grid { display: block; }
  .project-card { margin-bottom: 15px; background: white; border-color: #ccc; break-inside: avoid; }
  .project-card > div:first-child { display: none; }
  .project-content { padding: 15px; }
  .project-content > p { color: #465448; }
  .project-tags > span { color: #465448; }
  .about { display: block; padding-bottom: 25px; }
  .about-aside { display: none; }
  .contact { background: white; padding: 20px 0; }
  .contact h2 { font-size: 32px; }
  .contact-row { display: block; }
  .contact-copy { margin-top: 15px; }
  .contact-copy .button { display: none; }
  .contact-bottom > a { color: #17211a; }
  .contact .eyebrow, .contact-copy p { color: #465448; }
}
