:root {
  --ink: #102d43;
  --ink-soft: #335268;
  --cream: #f5f1e9;
  --cream-deep: #ebe3d6;
  --paper: #fffdf9;
  --teal: #0c756f;
  --teal-dark: #075c59;
  --coral: #e46f51;
  --line: rgba(16, 45, 67, 0.15);
  --line-light: rgba(255, 255, 255, 0.2);
  --shadow: 0 22px 65px rgba(16, 45, 67, 0.14);
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
}

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

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(16, 45, 67, 0.1);
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-inner {
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 0.05em;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

nav a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

nav a:hover {
  color: var(--teal);
}

.nav-contact {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
}

.hero {
  overflow: hidden;
  padding: 74px 0 0;
  background:
    radial-gradient(circle at 80% 17%, rgba(12, 117, 111, 0.15), transparent 20%),
    radial-gradient(circle at 12% 94%, rgba(228, 111, 81, 0.12), transparent 22%),
    var(--cream);
}

.hero::before {
  position: absolute;
  inset: 72px 0 auto;
  height: 650px;
  pointer-events: none;
  content: "";
  opacity: 0.46;
  background-image: radial-gradient(rgba(16, 45, 67, 0.2) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(90deg, black, transparent 48%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 80px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.45;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--serif);
  letter-spacing: -0.045em;
}

h1 {
  max-width: 700px;
  margin-bottom: 8px;
  font-size: clamp(72px, 9.5vw, 144px);
  font-weight: 600;
  line-height: 0.87;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 600;
  line-height: 0.98;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.35;
}

.hero-role {
  margin: 18px 0 20px;
  color: var(--teal-dark);
  font-size: 20px;
  font-weight: 700;
}

.hero-intro {
  max-width: 720px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--teal);
  color: white;
}

.button-primary:hover {
  background: var(--teal-dark);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.6);
  color: var(--ink);
}

