:root {
  --bg: #ffffff;
  --ink: #17212b;
  --line: #dce2e8;
  --blue: #003d7c;
  --width: 1000px;
  --measure: 720px;
  --text-small: 0.82rem;
  --text-body: 1rem;
  --text-lead: 1.4rem;
  --text-heading: clamp(1.4rem, 2.8vw, 1.85rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: var(--text-body);
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

a:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 40px), var(--width));
  margin-inline: auto;
}

.hero {
  padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(3.2rem, 6vw, 4.5rem);
}

.label {
  margin: 0;
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0.3rem 0 1rem;
  font-size: clamp(1.55rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.94;
  white-space: nowrap;
}

.lede {
  max-width: 820px;
  margin: 0;
  font-size: var(--text-lead);
  line-height: 1.32;
}

.byline {
  display: grid;
  grid-template-columns: 8.25rem minmax(0, 1fr);
  gap: 0 1rem;
  align-items: start;
  margin: 1.4rem 0 0;
}

.byline strong {
  font-weight: 700;
}

.byline-details {
  display: grid;
  gap: 0.05rem;
}

.profile-links {
  display: flex;
  gap: 0.55rem;
  align-items: baseline;
  margin-top: 0.12rem;
}

.coauthor-byline {
  margin-top: 0.35rem;
}

.thesis {
  max-width: var(--measure);
  margin: 1.4rem 0 0;
  padding: 0;
}

.thesis p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.45;
}

.thesis cite {
  display: block;
  margin-top: 0.35rem;
  font-size: var(--text-small);
  font-style: normal;
  text-align: right;
}

section {
  padding: clamp(3.4rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--line);
}

.section-layout {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
}

.section-body {
  min-width: 0;
}

.section-body h2 {
  max-width: none;
  margin: 0 0 1.8rem;
  font-size: var(--text-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.03;
  white-space: nowrap;
}

.qa-list,
.research-points,
.vision-mission {
  display: grid;
  gap: 1.8rem;
}

.research-points {
  margin-bottom: 1.7rem;
}

.minor-heading {
  margin: 0;
  font-size: var(--text-body);
  font-weight: 700;
  line-height: 1.25;
}

.body-copy {
  max-width: var(--measure);
  margin: 0.45rem 0 0;
}

.vision-mission h3 {
  margin: 0.28rem 0 0.5rem;
}

.vision-mission .body-copy {
  margin-top: 0;
}

figure {
  margin: 0;
}

.figure-viewport {
  display: block;
  max-width: 100%;
  overflow: auto;
  background: var(--bg);
  overscroll-behavior-inline: contain;
}

figure img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}

figcaption {
  max-width: 850px;
  margin-top: 0.75rem;
  font-size: var(--text-small);
  line-height: 1.48;
}

.objectives-title {
  margin: 2.5rem 0 0.65rem;
  font-size: var(--text-small);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.references {
  margin-top: 2.6rem;
  padding-top: 1.2rem;
  border-top: 1px dashed var(--line);
}

.objectives,
.references ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.objectives li {
  display: grid;
  grid-template-columns: minmax(170px, 0.42fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding: 0.75rem 0;
}

.references ul {
  font-size: var(--text-small);
}

.references li + li {
  margin-top: 0.45rem;
}

footer {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  font-size: var(--text-small);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.footer-link {
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .section-layout {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .section-body h2 {
    white-space: normal;
  }

  .objectives li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(calc(100% - 28px), var(--width));
  }

  .byline {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .figure-viewport img {
    width: 760px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-link {
    align-self: flex-start;
  }
}

@media print {
  @page {
    size: A4;
    margin: 15mm 14mm 17mm;
  }

  html,
  body {
    background: #ffffff;
  }

  body {
    font-size: 9pt;
    line-height: 1.4;
  }

  .container {
    width: 100%;
  }

  .hero {
    padding: 4mm 0 13mm;
  }

  h1 {
    font-size: 42pt;
  }

  .lede {
    font-size: 14pt;
  }

  .byline {
    grid-template-columns: 30mm minmax(0, 1fr);
    margin-top: 5mm;
  }

  .coauthor-byline {
    margin-top: 1.5mm;
  }

  .thesis {
    margin-top: 5mm;
  }

  .thesis p {
    font-size: 10.5pt;
    line-height: 1.35;
  }

  .thesis cite {
    font-size: 8pt;
  }

  section {
    padding: 8mm 0;
  }

  main > section:nth-of-type(2) {
    break-before: page;
  }

  main > section:nth-of-type(3) {
    break-before: page;
  }

  .section-layout {
    grid-template-columns: 30mm minmax(0, 1fr);
    gap: 8mm;
  }

  .section-body h2 {
    margin-bottom: 5mm;
    font-size: 15.5pt;
    white-space: normal;
  }

  .qa-list,
  .research-points,
  .vision-mission {
    gap: 5mm;
  }

  .research-points {
    margin-bottom: 5mm;
  }

  .minor-heading {
    font-size: 10pt;
  }

  .body-copy {
    margin-top: 1mm;
  }

  .label,
  .objectives-title {
    font-size: 8pt;
  }

  .qa-list article,
  .research-points article,
  .vision-mission > div,
  .objectives li,
  .references,
  figure {
    break-inside: avoid;
  }

  .figure-viewport {
    overflow: visible;
  }

  .figure-viewport img {
    width: 70%;
    margin-inline: auto;
  }

  figcaption {
    width: 70%;
    margin: 2mm auto 0;
    font-size: 7.5pt;
  }

  main > section:nth-of-type(2) .figure-viewport img,
  main > section:nth-of-type(2) figcaption {
    width: 78%;
  }

  .references {
    margin-top: 6mm;
    padding-top: 3mm;
  }

  .references ul {
    font-size: 7.5pt;
    line-height: 1.35;
  }

  main > section:nth-of-type(2) .references ul {
    font-size: 7.2pt;
    line-height: 1.3;
  }

  .references li + li {
    margin-top: 1.5mm;
  }

  .objectives-title {
    margin: 6mm 0 2mm;
  }

  .objectives li {
    padding: 1.5mm 0;
  }

  a {
    color: var(--ink);
  }

  footer {
    padding: 6mm 0 0;
    font-size: 8pt;
  }

}
