:root {
  --paper: #f5f0e5;
  --paper-light: #fbf8f1;
  --ink: #1d2824;
  --muted: #66716b;
  --line: #d7d0c2;
  --green: #275a4a;
  --green-dark: #17372f;
  --red: #a74639;
  --gold: #d6a84d;
  --blue: #6d8fa1;
  --page: min(1120px, calc(100vw - 48px));
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  background: var(--paper);
}

body {
  position: relative;
  overflow-x: hidden;
  margin: 0;
  color: var(--ink);
  background: transparent;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.world-background,
.world-grain {
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.world-background {
  image-rendering: pixelated;
}

.world-grain {
  opacity: .07;
  background-image:
    linear-gradient(90deg, rgba(29, 40, 36, .1) 1px, transparent 1px),
    linear-gradient(rgba(29, 40, 36, .08) 1px, transparent 1px);
  background-position: 0 0, 2px 2px;
  background-size: 5px 5px;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .28), transparent 42%, rgba(0, 0, 0, .16));
  animation: grain-walk 1.2s steps(6, end) infinite;
}

.site-header,
main,
.site-footer,
.skip-link {
  position: relative;
  z-index: 1;
}

@keyframes grain-walk {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-2px, 1px); }
  66% { transform: translate(1px, -2px); }
  100% { transform: translate(0, 0); }
}

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

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration-thickness: .08em;
  text-underline-offset: .22em;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 8px 13px;
  color: var(--paper-light);
  background: var(--green-dark);
  transform: translateY(-160%);
  transition: transform .2s ease;
}

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

.page-width {
  width: var(--page);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(29, 40, 36, .12);
  background: rgba(245, 240, 229, .9);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--page);
  min-height: 68px;
  margin-inline: auto;
}

.academic-nav-groups {
  display: flex;
  gap: clamp(16px, 2vw, 26px);
  align-items: center;
}

.nav-divider {
  width: 1px;
  height: 24px;
  background: rgba(29, 40, 36, .2);
}

.wordmark {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -.02em;
}

.wordmark-mark {
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
  transform-origin: 50% 78%;
  animation: cake-breathe 3.4s steps(7, end) infinite;
}

@keyframes cake-breathe {
  0%, 100% { transform: translateY(0) rotate(0); }
  45% { transform: translateY(-2px) rotate(-2deg); }
  55% { transform: translateY(-2px) rotate(2deg); }
}

.site-nav,
.section-nav {
  display: flex;
  gap: clamp(15px, 2.1vw, 27px);
  align-items: center;
}

.site-nav a,
.section-nav a {
  position: relative;
  padding-block: 10px;
  color: #49534f;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
}

.section-nav a {
  color: #59635e;
}

.site-nav a::after,
.section-nav a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s var(--ease-out);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr);
  gap: clamp(44px, 6vw, 72px);
  align-items: center;
  min-height: clamp(520px, 70vh, 620px);
  padding-block: clamp(44px, 5vw, 60px);
}

.hero-copy {
  max-width: 570px;
}

.section-kicker,
.publication-meta,
.journey-period {
  margin: 0;
  color: var(--green);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.45;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  line-height: 1.12;
}

h1 {
  max-width: 700px;
  margin-bottom: 24px;
  font-size: clamp(2.3rem, 3.35vw, 3rem);
  font-weight: 650;
  letter-spacing: -.045em;
}

.hero-intro {
  max-width: 600px;
  margin: 0;
  color: #53605a;
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.75;
}

.publication-links a span,
.talk-cta span {
  display: inline-block;
  transition: transform .2s ease;
}

.publication-links a:hover span,
.talk-row:hover .talk-cta span {
  transform: translate(2px, -2px);
}

.city-player {
  --scene-x: 0px;
  --scene-y: 0px;
  --scene-scale: 1.018;
  position: relative;
  margin: 0;
  border: 2px solid var(--ink);
  background: var(--paper-light);
  box-shadow: 7px 7px 0 rgba(29, 40, 36, .14);
}

.city-player::before {
  position: absolute;
  z-index: -1;
  top: -14px;
  right: -14px;
  width: 58px;
  height: 58px;
  border-top: 9px solid var(--red);
  border-right: 9px solid var(--red);
  content: "";
}

