:root {
  --page: #0f4db8;
  --surface: #1856b8;
  --surface-2: #0b3992;
  --ink: #f8faff;
  --text: #f4f7ff;
  --muted: #d8e6ff;
  --line: rgba(207, 226, 255, 0.3);
  --line-strong: rgba(225, 237, 255, 0.62);
  --blue: #9bceff;
  --blue-deep: #172d82;
  --accent-blue: #67b6ff;
  --accent-blue-deep: #2449a3;
  --lime: #b8ff36;
  --aqua: #57d7ee;
  --yellow: #f7d550;
  --content-width: 1180px;
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

html[data-theme="dark"] {
  --page: #0b1020;
  --surface: #11182a;
  --surface-2: #19223b;
  --ink: #f4f7ff;
  --text: #edf1ff;
  --muted: #9ba6c2;
  --line: rgba(224, 232, 255, 0.16);
  --line-strong: rgba(224, 232, 255, 0.38);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 22px;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--text);
  background: var(--page);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  transition: color 260ms ease, background-color 260ms ease;
}

body.is-modal-open {
  overflow: hidden;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p,
ol,
dl,
dd,
figure {
  margin: 0;
}

button,
[tabindex="0"] {
  outline: none;
}

button:focus-visible,
a:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 2px solid #5d8cff;
  outline-offset: 3px;
}

::selection {
  color: #111b3f;
  background: #9ec5ff;
}

.page-progress {
  position: fixed;
  z-index: 200;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  pointer-events: none;
}

.page-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #315efb, #62a9ff);
  transform: scaleX(0);
  transform-origin: left center;
}

.theme-wash {
  position: fixed;
  z-index: 190;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #111a3f;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
}

html[data-theme="dark"] .theme-wash {
  background: #edf3ff;
}

.site-header {
  position: relative;
  z-index: 20;
  width: min(calc(100% - 40px), var(--content-width));
  min-height: 74px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 42px;
  border-bottom: 1px solid var(--line-strong);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 780;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--lime);
  background: var(--accent-blue-deep);
  border-radius: 5px;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 12px;
}

html[data-theme="dark"] .brand-mark {
  color: #111512;
  background: var(--lime);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.site-nav a {
  position: relative;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--accent-blue);
  content: "";
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 220ms ease;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.header-tools {
  --glass-x: 72%;
  --glass-y: 28%;
  --glass-tilt-x: 0deg;
  --glass-tilt-y: 0deg;
  position: relative;
  min-height: 46px;
  padding: 4px;
  display: flex;
  align-items: center;
  gap: 3px;
  isolation: isolate;
}

.liquid-glass {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.52), rgba(210, 226, 255, 0.2));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -10px 22px rgba(76, 125, 225, 0.1),
    0 1px 0 rgba(37, 70, 150, 0.12),
    0 14px 34px rgba(41, 75, 154, 0.15),
    0 0 0 1px rgba(71, 121, 221, 0.1);
  backdrop-filter: blur(22px) saturate(1.65) contrast(1.05);
  -webkit-backdrop-filter: blur(22px) saturate(1.65) contrast(1.05);
  transform: perspective(700px) rotateX(var(--glass-tilt-x)) rotateY(var(--glass-tilt-y));
  transform-style: preserve-3d;
}

.liquid-glass::before {
  content: none;
}

.liquid-glass::after {
  position: absolute;
  z-index: 0;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.72), transparent 22% 70%, rgba(112, 170, 255, 0.34)),
    radial-gradient(ellipse at 28% 0%, rgba(255, 255, 255, 0.62), transparent 42%);
  content: "";
  opacity: 0.46;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
}

.liquid-glass--toolbar {
  border-radius: 25px;
}

.header-tools > * {
  position: relative;
  z-index: 2;
}

html[data-theme="dark"] .liquid-glass {
  border-color: rgba(177, 207, 255, 0.3);
  background: linear-gradient(145deg, rgba(31, 51, 94, 0.78), rgba(13, 25, 52, 0.52));
  box-shadow: inset 0 1px 0 rgba(211, 228, 255, 0.34), inset 0 -12px 24px rgba(0, 7, 24, 0.28), 0 16px 38px rgba(0, 6, 22, 0.36), 0 0 0 1px rgba(90, 140, 255, 0.12);
}

.language-switch {
  height: 38px;
  padding: 3px 2px;
  display: flex;
  border: 0;
  border-radius: 20px;
  background: transparent;
}

