:root {
  --masthead-red: #b41d2f;
  --wine: #812330;
  --section-rule: #c5c4ba;
}

.site-header .wordmark {
  color: var(--masthead-red);
  font: bold 25px/1 var(--serif);
  letter-spacing: -.055em;
}
.wordmark .brand-mark { stroke: currentColor; }
.header-nav a {
  font-size: 13px;
  white-space: nowrap;
}
.header-nav a:last-child { padding-left: 0; border: 0; }
.header-nav a[aria-current="location"] { color: var(--wine); }
.contents-toggle { display: none; }

.hero {
  padding-block: clamp(40px, 4.6vw, 68px) clamp(35px, 4.4vw, 64px);
}
.hero .overline {
  justify-content: center;
  margin-bottom: 13px;
  color: var(--wine);
  font: 600 11px/1.45 var(--sans);
  letter-spacing: .15em;
}
.hero .overline::before { display: none; }
.hero-title {
  display: block;
  text-align: center;
  color: var(--ink);
}
.hero-acronym {
  display: block;
  font: 700 clamp(64px, 7.2vw, 86px)/1 var(--serif);
  letter-spacing: -.065em;
  color: var(--masthead-red);
}
.hero-full-title {
  display: block;
  margin-top: 9px;
  border: 0;
  padding: 0;
  font: 400 clamp(35px, 4.3vw, 55px)/1.09 var(--serif);
  color: var(--ink);
  letter-spacing: -.045em;
  text-wrap: balance;
}
.hero-full-title em { font-weight: 400; }
.hero-full-title span { white-space: nowrap; }
.hero-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 22px;
  margin: 22px auto 34px;
}
.hero-meta .authors {
  display: grid;
  grid-template-columns: repeat(5, max-content);
  justify-content: center;
  gap: 4px 24px;
  text-align: center;
  color: #49433f;
  font-size: 16px;
  line-height: 1.5;
}
.hero-meta .resource-buttons { justify-content: center; gap: 8px; }
.hero-meta .button {
  min-height: 39px;
  padding: 7px 16px;
  border-radius: 3px;
  font-size: 13px;
}
.hero-meta .button-primary { border-color: var(--masthead-red); background: var(--masthead-red); }
.hero-meta .button:hover { border-color: var(--wine); background: #faf1ee; transform: none; color: var(--wine); }
.hero-meta .button-primary:hover { background: var(--wine); color: #fff; }

/* One full-width rule marks the beginning of each paper section. */
main > .section {
  border-block: 0;
  border-top: 1px solid var(--section-rule);
  padding-block: clamp(54px, 6.2vw, 88px);
}
main > .section h2 {
  font: 400 clamp(32px, 3.65vw, 49px)/1.08 var(--serif);
  letter-spacing: -.038em;
  text-wrap: balance;
}
.section-kicker {
  margin-bottom: 11px;
  font: 600 11px/1.45 var(--sans);
  letter-spacing: .13em;
  color: var(--wine);
}
.section-head { margin-bottom: clamp(24px, 2.7vw, 38px); }
.section-head > p { font-size: 15px; line-height: 1.65; }
.abstract-body { font-size: clamp(16px, 1.35vw, 18px); line-height: 1.75; }
.result-metric strong { color: var(--wine); }
.motion-band, .evidence-band { background: #f0efe9; }
.real-section { background: #fff; }
.site-footer { border-top-color: var(--section-rule); }

@media (max-width: 820px) {
  .site-header { height: 60px; }
  .header-inner { position: relative; }
  .header-nav { gap: 15px; min-width: 0; overflow-x: auto; }
  .header-nav a[href], .header-nav a:last-child { display: inline-block; padding-left: 0; }
  .contents-toggle:not([hidden]) {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    min-height: 44px;
    padding: 4px 1px 4px 12px;
    background: transparent;
    border: 0;
    color: var(--ink);
    font: 500 14px var(--sans);
  }
  .contents-toggle span {
    width: 7px;
    height: 7px;
    margin: -3px 2px 0 0;
    border: solid currentColor;
    border-width: 0 1px 1px 0;
    transform: rotate(45deg);
  }
  .contents-toggle[aria-expanded="true"] span { transform: translateY(3px) rotate(225deg); }
  .contents-toggle:not([hidden]) + .header-nav {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    min-width: min(244px, 100%);
    padding: 5px 16px;
    border: 1px solid var(--section-rule);
    background: var(--surface);
    box-shadow: 0 10px 24px #26232116;
  }
  .contents-toggle[aria-expanded="true"] + .header-nav { display: grid; gap: 0; }
  .contents-toggle:not([hidden]) + .header-nav a {
    padding: 12px 2px;
    border: 0;
    font-size: 14px;
  }
  .contents-toggle:not([hidden]) + .header-nav a + a { border-top: 1px solid #e7e3db; }
}
@media (max-width: 620px) {
  .hero { padding-top: 32px; }
  .hero-full-title { font-size: clamp(32px, 7.8vw, 42px); }
  .hero-full-title em, .hero-full-title span { display: block; }
  .hero-meta .authors {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 13px;
    max-width: 410px;
    font-size: 14px;
  }
  .hero-meta .authors span { white-space: nowrap; }
  .hero-meta { margin-block: 18px 23px; gap: 16px; }
  .hero-meta .button { min-height: 40px; }
  main > .section { padding-block: 44px; }
}
@media print {
  main > .section { padding-block: 26px; }
  .hero-meta .resource-buttons { display: none; }
}
