/* A restrained personal portfolio; content determines each section's height. */
:root {
 --p-bg:#fff; --p-surface:#f5f5f2; --p-ink:#202120; --p-muted:#666761;
 --p-accent:#ad4035; --p-accent-ink:#fff; --p-action:#202120; --p-action-ink:#fff;
 --p-inv-bg:#202120; --p-inv-surface:#292a29; --p-inv-ink:#fff; --p-inv-muted:#bbb;
 --p-inv-accent:#e38f85; --p-inv-accent-ink:#202120; --p-inv-action:#fff; --p-inv-action-ink:#202120;
 --font-display:'IBM Plex Sans',system-ui,sans-serif;
 --font-text:'IBM Plex Sans',system-ui,sans-serif;
 --font-mono:'IBM Plex Mono',ui-monospace,monospace;
 --display-weight:500; --display-tracking:-.025em; --display-tracking-xl:-.03em;
 --ly-scale:.98; --container:1080px; --nav:64px;
 --fg:var(--ink); --mute:var(--muted); --faint:var(--muted); --panel:#fff;
 --raise:#f5f5f2; --line2:#d3d4cf; --wire:#777; --wash-a:#fbefec;
 --mono:var(--font-mono); --project-rule:var(--line);
}
[hidden]{display:none!important}
body{background:var(--bg);color:var(--ink)}
body,input,select,button{font-family:var(--font-text)}
a{color:inherit}
button,select{font-size:16px}
.font-mono{font-family:var(--font-mono)}
.font-display{font-family:var(--font-display)}
.hair{border-color:var(--line)}
.eyebrow,.project-meta{font:400 13px/1.5 var(--font-mono);color:var(--muted)}
.nav{height:var(--nav);background:rgba(255,255,255,.96);border-bottom:1px solid #ededeb}
.nav__bar{gap:32px}
.nav__logo{font-size:20px;white-space:nowrap;letter-spacing:-.02em}
.name-short{display:none}
.nav__links{justify-content:flex-end;gap:14px}
.nav__link{font-size:14px;color:var(--muted)}
.nav__link:hover,.nav__link[aria-current]{color:var(--ink)}
.nav__toggle{margin-left:auto;gap:6px;flex-direction:column;justify-content:center}
.nav__toggle span{display:block;width:20px;height:1px;background:currentColor}
.skip{position:fixed;top:8px;left:var(--gut);transform:translateY(-200%);z-index:1000;background:#fff;padding:12px 20px}
.skip:focus{transform:none}
.btn{border-radius:3px}
.btn--primary{background:var(--ink);border-color:var(--ink);color:#fff}

/* Introduction and an owned photograph, without a full-screen frame. */
main>#home.hero{height:auto;min-height:0;padding:calc(var(--nav) + 56px) 0 0}
#home>.wrap,#home.hero>.wrap>.hero-text{height:auto;display:block}
#home .hero__head{display:block;text-align:center}
#home .hero__head h1{font-size:48px;line-height:1.15;font-weight:500;letter-spacing:-.035em;max-width:24ch;margin:0 auto}
#home .hero__lead{max-width:58ch;margin:20px auto 0;font-size:17px;line-height:1.65;color:var(--muted);text-wrap:pretty}
#home .btn-row{display:flex;flex-direction:row;justify-content:center;gap:24px;margin-top:24px}
#home .btn-row .btn{width:auto;min-height:44px;font-size:14px}
#home .btn--primary{padding:10px 22px}
#home .btn--secondary{padding:10px 0;border:0;background:transparent;text-decoration:underline;text-underline-offset:5px}
#home .hero__stage{position:relative;flex:none;min-height:0;height:440px;margin:40px 0 0;border-radius:4px;overflow:hidden;background:var(--surface)}
#home .hero__stage>picture{position:absolute;inset:0;display:block;width:100%;height:100%}
#home .hero__stage img{width:100%;height:100%;object-fit:cover;object-position:50% 100%}

/* Project rows use one line and one small image, with no surrounding card boxes. */
main>#selected-work{height:auto;min-height:0;padding:64px 0 72px;background:var(--bg)}
#selected-work>.wrap{height:auto;display:block}
.section-head{max-width:none;margin-bottom:24px}
.section-head h2{font:500 27px/1.2 var(--font-display);letter-spacing:-.025em}
.project-list{border-bottom:1px solid var(--line)}
.project-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:48px;align-items:center;padding:28px 0;border-top:1px solid var(--line);text-decoration:none}
.project-row__copy{min-width:0}
.project-row h3{display:flex;align-items:baseline;gap:16px;margin:8px 0 12px;font:500 25px/1.25 var(--font-display);letter-spacing:-.02em}
.project-row h3 span{color:var(--muted);font-size:19px;transition:transform .18s ease}
.project-row__copy>p:last-child{max-width:64ch;font-size:16px;line-height:1.65;color:var(--muted)}
.project-row__image{height:136px;overflow:hidden;border-radius:3px;background:var(--surface);border:1px solid var(--line)}
.project-row__image img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.project-row:first-child .project-row__image img{object-position:50% 15%}
.project-row:hover h3{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
.project-row:hover h3 span{transform:translate(2px,-2px)}
.project-row:hover img{transform:scale(1.025)}
.project-row:focus-visible{outline:2px solid var(--ink);outline-offset:6px;border-radius:3px}

.site-footer{height:auto;min-height:0;padding:24px 0;border-top:1px solid var(--line);background:var(--bg);color:var(--muted)}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:16px 32px}
.footer-inner>p{font-size:13px}
.footer-inner nav{display:flex;flex-wrap:wrap;gap:22px;font-size:14px}
.footer-inner a{display:inline-flex;align-items:center;min-height:44px}
.footer-inner a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:4px}

main>section.route-page{height:auto;min-height:70svh;padding:calc(var(--nav) + 40px) 0 64px}
.route-page>.wrap{height:auto;display:block}
.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;margin-bottom:32px}
.page-head h1,.about-intro h1{font-size:48px;line-height:1.1;margin-top:12px}
.resume-document{width:100%;height:80svh;min-height:560px;border:1px solid var(--line);background:var(--surface)}
.about-intro{display:grid;grid-template-columns:1fr 1.5fr;gap:64px;margin-bottom:40px}
.about-copy{font-size:17px;line-height:1.65;max-width:60ch}
.about-copy>p+p{margin-top:20px}
.about-copy .lede{font-size:22px;line-height:1.5;color:var(--ink)}
.about-copy a{display:inline-block;margin-top:24px}
.about-photo{height:480px;overflow:hidden;border-radius:4px;background:var(--surface)}
.about-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 100%}
.about-outside{display:grid;grid-template-columns:1fr 1.5fr;gap:64px;padding:40px 0 28px}
.about-outside h2{font-size:28px;line-height:1.2}
.about-outside p{font-size:17px;line-height:1.65;max-width:60ch}
.about-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.about-gallery img{width:100%;height:220px;object-fit:cover;border-radius:3px}
.text-link,.evidence-link{color:var(--accent);text-decoration:underline;text-underline-offset:5px}
.text-link:hover,.evidence-link:hover{color:var(--ink)}

