:root {
  --background: #ffffff;
  --surface: #f3f4f2;
  --text: #202522;
  --muted: #636a66;
  --accent: #1d5f83;
  --accent-dark: #174d6a;
  --line: #d8dbd8;
  --header: #f1f7fa;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; }
.wrap { width: min(calc(100% - 48px), var(--max-width)); margin-inline: auto; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--text);
  color: #fff;
}
.skip-link:focus { top: 16px; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 112px;
  padding: 20px max(24px, calc((100vw - var(--max-width)) / 2));
  border-top: 4px solid var(--accent);
  border-bottom: 1px solid #cfdee6;
  background: var(--header);
}
.identity { display: flex; flex-direction: column; text-decoration: none; line-height: 1.3; }
.identity strong { margin-bottom: 4px; font-size: 26px; letter-spacing: -.01em; }
.identity span { color: #415762; font-size: 16px; line-height: 1.4; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { font-size: 16px; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.site-nav .join-link {
  padding: 8px 13px;
  border: 1px solid var(--accent);
  color: var(--accent-dark);
  font-weight: 700;
}
.menu-button { display: none; border: 0; background: transparent; cursor: pointer; }

.intro { padding-top: 92px; padding-bottom: 18px; }
.kicker, .label {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 22px;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.intro-copy {
  max-width: none;
  margin-bottom: 22px;
  color: #3f4642;
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.5;
}
.inline-link { color: var(--accent-dark); font-size: 14px; font-weight: 700; text-underline-offset: 4px; }
.inline-link span { margin-left: 3px; }

.hiring {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 27px;
  padding-bottom: 27px;
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
}
.hiring h2 { margin-bottom: 0; font-size: clamp(25px, 3vw, 34px); line-height: 1.2; }
.button {
  flex: 0 0 auto;
  display: inline-block;
  padding: 11px 18px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.button:hover { background: var(--accent-dark); }

.research-gallery { padding-bottom: 86px; }
.news { padding-top: 92px; padding-bottom: 96px; }
.section-heading {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 36px;
}
.section-heading.compact { grid-template-columns: 1fr auto; }
.section-heading h2, .join h2 { margin-bottom: 0; font-size: clamp(28px, 3vw, 38px); line-height: 1.15; letter-spacing: -.025em; }
.section-heading > p { max-width: 570px; margin: 0; color: var(--muted); }

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  width: min(100%, 1080px);
  margin: 0 auto 26px;
  position: relative;
  left: -30px;
}
figure { margin: 0; }
.home-research-figure {
  display: grid;
  place-items: center;
  height: 270px;
  padding: 0 12px;
  overflow: hidden;
  background: #fff;
}
.home-research-figure img { display: block; width: auto; height: auto; object-fit: contain; }
.home-research-figure:nth-child(1) img { max-width: 100%; max-height: 258px; }
.home-research-figure:nth-child(2) img { max-width: 94%; max-height: 236px; transform: translateY(-18px); }
.home-research-figure:nth-child(3) img { max-width: 100%; max-height: 212px; }
.research-gallery-link { display: block; width: min(100%, 1080px); margin-inline: auto; }
.image-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e3e6e3;
  color: #737a76;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.image-placeholder::before, .image-placeholder::after { content: ""; position: absolute; }
.image-one::before { width: 58%; height: 58%; border: 1px solid #aeb7b2; border-radius: 50%; }
.image-one::after { width: 32%; height: 32%; border: 1px solid #90a49a; border-radius: 50%; }
.image-two { background-image: linear-gradient(90deg, transparent 49.8%, #c3cac6 50%), linear-gradient(transparent 49.8%, #c3cac6 50%); background-size: 34px 34px; }
.image-two::before { width: 58%; height: 2px; background: var(--accent); transform: rotate(-20deg); opacity: .55; }
.image-three::before { inset: 22%; border: 1px solid #9fa9a4; transform: rotate(8deg); }
.image-three::after { inset: 31%; border: 1px solid var(--accent); transform: rotate(-8deg); opacity: .65; }
.image-placeholder span { z-index: 1; padding: 5px 8px; background: rgba(255,255,255,.85); }
figcaption { padding-top: 10px; font-size: 14px; font-weight: 700; }

.news { border-top: 1px solid var(--line); }
.news-list { border-top: 1px solid var(--line); }
.news-list article {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 34px;
  padding: 28px 0 31px;
  border-bottom: 1px solid var(--line);
}
.news-list time { color: var(--muted); font-size: 18px; line-height: 1.35; }
.news-list h3 { margin-bottom: 0; font-size: 20px; line-height: 1.35; }
.news-list h3 a { text-underline-offset: 4px; }
.news-list article > div > p:not(.article-links) { max-width: 760px; margin-bottom: 12px; color: var(--muted); }
.article-links { display: flex; gap: 22px; margin: 0; }
.article-links a { color: var(--accent-dark); font-size: 13px; font-weight: 700; text-underline-offset: 4px; }

.join {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
  padding-top: 54px;
  padding-bottom: 58px;
  border-top: 3px solid var(--accent);
}
.join > div:last-child { max-width: 620px; }
.join > div:last-child > p:first-child { font-size: 18px; }
.placeholder-note { color: var(--muted); font-size: 14px; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 40px;
  padding-top: 38px;
  padding-bottom: 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.site-footer p { margin-bottom: 0; }
.site-footer strong { color: var(--text); }

.page-main { min-height: 60vh; }
.page-intro { padding-top: 84px; padding-bottom: 82px; border-bottom: 1px solid var(--line); }
.page-intro h1 { margin-bottom: 18px; }
.page-intro > p:not(.label) { max-width: 760px; color: var(--muted); font-size: 19px; }
.placeholder-content { padding-top: 58px; padding-bottom: 100px; }
.placeholder-content h2 { margin-bottom: 12px; font-size: 25px; }
.placeholder-content p { max-width: 680px; color: var(--muted); }

/* Interior pages */
.inner-page { padding-top: 76px; padding-bottom: 108px; }
.research-overview { padding-bottom: 78px; border-bottom: 1px solid var(--line); }
.research-overview p { max-width: none; margin: 0; color: #3f4642; font-size: clamp(18px, 1.9vw, 24px); line-height: 1.6; }
.research-area { display: grid; grid-template-columns: 54px 410px minmax(0, 1fr); gap: 34px; align-items: start; padding: 54px 0; border-bottom: 1px solid var(--line); }
.area-number { align-self: start; color: var(--accent); font-size: 22px; font-weight: 700; }
.area-image { width: 100%; min-width: 0; }
.research-figure { display: flex; align-items: center; align-self: stretch; justify-content: center; margin: 0; overflow: hidden; background: #fff; }
.research-figure img { display: block; width: auto; height: auto; object-fit: contain; }
.figure-fingerprinting img { width: 310px; max-width: 100%; }
.figure-variation img { width: 240px; max-width: 100%; }
.figure-morphology img { width: 400px; max-width: 100%; }
.research-area h2 { margin-bottom: 14px; font-size: clamp(23px, 2.6vw, 32px); line-height: 1.18; letter-spacing: -.02em; }
.research-area p { margin-bottom: 0; color: var(--muted); font-size: 17px; }
.research-area p a { color: var(--accent-dark); text-underline-offset: 4px; }

.year-group { display: grid; grid-template-columns: 190px 1fr; border-top: 1px solid var(--line); }
.year-group:last-child { border-bottom: 1px solid var(--line); }
.year-group h2 { margin: 0; padding-top: 28px; font-size: 30px; line-height: 1.2; }
.year-items article { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: start; padding: 28px 0 30px; }
.year-items time { color: var(--accent-dark); font-size: 24px; font-weight: 700; line-height: 1.2; }
.year-items p { margin: 0; font-size: 20px; }
.year-items a { text-underline-offset: 4px; }

.person-profile { display: grid; grid-template-columns: minmax(240px, 300px) 1fr; gap: 72px; align-items: start; }
.person-headshot-frame { width: min(100%, 280px); overflow: hidden; }
.person-headshot { display: block; width: 300px; max-width: none; height: auto; transform: translateX(-20px); }
.person-profile h1 { margin: 3px 0 5px; font-size: clamp(28px, 3vw, 40px); }
.person-role { margin-bottom: 28px; color: var(--accent-dark); font-weight: 700; }
.person-profile div:last-child > p:last-child { max-width: 720px; color: #4a504d; font-size: 18px; }
.placeholder-inline { color: var(--muted); }

.join-page { margin-inline: auto; }
.join-page h1 { max-width: none; margin-bottom: 34px; font-size: clamp(38px, 5.5vw, 66px); }
.join-contact { max-width: none; margin-bottom: 42px; font-size: clamp(21px, 2.4vw, 28px); }
.join-contact a { color: var(--accent-dark); text-underline-offset: 5px; }
.join-page > p:last-child { max-width: none; color: var(--muted); font-size: 18px; }

.publications-page { padding-top: 70px; }
.publication-section > h1 { margin-bottom: 42px; font-size: clamp(32px, 4vw, 46px); }
.selected-paper { display: grid; grid-template-columns: minmax(230px, 340px) 1fr; gap: 48px; align-items: center; padding: 38px 0; border-top: 1px solid var(--line); }
.selected-paper:last-child { border-bottom: 1px solid var(--line); }
.paper-figure { position: relative; height: 220px; overflow: hidden; background: #f4f5f4; border: 1px solid #dce1de; }
.paper-figure img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.selected-paper h2 { max-width: 710px; margin-bottom: 14px; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.3; }
.selected-paper h2 a { text-decoration: none; }.selected-paper h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.selected-paper div:last-child > p:last-child { max-width: 760px; margin: 0; color: var(--muted); }
.all-publications { padding-top: 104px; }
.publication-year { display: grid; grid-template-columns: 190px 1fr; border-top: 1px solid var(--line); }
.publication-year h2 { padding-top: 27px; font-size: 25px; }
.publication-year div { padding: 27px 0 10px; }
.publication-year p { max-width: 900px; margin-bottom: 24px; color: #4d5450; }

@media (max-width: 1050px) {
  .research-area { grid-template-columns: 54px 320px minmax(0, 1fr); }
  .figure-fingerprinting img { width: 260px; }
  .figure-morphology img { width: 315px; }
}

@media (max-width: 850px) {
  .site-header { min-height: 94px; padding-block: 13px; }
  .identity span { max-width: 300px; }
  .menu-button { display: block; }
  .site-nav {
    position: absolute;
    top: 94px;
    left: 0;
    right: 0;
    z-index: 10;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--background);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px 0; }
  .site-nav .join-link { margin-top: 6px; padding-inline: 12px; }
  .intro { padding-top: 68px; padding-bottom: 24px; }
  .section-heading, .section-heading.compact, .join { grid-template-columns: 1fr; gap: 20px; }
  .image-grid { left: 0; grid-template-columns: 1fr; gap: 30px; }
  .home-research-figure:nth-child(2) img { transform: none; }
  .home-research-figure { height: 260px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer p:last-child { grid-column: 1 / -1; }
  .research-area { grid-template-columns: 42px 220px minmax(0, 1fr); gap: 26px; }
  .figure-fingerprinting img { width: 210px; }
  .figure-variation img { width: 205px; }
  .figure-morphology img { width: 220px; }
  .person-profile { gap: 42px; }
  .selected-paper { grid-template-columns: minmax(210px, 290px) 1fr; gap: 28px; }
}

@media (max-width: 700px) {
  .research-area { grid-template-columns: 42px 1fr; }
  .research-area .area-image { grid-column: 2; }
  .research-area > div:last-child { grid-column: 2; }
  .research-figure { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .wrap { width: min(calc(100% - 36px), var(--max-width)); }
  .identity strong { font-size: 21px; }
  .identity span { font-size: 11px; }
  .intro { padding-top: 54px; padding-bottom: 20px; }
  .hiring { align-items: flex-start; flex-direction: column; gap: 20px; }
  .news { padding-top: 68px; padding-bottom: 70px; }
  .news-list article { grid-template-columns: 1fr; gap: 8px; }
  .site-footer { grid-template-columns: 1fr; gap: 18px; }
  .site-footer p:last-child { grid-column: auto; }
  .inner-page { padding-top: 54px; padding-bottom: 76px; }
  .research-overview { padding-bottom: 54px; }
  .research-area { grid-template-columns: 1fr; gap: 20px; padding: 42px 0; }
  .research-area .area-number, .research-area .area-image, .research-area > div:last-child { grid-column: 1; }
  .research-figure img { max-width: min(100%, 220px); }
  .year-group, .publication-year { grid-template-columns: 1fr; }
  .year-group h2, .publication-year h2 { margin-bottom: 0; padding-top: 30px; }
  .year-items article { grid-template-columns: 1fr; gap: 7px; padding-top: 18px; }
  .person-profile, .selected-paper { grid-template-columns: 1fr; gap: 24px; }
  .person-headshot-frame { max-width: 280px; }
  .selected-paper { align-items: start; }
  .paper-figure { min-height: 190px; }
}

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