:root {
  color-scheme: light;
  --paper: #f5f7fa;
  --surface: #ffffff;
  --surface-raised: #e9edf2;
  --ink: #111315;
  --muted: #59616a;
  --line: #cbd2da;
  --header-bg: rgba(245, 247, 250, 0.9);
  --dark: #101214;
  --dark-raised: #191d20;
  --dark-line: #34393e;
  --light: #f8fafc;
  --yellow: #ffd33d;
  --cyan: #17bebb;
  --coral: #ef476f;
  --blue: #2457ff;
  --green: #54d681;
  --lime: #b7f34b;
  --header-height: 72px;
  --shell: 1440px;
  --page-gutter: 48px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0d0f10;
  --surface: #15181a;
  --surface-raised: #202427;
  --ink: #f4f6f8;
  --muted: #aab2ba;
  --line: #343a40;
  --header-bg: rgba(13, 15, 16, 0.9);
  --dark: #070809;
  --dark-raised: #141719;
  --dark-line: #30363b;
  --light: #f8fafc;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg,
canvas {
  display: block;
}

::selection {
  background: var(--yellow);
  color: #111315;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 4px;
  background: var(--ink);
  color: var(--paper);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--page-gutter);
  border-bottom: 1px solid transparent;
  background: transparent;
  transition:
    background-color 220ms ease,
    border-color 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  border-color: var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand-mark {
  justify-self: start;
  font-family: "Arial Black", "Segoe UI", sans-serif;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.brand-q,
.brand-dot {
  color: var(--coral);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 9px 0;
}

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

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

.header-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  display: grid;
  grid-template-columns: 36px 44px;
  height: 34px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
}

.language-option {
  min-width: 0;
  padding: 0 6px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.language-option.is-active {
  background: var(--ink);
  color: var(--paper);
}

.icon-button {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.icon-button:hover {
  transform: translateY(-2px);
  background: var(--ink);
  color: var(--paper);
}

.icon-button svg {
  width: 18px;
  height: 18px;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 650px;
  height: 86svh;
  max-height: 900px;
  overflow: hidden;
  isolation: isolate;
  background: var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 29%;
  width: 1px;
  background: var(--line);
  opacity: 0.55;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  right: 22%;
  width: 1px;
  background: var(--line);
  opacity: 0.55;
}

.hero-canvas {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.hero-kicker {
  position: absolute;
  z-index: 4;
  top: 16%;
  left: max(var(--page-gutter), calc((100% - var(--shell)) / 2 + var(--page-gutter)));
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.signal-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(84, 214, 129, 0.16);
}

.hero-title {
  position: absolute;
  z-index: 4;
  top: 21%;
  left: max(var(--page-gutter), calc((100% - var(--shell)) / 2 + var(--page-gutter)));
  margin: 0;
  color: var(--ink);
  font-family: "Arial Black", "Segoe UI", sans-serif;
  font-size: 138px;
  font-weight: 950;
  line-height: 0.88;
}

.title-accent {
  position: relative;
  color: var(--blue);
}

.title-accent::after {
  content: "";
  position: absolute;
  right: 5%;
  bottom: -10px;
  left: 5%;
  height: 9px;
  background: var(--yellow);
}

.title-stop {
  color: var(--coral);
}

.hero-portrait {
  position: absolute;
  z-index: 2;
  top: 11%;
  right: max(9%, calc((100% - var(--shell)) / 2 + 110px));
  width: min(31vw, 430px);
  margin: 0;
}

.hero-portrait img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 2px;
  background: var(--surface);
  object-fit: cover;
}

.portrait-block {
  position: absolute;
  z-index: 1;
  display: block;
}

.portrait-block-one {
  top: -17px;
  right: -17px;
  width: 42%;
  height: 44%;
  background: var(--cyan);
}

.portrait-block-two {
  bottom: 25px;
  left: -22px;
  width: 35%;
  height: 29%;
  background: var(--yellow);
}

.hero-portrait figcaption {
  position: absolute;
  z-index: 3;
  right: -2px;
  bottom: -2px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--paper);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 11px;
  font-weight: 700;
}

.hero-intro {
  position: absolute;
  z-index: 5;
  bottom: 79px;
  left: max(var(--page-gutter), calc((100% - var(--shell)) / 2 + var(--page-gutter)));
  width: min(520px, 41vw);
}

.hero-role {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
}

.hero-summary {
  max-width: 510px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  transition:
    transform 180ms var(--ease),
    box-shadow 180ms var(--ease),
    background-color 180ms ease,
    color 180ms ease;
}

.button svg {
  width: 17px;
  height: 17px;
}

.button:hover {
  transform: translate(-3px, -3px);
  box-shadow: 4px 4px 0 var(--ink);
}

.button-primary {
  background: var(--ink);
  color: var(--paper);
}

.button-primary:hover {
  box-shadow: 4px 4px 0 var(--coral);
}

.button-secondary {
  background: var(--surface);
  color: var(--ink);
}

.hero-stats {
  position: absolute;
  z-index: 5;
  right: max(var(--page-gutter), calc((100% - var(--shell)) / 2 + var(--page-gutter)));
  bottom: 82px;
  display: flex;
  gap: 44px;
  margin: 0;
}

.hero-stats div {
  min-width: 100px;
}

.hero-stats dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.hero-stats dd {
  margin: 1px 0 0;
  font-family: "Arial Black", "Segoe UI", sans-serif;
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
}

.section-peek {
  position: absolute;
  z-index: 6;
  right: 0;
  bottom: 0;
  left: 0;
  height: 48px;
  display: grid;
  grid-template-columns: 48px 1fr 24px;
  align-items: center;
  gap: 14px;
  padding: 0 var(--page-gutter);
  background: var(--yellow);
  color: #111315;
  font-size: 11px;
  font-weight: 900;
}

.section-peek svg {
  width: 16px;
  height: 16px;
}

.section-shell {
  width: min(100%, var(--shell));
  margin: 0 auto;
  padding-right: var(--page-gutter);
  padding-left: var(--page-gutter);
}

.section-dark {
  background: var(--dark);
  color: var(--light);
}

.contributions,
.focus-section {
  padding: 118px 0 126px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 74px;
}

.section-kicker {
  margin: 0 0 20px;
  color: var(--coral);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 12px;
  font-weight: 800;
}

.section-heading h2,
.about-grid h2 {
  margin: 0;
  font-family: "Arial Black", "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 68px;
  font-weight: 950;
  line-height: 1.12;
}

.section-lead {
  max-width: 510px;
  margin: 0 0 5px;
  color: #aeb5bc;
  font-size: 17px;
  line-height: 1.8;
}

.contribution-list {
  border-bottom: 1px solid var(--dark-line);
}

.contribution-item {
  --item-accent: var(--yellow);
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(210px, 0.72fr) minmax(340px, 1.4fr) 136px;
  align-items: center;
  gap: 26px;
  min-height: 154px;
  padding: 28px 18px 28px 0;
  border-top: 1px solid var(--dark-line);
  transition:
    background-color 220ms ease,
    box-shadow 220ms ease,
    padding-left 220ms var(--ease);
}

.contribution-item[data-color="cyan"] {
  --item-accent: var(--cyan);
}

.contribution-item[data-color="coral"] {
  --item-accent: var(--coral);
}

.contribution-item[data-color="blue"] {
  --item-accent: var(--blue);
}

.contribution-item[data-color="green"] {
  --item-accent: var(--green);
}

.contribution-item[data-color="lime"] {
  --item-accent: var(--lime);
}

.contribution-item:hover,
.contribution-item:focus-within {
  padding-left: 14px;
  background: var(--dark-raised);
  box-shadow: inset 5px 0 0 var(--item-accent);
}

.contribution-index {
  align-self: start;
  padding-top: 3px;
  color: var(--item-accent);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 12px;
  font-weight: 800;
}

.project-name span {
  display: block;
  margin-bottom: 3px;
  color: #808890;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 11px;
}

.project-name h3 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 24px;
  line-height: 1.2;
}

.contribution-detail p {
  max-width: 620px;
  margin: 0 0 14px;
  color: #d0d5da;
  font-size: 14px;
  line-height: 1.7;
}

.project-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  color: #8e979f;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 11px;
}

