:root {
  --bg: #fbfbfa;
  --fg: #1d1f21;
  --muted: #5f6368;
  --accent: #1a5fb4;
  --rule: #e3e3e0;
  --max: 46rem;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141517;
    --fg: #e6e6e3;
    --muted: #a0a4a8;
    --accent: #8ab4f8;
    --rule: #2c2e31;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

a { color: var(--accent); text-underline-offset: 0.15em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--fg); color: var(--bg); padding: 0.5rem 0.75rem;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

.site-header { border-bottom: 1px solid var(--rule); padding: 3rem 0 1.5rem; }
.site-header h1 { margin: 0; font-size: clamp(1.6rem, 4vw, 2.25rem); line-height: 1.2; letter-spacing: -0.01em; }
.tagline { margin: 0.5rem 0 1rem; color: var(--muted); }
.identity { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 0.5rem; }
.photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex: none; border: 1px solid var(--rule); }
@media (max-width: 520px) {
  .identity { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .photo { width: 96px; height: 96px; }
}

nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.profiles { margin-bottom: 1rem; font-weight: 600; }
.sections { font-size: 0.95rem; }
.sections a { color: var(--muted); text-decoration: none; }
.sections a:hover { color: var(--accent); }

section { padding: 2rem 0 0.5rem; scroll-margin-top: 1rem; }
h2 { font-size: 1.35rem; margin: 0 0 1rem; }
h3 { font-size: 1.05rem; margin: 1.75rem 0 0.5rem; }

.items { list-style: none; padding: 0; margin: 0; }
.items li { padding: 0.75rem 0; border-top: 1px solid var(--rule); }
.items li:first-child { border-top: 0; }
.items .title { font-weight: 600; }
.items .venue, .items .status { display: block; color: var(--muted); font-size: 0.95rem; }
.items .status { font-style: italic; }
.items a { font-size: 0.95rem; }

.site-footer { border-top: 1px solid var(--rule); margin-top: 3rem; padding-top: 1rem; padding-bottom: 2rem; color: var(--muted); font-size: 0.9rem; }
.site-footer p { margin: 0.25rem 0; }
.disclaimer { font-size: 0.85rem; }
