:root {
  --paper: #ffffff;
  --white: #ffffff;
  --ink: #11120f;
  --soft-ink: #343630;
  --muted: #686b63;
  --line: #cfd1c8;
  --line-dark: #a9ada2;
  --acid: #b8ff3d;
  --cyan: #00758a;
  --orange: #d94c2c;
  --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Consolas, monospace;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: min(calc(100% - 3rem), 1280px);
  --header: 72px;
}

* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; overflow-x: hidden; color: var(--ink); background: #ffffff; font-family: var(--sans); -webkit-font-smoothing: antialiased; }
::selection { color: var(--ink); background: var(--acid); }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 200; padding: .7rem 1rem; color: var(--ink); background: var(--acid); font: 800 .7rem var(--mono); transform: translateY(-170%); }
.skip-link:focus { transform: none; }
.progress-line { position: fixed; inset: 0 0 auto; z-index: 100; height: 3px; background: var(--ink); }
.progress-line span { display: block; width: 0; height: 100%; background: var(--acid); transition: width 560ms cubic-bezier(.16,1,.3,1); }

.site-header { position: sticky; top: 0; z-index: 80; display: flex; height: var(--header); align-items: center; justify-content: space-between; padding: 0 max(1.5rem, calc((100vw - 1280px)/2)); border-bottom: 1px solid var(--ink); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; overflow: visible; text-decoration: none; }
.brand-logo { width: auto; max-width: min(42vw, 260px); height: 52px; object-fit: contain; object-position: left center; filter: invert(1) grayscale(1) contrast(3); mix-blend-mode: multiply; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.site-nav a { color: var(--muted); font: 750 .64rem var(--mono); letter-spacing: .08em; text-decoration: none; }
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-contact { padding: .6rem .85rem; border: 1px solid var(--ink); color: var(--ink); background: var(--acid); box-shadow: 3px 3px 0 var(--ink); }
.menu-toggle { display: none; }

.eyebrow, .section-code { margin: 0; color: var(--cyan); font: 800 .62rem var(--mono); letter-spacing: .12em; }
.eyebrow { display: flex; align-items: center; gap: .7rem; }
.eyebrow span { width: 9px; height: 9px; background: var(--acid); border: 1px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.section-heading { display: grid; grid-template-columns: 170px 1fr; gap: 1.5rem; align-items: start; margin-bottom: clamp(2rem, 4vh, 3.5rem); }
.section-heading h2 { max-width: 1050px; margin: 0; font-size: clamp(3.2rem, 5.6vw, 5.7rem); font-weight: 900; letter-spacing: -.075em; line-height: .88; }
.section-heading.compact { grid-template-columns: 170px 1fr auto; align-items: end; }
.section-heading.compact h2 { font-size: clamp(4rem, 7vw, 7rem); }
.text-link { padding-bottom: .2rem; border-bottom: 2px solid var(--ink); font: 800 .67rem var(--mono); letter-spacing: .07em; text-decoration: none; }
.lead { color: var(--ink); font-size: clamp(1.15rem, 1.7vw, 1.55rem); font-weight: 650; line-height: 1.35; letter-spacing: -.025em; }
.button { display: inline-flex; min-height: 45px; align-items: center; justify-content: center; gap: .7rem; padding: .75rem 1rem; border: 1px solid var(--ink); background: var(--white); font: 850 .67rem var(--mono); letter-spacing: .06em; text-decoration: none; box-shadow: 4px 4px 0 var(--ink); transition: transform 130ms steps(2,end), box-shadow 130ms steps(2,end); }
.button:hover { transform: translate(3px,3px); box-shadow: 1px 1px 0 var(--ink); }
.button.primary { background: var(--acid); }

.hero { position: relative; display: grid; min-height: calc(100vh - var(--header)); grid-template-columns: minmax(0,1.12fr) minmax(330px,.68fr); gap: clamp(2rem,6vw,6rem); align-items: center; padding: clamp(2.5rem,5vh,4.5rem) 0 clamp(4rem,8vh,6rem); }
.hero h1 { margin: 1.35rem 0 0; font-size: clamp(4rem,7.4vw,7.2rem); font-weight: 950; letter-spacing: -.09em; line-height: .78; }
.hero h1 em { display: inline-block; padding: .07em .12em .1em .03em; color: var(--ink); background: var(--acid); font-style: normal; box-shadow: 7px 7px 0 var(--ink); }
.hero-lede { max-width: 760px; margin: 2rem 0 0; color: var(--soft-ink); font-size: clamp(.95rem,1.25vw,1.08rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.7rem; }
.profile-card { border: 1px solid var(--ink); background: var(--white); box-shadow: 10px 10px 0 var(--ink); }
.portrait-wrap { position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 1; background: var(--white); }
.portrait-wrap img { width: 100%; height: 100%; object-fit: cover; }
.portrait-main { position: relative; z-index: 1; transition: opacity 80ms linear; }
.portrait-particles { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; opacity: 0; }
.portrait-wrap.is-particle-active .portrait-main { opacity: 0; }
.portrait-wrap.is-particle-active .portrait-particles { opacity: 1; }
.profile-meta { position: relative; display: grid; gap: .35rem; padding: .85rem 1rem; border-top: 1px solid var(--ink); font: 750 .58rem var(--mono); letter-spacing: .06em; }
.profile-meta strong { font-size: .69rem; }
.profile-meta small { position: absolute; right: 1rem; bottom: .85rem; color: var(--cyan); }
.focus-strip { position: absolute; right: 0; bottom: 0; left: 0; display: flex; min-height: 38px; align-items: center; justify-content: center; gap: 1.1rem; border-top: 1px solid var(--ink); background: var(--white); font: 800 .52rem var(--mono); letter-spacing: .08em; }
.focus-strip i { width: 5px; height: 5px; background: var(--acid); border: 1px solid var(--ink); }

.about-slide, .work-slide, .practice-slide { padding-block: clamp(2.5rem,5vh,4.5rem); }
.about-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem,7vw,7rem); align-items: start; }
.about-copy p:not(.lead) { color: var(--muted); font-size: .88rem; line-height: 1.72; }
.interest-board { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); background: var(--ink); gap: 1px; box-shadow: 7px 7px 0 var(--ink); }
.interest-board article { min-height: 132px; padding: 1rem 1.1rem; background: var(--white); }
.interest-board b { color: var(--cyan); font: 800 .55rem var(--mono); }
.interest-board span { display: block; margin-top: .7rem; font: 850 .68rem var(--mono); letter-spacing: .05em; }
.interest-board p { margin: .45rem 0 0; color: var(--muted); font-size: .72rem; line-height: 1.45; }

