:root {
  color-scheme: light;
  --paper: #f7f3e9;
  --ink: #272b25;
  --secondary: #555b4f;
  --rule: #c8c8b8;
}
* { box-sizing: border-box; }
body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 system-ui, sans-serif;
}
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.masthead, footer {
  padding: 1.35rem clamp(1.25rem, 6vw, 6rem);
  border-block-end: 1px solid var(--rule);
}
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { font: 1.25rem/1.15 Georgia, serif; text-decoration: none; }
.wordmark span { display: block; font: .64rem/1.7 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .18em; }
nav a { text-underline-offset: .3em; }
main { flex: 1; }
.home { display: grid; align-items: center; padding: clamp(5rem, 11vw, 9rem) clamp(1.25rem, 10vw, 10rem); }
.introduction { max-width: 60rem; }
h1, h2 { font-family: Georgia, serif; font-weight: 400; margin: 0; line-height: 1.02; }
h1 { font-size: clamp(3.05rem, 8.5vw, 7rem); letter-spacing: -.052em; }
.home h1 { max-width: 13ch; }
h2 { font-size: clamp(2.3rem, 5vw, 4.2rem); letter-spacing: -.04em; }
.eyebrow { color: var(--secondary); font-size: .72rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.introduction > p:not(.eyebrow), .project-copy > p:not(.eyebrow) { max-width: 45ch; color: var(--secondary); }
.action {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  margin-top: .65rem;
  padding: .65rem .95rem;
  border: 1px solid var(--ink);
  text-decoration: none;
}
.action:hover { background: var(--ink); color: var(--paper); }
.portfolio { width: min(100%, 92rem); margin-inline: auto; padding: clamp(2.75rem, 7vw, 6rem) clamp(1.25rem, 6vw, 6rem); }
.page-title { margin-bottom: clamp(2.25rem, 6vw, 4.25rem); }
.project { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: center; gap: clamp(1.75rem, 5vw, 5rem); }
.project img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); }
.access-note { font-size: .82rem; }
footer { border-block-start: 1px solid var(--rule); border-block-end: 0; color: var(--secondary); font-size: .78rem; }
@media (max-width: 42rem) {
  .project { grid-template-columns: minmax(0, 1fr); }
}
