:root {
  --bg: #fcfcff;
  --ink: #292b3d;
  --muted: #687082;
  --blue: #6061db;
  --line: #e3e6ef;
  --lavender: #efeffb;
  --font: "DM Sans", Arial, sans-serif;
  --hand: "Caveat", cursive;
}
* {
  box-sizing: border-box;
}
html {
  font-size: clamp(16px, 1.17vw, 30px);
  scroll-behavior: smooth;
  scroll-padding-top: 2.1875rem;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 1.0625rem/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button,
a,
summary {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
img {
  max-width: 100%;
  display: block;
}
[hidden] {
  display: none !important;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 0.1875rem solid #9498ed;
  outline-offset: 0.3125rem;
  border-radius: 0.3125rem;
}
::selection {
  background: #dddffc;
}
.wrap {
  width: 92%;
  margin-inline: auto;
}
.section {
  padding-block: 5.375rem;
}
h2 {
  font-size: 2.75rem;
  line-height: 1.15;
  font-weight: 550;
  letter-spacing: -1.8px;
}
.section-kicker {
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  font-weight: 550;
  color: #767c94;
  margin-bottom: 1.0625rem;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5625rem;
}
.section-description {
  margin-top: 1.1875rem;
  color: var(--muted);
  font-size: 1.0625rem;
}
.inline-link {
  font-size: 0.875rem;
  color: var(--blue);
  white-space: nowrap;
  border-bottom: 1px solid #c9caf0;
  padding-bottom: 0.1875rem;
}
.inline-link:hover {
  border-color: var(--blue);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: -6.25rem;
  left: 1.25rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--blue);
  color: #fff;
}
.skip-link:focus {
  top: 0.9375rem;
}
.handwritten {
  font-family: var(--hand);
  font-weight: 500;
}
.site-header {
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.375rem;
}
.brand {
  display: flex;
  align-items: center;
  font-size: 1.3125rem;
  font-weight: 600;
  letter-spacing: -0.6px;
  white-space: nowrap;
}
.brand-period {
  color: var(--blue);
}
.brand-robot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4375rem;
  width: 2.125rem;
  height: 1.75rem;
  border-radius: 0.6875rem;
  background: #6c6fda;
  margin-right: 0.6875rem;
  transform: rotate(-8deg);
}
.brand-robot:before {
  content: "";
  position: absolute;
  top: -0.4375rem;
  left: 0.5rem;
  width: 0.5rem;
  height: 0.5625rem;
  border-radius: 2px;
  background: #a7a8ef;
  transform: rotate(-15deg);
}
.brand-robot:after {
  content: "";
  position: absolute;
  top: -0.625rem;
  right: 0.375rem;
  width: 0.5625rem;
  height: 0.75rem;
  border-radius: 0.1875rem;
  background: #ffb28a;
  transform: rotate(15deg);
}
.brand-robot i {
  height: 0.4375rem;
  width: 0.25rem;
  background: #fff;
  border-radius: 0.1875rem;
}
.desktop-nav {
  display: flex;
  gap: 1.6875rem;
  font-size: 0.875rem;
}
.desktop-nav a:hover {
  color: var(--blue);
}
.header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.menu-button {
  display: none;
  border: 0;
  background: none;
}
.mobile-nav {
  position: absolute;
  top: 5rem;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 0.875rem;
  z-index: 20;
  padding: 1.125rem 1.375rem;
  box-shadow: 0 1.125rem 2.5rem #282c5010;
}
.mobile-nav a {
  display: block;
  padding: 0.6875rem 0;
  font-size: 1rem;
}
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.875rem;
  align-items: center;
  padding-block: 3.0625rem 4.0625rem;
}
.hero-copy {
  z-index: 2;
  min-width: 0;
}
.hero h1 {
  font-size: 5.625rem;
  font-weight: 500;
  letter-spacing: -0.3125rem;
  line-height: 1.05;
  margin-bottom: 1.75rem;
  white-space: nowrap;
}
.hero h1 span {
  color: var(--blue);
  margin-left: 0.04em;
}
.hero-statement {
  font-size: 2.125rem;
  line-height: 1.35;
  letter-spacing: -1.1px;
  font-weight: 450;
}
.underlined {
  position: relative;
  isolation: isolate;
}
.underlined:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 0.5625rem;
  bottom: 0;
  background: #ffd7bf;
  z-index: -1;
  border-radius: 50%;
  transform: rotate(-1.5deg);
}
.hero-description {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #636b7d;
  margin-top: 1.4375rem;
  max-width: 33.125rem;
}
.hero-affiliation {
  font-size: 0.875rem;
  color: #575e79;
  display: flex;
  flex-direction: column;
  margin-top: 1.4375rem;
  gap: 0.1875rem;
}
.hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.6875rem;
}
.button {
  white-space: nowrap;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 1.5625rem;
  padding: 0.8125rem 1.3125rem;
  border-radius: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 500;
  transition:
    transform 0.2s,
    background 0.2s;
}
.button:hover {
  transform: translateY(-0.1875rem);
}
.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0.375rem 1.125rem #6165d81a;
}
.primary:hover {
  background: #5053c7;
}
.secondary {
  background: white;
  border: 1px solid var(--line);
}
.secondary:hover {
  background: #f1f1ff;
}
.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.375rem;
  font-size: 0.875rem;
  color: #646d85;
}
.social-links a:hover {
  color: var(--blue);
}
.robot-playground {
  position: relative;
  height: 31.875rem;
  isolation: isolate;
  min-width: 0;
}
.scene-blob {
  position: absolute;
  inset: 2.1875rem 0.75rem 3rem 0.75rem;
  background: #eeeffc;
  border-radius: 45% 55% 55% 45%/50% 45% 55% 50%;
  transform: rotate(-8deg);
  z-index: -1;
}
.robot-stage {
  position: absolute;
  inset: 0 0 2.0625rem;
  touch-action: pan-y;
}
.robot-stage canvas {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.robot-fallback {
  position: absolute;
  inset: 0;
  object-fit: contain;
  width: 100%;
  height: 100%;
}
.robot-stage.ready .robot-fallback {
  opacity: 0;
  visibility: hidden;
}
.scene-doodle {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  line-height: 1;
  color: #a9ace6;
}
.doodle-one {
  top: 4.375rem;
  left: 1.25rem;
  font-size: 2.125rem;
  transform: rotate(17deg);
}
.doodle-two {
  top: 0.75rem;
  right: 3.125rem;
  font-size: 2.3125rem;
  color: #efb08a;
}
.doodle-three {
  right: 0;
  bottom: 8.75rem;
  font-size: 1.5rem;
  color: #9fc3ba;
}
.speech-bubble {
  position: absolute;
  right: 0;
  top: 3rem;
  background: #fff;
  padding: 0.75rem 1.0625rem;
  border: 1px solid #e7e8f2;
  border-radius: 0.9375rem 0.9375rem 0.9375rem 2px;
  transform: rotate(6deg);
  font-family: var(--hand);
  font-size: 1.6875rem;
  line-height: 1.1;
  z-index: 4;
  box-shadow: 0 0.5rem 1.25rem #4b507605;
  transition: transform 0.25s;
}
.speech-bubble.greeting {
  transform: rotate(-3deg) translateY(-0.3125rem);
}
.scene-controls {
  position: absolute;
  bottom: 1.125rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.9375rem;
  z-index: 5;
}
.scene-controls button {
  background: #fff;
  border: 1px solid #dfe3f4;
  border-radius: 1.875rem;
  font-size: 0.8125rem;
  padding: 0.4375rem 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.scene-controls button:hover {
  border-color: #9c9fe0;
  background: #f7f7ff;
}
.scene-controls .motion-button {
  background: transparent;
  border-color: transparent;
  color: #6c7590;
  padding: 0.4375rem 0;
  font-size: 0.75rem;
}
.scene-caption {
  position: absolute;
  bottom: -1.0625rem;
  width: 100%;
  text-align: center;
  font-size: 0.8125rem;
  color: #81879e;
}
.topic-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  border-block: 1px solid var(--line);
  padding-block: 1.5625rem;
  font-size: 0.875rem;
  color: #626b81;
}
.topic-strip > span:first-child {
  font-size: 0.8125rem;
  color: #81879a;
}
.topic {
  display: flex;
  gap: 0.5625rem;
  align-items: center;
}
.dot {
  height: 0.4375rem;
  width: 0.4375rem;
  border-radius: 50%;
  display: inline-block;
}
.dot.blue {
  background: #8b8ede;
}
.dot.peach {
  background: #e8b28f;
}
.dot.purple {
  background: #b498d7;
}
.about {
  display: grid;
  grid-template-columns: 11.25rem 1fr;
  gap: 4.0625rem;
  align-items: center;
}
.about-photo {
  border: 1px solid #ececf4;
  background: #fff;
  border-radius: 0.3125rem;
  padding: 0.5625rem 0.5625rem 0;
  transform: rotate(-5deg);
  box-shadow: 0 0.5rem 1.875rem #252c5010;
}
.about-photo img {
  width: 100%;
  height: 11.5625rem;
  object-fit: cover;
  object-position: 62% 50%;
  border-radius: 0.1875rem;
}
.about-photo span {
  display: block;
  font-family: var(--hand);
  font-size: 1.125rem;
  color: #6f7593;
  text-align: center;
  padding: 0.5rem 0;
}
.about-copy h2 {
  font-size: 2.3125rem;
  margin-bottom: 1.4375rem;
}
.about-copy p:not(.section-kicker) {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--muted);
  margin-top: 0.875rem;
}
.about-copy strong {
  font-weight: 550;
  color: #454d66;
}
.about-copy a {
  color: #5e61bd;
  text-decoration: underline;
  text-decoration-color: #d0d2ec;
  text-underline-offset: 0.1875rem;
}
.publications {
  background: #f6f7fc;
  border-block: 1px solid #eaecf4;
}
.publication-controls {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: center;
  margin-top: 2.125rem;
  margin-bottom: 0.3125rem;
}
.filters {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
}
.filters button {
  font-size: 0.8125rem;
  padding: 0.5625rem 0.875rem;
  border-radius: 0.4375rem;
  background: none;
  border: 1px solid transparent;
  transition: 0.2s;
}
.filters button span {
  margin-left: 0.4375rem;
  opacity: 0.6;
}
.filters button[aria-pressed="true"] {
  color: #fff;
  background: #6264d5;
}
.filters button:hover:not([aria-pressed="true"]) {
  background: #eaeafa;
}
.filter-count {
  font-size: 0.8125rem;
  color: #7d859a;
  white-space: nowrap;
}
.publication-grid {
  display: flex;
  flex-direction: column;
}
.pub {
  display: grid;
  grid-template-columns: 29% minmax(0, 1fr);
  gap: 2.3125rem;
  padding: 2.3125rem 0;
  border-bottom: 1px solid #e0e4ef;
  align-items: start;
}
.pub:last-child {
  border-bottom: 0;
  padding-bottom: 0.9375rem;
}
.pub-media {
  aspect-ratio: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 0.8125rem;
  background: #fff;
  border: 1px solid #e3e6ee;
  overflow: hidden;
  isolation: isolate;
}
.pub-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s;
}
.pub-media.contain {
  padding: 0.4375rem;
}
.pub-media.photo img {
  object-fit: cover;
}
.pub-media:hover img {
  transform: scale(1.025);
}
.zoom-hint {
  position: absolute;
  right: 0.5625rem;
  bottom: 0.5625rem;
  padding: 0.1875rem 0.5rem;
  background: #ffffffed;
  border: 1px solid #e7e8f3;
  border-radius: 0.375rem;
  font-size: 0.6875rem;
  opacity: 0;
  transform: translateY(0.1875rem);
  transition: 0.2s;
  color: #4b526c;
}
.pub-media:hover .zoom-hint,
.pub-media:focus-visible .zoom-hint {
  opacity: 1;
  transform: none;
}
.pub-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.pub-type {
  font-size: 0.75rem;
  color: #6265ab;
  font-weight: 500;
}
.pub-type.review {
  color: #94759f;
}
.pub-type.report {
  color: #aa7a56;
}
.pub-year {
  font-size: 0.75rem;
  color: #858b9d;
}
.pub h3 {
  font-size: 1.5rem;
  line-height: 1.32;
  letter-spacing: -0.55px;
  font-weight: 550;
}
.pub h3 a:hover {
  color: var(--blue);
}
.pub-authors {
  font-size: 0.875rem;
  line-height: 1.8;
  color: #777f94;
  margin-top: 0.8125rem;
}
.pub-authors strong {
  color: #555b98;
  font-weight: 650;
}
.author-list summary {
  cursor: pointer;
  list-style-position: outside;
  margin-left: 0.875rem;
}
.author-list[open] p {
  margin-top: 0.5rem;
}
.pub-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #697185;
  margin-top: 0.75rem;
}
.pub-contribution {
  font-size: 0.6875rem;
  letter-spacing: 0.7px;
  font-weight: 500;
  color: #7a839d;
  margin-top: 0.8125rem;
}
.pub-links {
  display: flex;
  gap: 1.0625rem;
  flex-wrap: wrap;
  margin-top: 1.0625rem;
}
.pub-links a {
  font-size: 0.8125rem;
  color: #535c8e;
  display: flex;
  align-items: center;
  gap: 0.4375rem;
  border-bottom: 1px solid #cfd4e8;
  line-height: 1.8;
}
.pub-links a:hover {
  color: var(--blue);
  border-color: var(--blue);
}
.pub-unavailable {
  font-size: 0.8125rem;
  color: #7d8496;
  margin-top: 1rem;
}
.publication-note {
  font-size: 0.75rem;
  color: #7e8599;
  margin-top: 1.5625rem;
}
.figure-dialog {
  border: 0;
  border-radius: 1.0625rem;
  padding: 3.4375rem 1.5625rem 1.3125rem;
  width: min(78.125rem, calc(100vw - 3.125rem));
  max-height: 92vh;
  background: #fff;
  box-shadow: 0 1.5625rem 6.25rem #171d5233;
  color: var(--ink);
}
.figure-dialog::backdrop {
  background: #20263bb3;
  backdrop-filter: blur(0.5rem);
}
.figure-dialog > img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
}
.figure-dialog > p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 1.0625rem;
  max-width: 59.375rem;
}
.close-figure {
  position: absolute;
  right: 1.25rem;
  top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 0;
  background: #f1f2f8;
  border-radius: 1.25rem;
  padding: 0.3125rem 0.8125rem;
  font-size: 0.8125rem;
}
.close-figure span {
  font-size: 1.375rem;
  line-height: 1;
}
.current-work {
  border-bottom: 1px solid var(--line);
}
.small-note {
  font-size: 1.875rem;
  letter-spacing: 0;
  color: #8b87b6;
  display: inline-block;
  transform: rotate(-8deg);
  margin-left: 1.375rem;
}
.in-progress {
  font-size: 0.8125rem;
  color: #79809a;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.in-progress i {
  width: 0.4375rem;
  height: 0.4375rem;
  background: #a7bfb1;
  border-radius: 50%;
  box-shadow: 0 0 0 0.3125rem #a7bfb111;
}
.experience-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 4rem;
  margin-top: 2.5rem;
}
.timeline-entry {
  position: relative;
  border-left: 1px solid #e3e5f0;
  margin-left: 1.375rem;
  padding-left: 2.1875rem;
  padding-bottom: 1.8125rem;
}
.timeline-entry:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}
.timeline-entry > summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}
.timeline-entry > summary::-webkit-details-marker {
  display: none;
}
.timeline-mark {
  position: absolute;
  left: -3.625rem;
  top: 0;
  display: grid;
  place-items: center;
  width: 2.6875rem;
  height: 2.6875rem;
  border-radius: 0.75rem;
  background: #f7e9df;
  color: #b28f75;
  font-size: 1.0625rem;
  box-shadow: 0 0 0 0.4375rem var(--bg);
}
.timeline-mark.ntu {
  background: #e7edfa;
  color: #8598be;
}
.timeline-mark.cuhk {
  background: #f0e7fa;
  color: #a28bb5;
}
.timeline time {
  font-size: 0.6875rem;
  color: #858b9e;
  letter-spacing: 0.3px;
  display: block;
  margin-bottom: 0.4375rem;
}
.timeline h3 {
  font-size: 1.25rem;
  line-height: 1.4;
  letter-spacing: -0.4px;
  font-weight: 500;
}
.timeline summary p {
  font-size: 0.875rem;
  color: #6e778b;
  margin-top: 0.3125rem;
}
.timeline summary div > span {
  font-size: 0.75rem;
  color: #81899d;
  display: block;
  margin-top: 0.3125rem;
}
.timeline-toggle {
  font-size: 1.3125rem;
  color: #979bb8;
  margin-left: auto;
  padding: 0.4375rem 0 0 0.625rem;
  transition: transform 0.25s;
}
.timeline-entry[open] .timeline-toggle {
  transform: rotate(45deg);
}
.timeline-more {
  margin-top: 1rem;
  background: #f2f3fa;
  border-left: 2px solid #c5c8ea;
  padding: 0.875rem 1.0625rem;
  font-size: 0.875rem;
  line-height: 1.8;
  color: #6c758e;
  animation: drawer-in 0.3s ease both;
}
.timeline-entry summary:hover h3 {
  color: var(--blue);
}
.milestones {
  align-self: start;
  padding: 1.75rem 1.8125rem;
  background: #f1f2fa;
  border: 1px solid #e7e9f4;
  border-radius: 1.0625rem;
}
.milestones > h3 {
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin-bottom: 1.25rem;
}
.milestones > div {
  border-top: 1px solid #dfe3f0;
  padding-top: 1.25rem;
  margin-top: 1.25rem;
}
.milestones time {
  font-size: 0.6875rem;
  color: #8188a0;
}
.milestones h4 {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
  margin-top: 0.375rem;
}
.milestones p {
  font-size: 0.8125rem;
  color: #7c859d;
  margin-top: 0.375rem;
}
.milestones a:hover {
  color: var(--blue);
}
.note-section {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 0;
  background: #eeecf9;
  border: 1px solid #e7e3f3;
  border-radius: 1.5rem;
  padding: 2.4375rem 3rem 1.75rem;
  position: relative;
  overflow: hidden;
  min-height: 24.0625rem;
  isolation: isolate;
}
.note-paper {
  position: relative;
  z-index: 2;
  min-width: 0;
  container-type: inline-size;
}
.note-topline {
  display: flex;
  justify-content: space-between;
  font-size: 0.625rem;
  letter-spacing: 1.4px;
  color: #8b82a9;
  max-width: 34.375rem;
  margin-bottom: 1.1875rem;
}
.note-count {
  letter-spacing: 1px;
}
.note-section h2 {
  font-family: var(--hand);
  font-size: min(var(--note-font-size, 5.4375rem), 16cqi);
  white-space: nowrap;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -2px;
  max-width: 40.625rem;
  color: #484563;
  margin: 1.0625rem 0 1.5rem;
  transform: rotate(-3deg);
  transform-origin: left center;
  min-height: 11.25rem;
  transition:
    opacity 0.16s,
    translate 0.16s;
}
.note-section h2[data-length="long"] {
  font-size: min(var(--note-font-size, 5.4375rem), 13cqi);
}
.note-section h2 span {
  white-space: nowrap;
  color: #8174ba;
}
.note-section.changing h2 {
  opacity: 0;
  translate: 0 0.5rem;
}
.note-bottomline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 32.5rem;
  gap: 1.25rem;
  margin-top: 1.5625rem;
}
.note-signature {
  font: 1.9375rem var(--hand);
  color: #8b80ae;
  transform: rotate(-8deg);
}
.next-note {
  font-size: 0.75rem;
  border: 0;
  background: none;
  color: #797194;
  padding: 0.5rem 0;
  display: flex;
  gap: 0.9375rem;
  align-items: center;
  border-bottom: 1px solid #cbc5df;
}
.next-note:hover {
  color: #55517b;
  border-color: #8b83b0;
}
.next-note span {
  font-size: 1.125rem;
}
.note-garden {
  position: relative;
  min-height: 19.375rem;
  transform: translateX(0.5rem);
}
.garden-flower {
  width: 12.5rem;
  height: 18.125rem;
  position: absolute;
  left: 50%;
  top: 0.625rem;
  translate: -50% 0;
  transform: rotate(8deg);
  transform-origin: 50% 100%;
  animation: stem-sway 7s ease-in-out infinite alternate;
}
.petals {
  position: absolute;
  width: 11.25rem;
  height: 11.25rem;
  left: 0.625rem;
  top: 0;
  z-index: 2;
  animation: petal-turn 40s linear infinite;
}
.petals > i {
  position: absolute;
  top: 0;
  left: 3.6875rem;
  width: 3.875rem;
  height: 6.25rem;
  border-radius: 55%;
  background: #beb0e1;
  transform-origin: 1.9375rem 5.625rem;
  box-shadow: inset -0.25rem -0.25rem 0 #a599cd18;
}
.petals > i:nth-child(2) {
  transform: rotate(60deg);
}
.petals > i:nth-child(3) {
  transform: rotate(120deg);
}
.petals > i:nth-child(4) {
  transform: rotate(180deg);
}
.petals > i:nth-child(5) {
  transform: rotate(240deg);
}
.petals > i:nth-child(6) {
  transform: rotate(300deg);
}
.petals > b {
  position: absolute;
  top: 3.625rem;
  left: 3.625rem;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: #ffe1aa;
  box-shadow: inset -0.1875rem -0.25rem 0 #efc98f33;
  animation: petal-turn 40s linear infinite reverse;
}
.petals > b > span {
  position: absolute;
  top: 1.4375rem;
  left: 1.25rem;
  width: 0.25rem;
  height: 0.375rem;
  border-radius: 0.1875rem;
  background: #b49870;
}
.petals > b > span:nth-child(2) {
  left: 2.5rem;
}
.petals em {
  position: absolute;
  top: 2rem;
  left: 1.6875rem;
  width: 0.8125rem;
  height: 0.5625rem;
  border-bottom: 2px solid #b49870;
  border-radius: 50%;
  transform: rotate(-5deg);
}
.flower-stem {
  position: absolute;
  width: 0.5625rem;
  height: 11.5625rem;
  left: 6rem;
  top: 6.375rem;
  background: #a5b9a9;
  border-radius: 50%;
  transform: rotate(-7deg);
}
.flower-leaf {
  position: absolute;
  width: 3.5625rem;
  height: 1.875rem;
  background: #b2c2b3;
  border-radius: 0 90% 0 90%;
  left: 2.75rem;
  top: 12.125rem;
  transform: rotate(22deg);
}
.leaf-right {
  left: 6.25rem;
  top: 13.9375rem;
  transform: rotate(-36deg) scaleX(-1);
  background: #c1cdbb;
}
.garden-note {
  position: absolute;
  right: 0.25rem;
  bottom: 0;
  font-size: 1.375rem;
  line-height: 1.05;
  color: #9589b0;
  transform: rotate(7deg);
}
.garden-spark {
  position: absolute;
  color: #b6a4d3;
  font-size: 1.8125rem;
  animation: spark-float 5s ease-in-out infinite alternate;
}
.spark-one {
  top: 2.625rem;
  left: 0.25rem;
}
.spark-two {
  right: 0.3125rem;
  top: 6.4375rem;
  font-size: 2.875rem;
  animation-delay: -2s;
}
.spark-three {
  left: 2.25rem;
  bottom: 3.125rem;
  font-size: 1.125rem;
  animation-delay: -4s;
}
.garden-orbit {
  position: absolute;
  inset: 0.9375rem 0 0.9375rem;
  border: 1px dashed #d1c7e7;
  border-radius: 50%;
  transform: rotate(-25deg);
  opacity: 0.6;
}
.note-section:hover .petals {
  animation-duration: 20s;
}
.note-section:hover .petals > b {
  animation-duration: 20s;
}
.note-section.celebrate .garden-spark {
  animation: spark-pop 0.8s ease both;
}
.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.1875rem;
  padding: 4.0625rem 0 2.5rem;
}
.footer-main h2 {
  font-size: 2.5rem;
}
.footer-main p {
  font-size: 0.9375rem;
  color: #7b8398;
  margin-top: 0.8125rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  border-top: 1px solid var(--line);
  padding: 1.5625rem 0 2rem;
  font-size: 0.8125rem;
  color: #82899e;
}
.footer-bottom a:hover {
  color: var(--blue);
}
@keyframes drawer-in {
  from {
    opacity: 0;
    translate: 0 -0.5rem;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes petal-turn {
  to {
    rotate: 360deg;
  }
}
@keyframes stem-sway {
  to {
    transform: rotate(-4deg);
  }
}
@keyframes spark-float {
  to {
    translate: 0 -0.5rem;
    rotate: 15deg;
  }
}
@keyframes spark-pop {
  50% {
    scale: 1.6;
    rotate: 45deg;
  }
  100% {
    scale: 1;
    rotate: 0deg;
  }
}
body.motion-paused *,
body.motion-paused *:before,
body.motion-paused *:after {
  animation-play-state: paused !important;
  scroll-behavior: auto !important;
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 4.5rem);
  }
  .hero h1 {
    font-size: 4.6875rem;
    letter-spacing: -0.25rem;
  }
  .hero {
    gap: 0.9375rem;
  }
  .hero-statement {
    font-size: 1.875rem;
  }
  .hero-description {
    font-size: 1.0625rem;
  }
  .robot-playground {
    height: 29.0625rem;
  }
  .desktop-nav {
    gap: 1.25rem;
    font-size: 0.8125rem;
  }
  .hero-actions .button {
    font-size: 0.875rem;
    padding: 0.75rem 1.0625rem;
    gap: 1rem;
  }
  .pub {
    grid-template-columns: 17.1875rem minmax(0, 1fr);
    gap: 1.8125rem;
  }
  .pub h3 {
    font-size: 1.375rem;
  }
  .about {
    gap: 2.8125rem;
  }
  .note-section {
    padding: 2.1875rem;
  }
  .note-section h2 {
    --note-font-size: 4.75rem;
  }
  .note-garden {
    transform: scale(0.88);
    transform-origin: center;
  }
  .experience-grid {
    gap: 2.5rem;
  }
}
@media (max-width: 850px) {
  .wrap {
    width: calc(100% - 3rem);
  }
  .site-header {
    height: 5.1875rem;
  }
  .brand {
    font-size: 1.1875rem;
  }
  .desktop-nav {
    gap: 1rem;
    font-size: 0.75rem;
  }
  .hero {
    padding-block: 2.375rem 3rem;
  }
  .hero h1 {
    font-size: 4.125rem;
    letter-spacing: -0.225rem;
  }
  .hero-statement {
    font-size: 1.625rem;
  }
  .hero-description {
    font-size: 1rem;
  }
  .hero-affiliation {
    font-size: 0.75rem;
  }
  .hero-actions {
    gap: 0.625rem;
  }
  .hero-actions .button {
    font-size: 0.75rem;
    padding: 0.6875rem 0.75rem;
    gap: 0.625rem;
  }
  .social-links {
    font-size: 0.75rem;
    gap: 1.0625rem;
  }
  .robot-playground {
    height: 25.625rem;
  }
  .speech-bubble {
    font-size: 1.5rem;
    right: -0.3125rem;
    top: 2.1875rem;
  }
  .speech-bubble.greeting {
    font-size: 1.25rem;
  }
  .scene-controls {
    gap: 0.625rem;
    bottom: 0.75rem;
  }
  .scene-controls button {
    font-size: 0.6875rem;
    padding: 0.4375rem 0.6875rem;
  }
  .scene-controls .motion-button {
    font-size: 0.625rem;
  }
  .scene-caption {
    font-size: 0.75rem;
  }
  .doodle-two {
    right: 0.9375rem;
    font-size: 1.875rem;
  }
  .doodle-one {
    font-size: 1.625rem;
    left: 0.3125rem;
  }
  .topic-strip {
    font-size: 0.75rem;
    gap: 1rem;
  }
  .topic-strip > span:first-child {
    display: none;
  }
  .section {
    padding-block: 4.0625rem;
  }
  h2 {
    font-size: 2.3125rem;
  }
  .about {
    grid-template-columns: 8.75rem 1fr;
    gap: 1.875rem;
  }
  .about-photo img {
    height: 9.6875rem;
  }
  .about-photo span {
    font-size: 1rem;
  }
  .about-copy h2 {
    font-size: 1.9375rem;
  }
  .about-copy p:not(.section-kicker) {
    font-size: 1rem;
  }
  .pub {
    grid-template-columns: 14.375rem minmax(0, 1fr);
    gap: 1.5625rem;
    padding: 1.8125rem 0;
  }
  .pub h3 {
    font-size: 1.3125rem;
  }
  .pub-description {
    font-size: 0.9375rem;
  }
  .pub-authors {
    font-size: 0.8125rem;
  }
  .pub-contribution {
    font-size: 0.6875rem;
    letter-spacing: 0.4px;
  }
  .pub-meta {
    gap: 0.625rem;
  }
  .pub-type,
  .pub-year {
    font-size: 0.6875rem;
  }
  .pub-links {
    gap: 0.875rem;
  }
  .pub-links a {
    font-size: 0.8125rem;
  }
  .experience-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 1.875rem;
  }
  .timeline h3 {
    font-size: 1.125rem;
  }
  .timeline summary p {
    font-size: 0.8125rem;
  }
  .milestones {
    padding: 1.5rem;
  }
  .milestones > h3 {
    font-size: 1.25rem;
  }
  .milestones h4 {
    font-size: 0.9375rem;
  }
  .note-section {
    padding: 1.875rem;
    min-height: 21.5625rem;
    grid-template-columns: 1.8fr 1fr;
  }
  .note-section h2 {
    --note-font-size: 4.25rem;
    min-height: 9.375rem;
  }
  .note-garden {
    transform: scale(0.8);
    transform-origin: 40% 30%;
    min-height: 17.5rem;
  }
  .garden-note {
    font-size: 1.375rem;
    right: -1.25rem;
    bottom: -1.25rem;
  }
  .note-topline {
    font-size: 0.5625rem;
  }
  .note-bottomline {
    gap: 0.9375rem;
  }
  .next-note {
    font-size: 0.6875rem;
    gap: 0.5625rem;
  }
  .footer-main h2 {
    font-size: 2.1875rem;
  }
}
@media (max-width: 700px) {
  .desktop-nav {
    display: none;
  }
  .site-header {
    height: 5rem;
  }
  .brand {
    font-size: 1.125rem;
  }
  .brand-robot {
    width: 1.75rem;
    height: 1.5rem;
    margin-right: 0.5625rem;
    gap: 0.375rem;
  }
  .header-actions {
    gap: 1rem;
  }
  .menu-button {
    display: flex;
    gap: 0.375rem;
    align-items: center;
    font-size: 0.75rem;
    padding: 0.5rem 0;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 0.625rem;
    padding-top: 2rem;
    padding-bottom: 1.5625rem;
  }
  .hero h1 {
    font-size: 4.875rem;
    letter-spacing: -0.25rem;
    margin-bottom: 1.5625rem;
  }
  .hero-statement {
    font-size: 1.9375rem;
  }
  .hero-description {
    font-size: 1.125rem;
    max-width: 32.5rem;
    line-height: 1.8;
    margin-top: 1.375rem;
  }
  .hero-affiliation {
    font-size: 0.875rem;
    margin-top: 1.4375rem;
  }
  .hero-actions {
    margin-top: 1.625rem;
    gap: 0.75rem;
  }
  .hero-actions .button {
    font-size: 0.8125rem;
    padding: 0.8125rem 0.875rem;
    gap: 0.75rem;
  }
  .social-links {
    font-size: 0.875rem;
    gap: 1.4375rem;
    margin-top: 1.3125rem;
  }
  .robot-playground {
    width: 100%;
    max-width: 28.75rem;
    height: 25.3125rem;
    justify-self: center;
    margin-top: 0.9375rem;
  }
  .robot-stage {
    inset: -0.9375rem 0 1.75rem;
  }
  .scene-blob {
    inset: 0.9375rem 0.375rem 2.1875rem;
  }
  .speech-bubble {
    right: 0.625rem;
    top: 1.0625rem;
    font-size: 1.625rem;
  }
  .speech-bubble.greeting {
    font-size: 1.375rem;
  }
  .doodle-one {
    top: 2.5rem;
    left: 1.25rem;
  }
  .doodle-two {
    top: 0;
    right: 9.5625rem;
  }
  .scene-controls {
    bottom: 0.75rem;
    gap: 1rem;
  }
  .scene-controls button {
    font-size: 0.8125rem;
    padding: 0.4375rem 0.8125rem;
  }
  .scene-controls .motion-button {
    font-size: 0.6875rem;
  }
  .scene-caption {
    bottom: -0.9375rem;
  }
  .topic-strip {
    flex-wrap: wrap;
    justify-content: center;
    padding-block: 1.375rem;
    gap: 0.625rem 1.375rem;
    margin-top: 1.0625rem;
    font-size: 0.8125rem;
  }
  .section {
    padding-block: 3.4375rem;
  }
  .section-kicker {
    font-size: 0.6875rem;
    margin-bottom: 0.9375rem;
  }
  h2 {
    font-size: 2.25rem;
    letter-spacing: -1.3px;
  }
  .section-heading {
    flex-wrap: wrap;
    gap: 1.125rem;
  }
  .section-description {
    font-size: 1rem;
    margin-top: 1.0625rem;
  }
  .inline-link {
    font-size: 0.8125rem;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .about-photo {
    width: 8.125rem;
    justify-self: start;
    margin-left: 0.375rem;
  }
  .about-photo img {
    height: 8.1875rem;
  }
  .about-photo span {
    font-size: 1rem;
    padding: 0.375rem 0;
  }
  .about-copy h2 {
    font-size: 2.0625rem;
    margin-bottom: 1.3125rem;
  }
  .about-copy p:not(.section-kicker) {
    font-size: 1rem;
    line-height: 1.9;
  }
  .publication-controls {
    display: block;
    margin-top: 1.75rem;
  }
  .filters {
    gap: 0.25rem;
  }
  .filters button {
    font-size: 0.75rem;
    padding: 0.5rem 0.625rem;
  }
  .filters button span {
    margin-left: 0.3125rem;
  }
  .filter-count {
    font-size: 0.75rem;
    display: block;
    margin-top: 0.875rem;
  }
  .pub {
    grid-template-columns: 1fr;
    gap: 1.4375rem;
    padding: 1.75rem 0 2.0625rem;
  }
  .pub-media {
    aspect-ratio: 1.7;
    border-radius: 0.75rem;
  }
  .pub-media.contain {
    padding: 0.5rem;
  }
  .pub h3 {
    font-size: 1.5rem;
    line-height: 1.35;
    letter-spacing: -0.5px;
  }
  .pub-meta {
    margin-bottom: 0.75rem;
  }
  .pub-type,
  .pub-year {
    font-size: 0.75rem;
  }
  .pub-authors {
    font-size: 0.8125rem;
    line-height: 1.9;
    margin-top: 0.8125rem;
  }
  .pub-description {
    font-size: 1rem;
    line-height: 1.8;
    margin-top: 0.875rem;
  }
  .pub-contribution {
    font-size: 0.625rem;
    line-height: 1.6;
    letter-spacing: 0.4px;
  }
  .pub-links {
    gap: 0.8125rem 1.25rem;
    margin-top: 1.125rem;
  }
  .pub-links a {
    font-size: 0.875rem;
  }
  .zoom-hint {
    opacity: 1;
    transform: none;
  }
  .small-note {
    font-size: 1.75rem;
    margin-left: 1.1875rem;
  }
  .in-progress {
    font-size: 0.75rem;
  }
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 2.1875rem;
    margin-top: 2.0625rem;
  }
  .timeline-entry {
    padding-left: 2rem;
    padding-bottom: 1.75rem;
    margin-left: 1.1875rem;
  }
  .timeline-mark {
    left: -3.3125rem;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }
  .timeline h3 {
    font-size: 1.25rem;
  }
  .timeline summary p {
    font-size: 0.875rem;
  }
  .timeline summary div > span {
    font-size: 0.75rem;
  }
  .timeline time {
    font-size: 0.6875rem;
  }
  .timeline-more {
    font-size: 0.875rem;
    padding: 0.875rem;
  }
  .milestones {
    padding: 1.6875rem;
  }
  .milestones > h3 {
    font-size: 1.4375rem;
  }
  .milestones h4 {
    font-size: 1.0625rem;
  }
  .milestones p {
    font-size: 0.875rem;
  }
  .note-section {
    grid-template-columns: 1fr;
    padding: 1.8125rem 1.6875rem 1.4375rem;
    border-radius: 1.1875rem;
    min-height: 33.75rem;
  }
  .note-section h2 {
    --note-font-size: clamp(2.625rem, 14vw, 4rem);
    min-height: 8.5625rem;
    max-width: 100%;
    margin: 1.375rem 0 1.25rem;
    letter-spacing: -1px;
  }
  .note-topline {
    font-size: 0.625rem;
  }
  .note-bottomline {
    margin-top: 0.8125rem;
  }
  .note-signature {
    font-size: 1.875rem;
  }
  .next-note {
    font-size: 0.75rem;
    gap: 0.75rem;
  }
  .note-garden {
    min-height: 14.375rem;
    transform: none;
    margin-top: 0.3125rem;
  }
  .garden-flower {
    scale: 0.72;
    transform-origin: 50% 0;
    left: 62%;
    top: 0;
  }
  .garden-orbit {
    inset: 0.75rem 0.625rem 0.625rem 2.1875rem;
    max-width: 16.875rem;
  }
  .spark-one {
    top: 2.5rem;
    left: 1.25rem;
  }
  .spark-two {
    right: 0.625rem;
    top: 5rem;
    font-size: 2.1875rem;
  }
  .spark-three {
    left: 4.375rem;
    bottom: 1.0625rem;
  }
  .garden-note {
    left: 0;
    right: auto;
    bottom: 0.75rem;
    font-size: 1.5rem;
    transform: rotate(-6deg);
  }
  .footer-main {
    display: block;
    padding: 3.125rem 0 2.1875rem;
  }
  .footer-main h2 {
    font-size: 2.375rem;
  }
  .footer-main p {
    font-size: 0.9375rem;
    max-width: 20.625rem;
  }
  .footer-main .button {
    margin-top: 1.5rem;
  }
  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-size: 0.75rem;
    gap: 0.8125rem;
  }
  .footer-bottom > a:nth-child(2) {
    grid-row: 2;
    grid-column: 1/-1;
  }
  .footer-bottom > a:last-child {
    text-align: right;
  }
  .figure-dialog {
    width: calc(100vw - 1.5rem);
    padding: 3.4375rem 0.8125rem 1rem;
  }
  .figure-dialog > p {
    font-size: 0.75rem;
  }
  .figure-dialog > img {
    max-height: 68vh;
  }
}
@media (max-width: 380px) {
  .wrap {
    width: calc(100% - 2.25rem);
  }
  .brand {
    font-size: 1rem;
  }
  .brand-robot {
    width: 1.5rem;
    height: 1.375rem;
    margin-right: 0.4375rem;
  }
  .header-actions {
    gap: 0.625rem;
  }
  .menu-button {
    font-size: 0.6875rem;
  }
  .hero h1 {
    font-size: 4.125rem;
    letter-spacing: -0.225rem;
  }
  .hero-statement {
    font-size: 1.75rem;
  }
  .hero-description {
    font-size: 1.0625rem;
  }
  .hero-actions .button {
    font-size: 0.75rem;
    padding: 0.75rem 0.6875rem;
    gap: 0.625rem;
  }
  .social-links {
    font-size: 0.8125rem;
    gap: 1.1875rem;
  }
  .robot-playground {
    height: 21.875rem;
  }
  .speech-bubble {
    font-size: 1.4375rem;
    right: 0;
  }
  .scene-caption {
    font-size: 0.6875rem;
  }
  .scene-controls .motion-button {
    font-size: 0.625rem;
  }
  .topic-strip {
    font-size: 0.75rem;
    gap: 0.625rem 1rem;
  }
  .section-heading h2 {
    font-size: 2rem;
  }
  .about-copy h2 {
    font-size: 1.875rem;
  }
  .pub h3 {
    font-size: 1.375rem;
  }
  .small-note {
    font-size: 1.5625rem;
    margin-left: 0.8125rem;
  }
  .note-section {
    padding: 1.5625rem 1.4375rem 1.25rem;
  }
  .note-section h2 {
    --note-font-size: clamp(2.625rem, 14vw, 3.625rem);
    min-height: 6.875rem;
  }
  .next-note {
    font-size: 0.6875rem;
    gap: 0.4375rem;
  }
  .note-garden {
    min-height: 14.0625rem;
  }
  .note-section {
    min-height: 30.9375rem;
  }
  .garden-flower {
    left: 64%;
    scale: 0.68;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  body {
    font-size: 0.75rem;
    background: #fff;
  }
  .wrap {
    width: 100%;
  }
  .site-header,
  .mobile-nav,
  .hero-actions,
  .robot-playground,
  .social-links,
  .topic-strip,
  .about-photo,
  .publication-controls,
  .pub-media,
  .note-section,
  .next-note,
  .footer-main .button,
  .timeline-toggle {
    display: none !important;
  }
  .hero {
    display: block;
    padding: 0;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero-statement {
    font-size: 1.5rem;
  }
  .hero-description {
    font-size: 0.8125rem;
  }
  .about {
    display: block;
  }
  .section {
    padding-block: 1.5625rem;
  }
  h2 {
    font-size: 1.625rem;
  }
  .about-copy p:not(.section-kicker) {
    font-size: 0.75rem;
  }
  .publications {
    background: white;
    border: 0;
  }
  .pub {
    display: block;
    break-inside: avoid;
    padding: 1.0625rem 0;
  }
  .pub[hidden] {
    display: block !important;
  }
  .pub h3 {
    font-size: 1.0625rem;
  }
  .pub-authors,
  .pub-description {
    font-size: 0.6875rem;
  }
  .experience-grid {
    gap: 1.5625rem;
  }
  .timeline h3 {
    font-size: 0.9375rem;
  }
  .milestones {
    background: #fff;
  }
  .footer-main {
    padding-block: 1.5625rem;
  }
  .footer-main h2 {
    font-size: 1.5625rem;
  }
}

body.dialog-open {
  overflow: hidden;
}

/* The greeting is an intrinsic-width label, not a narrow text column. */
.speech-bubble,
.speech-bubble.greeting {
  width: max-content;
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1.25rem, 1.75vw, 1.75rem);
}
.robot-stage {
  cursor: grab;
}
.robot-stage:active {
  cursor: grabbing;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.research-story {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 6%;
  margin-top: 3.5rem;
  align-items: start;
}
.research-playground {
  position: sticky;
  top: 7vh;
  align-self: start;
  min-width: 0;
}
.playground-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-inline: 0.5rem;
  font-size: 1rem;
  color: #50566f;
}
.playground-hint {
  font-size: 0.8rem;
  color: #787ca0;
}
.research-stage {
  width: 100%;
  height: clamp(20rem, 33vw, 36rem);
  position: relative;
  cursor: grab;
  touch-action: pan-y;
}
.research-stage:active {
  cursor: grabbing;
}
.research-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.research-fallback {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.research-stage.ready .research-fallback {
  visibility: hidden;
}
.research-interaction {
  width: 84%;
  margin: -0.5rem auto 0;
}
.playback-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1rem;
}
.playback-heading output {
  color: #5d5ac6;
  font-weight: 500;
}
#research-replay {
  border: 0;
  border-bottom: 1px solid #b4b1db;
  padding: 0.35rem 0;
  background: none;
  color: #5d5ac6;
  font-size: 0.85rem;
}
#research-progress {
  display: block;
  width: 100%;
  margin: 1.1rem 0 0.6rem;
  height: 1.5rem;
  cursor: ew-resize;
  accent-color: #7770d5;
  background: transparent;
}
#research-progress:focus-visible {
  outline: 2px solid #7770d5;
  outline-offset: 4px;
  border-radius: 1rem;
}
.playback-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #85879d;
}
.playground-instruction {
  text-align: center;
  color: #686c83;
  font-size: 0.8rem;
  margin-top: 1.35rem;
}
.playground-footnote {
  text-align: center;
  color: #8a8c9e;
  font-size: 0.7rem;
  margin-top: 0.5rem;
}
.research-chapter {
  padding: 2.5rem 0 4.5rem;
  min-height: 37rem;
  scroll-margin-top: 4rem;
}
.research-chapter + .research-chapter {
  border-top: 1px solid var(--line);
  padding-top: 4.5rem;
}
.chapter-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: #787b92;
  margin-bottom: 1.6rem;
}
.chapter-eyebrow span {
  font-size: 0.9rem;
  letter-spacing: 0;
  color: #7770d5;
}
.research-chapter h3 {
  font-size: 2.7rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.055em;
  margin-bottom: 1.6rem;
}
.research-chapter > p:not(.chapter-eyebrow):not(.project-mentor),
.project-methods li {
  font-size: 1rem;
  line-height: 1.85;
  color: #697185;
}
.research-chapter > .chapter-intro {
  color: #424960 !important;
  font-size: 1.15rem !important;
  line-height: 1.65 !important;
  margin-bottom: 1rem;
}
.research-chapter .project-mentor {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #8a8199;
}
.project-methods {
  margin-top: 1.2rem;
}
.project-methods summary {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  cursor: pointer;
  list-style: none;
  color: #6460ac;
  font-size: 0.88rem;
  padding: 0.3rem 0;
}
.project-methods summary::-webkit-details-marker {
  display: none;
}
.project-methods summary span {
  transition: transform 0.2s;
}
.project-methods[open] summary span {
  transform: rotate(45deg);
}
.project-methods ul {
  margin: 0.7rem 0 0;
  padding-left: 1.2rem;
}
.project-methods li + li {
  margin-top: 0.6rem;
}
.project-methods strong {
  font-weight: 500;
  color: #4e5671;
}
@media (min-width: 1101px) {
  .hero {
    grid-template-columns: 1.05fr 1fr;
    gap: 4%;
  }
  .hero-description {
    max-width: 32rem;
  }
  .robot-playground {
    height: 33rem;
  }
  .about {
    grid-template-columns: 12rem 1fr;
    gap: 5rem;
  }
  .about-copy {
    max-width: 65ch;
  }
  .note-section h2 {
    max-width: none;
  }
}
@media (max-width: 850px) {
  .research-story {
    gap: 4%;
  }
  .research-stage {
    height: 23rem;
  }
  .research-chapter h3 {
    font-size: 2.1rem;
  }
  .research-interaction {
    width: 92%;
  }
  .playground-topline {
    font-size: 0.85rem;
  }
  .playground-hint {
    display: none;
  }
}
@media (max-width: 700px) {
  .speech-bubble,
  .speech-bubble.greeting {
    font-size: 1.4rem;
  }
  .research-story {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.5rem;
  }
  .research-playground {
    position: relative;
    top: auto;
    width: 100%;
    max-width: 32rem;
    margin: 0 auto;
  }
  .research-stage {
    height: clamp(17rem, 75vw, 25rem);
  }
  .research-chapter,
  .research-chapter + .research-chapter {
    min-height: 0;
    padding: 2.5rem 0;
  }
  .research-chapter h3 {
    font-size: clamp(2rem, 7.8vw, 2.7rem);
  }
  .research-chapter > p:not(.chapter-eyebrow):not(.project-mentor),
  .project-methods li {
    font-size: 1rem;
  }
  .chapter-eyebrow {
    margin-bottom: 1.2rem;
  }
  .research-interaction {
    width: 92%;
  }
  .playground-topline {
    font-size: 0.95rem;
  }
  .scene-caption {
    font-size: 0.75rem;
  }
}
@media print {
  html {
    font-size: 16px;
  }
  .research-story {
    display: block;
  }
  .research-playground {
    display: none;
  }
  .research-chapter,
  .research-chapter + .research-chapter {
    min-height: 0;
    padding-block: 1rem;
  }
}

