:root {
  --page: #f8f7f3;
  --surface: #fffefa;
  --ink: #263632;
  --muted: #61716d;
  --accent: #2d706b;
  --accent-soft: #e9f2ee;
  --line: #e2e3db;
  --dark: #203638;
  --dark-muted: #c2d0cd;
  --shell: 900px;
  --wide: 980px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", ui-sans-serif, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; width: 100%; }
a { color: inherit; }
button { font: inherit; }
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.shell.wide { width: min(calc(100% - 48px), var(--wide)); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 247, 243, .94);
  backdrop-filter: blur(16px);
}
.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  flex: none;
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -.035em;
  text-decoration: none;
}
.brand span { color: var(--accent); }
.nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.nav-links a {
  color: var(--muted);
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .18s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--accent); }

.hero {
  position: relative;
  isolation: isolate;
  padding-block: 120px 88px;
  text-align: center;
}
.hero::before {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 50%;
  width: 100%;
  height: 680px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 24%, rgba(195, 222, 210, .4), transparent 66%);
  content: "";
  pointer-events: none;
}
.venue, .eyebrow, .section-number {
  margin: 0;
  color: var(--accent);
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .13em;
}
.venue span { padding-inline: 8px; color: #a5b2a8; }
.hero h1 {
  max-width: 860px;
  margin: 32px auto 0;
  font-weight: 400;
}
.hero-name {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 7rem;
  line-height: 1;
  letter-spacing: -.065em;
}
.hero-name em {
  color: var(--accent);
  font-weight: 400;
}
.hero-subtitle {
  display: block;
  max-width: 760px;
  margin: 30px auto 0;
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hero-subtitle span {
  color: var(--accent);
  white-space: nowrap;
}
.dek {
  max-width: 650px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1.6;
  text-wrap: pretty;
}
.authors {
  display: flex;
  justify-content: center;
  margin-top: 22px;
  color: #50625b;
  font-size: .94rem;
  font-weight: 600;
}
.resource-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #bdcbc3;
  border-radius: 999px;
  background: var(--surface);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.pill:hover, .pill:focus-visible { border-color: var(--accent); transform: translateY(-2px); }
.pill.primary { color: #fff; border-color: var(--accent); background: var(--accent); }
.pill.primary:hover, .pill.primary:focus-visible { background: #225a56; }

.teaser { padding-bottom: 120px; }
.section-heading.compact { margin-bottom: 28px; text-align: center; }
.section-heading.compact h2 {
  margin: 10px auto 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.3rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.media-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #0e1720;
}
.hero-media { box-shadow: 0 26px 70px rgba(37, 64, 56, .12); }
.hero-media video, .slide video {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #0e1720;
}
.caption {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.58;
  text-align: center;
  text-wrap: pretty;
}

.paper-section {
  padding-block: 112px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 68px;
}
.prose-grid {
  display: grid;
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
  gap: 54px;
}
.section-heading h2 {
  margin: 9px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.prose {
  max-width: 62ch;
  color: #41524d;
  font-size: 1.07rem;
  line-height: 1.72;
}
.prose > p:first-child { margin: 0; }
.contributions {
  margin-top: 44px;
  padding: 30px 34px;
  border: 1px solid #d7e6dc;
  border-left: 3px solid var(--accent);
  border-radius: 0 16px 16px 0;
  background: var(--accent-soft);
  font-size: .97rem;
  line-height: 1.7;
}
.contributions strong { color: var(--ink); font-size: .96rem; }
.contributions ul { margin: 12px 0 0; padding-left: 20px; }
.contributions li + li { margin-top: 10px; }
.contributions li::marker { color: var(--accent); }

.split-heading {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 380px);
  align-items: end;
  gap: 40px;
  margin-bottom: 46px;
}
.split-heading > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.58;
  text-wrap: pretty;
}
.method-figure { margin: 0; }
.method-figure img {
  height: auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}
.method-figure figcaption {
  max-width: 740px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.58;
  text-align: center;
  text-wrap: pretty;
}

.results-section {
  color: #f1f5f7;
  border: 0;
  background: radial-gradient(ellipse at 80% 10%, #2b4948, var(--dark) 65%);
}
.results-section .section-number { color: #80d4cc; }
.split-heading.light > p { color: var(--dark-muted); }
.carousel-viewport {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  background: #0e1720;
}
.slide-copy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 24px;
  padding: 18px 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.slide-copy span { font-size: 1.1rem; font-weight: 600; line-height: 1.45; }
.slide-copy p { margin: 0; color: var(--dark-muted); font-size: 1.02rem; white-space: nowrap; }
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 26px;
}
.carousel-controls > button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #edf4f5;
  border: 1px solid #647684;
  border-radius: 50%;
  background: transparent;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}
.carousel-controls > button:hover, .carousel-controls > button:focus-visible {
  border-color: #80d4cc;
  background: #285658;
}
.dots { display: flex; align-items: center; gap: 10px; }
.dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #80919f;
  cursor: pointer;
}
.dots button.is-active { background: #80d4cc; }

.video-section .split-heading { margin-bottom: 42px; }
.video-figure { margin: 0; }
.video-figure .media-frame { box-shadow: 0 24px 60px rgba(37, 64, 56, .09); }
.comparison-carousel .carousel-viewport {
  border-color: var(--line);
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(37, 64, 56, .09);
}
.comparison-carousel .slide-copy { border-top-color: var(--line); }
.comparison-carousel .slide-copy p { color: var(--muted); }
.comparison-carousel .carousel-controls > button {
  color: var(--ink);
  border-color: #a9bab2;
}
.comparison-carousel .carousel-controls > button:hover,
.comparison-carousel .carousel-controls > button:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.comparison-carousel .dots button { background: #a9bab2; }
.comparison-carousel .dots button.is-active { background: var(--accent); }
.video-figure video {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #0e1720;
}
.video-figure figcaption {
  max-width: 720px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.58;
  text-align: center;
  text-wrap: pretty;
}
.ablation-section { background: #edf3ed; }

footer { color: #cbd8d2; background: #1a2d2e; }
.footer-inner {
  min-height: 102px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-inner p { margin: 0; }
.footer-inner a { color: #eef5f5; font-size: .9rem; font-weight: 700; text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .nav { min-height: 64px; gap: 16px; }
  .nav-links { gap: 10px 14px; justify-content: end; }
  .nav-links a { font-size: .78rem; }
  .hero { padding-block: 82px 68px; }
  .hero-name { font-size: 4rem; }
  .hero-subtitle { font-size: 1.8rem; }
  .dek { font-size: 1.15rem; }
  .teaser { padding-bottom: 96px; }
  .section-heading.compact h2 { font-size: 2rem; }
  .paper-section { padding-block: 88px; scroll-margin-top: 96px; }
  .prose-grid, .split-heading { grid-template-columns: 1fr; gap: 24px; }
  .split-heading { margin-bottom: 28px; }
  .section-heading h2 { margin-top: 6px; font-size: 2.5rem; }
  .slide-copy p { white-space: normal; }
}
@media (max-width: 480px) {
  .shell, .shell.wide { width: min(calc(100% - 32px), var(--wide)); }
  .nav { align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; padding-block: 12px; }
  .nav-links { justify-content: start; gap: 8px 16px; }
  .paper-section { scroll-margin-top: 120px; }
  .hero { padding-block: 70px 58px; }
  .hero-name { font-size: 2.8rem; }
  .hero-subtitle { margin-top: 24px; font-size: 1.4rem; }
  .hero-subtitle span { white-space: normal; }
  .section-heading h2 { font-size: 2.2rem; }
  .contributions { padding: 24px; }
  .pill { width: 100%; }
  .method-figure img { padding: 10px; }
  .slide-copy { padding: 16px; }
  .footer-inner { flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; padding-block: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
