:root {
  color-scheme: dark;
  --background: #10100f;
  --text: #f3eee5;
  --muted: #bbb3a6;
  --accent: #dfb580;
  --line: #3d3933;
  font-family: system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; width: 100%; }
h1, p { margin: 0; }
.shell { width: min(calc(100% - 2.5rem), 84rem); margin-inline: auto; }
.masthead, .footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 1.25rem;
  font-size: .9rem;
}
.masthead { border-bottom: 1px solid var(--line); }
.brand { font-size: 1.25rem; font-weight: 550; text-decoration: none; }
.brand span, .series-title span { color: var(--accent); }
.eyebrow { color: var(--muted); font-size: .9rem; }
h1 {
  font: 400 clamp(3rem, 7vw, 7rem)/1 Georgia, serif;
  letter-spacing: -.055em;
  margin-block: .5rem 1.5rem;
}
.portfolio { padding-block: clamp(3rem, 8vw, 7rem); }
.portfolio-intro { color: var(--muted); max-width: 60ch; margin-bottom: 2rem; }
.series-title { display: flex; justify-content: space-between; gap: .5rem; }
.series { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.series a { text-decoration: none; }
.series a:hover .series-title { text-decoration: underline; }
.series img { height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.series-title { padding-block: .9rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
.footer { border-top: 1px solid var(--line); color: var(--muted); }
@media (max-width: 700px) {
  .series { grid-template-columns: 1fr; gap: 1.75rem; }
  .portfolio { padding-block: 2rem 3rem; }
}

.masthead nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .5rem 1.25rem;
}
.masthead nav a { text-decoration: none; color: var(--muted); }
.masthead nav a:hover, .masthead nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: underline;
}
@media (max-width: 480px) {
  .masthead { flex-wrap: wrap; }
  .masthead nav { flex-basis: 100%; justify-content: flex-start; gap: .5rem 1rem; }
}