html:has(body.motion-paused) {
  scroll-behavior: auto;
}

/* Quiet, original character illustrations in place of typographic paper covers. */
.pub-mascot {
  border: 0;
  background: transparent;
  border-radius: 0;
  isolation: isolate;
}
.buddy-art {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.pub-mascot .buddy-art {
  transition: transform 0.35s ease;
}
.pub-mascot:hover .buddy-art,
.pub-mascot:focus-visible .buddy-art {
  transform: translateY(-0.25rem);
}
.mascot-link {
  position: absolute;
  bottom: 0.7rem;
  right: 1.2rem;
  font-size: 1.25rem;
  color: #9694b5;
  opacity: 0;
  transition: opacity 0.2s;
}
.pub-mascot:hover .mascot-link,
.pub-mascot:focus-visible .mascot-link {
  opacity: 1;
}
.buddy-figure {
  transform-origin: 180px 205px;
}
.buddy-head {
  transform-origin: 180px 118px;
}
.buddy-eyes {
  transform-origin: 180px 86px;
}
.buddy-arm-left {
  transform-origin: 143px 143px;
}
.buddy-arm-right {
  transform-origin: 217px 143px;
}
.buddy-art-secrets .buddy-arm-left {
  transform: rotate(-27deg);
}
.buddy-art-secrets .buddy-arm-right {
  transform: rotate(27deg);
}
.buddy-art-compressibility .buddy-arm-left {
  transform: rotate(-24deg);
}
.buddy-art-compressibility .buddy-arm-right {
  transform: rotate(24deg);
}
.buddy-art-compressibility .buddy-head {
  transform: rotate(-7deg);
}
.buddy-art-rauie .buddy-arm-right {
  transform: rotate(-95deg);
}
.book-page {
  transform-origin: 180px 174px;
}
.node-one {
  transform-origin: 238px 69px;
}
.node-two {
  transform-origin: 266px 108px;
}
.node-three {
  transform-origin: 300px 73px;
}
.pub-mascot.is-visible .buddy-figure {
  animation: buddy-breathe 4.8s ease-in-out infinite;
}
.pub-mascot.is-visible .buddy-eyes,
.journey-visible .buddy-eyes {
  animation: buddy-blink 5.6s infinite;
}
.pub-mascot.is-visible .book-page {
  animation: buddy-page 4.8s ease-in-out infinite;
}
.pub-mascot.is-visible .node-trail {
  animation: buddy-signal 3s linear infinite;
}
.pub-mascot.is-visible .node-one,
.pub-mascot.is-visible .node-three {
  animation: buddy-node 3s ease-in-out infinite alternate;
}
.pub-mascot.is-visible .node-three {
  animation-delay: -1.5s;
}
.pub-mascot.is-visible:hover .buddy-head,
.pub-mascot.is-visible:focus-visible .buddy-head {
  animation: buddy-nod 0.8s ease-in-out;
}
.buddy-art-journey .buddy-arm-right {
  transform: rotate(-22deg);
}
.journey-buddy.is-travelling .buddy-leg {
  animation: buddy-step 0.36s ease-in-out infinite alternate;
}
.journey-buddy.is-travelling .leg-b {
  animation-delay: -0.36s;
}
.journey-buddy.is-travelling .buddy-arm-right {
  animation: buddy-wave 0.7s ease-in-out infinite alternate;
}
@keyframes buddy-breathe {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-4px) rotate(1deg);
  }
}
@keyframes buddy-blink {
  0%,
  42%,
  46%,
  100% {
    transform: scaleY(1);
  }
  44% {
    transform: scaleY(0.1);
  }
}
@keyframes buddy-page {
  0%,
  30%,
  100% {
    transform: scaleX(1);
    opacity: 1;
  }
  45%,
  68% {
    transform: scaleX(-0.8);
    opacity: 0.85;
  }
}
@keyframes buddy-signal {
  to {
    stroke-dashoffset: -36;
  }
}
@keyframes buddy-node {
  to {
    transform: scale(0.8);
  }
}
@keyframes buddy-nod {
  0%,
  100% {
    transform: rotate(0);
  }
  50% {
    transform: rotate(-8deg);
  }
}
@keyframes buddy-step {
  from {
    transform: translateY(-3px);
  }
  to {
    transform: translateY(2px);
  }
}
@keyframes buddy-wave {
  from {
    transform: rotate(-30deg);
  }
  to {
    transform: rotate(-65deg);
  }
}