.city-player-bar,
.journey-stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding-inline: 13px;
  border-bottom: 2px solid var(--ink);
  color: #56615c;
  background: #eee6d8;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bar-lights {
  display: flex;
  gap: 6px;
}

.bar-lights i {
  display: block;
  width: 7px;
  height: 7px;
  background: var(--red);
}

.bar-lights i:nth-child(2) {
  background: var(--gold);
}

.bar-lights i:nth-child(3) {
  background: var(--green);
}

.city-scene {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #b9c7bd;
}

.scene-motion-surface {
  position: relative;
  overflow: hidden;
}

.scene-motion {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  pointer-events: none;
}

.city-scene img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: scene-breathe 12s steps(48, end) infinite alternate;
}

.scene-glint {
  position: absolute;
  z-index: 3;
  width: 5px;
  height: 5px;
  background: rgba(255, 249, 218, .95);
  box-shadow: 5px 0 rgba(255, 249, 218, .95), -5px 0 rgba(255, 249, 218, .95), 0 5px rgba(255, 249, 218, .95), 0 -5px rgba(255, 249, 218, .95);
  animation: glint 3.2s steps(2, end) infinite;
  pointer-events: none;
}

@keyframes scene-breathe {
  0% {
    transform: scale(var(--scene-scale)) translate(var(--scene-x), var(--scene-y));
  }
  50% {
    transform: scale(calc(var(--scene-scale) + .008)) translate(calc(var(--scene-x) - 2px), calc(var(--scene-y) + 1px));
  }
  100% {
    transform: scale(calc(var(--scene-scale) + .015)) translate(calc(var(--scene-x) + 2px), calc(var(--scene-y) - 1px));
  }
}

.scene-glint-one {
  top: 25%;
  left: 17%;
}

.scene-glint-two {
  top: 19%;
  right: 24%;
  animation-delay: 1.4s;
}

@keyframes glint {
  0%, 26%, 100% { opacity: 0; transform: scale(.7); }
  30%, 48% { opacity: .75; transform: scale(1); }
  52% { opacity: 0; transform: scale(.7); }
}

.city-player figcaption {
  display: grid;
  min-height: 44px;
  padding: 8px 13px;
  border-top: 2px solid var(--ink);
}

.scene-note {
  display: grid;
  min-width: 0;
}

.scene-note strong {
  line-height: 1.25;
}

.section {
  padding-block: clamp(62px, 6.5vw, 86px);
}

.section + .section {
  padding-top: 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  gap: 42px;
  align-items: end;
  margin-bottom: clamp(30px, 3.8vw, 44px);
}

.section-heading h2 {
  margin: 6px 0 0;
  font-size: clamp(2rem, 2.8vw, 2.65rem);
  font-weight: 650;
  letter-spacing: -.04em;
}

.section-heading > p {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.7;
}

.section-heading-compact {
  grid-template-columns: 1fr;
}

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

.publication {
  display: grid;
  grid-template-columns: minmax(290px, .78fr) minmax(0, 1.22fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(34px, 4.2vw, 50px);
  border-bottom: 1px solid var(--line);
}

.publication-image {
  position: relative;
  display: grid;
  overflow: hidden;
  aspect-ratio: 16 / 10.2;
  padding: 17px;
  border: 1px solid #c6beaf;
  background: #fff;
  text-decoration: none;
  place-items: center;
}

.publication-image-trustjudge {
  aspect-ratio: 1818 / 1218;
}

.publication-image::before {
  position: absolute;
  z-index: 2;
  top: -18%;
  right: 0;
  left: 0;
  height: 16%;
  background: linear-gradient(to bottom, transparent, rgba(109, 143, 161, .16), transparent);
  content: "";
  pointer-events: none;
  animation: paper-scan 6.8s steps(24, end) infinite;
}

.publication-image::after {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  display: grid;
  width: 25px;
  height: 25px;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  background: var(--gold);
  content: "\2197";
  font-size: .8rem;
  font-weight: 700;
  place-items: center;
  transform: translate(100%, 100%);
  transition: transform .2s steps(3, end);
}

.publication-image:hover::after {
  transform: translate(0, 0);
}

.publication-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: figure-drift 9s steps(36, end) infinite alternate;
}

