:root {
  --rutgers-red: #cc0033;
  --ink: #1b1f23;
  --muted: #5f6872;
  --soft: #f6f7f8;
  --line: #d9dee3;
  --white: #ffffff;
  --blue: #24415f;
  --green: #476b5a;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.58;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: var(--rutgers-red);
  color: var(--white);
  font-weight: 700;
}

.brand-logo {
  width: 43px;
  height: 43px;
  border-radius: 6px;
  flex-shrink: 0;
}

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

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  color: inherit;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--rutgers-red);
}

.site-nav a.active {
  color: var(--rutgers-red);
}

.nav-toggle {
  display: none;
}

.page-pad,
.section-pad {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) 0;
  scroll-margin-top: 88px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: clamp(36px, 7vw, 84px);
  align-items: start;
  padding-top: clamp(72px, 9vw, 118px);
  border-bottom: 1px solid var(--line);
}

.home-hero {
  position: relative;
  height: clamp(320px, 34vw, 460px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #151515;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.22) 52%, rgba(0, 0, 0, 0.34)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.08) 45%);
}

.home-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}

.home-hero-text {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: max(20px, calc((100vw - 1280px) / 2));
  width: min(1280px, calc(100% - 40px));
  color: var(--white);
  transform: translateY(-50%);
}

.home-hero-text .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.home-hero h1 {
  max-width: none;
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2.1rem, 3.2vw, 3.55rem);
  line-height: 1.2;
}

.home-hero h1 span {
  display: block;
  white-space: nowrap;
}

.home-details {
  padding-top: clamp(42px, 5vw, 72px);
  padding-bottom: clamp(56px, 7vw, 92px);
}

.page-title {
  padding-bottom: clamp(36px, 5vw, 66px);
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.panel-label,
.role {
  margin: 0 0 12px;
  color: var(--rutgers-red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 1.18;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.05rem, 3.6vw, 3.55rem);
  font-weight: 700;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.24rem);
}

.home-lead {
  max-width: 860px;
}

.home-lead p {
  margin-bottom: 16px;
}

.lab-intro-line {
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
}

.home-lead ol {
  margin: 0;
  padding-left: 1.25rem;
}

.home-lead li {
  margin-bottom: 10px;
}

.hero-actions,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.link-row a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  border-color: var(--rutgers-red);
  background: var(--rutgers-red);
  color: var(--white);
}

.research-figure {
  margin: 24px 0 0;
}

.research-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  object-fit: cover;
  filter: saturate(0.82) contrast(0.96);
}

.research-figure figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}

dl {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

dd {
  margin: 2px 0 0;
}

.summary-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  --summary-figure-height: clamp(380px, 30vw, 480px);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.summary-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border-right: 1px solid var(--line);
  background: var(--white);
}

.summary-card:last-child {
  border-right: 0;
}

.summary-card figure {
  display: grid;
  height: var(--summary-figure-height);
  place-items: center;
  margin: 0;
  padding: 12px 0 18px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.summary-card img,
.summary-card .figure-placeholder {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border: 0;
  object-fit: contain;
  object-position: center;
}

.summary-card img {
  filter: saturate(0.9) contrast(0.98);
  transform: none;
}

.summary-card .summary-figure-contain {
  padding: 0;
}

.summary-card .summary-figure-contain img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: none;
  transform: none;
}

.summary-card div {
  min-height: 152px;
  padding: 28px clamp(22px, 4vw, 48px);
}

.summary-band strong,
.summary-band span {
  display: block;
}

.summary-band strong {
  margin-bottom: 10px;
  color: var(--green);
  font-size: 0.98rem;
  text-transform: uppercase;
}

.summary-band span {
  color: var(--ink);
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  line-height: 1.45;
}

.home-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 6vw, 86px);
  padding-top: 14px;
  padding-bottom: 14px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.home-contact h2 {
  margin-bottom: 5px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.home-contact address {
  align-items: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.32;
}

.home-contact address a,
.home-follow a {
  color: var(--ink);
  text-decoration: underline;
}

.home-contact address a {
  width: fit-content;
  max-width: max-content;
}

.home-follow {
  display: grid;
  justify-items: start;
  justify-self: end;
  width: 170px;
}

.home-follow h2 {
  margin-bottom: 2px;
  line-height: 1.1;
  white-space: nowrap;
}

.home-follow nav {
  display: grid;
  gap: 1px;
  justify-items: start;
  margin-top: 0;
  font-size: 0.8rem;
  line-height: 1.25;
}

.home-follow a {
  display: inline-block;
  line-height: 1.2;
  white-space: nowrap;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 7vw, 86px);
  border-bottom: 1px solid var(--line);
}