/* A continuous career path, with a scroll-driven travelling companion. */
.journey-hint {
  font-size: 0.85rem;
  color: #84849e;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.experience-grid {
  grid-template-columns: 1.7fr 1fr;
  gap: 5%;
  margin-top: 3rem;
  align-items: start;
}
.timeline {
  --track-x: 2.2rem;
  --entry-indent: 7.2rem;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 2.4rem;
  bottom: 5rem;
  left: var(--track-x);
  width: 2px;
  background: #e2dfed;
}
.timeline.journey-ready::before {
  display: none;
}
.journey-rail {
  position: absolute;
  left: 0;
  top: 0;
  width: 5.5rem;
  height: 100%;
  pointer-events: none;
}
.journey-track {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.journey-track path {
  fill: none;
  stroke-linecap: round;
}
.journey-track-base {
  stroke: #d1cae4;
  stroke-width: 2;
  stroke-dasharray: 2 7;
}
.journey-track-fill {
  stroke: #978bce;
  stroke-width: 2.5;
}
.journey-buddy {
  position: absolute;
  left: 0;
  top: 0;
  width: 4rem;
  height: 6.1rem;
  z-index: 3;
  opacity: 0;
  transform: translate(
    calc(var(--buddy-x, 0px) - 2rem),
    calc(var(--buddy-y, 0px) - 3.05rem)
  );
  will-change: transform;
}
.journey-ready .journey-buddy {
  opacity: 1;
}
.timeline-entry,
.timeline-entry:last-child {
  margin-left: 0;
  border: 0;
  padding: 1.5rem 0 2rem var(--entry-indent);
}
.timeline-entry > summary {
  gap: 1rem;
}
.timeline-entry > summary > div {
  min-width: 0;
}
.timeline-entry + .timeline-entry > summary::after {
  content: "";
  position: absolute;
  top: -1.5rem;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.timeline-mark {
  top: 0.45rem;
  left: calc(var(--track-x) - var(--entry-indent) - 0.4375rem);
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #c5bfdf;
  box-shadow: 0 0 0 0.3rem var(--bg);
  transition:
    background 0.3s,
    border-color 0.3s;
}
.timeline-entry.is-current .timeline-mark {
  background: #9f96d6;
  border-color: #9f96d6;
}
.timeline time {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
  color: #8b819e;
}
.timeline h3 {
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.04em;
  transition: color 0.25s;
}
.timeline-entry.is-current h3 {
  color: #6d65b8;
}
.timeline summary p {
  font-size: 1rem;
  margin-top: 0.45rem;
}
.timeline summary div > span {
  font-size: 0.85rem;
  line-height: 1.65;
  margin-top: 0.4rem;
}
.timeline-toggle {
  font-size: 1.35rem;
  color: #aaa2c6;
}
.timeline-more {
  background: none;
  border: 0;
  padding: 0.1rem 1.5rem 0 0;
  margin-top: 1rem;
  font-size: 0.92rem;
}
.milestones {
  position: sticky;
  top: 4rem;
  background: none;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  padding: 1.5rem 0 1.5rem 2.8rem;
}
.milestones > h3 {
  font-size: 1.3rem;
}
.milestones h4 {
  font-size: 1.05rem;
}
.milestones time,
.milestones p {
  font-size: 0.8rem;
}
.milestones > div {
  border-top: 0;
  padding-top: 0;
  margin-top: 2.3rem;
}
.header-actions {
  display: none;
}
@media (max-width: 850px) {
  .timeline {
    --entry-indent: 5.3rem;
  }
  .timeline h3 {
    font-size: 1.35rem;
  }
  .timeline summary p {
    font-size: 0.9rem;
  }
  .milestones {
    padding-left: 1.5rem;
  }
}
@media (max-width: 700px) {
  .header-actions {
    display: flex;
  }
  .journey-hint {
    display: none;
  }
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .timeline {
    --track-x: 1.25rem;
    --entry-indent: 4rem;
  }
  .journey-rail {
    width: 3rem;
  }
  .journey-buddy {
    width: 2.6rem;
    height: 4rem;
    transform: translate(
      calc(var(--buddy-x, 0px) - 1.3rem),
      calc(var(--buddy-y, 0px) - 2rem)
    );
  }
  .timeline-entry,
  .timeline-entry:last-child {
    padding-top: 1.3rem;
    padding-bottom: 1.8rem;
  }
  .timeline h3 {
    font-size: 1.3rem;
  }
  .timeline summary p {
    font-size: 0.95rem;
  }
  .timeline summary div > span {
    font-size: 0.8rem;
  }
  .timeline time {
    font-size: 0.7rem;
  }
  .timeline-entry > summary {
    gap: 0.5rem;
  }
  .timeline-toggle {
    padding-left: 0;
  }
  .milestones {
    position: static;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 2rem 0 0;
  }
  .pub-mascot .buddy-art {
    max-height: 16rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .buddy-art *,
  .journey-buddy * {
    animation: none !important;
    transition: none !important;
  }
}
body.page-hidden .buddy-art * {
  animation-play-state: paused !important;
}
@media print {
  .journey-rail,
  .journey-hint,
  .timeline::before,
  .timeline-mark {
    display: none;
  }
  .timeline-entry,
  .timeline-entry:last-child {
    padding-left: 0;
  }
  .milestones {
    position: static;
  }
  .timeline h3 {
    font-size: 1rem;
  }
}
