:root {
  --ink: #102522;
  --muted: #526562;
  --paper: #f6f4ed;
  --panel: #fffdf7;
  --line: #d9ddd6;
  --teal: #147a72;
  --teal-dark: #123d3b;
  --coral: #dc655d;
  --shadow: 0 18px 50px rgba(16, 37, 34, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 3%, rgba(20, 122, 114, 0.11), transparent 26rem),
    radial-gradient(circle at 92% 12%, rgba(220, 101, 93, 0.10), transparent 24rem),
    var(--paper);
  font-family: Inter, Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem max(1.25rem, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid rgba(16, 37, 34, 0.10);
  background: rgba(246, 244, 237, 0.88);
  backdrop-filter: blur(14px);
}

.brand {
  color: var(--teal-dark);
  font-size: 1.25rem;
  font-weight: 850;
  letter-spacing: -0.05em;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 1.35rem;
}

nav a {
  color: var(--muted);
  font-size: 0.89rem;
  font-weight: 650;
  text-decoration: none;
}

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

main {
  overflow: hidden;
}

.hero,
.content,
.figure,
footer {
  width: min(1160px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.hero {
  padding: clamp(4.5rem, 9vw, 8.5rem) 0 3rem;
  text-align: center;
}

.venue,
.section-label {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 1050px;
  margin: 0.8rem auto 1.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5.2vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

h1 span {
  color: var(--coral);
  font-style: italic;
}

.authors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem 1.1rem;
  max-width: 900px;
  margin: 0 auto;
}

.authors a {
  color: var(--teal-dark);
  font-weight: 720;
  text-underline-offset: 0.22em;
  text-decoration-color: rgba(20, 122, 114, 0.35);
}

.affiliations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem 1.2rem;
  max-width: 940px;
  margin: 0.85rem auto 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.65rem 1.15rem;
  border: 1px solid var(--teal-dark);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.65);
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

a.button:hover,
a.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 37, 34, 0.12);
}

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

.button.unavailable {
  border-color: var(--line);
  color: #7b8784;
  cursor: default;
}

.figure {
  overflow: hidden;
  margin-top: 1.5rem;
  border: 1px solid rgba(16, 37, 34, 0.11);
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow);
}

.figure img {
  display: block;
  width: 100%;
  height: auto;
}

.figure p,
.figure figcaption {
  margin: 0;
  padding: 0.9rem 1.2rem 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

.content {
  padding: clamp(4rem, 8vw, 7rem) 0 0;
}

.content > p,
.content > h2,
.content > .section-label,
.citation > .doi-row {
  max-width: 800px;
  margin-inline: auto;
}

h2 {
  margin-top: 0.35rem;
  margin-bottom: 1.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.content > p {
  color: #354946;
  font-size: 1.02rem;
}

.content > p + p {
  margin-top: 1rem;
}

.content .lead {
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0 1.5rem;
}

.highlights article {
  min-height: 210px;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 247, 0.78);
}

.highlights article > span {
  color: var(--coral);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-style: italic;
}

h3 {
  margin: 0.7rem 0 0.55rem;
  font-size: 1.08rem;
}

.highlights p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.wide {
  width: 100%;
  margin-top: 2rem;
}

.citation {
  padding-bottom: 6rem;
}

.doi-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.doi-row code {
  overflow-wrap: anywhere;
  color: var(--teal-dark);
  font-size: 0.95rem;
}

.doi-row a {
  flex: none;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 750;
}

footer {
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
  text-align: center;
}

@media (max-width: 760px) {
  .site-header {
    padding-inline: 1rem;
  }

  nav {
    gap: 0.8rem;
  }

  nav a:nth-child(2),
  nav a:nth-child(3) {
    display: none;
  }

  .hero,
  .content,
  .figure,
  footer {
    width: min(100% - 1.25rem, 1160px);
  }

  .hero {
    padding-top: 4rem;
  }

  .highlights {
    grid-template-columns: 1fr;
  }

  .highlights article {
    min-height: auto;
  }

  .figure {
    border-radius: 12px;
  }

  .doi-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .button {
    transition: none;
  }
}
