:root {
  --ink: #063d48;
  --ink-soft: #285661;
  --muted: #53757c;
  --paper: #f7fffd;
  --surface: #ffffff;
  --mist: #e7fbf7;
  --line: #c7eee7;
  --teal: #89e8d8;
  --teal-dark: #075b67;
  --teal-deep: #043f4a;
  --forest: #2d6a4f;
  --coral: #c86f4a;
  --gold: #d7a84a;
  --shadow: 0 18px 55px rgba(7, 91, 103, 0.14);
  --radius: 8px;
  --content: 1180px;
  --header-height: 76px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.sr-only,
.skip-link {
  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:focus {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  background: var(--surface);
  border: 2px solid var(--teal);
}

.container {
  width: min(100% - 2rem, var(--content));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto 0;
  min-height: var(--header-height);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header.scrolled,
.site-header:focus-within {
  background: rgba(251, 250, 246, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 26px rgba(16, 33, 42, 0.08);
  backdrop-filter: blur(18px);
}

body[data-page]:not([data-page="home"]) .site-header {
  background: rgba(251, 250, 246, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 26px rgba(16, 33, 42, 0.08);
  backdrop-filter: blur(18px);
}

body[data-page]:not([data-page="home"]) .brand,
body[data-page]:not([data-page="home"]) .nav-links a,
body[data-page]:not([data-page="home"]) .lang-button {
  color: var(--ink-soft);
}

body[data-page]:not([data-page="home"]) .language-switch {
  border-color: var(--line);
  background: var(--surface);
}

body[data-page]:not([data-page="home"]) .lang-button.active {
  color: var(--teal-deep);
  background: var(--teal);
}

.nav-shell {
  width: min(100% - 2rem, var(--content));
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #ffffff;
}

.site-header.scrolled .brand,
.site-header:focus-within .brand {
  color: var(--ink);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 42px;
  border-radius: var(--radius);
  color: var(--teal-deep);
  background: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand small {
  margin-top: 0.12rem;
  color: currentColor;
  opacity: 0.72;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.02rem;
}

.nav-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.55rem;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.site-header.scrolled .nav-links a,
.site-header:focus-within .nav-links a {
  color: var(--ink-soft);
}

.nav-links a.active,
.site-header.scrolled .nav-links a.active,
.site-header:focus-within .nav-links a.active {
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.22);
}

.site-header.scrolled .nav-links a.active,
.site-header:focus-within .nav-links a.active {
  background: var(--mist);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.site-header.scrolled .nav-links a:hover,
.site-header.scrolled .nav-links a:focus-visible,
.site-header:focus-within .nav-links a:hover,
.site-header:focus-within .nav-links a:focus-visible {
  background: var(--mist);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.site-header.scrolled .nav-toggle,
.site-header:focus-within .nav-toggle {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.language-switch {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.site-header.scrolled .language-switch,
.site-header:focus-within .language-switch {
  border-color: var(--line);
  background: var(--surface);
}

.lang-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-width: 42px;
  min-height: 34px;
  padding: 0.25rem 0.45rem;
  border: 0;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.86);
  background: transparent;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 900;
}

.site-header.scrolled .lang-button,
.site-header:focus-within .lang-button {
  color: var(--ink-soft);
}

.lang-button.active {
  color: var(--teal-dark);
  background: #ffffff;
}

.site-header.scrolled .lang-button.active,
.site-header:focus-within .lang-button.active {
  color: var(--teal-deep);
  background: var(--teal);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #ffffff;
}

.subpage-main {
  padding-top: var(--header-height);
}

.page-hero {
  padding: 4.5rem 0;
  color: #ffffff;
  background: var(--teal-dark);
}

.page-hero .container {
  max-width: 900px;
}

.page-hero .section-kicker {
  color: #f4c06d;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
}

.page-hero p:last-child {
  max-width: 760px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 35, 42, 0.9) 0%, rgba(7, 35, 42, 0.6) 46%, rgba(7, 35, 42, 0.12) 100%),
    linear-gradient(0deg, rgba(7, 35, 42, 0.72) 0%, rgba(7, 35, 42, 0.1) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--content));
  margin: 0 auto;
  padding: calc(var(--header-height) + 4rem) 0 3rem;
}

.eyebrow,
.section-kicker,
.card-tag {
  margin: 0 0 0.75rem;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero .eyebrow,
.intro-band .section-kicker,
.join-section .section-kicker {
  color: #f4c06d;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.8rem, 8vw, 6.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: 1.28rem;
}

h4 {
  font-size: 1.06rem;
}

.hero-copy {
  max-width: 720px;
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.hero-actions,
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button.primary {
  color: var(--teal-deep);
  background: var(--teal);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
}

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.button.light,
.button.small {
  color: var(--teal-dark);
  border-color: var(--line);
  background: var(--surface);
}

.button.small {
  min-height: 40px;
  padding: 0.48rem 0.8rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 980px;
  margin: 4rem 0 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-metrics div {
  padding: 1rem;
  background: rgba(7, 35, 42, 0.58);
  backdrop-filter: blur(12px);
}

.hero-metrics dt {
  color: #f4c06d;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-metrics dd {
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.86);
}

.intro-band,
.section {
  padding: 5rem 0;
}

.intro-band {
  background: var(--teal-dark);
  color: #ffffff;
}

.intro-grid,
.section-heading.row,
.contact-grid,
.footer-grid,
.pi-grid,
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: start;
}

.intro-grid p:last-child,
.section-heading p,
.pi-copy p,
.contact-grid p,
.site-footer p {
  margin: 0;
  color: var(--ink-soft);
}

.intro-grid p:last-child {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.06rem;
}

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

.section-heading {
  max-width: 770px;
  margin-bottom: 2rem;
}

.section-heading.row {
  max-width: none;
  margin-bottom: 2rem;
}

.section-heading.row p {
  max-width: 560px;
  justify-self: end;
}

.section-heading > p {
  margin-top: 0.9rem;
}

.pi-grid {
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  align-items: center;
}

.pi-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mist);
  box-shadow: var(--shadow);
}

.pi-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.pi-copy p + p {
  margin-top: 0.9rem;
}

.pi-teaching {
  margin-top: 1.5rem;
  scroll-margin-top: 100px;
}

.pi-teaching h3 {
  margin: 0 0 0.65rem;
}

.teaching-courses {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

.two-column {
  align-items: start;
}

.timeline,
.award-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.timeline-item,
.award-item {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.timeline-item time,
.award-item time {
  color: var(--teal-dark);
  font-weight: 900;
}

.timeline-item p,
.award-item p {
  margin: 0;
  color: var(--ink-soft);
}

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

.theme-card,
.project-card,
.news-card,
.person-card,
.contact-card,
.opportunity-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 30px rgba(16, 33, 42, 0.06);
}

.theme-card {
  overflow: hidden;
}

.theme-media {
  position: relative;
  min-height: 172px;
  display: flex;
  align-items: end;
  padding: 1rem;
  overflow: hidden;
  color: #ffffff;
}

.theme-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 63, 74, 0.08), rgba(4, 63, 74, 0.76));
  content: "";
}

.theme-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.theme-media span {
  position: relative;
  z-index: 1;
  padding: 0.36rem 0.62rem;
  border-radius: var(--radius);
  background: rgba(4, 63, 74, 0.7);
  font-size: 0.78rem;
  font-weight: 900;
}

.card-body,
.project-card,
.news-card,
.person-card,
.contact-card,
.opportunity-card {
  padding: 1.2rem;
}

.card-body p,
.project-card p,
.news-card p,
.person-card p,
.contact-card p,
.opportunity-card p {
  color: var(--ink-soft);
}

.card-body ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.people-groups {
  display: grid;
  gap: 2rem;
}

.people-group h3 {
  margin-bottom: 1rem;
  color: var(--teal-dark);
}

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

.person-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.person-photo-frame {
  width: 128px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--mist);
}

