:root {
  color-scheme: light;
  --paper: #ffffff;
  --soft: #f8faf8;
  --ink: #1d2826;
  --muted: #586663;
  --green: #176350;
  --green-dark: #114839;
  --rust: #b85f46;
  --blue: #365779;
  --line: #dce4df;
  --line-strong: #adbbb3;
  --page-width: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 4px;
}

::selection {
  background: #d9efe6;
  color: var(--ink);
}

.container {
  width: min(calc(100% - 72px), var(--page-width));
  margin-inline: auto;
}

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

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 76px;
  gap: 38px;
}

.brand {
  flex: none;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.brand-dot,
.hero-period {
  color: var(--rust);
}

.site-nav {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 31px;
  min-width: 0;
}

.site-nav a,
.header-contact {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a {
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--green);
}

.header-contact {
  flex: none;
  color: var(--green-dark);
}

.header-contact span,
.action-primary span,
.action-secondary span,
.text-link span,
.contact-inner > a span {
  display: inline-block;
  margin-left: 6px;
  transition: transform 160ms ease;
}

.header-contact:hover span,
.action-primary:hover span,
.action-secondary:hover span,
.text-link:hover span,
.contact-inner > a:hover span {
  transform: translate(2px, -2px);
}

.hero {
  border-bottom: 1px solid var(--line);
  background: var(--soft);
  padding: 56px 0 43px;
}

.hero-topline,
.section-index,
.feature-kicker,
.group-heading,
.experience-date {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--green);
}

.hero h1 {
  margin: 22px 0 3px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 82px;
  font-weight: 700;
  line-height: 1.07;
}

.hero-lead {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1.25;
}

.hero-copy {
  max-width: 710px;
  margin: 25px 0 0;
  color: #3e4c48;
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 25px;
  margin-top: 27px;
}

.action-primary,
.action-secondary,
.text-link {
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.action-primary {
  border-bottom: 2px solid var(--green);
  color: var(--green-dark);
  padding-bottom: 4px;
}

.action-secondary,
.text-link {
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 5px;
}

.research-section,
.publications-section,
.background-section,
.about-section,
.news-section {
  padding: 76px 0 88px;
}

.about-section,
.news-section {
  border-bottom: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 75px;
  margin-top: 28px;
}

.about-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  line-height: 1.15;
}

.about-portrait {
  width: 220px;
  height: auto;
}

.about-copy {
  max-width: 755px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
}

.about-copy p {
  margin: 0 0 18px;
}

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

.about-copy .about-email {
  color: var(--ink);
  font-size: 15px;
}

.about-email a,
.about-copy a,
.news-list a {
  color: var(--green-dark);
  text-decoration-color: #90b5a5;
  text-underline-offset: 4px;
}

.about-email a:hover,
.about-copy a:hover,
.news-list a:hover {
  color: var(--rust);
}

.news-section {
  background: var(--soft);
  padding: 42px 0 48px;
}

.news-section .section-heading {
  margin-bottom: 14px;
}

.news-section .section-heading h2 {
  font-size: 32px;
}

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

.news-list li {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 10px 0;
}

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

.news-list time {
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.news-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.news-emoji {
  margin-right: 2px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: end;
  gap: 28px;
  margin-bottom: 32px;
}

.section-index {
  margin: 0 0 12px;
  color: var(--rust);
}

.section-heading h2,
.background-intro h2,
.contact-inner h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  line-height: 1.15;
}

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

.featured-work {
  min-width: 0;
  border-top: 2px solid var(--ink);
  padding-top: 17px;
}

.feature-detail {
  min-width: 0;
}

.feature-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 2.18;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  padding: 10px;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 180ms ease;
}

.feature-image:hover img {
  transform: scale(1.015);
}

.feature-kicker {
  margin-top: 20px;
  color: var(--green);
}

.featured-work h3 {
  margin: 12px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.22;
}

.feature-detail > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.feature-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 22px;
  margin-top: 17px;
}

.feature-links a,
.publication-links a {
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 700;
  text-decoration-color: #90b5a5;
  text-underline-offset: 4px;
}

.feature-links a:hover,
.publication-links a:hover {
  color: var(--rust);
}

.link-note {
  color: var(--muted);
  font-size: 12px;
}

.publications-section {
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.publication-group + .publication-group {
  margin-top: 49px;
}

.group-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 11px;
  color: var(--green-dark);
}

.group-heading span {
  color: var(--muted);
}

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

.publication-item {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) 135px;
  align-items: start;
  gap: 14px 20px;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.publication-number {
  padding-top: 2px;
  color: var(--rust);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
}

