:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-strong: #edf1f6;
  --ink: #121317;
  --ink-soft: #555b66;
  --ink-faint: #858b95;
  --line: #e3e7ed;
  --line-soft: #edf0f4;
  --accent: #1557b0;
  --accent-soft: #eaf2ff;
  --success: #18794e;
  --success-soft: #e8f5ed;
  --gold: #966611;
  --gold-soft: #fff6df;
  --nav-height: 58px;
  --wrap: 1120px;
  --font: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --shadow: 0 22px 48px -30px rgba(20, 34, 56, 0.3);
}

[data-theme="dark"] {
  --bg: #101216;
  --bg-soft: #16191f;
  --bg-strong: #20242c;
  --ink: #f2f4f7;
  --ink-soft: #bac0ca;
  --ink-faint: #818896;
  --line: #2b3039;
  --line-soft: #232831;
  --accent: #84b3ff;
  --accent-soft: #182942;
  --success: #73d9a8;
  --success-soft: #153428;
  --gold: #e6bd6a;
  --gold-soft: #302716;
  --shadow: 0 26px 60px -34px rgba(0, 0, 0, 0.75);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 18px);
  overflow-x: clip;
}

body {
  min-width: 320px;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: background-color 180ms ease, color 180ms ease;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: var(--accent-soft);
  color: var(--accent);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

button,
summary {
  font: inherit;
}

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

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

img,
svg {
  display: block;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  transform: translateY(-150%);
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--bg);
}

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

.wrap {
  width: min(100% - 56px, var(--wrap));
  margin-inline: auto;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-height);
  isolation: isolate;
}

.nav-blur {
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: calc(var(--nav-height) + 52px);
  overflow: hidden;
  pointer-events: none;
}

.nav-blur-layer {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
}

.nav-blur-layer--1 {
  --blur: 5px;
  mask-image: linear-gradient(to bottom, #000 0 44%, transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0 44%, transparent 78%);
}

.nav-blur-layer--2 {
  --blur: 11px;
  mask-image: linear-gradient(to bottom, #000 0 24%, transparent 60%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0 24%, transparent 60%);
}

.nav-blur-layer--3 {
  --blur: 20px;
  mask-image: linear-gradient(to bottom, #000 0 10%, transparent 42%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0 10%, transparent 42%);
}

.nav-blur-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--bg) 93%, transparent), color-mix(in srgb, var(--bg) 52%, transparent) 42%, transparent 82%);
}

.nav-inner {
  width: min(100% - 56px, var(--wrap));
  height: var(--nav-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.nav-brand small {
  color: var(--ink-faint);
  font-size: 11px;
  font-weight: 400;
}

.nav-brand:hover {
  opacity: 0.68;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 23px;
}

.nav-links > a {
  position: relative;
  padding: 7px 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1;
}

.nav-links > a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links > a:hover,
.nav-links > a.is-active {
  color: var(--ink);
  text-decoration: none;
}

.nav-links > a:hover::after,
.nav-links > a.is-active::after {
  transform: scaleX(1);
}

.theme-toggle {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  color: var(--ink-soft);
  cursor: pointer;
}

.theme-toggle:hover {
  border-color: var(--ink-faint);
  color: var(--ink);
}

.theme-icon {
  grid-area: 1 / 1;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.theme-icon--moon {
  fill: currentColor;
  stroke: none;
}

[data-theme="light"] .theme-icon--sun,
[data-theme="dark"] .theme-icon--moon {
  display: none;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms ease, top 180ms ease, opacity 160ms ease;
}

.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }

.site-nav.is-open .nav-toggle span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.site-nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-nav.is-open .nav-toggle span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

.intro {
  position: relative;
  padding: calc(var(--nav-height) + 58px) 0 72px;
  overflow: hidden;
}

.intro-haze {
  position: absolute;
  top: 0;
  left: 0;
  width: min(68%, 980px);
  height: 88svh;
  min-height: 650px;
  overflow: hidden;
  pointer-events: none;
}

.intro-haze img {
  width: auto;
  max-width: none;
  height: 100%;
  opacity: 0.17;
  filter: blur(16px) saturate(0.35) contrast(0.85);
  transform: scale(1.12) translateX(-7%);
  mask-image: linear-gradient(to right, #000 20%, transparent 86%);
  -webkit-mask-image: linear-gradient(to right, #000 20%, transparent 86%);
}

.intro-haze::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 15%, color-mix(in srgb, var(--bg) 78%, transparent) 78%, var(--bg) 100%), linear-gradient(to bottom, color-mix(in srgb, var(--bg) 20%, transparent), transparent 42%, var(--bg) 98%);
}

.intro-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 33%);
  gap: 56px;
  align-items: start;
}

