:root {
  --ink: #202124;
  --muted: #5f6368;
  --line: #dadce0;
  --surface: #ffffff;
  --soft: #f7f8fa;
  --accent: #0b57d0;
  --accent-dark: #174ea6;
  --green: #1e8e3e;
  --gold: #fbbc04;
  --max: 1120px;
}

.theme-ntuyang-refined {
  --ink: #1f2b25;
  --muted: #637167;
  --line: #d5dbd2;
  --surface: #f6f2e9;
  --soft: #ebe5d9;
  --accent: #2f5748;
  --accent-dark: #223f34;
  background: #f6f2e9;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
}

.theme-ntuyang {
  --ink: #17202a;
  --muted: #5d6875;
  --line: #d8dde4;
  --surface: #fbfbfa;
  --soft: #f2f0ec;
  --accent: #153b63;
  --accent-dark: #0e2a46;
  background: #fbfbfa;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

body {
  scroll-snap-type: y mandatory;
  overflow-y: auto;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

main {
  scroll-snap-type: y mandatory;
}

.site-header-warm {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

.site-header-warm .brand,
.site-header-warm .nav-links a {
  color: #f7f4ec;
}

.site-header-warm .nav-links a:hover,
.site-header-warm .nav-links a:focus-visible {
  background: rgba(247, 244, 236, 0.12);
  color: #ffffff;
}

.nav-links-soft a {
  border-radius: 999px;
  padding: 8px 12px;
}

.theme-ntuyang-refined .brand {
  font-size: 15px;
}

.theme-ntuyang-refined .nav-links a {
  color: rgba(247, 244, 236, 0.88);
}

.theme-ntuyang-refined .nav-links a:hover,
.theme-ntuyang-refined .nav-links a:focus-visible {
  color: #ffffff;
}

.nav-links-soft a:hover,
.nav-links-soft a:focus-visible {
  background: rgba(53, 92, 75, 0.08);
  text-decoration: none;
}

.theme-ntuyang .site-header {
  background: rgba(251, 251, 250, 0.92);
  border-bottom: 1px solid rgba(23, 32, 42, 0.08);
}

.theme-ntuyang .nav {
  min-height: 78px;
}

.theme-ntuyang .nav-links {
  gap: 10px;
}

.theme-ntuyang .nav-links a {
  border-radius: 999px;
  padding: 8px 12px;
}

.theme-ntuyang .nav-links a:hover,
.theme-ntuyang .nav-links a:focus-visible {
  background: rgba(21, 59, 99, 0.06);
  color: var(--ink);
  text-decoration: none;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.theme-ntuyang-refined .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

.theme-ntuyang-refined .nav {
  min-height: 84px;
}

.theme-ntuyang-refined .brand,
.theme-ntuyang-refined .brand span,
.theme-ntuyang-refined .nav-links a {
  color: #f7f4ec;
}

.theme-ntuyang-refined .nav-links a:hover,
.theme-ntuyang-refined .nav-links a:focus-visible {
  background: rgba(247, 244, 236, 0.14);
  color: #ffffff;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(100% - 40px, 1360px);
  min-height: 72px;
  margin: 0 auto;
  flex-wrap: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1 1 auto;
  color: var(--ink);
  font-weight: 600;
}

.brand img {
  width: 112px;
  height: auto;
  flex: 0 0 auto;
}

.brand span {
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  justify-content: flex-end;
  flex: 0 0 auto;
  white-space: nowrap;
}

.nav-links a {
  color: var(--muted);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: var(--ink);
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  min-height: calc(100vh - 72px);
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: relative;
  height: min(48vh, 520px);
  min-height: 46vh;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-copy {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 54px 0 68px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 920px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: 0;
}

.theme-ntuyang h1 {
  max-width: 12ch;
  font-size: clamp(52px, 8vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.theme-ntuyang h2 {
  max-width: 14ch;
  letter-spacing: -0.03em;
}

.theme-ntuyang .hero-lead,
.theme-ntuyang .section-heading p:last-child,
.theme-ntuyang .ntuyang-intro-copy p:last-child {
  max-width: 62ch;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 500;
}

.hero-copy p:not(.eyebrow) {
  max-width: 850px;
  color: var(--muted);
  font-size: 20px;
}

.section {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 104px 0;
  min-height: 88vh;
  display: grid;
  align-content: start;
  border-bottom: 1px solid var(--line);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  scroll-margin-top: 0;
}

.section-screen {
  min-height: 100vh;
  align-content: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.section-screen > * {
  width: 100%;
}

.intro-grid,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 56px;
  align-items: start;
}

.fact-list {
  display: grid;
  gap: 12px;
}

.fact-list div,
.area-grid article,
.profile-card,
.people-groups article,
.publication-list article {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
}

.fact-list div {
  padding: 20px;
}

.fact-list strong {
  display: block;
  margin-bottom: 3px;
  color: var(--accent);
  font-size: 24px;
  font-weight: 500;
}

.fact-list span,
.section p,
.project-list,
.people-groups p,
.profile-card p,
.publication-list p,
address {
  color: var(--muted);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.area-grid article {
  padding: 24px;
  min-height: 194px;
  border-top: 4px solid var(--accent);
}

.subsection {
  margin-top: 46px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.project-list {
  display: grid;
  gap: 14px;
  padding-left: 24px;
}

.people-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.4fr);
  gap: 18px;
}

.profile-card,
.people-groups article,
.publication-list article {
  padding: 24px;
}

.profile-card {
  background: var(--soft);
}

.role {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.people-groups {
  display: grid;
  gap: 14px;
}

.person-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.person-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
}

.person-links a:hover {
  border-color: var(--accent);
  background: #eef3fe;
  text-decoration: none;
}

.alumni {
  margin-top: 18px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.alumni summary {
  cursor: pointer;
  font-weight: 500;
}

.alumni .person-links {
  margin-top: 18px;
}

.alumni p {
  margin-top: 16px;
}

.publication-list {
  display: grid;
  gap: 14px;
}

.publication-list article {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 20px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.photo-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.photo-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}

.photo-grid figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.news-list {
  display: grid;
  gap: 14px;
}

.news-list article {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.news-list time {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.news-list h3,
.news-list p {
  grid-column: 2;
}

.news-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.publication-list time {
  color: var(--accent);
  font-weight: 700;
}

.archive-note {
  margin-top: 20px;
}

.text-button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--accent);
  font-weight: 500;
}

.theme-ntuyang .text-button {
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #f4f1eb;
  color: var(--accent);
  border-color: rgba(21, 59, 99, 0.12);
}

.theme-ntuyang .text-button:hover {
  background: #ece7df;
  border-color: rgba(21, 59, 99, 0.22);
}

.theme-ntuyang .primary-cta {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.theme-ntuyang .primary-cta:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.text-button:hover {
  border-color: var(--accent);
  background: #eef3fe;
  text-decoration: none;
}

.page-hero {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 84px 0 52px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 20px;
}

.people-directory-hero h1,
.people-directory-hero p:not(.eyebrow),
.ntuyang-publication-hero h1,
.ntuyang-publication-hero p:not(.eyebrow) {
  text-align: left;
}

.publication-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.publication-summary span,
.year-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.publication-page {
  background: var(--surface);
}

.publication-archive {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 50px 0 84px;
}

.year-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 46px;
}

.year-nav a {
  color: var(--accent);
}

.year-nav a:hover {
  border-color: var(--accent);
  background: #eef3fe;
  text-decoration: none;
}

.publication-year {
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.publication-year-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.publication-year-header h2 {
  margin: 0;
  font-size: 34px;
}

.publication-year-header span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.pub-category {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
  padding: 24px 0;
  border-top: 1px solid #eef0f2;
}

.pub-category h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
}

.archive-publication-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.archive-publication-list li {
  padding-left: 6px;
}

.pub-award {
  color: var(--accent);
  font-weight: 700;
}

.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-links a[aria-current="page"]::after {
  content: "";
  display: block;
}

.profile-page {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding-bottom: 64px;
}

body:has(.profile-page) {
  background: #f7f4ec;
}

body:has(.profile-page) .site-header {
  position: sticky;
  background: rgba(247, 244, 236, 0.94);
  border-bottom: 1px solid rgba(35, 48, 42, 0.08);
  backdrop-filter: blur(14px);
}

body:has(.profile-page) .brand,
body:has(.profile-page) .nav-links a {
  color: #23302a;
}

.profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: 40px;
  padding: 96px 0 62px;
  border-bottom: 1px solid rgba(35, 48, 42, 0.08);
}

.profile-hero-unified {
  align-items: start;
}

.profile-hero-main {
  max-width: 760px;
}

.profile-hero h1 {
  margin-bottom: 18px;
}

.profile-hero p:not(.eyebrow) {
  max-width: 790px;
  color: var(--muted);
  font-size: 20px;
}

.profile-contact {
  align-self: start;
  padding: 24px;
  border: 1px solid rgba(31, 43, 37, 0.08);
  border-radius: 20px;
  background: rgba(255,255,255,0.6);
}

.profile-card-image {
  margin: 0 0 20px;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 4 / 3;
  background: #ece7df;
}

.profile-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-contact h2 {
  margin-bottom: 18px;
  font-size: 24px;
}

.profile-contact dl,
.profile-contact dd {
  margin: 0;
}

.profile-contact dl {
  display: grid;
  gap: 16px;
}

.profile-contact dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.profile-contact dd {
  color: var(--ink);
}

.profile-section {
  padding: 54px 0;
  border-bottom: 1px solid rgba(35, 48, 42, 0.08);
}

.profile-section h2 {
  font-size: 34px;
  letter-spacing: -0.03em;
}

.profile-section > p {
  max-width: 920px;
  color: var(--muted);
  font-size: 18px;
}

.topic-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.topic-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 10px;
  border: 1px solid rgba(35, 48, 42, 0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.68);
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
}

.profile-columns,
.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.profile-columns .profile-section {
  padding: 42px 0;
}

.clean-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline article {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(35, 48, 42, 0.08);
}

.timeline span {
  color: var(--accent);
  font-weight: 700;
}

.timeline p {
  margin: 0;
  color: var(--muted);
}

.experience-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.split-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 42px;
}

.compact-publications article {
  grid-template-columns: 82px 1fr;
}

.map-embed {
  display: grid;
  gap: 12px;
}

.map-embed iframe {
  width: 100%;
  min-height: 380px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.map-embed a {
  justify-self: start;
  font-weight: 500;
}

address {
  font-style: normal;
}

.footer {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 34px 0 52px;
  color: var(--muted);
  font-size: 14px;
}

.theme-ntuyang .hero {
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  min-height: calc(100vh - 78px);
  background: linear-gradient(180deg, #f8f6f2 0%, #fbfbfa 100%);
}

.theme-ntuyang .ntuyang-hero-media {
  order: 2;
  height: auto;
  min-height: calc(100vh - 78px);
  position: relative;
}

.theme-ntuyang .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 35, 57, 0.62), rgba(16, 35, 57, 0.16) 58%, rgba(248, 246, 242, 0.06));
}

.theme-ntuyang .ntuyang-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100% - 56px, 560px);
  padding: 84px 0 96px;
}

.theme-ntuyang .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.theme-ntuyang .ntuyang-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 48px;
}

.theme-ntuyang .ntuyang-facts div {
  padding: 22px;
  background: #ffffff;
  border-radius: 14px;
}

.theme-ntuyang .ntuyang-facts strong {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
}

.theme-ntuyang .section {
  padding: 96px 0;
  border-bottom: 1px solid rgba(23, 32, 42, 0.08);
}

.theme-ntuyang .ntuyang-heading {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  max-width: none;
  margin-bottom: 34px;
}

.theme-ntuyang .ntuyang-heading.compact {
  margin-bottom: 24px;
}

.theme-ntuyang .ntuyang-area-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.theme-ntuyang .ntuyang-area-grid article,
.theme-ntuyang .project-cards article,
.theme-ntuyang .ntuyang-pi-card,
.theme-ntuyang .ntuyang-people-groups article,
.theme-ntuyang .ntuyang-publication-list article,
.theme-ntuyang .ntuyang-contact-card {
  border-radius: 14px;
  border: 1px solid rgba(23, 32, 42, 0.09);
  background: #ffffff;
}

.theme-ntuyang .ntuyang-area-grid article {
  min-height: 220px;
  padding: 28px;
  border-top: 1px solid rgba(23, 32, 42, 0.09);
}

.theme-ntuyang .project-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.theme-ntuyang .project-cards article {
  padding: 24px;
}

.theme-ntuyang .project-label,
.theme-ntuyang .pub-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f3efe8;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.theme-ntuyang .ntuyang-people-layout {
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: 18px;
}

.theme-ntuyang .ntuyang-pi-card,
.theme-ntuyang .ntuyang-people-groups article,
.theme-ntuyang .ntuyang-contact-card,
.theme-ntuyang .ntuyang-publication-list article {
  padding: 26px;
}

.theme-ntuyang .profile-meta {
  color: var(--muted);
}

.theme-ntuyang .person-links a {
  min-height: 36px;
  border-radius: 999px;
  background: #f7f5f1;
  border-color: rgba(23, 32, 42, 0.08);
  color: var(--accent);
}

.theme-ntuyang .person-links a:hover {
  background: #eee9e1;
  border-color: rgba(21, 59, 99, 0.18);
}

.theme-ntuyang .people-archive-note {
  margin-top: 24px;
}

.theme-ntuyang .ntuyang-publication-list {
  gap: 16px;
}

.theme-ntuyang .ntuyang-publication-list article {
  grid-template-columns: 92px 1fr;
}

.theme-ntuyang .ntuyang-publication-list p {
  margin-bottom: 0;
}

.theme-ntuyang .ntuyang-publication-list time {
  color: var(--ink);
}

.theme-ntuyang .ntuyang-contact {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.theme-ntuyang .ntuyang-contact-card {
  background: #f7f4ef;
}

.publication-theme-ntuyang .page-hero {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 136px min(64px, 6vw) 72px;
  border-bottom: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,0.045) 0, rgba(255,255,255,0) 28%),
    linear-gradient(180deg, rgba(8, 13, 11, 0.97) 0%, rgba(12, 20, 16, 0.95) 58%, rgba(16, 25, 20, 0.94) 100%);
  color: #f7f4ec;
}