.person-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  transform: scale(var(--portrait-scale, 1.18));
  transform-origin: var(--portrait-origin, center 24%);
}

.role {
  margin: 0.35rem 0 0.75rem;
  color: var(--teal-dark);
  font-weight: 900;
}

.person-meta {
  display: grid;
  gap: 0.55rem;
  margin: 0.75rem 0 0;
}

.person-meta dt {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.person-meta dd {
  margin: 0.1rem 0 0;
  color: var(--ink-soft);
}

.person-details,
.project-details {
  margin-top: 0.85rem;
}

.person-details summary,
.project-details summary {
  color: var(--teal-dark);
  cursor: pointer;
  font-weight: 900;
}

.person-details p,
.project-details p {
  margin: 0.65rem 0 0;
}

.text-link {
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.filter-bar,
.publication-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.chip {
  min-height: 38px;
  padding: 0.42rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
  background: var(--surface);
  cursor: pointer;
}

.chip.active,
.chip:hover,
.chip:focus-visible {
  color: var(--teal-deep);
  background: var(--teal);
  border-color: var(--teal);
  outline: none;
}

.project-card dl {
  display: grid;
  gap: 0.7rem;
  margin: 1.2rem 0 0;
}

.project-card dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-card dd {
  margin: 0.1rem 0 0;
  color: var(--ink-soft);
}

.publication-tools {
  display: flex;
  gap: 0.6rem;
  justify-self: end;
  width: min(100%, 540px);
}

.publication-tools input,
.publication-tools select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface);
}