.intro h1 {
  margin-top: 28px;
  font-size: clamp(43px, 6vw, 68px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.intro h1 span {
  margin-left: 8px;
  color: var(--ink-faint);
  font-size: 0.42em;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.role-list {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
}

.role {
  min-width: 190px;
  padding: 0 17px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-left: 1px solid var(--line);
}

.role:first-child {
  padding-left: 0;
  border-left: 0;
}

.role small {
  color: var(--ink-faint);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.09em;
  line-height: 1.3;
  text-transform: uppercase;
}

.role strong,
.role a {
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.3;
}

.role a:hover {
  color: var(--accent);
  text-decoration: none;
}

.intro-lead {
  max-width: 720px;
  margin-top: 42px;
  font-size: clamp(24px, 3.1vw, 36px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.intro-lead em {
  font-style: normal;
  font-weight: 500;
}

.intro-bio {
  max-width: 730px;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 14px;
}

.intro-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.intro-actions a {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
}

.intro-actions a:hover {
  color: var(--ink);
}

.intro-actions .action-primary {
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow);
}

.intro-actions .action-primary:hover {
  opacity: 0.84;
  color: var(--bg);
  text-decoration: none;
}

.method-note {
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 12.5px;
}

.method-note summary {
  width: fit-content;
  color: var(--ink-faint);
  cursor: pointer;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.09em;
  list-style: none;
  text-transform: uppercase;
}

.method-note summary::before {
  content: "+ ";
  color: var(--accent);
}

.method-note[open] summary::before {
  content: "− ";
}

.method-note p {
  margin-top: 8px;
}

.method-note code {
  font-family: var(--mono);
  color: var(--ink);
}

.intro-side {
  padding-top: 26px;
}

.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, white 28%, transparent);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 550ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

.portrait-frame:hover img {
  transform: scale(1.025);
}

.portrait-meta {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 10.5px;
}

.block {
  padding: 58px 0;
}

.block.soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section-head {
  margin-bottom: 26px;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 43px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.section-head p {
  margin-top: 6px;
  color: var(--ink-faint);
  font-size: 13px;
}

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

.news-list li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}

.news-list time {
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 10.5px;
}

.news-list p {
  color: var(--ink-soft);
  font-size: 13.5px;
}

.news-list strong {
  color: var(--ink);
  font-weight: 600;
}

.impact-summary {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg);
  box-shadow: var(--shadow);
}

.impact-summary > div > span {
  color: var(--success);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.impact-summary h3 {
  margin-top: 3px;
  font-size: clamp(23px, 3vw, 31px);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.impact-summary h3 a {
  color: var(--ink);
}

.impact-summary p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 13.5px;
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.impact-stats div {
  padding: 13px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.impact-stats dt {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.impact-stats dd {
  margin-top: 1px;
  color: var(--ink-faint);
  font-size: 11px;
}

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

.contribution {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 170px;
  gap: 24px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.contribution-index {
  padding-top: 3px;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 10px;
}

.contribution h3 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.contribution > div:nth-child(2) > p:not(.contribution-links) {
  max-width: 720px;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 13.5px;
}

.contribution-links {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contribution-links a,
.project-links a,
.section-actions a {
  position: relative;
  font-size: 12.5px;
  font-weight: 500;
}

.contribution-links a::after,
.project-links a::after,
.section-actions a::after {
  content: " ↗";
  font-size: 0.85em;
}

.contribution-meta {
  padding-top: 3px;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.75;
  text-align: right;
}

.section-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

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

.project {
  display: grid;
  grid-template-columns: minmax(220px, 31%) minmax(0, 1fr);
  gap: 34px;
  padding: 29px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.project-visual {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  isolation: isolate;
}

.project-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.18;
  background-image: linear-gradient(rgba(255, 255, 255, 0.42) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.42) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom right, #000, transparent 78%);
}

.project-visual--blue { background: #174d97; }
.project-visual--cyan { background: #176677; }
.project-visual--amber { background: #8a5a0a; }
.project-visual--green { background: #276143; }

.project-code {
  font-family: var(--mono);
  font-size: 31px;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.project-visual small {
  position: relative;
  z-index: 2;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.02em;
  opacity: 0.86;
}

.project-trace {
  position: absolute;
  top: 57px;
  right: 24px;
  width: 46%;
  height: 54px;
  border-top: 1px solid rgba(255, 255, 255, 0.58);
  border-right: 1px solid rgba(255, 255, 255, 0.58);
  transform: skewX(-28deg);
}

.project-trace::before,
.project-trace::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
}

.project-trace::before { top: -4px; left: -4px; }
.project-trace::after { right: -4px; bottom: -4px; }

.project-nodes {
  position: absolute;
  top: 50px;
  right: 27px;
  width: 92px;
  height: 68px;
}

.project-nodes::before,
.project-nodes::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.55);
}

.project-nodes::before { top: 33px; left: 8px; width: 74px; height: 1px; }
.project-nodes::after { top: 7px; left: 45px; width: 1px; height: 54px; }

.project-nodes i {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: #176677;
  transform: rotate(45deg);
}

.project-nodes i:nth-child(1) { top: 2px; left: 40px; }
.project-nodes i:nth-child(2) { top: 28px; left: 3px; }
.project-nodes i:nth-child(3) { top: 28px; right: 3px; }
.project-nodes i:nth-child(4) { bottom: 2px; left: 40px; }

.project-wave {
  position: absolute;
  top: 72px;
  right: 20px;
  width: 52%;
  height: 42px;
  border-top: 2px solid rgba(255, 255, 255, 0.76);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.project-wave::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 10%;
  width: 84%;
  height: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
}

.project-boxes {
  position: absolute;
  top: 54px;
  right: 28px;
  display: flex;
  align-items: end;
  gap: 7px;
}

.project-boxes i {
  width: 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 3px 3px 0 0;
}

.project-boxes i:nth-child(1) { height: 34px; }
.project-boxes i:nth-child(2) { height: 54px; }
.project-boxes i:nth-child(3) { height: 43px; }

.project-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.project-heading h3 {
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.project-heading span {
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 10px;
  text-align: right;
}

.project-body > p:not(.project-links) {
  margin-top: 9px;
  color: var(--ink-soft);
  font-size: 13.5px;
}

.tag-list {
  margin-top: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.tag-list li {
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9.5px;
}

.project-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 54px;
}

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

.timeline article {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}

.timeline article.timeline-entry--featured {
  padding-top: 23px;
  padding-bottom: 23px;
}

.timeline-label {
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 10px;
}

.timeline h3,
.principles h3,
.toolkit h3 {
  font-size: 16px;
  font-weight: 500;
}

.timeline p {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 13px;
}

.timeline-org {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.timeline-org > span:last-child {
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.4;
  text-transform: uppercase;
}

.company-logo {
  width: 112px;
  height: 35px;
  padding: 5px 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff;
}

.company-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.experience-signals {
  margin-top: 11px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.experience-signals li {
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 9px;
}

.experience-signals strong {
  color: var(--ink);
  font-weight: 500;
}

.principles {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-soft);
}

.principles dl {
  margin-top: 12px;
}

.principles dl div {
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.principles dt {
  font-size: 13px;
  font-weight: 500;
}

.principles dd {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 12.5px;
}

.toolkit {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.toolkit-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 34px;
}

.toolkit-grid p {
  color: var(--ink-soft);
  font-size: 12.5px;
}

.toolkit-grid span {
  display: inline-block;
  min-width: 112px;
  margin-right: 8px;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 9.5px;
  text-transform: uppercase;
}

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

.honor-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 170px;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.honor-item--primary {
  position: relative;
  padding-right: 16px;
  padding-left: 16px;
  background: linear-gradient(90deg, var(--gold-soft), transparent 72%);
  box-shadow: inset 3px 0 0 var(--gold);
}

.honor-index {
  padding-top: 3px;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 10px;
}

.honor-item--primary .honor-index {
  color: var(--gold);
}

.honor-item h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.honor-item > div p {
  max-width: 760px;
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 13px;
}

.honor-meta {
  padding-top: 2px;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.7;
  text-align: right;
  text-transform: uppercase;
}

.honor-item--primary .honor-meta {
  color: var(--gold);
}

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

.notes-list a {
  display: grid;
  grid-template-columns: 130px 1fr 85px;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  align-items: baseline;
}

.notes-list a:hover {
  color: var(--accent);
  text-decoration: none;
}

.notes-list span,
.notes-list time {
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 10px;
}

.notes-list time {
  text-align: right;
}

.notes-list strong {
  font-size: 14px;
  font-weight: 500;
}

.site-footer {
  padding: 42px 0 30px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.footer-name {
  font-size: 16px;
  font-weight: 500;
}

.footer-name span {
  margin-left: 5px;
  color: var(--ink-faint);
  font-size: 11px;
  font-weight: 400;
}

.footer-grid > div:first-child > p:last-child {
  margin-top: 3px;
  color: var(--ink-faint);
  font-size: 12px;
}

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

.footer-links a {
  color: var(--ink-soft);
  font-size: 12px;
}

.footer-meta {
  grid-column: 1 / -1;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 9.5px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 930px) {
  .intro-grid {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 31%);
    gap: 34px;
  }

  .role {
    min-width: 50%;
    margin-bottom: 12px;
  }

  .role:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .impact-summary,
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .impact-stats {
    max-width: 620px;
  }

  .toolkit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .wrap,
  .nav-inner {
    width: min(100% - 36px, var(--wrap));
  }

  .js .nav-toggle {
    position: relative;
    display: block;
    margin-right: -10px;
  }

  .js .nav-links {
    position: fixed;
    inset: var(--nav-height) 0 auto;
    display: grid;
    gap: 0;
    padding: 18px;
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--bg) 96%, transparent);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

  .js .site-nav.is-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  html:not(.js) .nav-links {
    gap: 13px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-links > a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 14px;
  }

  .nav-links > a::after {
    display: none;
  }

  .theme-toggle {
    margin-top: 12px;
  }

  .intro {
    padding-top: calc(var(--nav-height) + 42px);
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .intro-side {
    width: min(100%, 360px);
    grid-row: 1;
    padding-top: 0;
  }

  .intro-copy {
    grid-row: 2;
  }

  .intro-haze {
    width: 100%;
    height: 60svh;
  }

  .role-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .role,
  .role:nth-child(3) {
    min-width: 0;
    margin: 0;
    padding: 11px 0;
    border-top: 1px solid var(--line-soft);
    border-left: 0;
  }

  .role:first-child {
    border-top: 0;
  }

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

  .contribution-meta {
    display: none;
  }

  .honor-item {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 16px;
  }

  .honor-meta {
    grid-column: 2;
    text-align: left;
  }

  .project {
    grid-template-columns: minmax(190px, 35%) minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 620px) {
  .block {
    padding: 44px 0;
  }

  .intro {
    padding-bottom: 52px;
  }

  .intro h1 span {
    display: block;
    margin: 10px 0 0;
  }

  .impact-summary {
    padding: 22px;
  }

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

  .project-visual {
    min-height: 154px;
  }

  .project-heading {
    display: block;
  }

  .project-heading span {
    display: block;
    margin-top: 2px;
    text-align: left;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .timeline-org {
    margin-top: 4px;
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .toolkit-grid span {
    display: block;
    margin-bottom: 2px;
  }

  .notes-list a {
    grid-template-columns: 1fr auto;
    gap: 5px 14px;
  }

  .notes-list strong {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .notes-list time {
    grid-column: 2;
    grid-row: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    grid-column: 1;
  }
}

@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;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