.publication-theme-ntuyang .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.34), rgba(0,0,0,0));
  opacity: 0.16;
  pointer-events: none;
}

.publication-theme-ntuyang .page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  pointer-events: none;
}

.publication-theme-ntuyang .page-hero > * {
  position: relative;
  z-index: 1;
  width: min(100%, 1120px);
  margin-left: auto;
  margin-right: auto;
}

.publication-theme-ntuyang .page-hero .eyebrow,
.publication-theme-ntuyang .page-hero h1,
.publication-theme-ntuyang .page-hero p:not(.eyebrow),
.publication-theme-ntuyang .page-hero .publication-summary {
  max-width: 760px;
  margin-left: 0;
  margin-right: auto;
}

.publication-theme-ntuyang .page-hero .eyebrow,
.publication-theme-ntuyang .page-hero h1,
.publication-theme-ntuyang .page-hero p {
  color: #f7f4ec;
}

.publication-theme-ntuyang .page-hero p:not(.eyebrow) {
  color: rgba(247, 244, 236, 0.82);
}

.people-directory-main .page-hero {
  background:
    radial-gradient(circle at 14% 18%, rgba(255,255,255,0.045) 0, rgba(255,255,255,0) 28%),
    linear-gradient(180deg, rgba(8, 13, 11, 0.97) 0%, rgba(12, 20, 16, 0.95) 58%, rgba(16, 25, 20, 0.94) 100%);
}

