@charset "UTF-8";

:root {
  color-scheme: light;
  --paper: #f4f4ef;
  --ink: #20251f;
  --muted: #62685d;
  --accent: #365b34;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.6; }
a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
::selection { background: #cedec0; color: var(--ink); }
.page { width: min(780px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; top: 12px; left: 12px; padding: 12px; background: var(--ink); color: var(--paper); transform: translateY(-180%); z-index: 1; }
.skip-link:focus { transform: none; }
.profile { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: start; gap: 64px; margin-block: 96px; }
.profile-photo { display: block; width: 220px; height: auto; }
h1 { margin: 0; font-size: 56px; font-weight: 600; line-height: 1.1; letter-spacing: -.035em; }
.role { margin: 12px 0 40px; color: var(--muted); font-size: 18px; }
h2 { margin: 0; font-size: 16px; font-weight: 600; }
section + section { margin-top: 32px; }
section p { margin: 8px 0 0; overflow-wrap: anywhere; }
.profile-links { display: flex; flex-wrap: wrap; gap: 12px 24px; list-style: none; margin: 8px 0 0; padding: 0; }
.not-found { margin-block: 96px; }
.not-found h1 { font-size: 32px; }

@media (max-width: 600px) {
  .page { width: calc(100% - 40px); }
  .profile { grid-template-columns: 1fr; gap: 28px; margin-block: 40px 64px; }
  .profile-photo { width: 128px; }
  h1 { font-size: 44px; }
}
