:root {
  --paper: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #515154;
  --rule: rgba(0, 0, 0, 0.12);
  --bar: rgba(245, 245, 247, 0.72);
  --sheet: #ffffff;
  --blue: #0071e3;
  --blue-ink: #ffffff;
  --fill: rgba(0, 0, 0, 0.06);
  --scrim: rgba(0, 0, 0, 0.4);
  --focus: #0071e3;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  color-scheme: light;
  font: 100%/1.47 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #000000;
    --ink: #f5f5f7;
    --muted: #a1a1a6;
    --rule: rgba(255, 255, 255, 0.16);
    --bar: rgba(0, 0, 0, 0.64);
    --sheet: #1c1c1e;
    --blue: #2997ff;
    --fill: rgba(255, 255, 255, 0.12);
    --scrim: rgba(0, 0, 0, 0.6);
    --focus: #2997ff;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { overflow-x: clip; }
body { margin: 0; overflow-x: clip; }
html.sheet-open { overflow: hidden; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  background: var(--sheet);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  border-radius: 0.6rem;
}
.skip:focus { top: 0.6rem; }

.wrap {
  width: min(61rem, calc(100% - 3rem));
  margin-inline: auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bar);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}
.nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 1.25rem;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--paper) 88%, transparent), transparent);
  pointer-events: none;
}
.nav-inner {
  width: min(61rem, calc(100% - 3rem));
  margin-inline: auto;
  min-height: 3.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.022em;
  font-size: 1.0625rem;
}
.mark { width: 1.375rem; height: 1.375rem; display: block; }
.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.15rem;
}
.nav-links a:not(.button) {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
}
.nav-links a:not(.button):hover { color: var(--blue); }

.hero { padding: 4.5rem 0 3rem; }
h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(3.25rem, 8vw, 6rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -0.028em; }
h3 { font-size: 1.35rem; letter-spacing: -0.022em; line-height: 1.15; }
.lead {
  margin: 1rem 0 0;
  max-width: 40rem;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: -0.022em;
  color: var(--muted);
}
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.15rem;
  border-radius: 980px;
  border: 0;
  text-decoration: none;
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  touch-action: manipulation;
  cursor: pointer;
}
.button:active { transform: scale(0.97); transition: transform 100ms ease-out; }
.button-primary { background: var(--blue); color: var(--blue-ink); }
.button-secondary { background: var(--fill); color: var(--ink); }
.nav .button { min-height: 2rem; padding: 0 0.9rem; font-size: 0.9rem; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.band { padding: 1rem 0 4.5rem; }
.band h2 { margin-bottom: 1.5rem; }
.roles { border-top: 1px solid var(--rule); }

.role summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "title when" "place when";
  gap: 0.2rem 1.5rem;
  align-items: center;
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
  touch-action: manipulation;
}
.role summary::-webkit-details-marker { display: none; }
.role summary:hover .role-title { color: var(--blue); }
.role summary:active { opacity: 0.72; }
.role-title { grid-area: title; font-size: 1.35rem; font-weight: 600; letter-spacing: -0.022em; line-height: 1.15; }
.role-place { grid-area: place; color: var(--muted); font-size: 0.95rem; }
.role-when { grid-area: when; color: var(--muted); font-size: 0.95rem; text-align: right; }
.role + .role { border-top: 1px solid var(--rule); }
.role-body { padding: 0 0 1.35rem; }
.role-body ul, .sheet-copy ul {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.75rem;
}
.role-body li, .sheet-copy li { padding-left: 0.15rem; }

.role-static { padding: 1.35rem 0; display: grid; gap: 0.35rem; }
.role-static + .role-static { border-top: 1px solid var(--rule); }
.role-static p { margin: 0; }
.role-static .role-when { text-align: left; }

.contact-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.contact-list a {
  color: var(--blue);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  letter-spacing: -0.022em;
  text-underline-offset: 0.15em;
}

.colophon { padding: 0 0 3rem; }
.colophon .wrap { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.colophon p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.colophon a { color: var(--muted); font-size: 0.9rem; }

.scrim {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: var(--scrim);
  opacity: 0;
  pointer-events: none;
}
.scrim.is-open { pointer-events: auto; }
.sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.sheet-panel {
  pointer-events: auto;
  width: min(40rem, 100%);
  max-height: min(85svh, 44rem);
  display: flex;
  flex-direction: column;
  background: var(--sheet);
  color: var(--ink);
  border-radius: 1.15rem 1.15rem 0 0;
  box-shadow: var(--shadow);
  transform: translateY(110%);
  visibility: hidden;
  will-change: transform;
}
.sheet-panel.is-shown { visibility: visible; }
.sheet-bar { position: relative; flex: none; min-height: 3.25rem; }
.sheet-grabber {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  touch-action: none;
  cursor: grab;
}
.sheet-grabber span {
  width: 2.25rem;
  height: 0.28rem;
  border-radius: 980px;
  background: var(--rule);
}
.sheet-close {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  border: 0;
  background: var(--fill);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 2rem;
  padding: 0 0.85rem;
  border-radius: 980px;
  cursor: pointer;
  touch-action: manipulation;
}
.sheet-close:active { transform: scale(0.97); transition: transform 100ms ease-out; }
.sheet-scroll { overflow: auto; overscroll-behavior: contain; padding: 0.4rem 1.5rem 2rem; }
.sheet-scroll h2 { font-size: clamp(1.7rem, 3vw, 2.15rem); }
.sheet-meta { margin: 0.45rem 0 1.15rem; color: var(--muted); }

@media (max-width: 40rem) {
  .wrap, .nav-inner { width: min(61rem, calc(100% - 2rem)); }
  .nav-links { gap: 0.7rem; }
  .nav .button { display: none; }
  .role summary { grid-template-columns: 1fr; grid-template-areas: "title" "place" "when"; }
  .role-when { text-align: left; }
  .hero { padding-top: 3rem; }
  h1 { font-size: clamp(2.8rem, 14vw, 3.6rem); }
}

@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .sheet-panel { background: var(--sheet); }
}
@media (prefers-contrast: more) {
  .nav, .sheet-panel, .button-secondary { border: 1px solid var(--ink); }
  .role, .roles, .colophon .wrap { border-color: var(--ink); }
}
@media (prefers-reduced-motion: reduce) {
  .sheet-grabber { display: none; }
  .button:active, .sheet-close:active, .role summary:active { transform: none; opacity: 1; }
}
