:root {
  color-scheme: light;
  --paper: #f6f1e7;
  --paper-deep: #eee7d9;
  --paper-foot: #eae2d4;
  --ink: #25231f;
  --muted: #69655e;
  --soft-muted: #89847c;
  --line: #d9d0c1;
  --orange: #b66b43;
  --orange-light: #e8b48c;
  --white-wash: rgba(255, 253, 248, 0.7);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --page-width: 1440px;
  --page-pad: clamp(24px, 4vw, 64px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  background: var(--paper);
}

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

a { color: inherit; }

a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.visually-hidden,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 4px;
  background: var(--ink);
  color: white;
}

.section-shell,
.nav-shell,
.footer-inner {
  width: min(100%, var(--page-width));
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid transparent;
  transition: background-color 260ms ease, border-color 260ms ease, backdrop-filter 260ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(217, 208, 193, 0.72);
  background: rgba(246, 241, 231, 0.78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: -0.055em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark-period { color: var(--orange); }

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
  font-size: 14px;
}

.primary-nav a {
  text-decoration: none;
  transition: color 180ms ease;
  white-space: nowrap;
}

.primary-nav a:hover,
.footer-column a:hover,
.text-link:hover { color: var(--orange); }

.primary-nav [aria-current="page"] { color: var(--orange); }
.primary-nav [aria-current="page"]:not(.nav-button) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
}

.primary-nav .nav-button {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  border-radius: 5px;
  background: var(--ink);
  color: #fffaf2;
  font-weight: 600;
  transition: background-color 180ms ease, transform 180ms ease;
}

.primary-nav .nav-button:hover {
  transform: translateY(-1px);
  background: var(--orange);
  color: white;
}

.hero { padding-top: clamp(28px, 3.2vw, 46px); padding-bottom: clamp(58px, 6vw, 82px); }