.gitroots-slide > .shell, .research-slide > .shell, .notes-slide > .shell { padding-block: clamp(2.5rem,5vh,4.5rem); }

.gitroots-slide { background: var(--white); }
.gitroots-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem,5vw,5rem); align-items: stretch; }
.gitroots-story p:not(.lead) { color: var(--muted); font-size: .78rem; line-height: 1.62; }
.capability-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 1rem 0 0; padding: 1px; background: var(--line-dark); list-style: none; }
.capability-list li { padding: .6rem .7rem; background: var(--white); font: 750 .58rem var(--mono); }
.terminal { overflow: hidden; border: 1px solid var(--ink); background: #10120f; box-shadow: 8px 8px 0 var(--ink); }
.terminal-bar { display: flex; min-height: 35px; align-items: center; justify-content: space-between; padding: .6rem .8rem; border-bottom: 1px solid #3d4238; color: #a9b0a2; font: 750 .54rem var(--mono); letter-spacing: .06em; }
.terminal-bar b { color: var(--acid); }
.terminal-tabs { display: flex; border-bottom: 1px solid #3d4238; }
.terminal-tabs button { flex: 1; padding: .65rem; border: 0; border-right: 1px solid #3d4238; color: #808779; background: transparent; font: 800 .55rem var(--mono); cursor: pointer; }
.terminal-tabs button:last-child { border-right: 0; }
.terminal-tabs button[aria-selected="true"] { color: var(--ink); background: var(--acid); }
.terminal-output { min-height: 300px; margin: 0; padding: 1.2rem 1.4rem; overflow: auto; color: #d7ddcf; font: .65rem/1.7 var(--mono); white-space: pre-wrap; }
.terminal-output .dim { color: #747b6e; }.terminal-output .cyan { color: #63d7eb; }.terminal-output .alert { color: #ff795b; font-weight: 800; }.terminal-output .good { color: var(--acid); font-weight: 800; }.terminal-output .cursor { color: var(--acid); animation: blink 1s steps(1,end) infinite; }
.metrics-label { margin: 1.4rem 0 .45rem; color: var(--muted); font: 750 .5rem var(--mono); letter-spacing: .07em; }
.metrics { display: grid; grid-template-columns: repeat(6,1fr); margin: 0; border: 1px solid var(--ink); background: var(--ink); gap: 1px; }
.metrics div { display: grid; min-height: 85px; grid-template-columns: auto 1fr; gap: .7rem; align-items: center; padding: .75rem; background: var(--white); }
.metrics dt { color: var(--ink); font: 900 1.25rem var(--mono); }
.metrics dd { margin: 0; font: 800 .52rem/1.35 var(--mono); letter-spacing: .04em; }
.metrics small { color: var(--muted); font-size: .46rem; }

.work-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); background: var(--ink); gap: 1px; box-shadow: 8px 8px 0 var(--ink); }
.work-card { min-height: 225px; padding: 1.3rem 1.5rem; background: var(--white); }
.work-card.flagship {
  background: var(--white);
  box-shadow: inset 0 5px 0 var(--acid);
}
.work-card.enterprise { background: #e5e8e0; }
.work-card > div { display: flex; justify-content: space-between; color: var(--cyan); font: 800 .54rem var(--mono); letter-spacing: .06em; }
.work-card h3 { margin: 2rem 0 .65rem; font-size: clamp(1.6rem,2.4vw,2.5rem); letter-spacing: -.05em; }
.work-card h3.project-mark { display: flex; width: min(100%, 320px); height: 72px; align-items: center; margin: 1.25rem 0 .7rem; }
.project-mark img { width: auto; max-width: 100%; max-height: 72px; object-fit: contain; object-position: left center; }
.work-card p { max-width: 590px; color: var(--muted); font-size: .76rem; line-height: 1.55; }
.work-card a, .non-link { display: inline-block; margin-top: .6rem; border-bottom: 1px solid var(--ink); font: 800 .55rem var(--mono); text-decoration: none; }

.research-slide { background: var(--white); }
.research-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem,7vw,7rem); align-items: start; }
.research-copy p:not(.lead) { color: var(--muted); font-size: .78rem; line-height: 1.58; }
.research-copy .button { margin-top: .5rem; }
.constraint-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); background: var(--ink); gap: 1px; box-shadow: 7px 7px 0 var(--ink); }
.constraint-grid article { min-height: 135px; padding: 1rem; background: var(--paper); }
.constraint-grid b { color: var(--cyan); font: 800 .52rem var(--mono); }
.constraint-grid strong { display: block; margin-top: 1rem; font: 850 .64rem var(--mono); }
.constraint-grid p { color: var(--muted); font-size: .68rem; line-height: 1.45; }
.study-note { display: grid; grid-template-columns: 190px 1fr; gap: 1.5rem; margin-top: 1.8rem; padding: 1rem 1.2rem; border: 1px solid var(--ink); background: var(--acid); }
.study-note span { font: 850 .58rem var(--mono); }
.study-note p { margin: 0; font-size: .72rem; line-height: 1.5; }

.practice-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(3rem,7vw,7rem); }
.practice-intro p:not(.lead) { color: var(--muted); font-size: .8rem; line-height: 1.65; }
.discipline-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); background: var(--ink); gap: 1px; box-shadow: 7px 7px 0 var(--ink); }
.discipline-grid article { min-height: 145px; padding: 1.1rem; background: var(--white); }
.discipline-grid span { color: var(--cyan); font: 850 .56rem var(--mono); }
.discipline-grid p { margin-top: 2rem; font: 750 .68rem/1.65 var(--mono); }
.practice-note { margin: 1.5rem 0 0 calc(35% + 3rem); color: var(--muted); font: .56rem var(--mono); }