.ntuyang-publication-page .publication-archive {
  padding-top: 64px;
}

.people-directory-archive {
  padding-top: 64px;
}

.people-directory-page .site-header,
.publication-theme-ntuyang .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

.people-directory-page .brand,
.people-directory-page .nav-links a,
.publication-theme-ntuyang .brand,
.publication-theme-ntuyang .nav-links a {
  color: rgba(247, 244, 236, 0.88);
}

.people-directory-page .nav-links a:hover,
.people-directory-page .nav-links a[aria-current="page"],
.publication-theme-ntuyang .nav-links a:hover,
.publication-theme-ntuyang .nav-links a[aria-current="page"] {
  color: #ffffff;
  background: rgba(247, 244, 236, 0.12);
}

.publication-theme-ntuyang .page-hero h1 {
  max-width: 10ch;
}

.publication-theme-ntuyang .publication-summary span,
.publication-theme-ntuyang .year-nav a {
  border-radius: 999px;
  background: rgba(247, 244, 236, 0.08);
  border-color: rgba(247, 244, 236, 0.14);
  color: #f7f4ec;
}

.people-directory-page .publication-summary span {
  border-radius: 999px;
  background: rgba(247, 244, 236, 0.08);
  border-color: rgba(247, 244, 236, 0.14);
  color: #f7f4ec;
}

.publication-theme-ntuyang .publication-archive {
  padding: 56px 0 96px;
}

.publication-theme-ntuyang .publication-year {
  padding: 48px 0;
  border-top: 1px solid rgba(23, 32, 42, 0.08);
}

.publication-theme-ntuyang .publication-year-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.03em;
}

.publication-theme-ntuyang .pub-category {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid rgba(31, 43, 37, 0.06);
}

.people-directory-section {
  padding: 40px 0;
  border-top: 1px solid rgba(23, 32, 42, 0.08);
}

.people-directory-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.people-directory-header {
  margin-bottom: 24px;
}

.people-directory-list article {
  padding: 26px 0;
  border-top: 1px solid rgba(23, 32, 42, 0.06);
}

.people-directory-list article:first-child {
  border-top: 0;
  padding-top: 0;
}

.people-directory-list-featured article h3 {
  font-size: 28px;
}

.people-directory-groups {
  display: grid;
  gap: 8px;
}

.people-category {
  align-items: start;
}

.people-link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.people-link-grid a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 5px 10px;
  border: 1px solid rgba(23, 32, 42, 0.08);
  border-radius: 999px;
  background: #f7f5f1;
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
}

.people-link-grid a:hover {
  background: #ece7df;
  text-decoration: none;
}

.alumni-grid a {
  color: var(--muted);
}

.entity-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.entity-card-grid-single {
  grid-template-columns: minmax(0, 420px);
}

.entity-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid rgba(31, 43, 37, 0.08);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.72);
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.entity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(23, 32, 42, 0.06);
  border-color: rgba(47, 87, 72, 0.18);
  text-decoration: none;
}

.entity-card:hover .entity-card-media img {
  transform: scale(1.04);
}

.entity-card-media {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #ece7df;
}

.entity-card-person .entity-card-media {
  aspect-ratio: 3 / 4;
}

.entity-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 220ms ease;
}

.entity-card-person .entity-card-media img {
  object-fit: contain;
  padding: 18px;
  background: #f4efe6;
}

.entity-card-body {
  display: grid;
  gap: 10px;
  padding: 20px 20px 22px;
}

.entity-card-publication .entity-card-body {
  gap: 12px;
}