.publication-tools input {
  flex: 1;
  min-width: 180px;
  padding: 0.65rem 0.8rem;
}

.publication-tools select {
  padding: 0.65rem 0.7rem;
}

.publication-list {
  display: grid;
  gap: 1rem;
}

.publication-year {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 1rem;
}

.publication-year h3 {
  color: var(--teal-dark);
}

.publication-item {
  margin-bottom: 0.75rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.publication-item.highlight {
  border-left: 4px solid var(--gold);
}

.publication-item p {
  margin: 0;
  color: var(--ink-soft);
}

.empty-state {
  padding: 1rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--surface);
}

.news-card time {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--muted);
  font-weight: 900;
}

.news-card.wide {
  grid-column: 1 / -1;
  display: block;
}

.news-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
}

.news-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.publication-item a {
  color: inherit;
  text-decoration-color: var(--teal);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.news-details {
  margin-top: 0.9rem;
}

.news-details summary {
  color: var(--teal-dark);
  cursor: pointer;
  font-weight: 900;
}

.news-details p {
  margin: 0.65rem 0 0;
}

.join-section {
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(7, 61, 69, 0.96), rgba(13, 91, 99, 0.88)),
    var(--teal-dark);
}

.join-section .section-heading p {
  color: rgba(255, 255, 255, 0.78);
}

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

.opportunity-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.opportunity-card p {
  color: rgba(255, 255, 255, 0.78);
}

.materials {
  display: grid;
  gap: 0.25rem;
  margin: 1rem 0;
  padding: 0.8rem;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
}

.materials strong {
  color: #f4c06d;
}

.join-section .text-link {
  color: #ffffff;
}

.contact-card a {
  color: var(--teal-dark);
}

.site-footer {
  padding: 2.2rem 0;
  color: rgba(255, 255, 255, 0.78);
  background: #0c2229;
}

.site-footer strong {
  color: #ffffff;
}

