:root {
  --paper: #f2efe8;
  --ink: #17201d;
  --muted: #69716b;
  --line: #c8c7bd;
  --lime: #c9da41;
  --blue: #b8d5df;
  --rose: #e7b5ad;
  --white: #fbfaf6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Manrope, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
a { color: inherit; }
.site-header, main, .site-footer { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.site-header {
  height: 98px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.wordmark { font: 500 22px/1 "DM Mono", monospace; letter-spacing: -.11em; text-decoration: none; }
.wordmark-mark { color: #8d9e10; }
.header-link, .site-footer a {
  font: 500 11px/1.2 "DM Mono", monospace;
  letter-spacing: .02em;
  text-decoration: none;
  text-transform: uppercase;
}
.header-link:hover, .site-footer a:hover, .project-actions a:hover { text-decoration: underline; text-underline-offset: 4px; }

.intro { padding: clamp(72px, 13vw, 170px) 0 78px; max-width: 840px; }
.eyebrow { margin: 0 0 21px; color: var(--muted); font: 500 10px/1 "DM Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; font-weight: 500; }
h1 { margin-bottom: 30px; font-size: clamp(54px, 8.7vw, 116px); letter-spacing: -.075em; line-height: .94; }
h1 em { color: #5f706b; font-style: italic; }
.intro-copy { max-width: 550px; color: #454e48; font-size: clamp(17px, 2vw, 21px); line-height: 1.55; }
.intro-rule { display: flex; gap: 18px; align-items: center; margin-top: 75px; color: var(--muted); font: 10px "DM Mono", monospace; }
.intro-rule i { height: 1px; flex: 1; background: var(--line); }

.projects { padding: 40px 0 96px; }
.section-heading { max-width: 570px; margin-bottom: 48px; }
.section-heading h2, .next h2 { margin-bottom: 14px; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.055em; line-height: 1; }
.section-heading > p:last-child { color: var(--muted); font-size: 17px; }
.project-list { border-top: 1px solid var(--ink); }
.project {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 220px;
  gap: 30px;
  align-items: start;
  padding: 34px 0 37px;
  border-bottom: 1px solid var(--line);
}
.project-number { padding-top: 8px; color: var(--muted); font: 10px/1 "DM Mono", monospace; }
.project-title-row { display: flex; flex-wrap: wrap; gap: 15px; align-items: center; }
.project h3 { margin: 0; font-size: clamp(34px, 4vw, 48px); letter-spacing: -.06em; line-height: 1; }
.status { padding: 6px 9px; border-radius: 999px; font: 10px/1 "DM Mono", monospace; text-transform: uppercase; letter-spacing: .04em; }
.available { background: var(--lime); }
.soon { background: #dad8cf; }
.project-description { max-width: 530px; margin: 17px 0 24px; font-size: 17px; line-height: 1.55; }
.project-context { margin: -11px 0 24px; color: var(--muted); font-size: 13px; }
.project-context a { color: var(--ink); text-decoration-color: var(--line); text-underline-offset: 3px; }
.project-context a:hover { text-decoration-color: currentColor; }
.project-meta { display: flex; flex-wrap: wrap; gap: 25px; margin: 0; }
.project-meta div { min-width: 150px; }
dt { margin-bottom: 4px; color: var(--muted); font: 9px/1 "DM Mono", monospace; text-transform: uppercase; letter-spacing: .08em; }
dd { margin: 0; font-size: 13px; }
.project-actions { padding-top: 10px; display: grid; gap: 13px; }
.project-actions a { font-size: 13px; font-weight: 700; line-height: 1.35; text-decoration: none; }
.project-actions a:first-child { border-bottom: 1px solid var(--ink); padding-bottom: 8px; }
.project-actions .text-link { color: var(--muted); font-weight: 500; }
.project-nine:hover h3 { color: #718000; }
.project-reken:hover h3 { color: #477d8a; }
.project-sbar:hover h3 { color: #a65d54; }

.next { display: grid; grid-template-columns: 70px minmax(0, 1.1fr) minmax(230px, .7fr); gap: 30px; align-items: start; padding: 46px 0 83px; border-top: 1px solid var(--ink); }
.next-mark { color: #8d9e10; font: 500 32px/.75 "DM Mono", monospace; }
.next h2 { max-width: 460px; margin: 0; }
.next p:last-child { max-width: 300px; margin: 3px 0 0; color: var(--muted); }

.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 26px 0 35px; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer p { margin: 0; font: 10px/1.2 "DM Mono", monospace; text-transform: uppercase; letter-spacing: .06em; }

@media (max-width: 720px) {
  .site-header, main, .site-footer { width: min(100% - 32px, 1180px); }
  .site-header { height: 74px; }
  .intro { padding-top: 84px; padding-bottom: 48px; }
  .intro-rule { margin-top: 52px; }
  .projects { padding-top: 32px; padding-bottom: 66px; }
  .project { grid-template-columns: 34px 1fr; gap: 14px; }
  .project-actions { grid-column: 2; padding-top: 0; }
  .project-meta { gap: 15px; }
  .next { grid-template-columns: 34px 1fr; gap: 18px 14px; padding-bottom: 58px; }
  .next p:last-child { grid-column: 2; }
  .site-footer { display: grid; line-height: 1.5; }
}
