:root {
  color-scheme: light;
  --ink: #17211c;
  --muted: #647069;
  --paper: #f3f1e9;
  --panel: #fbfaf5;
  --accent: #175f47;
  --line: #d5d7cf;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-underline-offset: 0.2em; }

.hero { min-height: 70vh; padding: 0 6vw 6rem; background: var(--ink); color: #f7f5ed; }
nav { max-width: 1200px; margin: auto; height: 88px; display: flex; align-items: center; gap: 2rem; border-bottom: 1px solid #ffffff26; }
nav a { text-decoration: none; font-size: 0.9rem; }
nav .brand { margin-right: auto; font-family: Georgia, serif; font-size: 1.3rem; }
.hero-copy { max-width: 1200px; margin: 6rem auto 0; }
.eyebrow { color: #78b49c; font-size: 0.75rem; letter-spacing: 0.16em; font-weight: 750; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h1 { max-width: 900px; margin: 1.2rem 0; font-size: clamp(3.3rem, 8vw, 7.4rem); line-height: 0.92; letter-spacing: -0.045em; }
.lede { max-width: 670px; color: #cbd2cd; font-size: clamp(1rem, 2vw, 1.3rem); line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2.5rem; }
.actions a { font-weight: 700; }
.actions .primary { padding: 0.9rem 1.2rem; background: #f7f5ed; color: var(--ink); text-decoration: none; border-radius: 2px; }

main { max-width: 1200px; margin: auto; padding: 0 4vw 6rem; }
.status { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: -2rem; background: var(--panel); border: 1px solid var(--line); }
.status div { padding: 1.4rem 1.6rem; border-right: 1px solid var(--line); }
.status div:last-child { border-right: 0; }
.status span, .status strong { display: block; }
.status span { margin-bottom: 0.45rem; color: var(--muted); font-size: 0.68rem; letter-spacing: 0.12em; }
.status strong { font-family: Georgia, serif; font-size: 1.05rem; font-weight: 400; }

.notice { margin: 6rem 0; padding: 2rem; border-left: 4px solid var(--accent); background: #e6ebe5; }
.notice h2 { margin: 0 0 0.6rem; font-size: 1.9rem; }
.notice p { max-width: 850px; color: #445048; line-height: 1.65; }
.doc-links { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.2rem; font-size: 0.9rem; font-weight: 700; }
.gallery-intro { max-width: 730px; margin-bottom: 4rem; }
.gallery-intro h2 { margin: 0.5rem 0; font-size: clamp(2.8rem, 6vw, 5rem); }
.gallery-intro p:last-child { color: var(--muted); line-height: 1.65; }
.collection { margin: 0 0 5rem; }
.collection-heading { display: flex; gap: 1rem; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--line); margin-bottom: 1.2rem; }
.collection-heading h2 { margin: 0 0 0.7rem; overflow-wrap: anywhere; font-size: 1.45rem; }
.collection-heading span { flex: none; color: var(--muted); font-size: 0.78rem; }
.plot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.plot-card { margin: 0; background: var(--panel); border: 1px solid var(--line); transition: transform 150ms ease, box-shadow 150ms ease; }
.plot-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px #17211c14; }
.plot-card > a { display: grid; place-items: center; min-height: 220px; padding: 1rem; background: white; }
.plot-card img { display: block; width: 100%; height: 210px; object-fit: contain; }
.plot-card figcaption { padding: 1rem; border-top: 1px solid var(--line); }
.plot-card strong, .plot-card code { display: block; }
.plot-card strong { margin-bottom: 0.45rem; font-family: Georgia, serif; font-weight: 400; }
.plot-card code { color: var(--muted); font-size: 0.66rem; line-height: 1.4; overflow-wrap: anywhere; }
footer { padding: 2rem 6vw; background: var(--ink); color: #cbd2cd; font-size: 0.82rem; }
footer p { max-width: 1200px; margin: auto; }

@media (max-width: 650px) {
  .hero { padding-inline: 1.2rem; }
  nav { gap: 1rem; }
  .hero-copy { margin-top: 4rem; }
  main { padding-inline: 1rem; }
  .status { grid-template-columns: 1fr; }
  .status div { border-right: 0; border-bottom: 1px solid var(--line); }
  .status div:last-child { border-bottom: 0; }
  .notice { margin: 4rem 0; padding: 1.4rem; }
  .collection-heading { display: block; }
}