.site-footer p {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffffff;
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 1rem;
    right: 1rem;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    padding: 0.8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links a,
  .site-header.scrolled .nav-links a,
  .site-header:focus-within .nav-links a {
    color: var(--ink);
  }

  .hero-metrics,
  .intro-grid,
  .section-heading.row,
  .contact-grid,
  .footer-grid,
  .pi-grid,
  .two-column,
  .news-card.wide {
    grid-template-columns: 1fr;
  }

  .section-heading.row p,
  .publication-tools,
  .footer-links {
    justify-self: start;
  }

  .theme-grid,
  .project-grid,
  .news-grid,
  .people-grid,
  .opportunity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pi-photo {
    max-width: 430px;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 68px;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 52px;
    height: 38px;
  }

  .hero {
    min-height: 94vh;
  }

  .hero-content {
    padding-bottom: 1.4rem;
  }

  .hero-metrics,
  .theme-grid,
  .project-grid,
  .news-grid,
  .people-grid,
  .opportunity-grid,
  .news-photos {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    margin-top: 2.2rem;
  }

  .intro-band,
  .section {
    padding: 3.5rem 0;
  }

  .person-card,
  .publication-year,
  .timeline-item,
  .award-item {
    grid-template-columns: 1fr;
  }

  .person-photo-frame {
    width: 100%;
    max-width: 220px;
  }

  .publication-tools {
    flex-direction: column;
  }

  .nav-links {
    grid-template-columns: 1fr;
  }
}