.publication-image:hover img {
  animation-play-state: paused;
}

@keyframes paper-scan {
  0%, 10% { transform: translateY(0); opacity: 0; }
  18% { opacity: 1; }
  60% { opacity: .75; }
  72%, 100% { transform: translateY(720%); opacity: 0; }
}

@keyframes figure-drift {
  0% { transform: translate(-1px, 1px); }
  50% { transform: translate(1px, -1px); }
  100% { transform: translate(0, 1px); }
}

.publication-copy h3 {
  max-width: 680px;
  margin: 13px 0 18px;
  font-size: clamp(1.45rem, 2.05vw, 1.82rem);
  font-weight: 650;
  letter-spacing: -.028em;
  line-height: 1.27;
}

.publication-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.publication-copy .publication-meta {
  font-size: .82rem;
  letter-spacing: .09em;
}

.publication-meta span + span {
  position: relative;
  color: var(--muted);
}

.publication-meta span + span::before {
  position: absolute;
  top: .46em;
  left: -12px;
  width: 4px;
  height: 4px;
  background: var(--red);
  content: "";
  animation: meta-pixel 2.4s steps(2, end) infinite;
}

@keyframes meta-pixel {
  0%, 62%, 100% { opacity: 1; }
  64%, 72% { opacity: .35; }
}

.publication-links {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 19px;
  align-items: center;
  margin-top: 22px;
}

.publication-links a {
  color: var(--green-dark);
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
}

.repo-stars {
  padding: 2px 7px;
  border: 1px solid #c6beaf;
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .65rem;
  line-height: 1.5;
  animation: star-tick 4.8s steps(8, end) infinite;
}

@keyframes star-tick {
  0%, 88%, 100% { box-shadow: none; transform: translateY(0); }
  91% { box-shadow: 2px 2px 0 rgba(214, 168, 77, .35); transform: translateY(-1px); }
}

.publication-abstract {
  max-width: 650px;
  margin-top: 21px;
  margin-bottom: 0;
  padding-top: 16px;
  border-top: 1px dashed #c4bcad;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.68;
}

.talk-row {
  display: grid;
  grid-template-columns: minmax(250px, .42fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 58px);
  align-items: center;
  padding: clamp(25px, 4vw, 42px);
  border: 1px solid var(--line);
  color: inherit;
  background: rgba(251, 248, 241, .55);
  text-decoration: none;
  transition: border-color .2s ease, transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}

.talk-row:hover {
  border-color: #978f81;
  box-shadow: 5px 5px 0 rgba(29, 40, 36, .1);
  transform: translate(-2px, -2px);
}

.talk-copy h3 {
  max-width: 730px;
  margin: 13px 0 18px;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: 1.34;
}

.talk-cta {
  color: var(--green);
  font-size: .83rem;
  font-weight: 700;
}

.talk-pixel-window {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 2px solid var(--ink);
  background: #a9c3c8;
  box-shadow: 5px 5px 0 #d7c28b;
}

.talk-pixel-window::before,
.talk-pixel-window::after {
  position: absolute;
  z-index: 1;
  height: 7px;
  background: rgba(250, 240, 208, .82);
  content: "";
  pointer-events: none;
  animation: cloud-cross 10s steps(34, end) infinite;
}

.talk-pixel-window::before {
  top: 18%;
  left: -25%;
  width: 30px;
  box-shadow: 8px -5px rgba(250, 240, 208, .82), 22px 2px rgba(250, 240, 208, .82);
}

.talk-pixel-window::after {
  top: 31%;
  left: -36%;
  width: 22px;
  opacity: .65;
  box-shadow: 11px -4px rgba(250, 240, 208, .82);
  animation-delay: -4.5s;
  animation-duration: 13s;
}

