:root {
  color-scheme: light;
  --blue: #1a4c9c;
  --text: #2c3e50;
  --muted: #5a6b85;
  --line: #e0e6ef;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 2.5rem 1.5rem;
  background: #fff;
  color: var(--text);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.8;
}
.wrapper {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 3.5rem;
  max-width: 1040px;
  margin: 0 auto;
  align-items: start;
}
.profile { position: sticky; top: 2.5rem; }
.profile-photo { display: block; width: 100%; height: auto; }
.profile-name { margin: 1.25rem 0 .6rem; font-size: 1.55rem; }
.profile-description { color: var(--muted); }
.profile-links { font-size: .875rem; overflow-wrap: anywhere; }
.profile-links p { margin: .35rem 0; }
.page-column { min-width: 0; }
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.6rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.site-nav a { padding: .5rem 0 .7rem; border-bottom: 2px solid transparent; }
.site-nav a.active { border-color: var(--blue); font-weight: 600; }
h1, h2, h3 { color: var(--blue); font-weight: 600; line-height: 1.35; letter-spacing: .3px; }
h1 { font-size: 2rem; margin: 0 0 1.2rem; }
main h2 { font-size: 1.3rem; margin: 2rem 0 .8rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1rem; }
a { color: var(--blue); text-decoration: none; overflow-wrap: anywhere; }
a:hover { color: #0d367a; text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 2px; }
ul { padding-left: 1.35rem; margin: .5rem 0 1.5rem; }
li { margin-bottom: .75rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
main img { max-width: 100%; height: auto; }
.site-footer { margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.skip-link { position: absolute; left: 1rem; top: -100px; background: white; padding: .5rem 1rem; z-index: 10; }
.skip-link:focus { top: .5rem; }
@media (max-width: 760px) {
  body { padding: 1.5rem 1.1rem; }
  .wrapper { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .profile { position: static; }
  .profile-photo { width: 160px; }
  .profile-name { margin-top: 1rem; }
  .site-nav { gap: .25rem 1.2rem; margin-bottom: 1.5rem; }
  h1 { font-size: 1.75rem; }
}
@media (max-height: 720px) and (min-width: 761px) {
  .profile { position: static; }
}
