:root {
  --ink: #18261f;
  --muted: #5f6c65;
  --paper: #f6f3ea;
  --surface: #fffdf8;
  --line: #d9d3c5;
  --accent: #8d3828;
  --accent-dark: #61271d;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: inherit; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
  padding: .65rem .9rem;
  background: var(--surface);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.1rem clamp(1.2rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 243, 234, .96);
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: .88rem;
}

nav a { text-decoration: none; }

main {
  width: min(920px, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6.5rem) 0 5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -.025em;
}

h1 {
  max-width: 21ch;
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 1.04;
}

.authors {
  margin: 1.5rem 0 .25rem;
  font-size: 1.1rem;
  font-weight: 650;
}

.status {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin: 2rem 0 3.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  padding: .75rem 1rem;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
}

.button.primary {
  color: #fff;
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.button.secondary { background: transparent; }

section,
.citation-box {
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
}

h2 {
  margin: 0 0 1rem;
  font-size: 1.45rem;
}

.abstract {
  margin: 0;
  color: #26372f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 2.2vw, 1.28rem);
  line-height: 1.72;
}

.citation-box {
  margin-top: 3rem;
  color: var(--muted);
}

.citation-box p { margin: 0; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem clamp(1.2rem, 5vw, 4.5rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem;
}

@media (max-width: 700px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: .7rem;
  }

  nav { gap: .75rem 1rem; }

  h1 { max-width: none; }

  footer { flex-direction: column; }
}
