:root {
  color-scheme: dark;
  --bg: #08111d;
  --bg-grid: rgba(123, 159, 194, .055);
  --panel: #0d1a2a;
  --panel-2: #102238;
  --panel-3: #142a42;
  --text: #f2f6fa;
  --text-soft: #b1c0cf;
  --text-mute: #788da1;
  --line: #233950;
  --line-bright: #365571;
  --accent: #79f2c0;
  --accent-2: #7fc8ff;
  --accent-ink: #042017;
  --warning: #ffcf76;
  --danger: #ff8d8d;
  --shadow: 0 24px 80px rgba(0, 0, 0, .28);
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Iowan Old Style, "Palatino Linotype", Palatino, Georgia, serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --max: 76rem;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f8fa;
  --bg-grid: rgba(14, 42, 66, .055);
  --panel: #ffffff;
  --panel-2: #edf3f7;
  --panel-3: #e4edf4;
  --text: #0b1825;
  --text-soft: #405366;
  --text-mute: #667c90;
  --line: #cfdae4;
  --line-bright: #a9bdce;
  --accent: #087f5b;
  --accent-2: #096fae;
  --accent-ink: #ffffff;
  --warning: #9b6500;
  --danger: #b73e3e;
  --shadow: 0 24px 70px rgba(17, 41, 63, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: linear-gradient(var(--bg-grid) 1px, transparent 1px), linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--text);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 82% 8%, color-mix(in srgb, var(--accent-2) 10%, transparent), transparent 28rem), radial-gradient(circle at 8% 24%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 25rem);
  z-index: -1;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input { font: inherit; }
button { color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: var(--accent-ink); }

