/* Intentionally simple: a turn-of-the-millennium personal homepage style. */
body {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 12px 40px;
  background: white;
  color: black;
  font-family: "Times New Roman", Times, serif;
  font-size: 18px;
  line-height: 1.35;
}

a { color: #0000ee; }
a:visited { color: #551a8b; }
a:hover { color: red; }

.site-header {
  padding: 12px 0;
  border-bottom: 2px solid #999;
  display: flex;
  justify-content: space-between;
}

.wordmark { font-weight: bold; }
nav { white-space: nowrap; }

.hero {
  padding: 45px 0;
  text-align: center;
  border-bottom: 2px solid #999;
}

.avatar {
  width: 220px;
  height: 220px;
  margin: 0 auto 20px;
  border: 3px outset #ccc;
  background: #ddd;
  border-radius: 50%;
  overflow: hidden;
}

.avatar svg { width: 100%; height: 100%; fill: #888; }
.eyebrow, .section-label { font-weight: bold; }
.hero h1 { margin: 8px 0 0; font-size: 72px; }
.affiliation { margin: 0; font-size: 30px; }
.hero-deck { max-width: 660px; margin: 25px auto 0; }

.context, .sources, .documents, .learning, .takeaway {
  padding: 30px 0;
  border-bottom: 2px solid #999;
}

h2 { font-size: 36px; }
.sources-heading { margin-bottom: 30px; }

.source-card {
  padding: 20px;
  margin: 0 0 22px;
  border: 1px solid #999;
  background: #f4f4f4;
}

.source-number { float: right; font-size: 28px; font-weight: bold; color: #777; }
.source-meta { font-size: 15px; }
.pill { font-weight: bold; }
.source-card h3 { font-size: 27px; margin: 10px 0; }
.source-note { font-style: italic; }
.pdf-viewer {
  display: block;
  width: 100%;
  height: 600px;
  border: 2px inset #ccc;
  background: white;
}
.document-links { padding-left: 28px; }
.document-links li { margin: 8px 0; }
.document-preview { margin: 35px 0; }
.document-preview h3 { font-size: 24px; }

/* The learning card is intentionally brighter than the document archive. */
.learning { background: #eef8ff; padding-left: 18px; padding-right: 18px; }
.quiz {
  max-width: 650px;
  margin: 25px auto;
  padding: 25px;
  border: 3px solid #5a67d8;
  border-radius: 18px;
  background: white;
  box-shadow: 6px 6px 0 #c7d2fe;
  font-family: Arial, sans-serif;
}
.quiz-progress { display: flex; gap: 12px; align-items: center; justify-content: space-between; font-size: 14px; }
.quiz-progress progress { flex: 1; accent-color: #5a67d8; }
.quiz-kind { color: #5a67d8; font-weight: bold; text-transform: uppercase; font-size: 13px; }
.quiz-options { display: grid; gap: 10px; }
.quiz-option, .quiz-next {
  padding: 13px 16px;
  border: 2px solid #a5b4fc;
  border-radius: 10px;
  background: #f8faff;
  color: #222;
  font-weight: bold;
  cursor: pointer;
}
.quiz-option:hover, .quiz-option:focus { background: #e0e7ff; }
.quiz-option.correct { border-color: #16834b; background: #dcfce7; }
.quiz-option.wrong { border-color: #b42318; background: #fee2e2; }
.quiz-option:disabled { cursor: default; color: #222; }
.quiz-feedback { min-height: 25px; font-weight: bold; }
.quiz-next { border-color: #5a67d8; background: #5a67d8; color: white; }
.takeaway { background: #ffffcc; padding-left: 18px; padding-right: 18px; }
footer { text-align: center; font-size: 15px; padding-top: 20px; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .site-header { display: block; text-align: center; }
  nav { margin-top: 8px; }
  .avatar { width: 170px; height: 170px; }
  .hero h1 { font-size: 50px; }
  h2 { font-size: 28px; }
  .pdf-viewer { height: 450px; }
}