.pixel-sky {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 11%, rgba(250, 240, 208, .8) 11% 18%, transparent 18% 100%) 0 18% / 48px 10px no-repeat,
    linear-gradient(90deg, #315e55 0 16%, transparent 16% 21%, #315e55 21% 42%, transparent 42% 48%, #315e55 48% 100%) bottom / 65px 20% repeat-x,
    linear-gradient(#a9c3c8 0 68%, #ceb37b 68% 78%, #507264 78%);
  animation: talk-landscape 7s steps(28, end) infinite;
}

.pixel-drone {
  position: absolute;
  z-index: 2;
  width: 23px;
  height: 7px;
  background: var(--ink);
  animation: drone-hover 2s steps(4, end) infinite;
}

.pixel-drone::before,
.pixel-drone::after {
  position: absolute;
  top: -7px;
  width: 10px;
  height: 3px;
  background: var(--ink);
  content: "";
}

.pixel-drone::before { left: -5px; }
.pixel-drone::after { right: -5px; }

.pixel-drone i {
  position: absolute;
  top: 7px;
  left: 9px;
  width: 5px;
  height: 5px;
  background: var(--red);
}

.drone-one { top: 29%; left: 23%; }
.drone-two { top: 48%; right: 19%; animation-delay: .6s; }

.pixel-target {
  position: absolute;
  right: 43%;
  bottom: 20%;
  width: 9px;
  height: 18px;
  background: var(--red);
  box-shadow: 0 -5px var(--gold);
  animation: target-pulse 1.7s steps(3, end) infinite;
}

.pixel-trail {
  position: absolute;
  z-index: 1;
  height: 2px;
  border-top: 2px dashed rgba(255, 248, 218, .8);
  transform-origin: left;
  animation: trail-signal 2.1s steps(8, end) infinite;
}

.trail-one { top: 39%; left: 34%; width: 31%; transform: rotate(18deg); }
.trail-two { top: 56%; left: 53%; width: 24%; transform: rotate(-28deg); animation-delay: -.8s; }

@keyframes cloud-cross {
  from { transform: translateX(0); }
  to { transform: translateX(390px); }
}

@keyframes talk-landscape {
  0%, 100% { background-position: 0 18%, 0 bottom, 0 0; }
  50% { background-position: 24px 18%, -18px bottom, 0 0; }
}

@keyframes target-pulse {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: .55; transform: translateY(-2px); }
}

@keyframes trail-signal {
  0%, 100% { opacity: .28; filter: brightness(.9); }
  50% { opacity: 1; filter: brightness(1.25); }
}

@keyframes drone-hover {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.journey-section {
  position: relative;
  margin-top: 0;
  padding-block: clamp(66px, 7vw, 92px);
  color: #f2ede2;
  background:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 32px 32px,
    rgba(23, 55, 47, .965);
  animation: journey-grid 10s steps(20, end) infinite;
}

@keyframes journey-grid {
  0% { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 32px 0, 0 32px, 0 0; }
}

.journey-section .section-kicker,
.journey-section .journey-period {
  color: #e1b657;
}

.journey-section .section-heading h2,
.journey-section .section-heading > p {
  color: #f2ede2;
}

.journey-heading {
  margin-bottom: clamp(36px, 4.5vw, 54px);
}

.journey-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(430px, .94fr);
  gap: clamp(44px, 6vw, 72px);
  align-items: start;
}

.journey-stage {
  position: sticky;
  top: 110px;
  margin: 0;
  border: 2px solid #101e1a;
  color: var(--ink);
  background: #eee6d8;
  box-shadow: 8px 8px 0 rgba(6, 15, 12, .5);
}

.journey-stage-bar {
  color: #38453f;
  border-color: #101e1a;
  font-size: .72rem;
}

.journey-stage-image {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #8ba195;
}

.journey-stage-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: journey-scene-roam 16s ease-in-out infinite alternate;
  backface-visibility: hidden;
  transition: opacity .32s ease, filter .32s ease;
  will-change: transform, opacity;
}

.journey-stage.is-switching .journey-stage-image img {
  opacity: .3;
  filter: saturate(.62) brightness(.96);
  animation-play-state: paused;
}

@keyframes journey-scene-roam {
  0% { transform: translate3d(-.18%, .12%, 0) scale(1.016); }
  50% { transform: translate3d(.12%, 0, 0) scale(1.022); }
  100% { transform: translate3d(-.1%, -.12%, 0) scale(1.028); }
}

.journey-stage figcaption {
  min-height: 55px;
  padding: 15px 18px;
  border-top: 2px solid #101e1a;
  color: #4b5852;
  font-family: "Newsreader", Georgia, serif;
  font-size: .98rem;
  font-style: italic;
  line-height: 1.4;
}

