
:root {
  --ink: #101010;
  --paper: #ffffff;
  --muted: #6f6f6f;
  --line: #dddddd;
  --soft: #f7f7f7;
  --header-height: 74px;
  --content-width: 1180px;
  --page-pad: clamp(22px, 4.8vw, 70px);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  background: #fff; color: #000; padding: 10px 14px;
  border: 1px solid #000; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.site-header {
  height: var(--header-height);
  background: #050505;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 0 var(--page-pad);
  position: relative;
  z-index: 50;
}
.header-inner {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 500;
  letter-spacing: -.015em;
  text-decoration: none;
  white-space: nowrap;
}
.desktop-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 40px); }
.desktop-nav a {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: .012em;
  padding: 28px 0 24px;
  opacity: .82;
  transition: opacity .2s var(--ease);
}
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { opacity: 1; }
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 18px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--ease);
}
.desktop-nav a:hover::after, .desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 0; background: transparent; color: #fff;
  padding: 8px; cursor: pointer;
}
.menu-toggle span { display: block; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .25s, opacity .2s; }
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--header-height) 0 0;
  z-index: 45;
  background: #050505;
  color: #fff;
  padding: 42px var(--page-pad);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s, visibility .25s, transform .25s;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu nav { display: grid; }
.mobile-menu a {
  text-decoration: none;
  font-size: clamp(26px, 7vw, 42px);
  letter-spacing: -.025em;
  padding: 10px 0;
  border-bottom: 1px solid #333;
}

.page-shell {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding-inline: var(--page-pad);
}
.page-main { min-height: 64vh; }
.page-heading {
  padding: clamp(58px, 8vw, 112px) 0 clamp(38px, 5vw, 68px);
}
.page-heading h1 {
  margin: 0;
  font-size: clamp(36px, 5.2vw, 70px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -.045em;
}
.page-heading p {
  margin: 22px 0 0;
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 21px);
}

.home-intro {
  display: grid;
  grid-template-columns: minmax(250px, .85fr) minmax(420px, 1.25fr);
  align-items: center;
  gap: clamp(50px, 7vw, 105px);
  padding: clamp(55px, 8vw, 105px) 0 clamp(55px, 7vw, 90px);
}
.home-intro-copy { font-size: clamp(16px, 1.6vw, 20px); line-height: 1.56; }
.home-intro-copy p { margin: 0; }

