:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #171713;
  background: #f2f0e8;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 10% 5%, rgb(255 255 255 / 80%), transparent 34rem),
    #f2f0e8;
}

main {
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 12vw, 9rem) 0 5rem;
}

header {
  max-width: 54rem;
}

.eyebrow,
.status {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 1.5rem;
  color: #6e3d29;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 15ch;
  margin-bottom: 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 6.6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.intro {
  max-width: 32rem;
  color: #5e5d55;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
}

section {
  margin-top: clamp(5rem, 11vw, 9rem);
}

h2 {
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.project {
  display: flex;
  min-height: 19rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid #d3d0c4;
  border-radius: 0.35rem;
  color: inherit;
  background: rgb(255 255 255 / 38%);
  text-decoration: none;
  flex-direction: column;
  transition: background-color 160ms ease, transform 160ms ease;
}

a.project:hover {
  background: rgb(255 255 255 / 80%);
  transform: translateY(-3px);
}

a.project:focus-visible {
  outline: 3px solid #6e3d29;
  outline-offset: 4px;
}

.status {
  margin-bottom: 3rem;
  color: #6e3d29;
}

h3 {
  margin-bottom: 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.project p {
  max-width: 29rem;
  color: #5e5d55;
  line-height: 1.55;
}

.project-link {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 700;
}

.project-pending {
  opacity: 0.66;
}

@media (max-width: 42rem) {
  main {
    width: min(100% - 1.25rem, 72rem);
    padding-top: 3rem;
  }

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

  .project {
    min-height: 16rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project {
    transition: none;
  }
}
