:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fb;
  --ink: #121317;
  --ink-soft: #3f4249;
  --ink-faint: #656a74;
  --line: #dfe4ec;
  --line-soft: #e9edf3;
  --accent: #0b57d0;
  --accent-soft: #e8f0fe;
  --radius-lg: 24px;
  --radius-md: 16px;
  --font: 'Outfit', 'Helvetica Neue', Arial, sans-serif;
  --shadow-soft: 0 18px 40px -24px rgba(18, 19, 23, .22);
  --ease-out: cubic-bezier(.2,.7,.3,1);
  --nav-h: calc(64px + env(safe-area-inset-top));
  --content-max: 1120px;
  --section-space: clamp(64px, 6.6vw, 88px);
  --scrollbar-track: #f1f3f7;
  --scrollbar-thumb: #aeb5c0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  scrollbar-gutter: stable;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
  scrollbar-width: auto;
}
html,
body {
  overflow-x: clip;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  font-feature-settings: 'ss01';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html:has(body:is(.nav-open, .lightbox-open)),
body:is(.nav-open, .lightbox-open) { overflow: hidden; }

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
button { font: inherit; }
button:not(:disabled) { cursor: pointer; }
:where(a, button):focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 48%, transparent);
  outline-offset: 4px;
  border-radius: 6px;
}
img, video { display: block; max-width: 100%; }
:where(.profile-list, .pub-list, .honors-other) { list-style: none; }
.profile-logo img,
.pub-featured-media video,
.pub-thumb img,
.honor-card-img {
  width: 100%; height: 100%; object-fit: contain;
}

.wrap,
.nav-inner {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ============ NAV (DeepMind-style progressive blur + fade) ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  isolation: isolate;
}
.nav-blur {
  position: absolute; top: 0; left: 0; right: 0;
  height: calc(var(--nav-h) + 52px); z-index: -1; pointer-events: none;
  overflow: hidden;
}
.nav-blur-layer {
  position: absolute; inset: 0;
  backdrop-filter: blur(var(--nav-blur));
  -webkit-backdrop-filter: blur(var(--nav-blur));
  mask-image: var(--nav-mask);
  -webkit-mask-image: var(--nav-mask);
  mask-repeat: no-repeat; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; -webkit-mask-size: 100% 100%;
}
.nav-blur-layer--1 {
  --nav-blur: 3px;
  --nav-mask: linear-gradient(to bottom, transparent 0%, transparent 38%, #000 58%, #000 70%, transparent 88%, transparent 100%);
}
.nav-blur-layer--2 {
  --nav-blur: 6px;
  --nav-mask: linear-gradient(to bottom, transparent 0%, transparent 18%, #000 36%, #000 52%, transparent 74%, transparent 100%);
}
.nav-blur-layer--3 {
  --nav-blur: 10px;
  --nav-mask: linear-gradient(to bottom, #000 0%, #000 28%, transparent 58%, transparent 100%);
}
.nav-blur-layer--4 {
  --nav-blur: 16px;
  --nav-mask: linear-gradient(to bottom, #000 0%, #000 16%, transparent 42%, transparent 100%);
}
.nav-blur-layer--5 {
  --nav-blur: 22px;
  --nav-mask: linear-gradient(to bottom, #000 0%, transparent 22%, transparent 100%);
}
.nav-blur-fade {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,.9) 0%,
    rgba(255,255,255,.55) 28%,
    rgba(255,255,255,.18) 52%,
    rgba(255,255,255,0) 78%
  );
}
.nav-inner {
  position: relative; z-index: 1;
  height: var(--nav-h); display: flex; align-items: center; justify-content: space-between;
  padding-top: env(safe-area-inset-top);
}
.nav-logo {
  font-size: 15.5px; font-weight: 500; color: var(--ink);
  line-height: 1.2;
}
.nav-logo:hover { text-decoration: none; opacity: .7; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-right: -8px;
  border: none; background: transparent;
  padding: 10px;
  align-items: center; justify-content: center;
  border-radius: 10px;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle:hover { background: var(--bg-soft); }
.nav-toggle-bars {
  display: block; width: 18px; height: 12px; position: relative;
}
.nav-toggle-bars span {
  position: absolute; left: 0; right: 0; height: 1.5px;
  background: currentColor; border-radius: 1px;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 5px; }
.nav-toggle-bars span:nth-child(3) { top: 10px; }
.nav.is-open .nav-toggle-bars span:nth-child(1) {
  top: 5px; transform: rotate(45deg);
}
.nav.is-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle-bars span:nth-child(3) {
  top: 5px; transform: rotate(-45deg);
}
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  position: relative;
  font-size: 14px; font-weight: 400; color: var(--ink-soft);
  transition: color .2s;
  padding: 8px 0;
}
.nav-links a:is(:hover, .is-active) { color: var(--ink); text-decoration: none; }
.nav-links a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 2px;
  height: 1.5px; border-radius: 1px;
  background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease-out);
}
.nav-links a:is(:hover, .is-active)::after { transform: scaleX(1); }

/* ============ INTRO ============ */
.intro {
  padding: calc(var(--nav-h) + 52px) 0 80px;
  position: relative;
  overflow: hidden;
}
.intro-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: auto;
  aspect-ratio: 4 / 5;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.intro-bg img {
  height: 100%;
  width: 100%;
  max-width: none;
  object-fit: cover;
  filter: blur(2.5px) saturate(.8) brightness(1.1);
  opacity: .4;
  -webkit-mask-image: linear-gradient(to right, #000 50%, transparent 90%);
  mask-image: linear-gradient(to right, #000 50%, transparent 90%);
}
.intro-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(255,255,255,.2) 0%,
      rgba(255,255,255,.1) 20%,
      rgba(255,255,255,.1) 50%,
      rgba(255,255,255,.4) 80%,
      #fff 100%);
}
.intro .wrap { position: relative; z-index: 1; }
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 34%);
  gap: 36px 48px;
  align-items: stretch;
}
.intro-copy { min-width: 0; }
.intro h1 {
  margin-top: 10px;
  font-size: clamp(44px, 5.5vw, 60px);
  font-weight: 400; line-height: 1.05;
  text-wrap: balance;
}
.intro h1 .cn {
  font-size: .55em; font-weight: 300;
  color: var(--ink-faint);
}
.intro-roles {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
}
.intro-roles .role {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 24px;
  border-left: 1px solid var(--line);
  min-width: 0;
}
.intro-roles .role:first-child {
  padding-left: 0;
  border-left: none;
}
.intro-roles .role-title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1.3;
}
.intro-roles .role a {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}
.intro-roles .role a:hover { color: var(--accent); text-decoration: none; }
.intro-lead {
  margin-top: 44px;
  margin-bottom: 26px;
  text-align: center;
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 300;
  line-height: 1.3;
}
.intro-bio {
  max-width: 680px;
  font-size: 16px; line-height: 1.7; color: var(--ink-soft);
}