.carousel {
  position: relative;
  overflow: hidden;
  background: #e9e9e9;
  aspect-ratio: 16 / 9;
  isolation: isolate;
}
.carousel-track, .carousel-slide { position: absolute; inset: 0; }
.carousel-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity .75s var(--ease), visibility .75s;
}
.carousel-slide.is-active { opacity: 1; visibility: visible; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-slide[data-fit="contain"] img { object-fit: contain; background: #fff; padding: 18px; }
.carousel-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 32px 18px 13px;
  color: #fff;
  font-size: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.68));
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s, transform .25s;
}
.carousel:hover .carousel-caption, .carousel:focus-within .carousel-caption { opacity: 1; transform: translateY(0); }
.carousel-control {
  position: absolute; z-index: 4; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.88);
  color: #111; cursor: pointer;
  display: grid; place-items: center;
  opacity: .78;
  transition: opacity .2s, transform .2s;
}
.carousel-control:hover { opacity: 1; transform: translateY(-50%) scale(1.04); }
.carousel-control.prev { left: 12px; }
.carousel-control.next { right: 12px; }
.carousel-control svg { width: 17px; height: 17px; }
.carousel-dots {
  position: absolute; z-index: 4; left: 50%; bottom: 13px;
  transform: translateX(-50%);
  display: flex; gap: 7px;
}
.carousel-dot {
  width: 6px; height: 6px; border-radius: 50%;
  padding: 0; border: 1px solid #fff; background: transparent;
  cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.35);
}
.carousel-dot.is-active { background: #fff; }

.home-sections {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(55px, 8vw, 110px);
  padding: 0 0 clamp(70px, 9vw, 120px);
}
.home-section h2 {
  margin: 0 0 26px;
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.news-list { display: grid; gap: 19px; }
.news-item { margin: 0; font-size: 14px; line-height: 1.55; }
.news-item time { font-weight: 700; }
.open-position { margin-top: 42px; }
.open-position h3 { font-size: 19px; margin: 0 0 12px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.open-position p { margin: 0; font-size: 15px; }

.research-tree { padding: 6px 0 0; text-align: center; font-size: 12px; }
.tree-node {
  display: inline-flex; justify-content: center; align-items: center;
  min-height: 30px; padding: 5px 10px;
  border: 1px solid #aaa; background: #fff;
  line-height: 1.15;
}
.tree-root { position: relative; margin-bottom: 24px; }
.tree-root::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 24px; background: #aaa; }
.tree-branches { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tree-branches::before { content: ""; position: absolute; left: 16.66%; right: 16.66%; top: -12px; border-top: 1px solid #aaa; }
.tree-branch { position: relative; display: grid; gap: 9px; align-content: start; }
.tree-branch::before { content: ""; position: absolute; left: 50%; top: -12px; height: 12px; border-left: 1px solid #aaa; }
.tree-children { display: grid; grid-template-columns: repeat(var(--cols, 1), 1fr); gap: 5px; position: relative; padding-top: 10px; }
.tree-children::before { content: ""; position: absolute; left: 50%; top: 0; height: 10px; border-left: 1px solid #aaa; }
.tree-children .tree-node { padding-inline: 5px; font-size: 10px; min-height: 28px; }

.band { border-top: 1px solid var(--line); }
.section-label {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: 50px 0 30px;
}
.section-label h2 { margin: 0; font-size: clamp(30px, 4vw, 52px); line-height: 1.1; font-weight: 500; letter-spacing: -.035em; }
.section-label .eyebrow { color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

.research-list { border-top: 1px solid var(--line); }
.research-entry {
  display: grid;
  grid-template-columns: minmax(280px, .84fr) minmax(320px, 1.16fr);
  gap: clamp(42px, 7vw, 100px);
  padding: clamp(52px, 7vw, 92px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.research-entry:nth-child(even) .research-media { order: 2; }
.research-media { background: var(--soft); overflow: hidden; }
.research-media img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #fff; transition: transform .55s var(--ease); cursor: zoom-in; }
.research-media:hover img { transform: scale(1.018); }
.research-copy h3 { margin: 0 0 20px; font-size: clamp(23px, 2.4vw, 34px); line-height: 1.2; font-weight: 500; letter-spacing: -.025em; }
.research-copy p { margin: 0 0 16px; }
.research-copy .members { margin-top: 23px; color: var(--muted); font-size: 14px; }

.publications { padding-bottom: 100px; }
.publication-year { display: grid; grid-template-columns: 150px 1fr; gap: 34px; padding: 42px 0; border-top: 1px solid var(--line); }
.publication-year:last-child { border-bottom: 1px solid var(--line); }
.publication-year h2 { margin: 0; font-size: 27px; font-weight: 500; }
.publication-year ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 15px; }
.publication-year li { position: relative; padding-left: 18px; }
.publication-year li::before { content: "•"; position: absolute; left: 0; }
.publication-year a { color: #444; }

.members-list { border-top: 1px solid var(--line); }
.member {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: clamp(38px, 6vw, 88px);
  padding: clamp(44px, 6vw, 78px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.member-photo { overflow: hidden; background: #eee; }
.member-photo img { width: 100%; aspect-ratio: 1 / 1.13; object-fit: cover; transition: transform .55s var(--ease); cursor: zoom-in; }
.member-photo:hover img { transform: scale(1.02); }
.member-copy h2 { margin: 0 0 4px; font-size: clamp(25px, 2.8vw, 38px); line-height: 1.18; font-weight: 500; letter-spacing: -.025em; }
.member-role { margin: 0 0 22px; color: var(--muted); }
.member-copy p:last-child { margin-bottom: 0; }
.alumni { padding: 80px 0 100px; }
.alumni h2 { font-size: clamp(34px, 4vw, 54px); font-weight: 500; letter-spacing: -.04em; margin: 0 0 44px; }
.alumni-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 38px 75px; }
.alumni-item h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.alumni-item p { margin: 0; }

.contact-layout {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(50px, 9vw, 130px);
  padding: 0 0 clamp(90px, 12vw, 160px);
}
.contact-intro { font-size: clamp(22px, 2.6vw, 35px); line-height: 1.35; letter-spacing: -.025em; }
.contact-intro p { margin-top: 0; }
.contact-card { border-top: 1px solid #111; padding-top: 22px; }
.contact-card h2 { margin: 0 0 18px; font-size: 24px; font-weight: 500; }
.contact-card address { font-style: normal; margin-bottom: 30px; }
.contact-card .label { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 5px; }

.profile-layout {
  display: grid; grid-template-columns: minmax(270px, .78fr) minmax(370px, 1.22fr);
  gap: clamp(50px, 8vw, 120px);
  padding: clamp(65px, 9vw, 120px) 0 clamp(90px, 12vw, 150px);
  align-items: start;
}
.profile-image img { width: 100%; max-height: 680px; object-fit: cover; cursor: zoom-in; }
.profile-copy h1 { margin: 0 0 26px; font-size: clamp(38px, 5vw, 70px); line-height: 1.04; letter-spacing: -.045em; font-weight: 500; }
.profile-copy h2 { margin: 42px 0 15px; font-size: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.profile-copy h3 { font-size: 16px; margin: 24px 0 3px; }
.profile-copy p { font-size: 17px; }
.profile-copy .back { display: inline-block; margin-bottom: 38px; color: var(--muted); font-size: 14px; }

.site-footer { border-top: 1px solid var(--line); padding: 42px var(--page-pad); }
.footer-inner {
  width: min(100%, var(--content-width)); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.footer-title { font-size: 14px; }
.footer-links { display: flex; align-items: center; gap: 18px; }
.footer-links a {
  display: inline-flex; align-items: center; justify-content: center;
  height: 34px; min-width: 34px; padding: 0 10px;
  border: 1px solid #aaa; text-decoration: none;
  font-size: 11px; font-weight: 600; letter-spacing: .02em;
  transition: background .2s, color .2s, border-color .2s;
}
.footer-links a:hover { background: #111; color: #fff; border-color: #111; }
.footer-links .linkedin { width: 34px; padding: 0; font-size: 15px; }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.92);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity .25s, visibility .25s;
  padding: 50px;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 95vw; max-height: 88vh; object-fit: contain; }
.lightbox-close {
  position: fixed; top: 18px; right: 22px;
  width: 45px; height: 45px; border: 0; background: transparent; color: #fff;
  font-size: 34px; line-height: 1; cursor: pointer;
}

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .desktop-nav { display: none; }
  .menu-toggle, .mobile-menu { display: block; }
  .home-intro { grid-template-columns: 1fr; gap: 38px; }
  .home-intro-copy { max-width: 620px; }
  .home-sections { grid-template-columns: 1fr; }
  .research-entry, .contact-layout, .profile-layout { grid-template-columns: 1fr; }
  .research-entry:nth-child(even) .research-media { order: 0; }
  .research-media { max-width: 720px; }
  .member { grid-template-columns: 190px 1fr; gap: 36px; }
  .alumni-grid { grid-template-columns: 1fr; }
}

@media (max-width: 590px) {
  :root { --header-height: 66px; }
  .site-header { height: var(--header-height); }
  .home-intro { padding-top: 45px; }
  .carousel-control { width: 36px; height: 36px; }
  .home-sections { gap: 68px; }
  .tree-branches { gap: 5px; }
  .tree-node { padding: 4px 5px; font-size: 10px; }
  .publication-year { grid-template-columns: 1fr; gap: 18px; }
  .member { grid-template-columns: 1fr; }
  .member-photo { max-width: 300px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .lightbox { padding: 20px; }
}