.project-facts > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.project-facts .merged-status {
  color: var(--green);
}

.pr-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid #4b535a;
  border-radius: 4px;
  color: var(--light);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 12px;
  font-weight: 800;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.pr-link:hover {
  border-color: var(--item-accent);
  background: var(--item-accent);
  color: #101214;
}

.pr-link svg {
  width: 16px;
  height: 16px;
}

.focus-section {
  background: var(--paper);
}

.focus-heading .section-lead {
  color: var(--muted);
}

.focus-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 80px;
}

.vision-lab {
  width: 100%;
  max-width: 540px;
  margin: 0;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  box-shadow: 12px 12px 0 var(--cyan);
}

.vision-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: #d8dde2;
}

.vision-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scan-line {
  position: absolute;
  z-index: 4;
  top: -2px;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: scan 4.2s ease-in-out infinite;
}

@keyframes scan {
  0%,
  100% {
    transform: translateY(8px);
  }

  50% {
    transform: translateY(500px);
  }
}

.detection-box {
  position: absolute;
  z-index: 3;
  border: 2px solid var(--yellow);
  color: #111315;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 10px;
  font-style: normal;
}

.detection-box b,
.detection-box em {
  position: absolute;
  top: -21px;
  padding: 2px 5px;
  background: var(--yellow);
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.detection-box b {
  left: -2px;
}

.detection-box em {
  right: -2px;
}

.box-face {
  top: 17%;
  left: 27%;
  width: 49%;
  height: 47%;
}

.box-hair {
  top: 7%;
  left: 16%;
  width: 70%;
  height: 72%;
  border-color: var(--cyan);
}

.box-hair b,
.box-hair em {
  top: auto;
  bottom: -21px;
  background: var(--cyan);
}

.crosshair {
  position: absolute;
  z-index: 4;
  width: 18px;
  height: 18px;
}

.crosshair::before,
.crosshair::after {
  content: "";
  position: absolute;
  background: var(--coral);
}

.crosshair::before {
  top: 8px;
  left: 0;
  width: 18px;
  height: 2px;
}

.crosshair::after {
  top: 0;
  left: 8px;
  width: 2px;
  height: 18px;
}

.crosshair-one {
  top: 31%;
  left: 42%;
}

.crosshair-two {
  top: 48%;
  left: 64%;
}

.vision-lab figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 42px;
  padding: 8px 12px;
  color: var(--light);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 10px;
  font-weight: 700;
}

