:root {
  --ink: #262626;
  --muted: #7d7d7d;
  --faint: #b0b0b0;
  --paper: #ffffff;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: inherit; }

header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 28px var(--gutter);
}

.wordmark {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-decoration: none;
}

nav a {
  font-size: 19px;
  font-weight: 400;
  text-decoration: none;
  margin-left: 28px;
  color: var(--muted);
  transition: color 0.2s ease;
}
nav a:hover, nav a[aria-current="page"] { color: var(--ink); }

main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 var(--gutter);
}

/* Homepage statement: two lines read as one quote */
.statement { max-width: 1320px; }

.statement h1,
.statement p {
  margin: 0;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0;
}

.statement h1 {
  font-size: clamp(34px, 5.2vw, 76px);
  letter-spacing: -0.01em;
  color: var(--ink);
}

.statement p {
  margin-top: 0.35em;
  font-size: clamp(26px, 3.3vw, 48px);
  color: #5c5c5c;
}

/* Inner pages */
.prose { max-width: 680px; padding: 40px 0; }

.prose h1 {
  margin: 0 0 0.7em;
  font-size: clamp(36px, 4.4vw, 54px);
  font-weight: 400;
}

.prose p {
  margin: 0 0 1.1em;
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.55;
}

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { font-size: clamp(24px, 2.8vw, 34px); margin-bottom: 0.4em; }
.contact-list a { text-decoration: none; border-bottom: 1px solid #dddddd; transition: border-color 0.2s ease; }
.contact-list a:hover { border-color: var(--ink); }

footer {
  padding: 28px var(--gutter);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 11px;
  line-height: 1.6;
  color: var(--faint);
}

@media (max-width: 600px) {
  header { padding-top: 22px; padding-bottom: 22px; }
  nav a { margin-left: 18px; font-size: 18px; }
  .wordmark { font-size: 25px; }
}
