:root {
  --text: #222;
  --muted: #595959;
  --rule: #dcdcdc;
  --bg: #f5f5f5;
  --link: #222;
  --link-hover: #000;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

.site-header, main, footer {
  max-width: 880px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 32px;
  padding-top: 56px;
  padding-bottom: 56px;
}
.name {
  font-size: 22px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
}
.subtitle {
  margin: 6px 0 0;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.6;
}
nav { display: flex; flex-wrap: wrap; gap: 4px 18px; flex-shrink: 0; }
nav a {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}
nav a:hover, nav a[aria-current="page"] { color: var(--text); }
nav a[aria-current="page"] { border-bottom: 1px solid currentColor; }

/* Body text */
main { padding-bottom: 64px; }
a { color: var(--link); text-decoration: underline; text-decoration-color: #aaa; text-underline-offset: 2px; }
a:hover { color: var(--link-hover); text-decoration-color: currentColor; }
p { margin: 0 0 1.1em; }

h1 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 24px;
}
h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 48px 0 20px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
h1 + h2, main > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

/* About */
.about { display: flex; gap: 40px; align-items: flex-start; }
.about img { width: 240px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; flex-shrink: 0; display: block; }
.about .bio p:last-child { margin-bottom: 0; }

/* Citation lists */
.cites { list-style: none; padding: 0; margin: 0; }
.cites li { margin: 0 0 1.15em; }
.ungated { white-space: nowrap; }
.note { font-style: italic; margin-top: 32px; }

/* Partnerships */
.partner-group { margin-bottom: 1.25em; }

footer {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  padding-bottom: 48px;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .site-header { padding-top: 32px; padding-bottom: 36px; flex-direction: column; }
  .site-header, main, footer { padding-left: 16px; padding-right: 16px; }
  .name { font-size: 20px; }
  .about { flex-direction: column; gap: 24px; }
  .about img { width: 180px; }
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