.vision-lab figcaption span:last-child {
  color: var(--green);
}

.focus-list {
  border-top: 1px solid var(--line);
}

.focus-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 30px;
  align-items: start;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.focus-number {
  padding-top: 4px;
  color: var(--coral);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 11px;
  font-weight: 800;
}

.focus-item h3 {
  margin: 0 0 8px;
  font-size: 23px;
  line-height: 1.3;
}

.focus-item p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.focus-item > svg {
  width: 24px;
  height: 24px;
  margin-top: 4px;
  color: var(--blue);
}

.about-section {
  position: relative;
  overflow: hidden;
  padding: 106px 0 116px;
  background: var(--blue);
  color: #ffffff;
}

.about-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 9%;
  width: 74px;
  height: 74px;
  background: var(--yellow);
}

.about-section .section-kicker {
  color: var(--yellow);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: start;
  gap: 100px;
}

.about-grid h2 {
  font-size: 76px;
}

.about-copy > p {
  margin: 7px 0 27px;
  font-size: 18px;
  line-height: 1.9;
}

.about-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 22px;
  margin-bottom: 32px;
  font-size: 13px;
  font-weight: 700;
}

.about-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.about-meta svg {
  width: 17px;
  height: 17px;
  color: var(--yellow);
}

.button-light {
  border-color: #ffffff;
  background: #ffffff;
  color: #111315;
}