.publication-body {
  min-width: 0;
}

.publication-body h4 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.34;
  overflow-wrap: anywhere;
}

.publication-authors,
.publication-venue {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.publication-authors strong {
  color: var(--ink);
}

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

.dot-separator {
  padding: 0 6px;
  color: var(--line-strong);
}

.publication-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 15px;
  padding-top: 3px;
}

.publication-links a {
  white-space: nowrap;
}

.background-grid {
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
  gap: 95px;
}

.background-intro > p:not(.section-index) {
  max-width: 450px;
  margin: 20px 0 24px;
  color: var(--muted);
  line-height: 1.75;
}

.experience-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 15px;
  border-top: 1px solid var(--line);
  padding: 17px 0 20px;
}

.experience-item:last-child {
  border-bottom: 1px solid var(--line);
}

.experience-date {
  padding-top: 4px;
  color: var(--green);
  white-space: nowrap;
}

.experience-item h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.38;
}

.experience-item p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-section {
  background: #1c302b;
  color: var(--paper);
  padding: 65px 0 74px;
}

.contact-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.contact-inner .section-index {
  color: #e2a38d;
}

.contact-inner > div > p:last-child {
  margin: 16px 0 0;
  color: #c8d7d1;
}

.contact-inner > a {
  flex: none;
  border-bottom: 2px solid #d1e6dc;
  padding-bottom: 5px;
  color: var(--paper);
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer {
  background: #14231f;
  color: #c8d7d1;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: 75px;
  font-size: 13px;
}

.footer-inner div {
  display: flex;
  gap: 26px;
}

.footer-inner a {
  color: inherit;
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--paper);
}

@media (max-width: 900px) {
  .header-inner {
    gap: 24px;
  }

  .site-nav {
    gap: 18px;
  }

  .background-grid {
    gap: 40px;
  }

  .contact-inner {
    align-items: start;
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 102px;
  }

  .container {
    width: min(calc(100% - 40px), var(--page-width));
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 0 20px;
    padding-block: 13px 8px;
  }

  .brand {
    margin-right: auto;
  }

  .header-contact {
    font-size: 13px;
  }

  .site-nav {
    order: 3;
    flex-basis: 100%;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    overflow-x: auto;
    scrollbar-width: none;
  }

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

  .site-nav a {
    font-size: 13px;
  }

  .hero {
    padding: 39px 0 32px;
  }

  .hero h1 {
    margin-top: 20px;
    font-size: 55px;
  }

  .hero-lead {
    font-size: 28px;
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 16px;
  }

  .research-section,
  .publications-section,
  .background-section,
  .about-section,
  .news-section {
    padding: 54px 0 64px;
  }

  .news-section {
    padding: 38px 0 42px;
  }

  .section-heading,
  .featured-grid,
  .background-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 22px;
    margin-top: 22px;
  }

  .about-portrait {
    width: 190px;
  }

  .section-heading {
    gap: 12px;
    margin-bottom: 26px;
  }

  .section-heading h2,
  .about-section h2,
  .background-intro h2,
  .contact-inner h2 {
    font-size: 37px;
  }

  .featured-grid {
    gap: 42px;
  }

  .feature-image {
    aspect-ratio: 2.05;
  }

  .background-grid {
    gap: 34px;
  }

  .publication-item {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px 14px;
  }

  .publication-links {
    grid-column: 2;
    justify-content: flex-start;
    padding-top: 1px;
  }

  .contact-section {
    padding: 52px 0 60px;
  }

  .news-list li {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 12px;
  }
}

@media (max-width: 420px) {
  .site-nav {
    gap: 6px;
  }

  .site-nav a {
    font-size: 12px;
  }

  .hero {
    padding: 22px 0 20px;
  }

  .hero-topline span:last-child {
    display: none;
  }

  .hero h1 {
    margin-top: 16px;
    font-size: 46px;
  }

  .hero-lead {
    font-size: 25px;
  }

  .hero-copy {
    margin-top: 14px;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .featured-work h3 {
    font-size: 25px;
  }

  .publication-body h4 {
    font-size: 19px;
  }

  .news-list li {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 9px;
    padding: 10px 0;
  }

  .about-copy {
    font-size: 16px;
  }

  .experience-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-inner {
    flex-wrap: wrap;
    gap: 4px 15px;
    padding-block: 18px;
  }

  .footer-inner div {
    order: 3;
    width: 100%;
    margin-top: 9px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0s !important;
  }
}