.journey-progress {
  height: 5px;
  background: #c7beaf;
}

.journey-progress span {
  display: block;
  width: calc(var(--journey-progress, 1) * 20%);
  height: 100%;
  background: var(--red);
  transition: width .35s var(--ease-out);
  animation: route-pulse 2.8s steps(7, end) infinite;
}

@keyframes route-pulse {
  0%, 100% { filter: brightness(.92); }
  50% { filter: brightness(1.28); }
}

.journey-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(320px, 45vh, 440px);
  padding: 34px 0 34px 34px;
  opacity: .84;
  transition: opacity .25s ease, transform .3s var(--ease-out);
}

.journey-item::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: rgba(242, 237, 226, .23);
  content: "";
}

.journey-item::after {
  position: absolute;
  top: 50%;
  left: -4px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--green-dark);
  background: #85968f;
  content: "";
  transform: translateY(-50%);
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.journey-item.is-active {
  opacity: 1;
  transform: translateX(5px);
}

.journey-item.is-active::after {
  background: #e1b657;
  box-shadow: 0 0 0 4px rgba(225, 182, 87, .16);
  transform: translateY(-50%) scale(1.12);
  animation: journey-stop 2.2s steps(4, end) infinite;
}

@keyframes journey-stop {
  0%, 100% { box-shadow: 0 0 0 4px rgba(225, 182, 87, .16); }
  50% { box-shadow: 0 0 0 8px rgba(225, 182, 87, .05); }
}

.journey-item h3 {
  margin: 13px 0 12px;
  color: #f2ede2;
  font-size: clamp(1.45rem, 2.15vw, 1.82rem);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.3;
}

.journey-item > p:last-child {
  max-width: 430px;
  margin: 0;
  color: #bec9c4;
  font-size: 1rem;
  line-height: 1.65;
}

.journey-section .journey-period {
  font-size: .82rem;
  letter-spacing: .09em;
}

.journey-affiliations {
  display: grid;
  gap: 4px;
}

.journey-affiliations span {
  display: block;
}

@media (min-width: 761px) {
  .journey-item h3,
  .journey-affiliations span {
    white-space: nowrap;
  }
}

.journey-item a {
  color: #e8e1d4;
  text-decoration-color: rgba(232, 225, 212, .45);
}

.journey-mobile-frame,
.journey-mobile-scene {
  display: none;
}

.journey-mobile-frame {
  aspect-ratio: 16 / 9;
}

.journey-mobile-frame .journey-mobile-scene {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: journey-scene-roam 16s ease-in-out infinite alternate;
  backface-visibility: hidden;
  will-change: transform;
}

.site-footer {
  padding-block: 56px 30px;
  border-top: 1px solid rgba(29, 40, 36, .15);
  color: var(--muted);
  font-size: .82rem;
}

.footer-main {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  justify-content: space-between;
}

.site-footer p {
  margin: 0;
}

.footer-note {
  display: flex;
  gap: 18px;
  align-items: center;
}

.footer-note strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: .9rem;
}

.footer-contact {
  display: grid;
  gap: 17px;
  min-width: min(100%, 420px);
  justify-items: start;
}

.footer-heading {
  display: grid;
  gap: 4px;
  justify-items: start;
}

.footer-label {
  color: var(--ink);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: -.015em;
}

.footer-heading > p:last-child {
  color: var(--muted);
  font-size: .78rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 13px 22px;
  align-items: center;
}

.contact-link {
  position: relative;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 2px 0 5px;
  border: 0;
  background: transparent;
  color: var(--green-dark);
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.contact-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 40px;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: .2;
  transform: scaleX(.35);
  transform-origin: left;
  transition: transform .2s steps(4, end), opacity .2s ease;
}

.contact-link:hover::after,
.contact-link:focus-visible::after {
  opacity: .55;
  transform: scaleX(1);
}

.contact-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(29, 40, 36, .32);
  background: var(--paper-light);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--contact-accent);
  transition: box-shadow .18s steps(3, end), transform .18s steps(3, end);
}

