:root {
  color-scheme: light;
  --background: #ffffff;
  --text: #111111;
  --muted: rgb(17 17 17 / 0.5);
  --rule: rgb(17 17 17 / 0.08);
  --gutter: 0.583333rem;
  --radius: 0.222222rem;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
  font-size: 93.75%;
}

@media (min-width: 468px) {
  html {
    font-size: 100%;
  }
}

@media (min-width: 948px) {
  html {
    font-size: 106.25%;
  }
}

@media (min-width: 1428px) {
  html {
    font-size: 112.5%;
  }
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "American Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.4;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--muted);
}

.page {
  width: min(100%, 1470px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 calc(var(--gutter) * 1.5) 1.4rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.masthead {
  margin-top: 0.933333rem;
  margin-bottom: 4.2rem;
}

.name {
  color: var(--text);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  transition: color 150ms ease;
}

.about {
  margin-bottom: 5.6rem;
}

.section-label {
  margin: 0 0 0.7rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
}

h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.copy {
  color: var(--text);
}

p {
  font-family: "GT Super", Georgia, "Times New Roman", serif;
  max-width: 65ch;
  margin: 0;
  text-wrap: pretty;
}

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

figure {
  margin: 0;
}

.intro-text {
  margin-bottom: 2.8rem;
}

.media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  margin-bottom: 0.466667rem;
  overflow: hidden;
  background: rgb(17 17 17 / 0.04);
  border-radius: var(--radius);
}

.media::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--rule);
}

.media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

figcaption {
  font-family: "GT Super", Georgia, "Times New Roman", serif;
}

footer {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.2;
}

@media (min-width: 468px) {
  .page {
    padding-right: calc(var(--gutter) * 2);
    padding-left: calc(var(--gutter) * 2);
  }
}

@media (min-width: 708px) {
  .about {
    display: grid;
    grid-template-columns: repeat(24, minmax(0, 1fr));
    column-gap: var(--gutter);
  }

  .section-label {
    align-self: start;
    grid-column: span 6;
    margin-bottom: 0;
  }

  .copy {
    grid-column: span 18;
  }
}

@media (min-width: 948px) {
  .section-label {
    grid-column: span 8;
  }

  .copy {
    grid-column: span 16;
  }
}

@media (min-width: 1188px) {
  .section-label {
    grid-column: span 6;
  }

  .copy {
    grid-column: span 12;
  }
}

@media (max-width: 467px) {
  .masthead {
    margin-bottom: 3.5rem;
  }

  .about {
    margin-bottom: 4.2rem;
  }

  .intro-text {
    margin-bottom: 2.1rem;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: light;
  }
}