.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; left: 1rem; top: -5rem; z-index: 1000;
  background: var(--accent); color: var(--accent-ink); padding: .6rem 1rem; border-radius: .3rem;
}
.skip-link:focus { top: .75rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.topbar {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
}
.topbar__inner {
  width: min(calc(100% - 2rem), var(--max)); min-height: 4.35rem; margin: auto;
  display: flex; align-items: center; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 680; letter-spacing: -.015em; white-space: nowrap; }
.brand__mark {
  display: grid; place-items: center; width: 2rem; height: 2rem;
  border: 1px solid var(--line-bright); color: var(--accent); font: 700 .72rem var(--mono);
}
.nav { margin-left: auto; display: flex; gap: .1rem; }
.nav a { padding: .45rem .7rem; color: var(--text-soft); font-size: .88rem; border-radius: .25rem; }
.nav a:hover, .nav a.active { color: var(--text); background: var(--panel-2); }
.nav a.active { box-shadow: inset 0 -2px var(--accent); }
.icon-button {
  width: 2.25rem; height: 2.25rem; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--panel); border-radius: .35rem; cursor: pointer;
}
.icon-button:hover { border-color: var(--accent); }
.icon-button svg { width: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.theme-sun { display: none; }
:root[data-theme="light"] .theme-moon { display: none; }
:root[data-theme="light"] .theme-sun { display: block; }

main, footer { width: min(calc(100% - 2rem), var(--max)); margin: auto; }
.hero {
  min-height: calc(100vh - 4.35rem); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(20rem, .75fr);
  align-items: center; gap: clamp(2rem, 7vw, 7rem); padding: clamp(4rem, 9vw, 8rem) 0;
}
.eyebrow, .section-index {
  display: flex; align-items: center; gap: .5rem; color: var(--accent);
  font: 650 .72rem/1.3 var(--mono); letter-spacing: .09em; text-transform: uppercase;
}
.status-dot { width: .48rem; height: .48rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 .28rem color-mix(in srgb, var(--accent) 14%, transparent); }
.hero h1 {
  max-width: 13ch; margin: 1.25rem 0; font: 520 clamp(2.9rem, 6.5vw, 6.1rem)/.96 var(--serif); letter-spacing: -.055em;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero h1 em:last-child { color: var(--accent-2); }
.hero__lead { max-width: 44rem; margin: 0; color: var(--text-soft); font-size: clamp(1rem, 1.5vw, 1.2rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.35rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 2.75rem;
  border: 1px solid var(--line-bright); padding: .62rem .92rem; border-radius: .3rem; background: var(--panel); color: var(--text); font-weight: 650; font-size: .88rem;
}
.button:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.button--primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.button--primary:hover { color: var(--accent-ink); filter: brightness(1.07); }
.button--quiet { background: transparent; }
.hero__links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.35rem; }
.hero__links a { color: var(--text-mute); font: 600 .78rem var(--mono); border-bottom: 1px solid var(--line-bright); }
.hero__links a:hover { color: var(--accent); border-color: var(--accent); }

.profile-card { border: 1px solid var(--line-bright); background: color-mix(in srgb, var(--panel) 94%, transparent); box-shadow: var(--shadow); }
.profile-card__portrait { display: grid; grid-template-columns: 7rem minmax(0, 1fr); align-items: center; gap: 1rem; margin: 0; padding: 1.1rem; background: var(--panel-2); }
.profile-card__image { width: 7rem; height: 7rem; overflow: hidden; border: 1px solid var(--line-bright); border-radius: 50%; background: var(--panel-3); }
.profile-card__image img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); transform-origin: center 35%; filter: saturate(.86) contrast(1.02); }
.profile-card__portrait figcaption { display: flex; min-width: 0; flex-direction: column; }
.profile-card__portrait figcaption strong { font: 540 1.5rem/1.1 var(--serif); }
.profile-card__portrait figcaption span { margin-top: .35rem; color: var(--text-mute); font: .7rem var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.profile-card__now { display: flex; align-items: center; gap: .8rem; padding: .85rem 1.1rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel-2); }
.profile-card__now .status-dot { flex: 0 0 auto; }
.profile-card__now p { display: flex; flex-direction: column; margin: 0; }
.profile-card__now small, .profile-card__label { color: var(--text-mute); font: .62rem var(--mono); text-transform: uppercase; letter-spacing: .09em; }
.profile-card__now strong { margin-top: .12rem; font-size: .78rem; }
.profile-card__education { padding: 1rem 1.1rem 1.1rem; }
.profile-card__education article { padding-top: .72rem; margin-top: .72rem; border-top: 1px solid var(--line); }
.profile-card__education article > div { display: flex; justify-content: space-between; gap: .8rem; }
.profile-card__education article strong { font-size: .84rem; }
.profile-card__education time, .profile-card__education article > span { color: var(--text-mute); font: .62rem var(--mono); white-space: nowrap; }
.profile-card__education p { margin: .25rem 0 .2rem; color: var(--text-soft); font-size: .74rem; }

.system-card { border: 1px solid var(--line-bright); background: color-mix(in srgb, var(--panel) 94%, transparent); box-shadow: var(--shadow); }
.system-card__top { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem .9rem; border-bottom: 1px solid var(--line); color: var(--text-mute); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.mono { font-family: var(--mono); }
.system-flow { padding: 1.2rem; }
.system-node { position: relative; display: grid; grid-template-columns: 2rem 1fr; align-items: center; gap: .15rem .8rem; padding: .75rem .85rem; border: 1px solid var(--line); background: var(--bg); }
.system-node__id { grid-row: span 2; color: var(--text-mute); font: .72rem var(--mono); }
.system-node strong { font-size: .9rem; }
.system-node small { color: var(--text-mute); font: .68rem var(--mono); }
.system-node--accent { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: inset 3px 0 var(--accent); }
.flow-arrow { display: block; height: 1.3rem; text-align: center; color: var(--text-mute); font: .8rem var(--mono); }
.system-card__note { margin: 0; padding: .85rem 1rem; border-top: 1px solid var(--line); background: var(--panel-2); color: var(--text-soft); font-size: .78rem; }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 2rem; border: 1px solid var(--line); background: var(--panel); }
.metrics div { padding: 1.2rem 1.35rem; border-right: 1px solid var(--line); }
.metrics div:last-child { border-right: 0; }
.metrics strong { display: block; color: var(--accent); font: 600 clamp(1.5rem, 3vw, 2.2rem) var(--serif); }
.metrics span { display: block; margin-top: .25rem; color: var(--text-mute); font-size: .73rem; }

