:root {
  color-scheme: light;
  --paper: #f9f6f0;
  --ink: #211b17;
  --muted: #62534b;
  --rust: #873e2e;
  --line: #ded3c7;
  --mat: #e9e2d9;
  --serif: Georgia, "Times New Roman", serif;
  font-family: system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
*, *::before, *::after { box-sizing: border-box; }
body, figure, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-underline-offset: .23em; }
a:focus-visible { outline: 3px solid var(--rust); outline-offset: 4px; }
img { display: block; width: 100%; }
.wrap { width: min(1200px, calc(100% - 5rem)); margin-inline: auto; }
.skip { position: absolute; transform: translateY(-200%); background: white; padding: 1rem; z-index: 2; }
.skip:focus { transform: none; }
.top, .footer { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.top { border-bottom: 1px solid var(--line); }
.wordmark { font: 2rem/.95 var(--serif); letter-spacing: -.075em; text-decoration: none; }
.wordmark span, h1 span { color: var(--rust); }
nav { display: flex; gap: clamp(1.2rem, 3vw, 2.7rem); }
nav a { font-size: .95rem; text-decoration: none; }
nav a:hover, .card:hover h3 { text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; padding-block: clamp(2rem, 5vw, 4.5rem); }
.eyebrow { color: var(--rust); font-size: .875rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
.intro h1 { font-size: clamp(5rem, 13vw, 10.5rem); line-height: .96; letter-spacing: -.095em; margin: .55rem 0 1.6rem; }
.lede { max-width: 29ch; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.4rem); }
.button { display: inline-block; margin-top: 1.8rem; background: var(--rust); color: #fffaf4; padding: .8rem 1.25rem; text-decoration: none; }
.button:hover { background: #663123; }
.hero-image { display: block; background: #decdbb; padding: clamp(1rem, 3vw, 2.1rem); }
.hero-image img { width: 100%; height: clamp(270px, 38vw, 445px); object-fit: contain; }
figcaption { display: flex; justify-content: space-between; gap: 1rem; padding-top: .65rem; color: var(--muted); font-size: .9rem; }
figcaption a { color: var(--ink); }
.gallery { background: #efe7dd; padding-block: clamp(3rem, 7vw, 6rem); }
.section-title { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
h2 { font-size: clamp(2.6rem, 6vw, 4.9rem); line-height: 1; letter-spacing: -.065em; }
.section-title p, .note { color: var(--muted); }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 1.5rem; }
.card { display: block; text-decoration: none; }
.card-image { background: #e5d9cd; padding: 1rem; aspect-ratio: 5 / 4; display: grid; place-items: center; }
.card-image img { height: 100%; min-height: 0; object-fit: contain; }
.card h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.15; padding-top: .65rem; }
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; padding-block: clamp(3rem, 8vw, 7rem); }
.about p, .detail-copy p:not(.eyebrow) { font-size: 1.075rem; max-width: 58ch; }
.about p + p, .detail-copy p + p { margin-top: .8rem; }
.footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.detail { padding-block: 2rem 5rem; }
.back, .source { color: var(--rust); }
.detail-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); margin-top: 2rem; }
.detail-copy h1 { font-size: clamp(2.85rem, 6.5vw, 5.5rem); letter-spacing: -.065em; line-height: 1.02; margin: .6rem 0 1.2rem; }
.detail-copy .source { display: inline-block; margin-top: 1.7rem; }
.detail-photo { display: block; padding: clamp(.8rem, 3vw, 2rem); background: var(--mat); margin-bottom: 1.2rem; }
.detail-photo img { max-height: 78vh; object-fit: contain; }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 3rem); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 2rem); }
  .hero, .about, .detail-grid { grid-template-columns: 1fr; }
  .hero { gap: 2rem; }
  .grid { gap: 1.6rem .8rem; }
  .card-image { padding: .45rem; }
  .detail-copy { order: 0; }
}
