:root {
  color-scheme: light;
  --ink: #1e2524;
  --muted: #59625d;
  --paper: #f7f3ea;
  --surface: #fffaf1;
  --line: #d8cab4;
  --brick: #a85236;
  --teal: #1b6b73;
  --moss: #5f6f3d;
  --gold: #c28a34;
  --shadow: 0 18px 50px rgba(37, 33, 26, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 243, 234, 0.91);
  border-bottom: 1px solid rgba(119, 100, 72, 0.22);
  backdrop-filter: blur(16px);
}

.brand,
.top-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fffaf1;
  background: var(--brick);
  border-radius: 7px;
  font-size: 18px;
}

.top-nav {
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.top-nav a {
  text-decoration: none;
}

.top-nav a:hover {
  color: var(--brick);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 70px));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #20231f;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 24, 22, 0.9), rgba(16, 24, 22, 0.62) 42%, rgba(16, 24, 22, 0.24)),
    linear-gradient(0deg, rgba(16, 24, 22, 0.78), rgba(16, 24, 22, 0.08) 45%);
}

.hero-content {
  position: relative;
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 96px 0 78px;
  color: #fffaf1;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 9vw, 112px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 34px;
  color: rgba(255, 250, 241, 0.9);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.48;
}

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

.overview div {
  padding: 28px clamp(18px, 4vw, 56px);
  background: var(--surface);
}

.stat {
  display: block;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
}

.overview p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.section {
  scroll-margin-top: 92px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 82px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1;
}

.section-heading p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.researcher-picker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0 0 42px;
}

.researcher-picker a {
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(39, 34, 24, 0.06);
}

.researcher-picker a:hover {
  border-color: var(--teal);
  transform: translateY(-1px);
}

.researcher-picker span {
  font-weight: 900;
  line-height: 1.2;
}

.researcher-picker small {
  color: var(--brick);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.researcher-list {
  display: grid;
  gap: 54px;
}

.researcher-section {
  display: grid;
  gap: 18px;
  scroll-margin-top: 116px;
}

.researcher-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.researcher-heading h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
}

.researcher-heading p:not(.eyebrow) {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.researcher-heading span {
  white-space: nowrap;
  color: var(--brick);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.video-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(39, 34, 24, 0.08);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #1f2523;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-body {
  padding: 18px;
}

.video-body h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
}

.video-body p {
  margin: 10px 0 16px;
  color: var(--muted);
  line-height: 1.5;
}

.video-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
  font-weight: 900;
}

.video-links a {
  color: var(--teal);
  text-underline-offset: 4px;
}

.paper-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.62);
}

.paper-panel h4 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}

.paper-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.paper-item {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.paper-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--moss);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.paper-item h5 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.paper-item p {
  margin: 10px 0 16px;
  color: var(--muted);
  line-height: 1.45;
}

.paper-item a {
  margin-top: auto;
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
  text-underline-offset: 4px;
}

.text-link {
  color: var(--teal);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tag {
  color: var(--brick);
}

.timeline {
  padding-top: 34px;
}

.timeline-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  background: var(--line);
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.timeline-list li {
  min-height: 260px;
  padding: 22px;
  background: var(--surface);
}

.timeline-list span {
  color: var(--brick);
  font-size: 13px;
  font-weight: 900;
}

.timeline-list strong {
  display: block;
  margin: 14px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
}

.timeline-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: #f8efe0;
  background: #1f2523;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 880px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 720px;
  }

  .overview,
  .researcher-picker,
  .video-grid,
  .paper-list,
  .timeline-list {
    grid-template-columns: 1fr;
  }

  .researcher-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .top-nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
  }

  .hero-content {
    width: min(100% - 28px, 980px);
    padding-bottom: 54px;
  }

}
