:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #171717;
  --muted: #5f615b;
  --line: #d9d7cc;
  --green: #2f6f3e;
  --red: #d93d2f;
  --blue: #315b8a;
  --yellow: #f3c742;
  --surface: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100vh;
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

.site-footer,
main {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 15px;
}

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

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.hero {
  display: block;
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  max-width: 12ch;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.95;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
}

.lede {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(23px, 3vw, 36px);
  line-height: 1.08;
}

.project-section {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

.project-media {
  display: flex;
  min-height: 100%;
}

.project-copy {
  display: grid;
  gap: 44px;
  align-content: center;
  max-width: 550px;
}

.project-description {
  margin-bottom: 0;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-copy p,
.narrow p {
  color: var(--muted);
  font-size: 22px;
}

.button {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 5px 5px 0 var(--red);
}

.button:hover {
  transform: translate(1px, 1px);
  box-shadow: 4px 4px 0 var(--red);
}

.narrow {
  max-width: 760px;
  padding: 72px 0;
}

.narrow h1 {
  max-width: none;
  font-size: clamp(48px, 8vw, 86px);
}

.policy-section {
  padding-top: 28px;
}

.policy-section h2 {
  margin-bottom: 10px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.1;
}

.policy-section p {
  margin-bottom: 0;
}

.updated {
  margin-top: 40px;
  font-size: 16px;
}

.not-found {
  min-height: 100vh;
  display: grid;
  align-content: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 40px;
  color: var(--muted);
}

.site-footer p {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .project-section {
    grid-template-columns: 1fr;
  }

  .project-image {
    height: auto;
    aspect-ratio: 500 / 516;
  }

  .hero {
    padding: 48px 0 40px;
  }

  h1 {
    max-width: 12ch;
  }

  .project-section {
    gap: 20px;
    padding: 40px 0;
  }

  .project-copy p,
  .narrow p {
    font-size: 20px;
  }
}