/* Local review edition · October 2026 */
:root { --paper:#f8faf7; --mist:#edf3ef; --line:#d9e5df; --radius:12px; --shadow:0 12px 32px rgba(6,61,72,.07); }
.container,.nav-shell,.hero-content { width:min(100% - 3rem,var(--content)); }
.site-header { background:var(--teal-deep); }
.brand strong { white-space:nowrap; }
.nav-links a.active { color:#fff; border-bottom:2px solid var(--teal); }
.hero { min-height:700px; background:var(--teal-deep); align-items:center; }
.hero-image { left:auto; width:50%; max-width:750px; object-position:60% center; }
.hero-overlay { background:linear-gradient(90deg,#043f4a 35%,rgba(4,63,74,.86) 48%,rgba(4,63,74,.08) 78%),linear-gradient(0deg,rgba(4,63,74,.8),transparent 50%); }
.hero-content { padding:140px 0 42px; }
.hero h1 { font-size:clamp(3rem,6vw,5rem); white-space:nowrap; line-height:1.12; letter-spacing:-.045em; }
.hero .eyebrow { max-width:540px; font-size:.78rem; line-height:1.7; letter-spacing:.12em; }
.hero-welcome { margin:.7rem 0 0; font-size:1.05rem; color:#c6dfd8; }
.hero-copy { max-width:540px; margin-top:1.2rem; line-height:1.8; font-size:1.06rem; }
.hero-metrics { max-width:none; margin-top:3rem; border-radius:0; border-left:0;border-right:0;background:transparent;gap:2rem; }
.hero-metrics div { background:transparent;backdrop-filter:none;padding:1.2rem 0; }
.hero-metrics dd { font-size:.9rem; }
h2 { font-size:clamp(1.9rem,3.2vw,2.8rem); line-height:1.22; }
h3,h4 { line-height:1.4; }
.intro-band { background:#fff;color:var(--ink);padding:4rem 0;border-bottom:1px solid var(--line); }
.intro-band .section-kicker { color:var(--coral); }
.intro-grid p:last-child { color:var(--ink-soft);line-height:1.85; }
.section { padding:4.5rem 0; }
section[id] { scroll-margin-top:100px; }
.theme-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem; }
.theme-media { height:210px; }
.theme-media span { background:rgba(4,63,74,.86); }
.theme-card .card-tag { display:none; }
.card-body { padding:1.7rem; }
.card-body p { line-height:1.8; }
.theme-card { box-shadow:none; }
.home-pi { display:grid;grid-template-columns:210px minmax(0,1fr);gap:3rem;align-items:center; }
.home-pi>img { width:210px;aspect-ratio:4/5;object-fit:cover;border-radius:12px; }
.home-pi p:not(.section-kicker) { line-height:1.85;color:var(--ink-soft); }
.selected-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem; }
.selected-grid .publication-item { margin:0; }
.section-heading.row { align-items:end; }
.section-heading.row>.text-link { justify-self:end; }
.publication-item { padding:1.5rem; box-shadow:none; }
.publication-item .publication-authors { font-size:.88rem;color:var(--muted);line-height:1.7; }
.publication-title { margin:.5rem 0 .65rem;font-size:1.1rem;font-weight:700; }
.publication-item .publication-journal { font-size:.93rem;color:var(--ink-soft); }
.publication-item .doi-link { display:inline-flex;margin-top:1rem;padding:.25rem .6rem;border:1px solid var(--line);border-radius:5px;color:var(--teal-dark);font-size:.8rem;font-weight:800;text-decoration:none; }
.doi-link:hover { background:var(--mist); }
.news-card h3 a { text-decoration:none; }
.news-card h3 a:hover { text-decoration:underline; }
.page-hero { padding:3.5rem 0; }
.page-hero h1 { font-size:clamp(2.4rem,5vw,3.8rem); }
.publication-year h3 { padding-top:1.5rem; }
.person-photo { transform:scale(var(--portrait-scale,1)); }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible { outline:3px solid var(--coral);outline-offset:4px; }
body[data-page]:not([data-page="home"]) .nav-toggle { color:var(--ink);background:var(--surface);border-color:var(--line); }
@media(max-width:1080px) { .hero-metrics { grid-template-columns:repeat(3,1fr); }.selected-grid { grid-template-columns:1fr; }.section-heading.row>.text-link { justify-self:start; }.nav-toggle { margin-left:auto; } }
@media(max-width:680px) { .container,.nav-shell,.hero-content { width:calc(100% - 2rem); }.hero { min-height:0; }.hero-image { width:100%;max-width:none;opacity:.32; }.hero-overlay { background:linear-gradient(0deg,#043f4a,rgba(4,63,74,.6)); }.hero-content { padding:116px 0 28px; }.hero h1 { font-size:3.2rem; }.hero-metrics { grid-template-columns:1fr;gap:0;margin-top:2rem; }.hero-metrics div { padding:.75rem 0; }.hero-metrics dd { margin-top:.1rem; }.theme-grid { grid-template-columns:1fr; }.home-pi { grid-template-columns:1fr;gap:1.5rem; }.home-pi>img { width:150px; }.section,.intro-band { padding:3rem 0; }.card-body { padding:1.3rem; }.theme-media { height:190px; }.brand { gap:.4rem; }.brand-mark { width:42px;font-size:.65rem; }.brand strong { font-size:.9rem; }.nav-shell { gap:.45rem; }.lang-button { min-width:35px; }.language-switch { gap:0; }.publication-year h3 { padding-top:0; }.person-photo-frame { max-width:180px; } }
@media(prefers-reduced-motion:reduce) { :root { scroll-behavior:auto; }* { transition:none!important; } }
/* The source portrait is stored sideways; correct presentation without altering it. */
/* These close-up source photos need their full framing rather than extra zoom. */
.person-photo[src$="huilin-lai-2026.jpeg"] {
  object-fit: contain;
  object-position: center;
  transform: none;
}
.person-photo-frame:has(.portrait-rotated) { position: relative; }
.person-photo.portrait-rotated {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 125%;
  max-width: none;
  height: 80%;
  object-fit: contain;
  object-position: center;
  transform: translate(-50%, -50%) rotate(90deg);
  transform-origin: center;
}

/* Jelly sea palette — visual-only revision, October 2026 */
:root {
  --ink:#123e5c; --ink-soft:#28536c; --muted:#48677d;
  --paper:#f5fbff; --surface:#fff; --mist:#e8f6fc; --line:#c6e3ed;
  --teal:#a3e9ec; --teal-dark:#08647b; --teal-deep:#164d6c;
  --forest:#247b87; --coral:#08718b; --gold:#31a7bb;
  --shadow:0 12px 32px rgba(28,111,151,.08);
}
.site-header,
.site-header.scrolled,
.site-header:focus-within,
body[data-page]:not([data-page="home"]) .site-header {
  background:rgba(245,252,255,.96); border-bottom-color:var(--line);
  box-shadow:0 4px 22px rgba(34,109,144,.06);backdrop-filter:blur(12px);
}
.brand,.nav-links a,.lang-button,
.site-header.scrolled .brand,.site-header:focus-within .brand { color:var(--ink); }
.brand-mark { background:linear-gradient(135deg,#c8f5fb,#9ae2ec);color:var(--ink); }
.language-switch,.site-header.scrolled .language-switch,.site-header:focus-within .language-switch { border-color:var(--line);background:rgba(255,255,255,.85); }
.lang-button.active,.site-header.scrolled .lang-button.active,.site-header:focus-within .lang-button.active,
body[data-page]:not([data-page="home"]) .lang-button.active { color:var(--ink);background:#b3edf2; }
.nav-links a.active,.site-header.scrolled .nav-links a.active,.site-header:focus-within .nav-links a.active { color:var(--teal-dark);background:#dff4fb;border-bottom-color:#46b9cc; }
.nav-links a:hover,.nav-links a:focus-visible,.site-header.scrolled .nav-links a:hover,.site-header:focus-within .nav-links a:hover { background:#dff4fb;color:var(--ink); }
.nav-toggle,.site-header.scrolled .nav-toggle,.site-header:focus-within .nav-toggle { color:var(--ink);border-color:var(--line);background:#fff; }
.hero { color:var(--ink);background:linear-gradient(125deg,#eefbff 0%,#c5eefa 55%,#abe2ee 100%); }
.hero-overlay { background:linear-gradient(90deg,#edfaff 32%,rgba(230,248,255,.97) 43%,rgba(222,247,255,.65) 57%,rgba(220,247,255,0) 75%),linear-gradient(0deg,rgba(208,242,251,.95),rgba(226,249,255,0) 42%); }
.hero .eyebrow,.intro-band .section-kicker,.join-section .section-kicker,.page-hero .section-kicker { color:var(--teal-dark); }
.hero-copy,.hero-welcome { color:var(--ink-soft); }
.hero-metrics { border-color:rgba(8,100,123,.22); }
.hero-metrics dt { color:var(--teal-dark); }.hero-metrics dd { color:var(--ink-soft); }
.button.primary { background:#a3e9ec;color:var(--ink);box-shadow:0 6px 20px rgba(22,104,136,.1);border-color:#87d3df; }
.button.secondary { color:var(--ink);background:rgba(255,255,255,.7);border-color:#83b9cd; }
.button.primary:hover,.button.primary:focus-visible { background:#8fdee5; }
.button.secondary:hover,.button.secondary:focus-visible,.button.light:hover,.button.small:hover { background:#e0f5fc;border-color:#67aabd; }
.intro-band { background:#fff; }.section.muted { background:linear-gradient(135deg,#eaf8fd,#f0fbff); }
.theme-card,.project-card,.news-card,.person-card,.contact-card,.publication-item { border-color:var(--line);box-shadow:0 6px 24px rgba(44,126,161,.045); }
.theme-media::after { background:linear-gradient(180deg,transparent 35%,rgba(13,57,79,.48)); }
.theme-media span { background:rgba(19,62,86,.9);color:#fff; }
.page-hero { color:var(--ink);background:linear-gradient(115deg,#e8f9ff,#c1eefa 70%,#b2e7f1); }
.page-hero p:last-child { color:var(--ink-soft); }
.chip.active,.chip:hover,.chip:focus-visible { color:var(--ink);background:#b3edf2;border-color:#86cad9; }
.publication-item .doi-link:hover,.publication-item .doi-link:focus-visible { background:#dcf3fa;color:#064e66;border-color:#6dacc1; }
.publication-item.highlight { border-left-color:#36a8bf; }
.join-section { color:var(--ink);background:linear-gradient(120deg,#dcf5fc,#c8edf8); }
.join-section .section-heading p,.opportunity-card p,.materials { color:var(--ink-soft); }
.opportunity-card { background:rgba(255,255,255,.78);border-color:#acd5e3; }
.materials { background:#e7f7fd; }.materials strong { color:var(--teal-dark); }.join-section .text-link { color:var(--teal-dark); }
.site-footer { color:var(--ink-soft);background:#dff2fb;border-top:1px solid var(--line); }
.site-footer strong { color:var(--ink); }.site-footer p,.footer-links a { color:var(--ink-soft); }
.footer-links a:hover,.footer-links a:focus-visible { color:#064e66;text-decoration:underline; }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible { outline-color:#08718b; }
@media(max-width:680px) { .hero-image { opacity:1; }.hero-overlay { background:linear-gradient(90deg,rgba(237,250,255,.96),rgba(237,250,255,.88)),linear-gradient(0deg,#d0f2fb,transparent); } }
/* Keep the focus summary legible over the photograph. */
.hero-metrics { background:rgba(237,250,255,.96); }
.hero-metrics div { padding-left:1rem;padding-right:1rem; }
.opportunity-card,.materials { min-width:0;overflow-wrap:anywhere; }
@media(max-width:680px) { .opportunity-grid { grid-template-columns:minmax(0,1fr); } }

/* Team PI portrait: match the supplied upper-body reference crop. */
.pi-photo {
  position: relative;
  aspect-ratio: 688 / 794;
}
.pi-photo img {
  position: absolute;
  width: 146%;
  max-width: none;
  height: auto;
  aspect-ratio: auto;
  left: -39%;
  top: -45%;
  object-fit: initial;
}

/* A restrained, content-first presentation. */
.section.muted { background: #edf8fd; }
.page-hero { background: #e4f5fc; }
.join-section { background: #edf8fd; }
.brand-mark { background: #b7ebf2; }
.theme-card,.project-card,.news-card,.person-card,.contact-card,.publication-item,
.pi-photo,.button.primary { box-shadow: none; }
.theme-media span { display: none; }
.contact-simple .contact-card { max-width: 760px; margin-inline: auto; }
body[data-page="home"] .section { padding-block: 4rem; }
@media(max-width:680px) { body[data-page="home"] .section { padding-block: 2.5rem; } }

.section-heading.row > div .section-kicker { justify-self: start; width: 100%; max-width: none; }

/* Preserve complete group portraits in the IPBES photo gallery. */
.ipbes-gallery { align-items: center; }
.ipbes-gallery img { aspect-ratio: auto; height: auto; object-fit: contain; }
.ipbes-gallery img:first-child { grid-row: span 2; }
@media(max-width:680px) { .ipbes-gallery img:first-child { grid-row: auto; } }

.complete-gallery { align-items: center; }
.complete-gallery img { aspect-ratio: auto; height: auto; object-fit: contain; }
.news-card[id] { scroll-margin-top: 100px; }

/* News overview: readable text with one photographic cover. */
.news-overview { display:grid; grid-template-columns:minmax(0,1fr) 260px; gap:2rem; align-items:center; }
.news-summary { min-width:0; }
.news-summary h3 { margin:0 0 .8rem; }
.news-excerpt { color:var(--muted); display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; margin:0; }
.news-cover { width:100%; height:180px; object-fit:contain; border-radius:14px; background:#eef8fb; }
@media(max-width:650px) { .news-overview { grid-template-columns:1fr; gap:1rem; } .news-cover { height:auto; max-height:240px; } }

.news-card:has(.news-details[open]) .news-excerpt { display: none; }

/* Introduce the team together before the individual profiles. */
.team-photo-section { padding-top: 2.5rem; }
.team-photo { max-width: 1080px; margin: 0 auto; }
.team-photo a { display: block; border-radius: 16px; }
.team-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; border-radius: 16px; }
.team-photo figcaption { margin-top: .9rem; color: var(--muted); font-size: .9rem; text-align: center; }
.team-photo-section + .pi-section { padding-top: 3rem; }
@media (max-width: 680px) {
  .team-photo-section { padding-top: 1.5rem; }
  .team-photo img { aspect-ratio: auto; }
  .team-photo-section + .pi-section { padding-top: 2rem; }
}

/* Research overview and links to the existing evidence. */
.research-hero h1 { max-width: 920px; font-size: clamp(2rem, 3.7vw, 3.1rem); line-height: 1.18; }
.research-introduction { max-width: 900px; font-size: 1.06rem; line-height: 1.85; }
.research-introduction p { margin: 1.2rem 0; }
.research-contents { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.research-contents a { display: inline-flex; align-items: center; gap: .8rem; padding: .7rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-weight: 650; }
.research-area { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px, 1fr); gap: 3rem; padding: 3.5rem 0; border-bottom: 1px solid var(--line); }
.research-prose h2 { margin: 0 0 1.4rem; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.3; }
.research-prose p { margin: 0 0 1.2rem; line-height: 1.85; }
.research-prose p:last-child { margin-bottom: 0; }
.research-evidence { border-left: 1px solid var(--line); padding-left: 2rem; min-width: 0; }
.research-evidence h3 { margin: 0 0 1rem; font-size: .84rem; letter-spacing: .035em; color: var(--muted); }
.research-evidence h3:not(:first-child) { margin-top: 2rem; }
.research-reference-list { list-style: none; padding: 0; margin: 0; }
.research-reference-list li { margin-bottom: 1.15rem; }
.research-reference-list a { display: block; font-size: .94rem; line-height: 1.5; font-weight: 600; overflow-wrap: anywhere; text-decoration: none; }
.research-reference-list a:hover, .research-reference-list a:focus-visible, .theme-title-link:hover { text-decoration: underline; text-underline-offset: .2em; }
.research-reference-meta { display: block; color: var(--muted); font-size: .76rem; line-height: 1.55; margin-bottom: .35rem; }
.research-reference-list .research-doi { display: inline-block; font-size: .75rem; margin-top: .35rem; font-weight: 500; }
.research-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.theme-title-link { color: inherit; text-decoration: none; }
.project-card[id], .publication-item[id], .research-area[id] { scroll-margin-top: 100px; }
.project-card:target, .publication-item:target { border-color: var(--teal-dark); outline: 2px solid #b7ebf2; outline-offset: 3px; }
@media (max-width: 800px) {
  .research-area { grid-template-columns: 1fr; gap: 2rem; padding-block: 2.5rem; }
  .research-evidence { border-left: 0; border-top: 1px solid var(--line); padding: 1.5rem 0 0; }
  .research-contents { gap: .5rem; }
  .research-contents a { font-size: .9rem; padding: .6rem .8rem; }
}

/* An intact publication figure with a full-size reading option. */
.research-prose { min-width: 0; }
.research-anchor-alias { display: block; scroll-margin-top: 100px; }
.research-figure { grid-column: 1 / -1; width: 100%; max-width: 880px; margin: 0 auto; padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.research-figure h3 { margin: 0 0 1.5rem; font-size: 1.25rem; }
.research-figure-image { display: block; border-radius: 6px; }
.research-figure-image img { display: block; width: 100%; height: auto; object-fit: contain; }
.research-figure figcaption { margin-top: 1.5rem; font-size: .92rem; line-height: 1.7; }
.research-figure figcaption p { margin: 0 0 .8rem; }
.research-figure-source { color: var(--muted); font-size: .82rem; }
.research-figure-links { display: flex; flex-wrap: wrap; gap: .7rem 1.25rem; font-weight: 600; font-size: .85rem; }

.research-figure { scroll-margin-top: 100px; }
.research-contents { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; }
.research-contents a { justify-content: space-between; text-decoration: none; }
.research-contents a::after { content: "↘"; }
@media (max-width: 600px) { .research-contents { grid-template-columns: 1fr; } }
