:root {
  color-scheme: light;
  --text: #222222;
  --muted: #666666;
  --link: #1772b4;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page {
  width: min(calc(100% - 32px), 800px);
  margin: 0 auto;
  padding: 32px 0 48px;
}

.profile {
  display: grid;
  grid-template-columns: minmax(0, 63fr) minmax(180px, 37fr);
  align-items: center;
}

.profile-copy {
  padding: 20px;
}

.profile-photo {
  padding: 20px;
}

.profile-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}

h1 {
  margin: 0 0 20px;
  text-align: center;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 400;
}

h2 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 400;
}

p {
  margin: 0 0 16px;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.links {
  margin: 18px 0 0;
  text-align: center;
}

.links a + a {
  margin-left: 14px;
}

.page > section:not(.profile) {
  padding: 16px;
}

.blank-section {
  min-height: 24px;
}

@media (max-width: 640px) {
  .page {
    padding-top: 20px;
  }

  .profile {
    grid-template-columns: 1fr;
  }

  .profile-copy {
    padding: 16px;
  }

  .profile-photo {
    grid-row: 1;
    width: 190px;
    margin: 0 auto;
    padding: 16px;
  }

  h1 {
    font-size: 28px;
  }
}
