@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --cream: #f1ecdf;
  --paper: #faf7f0;
  --ink: #22251f;
  --sage: #657664;
  --rust: #a15335;
  --line: #cac3b3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(64, 74, 63, 0.045) 1px, transparent 1px),
    var(--cream);
  background-size: 100% 32px;
  color: var(--ink);
  font-family: 'Figtree', sans-serif;
}

a {
  color: inherit;
}

.site-header {
  width: min(1320px, calc(100% - 3rem));
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: 'Instrument Serif', serif;
  font-size: 1.55rem;
  text-decoration: none;
}

.site-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-links a,
.footer-links a {
  text-decoration: none;
}

.site-links a {
  color: #63685f;
  font-size: 0.9rem;
}

.site-links a:hover,
.site-links a[aria-current='page'] {
  color: var(--rust);
}

.intro {
  width: min(1320px, calc(100% - 3rem));
  margin: 5rem auto 8rem;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: end;
  gap: clamp(3rem, 7vw, 7rem);
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--rust);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: 'Instrument Serif', serif;
  font-size: clamp(4rem, 8.5vw, 8.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.83;
}

.dek {
  max-width: 520px;
  margin: 2rem 0 0;
  color: #5e6259;
  font-size: 1.15rem;
  line-height: 1.65;
}

figure {
  margin: 0;
}

figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  border-radius: 50% 50% 0.8rem 0.8rem;
  object-fit: cover;
  filter: saturate(0.8) contrast(0.95);
}

figcaption {
  margin-top: 0.85rem;
  color: #6f7369;
  font-size: 0.82rem;
}

.essay {
  width: min(780px, calc(100% - 3rem));
  margin: 0 auto 9rem;
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.72;
}

.essay .opening {
  color: var(--sage);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.35;
}

.essay aside {
  margin: 4rem -4rem;
  padding: 3rem 4rem;
  border-top: 1px solid var(--rust);
  border-bottom: 1px solid var(--rust);
  text-align: center;
}

.essay aside span {
  display: block;
  margin-bottom: 1rem;
  color: var(--rust);
  font-family: 'Figtree', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.essay aside strong {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
}

.next-page {
  width: min(1040px, calc(100% - 3rem));
  margin: 0 auto 7rem;
  padding: 3rem;
  border: 1px solid var(--line);
  background: rgba(250, 247, 240, 0.58);
}

.next-page p {
  margin: 0 0 0.75rem;
  color: var(--rust);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.next-page a {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

footer {
  width: min(1320px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 780px) {
  .site-header {
    padding: 1.25rem 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .intro {
    grid-template-columns: 1fr;
    margin-top: 3rem;
  }

  figure img {
    aspect-ratio: 4 / 3;
    border-radius: 0.8rem;
  }

  .essay aside {
    margin: 3rem 0;
    padding: 2.5rem 1rem;
  }
}
