:root {
  color-scheme: dark;
  --background: #272935;
  --ink: #f5f5f6;
  --muted: #a7b5be;
  --accent: #c58af9;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: "Open Sans", var(--sans);
  color: var(--ink);
  background: var(--background);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { max-width: 1240px; margin: 0 auto; padding: 52px 40px 0; font-size: 20px; line-height: 1.65; }
a { color: var(--accent); text-decoration: none; text-underline-offset: .2em; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; border-radius: 2px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.2; }
h1 { font-size: 2.1rem; font-weight: 400; margin-bottom: 12px; }
h2 { color: var(--muted); font-size: 1.6rem; font-weight: 600; margin-bottom: 10px; }
h3 { font-size: 1.1rem; font-weight: 400; margin-bottom: 5px; }
p { margin-bottom: 22px; }
.personal-links { --orbit-focus: 64px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin: 16px auto 0; }
.personal-links::after { display: none; }
.personal-links a { position: relative; display: grid; place-items: center; width: 48px; height: 48px; margin: 0; z-index: 1; }
.personal-links svg { width: 34px; height: 34px; fill: currentColor; transform: scale(var(--icon-scale, 1)); transform-origin: center; }
.personal-links a:hover { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .personal-links.is-orbiting { position: relative; display: block; width: min(240px, 100%); height: 196px; margin: 16px auto 0; }
  .personal-links.is-orbiting::after { content: ""; display: block; position: absolute; top: 50%; left: calc(50% - var(--orbit-focus)); width: 9px; height: 9px; border-radius: 50%; background: #050509; box-shadow: 0 0 0 1px rgb(197 138 249 / .55), 0 0 9px 2px rgb(197 138 249 / .22); transform: translate(-50%, -50%); pointer-events: none; }
  .personal-links.is-orbiting a { position: absolute; top: 0; left: 0; transform: translate3d(0, 0, 0); will-change: transform; }
}
.profile { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 40px; }
.identity { text-align: center; }
.profile-content { min-width: 0; }
.portrait { display: block; width: 270px; height: 270px; max-width: 100%; object-fit: cover; border-radius: 50%; margin: 0 auto 22px; }
.role, .location, .date, footer { font-family: var(--sans); }
.role { color: var(--muted); margin-bottom: 5px; font-size: 1.2rem; font-weight: 400; }
.location { color: var(--accent); font-size: 1.1rem; margin-bottom: 0; }
.biography h2 { font-size: 2.9rem; font-weight: 400; margin-bottom: 14px; text-align: center; }
.biography p:last-child { margin-bottom: 0; }
.details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px; margin-top: 28px; }
.details section:first-child { text-align: right; }
.interests { padding: 0; margin: 0; font-size: 1.1rem; list-style: none; }
.interests li { margin-bottom: 3px; }
.degree + .degree { margin-top: 14px; }
.degree p { margin: 0; font-size: .95rem; color: var(--muted); }
.date { color: var(--muted); }
footer { color: var(--muted); font-size: .8rem; padding: 54px 0 28px; text-align: center; }
.skip-link { position: absolute; top: 12px; left: 12px; padding: 10px 16px; background: var(--background); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.error-page { max-width: 700px; padding-top: 100px; }
@media (max-width: 900px) {
  body { padding: 32px 24px 0; }
  .profile { grid-template-columns: 1fr; gap: 36px; }
  .portrait { width: 200px; height: 200px; }
  h1 { font-size: 2rem; margin-bottom: 12px; }
}
@media (max-width: 600px) { .details { grid-template-columns: 1fr; gap: 24px; } body { font-size: 18px; } }