.entity-card-meta {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.entity-card-body h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.entity-card-publication .entity-card-meta {
  color: #486457;
}

.entity-card-publication .entity-card-note {
  font-size: 14px;
}

.entity-card-body p {
  margin: 0;
  color: var(--muted);
}

.entity-card-note {
  color: #4d6155;
}

.entity-card-publication .entity-card-body h3 {
  font-size: 20px;
}

@media (max-width: 980px) {
  .entity-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .publication-theme-ntuyang .page-hero {
    padding: 120px 24px 56px;
  }

  .entity-card-grid,
  .entity-card-grid-single {
    grid-template-columns: 1fr;
  }
}

.publication-theme-ntuyang .pub-category h3 {
  color: var(--ink);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.publication-theme-ntuyang .archive-publication-list {
  gap: 16px;
  color: var(--muted);
}

.publication-theme-ntuyang .archive-publication-list li {
  padding-left: 8px;
}

.publication-theme-ntuyang .publication-archive-note-block p + p {
  margin-top: 14px;
}

@media (max-width: 980px) {
  .theme-ntuyang .hero,
  .theme-ntuyang .ntuyang-intro,
  .theme-ntuyang .ntuyang-contact,
  .theme-ntuyang .ntuyang-heading,
  .theme-ntuyang .project-cards,
  .theme-ntuyang .ntuyang-people-layout {
    grid-template-columns: 1fr;
  }

  .profile-hero,
  .profile-columns,
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .theme-ntuyang .ntuyang-hero-media {
    order: 0;
    min-height: 44vh;
    height: min(48vh, 520px);
  }

  .theme-ntuyang .ntuyang-hero-copy {
    width: min(100% - 40px, var(--max));
    padding: 48px 0 64px;
  }
}

@media (max-width: 720px) {
  .theme-ntuyang h1 {
    max-width: none;
    font-size: clamp(40px, 14vw, 58px);
    line-height: 0.98;
  }

  .theme-ntuyang .section {
    padding: 72px 0;
  }

  .theme-ntuyang .ntuyang-area-grid {
    grid-template-columns: 1fr;
  }

  .theme-ntuyang .ntuyang-area-grid article,
  .theme-ntuyang .project-cards article,
  .theme-ntuyang .ntuyang-pi-card,
  .theme-ntuyang .ntuyang-people-groups article,
  .theme-ntuyang .ntuyang-publication-list article,
  .theme-ntuyang .ntuyang-contact-card,
  .theme-ntuyang .ntuyang-facts div {
    padding: 20px;
  }

  .theme-ntuyang .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .publication-theme-ntuyang .pub-category {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.hero-refined {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 54px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 32px;
  align-items: stretch;
}

.hero-stage {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #101713;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  scroll-margin-top: 0;
}

.hero-stage-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-stage-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
  outline: 0;
  appearance: none;
  -webkit-appearance: none;
  background: #101713;
  pointer-events: none;
}

.hero-stage-video::-webkit-media-controls,
.hero-stage-video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}

.hero-stage-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 8, 0.22) 0%, rgba(6, 10, 8, 0.42) 42%, rgba(6, 10, 8, 0.76) 100%);
}

.hero-refined-fullscreen {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
}

.hero-refined-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 0;
}

.hero-refined-copy-full {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 100vh;
  padding: 148px 64px 80px;
  justify-content: center;
}

.hero-refined-copy-inner {
  max-width: 620px;
  display: grid;
  gap: 20px;
  align-content: end;
  padding-top: 72px;
}

.eyebrow-light {
  letter-spacing: 0.08em;
}

.theme-ntuyang-refined h1 {
  max-width: 10ch;
  font-size: clamp(56px, 7.4vw, 88px);
  line-height: 0.94;
  letter-spacing: -0.065em;
  font-weight: 700;
  margin-bottom: 0;
  text-wrap: balance;
}

.theme-ntuyang-refined h2 {
  letter-spacing: -0.04em;
}

.theme-ntuyang-refined h3 {
  letter-spacing: -0.02em;
}

.section-title-strong {
  font-weight: 700;
}

.hero-refined-lead {
  max-width: 40ch;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 0;
}

.hero-refined-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-refined-actions .hero-button {
  max-width: 100%;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(35, 48, 42, 0.12);
  font-weight: 600;
  text-decoration: none;
}

.hero-button:hover {
  text-decoration: none;
}

.hero-button-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(18, 27, 22, 0.18);
}

.hero-button-primary:hover {
  background: var(--accent-dark);
  color: #fff;
}

.hero-button-secondary {
  background: rgba(255,255,255,0.52);
  color: var(--accent);
}

.hero-button-secondary:hover {
  background: rgba(255,255,255,0.82);
}

.archive-note .hero-button-secondary {
  background: rgba(53, 92, 75, 0.08);
  border-color: rgba(53, 92, 75, 0.12);
}

.archive-note .hero-button-secondary:hover {
  background: rgba(53, 92, 75, 0.14);
}

.hero-refined-visual {
  min-height: 620px;
  overflow: hidden;
  border-radius: 28px;
}

.hero-refined-visual-full {
  position: absolute;
  inset: 0;
  min-height: 100%;
  border-radius: 0;
}

.eyebrow-light {
  color: rgba(247, 244, 236, 0.82);
}

.hero-refined-copy-full,
.hero-refined-copy-full h1,
.hero-refined-copy-full p,
.hero-refined-copy-full a {
  color: #f7f4ec;
}

.hero-refined-copy-full .hero-refined-lead {
  color: rgba(247, 244, 236, 0.86);
}

.story-intro-card h2,
.refined-heading h2,
.warm-contact-section h2 {
  text-wrap: balance;
  font-weight: 700;
}

.hero-refined-copy-full .hero-button-secondary {
  background: rgba(247, 244, 236, 0.1);
  border-color: rgba(247, 244, 236, 0.28);
  color: #f7f4ec;
}

.hero-refined-copy-full .hero-button-secondary:hover {
  background: rgba(247, 244, 236, 0.18);
}

.warm-story-grid,
.warm-contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-content: start;
}

.contact-side-stack {
  display: grid;
  gap: 18px;
}

.section-screen.warm-contact-section {
  align-content: center;
}

.story-intro-card,
.soft-fact-card,
.people-lead-card,
.people-editorial-groups article,
.publication-editorial-list article,
.contact-soft-card,
.research-feature-grid article,
.editorial-project-list article {
  border: 1px solid rgba(35, 48, 42, 0.08);
  background: rgba(255,255,255,0.5);
  border-radius: 24px;
}

.story-intro-card {
  padding: 34px;
}

.story-side-stack {
  display: grid;
  gap: 16px;
}

.soft-fact-card {
  padding: 22px;
}

.soft-fact-label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.role,
.research-overview-label,
.research-strip span,
.contact-soft-card strong,
.profile-contact dt,
.entity-card-meta {
  font-weight: 700;
}