.project-switcher{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:32px;border-bottom:1px solid var(--line);font-size:15px}
.project-switcher>a:hover{color:var(--accent)}
#rail{display:flex;gap:14px;align-items:center}
#rail label{font-size:13px;color:var(--muted)}
#project-select{max-width:260px;background:var(--bg);border:1px solid var(--line);padding:10px 36px 10px 14px;border-radius:0;color:var(--ink)}
.project-masthead{padding:56px 0 0;display:grid;grid-template-columns:2fr 1fr;column-gap:80px;row-gap:48px}
.case-introduction h1{font-size:clamp(48px,6.3vw,90px);line-height:1.02;letter-spacing:-.035em;margin:20px 0 28px;font-weight:500}
.case-lede{font-size:21px;line-height:1.5;max-width:54ch}
.case-context{padding-top:8px}
.case-context h2{font-size:14px;line-height:1.5;color:var(--muted);font-weight:400;margin-bottom:12px}
.case-context p{font-size:16px;line-height:1.6}
.case-context h2:not(:first-child){margin-top:28px}
.case-tools{color:var(--muted)}
.case-metrics{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding:32px 0 36px;border-top:1px solid var(--line)}
.case-metrics dt{font-size:14px;color:var(--muted);margin-bottom:12px}
.case-metrics dd{font-size:46px;line-height:1.1;letter-spacing:-.03em}
.case-metrics dd span{font-size:20px;margin-left:8px;letter-spacing:0}
.project-masthead.compact{padding:28px 0}
.compact .case-introduction h1{font-size:36px;line-height:1.1;margin:8px 0 0}
.compact .case-lede,.compact .case-context,.compact .case-metrics{display:none}
.compact .case-introduction{grid-column:1/-1}