.prose {
  color: var(--muted);
  font-size: 1.04rem;
}

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

.compact {
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.project-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--rutgers-red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.theme-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.theme-list article {
  display: grid;
  grid-template-columns: 70px minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.theme-list span {
  color: var(--rutgers-red);
  font-weight: 700;
}

.theme-list p,
.method-grid p,
.people-list p,
.publication-panel p {
  color: var(--muted);
}

.methods {
  border-bottom: 1px solid var(--line);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.method-grid div {
  min-height: 210px;
  padding: 22px;
  background: var(--white);
}

.publications {
  border-bottom: 1px solid var(--line);
}

.publication-panel {
  max-width: 860px;
  padding: 24px;
  border-left: 4px solid var(--blue);
  background: var(--soft);
}

.people {
  border-bottom: 1px solid var(--line);
}

.people-list {
  display: grid;
  gap: 18px;
}

.people-list article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.avatar {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
}

.avatar.muted {
  background: var(--soft);
  color: var(--muted);
  border: 1px solid var(--line);
}

.role {
  margin-bottom: 6px;
  color: var(--green);
}

.join {
  background: var(--white);
}

.project-list {
  display: grid;
  gap: 42px;
}

.project-item {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(24px, 5vw, 58px);
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.project-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.project-item figure {
  margin: 0;
}

.project-item img,
.figure-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  object-fit: cover;
}

.project-item img {
  filter: saturate(0.82) contrast(0.96);
}

.project-figure-contain {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}

.project-figure-contain img {
  width: 100%;
  height: 100%;
  padding: 0 12px;
  border: 0;
  object-fit: contain;
  filter: none;
}

.figure-placeholder {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(204, 0, 51, 0.08), rgba(36, 65, 95, 0.08)),
    var(--soft);
  color: var(--muted);
  font-weight: 700;
}

.project-item h2,
.people-section h2,
.join-page h2,
.contact-note h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
}

.project-item p,
.person-row p,
.join-page p,
.contact-note p,
.publication-list span {
  color: var(--muted);
}

.people-page,
.join-page {
  display: grid;
  gap: 46px;
}

.people-section {
  display: grid;
  gap: 22px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.people-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.people-section h2 {
  padding-bottom: 12px;
  border-bottom: 3px solid var(--rutgers-red);
}

.person-grid {
  display: grid;
  gap: 28px;
}

.person-row {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.person-grid .person-row:last-child,
.join-page article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.person-row h3 {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.avatar.large {
  width: 112px;
  height: 112px;
  font-size: 1.2rem;
}

.publication-page {
  display: grid;
  gap: 34px;
}

.publication-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding-left: 22px;
}

.publication-list li {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.publication-list strong,
.publication-list span {
  display: block;
}

.pub-status {
  color: var(--rutgers-red);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.join-page article {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.contact-page {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 72px);
}

.contact-note {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 7vw, 86px);
}

address {
  display: grid;
  gap: 6px;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--rutgers-red);
  font-style: normal;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px clamp(20px, 4vw, 54px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--blue);
  font-weight: 700;
}

@media (max-width: 940px) {
  .nav-toggle {
    display: inline-grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border: 1px solid var(--line);
    background: var(--white);
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--ink);
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 20px;
    display: none;
    min-width: 220px;
    padding: 12px;
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 16px 36px rgba(27, 31, 35, 0.12);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 9px 8px;
  }

  .hero,
  .home-hero,
  .split,
  .contact,
  .contact-page,
  .home-contact,
  .project-item {
    grid-template-columns: 1fr;
  }

  .home-follow {
    justify-items: start;
    justify-self: start;
  }

  .home-follow nav {
    justify-items: start;
    margin-top: 6px;
  }

  .summary-band,
  .method-grid {
    grid-template-columns: 1fr 1fr;
  }

  .theme-list article {
    grid-template-columns: 48px 1fr;
  }

  .theme-list p {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .brand small {
    display: none;
  }

  .page-pad,
  .section-pad {
    width: min(100% - 32px, var(--max));
    padding: 48px 0;
  }

  .home-hero,
  .hero {
    padding-top: 52px;
  }

  .home-hero {
    min-height: 500px;
    padding-top: 0;
  }

  .home-hero h1 {
    font-size: 1.85rem;
  }

  .home-hero h1 span {
    white-space: normal;
  }

  h1 {
    font-size: 1.9rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .hero-actions,
  .link-row,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .link-row a {
    width: 100%;
  }

  .research-figure img {
    aspect-ratio: 16 / 9;
  }

  .summary-band,
  .method-grid,
  .theme-list article,
  .people-list article,
  .person-row {
    grid-template-columns: 1fr;
  }

  .summary-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .theme-list p {
    grid-column: auto;
  }
}