.soft-band-section {
  background: linear-gradient(180deg, rgba(235, 229, 216, 0.58) 0%, rgba(235, 229, 216, 0.34) 100%);
  border-radius: 28px;
  padding-left: 32px;
  padding-right: 32px;
}

.section-divider {
  position: relative;
  border-bottom: 0;
}

.section-divider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(47, 87, 72, 0.16);
}

.section-divider {
  padding-top: 128px;
}

.section-divider .refined-heading {
  margin-top: 0;
  margin-bottom: 40px;
  padding-top: 0;
}

.section-divider .eyebrow {
  padding-top: 2px;
}

.refined-heading {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  max-width: none;
  align-items: start;
  margin-bottom: 34px;
}

.section-screen .refined-heading {
  align-self: start;
}

.refined-heading > div {
  max-width: 720px;
}

.research-feature-grid,
.editorial-project-list,
.publication-editorial-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.research-feature-grid-minimal {
  gap: 14px;
}

.research-feature-grid-minimal article {
  min-height: 0;
}

.research-overview-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: stretch;
}

.research-overview-grid-composed {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
}

.research-overview-card {
  padding: 30px;
  border: 1px solid rgba(31, 43, 37, 0.08);
  border-radius: 20px;
  background: rgba(255,255,255,0.4);
}

.research-overview-card-large {
  display: grid;
  align-content: end;
  min-height: 100%;
}

.research-overview-label {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.research-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.research-strip article {
  padding: 20px 0 0;
  border-top: 1px solid rgba(53, 92, 75, 0.18);
}

.research-strip span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.research-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.3;
}

.contact-section-balanced {
  min-height: 82vh;
}

.contact-map-card {
  border: 1px solid rgba(31, 43, 37, 0.08);
  border-radius: 20px;
  background: rgba(255,255,255,0.6);
  overflow: hidden;
  padding: 0;
}

.contact-map-card iframe {
  display: block;
  width: 100%;
  min-height: 280px;
  border: 0;
}

.section-screen .research-feature-grid,
.section-screen .people-editorial-layout,
.section-screen .publication-editorial-list,
.section-screen .warm-contact-section {
  align-self: center;
}

.research-feature-grid article,
.editorial-project-list article,
.publication-editorial-list article {
  padding: 28px;
}

.research-feature-grid article {
  background: rgba(255,255,255,0.5);
  border-radius: 20px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.research-feature-grid article:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(23, 32, 42, 0.05);
}

.editorial-project-list article {
  background: rgba(47, 87, 72, 0.05);
}

.publication-editorial-list article {
  background: rgba(255,255,255,0.62);
}

.research-feature-grid article h3,
.editorial-project-list article h3,
.publication-editorial-list article h3,
.people-editorial-groups article h3,
.people-lead-card h3 {
  margin-bottom: 12px;
}

.research-feature-grid article p,
.editorial-project-list article p,
.publication-editorial-list article p,
.people-editorial-groups article p,
.people-lead-card p,
.story-intro-card p,
.soft-fact-card p,
.contact-soft-card p {
  margin-bottom: 0;
}

.editorial-project-list article span,
.publication-editorial-list article span {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.people-editorial-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: 18px;
}

.people-lead-card,
.people-editorial-groups article,
.contact-soft-card,
.contact-map-card {
  padding: 28px;
}

.people-lead-card {
  display: grid;
  gap: 10px;
  align-content: start;
  background: rgba(53, 92, 75, 0.07);
}

.people-editorial-groups article {
  display: grid;
  gap: 14px;
}

.people-editorial-groups {
  display: grid;
  gap: 12px;
}

.person-links-editorial a {
  min-height: 34px;
  border-radius: 999px;
  background: rgba(255,255,255,0.65);
  border-color: rgba(35, 48, 42, 0.08);
  color: var(--accent);
  padding: 4px 10px;
  font-size: 13px;
}

.person-links-editorial a:hover {
  background: #fff;
}

.publication-editorial-list {
  grid-template-columns: 1fr;
}

.publication-editorial-list article {
  grid-template-columns: 180px 1fr;
  align-items: start;
}

.publication-editorial-list article span {
  margin-bottom: 0;
  color: #577363;
}

.publication-editorial-list article h3,
.publication-editorial-list article p {
  grid-column: 2;
}

.publication-editorial-list article p {
  color: #59675e;
}

.footer-soft {
  border-top: 0;
}


@media (max-width: 980px) {
  .hero-refined,
  .warm-contact-section,
  .refined-heading,
  .research-feature-grid,
  .research-overview-grid,
  .research-strip,
  .editorial-project-list,
  .people-editorial-layout {
    grid-template-columns: 1fr;
  }

  .section-screen .research-feature-grid,
  .section-screen .people-editorial-layout,
  .section-screen .publication-editorial-list,
  .section-screen .warm-contact-section {
    align-self: start;
  }

  .section,
  .section-screen {
    min-height: auto;
    padding: 88px 0;
  }

  .hero-refined-visual {
    min-height: 420px;
  }
}

@media (max-width: 980px) {
  .nav {
    width: min(100% - 24px, var(--max));
    gap: 16px;
  }

  .brand {
    flex: 0 1 auto;
  }

  .brand span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 4px;
  }
}

