:root {
  --ink: #10182f;
  --ink-soft: #26354b;
  --muted: #667184;
  --cyan: #08bfe8;
  --cyan-dark: #087d99;
  --cyan-pale: #e9faff;
  --violet: #7757ef;
  --violet-pale: #f0edff;
  --orange: #ff9b61;
  --orange-pale: #fff2e9;
  --green: #27b58a;
  --line: #dce6ec;
  --line-soft: #eaf0f4;
  --paper: #ffffff;
  --mist: #f5f8fa;
  --content: 88rem;
  --narrow: 72rem;
  --header-height: 5.25rem;
  --radius-sm: 1rem;
  --radius-md: 1.6rem;
  --radius-lg: 2.3rem;
  --shadow: 0 1.4rem 4rem rgb(16 24 47 / 9%);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Aptos, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

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

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

button,
input,
select {
  color: inherit;
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid rgb(8 191 232 / 42%);
  outline-offset: 4px;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  transform: translateY(-200%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 50%;
  display: flex;
  width: min(calc(100% - 3rem), var(--content));
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
}

.site-header::before {
  position: fixed;
  z-index: -1;
  inset: 0 50% auto;
  width: 100vw;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgb(255 255 255 / 0%);
  content: "";
  transform: translateX(-50%);
  transition: 220ms ease;
}

.site-header.is-scrolled::before {
  border-color: rgb(16 24 47 / 8%);
  background: rgb(255 255 255 / 88%);
  box-shadow: 0 0.6rem 2.4rem rgb(16 24 47 / 5%);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand__mark {
  position: relative;
  display: grid;
  width: 2.5rem;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgb(16 24 47 / 38%);
  border-radius: 50%;
  background: rgb(255 255 255 / 76%);
}

.brand__mark span {
  position: absolute;
  font-size: 0.65rem;
  line-height: 1;
}

.brand__mark span:first-child {
  top: 0.65rem;
  left: 0.61rem;
}

.brand__mark span:last-child {
  right: 0.59rem;
  bottom: 0.62rem;
  color: var(--cyan-dark);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 2.5vw, 3rem);
  padding: 0.42rem 0.48rem 0.42rem 1.15rem;
  border: 1px solid rgb(220 230 236 / 82%);
  border-radius: 999px;
  background: rgb(255 255 255 / 76%);
  box-shadow: 0 0.5rem 1.8rem rgb(16 24 47 / 5%);
  font-size: 0.82rem;
  font-weight: 700;
  backdrop-filter: blur(16px);
}

.site-nav a:not(.site-nav__contact) {
  position: relative;
}

.site-nav a:not(.site-nav__contact)::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 2px;
  background: var(--cyan);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav__contact {
  display: inline-flex;
  min-height: 2.75rem;
  padding-inline: 1rem;
  align-items: center;
  gap: 0.7rem;
  border-radius: 999px;
  background: var(--ink);
  color: white;
}

.site-nav__contact span {
  color: var(--cyan);
}

.site-nav__contact[aria-current="page"] {
  box-shadow: 0 0 0 3px rgb(8 191 232 / 20%);
}

.nav-toggle {
  display: none;
}

/* Language switch stays visible at the top right, including on small screens. */
.site-header {
  gap: 0.75rem;
}

.site-header > .brand {
  margin-right: auto;
  flex-shrink: 0;
}

.language-switch {
  position: relative;
  z-index: 3;
  display: inline-flex;
  min-height: 2.75rem;
  min-width: 3.5rem;
  padding: 0.6rem 0.9rem;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 94%);
  color: var(--cyan-dark);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.language-switch:hover {
  background: var(--ink);
  color: white;
}

.language-switch:focus-visible {
  outline: 2px solid var(--cyan-dark);
  outline-offset: 3px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  background: white;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: min(54%, 56rem);
  background: linear-gradient(90deg, #fff 68%, rgb(255 255 255 / 0%));
  content: "";
  pointer-events: none;
}

.hero__copy {
  position: relative;
  z-index: 5;
  width: min(calc(100% - 3rem), var(--content));
  margin-inline: auto;
  padding-top: var(--header-height);
  pointer-events: none;
}

.hero__copy > * {
  pointer-events: auto;
}

.eyebrow,
.mini-label {
  display: flex;
  margin-bottom: 1.25rem;
  align-items: center;
  gap: 0.75rem;
  color: var(--cyan-dark);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.4rem;
  height: 1px;
  background: currentcolor;
  content: "";
}

.hero__eyebrow {
  animation: copy-in 720ms 180ms both cubic-bezier(0.16, 1, 0.3, 1);
}

.hero h1 {
  max-width: 10ch;
  margin-bottom: 0;
  font-size: clamp(3.65rem, 6.6vw, 7.5rem);
  font-weight: 790;
  letter-spacing: -0.071em;
  line-height: 0.88;
  text-wrap: balance;
  animation: copy-in 850ms 270ms both cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__name {
  display: block;
  color: var(--ink);
  font-size: 1.04em;
  letter-spacing: -0.055em;
  line-height: 0.82;
}

.hero__roles {
  display: block;
  max-width: 11ch;
  margin-top: 0.75rem;
  color: var(--ink);
  font-size: 0.55em;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero__roles em {
  color: var(--cyan-dark);
  font-style: normal;
}

.hero__intro {
  max-width: 36rem;
  margin: 1.8rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.65;
  text-wrap: pretty;
  animation: copy-in 780ms 390ms both cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__actions {
  display: flex;
  margin-top: 2rem;
  align-items: center;
  gap: 1.1rem;
  animation: copy-in 780ms 500ms both cubic-bezier(0.16, 1, 0.3, 1);
}

.button {
  display: inline-flex;
  min-height: 3.2rem;
  padding-inline: 1.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 0.84rem;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button span,
.text-action span,
.contact-email span {
  transition: transform 180ms ease;
}

.button:hover span,
.button:focus-visible span,
.text-action:hover span,
.text-action:focus-visible span,
.contact-email:hover span,
.contact-email:focus-visible span {
  transform: translate(0.18rem, -0.12rem);
}

.button--primary {
  background: var(--ink);
  box-shadow: 0 0.8rem 2rem rgb(16 24 47 / 16%);
  color: white;
}

.button--primary:hover,
.button--primary:focus-visible {
  box-shadow: 0 1rem 2.5rem rgb(16 24 47 / 22%);
  transform: translateY(-2px);
}

.button--quiet {
  padding-inline: 0.35rem;
  border-radius: 0;
  box-shadow: inset 0 -1px var(--line);
}

.button--outline {
  border: 1px solid var(--line);
  background: white;
}

.button--outline:hover,
.button--outline:focus-visible {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.hero__scene {
  position: absolute;
  z-index: 1;
  inset: var(--header-height) 0 0;
  overflow: hidden;
  pointer-events: none;
  animation: scene-in 1s 80ms both cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__layer {
  position: absolute;
  inset: 0;
  transform: translate3d(var(--layer-x, 0), var(--layer-y, 0), 0) rotate(var(--layer-r, 0deg));
  transition: transform 90ms linear;
  will-change: transform;
}

.hero__layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.03) contrast(1.01);
  will-change: transform;
}

.hero__layer--background img {
  transform: scale(1.025);
}

.hero__layer--background {
  z-index: 0;
}

.hero__layer--dragon {
  z-index: 3;
}

.hero__layer--avatar {
  z-index: 2;
}

.hero__layer--avatar img {
  transform-origin: 68% 58%;
  animation: avatar-flight 11.5s 1s infinite cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.hero__layer--dragon img {
  transform-origin: 76% 34%;
  animation: dragon-flight 8.8s 0.45s infinite cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

/* Fixed-size rear activity group: no viewport-height or screen-ratio sizing. */
.hero__twins {
  position: absolute;
  bottom: 26%;
  right: 1rem;
  width: 30rem;
  max-width: calc(100% - 2rem);
  aspect-ratio: 3 / 2;
  z-index: 1;
}

/* Open the rear workspace on tall desktop windows without hiding either twin. */
@media (min-width: 54.01rem) and (max-aspect-ratio: 27 / 20) {
  .hero__layer--avatar { scale: 0.85; translate: -8rem 0; }
}

.hero__twins-content {
  position: relative;
  width: 100%;
  height: 100%;
  animation: twin-scene-float 10s -2s infinite ease-in-out;
}

/* Low, soft light pools echo the room's cyan hover lighting. */
.hero__twins-content::before,
.hero__twins-content::after {
  content: "";
  position: absolute;
  bottom: 5.4%;
  width: 23%;
  height: 4%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgb(121 235 255 / 70%), rgb(27 153 223 / 25%) 45%, transparent 72%);
  box-shadow: 0 0.25rem 0.8rem rgb(38 110 186 / 25%);
  filter: blur(2px);
}

.hero__twins-content::before { left: 9%; }
.hero__twins-content::after { right: 7%; }

.hero__layer--twin { z-index: 2; }
.hero__layer--puzzle { z-index: 1; }

/* Compact stacked hover fields sit beneath each trainer, not a display plinth. */
.twin-hover-ring {
  position: absolute;
  bottom: 4.5%;
  width: 11%;
  height: 4.5%;
  border: 2px solid rgb(134 244 255 / 95%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgb(90 232 255 / 35%), transparent 70%);
  box-shadow: 0 0 8px rgb(0 199 255 / 70%), inset 0 0 5px rgb(77 230 255 / 55%);
  animation: twin-hover-pulse 4s infinite ease-in-out;
}
.twin-hover-ring::before,
.twin-hover-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgb(127 240 255 / 75%);
  border-radius: inherit;
  transform: translateY(65%) scale(0.8);
  box-shadow: 0 0 5px rgb(40 209 255 / 60%);
}
.twin-hover-ring::after { transform: translateY(125%) scale(0.6); opacity: 0.55; }
.twin-hover-ring--cyan-one { left: 9%; }
.twin-hover-ring--cyan-two { left: 22%; bottom: 5.5%; }
.twin-hover-ring--teal-one { left: 70%; bottom: 5.5%; }
.twin-hover-ring--teal-two { left: 81%; }
.hero__layer--twin img { position: relative; }

.hero__layer--twin img,
.hero__layer--puzzle img {
  object-fit: contain;
  object-position: center;
  animation: twin-interaction 8s -1s infinite ease-in-out;
  filter: saturate(0.88) drop-shadow(0 0 0.2rem rgb(105 196 255 / 24%));
}

.hero__layer--twin-teal img {
  animation-direction: reverse;
}

.hero__layer--puzzle img {
  animation: puzzle-float 8s -1s infinite ease-in-out;
  transform-origin: 50% 48%;
  filter: drop-shadow(0 0 0.5rem rgb(8 191 232 / 55%));
}

.orbit,
.signal-dot {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.orbit {
  border: 1px solid rgb(8 191 232 / 32%);
  animation: orbit-pulse 4s infinite ease-out;
}

.orbit--one {
  top: 27%;
  right: 29%;
  width: clamp(4rem, 8vw, 8rem);
  aspect-ratio: 1;
}

.orbit--two {
  right: 8%;
  bottom: 13%;
  width: clamp(3rem, 5vw, 5.5rem);
  aspect-ratio: 1;
  animation-delay: -1.7s;
}

.signal-dot {
  width: 0.5rem;
  aspect-ratio: 1;
  background: var(--cyan);
  box-shadow: 0 0 0.9rem rgb(8 191 232 / 80%);
  animation: dot-drift 3.8s infinite ease-in-out;
}

.signal-dot--one { top: 22%; right: 18%; }
.signal-dot--two { top: 51%; right: 7%; animation-delay: -1.1s; }
.signal-dot--three { right: 40%; bottom: 10%; animation-delay: -2.3s; }

.scroll-cue {
  position: absolute;
  z-index: 5;
  bottom: 2rem;
  left: max(1.5rem, calc((100% - var(--content)) / 2));
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-cue span {
  position: relative;
  width: 2.7rem;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.scroll-cue span::after {
  position: absolute;
  inset: 0;
  background: var(--cyan-dark);
  content: "";
  animation: scroll-line 2s infinite ease-in-out;
}

.section {
  position: relative;
  padding-block: clamp(6rem, 10vw, 10rem);
}

.page--inner .site-header::before {
  border-color: rgb(16 24 47 / 8%);
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 0.6rem 2.4rem rgb(16 24 47 / 5%);
  backdrop-filter: blur(18px);
}

.page-main .section {
  min-height: calc(100svh - 8rem);
  padding-top: calc(var(--header-height) + clamp(4.5rem, 8vw, 8rem));
}

.section__inner {
  width: min(calc(100% - 3rem), var(--content));
  margin-inline: auto;
}

.section-heading,
.subsection-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(18rem, 0.7fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
}

.section-heading {
  position: relative;
  isolation: isolate;
  margin-bottom: clamp(3.5rem, 7vw, 6.5rem);
}

/* Decorative cutouts never intercept interaction or compete with the text. */
.section-heading > div,
.section-heading > p { position: relative; z-index: 1; }
.section-heading > .section-heading__art {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  width: 38%;
  height: calc(100% + 9rem);
  top: -4.5rem;
  right: 27%;
  object-fit: contain;
  opacity: 0.30;
  filter: saturate(0.7);
  mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
}
.section-heading--teaching > .section-heading__art { right: 22%; width: 41%; }
.section-heading--research > .section-heading__art {
  /* Centre-right bridge, with only the outer holograms behind either text edge. */
  width: 44%;
  height: calc(100% + 9rem);
  top: -3rem;
  right: 23%;
  object-position: center top;
  mask-image: linear-gradient(to bottom, black 70%, rgb(0 0 0 / 80%) 88%, transparent 100%);
}

/* About art spans the heading AND introduction, ending before recognition. */
.about-opening {
  position: relative;
  isolation: isolate;
  display: flow-root;
  margin-bottom: clamp(4rem, 7vw, 6.5rem);
}
.about-opening__art {
  position: absolute;
  mix-blend-mode: multiply;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  top: -4.5rem;
  right: 5%;
  width: 56%;
  height: calc(100% + 4.5rem);
  object-fit: contain;
  object-position: center top;
  opacity: 0.34;
  filter: saturate(0.7);
  mask-image: linear-gradient(to bottom, black 35%, rgb(0 0 0 / 48%) 65%, rgb(0 0 0 / 40%) 88%, transparent 100%);
}
.about-opening > .section-heading,
.about-opening > .about-intro { position: relative; z-index: 1; }
.about-opening > .about-intro { margin-bottom: 0; }
.about-opening .about-intro__body { text-shadow: 0 0 5px rgb(255 255 255 / 90%); }

@media (max-width: 54rem) {
  .about-opening__art {
    top: -1rem;
    right: 0;
    width: 80%;
    height: calc(100% + 1rem);
    opacity: 0.16;
  }
  .section-heading > .section-heading__art {
    width: 70%;
    height: calc(100% + 2rem);
    right: 0;
    top: -1rem;
    opacity: 0.16;
  }
}

.section-heading h2,
.contact-heading h2 {
  max-width: 19ch;
  margin-bottom: 0;
  font-size: clamp(2.55rem, 5vw, 5.4rem);
  font-weight: 760;
  letter-spacing: -0.058em;
  line-height: 0.98;
  text-wrap: balance;
}

.section-heading > p,
.subsection-heading > p {
  margin-bottom: 0.25rem;
  color: var(--muted);
  line-height: 1.75;
}

.section--about {
  background:
    radial-gradient(circle at 96% 15%, rgb(8 191 232 / 8%), transparent 25rem),
    white;
}

.section-heading--about {
  display: block;
}

.section-heading--about h2 {
  max-width: 18ch;
  font-size: clamp(2.75rem, 4.25vw, 4.75rem);
}

.section--about .mini-label {
  font-size: 0.78rem;
}

.about-intro {
  display: grid;
  max-width: var(--narrow);
  margin-bottom: clamp(4rem, 7vw, 6.5rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 7vw, 7rem);
}

.about-intro__lead {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
  font-weight: 620;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.about-intro__aliases {
  color: var(--muted);
  font-size: 0.65em;
  font-weight: 500;
}

.about-intro__affiliation {
  display: grid;
  padding-left: 1rem;
  margin-top: 1.4rem;
  border-left: 2px solid var(--cyan);
  gap: 0.15rem;
}

.about-intro__affiliation strong {
  color: var(--ink-soft);
  font-size: 0.74em;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.about-intro__body {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.about-intro__body p:last-child {
  margin-bottom: 0;
}

.about-grid {
  display: grid;
  margin-bottom: clamp(4rem, 7vw, 6.5rem);
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
}

.panel {
  padding: clamp(1.6rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--mist);
}

.panel__heading {
  display: flex;
  margin-bottom: 2.25rem;
  align-items: center;
  gap: 0.85rem;
}

.panel__heading h3 {
  margin-bottom: 0;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}

.panel__icon {
  display: grid;
  width: 2.6rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--cyan-pale);
  color: var(--cyan-dark);
  font-weight: 900;
}

.panel__icon--violet {
  background: var(--violet-pale);
  color: var(--violet);
}

.timeline,
.education-list,
.recognition__list,
.topic-accordions ul,
.enquiry-checklist ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline {
  position: relative;
}

.timeline::before {
  position: absolute;
  top: 0.65rem;
  bottom: 0.8rem;
  left: 0.28rem;
  width: 1px;
  background: var(--line);
  content: "";
}

.timeline li {
  position: relative;
  display: grid;
  padding: 0 0 2rem 2rem;
  grid-template-columns: 8rem 1fr;
  column-gap: 1rem;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  position: absolute;
  top: 0.43rem;
  left: 0;
  width: 0.58rem;
  aspect-ratio: 1;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--cyan-dark);
  box-shadow: 0 0 0 1px var(--cyan-dark);
  content: "";
}

.timeline time {
  grid-row: span 2;
  color: var(--cyan-dark);
  font-size: 0.88rem;
  font-weight: 800;
}

.timeline strong,
.education-list strong {
  letter-spacing: -0.015em;
}

.timeline span,
.education-list small {
  color: var(--muted);
  font-size: 0.94rem;
}

.education-list li {
  display: grid;
  padding-block: 1.35rem;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
}

.education-list li:first-child {
  padding-top: 0;
}

.education-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.education-list > li > span {
  color: var(--violet);
  font-size: 0.9rem;
  font-weight: 800;
}

.education-list div {
  display: grid;
  gap: 0.25rem;
}

.recognition--wide {
  padding: clamp(1.6rem, 4vw, 3rem);
  margin-bottom: clamp(4rem, 7vw, 6.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 78%);
  box-shadow: 0 1.2rem 3.5rem rgb(16 24 47 / 5%);
}

.recognition__layout {
  display: grid;
  grid-template-columns: minmax(17rem, 0.85fr) minmax(0, 1.4fr);
  align-items: stretch;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.recognition__feature {
  padding: 1.8rem;
  border-radius: var(--radius-md);
  background: var(--ink);
  color: white;
}

.recognition__period {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.recognition__feature h3 {
  max-width: 16ch;
  margin: 0.7rem 0 0;
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.recognition__title-line {
  display: block;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}

.recognition__list li {
  display: grid;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line-soft);
  grid-template-columns: 6rem 1fr;
  gap: 1rem;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.recognition__list time {
  color: var(--muted);
  font-weight: 760;
}

.about-service-stack {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.leadership,
.academic-service {
  padding: clamp(1.6rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
}

.leadership {
  background: var(--cyan-pale);
}

.leadership__heading {
  display: grid;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
  grid-template-columns: minmax(12rem, 0.38fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.leadership__heading .mini-label {
  margin: 0;
}

.leadership__heading h3 {
  max-width: 25ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-wrap: balance;
}

.leadership-map {
  display: grid;
  padding: 0;
  margin: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
  list-style: none;
}

.leadership-map li {
  position: relative;
  min-height: 13rem;
  padding: 1.4rem;
  overflow: hidden;
  border: 1px solid rgb(8 125 153 / 14%);
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 76%);
}

.leadership-map li::before {
  display: block;
  margin-bottom: 2.4rem;
  color: var(--cyan-dark);
  content: attr(data-step);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.leadership-map li::after {
  position: absolute;
  top: 1.8rem;
  right: 1.4rem;
  width: 2.5rem;
  height: 1px;
  background: var(--cyan);
  content: "";
}

.leadership-map li:nth-child(2)::after { background: var(--violet); }
.leadership-map li:nth-child(3)::after { background: var(--orange); }
.leadership-map li:nth-child(4)::after { background: #2fb58e; }
.leadership-map li:nth-child(5)::after { background: var(--ink); }

.leadership-map span {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--cyan-dark);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.075em;
  line-height: 1.45;
  text-transform: uppercase;
}

.leadership-map strong {
  display: block;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  letter-spacing: -0.025em;
  line-height: 1.28;
}

.leadership-map p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  text-wrap: balance;
}

.academic-service {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 0%, rgb(8 191 232 / 18%), transparent 27rem),
    var(--ink);
  color: white;
}

.academic-service__heading {
  position: relative;
  z-index: 1;
  display: grid;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: minmax(12rem, 0.38fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.academic-service__heading .mini-label {
  margin: 0;
  color: var(--cyan);
}

.academic-service__heading h3 {
  max-width: 24ch;
  margin: 0;
  color: white;
  font-size: clamp(1.8rem, 3.3vw, 3.2rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-wrap: balance;
}

.service-showcase {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.85rem;
}

.service-card {
  position: relative;
  min-height: 13rem;
  padding: clamp(1.35rem, 2.5vw, 2rem);
  overflow: hidden;
  border-radius: var(--radius-md);
  background: white;
  color: var(--ink-soft);
}

.service-card--membership {
  display: flex;
  min-height: 100%;
  grid-column: 1 / 5;
  grid-row: 1 / 3;
  justify-content: flex-end;
  flex-direction: column;
  background: linear-gradient(145deg, #0cc7ed, #087d99);
  color: white;
}

/* Restrained multi-colour palette, scoped only to the requested sections. */
.service-card--community,
.service-card--editorial,
.contact-opportunities .topic-accordions {
  --ink: #10263b;
  --ink-soft: #405162;
  --muted: #536575;
  --cyan: #009bc1;
  --cyan-dark: #10263b;
  --cyan-pale: #f2fafc;
  --line: #cfd4d8;
  --line-soft: #e7eaed;
  --mist: #f3f4f5;
  color: var(--ink-soft);
}

/* Three low-saturation tints repeat consistently; body text stays neutral. */
:is(.service-card--community, .service-card--editorial) .service-roles li,
.contact-opportunities .topic-accordions details {
  --cyan: #577b96;
  --cyan-dark: #365b76;
  --cyan-pale: #eff5f9;
  --mist: #eff5f9;
  --line: #d4e0e9;
}

:is(.service-card--community, .service-card--editorial) .service-roles li:nth-child(3n + 2),
.contact-opportunities .topic-accordions details:nth-of-type(2) {
  --cyan: #807294;
  --cyan-dark: #655577;
  --cyan-pale: #f3f1f7;
  --mist: #f3f1f7;
  --line: #dfd9e8;
}

:is(.service-card--community, .service-card--editorial) .service-roles li:nth-child(3n),
.contact-opportunities .topic-accordions details:nth-of-type(3) {
  --cyan: #5f867c;
  --cyan-dark: #3f6c60;
  --cyan-pale: #eff6f3;
  --mist: #eff6f3;
  --line: #d5e4dd;
}

.service-card--community {
  grid-column: 5 / 13;
  grid-row: 1;
}

.service-roles {
  display: grid;
  padding: 0;
  margin: 1.15rem 0 0;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  grid-auto-rows: 1fr;
  gap: 0.65rem;
  list-style: none;
}

.service-roles li {
  position: relative;
  display: flex;
  min-height: 10.25rem;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.05rem;
  justify-content: flex-end;
  flex-direction: column;
  background: var(--mist);
}

.service-roles li::after {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 0.22rem;
  background: var(--cyan);
  content: "";
}

.service-roles li > span {
  margin-bottom: 1.4rem;
  color: var(--cyan-dark);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.service-roles strong,
.service-roles small {
  display: block;
}

.service-roles strong {
  margin-top: auto;
  color: var(--ink-soft);
  font-size: 0.92rem;
  letter-spacing: -0.018em;
  line-height: 1.28;
}

.service-roles small {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 750;
  line-height: 1.35;
}

.service-card--editorial {
  grid-column: 5 / 13;
  grid-row: 2;
  background: var(--mist);
}

.service-roles--editorial {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card--reviewing {
  display: grid;
  min-height: auto;
  grid-column: 1 / 13;
  grid-template-columns: minmax(14rem, 0.42fr) minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  background: #1b2745;
  color: white;
}

.service-card__kicker {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--cyan-dark);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card--membership .service-card__kicker,
.service-card--reviewing .service-card__kicker {
  color: #86eaff;
}

.service-card__mark {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: rgb(255 255 255 / 18%);
  font-size: clamp(3.8rem, 7vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
}

.service-card h4 {
  margin: 0;
  color: inherit;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.service-card--membership h4 {
  max-width: 8ch;
  font-size: clamp(2rem, 3.6vw, 3.5rem);
}

.service-card p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.service-card__details,
.service-venues {
  padding: 0;
  margin: 1.1rem 0 0;
  list-style: none;
}

.service-card__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.5rem;
}

.service-card__details li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.service-card__details li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 0.42rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cyan);
  content: "";
}

.service-venues {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.service-venues li {
  padding: 0.55rem 0.75rem;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 999px;
  background: rgb(255 255 255 / 7%);
  color: #dfe7f3;
  font-size: 0.8rem;
  font-weight: 700;
}

.section--research {
  background: var(--mist);
}

.section-heading--research h2 {
  max-width: 13ch;
}

.section-heading--research > p {
  max-width: 38rem;
  text-wrap: pretty;
  color: var(--ink-soft);
  text-shadow: 0 0 5px var(--mist), 0 0 2px var(--mist);
}

.research-index {
  position: sticky;
  z-index: 12;
  top: calc(var(--header-height) + 0.8rem);
  display: flex;
  width: max-content;
  max-width: 100%;
  padding: 0.4rem;
  margin: 0 auto 2rem;
  overflow-x: auto;
  border: 1px solid rgb(220 230 236 / 80%);
  border-radius: 999px;
  background: rgb(255 255 255 / 84%);
  box-shadow: 0 0.7rem 2.2rem rgb(16 24 47 / 7%);
  backdrop-filter: blur(16px);
  scrollbar-width: none;
}

.research-index::-webkit-scrollbar {
  display: none;
}

.research-index a {
  flex: 0 0 auto;
  padding: 0.62rem 0.9rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.research-index a:hover,
.research-index a:focus-visible {
  background: var(--ink);
  color: white;
}

.research-index__divider {
  flex: 0 0 1px;
  width: 1px;
  height: 1.45rem;
  margin: auto 0.35rem;
  background: var(--line);
}

.research-family {
  padding-block: clamp(4rem, 7vw, 7rem);
  border-top: 1px solid var(--line);
}

.family-header {
  display: grid;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
  grid-template-columns: 3rem minmax(24rem, 1.1fr) minmax(18rem, 0.9fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
}

.family-header--reverse {
  grid-template-columns: 3rem minmax(18rem, 0.9fr) minmax(24rem, 1.1fr);
}

.family-header--reverse .family-cover {
  grid-column: 2;
  grid-row: 1;
}

.family-header--reverse > div:nth-child(2) {
  grid-column: 3;
  grid-row: 1;
}

.family-header__number {
  align-self: start;
  color: var(--cyan-dark);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  writing-mode: vertical-rl;
}

.family-header h3,
.subsection-heading h3 {
  margin-bottom: 1.35rem;
  font-size: clamp(2rem, 3.8vw, 4rem);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 1;
  text-wrap: balance;
}

.family-header > div:nth-child(2) > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.family-cover {
  position: relative;
  min-height: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.family-cover img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  object-fit: contain;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.project-grid--wide {
  grid-template-columns: repeat(3, 1fr);
}

.project-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  flex-direction: column;
  background: white;
  box-shadow: 0 1rem 2.8rem rgb(16 24 47 / 4%);
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms ease, opacity 180ms ease;
}

.project-card:hover {
  box-shadow: 0 1.5rem 3.5rem rgb(16 24 47 / 10%);
  transform: translateY(-0.4rem);
}

.project-card[hidden] {
  display: none;
}

.project-card__image {
  position: relative;
  display: block;
  width: 100%;
  height: clamp(15rem, 19vw, 20rem);
  padding: 0.55rem;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  background: #edf3f6;
  cursor: zoom-in;
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card__image > span {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  width: 2.65rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 76%);
  border-radius: 50%;
  background: rgb(16 24 47 / 88%);
  box-shadow: 0 0.6rem 1.5rem rgb(16 24 47 / 18%);
  color: white;
  font-size: 1.2rem;
  font-weight: 650;
  line-height: 1;
  transition: background 180ms ease, transform 180ms ease;
}

.project-card__image:hover img,
.project-card__image:focus-visible img {
  transform: scale(1.018);
}

.project-card__image:hover > span,
.project-card__image:focus-visible > span {
  background: var(--cyan-dark);
  transform: scale(1.08);
}

.concept-visual {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #edf3f6;
}

.project-card__content {
  display: flex;
  min-height: 14rem;
  padding: 1.5rem;
  flex: 1;
  flex-direction: column;
}

.project-card__meta {
  display: flex;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.project-card__meta span {
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: var(--mist);
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 780;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-card h4 {
  margin-bottom: 0.8rem;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1.16;
}

.project-card p {
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.7;
}

.text-action {
  display: inline-flex;
  padding: 0;
  margin-top: auto;
  align-items: center;
  gap: 0.6rem;
  align-self: flex-start;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-size: 0.72rem;
  font-weight: 800;
}

.concept-visual {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 30%, rgb(8 191 232 / 24%), transparent 30%),
    linear-gradient(135deg, #f6fbfd, #eaf6fa);
}

.concept-visual::before,
.concept-visual::after {
  position: absolute;
  border: 1px solid rgb(8 125 153 / 30%);
  border-radius: 50%;
  content: "";
}

.concept-visual::before {
  top: 20%;
  left: 17%;
  width: 32%;
  aspect-ratio: 1;
}

.concept-visual::after {
  top: 37%;
  right: 18%;
  width: 24%;
  aspect-ratio: 1;
}

.concept-visual--agent span {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  background: var(--cyan-dark);
  box-shadow: 0 0 0 0.6rem rgb(8 125 153 / 12%);
}

.concept-visual--agent span:nth-child(1) { top: 34%; left: 28%; width: 1rem; aspect-ratio: 1; }
.concept-visual--agent span:nth-child(2) { top: 50%; right: 28%; width: 0.72rem; aspect-ratio: 1; }
.concept-visual--agent span:nth-child(3) { top: 28%; right: 37%; width: 0.42rem; aspect-ratio: 1; background: var(--violet); }

.concept-visual--learning {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--violet-pale), var(--cyan-pale));
}

.concept-visual--learning span,
.concept-visual--rehab span {
  position: relative;
  z-index: 2;
  display: grid;
  width: 4rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 1.25rem;
  background: var(--ink);
  box-shadow: 0 0.8rem 2rem rgb(16 24 47 / 18%);
  color: white;
  font-size: 1.15rem;
  font-weight: 850;
}

.concept-visual--learning i,
.concept-visual--rehab i {
  position: absolute;
  width: 0.6rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cyan);
}

.concept-visual--learning i:nth-of-type(1) { top: 22%; left: 24%; }
.concept-visual--learning i:nth-of-type(2) { right: 21%; bottom: 20%; background: var(--violet); }

.concept-visual--collaboration {
  background: linear-gradient(135deg, #eefaff, #f3efff);
}

.concept-visual--collaboration span {
  position: absolute;
  top: 31%;
  width: 3.2rem;
  aspect-ratio: 1;
  border: 0.7rem solid var(--cyan-dark);
  border-radius: 50%;
}

.concept-visual--collaboration span:first-child { left: 25%; }
.concept-visual--collaboration span:nth-child(2) { right: 25%; border-color: var(--violet); }
.concept-visual--collaboration i {
  position: absolute;
  top: 49%;
  left: 42%;
  width: 16%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-dark), var(--violet));
}

.concept-visual--rehab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.3rem;
  background: linear-gradient(135deg, #effbfa, #eef5ff);
}

.concept-visual--rehab span:last-of-type {
  background: var(--violet);
}

.concept-visual--rehab i {
  top: 47%;
  left: 49%;
}

.project-card--feature {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.project-card--feature > img {
  height: 100%;
  aspect-ratio: auto;
}

.project-card--feature .project-card__content {
  min-height: 24rem;
  justify-content: center;
}

.research-subsection {
  padding-top: clamp(6rem, 10vw, 10rem);
  margin-top: clamp(4rem, 7vw, 7rem);
  border-top: 1px solid var(--line);
}

.subsection-heading {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.subsection-heading h3 {
  max-width: 14ch;
  margin-bottom: 0;
}

.subsection-heading--solo {
  display: block;
}

.publication-groups {
  display: grid;
  gap: clamp(3rem, 6vw, 5.5rem);
}

.publication-group__heading {
  display: flex;
  margin-bottom: 1rem;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 1rem;
}

.publication-group__heading > div {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.publication-group__heading span {
  color: var(--cyan-dark);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.publication-group__heading h4 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.publication-group__action {
  display: flex;
  margin-top: 1.5rem;
  justify-content: flex-end;
}

.publication-list,
.research-project-list {
  border-top: 1px solid var(--ink);
}

.publication-item,
.research-project-item {
  display: grid;
  padding: 1.35rem 0.35rem;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 5.2rem 1fr;
  gap: 1.3rem;
  transition: background 160ms ease, opacity 160ms ease;
}

.publication-item:hover,
.research-project-item:hover {
  background: rgb(255 255 255 / 65%);
}

.publication-item__year,
.research-project-item__year {
  color: var(--cyan-dark);
  font-size: 0.76rem;
  font-weight: 850;
}

.publication-item p,
.research-project-item p {
  max-width: 76rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.72;
}

.doi-link {
  display: inline-flex;
  margin-inline: 0.2rem;
  align-items: baseline;
  gap: 0.25rem;
  color: var(--cyan-dark);
  font-weight: 750;
}

.doi-link:hover,
.doi-link:focus-visible {
  text-decoration: underline;
}

.topic-accordions details {
  border-bottom: 1px solid var(--line);
}

.topic-accordions summary {
  display: flex;
  padding: 1.3rem 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 750;
  list-style: none;
  cursor: pointer;
}

.topic-accordions summary::-webkit-details-marker {
  display: none;
}

.topic-accordions summary span {
  color: var(--cyan);
  font-size: 1.3rem;
  transition: transform 180ms ease;
}

.topic-accordions details[open] summary span {
  transform: rotate(45deg);
}

.topic-accordions ul {
  padding: 0 0 1.3rem 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
  list-style: disc;
}

.enquiry-checklist {
  padding-left: clamp(1.5rem, 4vw, 3.5rem);
  border-left: 1px solid var(--line);
}

.enquiry-checklist ol {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.enquiry-checklist li {
  display: grid;
  min-height: 6rem;
  padding: 1.2rem;
  border-top: 1px solid var(--line);
  grid-template-columns: 2.5rem 1fr;
  gap: 0.8rem;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.enquiry-checklist li:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.enquiry-checklist li span {
  color: var(--cyan-dark);
  font-size: 0.7rem;
  font-weight: 850;
}

.section--teaching {
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 75%, rgb(119 87 239 / 8%), transparent 28rem),
    white;
}

.section-heading--teaching h2 {
  max-width: 15ch;
}

.teaching-pathway {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
}

.teaching-pathway::before {
  position: absolute;
  top: 1.7rem;
  right: 2rem;
  left: 2rem;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--orange), var(--ink));
  content: "";
}

.teaching-stage {
  position: relative;
  min-width: 0;
}

.teaching-stage__header {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 5.8rem;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  align-items: start;
  gap: 0.8rem;
}

.teaching-stage__header > div {
  position: relative;
  z-index: 2;
  width: fit-content;
  max-width: 100%;
  padding-inline: 0.55rem 0.85rem;
  background: white;
}

.teaching-stage__marker {
  display: grid;
  width: 3.4rem;
  aspect-ratio: 1;
  place-items: center;
  border: 0.45rem solid white;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  box-shadow: 0 0 0 1px var(--line);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.05em;
}

.teaching-stage__header p {
  margin: 0.15rem 0 0.12rem;
  color: var(--cyan-dark);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.teaching-stage__header h3 {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.teaching-stage__modules {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.teaching-stage__modules--double {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.module-card {
  position: relative;
  display: flex;
  min-height: 23rem;
  padding: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  flex-direction: column;
  background: var(--cyan-pale);
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms ease;
}

.module-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-0.45rem) rotate(-0.4deg);
}

.module-card--blue { background: #edf5ff; }
.module-card--violet { background: var(--violet-pale); }
.module-card--orange { background: var(--orange-pale); }
.module-card--navy { background: var(--ink); color: white; }

.module-card__code {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.module-card__icon {
  position: relative;
  width: 8rem;
  height: 8rem;
  margin: auto;
  border: 1px solid rgb(8 125 153 / 22%);
  border-radius: 2.4rem;
  transform: rotate(7deg);
}

.module-card__icon i {
  position: absolute;
  display: block;
  width: 2rem;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--cyan-dark);
}

.module-card__icon i:nth-child(1) { top: 2.4rem; left: 1.7rem; }
.module-card__icon i:nth-child(2) { top: 3.8rem; left: 2.6rem; width: 3.2rem; }
.module-card__icon i:nth-child(3) { top: 5.2rem; left: 1.3rem; width: 4rem; }

.module-card__icon--group {
  border-color: rgb(119 87 239 / 25%);
  border-radius: 50%;
}

.module-card__icon--group i {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--violet);
}

.module-card__icon--group i:nth-child(1) { top: 1.5rem; left: 2.8rem; }
.module-card__icon--group i:nth-child(2) { top: 4rem; left: 1.2rem; }
.module-card__icon--group i:nth-child(3) { top: 4rem; left: 4.6rem; }

.module-card__icon--research {
  border-color: rgb(255 155 97 / 30%);
}

.module-card__icon--research i:first-child {
  top: 1.7rem;
  left: 1.7rem;
  width: 3.4rem;
  height: 3.4rem;
  border: 0.7rem solid #dc7441;
  border-radius: 50%;
  background: transparent;
}

.module-card__icon--research i:last-child {
  top: 5rem;
  left: 4.7rem;
  width: 2.3rem;
  transform: rotate(45deg);
  background: #dc7441;
}

.module-card__icon--xr {
  border-color: rgb(255 255 255 / 25%);
}

.module-card__icon--xr i {
  top: 2.8rem;
  width: 2.6rem;
  height: 2rem;
  border: 0.35rem solid var(--cyan);
  border-radius: 0.8rem;
  background: transparent;
}

.module-card__icon--xr i:first-child { left: 0.9rem; }
.module-card__icon--xr i:last-child { right: 0.9rem; left: auto; }

.module-card h4 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  letter-spacing: -0.04em;
  line-height: 1.13;
}

.module-card__alias {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.section--contact {
  background:
    radial-gradient(circle at 88% 20%, rgb(8 191 232 / 18%), transparent 28rem),
    var(--ink);
  color: white;
}

.contact-heading {
  margin-bottom: clamp(4rem, 7vw, 7rem);
}

.contact-heading .eyebrow {
  color: var(--cyan);
}

.contact-heading h2 {
  max-width: 18ch;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.supervision-jump {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: 1.35rem;
  display: flex;
  min-height: 3.35rem;
  padding: 0.45rem 0.45rem 0.45rem 1.15rem;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgb(8 191 232 / 38%);
  border-radius: 999px;
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 1rem 3rem rgb(2 8 23 / 32%);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.015em;
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
  transition: opacity 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.supervision-jump:hover,
.supervision-jump:focus-visible {
  box-shadow: 0 1.25rem 3.4rem rgb(2 8 23 / 42%);
  transform: translate(-50%, -0.2rem);
}

.supervision-jump__arrow {
  display: grid;
  width: 2.45rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--ink);
  font-size: 1rem;
  transition: transform 180ms ease;
}

.supervision-jump:hover .supervision-jump__arrow,
.supervision-jump:focus-visible .supervision-jump__arrow {
  transform: translateY(0.16rem);
}

.supervision-jump.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 1rem);
}

.contact-opportunities {
  padding: clamp(2rem, 5vw, 4rem);
  margin-top: clamp(5rem, 9vw, 9rem);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, white 0%, #f7fbfd 100%);
  box-shadow: 0 2rem 6rem rgb(2 8 23 / 22%);
  color: var(--ink);
}

.contact-opportunities__heading {
  display: grid;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 6rem);
}

.contact-opportunities__heading .eyebrow,
.contact-opportunities .mini-label {
  color: var(--cyan-dark);
}

.contact-opportunities__heading h3 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.35rem, 4.5vw, 4.6rem);
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.contact-opportunities__intro {
  position: relative;
  align-self: stretch;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  overflow: hidden;
  border: 1px solid #bde8f1;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 92% 15%, rgb(8 191 232 / 18%), transparent 9rem),
    linear-gradient(135deg, var(--cyan-pale), white);
}

.contact-opportunities__intro::after {
  position: absolute;
  right: -1.2rem;
  bottom: -2.2rem;
  width: 8rem;
  aspect-ratio: 1;
  border: 1px solid rgb(8 191 232 / 28%);
  border-radius: 50%;
  content: "";
}

.contact-opportunities__status {
  position: relative;
  z-index: 1;
  display: flex;
  margin-bottom: 1rem;
  align-items: center;
  gap: 0.55rem;
  color: var(--cyan-dark);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-opportunities__status span {
  width: 0.55rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0.35rem rgb(8 191 232 / 13%);
}

.contact-opportunities__intro h4 {
  position: relative;
  z-index: 1;
  margin: 0 0 0.8rem;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  letter-spacing: -0.035em;
}

.contact-opportunities__intro > p:last-child {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  color: var(--muted);
  text-wrap: pretty;
}

.contact-opportunities__content {
  display: grid;
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.contact-opportunities .topic-accordions {
  align-self: start;
}

.contact-opportunities .topic-accordions > .mini-label {
  margin: 0 0 0.85rem 0.25rem;
}

.contact-opportunities .topic-accordions details {
  overflow: hidden;
  border: 1px solid;
  border-radius: 1.2rem;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.contact-opportunities .topic-accordions details + details {
  margin-top: 0.8rem;
}

.contact-opportunities .topic-accordions details {
  border-color: var(--line);
  background: linear-gradient(135deg, var(--cyan-pale), var(--paper));
}

.contact-opportunities .topic-accordions details[open] {
  box-shadow: 0 1.1rem 2.5rem rgb(16 24 47 / 9%);
  transform: translateY(-0.12rem);
}

.contact-opportunities .topic-accordions summary {
  justify-content: flex-start;
  padding: 1.25rem 1.35rem;
}

.contact-opportunities .topic-accordions summary::before {
  display: grid;
  flex: 0 0 2.3rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: white;
  font-size: 0.68rem;
  font-weight: 850;
}

.contact-opportunities .topic-accordions details:nth-of-type(1) summary::before {
  color: var(--cyan-dark);
  content: "01";
}

.contact-opportunities .topic-accordions details:nth-of-type(2) summary::before {
  color: var(--cyan-dark);
  content: "02";
}

.contact-opportunities .topic-accordions details:nth-of-type(3) summary::before {
  color: var(--cyan-dark);
  content: "03";
}

.contact-opportunities .topic-accordions summary span {
  margin-left: auto;
}

.contact-opportunities .topic-accordions ul {
  padding: 0 1.4rem 1.35rem 4.75rem;
}

.contact-opportunities .enquiry-checklist {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  overflow: hidden;
  border: 1px solid rgb(8 191 232 / 22%);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 100% 0%, rgb(119 87 239 / 32%), transparent 15rem),
    linear-gradient(145deg, #10182f, #172546);
  box-shadow: 0 1.4rem 3rem rgb(16 24 47 / 18%);
  color: white;
}

.contact-opportunities .enquiry-checklist::before {
  position: absolute;
  right: -4rem;
  bottom: -5rem;
  width: 14rem;
  aspect-ratio: 1;
  border: 1px solid rgb(8 191 232 / 15%);
  border-radius: 50%;
  content: "";
}

.contact-opportunities .enquiry-checklist > * {
  position: relative;
  z-index: 1;
}

.contact-opportunities .enquiry-checklist .mini-label {
  color: var(--cyan);
}

.contact-opportunities .enquiry-checklist ol {
  gap: 0.75rem;
}

.contact-opportunities .enquiry-checklist li {
  min-height: 7.25rem;
  border: 1px solid rgb(255 255 255 / 11%);
  border-radius: 1rem;
  background: rgb(255 255 255 / 6%);
  color: #e9eef6;
}

.contact-opportunities .enquiry-checklist li span {
  display: grid;
  width: 1.9rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0.35rem 1rem rgb(8 191 232 / 18%);
  color: var(--ink);
}

.contact-details > p {
  max-width: 32rem;
  color: #b9c4d1;
}

.contact-email {
  display: inline-flex;
  margin: 1.5rem 0 0.8rem;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 1px solid rgb(255 255 255 / 28%);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 720;
}

.contact-email span {
  color: var(--cyan);
}

.copy-button {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 780;
}

.contact-details address {
  margin-top: 2.8rem;
  color: #aeb9c8;
  font-size: 0.84rem;
  font-style: normal;
  line-height: 1.8;
}

.contact-details address strong {
  display: block;
  margin-bottom: 0.45rem;
  color: white;
  font-size: 1rem;
}

.contact-details address strong span {
  color: #aeb9c8;
  font-size: 0.8em;
  font-weight: 500;
}

.profile-links {
  display: flex;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.profile-links > * {
  padding: 0.5rem 0.7rem;
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 999px;
  color: #bec8d5;
  font-size: 0.66rem;
  font-style: normal;
}

.profile-links a:hover,
.profile-links a:focus-visible {
  border-color: var(--cyan);
  color: white;
}

.name-card-wrap {
  position: relative;
}

.name-card {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  transition: outline-color 180ms ease;
}

.name-card:hover,
.name-card:focus-visible {
  box-shadow: none;
}

.name-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 111 / 61;
}

.name-card-dialog {
  width: min(calc(100% - 2rem), 80rem);
  max-width: none;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: white;
}

.name-card-dialog::backdrop {
  background: rgb(4 9 18 / 86%);
  backdrop-filter: blur(12px);
}

.name-card-dialog__image {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: white;
  box-shadow: 0 2.5rem 7rem rgb(0 0 0 / 48%);
  cursor: pointer;
}

.name-card-dialog__image img {
  width: 100%;
  height: auto;
  aspect-ratio: 111 / 61;
}

.name-card-dialog__close {
  position: absolute;
  z-index: 1;
  top: -1.1rem;
  right: -1.1rem;
  display: grid;
  width: 2.8rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 1.45rem;
  line-height: 1;
}

.name-card-dialog > p {
  margin: 1rem 0 0;
  color: #d5dfeb;
  font-size: 0.88rem;
  text-align: center;
}

.name-card-actions {
  display: flex;
  margin-top: 1.35rem;
  justify-content: flex-end;
  gap: 0.7rem;
}

.name-card-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  margin-top: 1.25rem;
  gap: 0.65rem;
}

.name-card-links a {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
  gap: 0.2rem;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 0.75rem;
  background: rgb(16 24 47 / 85%);
  color: white;
  text-align: left;
  overflow-wrap: anywhere;
}

.name-card-links a > strong,
.name-card-links a > span {
  display: block;
  min-width: 0;
}

.name-card-links a > span {
  color: #d5dfeb;
  font-size: 0.8rem;
  line-height: 1.5;
}

.name-card-links a:hover,
.name-card-links a:focus-visible {
  border-color: var(--cyan);
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.name-card-dialog {
  max-height: calc(100svh - 3rem);
  overflow-y: auto;
  padding: 1.5rem;
}

.name-card-dialog__close {
  top: 0;
  right: 0;
}

.name-card-actions .button--outline {
  border-color: rgb(255 255 255 / 24%);
  background: transparent;
  color: white;
}

.site-footer {
  display: grid;
  min-height: 8rem;
  padding: 2rem max(1.5rem, calc((100% - var(--content)) / 2));
  border-top: 1px solid rgb(255 255 255 / 12%);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  background: var(--ink);
  color: #aeb9c8;
  font-size: 0.86rem;
}

.site-footer p {
  margin: 0;
  text-align: center;
}

.site-footer > a:last-child {
  justify-self: end;
  color: white;
  font-weight: 750;
}

.brand--footer {
  color: white;
}

.brand--footer .brand__mark {
  border-color: rgb(255 255 255 / 30%);
  background: transparent;
}

.gallery-dialog {
  width: calc(100vw - 1rem);
  max-width: none;
  height: calc(100dvh - 1rem);
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: white;
  box-shadow: 0 2rem 6rem rgb(0 0 0 / 35%);
}

.gallery-dialog[open] {
  display: flex;
  flex-direction: column;
}

.gallery-dialog::backdrop {
  background: rgb(4 9 18 / 76%);
  backdrop-filter: blur(8px);
}

.gallery-dialog__bar {
  display: flex;
  flex-shrink: 0;
  padding: 0.65rem 1rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.gallery-dialog__bar p {
  margin: 0 0 0.2rem;
  color: var(--cyan);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-dialog__bar h2 {
  margin: 0;
  font-size: 1.2rem;
}

.gallery-dialog__bar button {
  display: grid;
  width: 2.8rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 50%;
  background: transparent;
  color: white;
  font-size: 1.5rem;
}

.gallery-dialog__stage {
  display: grid;
  flex: 1;
  min-height: 0;
  padding: 0 0.75rem 0.75rem;
  grid-template-columns: 3rem 1fr 3rem;
  align-items: center;
  gap: 0.5rem;
}

.gallery-dialog__stage > button {
  display: grid;
  width: 3rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 50%;
  background: transparent;
  color: white;
}

.gallery-dialog__stage > button:disabled {
  cursor: not-allowed;
  opacity: 0.28;
}

.gallery-dialog__stage figure {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: white;
}

.gallery-dialog__viewport {
  width: 100%;
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgb(25 38 57 / 42%) transparent;
  background: #f7f9fb;
}

.gallery-dialog__zoom-stage {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  place-items: center;
  transform-origin: top left;
}

.gallery-dialog__stage img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  min-height: 0;
  min-width: 0;
  object-fit: contain;
}

.gallery-dialog__stage figcaption {
  display: flex;
  flex-shrink: 0;
  max-height: 40%;
  overflow: auto;
  padding: 0.65rem 0.85rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: white;
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.gallery-dialog__caption {
  display: grid;
  min-width: 0;
  gap: 0.28rem;
}

.gallery-dialog__caption > [data-gallery-caption] {
  font-size: 1.52rem;
  line-height: 1.45;
}

.gallery-dialog__caption small {
  color: var(--muted);
  white-space: nowrap;
}

.gallery-dialog__zoom-controls {
  display: inline-grid;
  flex: 0 0 auto;
  grid-template-columns: 2.3rem 3.6rem 2.3rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7f9fb;
}

.gallery-dialog__zoom-controls button {
  min-height: 2.2rem;
  padding: 0;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-weight: 800;
}

.gallery-dialog__zoom-controls button:last-child {
  border-right: 0;
}

.gallery-dialog__zoom-controls button:hover,
.gallery-dialog__zoom-controls button:focus-visible {
  background: var(--cyan-pale);
  color: var(--ink);
}

.gallery-dialog__zoom-controls button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.js .reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

@keyframes copy-in {
  from { opacity: 0; transform: translateY(2rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scene-in {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes avatar-flight {
  0%, 100% { transform: translate3d(-1%, 1.8%, 0) rotate(-0.35deg) scale(1.025); }
  21% { transform: translate3d(1.5%, -0.8%, 0) rotate(0.45deg) scale(1.025); }
  46% { transform: translate3d(0.8%, -3.2%, 0) rotate(0.12deg) scale(1.025); }
  69% { transform: translate3d(-1.45%, -1.7%, 0) rotate(-0.55deg) scale(1.025); }
  86% { transform: translate3d(-2%, 0.65%, 0) rotate(-0.2deg) scale(1.025); }
}

@keyframes dragon-flight {
  0%, 100% { transform: translate3d(13%, -10%, 0) rotate(-1.2deg) scale(0.4); }
  20% { transform: translate3d(18%, -14.5%, 0) rotate(2deg) scale(0.37); }
  43% { transform: translate3d(15%, -19%, 0) rotate(0.4deg) scale(0.35); }
  68% { transform: translate3d(9%, -14%, 0) rotate(-2.2deg) scale(0.42); }
  86% { transform: translate3d(10.5%, -8%, 0) rotate(-1.5deg) scale(0.43); }
}

@keyframes orbit-pulse {
  0% { opacity: 0; transform: scale(0.75); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.45); }
}

@keyframes twin-scene-float {
  0%, 100% { transform: translate3d(0, 1%, 0); }
  50% { transform: translate3d(0, -1%, 0); }
}

@keyframes twin-interaction {
  0%, 100% { transform: translate3d(0, 0.25%, 0); }
  50% { transform: translate3d(0, -0.25%, 0); }
}

@keyframes twin-hover-pulse {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}

@keyframes puzzle-float {
  0%, 100% { transform: translateY(0.5%) rotate(-0.6deg); }
  50% { transform: translateY(-0.5%) rotate(0.6deg); }
}

@keyframes dot-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.7rem); }
}

@keyframes scroll-line {
  0% { transform: translateX(-100%); }
  50%, 100% { transform: translateX(100%); }
}

@media (max-width: 72rem) {
  .project-grid,
  .project-grid--wide {
    grid-template-columns: repeat(2, 1fr);
  }

  .teaching-pathway {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .teaching-pathway::before {
    top: 1.7rem;
    bottom: 2rem;
    left: 1.7rem;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, var(--cyan), var(--violet), var(--orange), var(--ink));
  }

  .teaching-stage__modules {
    margin-left: 4.2rem;
  }

  .module-card {
    min-height: 20rem;
  }

  .leadership-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .leadership-map li:last-child {
    grid-column: 1 / -1;
  }

  .project-card--feature {
    grid-column: span 2;
  }

  .family-header,
  .family-header--reverse {
    grid-template-columns: 2rem minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .family-header--reverse .family-cover { grid-column: 3; }
  .family-header--reverse > div:nth-child(2) { grid-column: 2; }

  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

@media (max-width: 54rem) {
  :root {
    --header-height: 4.65rem;
  }

  .site-header {
    width: min(calc(100% - 2rem), var(--content));
  }

  .nav-toggle {
    flex-shrink: 0;
    position: relative;
    z-index: 3;
    display: grid;
    width: 2.75rem;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgb(255 255 255 / 88%);
  }

  .nav-toggle span {
    position: absolute;
    width: 1rem;
    height: 1px;
    background: var(--ink);
    transition: 180ms ease;
  }

  .nav-toggle span:first-child { transform: translateY(-0.2rem); }
  .nav-toggle span:last-child { transform: translateY(0.2rem); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

  .site-nav {
    position: fixed;
    z-index: 2;
    top: 0.7rem;
    right: 1rem;
    display: grid;
    width: min(20rem, calc(100% - 2rem));
    padding: 4.6rem 1rem 1rem;
    border-radius: 1.4rem;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-0.75rem) scale(0.98);
    transform-origin: top right;
    transition: 180ms ease;
  }

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

  .site-nav a {
    padding: 0.8rem;
    border-bottom: 1px solid var(--line-soft);
  }

  .site-nav__contact {
    margin-top: 0.7rem;
    justify-content: center;
  }

  .hero {
    display: grid;
    min-height: 100svh;
    padding-block: calc(var(--header-height) + 2rem) 2rem;
    align-items: center;
  }

  .hero::before {
    inset: 0;
    width: 100%;
    height: 100%;
    /* Keep the room visible behind the copy, with a softer wash on the right. */
    background: linear-gradient(90deg, rgb(255 255 255 / 92%) 0%, rgb(255 255 255 / 78%) 48%, rgb(255 255 255 / 22%) 100%);
  }

  .hero__copy {
    width: min(calc(100% - 2rem), var(--content));
    padding-top: 0;
  }

  .hero h1 {
    max-width: 9ch;
    font-size: clamp(3.25rem, 13vw, 5.8rem);
  }

  .hero__intro {
    max-width: 27rem;
    color: var(--ink-soft);
    text-shadow: 0 1px 6px rgb(255 255 255 / 90%);
  }

  .hero__scene {
    inset: 0;
    height: 100%;
  }

  .hero__layer img {
    object-position: 66% center;
  }

  .hero__twins { width: 22rem; right: 0.5rem; bottom: 24%; }
  .hero__layer--twin img,
  .hero__layer--puzzle img { object-position: center; }

  .scroll-cue {
    display: none;
  }

  /* Both languages: five visible links, with no sideways scrolling. */
  .research-index {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.3fr);
    width: 100%;
    padding: 0.3rem;
    overflow: visible;
    border-radius: 1rem;
  }

  .research-index a {
    display: flex;
    min-width: 0;
    min-height: 2.75rem;
    padding: 0.5rem 0.1rem;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.625rem, 2.65vw, 0.8rem);
    line-height: 1.3;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .research-index__divider {
    display: none;
  }

  .section__inner {
    width: min(calc(100% - 2rem), var(--content));
  }

  .section-heading,
  .subsection-heading,
  .about-intro,
  .about-grid,
  .recognition__layout,
  .leadership__heading,
  .academic-service__heading,
  .contact-opportunities__heading,
  .contact-opportunities__content,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card--membership {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .service-card--community,
  .service-card--editorial {
    grid-column: 2;
  }

  .service-card--reviewing {
    grid-column: 1 / 3;
    grid-template-columns: 1fr;
  }

  .section-heading,
  .subsection-heading {
    align-items: start;
    gap: 1.5rem;
  }

  .family-header,
  .family-header--reverse {
    grid-template-columns: 2rem 1fr;
  }

  .family-header .family-cover,
  .family-header--reverse .family-cover {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .family-header--reverse > div:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .family-cover,
  .family-cover img {
    min-height: 0;
  }

  .enquiry-checklist ol {
    grid-template-columns: 1fr;
  }

  .enquiry-checklist li:nth-child(odd) {
    border-right: 0;
  }

  .contact-details {
    order: 2;
  }

  .name-card-wrap {
    order: 1;
  }

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

  .site-footer p {
    display: none;
  }
}

@media (max-width: 38rem) {
  .brand__name {
    display: none;
  }

  .hero__actions,
  .name-card-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .button {
    width: max-content;
  }

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

  .teaching-stage__modules--double {
    grid-template-columns: 1fr;
  }

  .module-card {
    min-height: 18rem;
  }

  .leadership-map,
  .service-showcase,
  .service-card__details {
    grid-template-columns: 1fr;
  }

  .service-card--membership,
  .service-card--editorial,
  .service-card--community,
  .service-card--reviewing {
    min-height: auto;
    grid-column: 1;
    grid-row: auto;
  }

  .service-card--membership {
    min-height: 15rem;
  }

  .service-roles {
    grid-template-columns: 1fr;
  }

  .timeline li {
    grid-template-columns: 1fr;
  }

  .timeline time {
    grid-row: auto;
    margin-bottom: 0.3rem;
  }

  .project-card--feature {
    grid-column: auto;
    display: flex;
  }

  .project-card--feature > img {
    height: clamp(15rem, 55vw, 20rem);
    aspect-ratio: auto;
  }

  .project-card__content,
  .project-card--feature .project-card__content {
    min-height: auto;
  }

  .research-index {
    width: 100%;
    border-radius: 1rem;
  }

  .publication-item,
  .research-project-item {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .publication-group__heading {
    align-items: baseline;
  }

  .publication-group__heading > div {
    gap: 0.65rem;
  }

  .name-card-actions .button {
    width: 100%;
  }

  .gallery-dialog__stage {
    position: relative;
    display: block;
    padding-inline: 0.75rem;
  }

  .gallery-dialog__stage > button {
    position: absolute;
    z-index: 2;
    top: 42%;
    width: 2.5rem;
    background: rgb(10 19 37 / 78%);
    backdrop-filter: blur(8px);
  }

  .gallery-dialog__stage > [data-gallery-prev] {
    left: 1rem;
  }

  .gallery-dialog__stage > [data-gallery-next] {
    right: 1rem;
  }

  .gallery-dialog__stage figcaption {
    align-items: stretch;
    flex-direction: column;
    max-height: 45%;
  }

  .gallery-dialog__zoom-controls {
    align-self: flex-end;
  }

  .site-footer {
    padding-inline: 1rem;
  }
}

/* Chinese typography is scoped, leaving the completed English layout intact. */
html:lang(zh-CN) body {
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  line-height: 1.8;
  line-break: strict;
}

html:lang(zh-CN) :is(h1, h2, h3, h4, .about-intro__lead, .hero__roles) {
  letter-spacing: 0;
  line-height: 1.25;
}

html:lang(zh-CN) :is(.section-heading h2, .contact-heading h2) {
  max-width: none;
  font-size: clamp(1.75rem, 2.8vw, 3.2rem);
  text-wrap: pretty;
}

html:lang(zh-CN) :is(.leadership__heading h3, .academic-service__heading h3) {
  max-width: none;
  font-size: clamp(1.35rem, 2.2vw, 2.5rem);
  text-wrap: pretty;
}

html:lang(zh-CN) :is(.family-header h3, .subsection-heading h3, .contact-opportunities__heading h3) {
  max-width: none;
  font-size: clamp(1.5rem, 2.3vw, 2.6rem);
  text-wrap: pretty;
}

@media (min-width: 54.01rem) {
  /* Extend the English copy to the section edge without moving its left edge.
     The first track retains 55% of the original 72rem layout, minus its gap share. */
  html:lang(en) .about-intro {
    max-width: none;
    grid-template-columns:
      minmax(0, calc(min(55%, 39.6rem) - clamp(1.1rem, 3.85vw, 3.85rem)))
      minmax(0, 1fr);
  }

  /* Give the Chinese introduction more room while keeping the art between columns. */
  html:lang(zh-CN) .about-intro {
    max-width: none;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(2rem, 5vw, 5rem);
  }

  html:lang(zh-CN) .about-opening__art {
    top: 50%;
    left: 60%;
    right: auto;
    height: calc(100% + 3rem);
    transform: translate(-50%, -50%);
    object-position: center;
    opacity: 0.28;
  }

  html:lang(zh-CN) .about-opening .about-intro__lead {
    text-shadow: 0 0 6px white, 0 0 2px white;
  }

  /* Compact the single-line Chinese heading without enlarging the artwork. */
  html:lang(zh-CN) .section-heading--research {
    min-height: clamp(16rem, 23vw, 20rem);
    margin-bottom: clamp(4rem, 5vw, 5rem);
    align-items: center;
  }

  html:lang(zh-CN) .section-heading--research > .section-heading__art {
    width: 51%;
    height: auto;
    top: 50%;
    right: 19.5%;
    transform: translateY(-50%);
  }

  html:lang(zh-CN) .section-heading--research > div {
    text-shadow: 0 0 6px var(--mist), 0 0 2px var(--mist);
  }

  html:lang(zh-CN) :is(.section-heading h2, .contact-heading h2,
    .leadership__heading h3, .academic-service__heading h3,
    .family-header h3, .subsection-heading h3, .contact-opportunities__heading h3) {
    white-space: nowrap;
  }
}

/* Pure-white artwork blends into the mist background without a rectangular tile. */
.section-heading--research > .section-heading__art {
  mix-blend-mode: multiply;
  mask-image: linear-gradient(to bottom, transparent, black 5%, black 78%, transparent 100%);
}

html:lang(zh-CN) .hero__role {
  display: block;
  white-space: nowrap;
}

html:lang(zh-CN) :is(.eyebrow, .mini-label, .service-card__kicker) {
  letter-spacing: 0.08em;
}

html:lang(zh-CN) .gallery-dialog__stage figcaption {
  line-height: 1.65;
}

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

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

  .hero__layer,
  .hero__layer img,
  .hero__twins-content {
    transform: none !important;
  }
}
