:root {
  --ink: #141414;
  --paper: #fcfcfa;
  --line: #d9d9d4;
  --accent: #5a4632; /* coffee-bean brown */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  /* Real Futura on Mac/iOS; Jost (a faithful geometric twin) everywhere else */
  font-family: "Futura", "Jost", "Century Gothic", sans-serif;
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10vh 24px 8vh;
}

main { width: 100%; max-width: 680px; }

header { margin-bottom: 56px; }

.eyebrow {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.eyebrow a { color: var(--accent); text-decoration: none; }
.eyebrow a:hover { border-bottom: 1px solid var(--accent); }

h1 {
  font-size: clamp(26px, 5.5vw, 38px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

/* ---------- homepage link list ---------- */

nav.projects ul { list-style: none; }
nav.projects li { border-top: 1px solid var(--line); }
nav.projects li:last-child { border-bottom: 1px solid var(--line); }

nav.projects a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 22px 4px;
  text-decoration: none;
  color: var(--ink);
  font-size: 18px;
  letter-spacing: 0.03em;
  transition: padding-left 0.2s ease, color 0.2s ease;
}

nav.projects a::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  transform: translateY(-1px);
  transition: background 0.2s ease;
}

nav.projects a:hover,
nav.projects a:focus-visible {
  padding-left: 12px;
  color: var(--accent);
}

nav.projects a:hover::before,
nav.projects a:focus-visible::before { background: var(--accent); }

/* ---------- project pages ---------- */

.prose {
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}

.prose p { margin-bottom: 1.2em; }

.prose a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.pdf-frame {
  width: 100%;
  height: 78vh;
  min-height: 480px;
  border: 1px solid var(--line);
  margin: 24px 0 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.button::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.button:hover,
.button:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

/* ---------- footer ---------- */

footer {
  margin-top: 72px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

footer a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

footer a:hover { color: var(--accent); }

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