@media (max-width: 720px) {
  body {
    scroll-snap-type: y mandatory;
  }

  .theme-ntuyang-refined .nav {
    min-height: 76px;
  }

  .theme-ntuyang-refined h1 {
    max-width: none;
    font-size: clamp(42px, 14vw, 62px);
  }

  .hero-refined {
    width: 100%;
    max-width: none;
    padding: 0;
    gap: 0;
  }

  .section-divider {
    padding-top: 88px;
  }

  .hero-refined-copy-full {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    padding: 120px 24px 48px;
  }

  .hero-refined-copy-inner {
    max-width: 100%;
  }

  .section,
  .section-screen {
    padding: 72px 0;
  }

  .hero-refined-copy-inner {
    gap: 16px;
    padding-top: 40px;
  }

  .publication-editorial-list article {
    grid-template-columns: 1fr;
  }

  .publication-editorial-list article h3,
  .publication-editorial-list article p {
    grid-column: auto;
  }

  .story-intro-card,
  .soft-fact-card,
  .people-lead-card,
  .people-editorial-groups article,
  .publication-editorial-list article,
  .contact-soft-card,
  .research-feature-grid article,
  .editorial-project-list article {
    padding: 20px;
  }

  .hero-refined-actions {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero-refined-actions .hero-button {
    width: min(100%, 320px);
    text-align: center;
  }
}

.review-index {
  min-height: 100vh;
  background: #f7f8fa;
}

.review-shell {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.review-hero {
  max-width: 880px;
  padding: 28px 0 52px;
}

.review-hero .brand {
  margin-bottom: 52px;
}

.review-hero h1 {
  margin-bottom: 18px;
}

.review-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 20px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.review-card {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

.review-card:hover {
  border-color: var(--accent);
  text-decoration: none;
}

.review-card span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.review-card h2 {
  margin-top: auto;
  margin-bottom: 12px;
  font-size: 28px;
}

.review-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.theme-precision {
  --surface: #fbfcfd;
  --soft: #eef3f8;
  --accent: #005eb8;
  --accent-dark: #003f7d;
  background:
    linear-gradient(90deg, rgba(0, 94, 184, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 94, 184, 0.05) 1px, transparent 1px),
    #fbfcfd;
  background-size: 42px 42px;
}

.theme-precision .site-header {
  background: rgba(251, 252, 253, 0.9);
  border-bottom: 1px solid rgba(0, 94, 184, 0.22);
}

.theme-precision .hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: calc(100vh - 72px);
  border-bottom: 1px solid rgba(0, 94, 184, 0.18);
  background:
    linear-gradient(135deg, rgba(0, 94, 184, 0.12), transparent 44%),
    var(--soft);
}

.theme-precision .hero-media {
  position: relative;
  order: 2;
  height: auto;
  min-height: calc(100vh - 72px);
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

.theme-precision .hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(255, 255, 255, 0.3) 48% 50%, transparent 50%),
    rgba(0, 94, 184, 0.1);
}

.theme-precision .hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100% - 64px, 560px);
  padding: 72px 0;
}

.theme-precision .hero-copy::before {
  display: block;
  width: 92px;
  height: 8px;
  margin-bottom: 24px;
  content: "";
  background: var(--accent);
}

.theme-precision .hero-copy h1 {
  font-size: clamp(46px, 6vw, 82px);
}

.theme-precision .section {
  padding: 58px 0;
}

.theme-precision .section-heading {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  max-width: none;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(0, 94, 184, 0.24);
}

.theme-precision .section-heading .eyebrow {
  padding-top: 10px;
}

.theme-precision .area-grid,
.theme-precision .people-layout {
  gap: 10px;
}

.theme-precision .area-grid {
  counter-reset: research-area;
}

.theme-precision .fact-list div,
.theme-precision .area-grid article,
.theme-precision .profile-card,
.theme-precision .people-groups article,
.theme-precision .publication-list article,
.theme-precision .photo-grid figure,
.theme-precision .news-list article {
  border-radius: 0;
  box-shadow: none;
}

.theme-precision .area-grid article {
  position: relative;
  min-height: 216px;
  padding-top: 54px;
  border-top-width: 0;
}

.theme-precision .area-grid article::before {
  position: absolute;
  top: 20px;
  left: 24px;
  color: rgba(0, 94, 184, 0.55);
  content: "0" counter(research-area);
  counter-increment: research-area;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  font-weight: 700;
}

.theme-precision .fact-list div {
  border-left: 5px solid var(--accent);
}

.theme-precision .publication-list article {
  grid-template-columns: 110px 1fr;
  border-left: 5px solid rgba(0, 94, 184, 0.32);
}

.theme-precision .photo-grid figure {
  border-left: 5px solid var(--accent);
}

.theme-precision .news-list article {
  grid-template-columns: 110px 1fr;
  border-left: 5px solid var(--accent);
}

.theme-studio {
  --accent: #9a3f25;
  --accent-dark: #642615;
  --soft: #f8f1ea;
  background: #fffaf5;
  font-family: Inter, Arial, sans-serif;
}

.theme-studio .site-header {
  position: static;
  background: #fffaf5;
  border-bottom: 0;
}

.theme-studio .nav {
  border-bottom: 1px solid #2f2a25;
}

.theme-studio .brand,
.theme-studio .nav-links a,
.theme-studio .eyebrow {
  font-family: Inter, Arial, sans-serif;
}

.theme-studio .hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.7fr);
  min-height: auto;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 64px 0 34px;
  border-bottom: 1px solid #2f2a25;
}

.theme-studio .hero-media {
  grid-column: 2;
  grid-row: 1;
  height: 70vh;
  min-height: 520px;
  border-radius: 0 0 120px 0;
}

.theme-studio .hero-copy {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  width: auto;
  padding: 40px 40px 40px 0;
}

.theme-studio h1 {
  max-width: 980px;
  font-size: clamp(54px, 8vw, 104px);
  line-height: 0.98;
  font-weight: 400;
}

.theme-studio h2 {
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 400;
}

.theme-studio .section {
  padding: 116px 0;
  border-bottom-color: #2f2a25;
}

.theme-studio .intro-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
}

.theme-studio .intro-grid article {
  padding-right: 44px;
}

.theme-studio .fact-list {
  align-content: start;
  padding-top: 12px;
  border-top: 6px double #2f2a25;
}

.theme-studio .fact-list div {
  border-width: 0 0 1px;
  background: transparent;
  border-radius: 0;
}

.theme-studio .section-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(220px, 0.58fr) minmax(0, 1fr);
  align-items: end;
  gap: 36px;
  margin-bottom: 44px;
}

.theme-studio .section-heading h2 {
  margin-bottom: 0;
  padding-bottom: 14px;
  border-bottom: 6px double #2f2a25;
}

.theme-studio .area-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.theme-studio .area-grid article {
  min-height: 230px;
  padding: 34px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: 12px 12px 0 #ead7c4;
}

.theme-studio .area-grid article:nth-child(even) {
  transform: translateY(30px);
}

.theme-studio .people-layout {
  gap: 34px;
}

.theme-studio .profile-card,
.theme-studio .people-groups article {
  border: 0;
  border-radius: 0;
  box-shadow: inset 0 0 0 1px #2f2a25;
}

.theme-studio .publication-list article {
  border-width: 1px 0 0;
  border-radius: 0;
  background: transparent;
}

.theme-studio .photo-grid {
  gap: 28px;
}

.theme-studio .photo-grid figure {
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: 12px 12px 0 #ead7c4;
}

.theme-studio .photo-grid figure:nth-child(2) {
  transform: translateY(34px);
}

.theme-studio .news-list {
  gap: 0;
  border-top: 6px double #2f2a25;
}

.theme-studio .news-list article {
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
}

.theme-studio .contact-section {
  background: #2f2a25;
  color: #fffaf5;
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100% - var(--max)) / 2));
  padding-left: max(20px, calc((100% - var(--max)) / 2));
}

