:root {
  color-scheme: light;
  --ink: #171412;
  --muted: #5b6762;
  --paper: #f4f8f5;
  --panel: #ffffff;
  --line: #bfd8d2;
  --accent: #0f766e;
  --accent-strong: #134e4a;
  --coral: #d45b43;
  --shadow: 0 24px 70px rgba(19, 78, 74, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.12), transparent 32rem),
    linear-gradient(165deg, transparent 0 62%, rgba(212, 91, 67, 0.11) 62% 68%, transparent 68%),
    repeating-linear-gradient(90deg, rgba(15, 118, 110, 0.055) 0 1px, transparent 1px 5rem),
    var(--paper);
  font-family: Georgia, "Times New Roman", serif;
}

a {
  color: inherit;
  text-decoration-color: rgba(15, 118, 110, 0.35);
  text-underline-offset: 0.24em;
}

a:hover {
  text-decoration-color: var(--accent);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.12rem;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  border-radius: 50%;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem 1.25rem;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.95rem;
}

.profile {
  display: grid;
  justify-items: center;
  width: min(760px, calc(100% - 2rem));
  min-height: calc(100vh - 5rem);
  margin: 0 auto;
  padding: 5rem 0 4rem;
}

.profile.text-only {
  align-items: start;
  justify-items: start;
}

.profile-photo {
  width: 16rem;
  height: 16rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.profile-copy {
  width: 100%;
  margin-top: 2.5rem;
}

.text-only .profile-copy {
  margin-top: 0;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent-strong);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 10ch;
  margin: 0 0 1.6rem;
  font-size: 4.25rem;
  line-height: 1;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.7;
}

p + p {
  margin-top: 1.2rem;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.2rem;
  color: var(--accent-strong);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

@media (max-width: 700px) {
  .site-header,
  .profile {
    width: min(100% - 1.25rem, 920px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .profile {
    min-height: auto;
    padding-top: 3rem;
  }

  .profile-photo {
    width: 13rem;
    height: 13rem;
  }

  h1 {
    font-size: 3.2rem;
  }

  p {
    font-size: 1.08rem;
  }
}