.profile-card {
  position: relative;
  align-self: end;
  margin-bottom: -38px;
  border: 1px solid rgba(16, 45, 67, 0.12);
  border-radius: 180px 180px 12px 12px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.photo-frame {
  overflow: hidden;
  aspect-ratio: 0.86;
  border-radius: 180px 180px 0 0;
  background: var(--teal);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-card-body {
  padding: 20px 24px 24px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
}

.profile-card-body p {
  margin-bottom: 4px;
}

.profile-card-body .profile-department {
  color: var(--ink);
  font-weight: 700;
}

.metrics {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-top: 70px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.metric {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: baseline;
}

.metric strong {
  grid-row: span 2;
  color: var(--teal);
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1;
}

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

.metric small,
.metrics-note {
  color: var(--ink-soft);
  font-size: 12px;
}

.metrics-note {
  margin: 0;
  text-align: right;
}

.section {
  padding: 112px 0;
}

.section-heading {
  max-width: 730px;
}

.section-heading > p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 18px;
}

.research-grid,
.project-grid,
.service-grid {
  display: grid;
  gap: 16px;
}

.research-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 42px;
}

.research-card,
.project-card,
.list-card {
  border: 1px solid var(--line);
  background: var(--paper);
}

.research-card {
  min-height: 275px;
  padding: 26px 22px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.research-card:hover {
  border-color: rgba(12, 117, 111, 0.55);
  transform: translateY(-6px);
}

.card-number {
  color: var(--coral);
  font-family: var(--serif);
  font-size: 20px;
}

.research-card h3 {
  margin-top: 64px;
  color: var(--teal-dark);
}

.research-card p,
.project-card p,
.list-card li {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.section-tinted {
  background: var(--cream);
}

.split-heading {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.text-link {
  margin-bottom: 22px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

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

.publication {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.publication-year {
  color: var(--coral);
  font-family: var(--serif);
  font-size: 21px;
}

.publication h3 {
  margin-bottom: 5px;
}

.publication h3 a {
  color: var(--ink);
  text-decoration: none;
}

.publication h3 a:hover {
  color: var(--teal);
}

.publication-authors,
.publication-venue {
  margin-bottom: 2px;
  color: var(--ink-soft);
  font-size: 14px;
}

.publication-venue {
  color: var(--teal-dark);
  font-weight: 700;
}

.project-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 38px;
}

.project-card {
  min-height: 245px;
  padding: 24px;
}

.project-card h3 {
  margin-bottom: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 28px;
}

.project-card .project-subtitle {
  margin-bottom: 28px;
  color: var(--teal-dark);
  font-weight: 700;
}

.section-dark,
.contact-section {
  background: var(--ink);
  color: var(--paper);
}

.two-column-section,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  gap: 72px;
}

.section-dark .eyebrow,
.contact-section .eyebrow {
  color: #76d0c7;
}

.section-dark .section-heading > p:not(.eyebrow) {
  color: rgba(255, 253, 249, 0.74);
}

.timeline {
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line-light);
}

.timeline li:last-child {
  border-bottom: 1px solid var(--line-light);
}

.timeline-period {
  color: #76d0c7;
  font-size: 13px;
  font-weight: 700;
}

.timeline h3 {
  margin-bottom: 1px;
  font-size: 16px;
}

.timeline p {
  margin-bottom: 0;
  color: rgba(255, 253, 249, 0.68);
  font-size: 14px;
}

.service-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 34px;
}

.list-card {
  padding: 26px;
}

.list-card h3 {
  font-family: var(--serif);
  font-size: 28px;
}

.list-card ul {
  padding-left: 20px;
  margin: 0;
}

.list-card li {
  padding: 9px 0;
}

.timeline-light li {
  border-color: var(--line);
}

.timeline-light li:last-child {
  border-color: var(--line);
}

.timeline-light .timeline-period {
  color: var(--coral);
}

.timeline-light p {
  color: var(--ink-soft);
}

.contact-section {
  padding: 100px 0;
}

.contact-section h2 {
  margin-bottom: 0;
}

.contact-details {
  padding-top: 10px;
}

.email-link {
  color: #76d0c7;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  text-decoration: none;
}

.contact-details p {
  margin: 14px 0 26px;
  color: rgba(255, 253, 249, 0.7);
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.link-list li {
  display: flex;
  gap: 5px;
  align-items: center;
}

.link-list a {
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.link-list span {
  color: #76d0c7;
}

.site-footer {
  background: #0b2132;
  color: rgba(255, 253, 249, 0.55);
  font-size: 13px;
}

.footer-inner {
  min-height: 72px;
}

.footer-inner p {
  margin-bottom: 0;
}

@media (max-width: 960px) {
  nav {
    gap: 14px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 42px;
  }

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

  .two-column-section,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 30px, 620px);
  }

  .header-inner {
    min-height: 64px;
  }

  .brand > span:last-child {
    display: none;
  }

  nav {
    max-width: calc(100vw - 80px);
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  nav a {
    white-space: nowrap;
  }

  .nav-contact {
    border: 0;
    padding: 0;
  }

  .hero {
    padding-top: 46px;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: stretch;
  }

  h1 {
    font-size: clamp(66px, 19vw, 110px);
  }

  .hero-role {
    font-size: 18px;
  }

  .hero-intro {
    font-size: 17px;
  }

  .profile-card {
    width: min(100%, 330px);
    align-self: center;
  }

  .metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 70px;
  }

  .metric {
    display: block;
  }

  .metric strong {
    display: block;
    font-size: 28px;
  }

  .metric span,
  .metric small {
    display: block;
    line-height: 1.35;
  }

  .metrics-note {
    grid-column: 1 / -1;
    text-align: left;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading > p:not(.eyebrow) {
    font-size: 16px;
  }

  .research-grid,
  .project-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .research-card {
    min-height: 215px;
  }

  .research-card h3 {
    margin-top: 38px;
  }

  .split-heading {
    display: block;
  }

  .text-link {
    display: inline-block;
    margin-bottom: 22px;
  }

  .publication {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .publication-year {
    margin-bottom: 4px;
  }

  .timeline li {
    grid-template-columns: 88px 1fr;
  }

  .contact-section {
    padding: 76px 0;
  }

  .email-link {
    font-size: 23px;
  }

  .footer-inner {
    display: block;
    padding: 20px 0;
  }
}