.notes-slide { background: var(--white); }
.notes-list { border-top: 1px solid var(--ink); }
.note-entry { position: relative; display: grid; grid-template-columns: .55fr 1fr 1fr auto; gap: 2rem; align-items: center; min-height: 118px; padding: 1rem; border-bottom: 1px solid var(--ink); text-decoration: none; transition: background 140ms linear, transform 140ms steps(2,end); }
.note-entry:hover { background: var(--white); transform: translateX(5px); }
.note-entry > span { color: var(--cyan); font: 800 .53rem var(--mono); letter-spacing: .06em; }
.note-entry strong { font-size: clamp(1rem,1.6vw,1.35rem); }
.note-entry p { color: var(--muted); font-size: .7rem; line-height: 1.45; }
.note-entry b { font: 850 .58rem var(--mono); }

.connect-slide { display: flex; flex-direction: column; justify-content: center; color: var(--white); background: var(--ink); }
.connect-inner { padding-bottom: 105px; }
.connect-slide .section-code { color: var(--acid); }
.connect-slide h2 { max-width: 1150px; margin: 1rem 0 0; font-size: clamp(4rem,8.4vw,8.2rem); font-weight: 950; letter-spacing: -.09em; line-height: .8; }
.connect-slide h2 span { color: var(--acid); }
.connect-inner > p:not(.section-code) { max-width: 770px; margin: 2rem 0 0; color: #b5b9af; font-size: .9rem; line-height: 1.6; }
.connect-links { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 2rem; border: 1px solid #555b50; }
.connect-links a { display: grid; gap: 1.5rem; padding: 1rem; border-right: 1px solid #555b50; color: var(--white); font: 850 .65rem var(--mono); text-decoration: none; }
.connect-links a:last-child { border-right: 0; }
.connect-links span { color: var(--acid); font-size: .5rem; }
.site-footer { position: absolute; inset: auto 0 0; width: 100%; padding: 1.2rem 0; border-top: 1px solid #555b50; }
.site-footer > div { display: flex; justify-content: space-between; }
.site-footer p { margin: 0; color: #858b7e; font: .5rem var(--mono); letter-spacing: .06em; }

.slide-interface { display: none; }
.slide-wipe { display: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 540ms cubic-bezier(.2,.75,.2,1), transform 620ms cubic-bezier(.16,1,.3,1); }
.js .reveal.visible { opacity: 1; transform: none; }

body.slide-mode { height: 100dvh; overflow: hidden; }
.slide-mode .site-header { position: fixed; inset: 0 0 auto; }
.slide-mode .slide-deck { position: fixed; inset: var(--header) 0 0; overflow: hidden; }
.slide-mode .slide { position: absolute; inset: 0; min-height: 100%; max-height: 100%; overflow: hidden; opacity: 0; visibility: hidden; pointer-events: none; transform: translate3d(0,9vh,0) scale(.98); clip-path: inset(9% 0 0); transition: opacity 460ms ease, transform 700ms cubic-bezier(.16,1,.3,1), clip-path 700ms cubic-bezier(.16,1,.3,1), visibility 700ms; will-change: opacity,transform,clip-path; }
.slide-mode .slide.shell { right: 0; left: 0; width: var(--shell); }
.slide-mode .slide.is-before { transform: translate3d(0,-8vh,0) scale(.985); clip-path: inset(0 0 9%); }
.slide-mode .slide.is-after { transform: translate3d(0,9vh,0) scale(.98); clip-path: inset(9% 0 0); }
.slide-mode .slide.is-active { z-index: 2; opacity: 1; visibility: visible; pointer-events: auto; transform: none; clip-path: inset(0); }
.slide-mode .slide:focus { outline: 0; }
.slide-mode .slide-interface { position: fixed; top: 50%; right: 1rem; z-index: 90; display: grid; gap: .7rem; justify-items: end; transform: translateY(-50%); }
.slide-counter { display: flex; gap: .3rem; align-items: baseline; color: var(--muted); font: .52rem var(--mono); }
.slide-counter strong { color: var(--ink); font-size: .9rem; }
.slide-rail { display: grid; gap: .32rem; justify-items: end; }
.slide-rail button { display: flex; align-items: center; justify-content: flex-end; gap: .55rem; padding: .15rem 0; border: 0; color: var(--muted); background: transparent; font: 800 .47rem var(--mono); cursor: pointer; }
.slide-rail button::after { width: 15px; height: 2px; content: ""; background: var(--line-dark); transition: width 180ms steps(3,end), background 180ms linear; }
.slide-rail button[aria-current="true"] { color: var(--ink); }
.slide-rail button[aria-current="true"]::after { width: 31px; height: 4px; background: var(--ink); box-shadow: 0 4px 0 var(--acid); }
.slide-arrows { display: flex; gap: .35rem; }
.slide-arrows button { width: 28px; height: 28px; border: 1px solid var(--ink); color: var(--ink); background: var(--white); font: 800 .7rem var(--mono); cursor: pointer; }
.slide-arrows button:disabled { opacity: .25; cursor: default; }
body:has(.connect-slide.is-active) .slide-counter { color: #92988b; }
body:has(.connect-slide.is-active) .slide-counter strong,
body:has(.connect-slide.is-active) .slide-rail button[aria-current="true"] { color: var(--white); }
body:has(.connect-slide.is-active) .slide-rail button::after { background: #737a6d; }
body:has(.connect-slide.is-active) .slide-rail button[aria-current="true"]::after { background: var(--white); }
.slide-mode .slide-wipe { position: fixed; inset: var(--header) 0 0; z-index: 70; display: block; pointer-events: none; opacity: 0; background: linear-gradient(180deg, transparent 0 46%, var(--ink) 46% 46.8%, var(--acid) 46.8% 48%, transparent 48%); transform: translateY(-55%); }
.slide-mode .slide-wipe.is-animating { animation: deck-wipe 650ms steps(7,end); }

@keyframes deck-wipe { 0% { opacity: 0; transform: translateY(-55%); } 18% { opacity: .75; } 82% { opacity: .4; } 100% { opacity: 0; transform: translateY(115%); } }
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 1460px) {
  .slide-mode .slide-interface { right: .55rem; }
  .slide-rail button { width: 32px; overflow: hidden; color: transparent; font-size: 0; }
  .slide-rail button::after { flex: 0 0 auto; }
  .slide-mode .slide.shell, .slide-mode .slide > .shell { width: min(calc(100% - 6rem),1280px); }
  .section-heading h2 { font-size: clamp(2.9rem,5vw,4.9rem); }
  .hero h1 { font-size: clamp(3.8rem,6.8vw,6.2rem); }
}

@media (max-width: 1100px) and (min-width: 821px) {
  :root { --shell: min(calc(100% - 3rem),1280px); }
  .slide-mode .slide.shell, .slide-mode .slide > .shell { width: min(calc(100% - 5rem),1280px); }
  .section-heading { grid-template-columns: 120px 1fr; margin-bottom: 1.6rem; }
  .section-heading.compact { grid-template-columns: 120px 1fr auto; }
  .section-heading h2 { font-size: 3.25rem; }
  .hero { gap: 2.5rem; }
  .hero h1 { font-size: 4.7rem; }
  .hero-lede { margin-top: 1.4rem; font-size: .86rem; }
  .profile-meta { padding: .65rem .8rem; }
  .interest-board article { min-height: 105px; padding: .75rem; }
  .gitroots-layout { gap: 2.5rem; }
  .gitroots-story .lead { font-size: 1.05rem; }
  .gitroots-story p:not(.lead) { font-size: .68rem; }
  .terminal-output { min-height: 265px; font-size: .58rem; }
  .metrics-label { margin-top: .9rem; }
  .metrics div { min-height: 70px; padding: .55rem; }
  .metrics dt { font-size: .95rem; }
  .work-card { min-height: 185px; padding: 1rem; }
  .work-card h3 { margin-top: 1.2rem; }
  .constraint-grid article, .discipline-grid article { min-height: 115px; padding: .8rem; }
  .discipline-grid p { margin-top: 1.2rem; font-size: .6rem; }
}

@media (max-width: 820px) {
  :root { --shell: min(calc(100% - 1.5rem),1280px); --header: 64px; }
  html, body { width: 100%; max-width: 100%; overflow-x: clip; background: #ffffff; }
  .site-header { display: flex; width: 100%; padding: 0 4rem 0 .8rem; background: #ffffff; backdrop-filter: none; }
  .brand { width: auto; min-width: 0; max-width: 100%; }
  .brand-logo { width: auto; max-width: min(100%,260px); height: 44px; }
  .menu-toggle { position: fixed; top: 13px; right: 13px; z-index: 100; display: grid !important; width: 42px; height: 38px; place-content: center; gap: 4px; border: 1px solid var(--ink); background: #ffffff; cursor: pointer; opacity: 1 !important; visibility: visible !important; }
  .menu-toggle span:not(.sr-only) { display: block; width: 17px; height: 2px; background: var(--ink); transform-origin: center; transition: opacity 140ms linear, transform 180ms steps(3,end); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-6px) rotate(-45deg); }
  .js .site-nav { position: absolute; top: 100%; right: 0; left: 0; z-index: 2; display: flex; width: 100%; max-width: 100vw; height: calc(100dvh - var(--header)); max-height: calc(100dvh - var(--header)); overflow-x: hidden; overflow-y: auto; flex-direction: column; gap: .65rem; align-items: stretch; justify-content: flex-start; padding: 1.25rem .8rem 5rem; background: #ffffff; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-10px); transition: opacity 160ms linear, transform 220ms cubic-bezier(.16,1,.3,1), visibility 220ms; }
  .js .site-nav.open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .site-nav a { display: flex; width: 100%; max-width: 100%; min-height: 58px; flex: 0 0 auto; align-items: center; justify-content: space-between; padding: 1rem 1.1rem; border: 1px solid var(--ink); color: var(--ink); background: #ffffff; font-size: .8rem; box-shadow: none; }
  .site-nav .nav-contact { margin-top: .35rem; background: var(--acid); }
  .slide-mode .slide { overflow-y: auto; overscroll-behavior: contain; }
  .slide-mode .slide.shell, .slide-mode .slide > .shell { width: var(--shell); }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 0 6rem; }
  .hero h1 { font-size: clamp(3.2rem,14vw,5.2rem); }
  .profile-card { width: min(100%,480px); }
  .focus-strip { position: relative; flex-wrap: wrap; padding: .75rem; }
  .section-heading, .section-heading.compact { grid-template-columns: 1fr; gap: .8rem; }
  .section-heading h2, .section-heading.compact h2 { font-size: clamp(2.8rem,12vw,4.5rem); }
  .text-link { justify-self: start; }
  .about-layout, .gitroots-layout, .research-layout, .practice-layout { grid-template-columns: 1fr; gap: 2rem; }
  .about-slide, .work-slide, .practice-slide, .gitroots-slide > .shell, .research-slide > .shell, .notes-slide > .shell { padding-block: 3rem 5rem; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card { min-height: 0; padding: 1.1rem 1.15rem 1.25rem; }
  .work-card h3.project-mark { width: min(100%, 285px); height: 62px; margin: 1rem 0 .55rem; }
  .project-mark img { max-height: 62px; }
  .constraint-grid, .discipline-grid { grid-template-columns: 1fr; }
  .practice-note { margin-left: 0; }
  .note-entry { grid-template-columns: 1fr auto; gap: .6rem; }
  .note-entry > span, .note-entry p { grid-column: 1; }
  .note-entry strong { grid-column: 1; }
  .note-entry b { grid-column: 2; grid-row: 1 / span 3; }
  .connect-inner { padding-block: 4rem 150px; }
  .connect-slide h2 { font-size: clamp(3.2rem,15vw,5.5rem); }
  .connect-links { grid-template-columns: 1fr 1fr; }
  .connect-links a:nth-child(2) { border-right: 0; }
  .connect-links a:nth-child(-n+2) { border-bottom: 1px solid #555b50; }
  .site-footer > div { flex-direction: column; gap: .5rem; }
  .slide-mode .slide-interface { top: auto; right: .65rem; bottom: .6rem; left: .65rem; grid-template-columns: auto 1fr auto; align-items: center; transform: none; }
  .slide-rail { display: flex; justify-content: center; gap: .45rem; }
  .slide-rail button { width: 7px; height: 7px; padding: 0; background: var(--line-dark); }
  .slide-rail button::after { display: none; }
  .slide-rail button[aria-current="true"] { width: 22px; background: var(--ink); box-shadow: 0 3px 0 var(--acid); }
}

@media (max-height: 730px) and (min-width: 821px) {
  .slide-mode .slide { overflow-y: auto; }
  .section-heading { margin-bottom: 1.4rem; }
  .section-heading h2 { font-size: 3rem; }
  .hero { padding-top: 1.5rem; }
  .hero h1 { font-size: 4.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .portrait-particles { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
