@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,500&display=swap");

:root {
  color-scheme: light;
  --ink: #18231f;
  --paper: #f4f0e7;
  --muted: #68716c;
  --line: rgba(24, 35, 31, .17);
  --accent: #bd6547;
  font-family: "DM Sans", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
.shell { width: min(100% - 48px, 920px); margin: 0 auto; padding: clamp(58px, 12vh, 128px) 0 30px; }
.masthead { max-width: 690px; }
.eyebrow, footer { font-family: "DM Mono", monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { margin: 0 0 27px; color: var(--accent); }
h1 { margin: 0; font: 500 clamp(48px, 8vw, 88px)/.98 "Fraunces", Georgia, serif; letter-spacing: -.045em; }
.intro { margin: 22px 0 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.project-list { margin-top: clamp(50px, 9vh, 92px); border-top: 1px solid var(--line); }
.project { display: grid; grid-template-columns: 46px 1fr 28px; align-items: center; gap: 20px; min-height: 100px; padding: 18px 4px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; transition: padding 180ms ease, color 180ms ease; }
.project:hover, .project:focus-visible { padding-left: 12px; color: var(--accent); }
.project:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.number { align-self: start; padding-top: 5px; color: var(--muted); font: 10px "DM Mono", monospace; }
.copy { display: grid; gap: 6px; }
.copy strong { font: 500 clamp(24px, 4vw, 34px)/1.05 "Fraunces", Georgia, serif; }
.copy small { color: var(--muted); font-size: 12px; letter-spacing: .035em; }
.arrow { justify-self: end; font-size: 20px; transition: transform 180ms ease; }
.project:hover .arrow, .project:focus-visible .arrow { transform: translate(3px, -3px); }
footer { display: flex; justify-content: space-between; gap: 18px; margin-top: 42px; color: var(--muted); font-size: 9px; letter-spacing: .08em; }

@media (max-width: 540px) {
  .shell { width: min(100% - 36px, 920px); }
  .project { grid-template-columns: 30px 1fr 20px; gap: 12px; min-height: 88px; }
  footer { flex-direction: column; gap: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