.language-option {
  width: 36px;
  height: 30px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border-radius: 16px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.language-option.is-active {
  color: #ffffff;
  background: #315bd6;
  box-shadow: none;
}

.glass-control {
  position: relative;
  width: 38px;
  height: 38px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  overflow: visible;
  border: 0;
  border-radius: 50%;
  color: var(--text);
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.glass-control::before {
  content: none;
}

.glass-control:hover {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.42);
  transform: translateY(-1px);
}

.glass-control svg {
  position: relative;
  z-index: 2;
  width: 16px;
  height: 16px;
}

html[data-theme="dark"] .glass-control:hover {
  background: rgba(167, 198, 255, 0.1);
}

.section-index,
.hero-kicker,
.project-overline,
.system-kicker,
.education-heading > p,
.subsection-heading > p {
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero {
  position: relative;
  width: min(calc(100% - 40px), var(--content-width));
  min-height: 760px;
  margin: 0 auto;
  padding: 76px 28px 70px;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(430px, 1.04fr);
  align-items: center;
  gap: 76px;
  overflow: hidden;
}

.hero-signature {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-kicker {
  margin-bottom: 18px;
  color: var(--blue);
}

.hero h1 {
  font-size: 56px;
  font-weight: 850;
  line-height: 1;
}

.hero-name-line {
  display: block;
  overflow: hidden;
}

.hero h1 small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 650;
}

.hero-links {
  margin-top: 27px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

.hero-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  border-bottom: 1px solid var(--line-strong);
  font-size: 11px;
  font-weight: 760;
}

.hero-links a:hover {
  color: var(--blue);
  border-color: currentColor;
}

.hero-links svg {
  width: 13px;
  height: 13px;
}

.hero-honors {
  margin-top: 34px;
  border-top: 3px solid var(--accent-blue);
  scroll-margin-top: 24px;
}

.hero-honors-heading {
  min-height: 40px;
  padding: 9px 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.hero-honors-heading h2 {
  font-size: 14px;
  line-height: 1.2;
}

.hero-honors-heading span {
  color: var(--blue);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 9px;
  font-weight: 800;
}

.hero-honor-list {
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.hero-honor-list li {
  position: relative;
  min-width: 0;
  min-height: 49px;
  padding: 8px 10px 8px 2px;
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  align-items: center;
  gap: 5px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
  transition: color 190ms ease;
}

.hero-honor-list li:not(.hero-honor-wide):nth-child(odd) {
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.hero-honor-list li::before {
  position: absolute;
  z-index: -1;
  inset: 3px 0;
  background: var(--accent-blue-deep);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 230ms cubic-bezier(0.2, 0.75, 0.3, 1);
}

.hero-honor-list li:hover {
  color: #ffffff;
}

.hero-honor-list li:hover::before {
  transform: scaleX(1);
}

.hero-honor-list li > span {
  color: var(--blue);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 8px;
  font-weight: 800;
  transition: color 190ms ease;
}

.hero-honor-list li:hover > span {
  color: var(--lime);
}

.hero-honor-list li p {
  font-size: 10px;
  font-weight: 680;
  line-height: 1.45;
}

.hero-honor-wide {
  grid-column: 1 / -1;
}

.hero-education {
  position: relative;
  z-index: 2;
  border-top: 4px solid var(--accent-blue);
  border-bottom: 1px solid var(--line-strong);
}

.education-heading {
  padding: 22px 0 19px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.education-heading > p {
  color: var(--blue);
}

.education-heading h2 {
  font-size: 24px;
}

.degree-list {
  position: relative;
}

.degree-list::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 125px;
  width: 1px;
  background: var(--line);
  content: "";
}

.degree-item {
  min-height: 142px;
  padding: 26px 0;
  display: grid;
  grid-template-columns: 125px 1fr;
  border-bottom: 1px solid var(--line);
}

.degree-item:last-child {
  border-bottom: 0;
}

.degree-item time {
  padding-top: 4px;
  color: var(--muted);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 10px;
}

.degree-item > div {
  position: relative;
  padding-left: 28px;
}

.degree-item > div::before {
  position: absolute;
  top: 8px;
  left: -5px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--page);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
  content: "";
}

.degree-item span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 780;
}

.degree-item h3 {
  margin-top: 6px;
  font-size: 23px;
  line-height: 1.25;
}

.degree-item p {
  color: var(--muted);
  font-size: 12px;
}

.hero-accent {
  position: absolute;
  display: block;
}

.hero-accent--blue {
  top: 46px;
  right: 0;
  width: 88px;
  height: 12px;
  background: var(--blue);
}

.hero-accent--aqua {
  right: 188px;
  bottom: 46px;
  width: 128px;
  height: 7px;
  background: var(--accent-blue);
}

.experience-section,
.work-section,
.skills-section,
.builds-section,
.interests-section {
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
  padding: 94px 28px;
}

.section-heading h2,
.experience-head h2,
.work-heading h2 {
  margin-top: 8px;
  font-size: 36px;
  line-height: 1.15;
}

.experience-section {
  color: #f6f8ff;
  background: var(--blue-deep);
  box-shadow: 0 0 0 100vmax var(--blue-deep);
  clip-path: inset(0 -100vmax);
}

.experience-head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.experience-head .section-index {
  color: var(--lime);
}

.experience-company {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
}

.experience-company span {
  grid-column: 1;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.experience-company h3 {
  grid-column: 1;
  margin-top: 6px;
  font-size: 25px;
}

.experience-company time {
  grid-column: 2;
  grid-row: 1 / 3;
  color: rgba(255, 255, 255, 0.72);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 10px;
}

.optimizer-project {
  min-width: 0;
  padding-top: 62px;
  display: grid;
  grid-template-columns: minmax(310px, 0.72fr) minmax(620px, 1.28fr);
  gap: 54px;
  align-items: start;
}

.project-overline {
  color: var(--lime);
}

.optimizer-copy h3 {
  max-width: 560px;
  margin-top: 14px;
  font-size: 30px;
  line-height: 1.35;
}

.optimizer-copy,
.optimizer-visual,
.map-scroll {
  min-width: 0;
  max-width: 100%;
}

.optimizer-summary {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.9;
}

.optimizer-capabilities {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.optimizer-capabilities span {
  padding: 8px 8px 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.7);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 9px;
  text-transform: uppercase;
}

.optimizer-impact {
  margin-top: 28px;
  padding: 19px 0;
  display: grid;
  grid-template-columns: 1fr 34px 1fr;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.optimizer-impact div {
  display: flex;
  flex-direction: column;
}

.optimizer-impact small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
}

.optimizer-impact strong {
  margin-top: 3px;
  font-size: 25px;
}

.optimizer-impact div:last-child strong,
.optimizer-impact > svg {
  color: var(--lime);
}

.optimizer-impact > svg {
  width: 22px;
}

.optimizer-result {
  margin-top: 19px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.8;
}

.liquid-action {
  --glass-x: 24%;
  --glass-y: 28%;
  position: relative;
  min-height: 48px;
  margin-top: 25px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.25), rgba(80, 148, 255, 0.1));
  cursor: pointer;
  transform-origin: 50% 50%;
}

.liquid-action::before {
  z-index: 0;
}

.liquid-action::after {
  z-index: 1;
}

.liquid-action > svg,
.liquid-action > span:last-child {
  position: relative;
  z-index: 3;
}

.liquid-action > svg {
  width: 15px;
  height: 15px;
}

.liquid-action > span:last-child {
  font-size: 12px;
  font-weight: 760;
}

.optimizer-visual {
  width: 100%;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 5px;
  background: #0d1d52;
  box-shadow: 0 28px 70px rgba(3, 11, 44, 0.28);
}

.map-scroll {
  width: 100%;
  overflow: hidden;
}

.map-canvas {
  position: relative;
  min-width: 620px;
  aspect-ratio: 1000 / 660;
}

.system-links {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: rgba(135, 183, 255, 0.48);
  stroke-width: 2;
  stroke-dasharray: 7 9;
  vector-effect: non-scaling-stroke;
}

.system-links .system-link-accent {
  stroke: var(--lime);
}

.map-node,
.map-experts {
  position: absolute;
  z-index: 2;
}

.map-node,
.map-experts button {
  color: #f6f8ff;
  border: 1px solid rgba(137, 176, 255, 0.48);
  border-radius: 4px;
  background: rgba(35, 62, 134, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.map-node {
  padding: 7px 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.map-node svg,
.map-experts svg {
  width: 13px;
  height: 13px;
  margin-bottom: 3px;
}

.map-node strong {
  font-size: 10px;
  line-height: 1.25;
}

.map-node small,
.map-experts span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 7px;
  line-height: 1.3;
}

.map-node:hover,
.map-node.is-active,
.map-experts button:hover,
.map-experts button.is-active {
  border-color: var(--lime);
  background: rgba(46, 84, 177, 0.94);
  box-shadow: 0 0 0 1px rgba(184, 255, 54, 0.22), 0 0 24px rgba(63, 119, 255, 0.24);
  transform: translateY(-2px);
}

.map-node--human {
  top: 2%;
  left: 2%;
  width: 20%;
  height: 13%;
  border-color: rgba(184, 255, 54, 0.58);
}

.map-node--research {
  top: 2%;
  left: 29%;
  width: 40%;
  height: 17%;
  border-color: rgba(92, 216, 255, 0.56);
  background: rgba(18, 89, 124, 0.52);
}

.map-node-title {
  display: flex;
  align-items: center;
  gap: 5px;
}

.map-node-title svg {
  margin: 0;
}

.research-sources {
  width: 100%;
  margin-top: 7px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.research-sources small {
  padding: 3px 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.research-sources svg {
  width: 8px;
  height: 8px;
  margin: 0;
}

.map-node--memory {
  top: 2%;
  right: 2%;
  width: 21%;
  height: 13%;
  border-color: rgba(103, 182, 255, 0.72);
  background: rgba(31, 73, 148, 0.78);
}

.map-experts {
  top: 27%;
  left: 2%;
  width: 23%;
  height: 34%;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 5px;
}

.map-experts button {
  padding: 5px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-align: left;
}

.map-experts svg {
  flex: 0 0 auto;
  margin: 0;
}

.map-experts span {
  color: #f6f8ff;
  font-size: 8px;
  font-weight: 700;
}

.map-node--planner {
  top: 27%;
  left: 36%;
  width: 28%;
  height: 15%;
  border-color: rgba(88, 224, 236, 0.85);
  background: rgba(27, 87, 127, 0.88);
}

.map-node--dispatcher {
  top: 49%;
  left: 39%;
  width: 22%;
  height: 11%;
  border-color: rgba(247, 213, 80, 0.78);
  background: rgba(114, 86, 23, 0.78);
}

.map-node--code,
.map-node--clearml,
.map-node--evaluator,
.map-node--analyst {
  top: 69%;
  height: 14%;
}

.map-node--code {
  left: 2%;
  width: 22%;
}

.map-node--clearml {
  left: 26%;
  width: 22%;
  border-color: rgba(90, 200, 255, 0.72);
}

.map-node--evaluator {
  left: 50%;
  width: 20%;
  border-color: rgba(247, 213, 80, 0.72);
}

.map-node--analyst {
  right: 2%;
  width: 21%;
  border-color: rgba(87, 215, 238, 0.76);
  background: rgba(24, 83, 121, 0.82);
}

.map-node--candidate,
.map-node--gate {
  top: 87%;
  height: 11%;
}

.map-node--candidate {
  left: 45%;
  width: 24%;
  border-color: rgba(184, 255, 54, 0.65);
}

.map-node--gate {
  right: 2%;
  width: 21%;
  border-color: rgba(184, 255, 54, 0.88);
  background: rgba(70, 104, 28, 0.75);
}

.flow-caption {
  min-height: 54px;
  margin: 11px 4px 0;
  padding-top: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
  line-height: 1.65;
}

.work-section {
  color: var(--text);
  background: #202f7d;
  box-shadow: 0 0 0 100vmax #202f7d;
  clip-path: inset(0 -100vmax);
}

html[data-theme="dark"] .work-section {
  color: #f0f3ff;
  background: #0d1428;
  box-shadow: 0 0 0 100vmax #0d1428;
}

.work-heading {
  padding-bottom: 45px;
  border-bottom: 1px solid var(--line-strong);
}

.work-heading .section-index {
  color: var(--blue);
}

.research-subsection,
.systems-subsection {
  padding-top: 62px;
}

.systems-subsection {
  margin-top: 74px;
  border-top: 1px solid var(--line-strong);
}

.subsection-heading {
  display: grid;
  grid-template-columns: 42px auto 1fr;
  align-items: end;
  gap: 16px;
}

.subsection-heading > span {
  color: var(--blue);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 10px;
}

.subsection-heading h3 {
  font-size: 28px;
}

.subsection-heading p {
  justify-self: end;
  color: var(--muted);
  text-align: right;
}

.paper-stage {
  height: auto;
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.paper-panel {
  --paper-accent: #afd8ff;
  --paper-surface: #1954b8;
  --spot-x: 50%;
  --spot-y: 20%;
  position: relative;
  min-height: 700px;
  min-width: 0;
  padding: 27px 25px 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(225, 238, 255, 0.48);
  border-radius: 6px;
  background: var(--paper-surface);
  isolation: isolate;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.paper-panel:hover,
.paper-panel:focus-visible {
  border-color: color-mix(in srgb, var(--paper-accent) 58%, white);
  box-shadow: 0 18px 42px rgba(41, 71, 144, 0.12);
  transform: translateY(-4px);
}

.paper-panel::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: var(--paper-accent);
  content: "";
}

.paper-panel::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(183, 226, 255, 0.28), transparent 36%);
  content: "";
  opacity: 0;
  transition: opacity 220ms ease;
}

.paper-panel:hover::after,
.paper-panel:focus-visible::after {
  opacity: 1;
}

.paper-panel--cobalt {
  --paper-accent: #afd8ff;
  --paper-surface: #1954b8;
}

.paper-panel--blue {
  --paper-accent: #9ee4ff;
  --paper-surface: #1766b7;
}

.paper-panel--aqua {
  --paper-accent: #b5d5ff;
  --paper-surface: #2b4fa3;
}

html[data-theme="dark"] .paper-panel {
  --paper-surface: #111a32;
  border-color: rgba(151, 184, 255, 0.2);
}

html[data-theme="dark"] .paper-panel--cobalt {
  --paper-surface: #11265d;
}

html[data-theme="dark"] .paper-panel--blue {
  --paper-surface: #102c50;
}

html[data-theme="dark"] .paper-panel--aqua {
  --paper-surface: #17264c;
}

html[data-theme="dark"] .paper-panel::after {
  background: radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(255, 255, 255, 0.1), transparent 34%);
}

.paper-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.paper-meta > span {
  color: var(--muted);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 9px;
}

.paper-venue {
  text-align: right;
}

.paper-venue strong,
.paper-venue small {
  display: block;
}

.paper-venue strong {
  color: var(--paper-accent);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 14px;
  line-height: 1.25;
}

.paper-venue small {
  margin-top: 3px;
  color: var(--muted);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 7px;
}

.paper-panel h4 {
  margin-top: 28px;
  font-size: 31px;
  line-height: 1.1;
}

.paper-lead {
  min-height: 78px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.paper-metrics {
  margin-top: 22px;
  padding: 15px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.paper-metrics span {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.paper-metrics strong {
  overflow-wrap: anywhere;
  color: var(--paper-accent);
  font-size: 15px;
  line-height: 1.2;
}

.paper-metrics small {
  margin-top: 4px;
  color: var(--muted);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 6px;
  line-height: 1.3;
  text-transform: uppercase;
}

.paper-detail {
  max-height: none;
  margin-top: 18px;
  opacity: 1;
  overflow: visible;
  transform: none;
}

.paper-detail > div {
  padding: 10px 0;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}

.paper-detail span {
  color: var(--paper-accent);
  font-size: 9px;
  font-weight: 800;
}

.paper-detail p {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.paper-footer {
  min-height: 24px;
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--paper-accent);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.paper-footer a,
.paper-footer > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid currentColor;
}

.paper-footer svg {
  width: 12px;
  height: 12px;
}

.system-projects {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  background: transparent;
  border-top: 3px solid var(--blue);
  border-bottom: 1px solid var(--line-strong);
}

.system-project {
  position: relative;
  min-height: 610px;
  padding: 28px 31px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
  background: #1855b0;
}

.system-project--credit {
  background: #2854a3;
}

.system-project-head {
  display: flex;
  justify-content: space-between;
  color: var(--blue);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 9px;
}

.system-project--credit .system-project-head {
  color: var(--aqua);
}

.system-project-head svg {
  width: 23px;
  height: 23px;
}

.system-kicker {
  margin-top: 34px;
  color: var(--muted);
}

.system-project h4 {
  margin-top: 11px;
  font-size: 27px;
}

.system-project > p:not(.system-kicker) {
  max-width: 55ch;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.system-focus {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.system-focus > span {
  min-width: 0;
  min-height: 58px;
  padding: 10px 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-right: 1px solid var(--line);
}

.system-focus > span:last-child {
  border-right: 0;
}

.system-focus svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  color: var(--blue);
}

.system-project--credit .system-focus svg {
  color: var(--aqua);
}

.system-focus strong {
  font-size: 10px;
  line-height: 1.45;
}

.system-project dl {
  margin-top: 16px;
}

.system-project dl > div {
  padding: 13px 0;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.system-project dt {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
}

.system-project--credit dt {
  color: var(--aqua);
}

.system-project dt svg {
  width: 13px;
  height: 13px;
}

.system-project dd {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.system-link {
  margin-top: auto;
  padding-top: 22px;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--aqua);
  border-bottom: 1px solid currentColor;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

html[data-theme="dark"] .system-project {
  border-color: rgba(255, 255, 255, 0.2);
  background: #111a32;
}

html[data-theme="dark"] .system-project--credit {
  background: #152744;
}

html[data-theme="dark"] .system-focus,
html[data-theme="dark"] .system-project dl > div {
  border-color: rgba(255, 255, 255, 0.16);
}

html[data-theme="dark"] .system-focus > span {
  border-right-color: rgba(255, 255, 255, 0.14);
}

.system-link svg {
  width: 12px;
  height: 12px;
}

.skills-section {
  background: #263f94;
  box-shadow: 0 0 0 100vmax #263f94;
  clip-path: inset(0 -100vmax);
}

html[data-theme="dark"] .skills-section {
  background: #11182a;
  box-shadow: 0 0 0 100vmax #11182a;
}

.skills-heading .section-index,
.builds-heading .section-index,
.interests-heading .section-index {
  color: var(--blue);
}

.skill-ledger {
  margin-top: 45px;
  border-top: 3px solid var(--blue-deep);
}

.skill-ledger article {
  --skill-accent: var(--blue);
  --skill-soft: #e8edff;
  min-height: 78px;
  padding: 14px 0;
  display: grid;
  grid-template-columns: 54px 220px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.skill-ledger article:nth-child(2) {
  --skill-accent: #9fd8ff;
  --skill-soft: #e9f5ff;
}

.skill-ledger article:nth-child(3) {
  --skill-accent: #74a9ff;
  --skill-soft: #edf4ff;
}

.skill-ledger article:nth-child(4) {
  --skill-accent: #a7d0ff;
  --skill-soft: #e8f1ff;
}

.skill-ledger article:nth-child(5) {
  --skill-accent: #9fd8ff;
  --skill-soft: #e9f5ff;
}

.skill-ledger article > span {
  color: var(--skill-accent);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 10px;
}

.skill-ledger h3 {
  font-size: 15px;
}

.skill-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.skill-items > span {
  min-height: 30px;
  padding: 4px 8px 4px 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #142043;
  background: var(--skill-soft);
  font-size: 10px;
  font-weight: 680;
  line-height: 1;
  transition: border-color 180ms ease, transform 180ms ease;
}

.skill-items > span:hover {
  border-color: var(--skill-accent);
  transform: translateY(-2px);
}

.skill-logo {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.skill-logo--round {
  border-radius: 3px;
}

.skill-logo--wordmark {
  width: 48px;
  height: 18px;
}

.skill-logo--deepspeed {
  width: 66px;
}

.skill-item--concept {
  padding-left: 9px !important;
  border-style: dashed !important;
}

html[data-theme="dark"] .skill-items > span {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

html[data-theme="dark"] .skill-items > span:has(.skill-logo) {
  color: #142043;
  background: rgba(250, 252, 255, 0.94);
}

.skill-ledger article::after {
  width: 0;
  height: 2px;
  align-self: end;
  grid-column: 2 / 4;
  background: var(--skill-accent);
  content: "";
  transition: width 300ms ease;
}

.skill-ledger article:hover::after {
  width: 100%;
}

.builds-section {
  background: #274a98;
  box-shadow: 0 0 0 100vmax #274a98;
  clip-path: inset(0 -100vmax);
}

html[data-theme="dark"] .builds-section {
  background: #111d3f;
  box-shadow: 0 0 0 100vmax #111d3f;
}

.small-projects {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.small-project {
  min-height: 190px;
  display: grid;
  grid-template-columns: 180px 1fr;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--surface);
  overflow: hidden;
}

html:not([data-theme="dark"]) .small-project:first-child {
  background: #1b51ac;
}

html:not([data-theme="dark"]) .small-project:last-child {
  background: #355cae;
}

.small-project-image {
  min-height: 190px;
  overflow: hidden;
  background: #e8ecff;
}

.small-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.2, 0.75, 0.3, 1);
}

.small-project:hover .small-project-image img {
  transform: scale(1.06);
}

.small-project-image--words {
  padding: 36px;
  background: #d9e9ff;
}

.small-project-image--words img {
  object-fit: contain;
}

.small-project > div {
  position: relative;
  padding: 27px 42px 24px 25px;
}

.small-project > div > p {
  color: var(--blue);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 8px;
}

.small-project h3 {
  margin-top: 11px;
  font-size: 18px;
  line-height: 1.3;
}

.small-project > div > span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.small-project > div > a {
  position: absolute;
  top: 25px;
  right: 21px;
  color: var(--blue);
}

.small-project > div > a svg {
  width: 17px;
  height: 17px;
}

.interests-section {
  padding-top: 72px;
  padding-bottom: 72px;
  background: #24478f;
  box-shadow: 0 0 0 100vmax #24478f;
  clip-path: inset(0 -100vmax);
}

html[data-theme="dark"] .interests-section {
  background: #111c3a;
  box-shadow: 0 0 0 100vmax #111c3a;
}

.interests-section .section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.interest-strip {
  max-width: 860px;
  margin: 38px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.interest-item {
  min-height: 94px;
  padding: 8px;
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--surface);
  transform-style: preserve-3d;
}

html:not([data-theme="dark"]) .interest-item {
  background: #2f56aa;
}

html:not([data-theme="dark"]) .interest-item:nth-child(even) {
  background: #2350a6;
}

.interest-item img {
  width: 78px;
  aspect-ratio: 1;
  border-radius: 3px;
  object-fit: cover;
}

.interest-item:nth-child(3) img {
  filter: hue-rotate(165deg) saturate(0.9);
}

.interest-item h3 {
  font-size: 14px;
}

.interest-item span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 7px;
}

.site-footer {
  width: min(calc(100% - 40px), var(--content-width));
  min-height: 178px;
  margin: 0 auto;
  padding: 42px 28px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 42px;
  color: #eef2eb;
  background: var(--blue-deep);
  box-shadow: 0 0 0 100vmax var(--blue-deep);
  clip-path: inset(0 -100vmax);
}

html[data-theme="dark"] .site-footer {
  background: #080d1b;
  box-shadow: 0 0 0 100vmax #080d1b;
}

.site-footer > div:first-child {
  display: flex;
  flex-direction: column;
}

.site-footer strong {
  font-size: 15px;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
}

html[data-theme="dark"] .site-footer span {
  color: #8e998f;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--lime);
  border-bottom: 1px solid currentColor;
  font-size: 10px;
  font-weight: 760;
}

.architecture-dialog {
  width: min(1180px, calc(100% - 36px));
  height: min(92vh, 900px);
  padding: 0;
  overflow: hidden;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--page);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.45);
}

.architecture-dialog::backdrop {
  background: rgba(4, 8, 6, 0.78);
  backdrop-filter: blur(7px);
}

.dialog-toolbar {
  min-height: 76px;
  padding: 14px 18px 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(18px) saturate(1.5);
}

html[data-theme="dark"] .dialog-toolbar {
  background: rgba(15, 22, 17, 0.78);
}

.dialog-toolbar p {
  color: var(--blue);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 8px;
  font-weight: 800;
}

.dialog-toolbar h2 {
  margin-top: 4px;
  font-size: 18px;
}

.architecture-dialog figure {
  height: calc(100% - 76px);
  padding: 18px;
  overflow: auto;
}

.architecture-dialog figure img {
  width: 100%;
  min-width: 920px;
  background: #ffffff;
}

.architecture-dialog figcaption {
  padding: 12px 0 4px;
  color: var(--muted);
  font-size: 10px;
}

@media (max-width: 1080px) {
  .site-header {
    gap: 24px;
  }

  .site-nav {
    gap: 17px;
  }

  .hero {
    gap: 55px;
  }

  .optimizer-project {
    grid-template-columns: 1fr;
  }

  .optimizer-copy {
    max-width: 760px;
  }

  .optimizer-visual {
    max-width: 900px;
  }

}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
    grid-template-columns: 1fr;
    gap: 68px;
  }

  .hero-signature {
    max-width: 650px;
  }

  .hero-education {
    max-width: 680px;
  }

  .experience-head {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .paper-stage {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .paper-panel {
    min-height: 0;
  }

  html[data-theme="dark"] .paper-panel {
    border-color: rgba(255, 255, 255, 0.24);
  }

  .system-projects {
    grid-template-columns: 1fr;
  }

  .small-projects {
    grid-template-columns: 1fr;
  }

  .interest-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body {
    font-size: 14px;
  }

  .site-header {
    width: calc(100% - 28px);
    min-height: 62px;
    gap: 12px;
  }

  .brand-name {
    display: none;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .header-tools {
    gap: 4px;
  }

  .language-switch,
  .glass-control {
    height: 34px;
  }

  .glass-control {
    width: 34px;
  }

  .language-option {
    width: 29px;
    height: 26px;
    font-size: 10px;
  }

  .hero {
    width: calc(100% - 28px);
    padding: 46px 6px 34px;
    gap: 42px;
  }

  .hero-kicker {
    margin-bottom: 13px;
    font-size: 9px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero h1 small {
    margin-top: 6px;
    font-size: 14px;
  }

  .hero-links {
    margin-top: 24px;
    gap: 11px 18px;
  }

  .hero-links a:first-child {
    flex-basis: 100%;
  }

  .hero-honors {
    margin-top: 29px;
  }

  .hero-honors-heading {
    min-height: 37px;
    padding: 8px 0 7px;
  }

  .hero-honors-heading h2 {
    font-size: 13px;
  }

  .hero-honor-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    border-top: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .hero-honor-list li,
  .hero-honor-list li:not(.hero-honor-wide):nth-child(odd) {
    flex: 0 0 min(290px, 78vw);
    min-height: 78px;
    padding: 11px 12px;
    grid-template-columns: 24px minmax(0, 1fr);
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.3);
    scroll-snap-align: start;
  }

  html[data-theme="dark"] .hero-honor-list li,
  html[data-theme="dark"] .hero-honor-list li:not(.hero-honor-wide):nth-child(odd) {
    background: rgba(255, 255, 255, 0.04);
  }

  .hero-honor-list li::before {
    inset: 0;
  }

  .hero-education {
    border-top-width: 3px;
  }

  .education-heading {
    padding: 15px 0;
  }

  .education-heading h2 {
    font-size: 20px;
  }

  .degree-list::before {
    left: 93px;
  }

  .degree-item {
    min-height: 112px;
    padding: 19px 0;
    grid-template-columns: 93px 1fr;
  }

  .degree-item > div {
    padding-left: 21px;
  }

  .degree-item h3 {
    font-size: 18px;
  }

  .degree-item time {
    font-size: 8px;
  }

  .hero-accent--blue {
    top: 20px;
    width: 64px;
    height: 8px;
  }

  .hero-accent--aqua {
    right: 14px;
    bottom: 16px;
    width: 72px;
    height: 5px;
  }

  .experience-section,
  .work-section,
  .skills-section,
  .builds-section,
  .interests-section {
    width: calc(100% - 28px);
    padding: 68px 6px;
  }

  .section-heading h2,
  .experience-head h2,
  .work-heading h2 {
    font-size: 29px;
  }

  .experience-head {
    padding-bottom: 30px;
  }

  .experience-company {
    grid-template-columns: 1fr;
  }

  .experience-company time {
    grid-column: 1;
    grid-row: auto;
    margin-top: 8px;
  }

  .experience-company h3 {
    font-size: 21px;
  }

  .optimizer-project {
    padding-top: 42px;
    gap: 38px;
  }

  .optimizer-copy h3 {
    font-size: 24px;
  }

  .optimizer-summary {
    font-size: 13px;
  }

  .optimizer-impact strong {
    font-size: 21px;
  }

  .optimizer-visual {
    padding: 10px;
  }

  .map-scroll {
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .map-canvas {
    min-width: 720px;
  }

  .flow-caption {
    min-height: 70px;
  }

  .work-heading {
    padding-bottom: 32px;
  }

  .research-subsection,
  .systems-subsection {
    padding-top: 45px;
  }

  .systems-subsection {
    margin-top: 54px;
  }

  .subsection-heading {
    grid-template-columns: 32px 1fr;
    align-items: start;
    gap: 8px;
  }

  .subsection-heading h3 {
    font-size: 23px;
  }

  .subsection-heading p {
    grid-column: 2;
    justify-self: start;
    text-align: left;
    font-size: 7px;
  }

  .paper-stage {
    margin-top: 24px;
  }

  .paper-panel {
    padding: 23px 20px;
  }

  .paper-panel h4 {
    font-size: 27px;
  }

  .paper-lead {
    min-height: 90px;
  }

  .paper-detail > div {
    grid-template-columns: 42px 1fr;
  }

  .system-project {
    min-height: 0;
    padding: 24px 20px;
  }

  .system-focus {
    grid-template-columns: 1fr;
  }

  .system-focus > span {
    min-height: 42px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .system-focus > span:last-child {
    border-bottom: 0;
  }

  .system-project h4 {
    font-size: 23px;
  }

  .system-project dl > div {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .system-link {
    right: 20px;
  }

  .skill-ledger {
    margin-top: 32px;
  }

  .skill-ledger article {
    min-height: 0;
    padding: 16px 0;
    grid-template-columns: 34px 1fr;
    align-content: center;
  }

  .skill-items {
    grid-column: 2;
    margin-top: 9px;
  }

  .skill-items > span {
    min-height: 28px;
    font-size: 9px;
  }

  .skill-ledger article::after {
    grid-column: 2;
  }

  .small-projects {
    margin-top: 32px;
  }

  .small-project {
    min-height: 170px;
    grid-template-columns: 115px 1fr;
  }

  .small-project-image {
    min-height: 170px;
  }

  .small-project-image--words {
    padding: 20px;
  }

  .small-project > div {
    padding: 20px 35px 18px 17px;
  }

  .small-project h3 {
    font-size: 15px;
  }

  .small-project > div > span {
    font-size: 10px;
  }

  .small-project > div > a {
    top: 19px;
    right: 14px;
  }

  .interests-section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .interest-strip {
    margin-top: 28px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .interest-item {
    min-height: 76px;
    padding: 6px;
    grid-template-columns: 60px 1fr;
    gap: 8px;
  }

  .interest-item img {
    width: 60px;
  }

  .interest-item h3 {
    font-size: 12px;
  }

  .interest-item span {
    font-size: 6px;
  }

  .site-footer {
    width: calc(100% - 28px);
    min-height: 210px;
    padding: 34px 6px;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .architecture-dialog {
    width: calc(100% - 12px);
    height: 94vh;
  }

  .dialog-toolbar {
    padding-left: 14px;
  }

  .dialog-toolbar h2 {
    font-size: 14px;
  }

  .architecture-dialog figure {
    padding: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