.button-light:hover {
  box-shadow: 4px 4px 0 var(--yellow);
}

.site-footer {
  min-height: 112px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 24px var(--page-gutter);
  background: var(--dark);
  color: var(--light);
}

.footer-brand {
  font-size: 22px;
}

.site-footer p {
  margin: 0;
  color: #9ea6ad;
  font-size: 11px;
  text-align: center;
}

.back-to-top {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
}

.back-to-top svg {
  width: 15px;
  height: 15px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1700px) {
  .hero-title {
    font-size: 164px;
  }

  .hero-portrait {
    width: 450px;
  }
}

@media (max-width: 1180px) {
  :root {
    --page-gutter: 32px;
  }

  .hero-title {
    font-size: 108px;
  }

  .hero-portrait {
    right: 10%;
    width: min(34vw, 380px);
  }

  .hero-stats {
    gap: 25px;
  }

  .hero-stats dd {
    font-size: 42px;
  }

  .contribution-item {
    grid-template-columns: 42px minmax(180px, 0.65fr) minmax(300px, 1.35fr) 124px;
    gap: 18px;
  }

  .focus-layout {
    gap: 54px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 64px;
    --page-gutter: 24px;
  }

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

  .menu-toggle {
    display: inline-grid;
    grid-column: 3;
  }

  .header-tools {
    grid-column: 2;
    grid-row: 1;
  }

  .site-nav {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 12px var(--page-gutter) 22px;
    transform: translateY(-12px);
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 220ms var(--ease),
      opacity 180ms ease,
      visibility 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  .hero {
    min-height: 620px;
    height: 82svh;
  }

  .hero-kicker {
    top: 13%;
  }

  .hero-title {
    top: 19%;
    font-size: 84px;
  }

  .hero-portrait {
    top: 15%;
    right: 8%;
    width: min(37vw, 300px);
  }

  .hero-intro {
    width: 48%;
  }

  .hero-summary {
    font-size: 16px;
  }

  .hero-stats {
    gap: 16px;
  }

  .hero-stats div {
    min-width: 76px;
  }

  .hero-stats dd {
    font-size: 36px;
  }

  .section-heading h2,
  .about-grid h2 {
    font-size: 54px;
  }

  .contribution-item {
    grid-template-columns: 36px minmax(170px, 0.6fr) minmax(280px, 1.4fr);
    padding-right: 0;
  }

  .pr-link {
    grid-column: 3;
    width: 126px;
    margin-top: -12px;
  }

  .focus-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 38px;
  }

  .about-grid {
    gap: 55px;
  }
}