.workspace-nav{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
#tabs{display:flex;gap:32px;overflow-x:auto;scrollbar-width:thin}
#tabs a{flex:none;font-size:16px;padding:18px 0;border-bottom:2px solid transparent;color:var(--muted)}
#tabs a[aria-current]{border-color:var(--accent);color:var(--ink)}
#tabs a:hover{color:var(--accent)}
#tabs .document-tab{margin-left:auto}
.workspace-heading{padding:40px 0 28px;display:flex;flex-direction:column-reverse;gap:12px}
.workspace-heading h2{font-size:36px;letter-spacing:-.025em;line-height:1.15}
.workspace-heading p{font-size:16px;color:var(--muted)}
.project-viewport{min-width:0}
.case-evidence{display:grid;grid-template-columns:1fr 1.4fr;gap:80px;align-items:center;padding:64px 0}
.evidence-caption h2{font-size:clamp(32px,3.6vw,48px);letter-spacing:-.025em;line-height:1.1;margin:16px 0 24px}
.evidence-caption>p:not(.eyebrow){font-size:18px;line-height:1.6;max-width:45ch}
.evidence-caption a{display:inline-block;margin-top:28px;font-size:16px}
.evidence-image{display:block;height:500px;overflow:hidden;background:var(--surface);border:1px solid var(--line)}
.evidence-image img{width:100%;height:100%;object-fit:cover}
.evidence-ooo .evidence-image{height:550px;background:white}
.evidence-ooo img{object-fit:contain}
.evidence-nes .evidence-image{height:400px}
.design-section{padding:48px 0;border-top:1px solid var(--line)}
.design-section>h2{font-size:32px;line-height:1.15;letter-spacing:-.025em;margin-bottom:36px}
.design-notes{display:grid;grid-template-columns:repeat(3,1fr);gap:40px}
.design-note h3{font-size:23px;line-height:1.2;font-weight:500;margin-bottom:20px}
.design-note p,.overview-prose{font-size:17px;line-height:1.65}
.prose-section{display:grid;grid-template-columns:1fr 2fr;gap:80px}
.overview-prose{max-width:75ch}
.overview-prose>p{margin-top:20px}
.overview-prose>a{display:inline-block;margin-top:20px}
.project-next{padding:40px 0 0;border-top:1px solid var(--line);margin-top:40px}
.project-next h2{font-size:30px;margin-bottom:28px}
.project-next>div{display:grid;grid-template-columns:1fr 1fr;gap:48px}
.project-next a{display:grid;gap:14px}
.project-next a>span{font:13px/1.4 var(--font-mono);color:var(--muted)}
.project-next strong{font:500 30px/1.2 var(--font-display);display:flex;justify-content:space-between;gap:16px}
.project-next b{font-weight:400;color:var(--accent)}
.project-readout:not(:empty){border-top:1px solid var(--line);padding:24px 0;display:flex;gap:20px 32px;flex-wrap:wrap;margin-top:28px}
.project-readout>div{display:grid;gap:8px}
.project-readout span{font:13px var(--font-mono);color:var(--muted)}
.project-readout strong{font-size:15px;font-weight:500}

/* The interactive technical views retain their original data and controls. */
#viewport [class*='text-fg']{color:var(--ink)}
#viewport .text-mute{color:var(--muted)}
#viewport .text-accent{color:var(--accent)}
#viewport .bg-ink,#viewport .bg-panel{background:var(--bg)}
#viewport .bg-raise{background:var(--surface)}
#viewport .bg-rule{background:var(--line)}
#viewport [class*='bg-accent']{background:var(--wash-a)}
#viewport [class*='text-[9'],#viewport [class*='text-[10'],#viewport [class*='text-[11'],#viewport [class*='text-[12']{font-size:13px;line-height:1.5}
#viewport [class*='text-[13'],#viewport [class*='text-[14'],#viewport [class*='text-[15']{font-size:16px;line-height:1.6}
#viewport .grid{grid-template-columns:repeat(1,minmax(0,1fr))}
.ooo-dialog{background:var(--bg);color:var(--ink)}
.ooo-block,.phy-svg [data-hit]{cursor:pointer}
.ooo-sidebar p,.phy-info p{font-size:16px;line-height:1.6}
.ooo-sidebar h3,.phy-info h3{font:500 23px/1.2 var(--font-display)}
.ooo-board-toolbar button,.phy-toolbar button{font-size:14px;min-height:40px}
.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:24px}
.stat-grid dt{font-size:14px!important}
.stat-grid dd{font-size:28px;line-height:1.2;margin-top:8px;font-family:var(--font-display)}
.stat-unit{font-size:16px;margin-left:5px}
.comparison-panel{margin-top:24px}
.comparison-controls button{font-size:14px}
.comparison-chart{overflow-x:auto}
.report-pdf{height:80svh;min-height:600px}
.noscript{padding:24px;background:white;color:black}
.ooo-dialog::backdrop{background:#0007}

@media(min-width:1024px){#viewport [class*='lg:grid-cols-2']{grid-template-columns:repeat(2,minmax(0,1fr))}
#viewport [class*='lg:grid-cols-[1fr_290px]']{grid-template-columns:minmax(0,1fr) 290px}
}


.instrument-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:32px;padding:32px 0;align-items:start}
.instrument-grid>*{min-width:0}
.results-body{display:flex;flex-direction:column;gap:32px;padding:32px 0}
.phy-aside h3,.phy-shift h3{font:500 21px/1.25 var(--font-display)}
.phy-aside p,.phy-aside dd,.phy-shift p{font:400 16px/1.6 var(--font-text);color:var(--ink)}
.phy-aside code,.phy-aside small,.phy-aside dt,.phy-shift label,.phy-shift-path small{font-family:var(--font-mono);font-size:13px;line-height:1.6}
.phy-toolbar,.nes-report-toolbar p{font-size:13px}
.nes-report-toolbar a,.nes-report-fallback a{font-size:14px}
.phy-shift-path span{font-size:14px}
#work #viewport .comparison-source{font-size:15px;line-height:1.7}
#work #viewport .comparison-summary p,#work #viewport .comparison-table caption,.comparison-legend,.comparison-scale,.raw-results summary span{font-size:13px;line-height:1.6}
.ooo-tools button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