.contact-link:hover .contact-icon,
.contact-link:focus-visible .contact-icon {
  box-shadow: 5px 5px 0 var(--contact-accent);
  transform: translate(-2px, -2px);
}

.contact-icon svg {
  width: 16px;
  height: 16px;
  overflow: visible;
  shape-rendering: crispEdges;
}

.contact-icon-email {
  --contact-accent: rgba(167, 70, 57, .62);
}

.contact-icon-email svg,
.contact-icon-scholar svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-icon-github {
  --contact-accent: rgba(39, 90, 74, .56);
}

.contact-icon-github svg,
.contact-icon-wechat svg {
  fill: currentColor;
}

.contact-icon-scholar {
  --contact-accent: rgba(109, 143, 161, .68);
}

.contact-icon-wechat {
  --contact-accent: rgba(214, 168, 77, .74);
}

.wechat-contact {
  position: relative;
}

.wechat-contact summary {
  list-style: none;
}

.wechat-contact summary::-webkit-details-marker {
  display: none;
}

.wechat-contact[open] summary {
  color: var(--red);
}

.wechat-card {
  position: absolute;
  z-index: 20;
  right: 0;
  bottom: calc(100% + 16px);
  width: 202px;
  padding: 10px;
  border: 1px solid #bfb6a7;
  background: var(--paper-light);
  box-shadow: 7px 7px 0 rgba(29, 40, 36, .13);
}

.wechat-card::after {
  position: absolute;
  right: 18px;
  bottom: -7px;
  width: 12px;
  height: 12px;
  border-right: 1px solid #bfb6a7;
  border-bottom: 1px solid #bfb6a7;
  background: var(--paper-light);
  content: "";
  transform: rotate(45deg);
}

.wechat-card img {
  width: 100%;
  height: auto;
  border: 1px solid #ded8cd;
}

.wechat-card p {
  padding-top: 7px;
  color: var(--muted);
  font-size: .7rem;
  text-align: center;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 42px;
  padding-top: 17px;
  border-top: 1px solid rgba(29, 40, 36, .1);
  color: #7b847f;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .62rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.footer-avatar {
  position: relative;
  display: block;
  width: 22px;
  height: 27px;
  background: #213b5b;
  box-shadow: -4px 0 #213b5b, 4px 0 #213b5b, 0 -9px #d5aa81;
  animation: traveller-step 2.4s steps(6, end) infinite;
}

@keyframes traveller-step {
  0%, 100% { transform: translate(0, 0); }
  35% { transform: translate(2px, -2px); }
  70% { transform: translate(4px, 0); }
}

.footer-avatar::before {
  position: absolute;
  top: -13px;
  left: -4px;
  width: 30px;
  height: 7px;
  background: #202722;
  content: "";
}

.footer-avatar::after {
  position: absolute;
  top: -7px;
  left: 4px;
  width: 14px;
  height: 3px;
  border-right: 3px solid #202722;
  border-left: 3px solid #202722;
  content: "";
}

.footer-avatar i {
  position: absolute;
  top: 1px;
  right: -7px;
  width: 7px;
  height: 16px;
  background: var(--gold);
}

.motion-enhanced .motion-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s steps(8, end), transform .55s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-enhanced .motion-reveal.reveal-left {
  transform: translate(-14px, 6px);
}

.motion-enhanced .motion-reveal.reveal-right {
  transform: translate(14px, 6px);
}

.motion-enhanced .motion-reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

@media (max-width: 940px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    max-width: 740px;
  }

  .city-player {
    width: min(720px, 100%);
  }

  .publication {
    grid-template-columns: minmax(250px, .68fr) minmax(0, 1.32fr);
    gap: 34px;
  }

  .journey-layout {
    grid-template-columns: minmax(0, .95fr) minmax(400px, 1.05fr);
    gap: 32px;
  }
}