.theme-studio .contact-section p,
.theme-studio .contact-section address,
.theme-studio .contact-section .eyebrow {
  color: #fffaf5;
}

.theme-atlas {
  --soft: #f8f7f3;
  --accent: #116a59;
  --accent-dark: #0a4f43;
  background:
    radial-gradient(circle at 12% 18%, rgba(17, 106, 89, 0.13), transparent 28%),
    radial-gradient(circle at 84% 42%, rgba(194, 143, 74, 0.15), transparent 30%),
    #fbfaf7;
}

.theme-atlas .site-header {
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 0;
  box-shadow: 0 8px 28px rgba(48, 47, 42, 0.08);
}

.theme-atlas .hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  border-bottom: 0;
  isolation: isolate;
}

.theme-atlas .hero-media {
  height: calc(100vh - 72px);
  min-height: 620px;
  clip-path: ellipse(88% 74% at 72% 34%);
}

.theme-atlas .hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(251, 250, 247, 0.98), rgba(251, 250, 247, 0.74) 42%, rgba(251, 250, 247, 0.1)),
    repeating-linear-gradient(135deg, transparent 0 26px, rgba(17, 106, 89, 0.14) 26px 27px);
}

.theme-atlas .hero::before {
  position: absolute;
  top: 16%;
  right: 9%;
  z-index: 2;
  width: min(34vw, 360px);
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(17, 106, 89, 0.36);
  border-radius: 999px;
  box-shadow:
    inset 0 0 0 34px rgba(17, 106, 89, 0.08),
    inset 0 0 0 72px rgba(194, 143, 74, 0.08);
  pointer-events: none;
}

.theme-atlas .hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 0;
  z-index: 3;
}

.theme-atlas .hero-copy h1 {
  max-width: 680px;
  font-size: clamp(46px, 6vw, 86px);
}

.theme-atlas .hero-copy p:not(.eyebrow) {
  max-width: 620px;
  color: #38423f;
}

.theme-atlas .section {
  border-bottom: 0;
}

.theme-atlas .section-heading {
  position: relative;
  max-width: none;
  padding-left: 70px;
}

.theme-atlas .section-heading::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 44px;
  height: 44px;
  content: "";
  border: 1px solid rgba(17, 106, 89, 0.42);
  border-radius: 999px;
  box-shadow: inset 0 0 0 12px rgba(17, 106, 89, 0.1);
}

.theme-atlas .intro-grid,
.theme-atlas .contact-section {
  align-items: stretch;
}

.theme-atlas .intro-grid {
  padding: 44px;
  border: 1px solid rgba(17, 106, 89, 0.16);
  background: rgba(255, 253, 250, 0.78);
  box-shadow: 0 24px 80px rgba(32, 33, 36, 0.08);
}

.theme-atlas .fact-list div,
.theme-atlas .profile-card,
.theme-atlas .people-groups article,
.theme-atlas .publication-list article,
.theme-atlas .area-grid article,
.theme-atlas .photo-grid figure,
.theme-atlas .news-list article {
  background: #fffdfa;
  box-shadow: 0 14px 40px rgba(32, 33, 36, 0.06);
}

.theme-atlas .area-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.theme-atlas .area-grid article {
  min-height: 260px;
  grid-column: span 2;
  border: 1px solid rgba(17, 106, 89, 0.16);
  border-top: 0;
  border-radius: 999px 999px 8px 8px;
  padding: 54px 28px 32px;
}

.theme-atlas .area-grid article:nth-child(1),
.theme-atlas .area-grid article:nth-child(4) {
  grid-column: span 3;
}

.theme-atlas .fact-list div {
  border: 0;
  border-left: 6px solid #116a59;
}

.theme-atlas .publication-list article {
  border: 0;
  border-left: 6px solid rgba(194, 143, 74, 0.72);
}

.theme-atlas .photo-grid figure {
  border: 1px solid rgba(17, 106, 89, 0.16);
  border-radius: 999px 999px 8px 8px;
}

.theme-atlas .photo-grid img {
  border-radius: 999px 999px 0 0;
}

.theme-atlas .news-list article {
  border: 0;
  border-left: 6px solid #116a59;
}

.theme-xchu {
  --ink: #212121;
  --muted: #535a63;
  --line: #d9dde3;
  --soft: #f4f4f4;
  --accent: #002e64;
  --accent-dark: #001f45;
  font-family: Inter, Arial, sans-serif;
  background:
    linear-gradient(180deg, transparent 0 690px, #f4f4f4 690px 692px, transparent 692px),
    #fff;
}

.theme-xchu .site-header {
  background: #fff;
  border-top: 6px solid #002e64;
  border-bottom: 1px solid rgba(0, 46, 100, 0.18);
  backdrop-filter: none;
}

.theme-xchu .brand span,
.theme-xchu h1,
.theme-xchu h2,
.theme-xchu h3 {
  font-family: Inter, Arial, sans-serif;
  font-weight: 600;
}

.theme-xchu .brand span,
.theme-xchu .nav-links a,
.theme-xchu .eyebrow {
  text-transform: uppercase;
}

.theme-xchu .nav-links a {
  position: relative;
  color: #002e64;
  font-size: 13px;
  font-weight: 700;
}

.theme-xchu .nav-links a::after {
  position: absolute;
  right: 12px;
  bottom: 4px;
  left: 12px;
  height: 2px;
  content: "";
  background: #002e64;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.theme-xchu .nav-links a:hover {
  color: #212121;
}

.theme-xchu .nav-links a:hover::after {
  transform: scaleX(1);
}

.theme-xchu .hero {
  position: relative;
  display: block;
  min-height: 600px;
  overflow: hidden;
  border-bottom: 0;
}

.theme-xchu .hero-media {
  height: 600px;
  min-height: 600px;
}

.theme-xchu .hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 46, 100, 0.84), rgba(0, 46, 100, 0.56) 42%, rgba(0, 46, 100, 0.14)),
    rgba(20, 24, 30, 0.32);
}

.theme-xchu .hero::after {
  position: absolute;
  right: calc((100% - min(100% - 40px, var(--max))) / 2);
  bottom: 0;
  width: min(360px, 46vw);
  height: 86px;
  content: "";
  background: #002e64;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 32px 100%);
}

.theme-xchu .hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 56px 0;
  color: #fff;
}

.theme-xchu .hero-copy h1 {
  max-width: 820px;
  color: #fff;
  font-size: clamp(44px, 7vw, 84px);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.22);
}

.theme-xchu .hero-copy p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.92);
}

.theme-xchu .hero-copy .eyebrow {
  color: #fff;
}