.intro-actions {
  margin-top: 22px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
}
.intro-actions :where(a, button) {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px;
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  text-decoration: none; transition: color .2s;
  line-height: inherit;
  border: 0; padding: 0; background: transparent;
}
.intro-actions :where(a, button):hover { color: var(--accent); text-decoration: none; }
.intro-actions :where(a, button) img {
  width: 20px; height: 20px;
  object-fit: contain; flex-shrink: 0;
}

.intro-portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: 0 0 0 1px var(--line);
}
.intro-portrait img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease-out);
}
.intro-portrait:hover img { transform: scale(1.05); }

/* ============ SECTIONS ============ */
section.block { padding: var(--section-space) 0; }
section.block.soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.sec-title {
  margin-bottom: 28px;
  font-size: clamp(34px, 3.4vw, 44px);
  font-weight: 400; line-height: 1.1;
  text-wrap: balance;
}

/* ============ EDUCATION / EXPERIENCE ============ */
.profile-list {
  --profile-logo-width: 240px;
  --profile-logo-ratio: 20 / 9;
  border-top: 1px solid var(--line);
}
.profile-list--wide-logo {
  --profile-logo-ratio: 25 / 8;
}

.profile-item {
  display: grid;
  grid-template-columns: var(--profile-logo-width) minmax(0, 1fr) auto;
  column-gap: 32px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-soft);
}
.profile-item:last-child { border-bottom: none; }
.profile-logo {
  width: var(--profile-logo-width);
  aspect-ratio: var(--profile-logo-ratio);
  padding: 6px 10px;
  display: flex; align-items: center; justify-content: center;
}
.profile-main {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.profile-title { font-size: 18px; font-weight: 500; }
.profile-description { font-size: 15px; color: var(--ink-soft); line-height: 1.5; }
.profile-detail { font-size: 14.5px; color: var(--ink-faint); line-height: 1.5; }
.profile-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  justify-self: end;
  text-align: right;
}
.profile-period,
.profile-place {
  font-size: 13.5px;
  color: var(--ink-faint);
  white-space: nowrap;
  letter-spacing: .05em;
  line-height: 1.5;
}
.profile-period { font-weight: 500; }