@media (max-width: 700px) {
  :root {
    --page-gutter: 20px;
  }

  .site-header {
    padding-right: var(--page-gutter);
    padding-left: var(--page-gutter);
  }

  .brand-mark {
    font-size: 21px;
  }

  .hero {
    min-height: 600px;
    height: calc(100svh - 38px);
    max-height: 710px;
  }

  .hero::before {
    left: 50%;
  }

  .hero::after {
    display: none;
  }

  .hero-kicker {
    top: 78px;
    left: var(--page-gutter);
    font-size: 10px;
  }

  .hero-title {
    top: 116px;
    left: var(--page-gutter);
    font-size: 62px;
  }

  .title-accent::after {
    bottom: -5px;
    height: 5px;
  }

  .hero-portrait {
    top: 187px;
    right: -18px;
    width: 222px;
  }

  .portrait-block-one {
    top: -10px;
    right: 10px;
  }

  .portrait-block-two {
    bottom: 12px;
    left: -12px;
  }

  .hero-portrait figcaption {
    display: none;
  }

  .hero-stats {
    top: 321px;
    right: auto;
    bottom: auto;
    left: var(--page-gutter);
    display: grid;
    gap: 5px;
  }

  .hero-stats div {
    width: 138px;
    min-width: 0;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--line);
  }

  .hero-stats dt {
    font-size: 9px;
  }

  .hero-stats dd {
    font-size: 25px;
  }

  .hero-intro {
    top: 420px;
    bottom: auto;
    left: var(--page-gutter);
    width: calc(100% - var(--page-gutter) * 2);
  }

  .hero-role {
    margin-bottom: 4px;
    font-size: 12px;
  }

  .hero-summary {
    max-width: 360px;
    font-size: 14px;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 13px;
  }

  .button {
    min-height: 40px;
    padding: 8px 13px;
    font-size: 12px;
  }

  .section-peek {
    height: 42px;
    grid-template-columns: 28px 1fr 18px;
    padding: 0 var(--page-gutter);
  }

  .contributions,
  .focus-section {
    padding: 82px 0 88px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-bottom: 48px;
  }

  .section-heading h2,
  .about-grid h2 {
    font-size: 42px;
  }

  .section-lead {
    font-size: 15px;
  }

  .contribution-item {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 8px 14px;
    min-height: 0;
    padding: 26px 0;
  }

  .contribution-item:hover,
  .contribution-item:focus-within {
    padding-left: 8px;
  }

  .contribution-index {
    grid-row: 1 / span 2;
  }

  .project-name {
    grid-column: 2;
  }

  .project-name h3 {
    font-size: 20px;
  }

  .contribution-detail {
    grid-column: 2 / -1;
  }

  .contribution-detail p {
    margin-bottom: 11px;
    font-size: 13px;
  }

  .project-facts {
    gap: 8px 14px;
  }

  .pr-link {
    grid-column: 3;
    grid-row: 1;
    width: 102px;
    min-height: 38px;
    margin: 0;
    padding: 8px 9px;
    font-size: 10px;
  }

  .focus-layout {
    grid-template-columns: 1fr;
    gap: 62px;
  }

  .vision-lab {
    width: calc(100% - 12px);
    max-width: 480px;
  }

  .focus-item {
    grid-template-columns: 28px minmax(0, 1fr) 24px;
    gap: 14px;
    padding: 23px 0;
  }

  .focus-item h3 {
    font-size: 20px;
  }

  .about-section {
    padding: 78px 0 84px;
  }

  .about-section::after {
    right: 0;
    width: 44px;
    height: 44px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-copy > p {
    margin-top: 0;
    font-size: 16px;
    line-height: 1.8;
  }

  .about-meta {
    display: grid;
  }

  .site-footer {
    min-height: 150px;
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding: 30px var(--page-gutter);
  }

  .site-footer p {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
  }
}

@media (max-width: 410px) {
  .language-switch {
    grid-template-columns: 31px 38px;
  }

  .hero-title {
    font-size: 56px;
  }

  .hero-portrait {
    right: -26px;
    width: 210px;
  }

  .contribution-item {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .contribution-detail {
    grid-column: 2;
  }

  .pr-link {
    grid-column: 2;
    grid-row: auto;
    width: 112px;
    margin-top: 5px;
  }
}

@media (max-width: 700px) and (max-height: 640px) {
  .hero {
    min-height: 530px;
    height: calc(100svh - 24px);
  }

  .hero-kicker {
    top: 68px;
  }

  .hero-title {
    top: 98px;
    font-size: 52px;
  }

  .hero-portrait {
    top: 153px;
    width: 185px;
  }

  .hero-stats {
    top: 270px;
  }

  .hero-intro {
    top: 354px;
  }

  .hero-summary {
    max-width: 325px;
    font-size: 12px;
  }

  .hero-actions {
    margin-top: 9px;
  }
}

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

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