@media (max-width: 760px) {
  :root {
    --page: min(100% - 34px, 680px);
  }

  html {
    scroll-padding-top: 102px;
  }

  .header-inner {
    min-height: 88px;
  }

  .academic-nav-groups {
    display: grid;
    gap: 2px;
    justify-items: end;
  }

  .nav-divider {
    display: none;
  }

  .site-nav,
  .section-nav {
    gap: 13px;
  }

  .site-nav a {
    padding-block: 4px;
    font-size: .72rem;
  }

  .section-nav {
    padding-top: 3px;
    border-top: 1px solid rgba(29, 40, 36, .16);
  }

  .section-nav a {
    padding-block: 3px;
    font-size: .68rem;
  }

  .site-nav a::after,
  .section-nav a::after {
    bottom: -2px;
  }

  .hero {
    gap: 34px;
    padding-block: 52px 58px;
  }

  h1 {
    font-size: clamp(2.15rem, 8.3vw, 2.5rem);
  }

  .section {
    padding-block: 58px;
  }

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

  .section-heading > p {
    max-width: 520px;
  }

  .publication,
  .talk-row {
    grid-template-columns: 1fr;
  }

  .publication {
    gap: 29px;
    padding-block: 36px;
  }

  .publication-image {
    width: min(560px, 100%);
  }

  .talk-row {
    gap: 30px;
  }

  .talk-pixel-window {
    width: min(430px, 100%);
  }

  .journey-section {
    padding-block: 62px;
  }

  .journey-layout {
    display: block;
  }

  .journey-stage {
    display: none;
  }

  .journey-item {
    min-height: 0;
    padding: 0 0 52px 23px;
    opacity: 1;
    transform: none;
  }

  .journey-item::after {
    top: 17px;
    transform: none;
  }

  .journey-item.is-active {
    transform: none;
  }

  .journey-item.is-active::after {
    transform: scale(1.08);
  }

  .journey-mobile-frame {
    display: block;
    width: min(100%, 560px);
    margin-bottom: 23px;
    border: 1px solid rgba(242, 237, 226, .52);
    box-shadow: 5px 5px 0 rgba(7, 16, 13, .45);
  }

  .journey-mobile-frame .journey-mobile-scene {
    display: block;
  }

  .site-footer {
    padding-top: 48px;
  }

  .footer-main {
    flex-direction: column;
  }

  .footer-contact {
    justify-items: start;
  }

  .footer-heading {
    justify-items: start;
  }

  .footer-links {
    grid-template-columns: repeat(4, auto);
  }

  .wechat-card {
    right: auto;
    left: 0;
  }

  .wechat-card::after {
    right: auto;
    left: 18px;
  }
}

@media (max-width: 520px) {
  :root {
    --page: calc(100% - 28px);
  }

  .wordmark-mark {
    width: 30px;
    height: 30px;
  }

  .wordmark {
    gap: 8px;
    font-size: .9rem;
  }

  .site-nav,
  .section-nav {
    gap: 10px;
  }

  .site-nav a {
    font-size: .66rem;
  }

  .section-nav a {
    font-size: .66rem;
  }

  .hero {
    padding-top: 44px;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.38rem);
    letter-spacing: -.04em;
  }

  .hero-intro {
    font-size: .97rem;
  }

  .city-player::before {
    display: none;
  }

  .city-player {
    box-shadow: 5px 5px 0 rgba(29, 40, 36, .14);
  }

  .section-heading h2 {
    font-size: clamp(1.9rem, 9vw, 2.25rem);
  }

  .publication-copy h3,
  .journey-item h3 {
    font-size: 1.35rem;
  }

  .talk-copy h3 {
    font-size: 1.28rem;
  }

  .publication-meta {
    display: grid;
    gap: 4px;
  }

  .publication-meta span + span::before {
    display: none;
  }

  .talk-row {
    padding: 18px;
  }

  .site-footer {
    padding-bottom: 24px;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 22px;
    width: 100%;
  }

  .footer-bottom {
    margin-top: 34px;
  }
}

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

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

  .world-grain {
    animation: none;
  }

  .motion-enhanced .motion-reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .scene-glint,
  .scene-motion,
  .world-background,
  .world-grain,
  .talk-pixel-window,
  .journey-stage {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }

  .hero {
    display: block;
    min-height: auto;
  }

  .publication,
  .talk-row {
    break-inside: avoid;
  }

  .journey-section {
    color: #000;
    background: #fff;
  }

  .journey-item,
  .journey-item h3,
  .journey-item > p:last-child,
  .journey-section .section-heading h2,
  .journey-section .section-heading > p {
    color: #000;
  }
}