/* ============ PUBLICATIONS ============ */
.pub-featured {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 40px;
}
.pub-featured-item { display: flex; flex-direction: column; gap: 14px; }
.pub-featured-media {
  border: none; border-radius: var(--radius-md);
  overflow: hidden; background: transparent;
  padding: 0; position: relative; width: 100%; aspect-ratio: 26 / 15;
  transition: transform .45s var(--ease-out), box-shadow .45s;
  box-shadow: 0 0 0 1px var(--line);
  appearance: none; -webkit-appearance: none;
  display: block;
}
.pub-featured-media:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.pub-featured-play-hint {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(11,18,32,0); transition: background .25s ease;
}
.pub-featured-play-hint::after {
  content: '↗';
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: var(--ink);
  font-size: 16px; font-weight: 500; line-height: 44px; text-align: center;
  box-shadow: 0 8px 24px rgba(11,18,32,.2);
  opacity: 0; transform: scale(.8);
  transition: opacity .25s ease, transform .25s ease;
}
.pub-featured-media:hover .pub-featured-play-hint { background: rgba(11,18,32,.18); }
.pub-featured-media:hover .pub-featured-play-hint::after { opacity: 1; transform: scale(1); }
.pub-featured-label { font-size: 15.5px; font-weight: 500; }

.pub-item {
  display: grid; grid-template-columns: 200px 1fr; gap: 22px;
  padding: 20px 10px; border-bottom: 1px solid var(--line-soft);
  align-items: center;
}
.pub-thumb {
  width: 200px; aspect-ratio: 2 / 1;
  border-radius: 12px;
  overflow: hidden; background: var(--bg-soft);
  box-shadow: 0 0 0 1px var(--line);
}

.pub-title { font-size: 17.5px; font-weight: 500; line-height: 1.4; }
.pub-authors { font-size: 14px; color: var(--ink-faint); margin-top: 6px; line-height: 1.4; }
.pub-authors .self { color: var(--ink); font-weight: 600; }
.pub-venue { margin-top: 6px; font-size: 14px; line-height: 1.4; }
.venue-name {
  font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase; color: var(--accent);
}
.pub-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 0; margin-top: 6px; }
.pub-link,
.pub-status { font-size: 14px; font-weight: 500; }
.pub-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--ink) 22%, transparent);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color .15s ease;
}
.pub-link:hover { text-decoration-color: var(--ink); }
.pub-status { color: var(--ink-faint); }

/* ============ LIGHTBOX ============ */
.pub-lightbox {
  position: fixed; inset: 0;
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  display: none; align-items: center; justify-content: center;
  background: transparent;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
.pub-lightbox[open] { display: flex; }
.pub-lightbox::backdrop {
  background: rgba(18,19,23,.8);
  backdrop-filter: blur(12px);
}
.pub-lightbox-dialog {
  position: relative; z-index: 1; max-width: min(1080px, 92vw); max-height: 88vh;
  display: flex; flex-direction: column; gap: 12px;
}
.pub-lightbox-stage {
  border-radius: var(--radius-lg); overflow: hidden; background: #000;
  display: flex; align-items: center; justify-content: center;
}
.pub-lightbox-stage :where(video, img) {
  width: auto; height: auto;
  max-width: 100%; max-height: 76vh;
  object-fit: contain;
}
.pub-lightbox-caption { color: var(--bg-soft); font-size: 16px; text-align: center; }
.pub-lightbox-close {
  position: absolute; top: -46px; right: 0;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.1); color: #fff; font-size: 18px;
  transition: background .2s;
}
.pub-lightbox-close:hover { background: rgba(255,255,255,.25); }

/* ============ HONORS ============ */
.honors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.honor-card {
  transition: transform .35s var(--ease-out);
}
.honor-card:hover { transform: translateY(-2px); }
.honor-card-media {
  aspect-ratio: 7 / 5; padding: 5px 7px;
  overflow: hidden; background: #fff;
  border-radius: var(--radius-md); box-shadow: 0 0 0 1px var(--line);
}
.honor-card-img { height: auto; transition: transform .55s ease; }
.honor-card:hover .honor-card-img { transform: scale(1.05); }
.honor-card-body { padding: 12px 2px 0; }
.award-name { font-size: 14.5px; font-weight: 500; line-height: 1.35; }
.award-event { font-size: 13px; color: var(--ink-faint); margin-top: 4px; line-height: 1.45; }

.honors-other { margin-top: 28px; border-top: 1px solid var(--line); }
.honors-other li {
  display: grid; grid-template-columns: 64px 1fr; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px; color: var(--ink-soft); align-items: baseline; line-height: 1.5;
}
.h-year { font-size: 13.5px; font-weight: 500; color: var(--ink-faint); }

/* ============ FOOTER ============ */
footer {
  padding: 52px 0 56px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, var(--bg-soft));
}
.footer-inner {
  display: flex; justify-content: space-between;
  font-size: 14px; color: var(--ink-faint);
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }


/* Three content-driven tiers: compact, mobile, and small mobile. */
@media (max-width: 960px) {
  .wrap,
  .nav-inner { padding: 0 26px; }
  .intro-grid { grid-template-columns: minmax(0, 1fr) minmax(240px, 32%); gap: 28px 32px; }
  .intro-roles { flex-wrap: nowrap; }
  .intro-roles .role { padding-inline: 16px; }
  .intro h1 { font-size: clamp(38px, 5.5vw, 50px); }
  .honors-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .pub-featured { gap: 18px; }

  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 18px 18px;
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px -28px rgba(18, 19, 23, .35);
    max-height: min(70vh, 520px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a {
    font-size: 15px;
    min-height: 46px;
    padding: 12px 6px;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a::after { display: none; }
  .nav-logo {
    font-size: 15px;
    max-width: calc(100% - 56px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .profile-item {
    grid-template-columns: clamp(108px, 28vw, 240px) minmax(0, 1fr);
    column-gap: clamp(16px, 3.5vw, 28px);
    row-gap: 8px;
  }
  .profile-logo {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 100%;
  }
  .profile-main {
    grid-column: 2;
    grid-row: 1;
  }
  .profile-side {
    grid-column: 2;
    grid-row: 2;
    justify-self: stretch;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px 10px;
    text-align: left;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-h: calc(58px + env(safe-area-inset-top));
    --section-space: 52px;
  }
  .wrap,
  .nav-inner {
    padding: 0 20px;
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
  .nav-inner { padding-top: env(safe-area-inset-top); }
  .intro {
    padding: calc(var(--nav-h) + 32px) 0 52px;
    padding-bottom: max(52px, env(safe-area-inset-bottom));
  }
  .intro-bg { width: 100%; }
  .intro-bg img {
    min-width: 100%;
    filter: blur(2px) saturate(.8) brightness(1.1);
    opacity: .35;
    -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 80%);
    mask-image: linear-gradient(to bottom, #000 35%, transparent 80%);
  }
  .intro-grid { grid-template-columns: 1fr; gap: 26px; }
  .intro-side {
    order: -1;
    max-width: 220px;
    margin: 0 auto;
    width: 100%;
  }
  .intro-portrait { border-radius: 14px; }
  .intro h1 {
    font-size: clamp(34px, 10vw, 42px);
    margin-top: 8px;
    text-align: center;
  }
  .intro-roles { justify-content: center; margin-top: 18px; gap: 14px 0; }
  .intro-roles .role { align-items: center; padding: 0 16px; }
  .intro-roles .role:first-child { padding-left: 16px; }
  .intro-lead { margin-top: 32px; margin-bottom: 22px; font-size: clamp(24px, 7.2vw, 30px); }
  .intro-bio { max-width: 560px; margin-inline: auto; font-size: 15.5px; text-align: left; }
  .intro-actions { justify-content: center; gap: 0 16px; margin-top: 18px; }
  .intro-actions :where(a, button) { min-height: 44px; font-size: 14px; }
  .intro-actions :where(a, button) img { width: 18px; height: 18px; }
  .sec-head { margin-bottom: 20px; }
  .sec-title { font-size: 30px; }

  .profile-item {
    padding: 22px 0;
  }
  .profile-logo { padding: 4px 8px; }
  .profile-title { font-size: 17px; }

  .pub-featured { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  .pub-featured-label { font-size: 15px; }
  .pub-item {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px 0;
    align-items: stretch;
  }
  .pub-thumb { width: 100%; }
  .pub-title { font-size: 16px; }
  .pub-authors { font-size: 13.5px; }
  .pub-venue { font-size: 13px; }
  .pub-lightbox-dialog { width: min(100vw - 24px, 920px); }
  .pub-lightbox-stage :where(video, img) { max-height: 68vh; }

  .honors-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
  .award-name { font-size: 14px; }
  .award-event { font-size: 12.5px; }
  .honors-other li {
    grid-template-columns: 52px 1fr;
    gap: 12px;
    font-size: 14px;
    padding: 12px 0;
  }

  .footer-inner {
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 520px) {
  .intro-roles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .intro-roles .role,
  .intro-roles .role:first-child {
    padding-inline: 0;
    border-left: none;
  }
  .honors-grid { grid-template-columns: 1fr; gap: 18px; }
  .honor-card {
    display: grid;
    grid-template-columns: minmax(120px, 42%) 1fr;
    gap: 14px;
    align-items: center;
  }
  .honor-card-body { padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  /* The explicit user preference must override component-level motion rules. */
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; transition: none; }
  .intro-portrait:hover img,
  .honor-card:hover,
  .honor-card:hover .honor-card-img,
  .pub-featured-media:hover { transform: none; }
}

@media (forced-colors: active) {
  * { scrollbar-color: CanvasText Canvas; }
}
