:root {
  --text: #1a1a1a;
  --muted: #5a5a5a;
  --accent: #003366;
  --bg: #fefefe;
  --rule: #e0e0e0;
}

* { box-sizing: border-box; }

body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.construction {
  background: #fefaf0;
  border-left: 3px solid #c89a3a;
  padding: 0.6rem 1rem;
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}

header {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

header .venue {
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin: 0 0 0.5rem;
}

h1 {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0 0 0.3rem;
  line-height: 1.3;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  font-style: italic;
  margin: 0;
}

#thesis blockquote {
  font-size: 1.2rem;
  font-style: italic;
  border-left: 3px solid var(--accent);
  margin: 2rem 0;
  padding: 0.5rem 0 0.5rem 1.2rem;
  color: var(--accent);
}

h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 2.5rem 0 0.8rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--rule);
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.2rem 0 0.3rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

table th {
  text-align: left;
  vertical-align: top;
  padding: 0.5rem 1rem 0.5rem 0;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  width: 8rem;
}

table td {
  padding: 0.5rem 0;
  vertical-align: top;
  border-top: 1px solid var(--rule);
}

table tr:first-child th,
table tr:first-child td {
  border-top: none;
}

article {
  margin: 1rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
}

article:first-of-type {
  border-top: none;
}

.talk-title {
  margin: 0.2rem 0 0.4rem;
  color: var(--text);
}

.placeholder {
  color: var(--muted);
  font-style: italic;
}

.headshot {
  float: right;
  width: 120px;
  height: auto;
  margin: 0.2rem 0 0.6rem 1.2rem;
  border-radius: 2px;
}

.org-logo {
  display: block;
  max-height: 36px;
  width: auto;
  margin: 0.4rem 0 0.8rem;
}

.bio {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 0.8rem;
}

article::after {
  content: "";
  display: block;
  clear: both;
}

.qr-caption {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.8rem 0 0.3rem;
}

.qr {
  display: block;
  width: 150px;
  height: 150px;
  margin: 0;
}

ol li {
  margin: 0.6rem 0;
}

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

a:visited {
  color: #553388;
}

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 600px) {
  body {
    padding: 1.5rem 1rem;
  }
  table th {
    display: block;
    width: auto;
    padding-bottom: 0;
  }
  table td {
    display: block;
    padding-top: 0.2rem;
    padding-bottom: 0.8rem;
  }
  .headshot {
    float: none;
    display: block;
    width: 100px;
    margin: 0 0 0.8rem 0;
  }
}