.section { padding: clamp(5rem, 10vw, 9rem) 0; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(16rem, .75fr); gap: 2rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-heading h2, .contact h2 { max-width: 14ch; margin: .65rem 0 0; font: 520 clamp(2.2rem, 5vw, 4.6rem)/1 var(--serif); letter-spacing: -.045em; }
.section-heading > p { margin: 0; color: var(--text-soft); }
.case-studies { display: grid; gap: 1rem; }
.case { border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.case__content { padding: clamp(1.5rem, 4vw, 3rem); }
.case__meta { display: flex; justify-content: space-between; gap: 1rem; color: var(--text-mute); font: .68rem var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.case h3 { max-width: 17ch; margin: 1rem 0 .85rem; font: 540 clamp(1.7rem, 3vw, 2.65rem)/1.05 var(--serif); letter-spacing: -.03em; }
.case p { color: var(--text-soft); }
.case__dek { max-width: 42rem; font-size: 1.05rem; }
.case--registry { display: grid; grid-template-columns: 1.25fr .75fr; }
.case--words { display: block; }
.case--words .case__content { max-width: 62rem; }
.case__facts { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 2rem; padding: 0; margin: 1.5rem 0; list-style: none; }
.case__facts li { color: var(--text-soft); font-size: .88rem; padding-left: 1rem; border-left: 2px solid var(--line-bright); }
.case__facts strong { color: var(--text); }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.tags span { padding: .2rem .45rem; border: 1px solid var(--line); background: var(--panel-2); color: var(--text-mute); font: .67rem var(--mono); }
.registry-visual { display: flex; flex-direction: column; justify-content: center; min-height: 29rem; padding: 2rem; background: var(--bg); border-left: 1px solid var(--line); }
.rv-source { display: flex; gap: .5rem; }
.rv-source span, .rv-agent { flex: 1; padding: .55rem; text-align: center; border: 1px solid var(--line); background: var(--panel); color: var(--text-mute); font: .68rem var(--mono); }
.rv-line { width: 1px; height: 1.8rem; background: var(--line-bright); margin: auto; }
.rv-core { border: 1px solid var(--accent); padding: 1.2rem; box-shadow: 0 0 2.5rem color-mix(in srgb, var(--accent) 8%, transparent); }
.rv-core small, .rv-budget small { color: var(--text-mute); font: .65rem var(--mono); }
.rv-core > strong { display: block; color: var(--accent); font: 2rem var(--serif); }
.rv-core > div { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .55rem; }
.rv-core > div span { color: var(--accent); font: .62rem var(--mono); }
.rv-budget { padding: .8rem; border: 1px solid var(--line); }
.rv-budget > div { height: .35rem; margin: .5rem 0; background: var(--panel-3); }
.rv-budget i { display: block; width: var(--fill); height: 100%; background: var(--accent-2); }
.rv-budget > span { color: var(--text-soft); font: .68rem var(--mono); }
.rv-agent { flex: none; color: var(--accent-2); border-color: var(--accent-2); }

.case--visual { display: grid; grid-template-columns: 1.15fr .85fr; }
.case--reverse .case__media { order: 2; }
.case__media { position: relative; min-height: 28rem; background: #03070b; overflow: hidden; }
.case__media img { width: 100%; height: 100%; object-fit: contain; }
.image-switcher__controls { position: absolute; z-index: 2; top: .75rem; left: .75rem; display: flex; padding: .2rem; border: 1px solid rgba(255,255,255,.25); background: rgba(2,9,15,.82); backdrop-filter: blur(8px); }
.image-switcher__controls button { border: 0; padding: .4rem .62rem; background: transparent; color: #a9bbca; cursor: pointer; font-size: .72rem; }
.image-switcher__controls button.active { background: #79f2c0; color: #042017; font-weight: 700; }
.case__links { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin: 1.25rem 0; color: var(--text-mute); font: .75rem var(--mono); }
.case__links a, .text-link { color: var(--accent); }
.result-pair { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: .8rem; margin: 1.35rem 0; padding: 1rem; background: var(--panel-2); }
.result-pair div span { display: block; color: var(--text-mute); font-size: .69rem; }
.result-pair div strong { color: var(--accent); font: 1.45rem var(--serif); }
.result-pair small { grid-column: 1 / -1; color: var(--text-mute); font: .64rem var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.evidence-note { padding-left: 1rem; border-left: 2px solid var(--accent-2); font-size: .82rem; }
.evidence-note strong { color: var(--text); }
.case--compact { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.latency-chart { padding: 2rem; border-left: 1px solid var(--line); }
.latency-chart > div { display: grid; grid-template-columns: 5rem 1fr 4rem; align-items: center; gap: .75rem; margin: .8rem 0; font-size: .76rem; }
.latency-chart i { width: var(--bar); height: .7rem; background: var(--accent-2); }
.latency-chart div:nth-child(2) i { background: var(--warning); }
.latency-chart div:nth-child(3) i { background: var(--danger); }
.latency-chart small { display: block; margin-top: 1rem; color: var(--text-mute); font: .65rem var(--mono); }

.timeline { border-top: 1px solid var(--line); }
.timeline__item { display: grid; grid-template-columns: 6.5rem 1fr; border-bottom: 1px solid var(--line); }
.timeline__rail { padding: 2rem 1rem 2rem 0; color: var(--text-mute); font: .7rem var(--mono); }
.timeline__body { padding: 2rem 0 2rem 2rem; border-left: 1px solid var(--line); }
.timeline__item--current .timeline__body { box-shadow: inset 3px 0 var(--accent); }
.timeline__head { display: flex; justify-content: space-between; gap: 2rem; align-items: start; }
.timeline__head h3 { margin: 0; font: 520 1.45rem var(--serif); }
.timeline__head p { margin: .2rem 0 0; color: var(--accent-2); font-size: .85rem; }
.timeline__head time { color: var(--text-mute); font: .7rem var(--mono); white-space: nowrap; }
.timeline__body > p, .timeline__body li { color: var(--text-soft); }
.timeline__body ul { margin: 1rem 0 0; padding-left: 1.15rem; }

.section-heading--projects { margin-bottom: 2rem; }
.project-tools { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: .7rem; }
.filter-group { display: flex; flex-wrap: wrap; gap: .35rem; }
.filter { border: 1px solid var(--line); background: var(--panel); color: var(--text-soft); padding: .45rem .7rem; cursor: pointer; font-size: .78rem; border-radius: .2rem; }
.filter:hover { border-color: var(--accent); color: var(--text); }
.filter.active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.project-search { min-width: 15rem; display: flex; align-items: center; gap: .5rem; border: 1px solid var(--line); background: var(--panel); padding: .45rem .7rem; }
.project-search:focus-within { border-color: var(--accent); }
.project-search svg { width: .95rem; fill: none; stroke: var(--text-mute); stroke-width: 1.8; }
.project-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font-size: .8rem; }
.project-search input::placeholder { color: var(--text-mute); }
.project-count { min-height: 1.2rem; margin: 0 0 .7rem; color: var(--text-mute); font: .68rem var(--mono); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.project { min-height: 15rem; display: flex; flex-direction: column; padding: 1.25rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 92%, transparent); transition: background .18s ease, transform .18s ease; }
.project:hover { background: var(--panel-2); transform: translateY(-2px); box-shadow: inset 0 2px var(--accent); }
.project[hidden] { display: none; }
.project__top { display: flex; justify-content: space-between; gap: .8rem; color: var(--text-mute); font: .65rem var(--mono); }
.project h3 { margin: 1rem 0 .6rem; font: 550 1.25rem/1.15 var(--serif); }
.project p { margin: 0 0 1rem; color: var(--text-soft); font-size: .84rem; }
.project .tags { margin-top: auto; }
.project__private { margin-top: .75rem; color: var(--text-mute); font: .63rem var(--mono); }
.archive-link { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; color: var(--text-mute); font-size: .82rem; }
.archive-link a { color: var(--accent); font-weight: 650; }

.research-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.publications, .education { border: 1px solid var(--line); background: var(--panel); padding: clamp(1.25rem, 3vw, 2rem); }
.publications > h3, .education > h3 { margin: 0 0 1.4rem; color: var(--text-mute); font: .72rem var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.publications article { display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; padding: 1.15rem 0; border-top: 1px solid var(--line); }
.pub-index { color: var(--text-mute); font: .65rem var(--mono); }
.publications a { font: 540 1.05rem/1.35 var(--serif); }
.publications p { margin: .5rem 0 0; color: var(--text-mute); font-size: .75rem; }
.education article { padding: 1.15rem 0; border-top: 1px solid var(--line); }
.education article > div { display: flex; justify-content: space-between; gap: 1rem; }
.education article > div span { color: var(--text-mute); font: .65rem var(--mono); white-space: nowrap; }
.education p { margin: .4rem 0; color: var(--text-soft); font-size: .83rem; }
.grade { color: var(--accent); font: .68rem var(--mono); }
.skills-board { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 1rem; border: 1px solid var(--line); background: var(--panel); }
.skills-board div { padding: 1.25rem; border-right: 1px solid var(--line); }
.skills-board div:last-child { border-right: 0; }
.skills-board h3 { margin: 0 0 .6rem; color: var(--accent-2); font: .68rem var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.skills-board p { margin: 0; color: var(--text-soft); font-size: .78rem; }

.contact { margin-top: 2rem; padding: clamp(2rem, 5vw, 4rem); border: 1px solid var(--line-bright); background: var(--panel-2); }
.contact h2 { max-width: 20ch; font-size: clamp(2rem, 4vw, 3.8rem); }
.contact p { max-width: 46rem; color: var(--text-soft); }
footer { display: flex; justify-content: space-between; gap: 2rem; padding: 2.5rem 0 3.5rem; border-top: 1px solid var(--line); margin-top: 6rem; color: var(--text-mute); font-size: .78rem; }
footer > div { display: flex; flex-direction: column; }
footer strong { color: var(--text); }
footer nav { display: flex; flex-wrap: wrap; gap: 1rem; }

@media (max-width: 980px) {
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero h1 { max-width: 14ch; }
  .profile-card { width: min(100%, 32rem); }
  .case--registry, .case--visual, .case--compact { grid-template-columns: 1fr; }
  .registry-visual, .latency-chart { border-left: 0; border-top: 1px solid var(--line); }
  .case--reverse .case__media { order: 0; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skills-board { grid-template-columns: repeat(2, 1fr); }
  .skills-board div:nth-child(2) { border-right: 0; }
  .skills-board div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .topbar__inner { width: min(calc(100% - 1.25rem), var(--max)); }
  .brand > span:last-child { display: none; }
  .nav { overflow-x: auto; }
  .nav a { font-size: .78rem; padding: .45rem .48rem; }
  main, footer { width: min(calc(100% - 1.25rem), var(--max)); }
  .hero { padding: 3.5rem 0 5rem; }
  .hero h1 { font-size: clamp(2.7rem, 14vw, 4.4rem); }
  .profile-card__portrait { grid-template-columns: 5.25rem minmax(0, 1fr); }
  .profile-card__image { width: 5.25rem; height: 5.25rem; }
  .profile-card__portrait figcaption strong { font-size: 1.2rem; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metrics div:nth-child(2) { border-right: 0; }
  .metrics div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading { grid-template-columns: 1fr; }
  .case__facts { grid-template-columns: 1fr; }
  .case__media { min-height: 20rem; }
  .timeline__item { grid-template-columns: 3rem 1fr; }
  .timeline__body { padding-left: 1rem; }
  .timeline__head { display: block; }
  .timeline__head time { display: block; margin-top: .5rem; }
  .project-tools { align-items: stretch; flex-direction: column; }
  .project-search { min-width: 0; }
  .project-grid { grid-template-columns: 1fr; }
  .project { min-height: 13rem; }
  .archive-link { flex-direction: column; }
  .research-grid { grid-template-columns: 1fr; }
  .skills-board { grid-template-columns: 1fr; }
  .skills-board div { border-right: 0; border-bottom: 1px solid var(--line); }
  .skills-board div:last-child { border-bottom: 0; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
