:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #293d35;
  background: #f7f3eb;
}

* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(1080px, 100% - 48px); margin: 0 auto; }
header { padding: 48px 0 28px; border-bottom: 1px solid #cfcfc0; }
.wordmark { margin: 0; font-family: Georgia, serif; font-size: 24px; }
.intro { padding: 80px 0 48px; max-width: 720px; }
.eyebrow { margin: 0 0 20px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
h1 { margin: 0 0 24px; font-family: Georgia, serif; font-size: clamp(42px, 7vw, 76px); font-weight: 400; line-height: 1.08; letter-spacing: -.04em; }
.intro > p:last-child { margin: 0; color: #59665e; font-size: 18px; line-height: 1.7; }
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.project {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 320px;
  padding: 36px;
  border: 1px solid #c5cdbd;
  border-radius: 8px;
  background: #e7ebdf;
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.project--retreat { background: #f1e0d2; border-color: #dcc4b1; }
.project:hover { transform: translateY(-4px); box-shadow: 0 12px 24px #293d3512; }
.project:focus-visible { outline: 3px solid #293d35; outline-offset: 5px; }
.project h2 { margin: 8px 0 16px; font-family: Georgia, serif; font-size: 34px; font-weight: 400; line-height: 1.15; }
.description { margin: 0 0 32px; color: #46564b; line-height: 1.7; }
.project-link { display: flex; justify-content: space-between; gap: 16px; width: 100%; margin-top: auto; padding-top: 20px; border-top: 1px solid #293d3533; font-size: 14px; font-weight: 700; }
footer { padding: 40px 0; color: #59665e; font-size: 14px; line-height: 1.6; }
@media (max-width: 640px) {
  main { width: calc(100% - 32px); }
  header { padding-top: 28px; }
  .intro { padding: 48px 0 32px; }
  .projects { grid-template-columns: 1fr; }
  .project { padding: 28px; min-height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .project { transition: none; }
  .project:hover { transform: none; }
}
