:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #292b27;
  background: #f8f7f4;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

body {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: 3rem clamp(1.5rem, 7vw, 5rem);
  place-items: center;
}

main {
  width: 100%;
  max-width: 42rem;
}

.wave {
  display: block;
  width: fit-content;
  margin-bottom: 1.75rem;
  font-size: 2rem;
  line-height: 1;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 1.12;
  text-wrap: balance;
}

.bio {
  max-width: 32rem;
  margin: 1.5rem 0 0;
  color: #54594f;
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  line-height: 1.7;
  text-wrap: pretty;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin-top: 0.75rem;
}

.profile-link,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  color: #54594f;
  font-size: 1rem;
  line-height: 1.5;
  text-decoration-color: #adb5a2;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.about-link {
  color: #3d5232;
  font-weight: 600;
}

.projects {
  margin-top: 3rem;
}

.projects-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0 1.5rem;
}

.projects-header h2 {
  margin: 0;
}

.health-note {
  margin: 0;
  color: #54594f;
  font-size: 0.8125rem;
  line-height: 1.6;
}

.health-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-left: 0.25rem;
  color: #3d5232;
  text-underline-offset: 0.22em;
}

.health-link:hover {
  text-decoration-thickness: 2px;
}

h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.project-list {
  margin: 0.5rem 0 0;
  padding: 0;
  border-top: 1px solid #dfe1d9;
  list-style: none;
}

.project-list li + li {
  border-top: 1px solid #dfe1d9;
}

.project-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 0;
  color: inherit;
  text-decoration: none;
}

.project-name {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-color: #adb5a2;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.project-description {
  display: block;
  margin-top: 0.25rem;
  color: #54594f;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.project-link svg {
  color: #676c61;
}

.project-with-company .project-link { padding-bottom: .25rem; }
.project-company {
  margin: 0 0 1.125rem;
  color: #54594f;
  font-size: .8125rem;
  line-height: 1.6;
}
.company-link {
  color: inherit;
  text-decoration-color: #adb5a2;
  text-underline-offset: .22em;
}
.company-link:hover { text-decoration-color: currentColor; }

.profile-link:hover,
.profile-link:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.project-link:hover .project-name,
.project-link:focus-visible .project-name {
  color: #3d5232;
  text-decoration-color: currentColor;
}

a:focus-visible {
  outline: 2px solid #3d5232;
  outline-offset: 5px;
}

::selection {
  color: #292b27;
  background: #dce4cf;
}

.about-page {
  place-items: start center;
}

.about-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-bottom: 3rem;
}

.about-heading {
  font-size: clamp(3rem, 8vw, 4.25rem);
  letter-spacing: -0.04em;
}

.about-intro {
  max-width: 36rem;
}

.about-section p {
  color: #54594f;
  font-size: 1rem;
  line-height: 1.7;
  text-wrap: pretty;
}

.about-section {
  margin-top: 3.25rem;
}

.about-section h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.experience-list > li + li {
  border-top: 1px solid #dfe1d9;
}

.experience-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.experience-list > li {
  padding: 1.5rem 0;
}

.experience-list > li:first-child {
  padding-top: 0.5rem;
}

.experience-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
}

.about-section h3 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
}

.about-section p {
  max-width: 65ch;
  margin: 0.75rem 0 0;
}

.about-section .period,
.about-section .role {
  margin: 0.25rem 0 0;
  font-size: 0.9375rem;
}

.about-section .period {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.about-footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid #dfe1d9;
}