.theme-xchu .section {
  padding: 88px 0;
}

.theme-xchu .intro-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  border-bottom: 0;
}

.theme-xchu .intro-grid article {
  padding: 34px 0 34px 28px;
  border-left: 8px solid #002e64;
}

.theme-xchu .intro-grid h2 {
  max-width: 720px;
  color: #002e64;
}

.theme-xchu .section-heading {
  max-width: none;
  margin-bottom: 34px;
  padding: 22px 28px;
  border-left: 8px solid #002e64;
  background: #f4f4f4;
}

.theme-xchu .fact-list div,
.theme-xchu .profile-card,
.theme-xchu .people-groups article,
.theme-xchu .publication-list article,
.theme-xchu .area-grid article {
  border-radius: 0;
  border-color: rgba(0, 46, 100, 0.18);
  box-shadow: none;
}

.theme-xchu .fact-list div {
  position: relative;
  overflow: hidden;
  padding-left: 26px;
  background: #002e64;
}

.theme-xchu .fact-list div::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  content: "";
  background: #79a7d9;
}

.theme-xchu .fact-list strong,
.theme-xchu .fact-list span {
  color: #fff;
}

.theme-xchu .area-grid article {
  position: relative;
  background: #f4f4f4;
  border-top-width: 0;
}

.theme-xchu .area-grid article::before {
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  content: "";
  background: #002e64;
}

.theme-xchu .area-grid h3,
.theme-xchu .profile-card h3,
.theme-xchu .people-groups h3 {
  color: #002e64;
}

.theme-xchu .subsection {
  padding: 32px;
  border: 1px solid rgba(0, 46, 100, 0.18);
  background: #fff;
}

.theme-xchu .project-list li {
  padding-left: 8px;
}

.theme-xchu .profile-card {
  background: #002e64;
}

.theme-xchu .profile-card h3 a,
.theme-xchu .profile-card p,
.theme-xchu .profile-card .role,
.theme-xchu .profile-card a {
  color: #fff;
}

.theme-xchu .publication-list article {
  border-width: 0 0 1px;
  padding-right: 0;
  padding-left: 0;
}

.theme-xchu .photo-grid figure,
.theme-xchu .news-list article {
  border-radius: 0;
  border-color: rgba(0, 46, 100, 0.18);
}

.theme-xchu .photo-grid figure {
  border-top: 7px solid #002e64;
}

.theme-xchu .news-list article {
  border-left: 6px solid #002e64;
}

.theme-xchu .publication-list time {
  color: #002e64;
  font-family: Inter, Arial, sans-serif;
  font-size: 22px;
}

.theme-xchu .text-button,
.theme-xchu .map-embed a,
.theme-xchu .person-links a {
  border-radius: 0;
}

.theme-xchu .text-button {
  border-color: #002e64;
  background: #002e64;
  color: #fff;
}

.theme-xchu .contact-section {
  border-bottom: 0;
}

.theme-xchu .map-embed {
  border: 6px solid #002e64;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
    padding: 14px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .nav-links a {
    padding: 6px 8px 6px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding: 38px 0 52px;
  }

  .intro-grid,
  .area-grid,
  .people-layout,
  .contact-section,
  .photo-grid,
  .review-grid,
  .theme-precision .hero,
  .theme-precision .section-heading,
  .theme-studio .hero,
  .theme-studio .section-heading,
  .theme-studio .area-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    min-height: 220px;
  }

  .theme-precision .hero-media {
    order: 0;
    clip-path: none;
    min-height: 42vh;
  }

  .theme-studio .hero {
    padding-top: 28px;
  }

  .theme-studio .hero-media,
  .theme-studio .hero-copy {
    grid-column: 1;
    grid-row: auto;
  }

  .theme-studio .hero-media {
    min-height: 360px;
    height: 42vh;
    border-radius: 0 0 72px 0;
  }

  .theme-studio .hero-copy {
    padding: 28px 0 38px;
  }

  .theme-studio .area-grid article:nth-child(even) {
    transform: none;
  }

  .theme-atlas .area-grid {
    grid-template-columns: 1fr;
  }

  .theme-atlas .area-grid article,
  .theme-atlas .area-grid article:nth-child(1),
  .theme-atlas .area-grid article:nth-child(4) {
    grid-column: auto;
    border-radius: 48px 48px 8px 8px;
  }

  .theme-xchu .hero,
  .theme-xchu .hero-media {
    min-height: 560px;
  }

  .theme-xchu .hero::after {
    width: 180px;
    height: 58px;
  }

  .theme-xchu .intro-grid {
    grid-template-columns: 1fr;
  }

  .theme-xchu .intro-grid article,
  .theme-xchu .section-heading {
    padding-left: 18px;
  }

  .theme-atlas .hero-media {
    min-height: 620px;
  }

  .section {
    padding: 62px 0;
  }

  .publication-list article {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .news-list article {
    grid-template-columns: 1fr;
  }

  .news-list h3,
  .news-list p {
    grid-column: auto;
  }

  .theme-studio .photo-grid figure:nth-child(2) {
    transform: none;
  }

  .publication-year-header,
  .pub-category {
    grid-template-columns: 1fr;
  }

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

  .pub-category {
    gap: 12px;
  }

  .profile-hero,
  .profile-columns,
  .experience-grid,
  .split-list,
  .timeline article {
    grid-template-columns: 1fr;
  }

  .profile-hero {
    padding: 56px 0 46px;
  }

  .profile-section {
    padding: 42px 0;
  }

  .timeline article {
    gap: 6px;
  }
}

@media (max-width: 520px) {
  .brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .brand span {
    white-space: normal;
  }

  h1 {
    font-size: 40px;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 18px;
  }
}

/* People page: 4 cards per row on desktop */
.people-directory-page .entity-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

/* Keep PI card smaller / single-column */
.people-directory-page .entity-card-grid-single {
  grid-template-columns: minmax(0, 320px);
}

/* Reduce card visual size */
.people-directory-page .entity-card-body {
  padding: 18px;
}

.people-directory-page .entity-card-media {
  aspect-ratio: 4 / 3;
}

.people-directory-page .entity-card-body h3 {
  font-size: 1rem;
}

.people-directory-page .entity-card-body p {
  font-size: 0.9rem;
  line-height: 1.45;
}

/* Tablet */
@media (max-width: 1100px) {
  .people-directory-page .entity-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 760px) {
  .people-directory-page .entity-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Small mobile */
@media (max-width: 520px) {
  .people-directory-page .entity-card-grid {
    grid-template-columns: 1fr;
  }
}