@media(max-width:1000px){.instrument-grid{grid-template-columns:1fr}
.instrument-grid>.space-y-5{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.instrument-grid>.space-y-5>*{margin:0!important}
}

@media(max-width:639px){.instrument-grid>.space-y-5{grid-template-columns:1fr}
.instrument-grid{padding:16px 0}
.phy-shift-path{flex-wrap:wrap}
.phy-shift-path span{font-size:13px}
.phy-shift-path small{font-size:12px}
.phy-toolbar{flex-wrap:wrap}
.comparison-toolbar>div{flex-wrap:wrap}
#work #viewport .comparison-toolbar button{min-width:70px}
.phy-layout{padding:0}
.nes-report{margin:0}
.ooo-layout{padding:0}
}


:root{--faint:var(--muted)}#viewport p[class*='text-[12']{font-size:16px;line-height:1.6}.nes-scroll{overflow:auto;max-height:75svh;overscroll-behavior:contain}.nes-svg{display:block;width:100%;min-width:840px;height:auto}.nes-scroll:focus-visible{outline:2px solid var(--accent);outline-offset:3px}#viewport[data-view='bitslice'] .phy-svg{min-width:1410px}#viewport[data-view='datapath'] .phy-svg{min-width:1000px}#viewport .phy-zoomed .phy-svg{min-width:1800px}#viewport[data-view='bitslice'] .phy-zoomed .phy-svg{min-width:2100px}

/* RTL bit selectors and array indices are literal project documentation.
   Keep the kit's diagnostic attributes available to QA, without drawing its
   placeholder outline around source notation in the technical viewer. */
#viewport .phy-svg text[data-placeholder],
#viewport .phy-aside code[data-placeholder],
#viewport .phy-aside p[data-placeholder],
#viewport .phy-shift p[data-placeholder],
#viewport .ooo-sidebar p[data-placeholder],
#viewport .ooo-dialog p[data-placeholder],
#readout strong[data-placeholder]{outline:none}



/* Keep case studies and diagrams comfortable to read within the quieter system. */
.project-masthead{padding-top:40px;column-gap:48px;row-gap:32px}
.case-introduction h1{font-size:56px;line-height:1.08;margin:16px 0 24px}
.case-lede{font-size:18px;line-height:1.6}
.case-metrics{padding:26px 0}
.case-metrics dd{font-size:34px}
.case-metrics dd span{font-size:17px}
.case-metrics dt{font-size:13px}
.compact .case-introduction h1{font-size:30px}
.case-evidence{gap:48px;padding:44px 0}
.evidence-caption h2{font-size:32px;line-height:1.2;margin:12px 0 20px}
.evidence-caption>p:not(.eyebrow){font-size:17px}
.evidence-image,.evidence-ooo .evidence-image{height:420px}
.evidence-nes .evidence-image{height:340px}
.design-section{padding:36px 0}
.design-section>h2,.workspace-heading h2{font-size:28px}
.design-notes{gap:28px}
.design-note h3{font-size:21px}
.prose-section{gap:48px}
.project-next h2{font-size:26px}
.project-next strong{font-size:24px}
@media(max-width:1023px){
 .nav__bar{gap:20px}
 .about-intro,.about-outside{gap:32px}
 .project-masthead{column-gap:32px}
 .design-notes{grid-template-columns:1fr;gap:28px}
 .case-evidence,.prose-section{gap:32px}
 .case-introduction h1{font-size:48px}
 .about-gallery img{height:180px}
}
@media(max-width:639px){
 :root{--nav:56px}
 .name-full{display:none}.name-short{display:inline}
 .nav__logo,.name-short{font-size:19px}
 main>#home.hero{padding-top:calc(var(--nav) + 36px)}
 #home .hero__head h1{font-size:35px;line-height:1.18}
 #home .hero__lead{font-size:16px;line-height:1.7;margin-top:18px}
 #home .btn-row{gap:24px;margin-top:20px}
 #home .hero__stage{height:260px;min-height:0;aspect-ratio:auto;margin-top:28px}
 #home .hero__stage img{object-position:53% 65%}
 main>#selected-work{padding:44px 0 48px}
 .section-head{margin-bottom:20px}.section-head h2{font-size:25px}
 .project-row{grid-template-columns:minmax(0,1fr) 92px;gap:18px;align-items:start;padding:24px 0}
 .project-row h3{font-size:22px;line-height:1.3;gap:8px;margin:8px 0 10px}
 .project-row h3 span{font-size:16px}
 .project-row__copy>p:last-child{font-size:16px;line-height:1.6}
 .project-meta{font-size:12px;line-height:1.6}
 .project-row__image{height:92px;margin-top:4px}
 .footer-inner{display:block}.footer-inner nav{gap:18px;margin-top:10px;font-size:13px}
 main>section.route-page{padding-top:calc(var(--nav) + 28px);padding-bottom:40px}
 .page-head{display:block}.page-head .btn-row{margin-top:24px}
 .page-head h1,.about-intro h1{font-size:38px}
 .about-intro,.about-outside{grid-template-columns:1fr;gap:24px;margin-bottom:28px}
 .about-copy .lede{font-size:21px}.about-photo{height:320px}
 .about-photo img{object-position:53% 70%}
 .about-outside{padding-top:32px}.about-outside h2{font-size:26px}
 .about-gallery{grid-template-columns:1fr;gap:16px}.about-gallery img{height:auto;aspect-ratio:3/2}
 .project-switcher{align-items:flex-start;gap:12px;padding-bottom:24px;font-size:14px}
 .project-switcher>a{padding-top:10px}#rail label{display:none}
 #project-select{max-width:185px;font-size:14px;padding:10px 24px 10px 10px}
 .project-masthead{grid-template-columns:1fr;gap:28px;padding-top:28px}
 .case-introduction h1{font-size:38px}.case-context{padding:0}
 .case-metrics{grid-template-columns:1fr;gap:20px}
 .case-metrics>div{display:flex;justify-content:space-between;align-items:baseline;gap:20px}
 .case-metrics dt{max-width:20ch}.case-metrics dd{font-size:28px;white-space:nowrap}
 .compact .case-introduction h1{font-size:26px}
 #tabs{gap:24px}#tabs a{font-size:15px;padding:16px 0}
 .workspace-heading{padding:28px 0 24px}.workspace-heading h2{font-size:26px}
 .case-evidence{grid-template-columns:1fr;gap:28px;padding:32px 0}
 .evidence-caption h2{font-size:29px}
 .evidence-image,.evidence-ooo .evidence-image{height:340px}.evidence-nes .evidence-image{height:260px}
 .design-section{padding:28px 0}.design-section>h2{font-size:25px;margin-bottom:24px}
 .prose-section{grid-template-columns:1fr;gap:0}
 .design-note p,.overview-prose{font-size:16px}
 .project-next>div{grid-template-columns:1fr;gap:28px}.project-next strong{font-size:23px}
 .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.stat-grid dd{font-size:25px}
}
@media(prefers-reduced-motion:reduce){.project-row img,.project-row h3 span{transition:none}}
/* Reading text stays darker than secondary dates and navigation. */
#home .hero__lead,.project-row__copy>p:last-child{color:#50514d}
@media(max-width:639px){.name-full{display:inline}.name-short{display:none}.project-meta{font-size:13px}}
@media(max-width:359px){.nav__logo{font-size:18px}}

/* Align the keyboard skip target and the final nav item with the content. */
.skip{left:max(var(--gut),calc((100vw - var(--container))/2))}
@media(min-width:1024px){.nav__item:last-child .nav__link{padding-right:0}}

/* Monochrome direction: one sans-serif, a field photograph and a precise index. */
:root{
 --p-bg:#ffffff;--p-surface:#f3f3f3;--p-ink:#171717;--p-muted:#666666;
 --p-accent:#202020;--p-accent-ink:#ffffff;--p-action:#171717;--p-action-ink:#ffffff;
 --font-display:var(--font-text);
 --display-weight:500;--container:1120px;
 --panel:#ffffff;--raise:#f3f3f3;--line2:#cccccc;--wire:#777777;--wash-a:#eeeeee;
}
.nav{background:rgba(255,255,255,.96);border-color:var(--line)}
.nav__logo{font-family:var(--font-text);font-size:20px;font-weight:500}
.nav__link{font-family:var(--font-text);font-size:14px}
.skip{background:var(--bg)}
.btn--primary{background:var(--p-action);border-color:var(--p-action);color:var(--p-action-ink)}
main>#home.hero{padding-top:calc(var(--nav) + 48px)}
#home.hero>.wrap>.hero-text{display:grid;grid-template-columns:.96fr 1.04fr;gap:64px;align-items:center}
#home .hero__head{text-align:left}
#home .hero__kicker{display:flex;align-items:center;gap:12px;margin:0 0 24px;font:400 13px/1.5 var(--font-mono);color:var(--accent);letter-spacing:.035em}
#home .hero__kicker::before{content:'';display:block;width:24px;height:1px;background:currentColor}
#home .hero__head h1{margin:0;max-width:none;font-family:var(--font-text);font-size:56px;line-height:1.08;font-weight:500;letter-spacing:-.035em}
#home .hero__lead{margin:24px 0 0;max-width:42ch;font-size:17px;line-height:1.65;color:#454545}
#home .btn-row{justify-content:flex-start;gap:24px;margin-top:28px}
#home .btn--primary{gap:20px;border-radius:0}
#home .hero__stage{height:540px;margin:0;border:1px solid var(--line2);border-radius:0;background:transparent;overflow:visible}
#home .hero__stage>picture{inset:10px;width:calc(100% - 20px);height:calc(100% - 20px);overflow:hidden}
#home .hero__stage img{object-position:53% 50%;transition:transform .5s ease}
#home .hero__stage:hover img{transform:scale(1.025)}
#home .hero__stage:focus-visible{outline:2px solid var(--accent);outline-offset:5px}
main>#selected-work{padding-top:64px}
.section-head{display:flex;justify-content:space-between;align-items:baseline;gap:24px;margin-bottom:20px}
.section-head h2{font:500 30px/1.2 var(--font-text);letter-spacing:-.02em}
.section-index{font:400 13px/1.5 var(--font-mono);color:var(--muted)}
.project-row{grid-template-columns:44px minmax(0,1fr);gap:32px;padding:28px 0;isolation:isolate}
.project-row::before{content:'';position:absolute;inset:0 -14px;background:#f0f0f0;z-index:-1;clip-path:inset(0 100% 0 0);transition:clip-path .25s ease}
.project-row:hover::before,.project-row:focus-visible::before{clip-path:inset(0)}
.project-row__index{align-self:start;padding-top:6px;font:400 13px/1.6 var(--font-mono);color:var(--accent)}
.project-row h3{font:500 27px/1.2 var(--font-text);letter-spacing:-.015em;margin:8px 0 12px}
.project-row h3 span{font-family:var(--font-text);font-size:20px;color:var(--accent)}
.project-row__image{height:140px;border-radius:0;border-color:var(--line2);background:#ffffff}
.project-row__copy>p:last-child{max-width:59ch;color:#454545}
.project-row:hover h3{text-decoration:none}
.project-row:hover h3 span{transform:translate(3px,-3px)}
.project-meta{color:var(--muted)}
.site-footer{border-color:var(--line)}
.footer-inner>p{font-family:var(--font-mono);font-size:13px}
.footer-inner nav{font-family:var(--font-mono);font-size:13px}
.case-introduction h1,.about-intro h1,.page-head h1,.evidence-caption h2,.design-section>h2,.project-next strong{font-family:var(--font-text);font-weight:500;letter-spacing:-.02em}
.case-introduction h1{font-size:52px}
.case-metrics dd,.stat-grid dd,.comparison-summary strong,.project-readout strong{font-family:var(--font-text)}
#viewport .bg-ink,#viewport .bg-panel{background:var(--panel)}
@media(max-width:1023px){
 #home.hero>.wrap>.hero-text{gap:36px;grid-template-columns:1fr 1fr}
 #home .hero__head h1{font-size:46px}
 #home .hero__stage{height:500px}
 #home .btn-row{gap:18px;flex-wrap:wrap}
 .project-row{grid-template-columns:32px minmax(0,1fr);gap:24px}
 .project-row__image{height:124px}
}
@media(max-width:767px){
 #home.hero>.wrap>.hero-text{grid-template-columns:1fr;gap:32px}
 #home .hero__head{max-width:600px}
 #home .hero__head h1{font-size:48px}
 #home .hero__stage{height:360px}
 #home .hero__stage img{object-position:53% 85%}
}
@media(max-width:639px){
 .nav__logo{font-size:19px}
 main>#home.hero{padding-top:calc(var(--nav) + 32px)}
 #home .hero__kicker{font-size:13px;margin-bottom:20px;gap:10px}
 #home .hero__head h1{font-size:42px;line-height:1.08}
 #home .hero__lead{font-size:16px;margin-top:22px;max-width:42ch}
 #home .btn-row{gap:24px;margin-top:24px}
 #home .hero__stage{height:300px}
 #home .hero__stage>picture{inset:7px;width:calc(100% - 14px);height:calc(100% - 14px)}
 main>#selected-work{padding-top:40px}
 .section-head h2{font-size:28px}
 .section-index{font-size:13px}
 .project-row{grid-template-columns:22px minmax(0,1fr);gap:14px;padding:24px 0}
 .project-row__index{font-size:13px;padding-top:3px}
 .project-row h3{font-size:24px;line-height:1.25;gap:8px;margin-top:8px}
 .project-row h3 span{font-size:16px}
 .project-row__image{height:80px;margin-top:3px}
 .project-meta{font-size:13px;line-height:1.6}
 .project-row__copy>p:last-child{font-size:16px}
 .project-row::before{inset:0 -8px}
 .case-introduction h1{font-size:44px}
 .footer-inner>p,.footer-inner nav{font-size:13px}
}
@media(max-width:359px){
 .nav__logo{font-size:18px}
 #home .hero__head h1{font-size:36px}
 .project-row{grid-template-columns:18px minmax(0,1fr);gap:10px}
 .project-row__image{height:70px}
 .project-row h3{font-size:23px}
}
@media(prefers-reduced-motion:reduce){
 #home .hero__stage img,.project-row::before{transition:none}
}

/* One typeface for the visible site interface; monospace remains for source code. */
.eyebrow,.project-meta,.section-index,.project-row__index,.footer-inner>p,.footer-inner nav,#home .hero__kicker{font-family:var(--font-text)}
.project-row h3{justify-content:space-between}
.project-row__copy>p:last-child{max-width:74ch}
