:root {
  --ink: #000000;
  --link: #527e45;
  --active: #83c345;
  --page-gutter: clamp(1.5rem, 3.3vw, 3.75rem);
  --header-height: clamp(5.25rem, 7vw, 6.2rem);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 160ms ease;
}

a:hover,
a:focus-visible,
a.is-active {
  color: var(--active);
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  min-height: var(--header-height);
  padding: 2.25rem var(--page-gutter) 1.15rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  font-size: clamp(0.95rem, 1.3vw, 1.2rem);
}

.site-header nav {
  display: flex;
  gap: clamp(1rem, 1.4vw, 1.5rem);
}

.home-page {
  width: min(84.3vw, 1152px);
  margin: 0 auto;
  padding-bottom: clamp(3rem, 10vw, 9rem);
}

.home-artwork {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.bio-page,
.contact-page {
  width: min(84.6vw, 1156px);
  margin: 0 auto;
}

.bio-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: clamp(2rem, 3.35vw, 3rem);
  align-items: start;
  padding-bottom: 3rem;
  margin-top: -1.9rem;
}

.poem-composition {
  position: relative;
  padding-top: 16.1rem;
}

.bio-artwork {
  width: 100%;
  aspect-ratio: 541 / 705;
  object-fit: cover;
  object-position: center top;
}

.poem {
  position: absolute;
  inset: 0;
  z-index: 1;
  font-size: clamp(0.72rem, 1.24vw, 1.05rem);
  font-weight: 500;
  line-height: 1.12;
  pointer-events: none;
}

.poem-line {
  position: absolute;
  margin: 0;
  white-space: nowrap;
}

.line-1 { top: 1.9rem; left: 7%; }
.line-2 { top: 3.15rem; left: 45%; }
.line-3 { top: 7rem; left: 27.5%; }
.line-4 { top: 9.3rem; left: 35%; }
.line-5 { top: 11.8rem; left: 35%; }
.line-6 { top: 13.25rem; left: 7%; }
.line-7 { top: 15.85rem; left: 7%; }
.line-8 { top: 18.45rem; left: 32%; }
.line-9 { top: 21rem; left: 32%; }
.line-10 { top: 25.4rem; left: 7%; }
.line-11 { top: 27.4rem; left: 44%; }
.line-12 { top: 31.8rem; left: 42%; }
.line-13 { bottom: 4.8rem; left: 7%; }

.bio-copy {
  padding-top: 3.6rem;
  color: #595959;
  font-size: clamp(0.75rem, 1.24vw, 1.04rem);
  line-height: 1.13;
}

.bio-copy p,
.bio-copy h2 {
  margin: 0;
}

.bio-copy .artist-statement {
  max-width: 31rem;
  margin-bottom: 3.55rem;
}

.bio-copy section + section {
  margin-top: 1.25rem;
}

.bio-copy h2 {
  font-size: inherit;
  font-weight: 400;
}

.bio-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bio-copy li span {
  display: inline-block;
  min-width: 3.2rem;
}

.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 1.107fr) minmax(0, 1fr);
  gap: clamp(3rem, 6.4vw, 5.5rem);
  align-items: start;
  padding-top: 0.05rem;
  padding-bottom: 4rem;
}

.contact-copy {
  max-width: 36rem;
  padding: 4.05rem 0 0 0.8rem;
  color: #595959;
  font-size: clamp(0.86rem, 1.24vw, 1.05rem);
  line-height: 1.18;
}

.contact-copy p {
  margin: 0 0 1.25rem;
}

.contact-artwork {
  width: 100%;
  aspect-ratio: 768 / 960;
  object-fit: cover;
}

@media (max-width: 700px) {
  :root {
    --page-gutter: 1.25rem;
    --header-height: 4.8rem;
  }

  .site-header {
    padding-top: 1.4rem;
    font-size: 0.9rem;
  }

  .home-page {
    width: calc(100% - 2.5rem);
  }

  .bio-page,
  .contact-page {
    width: calc(100% - 2.5rem);
  }

  .bio-page,
  .contact-page {
    grid-template-columns: 1fr;
  }

  .bio-page {
    gap: 2.5rem;
    margin-top: 0;
  }

  .poem-composition {
    padding-top: 10.7rem;
  }

  .poem {
    font-size: clamp(0.62rem, 2.7vw, 0.8rem);
  }

  .line-1 { top: 0; }
  .line-2 { top: 2.3rem; }
  .line-3 { top: 4.7rem; left: 19%; }
  .line-4 { top: 6.25rem; left: 29%; }
  .line-5 { top: 7.8rem; left: 32%; }
  .line-6 { top: 9.1rem; }
  .line-7 { top: 10.8rem; }
  .line-8 { top: 12.6rem; left: 26%; }
  .line-9 { top: 14.3rem; left: 29%; }
  .line-10 { top: 22rem; }
  .line-11 { top: 24.2rem; left: 33%; }
  .line-12 { top: 28.4rem; left: 26%; }
  .line-13 { bottom: 3rem; }

  .bio-copy {
    padding-top: 0;
    font-size: 0.86rem;
    line-height: 1.25;
  }

  .bio-copy .artist-statement {
    margin-bottom: 2.5rem;
  }

  .contact-page {
    gap: 2rem;
    padding-top: 0.75rem;
  }

  .contact-copy {
    padding: 0;
    font-size: 0.9rem;
  }

  .contact-artwork {
    width: 86%;
    justify-self: end;
  }
}

@media (min-width: 701px) and (max-width: 1000px) {
  .bio-page {
    grid-template-columns: 1fr;
    max-width: 42rem;
  }

  .bio-copy {
    font-size: 0.92rem;
  }

  .contact-copy {
    padding-left: 0;
  }
}