.hero-copy {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  max-width: 980px;
  margin: 0 auto;
  color: var(--orange);
  font-family: var(--serif);
  font-size: clamp(46px, 6vw, 84px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-description {
  max-width: 700px;
  margin: 20px auto 0;
  color: #57534d;
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.55;
  text-wrap: pretty;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 180ms ease, gap 180ms ease;
}

.text-link:hover { gap: 14px; }

.hero-media-track {
  position: relative;
  width: min(100%, 784px);
  margin: clamp(22px, 3vw, 40px) auto 0;
  padding-inline: 12px;
}

.hero-media {
  width: min(100%, 760px);
  aspect-ratio: 1.437 / 1;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(94, 78, 56, 0.14);
  border-radius: clamp(16px, 2vw, 25px);
  background: #e8e0d3;
  box-shadow: 0 18px 48px rgba(60, 48, 34, 0.1);
}

@media (min-width: 641px) {
  .hero-media {
    width: min(100%, 760px, max(320px, calc((100svh - 500px) * 1.437)));
  }
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

.releases { padding-top: clamp(82px, 8vw, 116px); padding-bottom: clamp(38px, 4vw, 58px); }

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.section-heading-row h2,
.section-intro h2,
.publication-heading h2,
.news-heading h1 {
  margin: 0;
  font-size: clamp(30px, 3.3vw, 43px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.1;
}

.quiet-link { margin-bottom: 5px; }

.empty-release {
  display: grid;
  grid-template-columns: minmax(200px, 0.7fr) minmax(260px, 1.3fr);
  align-items: baseline;
  gap: 24px;
  margin-top: 22px;
  padding: 21px 0 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.empty-title,
.empty-copy { margin: 0; }

.empty-title {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: -0.025em;
}

.empty-copy { color: var(--muted); font-size: 14px; }

.what-we-do {
  padding-top: clamp(82px, 8vw, 116px);
  padding-bottom: clamp(100px, 11vw, 148px);
}

.section-intro {
  max-width: 960px;
}

.section-intro h2 { font-size: clamp(34px, 3.5vw, 44px); }

.intro-copy {
  max-width: 790px;
  margin-top: 22px;
  color: #565149;
  font-family: var(--serif);
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.58;
}

.intro-copy p { margin: 0 0 18px; }
.intro-copy p:last-child { margin-bottom: 0; }

.focus-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 54px);
  margin-top: clamp(58px, 7vw, 86px);
}

.focus-row {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
}

.focus-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.focus-row p {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.has-js .focus-row.reveal-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 560ms ease, transform 560ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.has-js .focus-row.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.has-js .focus-row.reveal-item:nth-child(2) { transition-delay: 100ms; }
.has-js .focus-row.reveal-item:nth-child(3) { transition-delay: 200ms; }

.site-footer {
  background: var(--paper-foot);
  border-top: 1px solid rgba(217, 208, 193, 0.7);
}

.footer-inner { padding-top: 58px; padding-bottom: 35px; }
.footer-wordmark { display: inline-block; margin-bottom: 42px; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 32px;
}

.footer-column {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 5px;
  color: #4f4b44;
  font-size: 14px;
}

.footer-column h2 {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-column a { text-decoration: none; transition: color 180ms ease; }
.footer-column span { color: var(--muted); }

.copyright {
  margin: 43px 0 0;
  color: var(--soft-muted);
  font-size: 12px;
}

.interior-main { min-height: 65vh; }

.research-overview {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(390px, 1.08fr);
  gap: clamp(42px, 7vw, 105px);
  align-items: start;
  padding-top: clamp(58px, 7vw, 98px);
  padding-bottom: clamp(60px, 7vw, 92px);
}

.research-overview h1,
.news-heading h1 {
  margin: 0;
  font-size: clamp(56px, 7vw, 84px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.research-summary > p {
  max-width: 680px;
  margin: 0;
  color: #514d46;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.55;
}

.area-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 24px;
  margin-top: 28px;
  font-size: 13px;
}

.area-nav span { font-weight: 600; }
.area-nav a { text-underline-offset: 4px; }

.research-areas {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 54px);
  padding-top: 42px;
  padding-bottom: 53px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.research-area h2 {
  margin: 0 0 11px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.research-area p {
  margin: 0;
  color: #555149;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.58;
}

.publication-section { padding-top: clamp(52px, 6vw, 82px); padding-bottom: clamp(100px, 14vw, 190px); }

.publication-heading { align-items: center; }

.publication-heading h2 { font-size: clamp(42px, 5vw, 64px); }

.search-field {
  display: flex;
  width: min(320px, 100%);
  min-height: 48px;
  align-items: center;
  gap: 11px;
  padding: 0 14px;
  border: 1px solid #d6cebf;
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.55);
  color: #827c73;
}

.search-field svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.search-field input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.search-field input::placeholder { color: #89847c; opacity: 1; }
.search-field:focus-within { border-color: var(--orange); }

.publication-table { margin-top: 48px; }

.table-head {
  display: grid;
  grid-template-columns: 16% 21% 1fr;
  gap: 12px;
  padding: 13px 0 11px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #777169;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.empty-table {
  padding: 40px 0 10px;
  color: #7f7971;
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 21px);
}

.news-main { display: flex; flex-direction: column; }

.legal-page {
  max-width: 920px;
  padding-top: clamp(58px, 7vw, 98px);
  padding-bottom: clamp(86px, 10vw, 140px);
}

.legal-heading {
  max-width: 760px;
  padding-bottom: clamp(36px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
}

.legal-updated {
  margin: 0 0 17px;
  color: var(--muted);
  font-size: 12px;
}

.legal-heading h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.legal-heading > p:last-child {
  max-width: 680px;
  margin: 20px 0 0;
  color: #57534d;
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.55;
}

.legal-content { max-width: 760px; }

.legal-content section {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.legal-content p {
  margin: 0 0 12px;
  color: #57534d;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.65;
}

.legal-content p:last-child { margin-bottom: 0; }
.legal-content a { color: var(--ink); text-underline-offset: 3px; }
.legal-content a:hover { color: var(--orange); }

.news-section {
  flex: 1;
  padding-top: clamp(58px, 7vw, 92px);
  padding-bottom: clamp(130px, 18vw, 245px);
}

.news-heading { align-items: center; }
.news-heading h1 { font-size: clamp(58px, 7vw, 84px); }
.news-section .publication-table { margin-top: clamp(54px, 6vw, 78px); }

@keyframes hero-arrive {
  from { opacity: 0; transform: translateY(13px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-title { animation: hero-arrive 850ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-description { animation: hero-arrive 850ms 120ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }

@media (max-width: 900px) {
  .research-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .research-overview { grid-template-columns: 0.75fr 1.25fr; gap: 34px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
}

@media (max-width: 760px) {
  .focus-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .focus-row:last-child { grid-column: 1 / -1; }
  .research-overview { grid-template-columns: 0.75fr 1.25fr; }
  .hero-title { max-width: 720px; }
}

@media (max-width: 640px) {
  :root { --page-pad: 22px; }
  .nav-shell { min-height: 72px; gap: 12px; }
  .wordmark { font-size: 22px; }
  .primary-nav { gap: 15px; font-size: 13px; }
  .primary-nav .nav-button { min-height: 38px; padding-inline: 12px; }
  .hero { padding-top: 40px; padding-bottom: 58px; }
  .hero-title { font-size: clamp(42px, 11.5vw, 64px); line-height: 1; }
  .hero-description { margin-top: 18px; font-size: 18px; }
  .hero-media-track { width: 100%; margin-top: 22px; padding-inline: 4px; }
  .hero-media { border-radius: 17px; }
  .section-heading-row { align-items: flex-start; }
  .section-heading-row h2, .section-intro h2 { font-size: 34px; }
  .releases { padding-top: 96px; padding-bottom: 38px; }
  .empty-release { grid-template-columns: 1fr; gap: 5px; margin-top: 22px; }
  .empty-title { font-size: 22px; }
  .what-we-do { padding-top: 94px; padding-bottom: 126px; }
  .section-intro { max-width: 100%; }
  .section-intro h2 { font-size: 34px; }
  .intro-copy { margin-top: 18px; font-size: 19px; }
  .focus-list { grid-template-columns: 1fr; gap: 30px; margin-top: 58px; }
  .focus-row { gap: 6px; padding-top: 16px; }
  .focus-row:last-child { grid-column: auto; }
  .focus-row h3 { font-size: 22px; }
  .footer-inner { padding-top: 42px; }
  .footer-wordmark { margin-bottom: 34px; }
  .footer-grid { gap: 26px 18px; }
  .footer-column { font-size: 13px; }
  .copyright { margin-top: 35px; }
  .research-overview { grid-template-columns: 1fr; gap: 25px; padding-top: 52px; padding-bottom: 47px; }
  .research-overview h1 { font-size: 62px; }
  .research-summary > p { font-size: 21px; }
  .area-nav { gap: 9px 16px; margin-top: 22px; }
  .area-nav span { flex-basis: 100%; }
  .research-areas { grid-template-columns: 1fr; gap: 0; padding-top: 13px; padding-bottom: 20px; }
  .research-area { padding: 20px 0; border-bottom: 1px solid var(--line); }
  .research-area:last-child { border-bottom: 0; }
  .publication-section { padding-top: 65px; padding-bottom: 105px; }
  .publication-heading { align-items: flex-start; flex-direction: column; gap: 22px; }
  .publication-heading h2 { font-size: 46px; }
  .search-field { width: 100%; }
  .publication-table { margin-top: 37px; }
  .table-head { grid-template-columns: 20% 29% 1fr; font-size: 10px; }
  .empty-table { padding-top: 32px; font-size: 18px; }
  .news-section { padding-top: 52px; padding-bottom: 130px; }
  .news-heading { align-items: flex-start; flex-direction: column; gap: 24px; }
  .news-heading h1 { font-size: 64px; }
  .news-section .publication-table { margin-top: 45px; }
}

@media (max-width: 380px) {
  :root { --page-pad: 18px; }
  .nav-shell { gap: 8px; }
  .primary-nav { gap: 11px; font-size: 12px; }
  .primary-nav .nav-button { padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .has-js .focus-row.reveal-item { opacity: 1; transform: none; }
  .hero-title, .hero-description { animation: none !important; }
}
