:root {
  color-scheme: dark;
  --ink: #f3efe7;
  --muted: #aaa69f;
  --ground: #090b10;
  --panel: #12151c;
  --line: #30343d;
  --accent: #d2aa62;
  --accent-cool: #8eb6c6;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--ground); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at 70% -20%, #27303e 0, transparent 38rem), var(--ground); }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 10; padding: .75rem 1rem; background: var(--ink); color: var(--ground); }
.skip-link:focus { top: 1rem; }
.masthead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(17rem, 32rem); gap: 3rem; align-items: end; padding: clamp(2rem, 6vw, 6rem); border-bottom: 1px solid var(--line); }
.eyebrow, .kicker { text-transform: uppercase; letter-spacing: .18em; color: var(--accent); font-size: .74rem; font-weight: 700; }
h1 { margin: .35rem 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 8vw, 8.5rem); font-weight: 400; line-height: .82; letter-spacing: -.055em; }
h1 span { display: block; color: var(--muted); }
.proof-note { max-width: 43ch; color: var(--muted); line-height: 1.65; }
.decision-needed { max-width: 43ch; border-left: 3px solid var(--accent); padding: .85rem 1rem; background: color-mix(in srgb, var(--accent) 9%, transparent); line-height: 1.65; }
.loading, .error { max-width: 48rem; margin: 4rem auto; padding: 2rem; color: var(--muted); line-height: 1.7; }
.error { border: 1px solid #7d3f46; background: #24151a; color: #f0c7cb; }
.work-nav { display: flex; gap: .65rem; overflow-x: auto; padding: 1rem clamp(1rem, 5vw, 5rem); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--ground) 91%, transparent); backdrop-filter: blur(16px); }
.work-nav button { border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); padding: .65rem 1rem; white-space: nowrap; cursor: pointer; }
.work-nav button[aria-current="true"] { color: var(--ground); background: var(--ink); border-color: var(--ink); }
.work-nav button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent-cool); outline-offset: 3px; }
.work-shell { max-width: 104rem; margin: 0 auto; padding: clamp(1rem, 4vw, 4.5rem); }
.work-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 30rem); gap: 2rem; align-items: end; margin-bottom: 2rem; }
.work-heading h2, .archive-heading h2 { margin: 0; max-width: 13ch; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(2.6rem, 6vw, 6.5rem); line-height: .95; }
.metadata { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1.5rem; margin: 0; }
.metadata div { border-top: 1px solid var(--line); padding-top: .55rem; }
.metadata dt { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.metadata dd { margin: .25rem 0 0; line-height: 1.45; }
.hero { margin: 0; min-height: 56vh; display: grid; place-items: center; background: #050609; border: 1px solid var(--line); }
.hero img { display: block; max-width: 100%; width: auto; max-height: 86vh; object-fit: contain; }
.hero figcaption { width: 100%; padding: .75rem 1rem; color: var(--muted); border-top: 1px solid var(--line); font-size: .85rem; }
.copy-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 7rem); padding: clamp(3rem, 7vw, 8rem) 0; }
.copy-grid h3, .supporting h3, .archive-card h3 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.9rem, 3vw, 3.1rem); font-weight: 400; margin: 0 0 1.4rem; }
.prose p { line-height: 1.82; color: #d9d5ce; }
.symbols { display: grid; gap: .65rem; }
details { border-top: 1px solid var(--line); padding: .9rem 0; }
summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 2.3rem 1fr auto; gap: .7rem; align-items: start; }
summary::-webkit-details-marker { display: none; }
.symbol-number { color: var(--accent); font-variant-numeric: tabular-nums; }
summary::after { content: "+"; color: var(--muted); }
details[open] summary::after { content: "−"; }
details p { margin: .85rem 0 .3rem 3rem; line-height: 1.72; color: var(--muted); }
.supporting { border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 6rem) 0; display: grid; grid-template-columns: minmax(0, .75fr) minmax(18rem, 1fr); gap: 3rem; align-items: center; }
.supporting figure { margin: 0; }
.supporting img { display: block; max-width: 100%; max-height: 65vh; margin: auto; object-fit: contain; }
.supporting figcaption { color: var(--muted); margin-top: .8rem; line-height: 1.5; }
.archive-heading { max-width: 66rem; padding: 2rem 0 clamp(3rem, 7vw, 7rem); }
.archive-heading .proof-note { max-width: 58ch; }
.archive-grid { display: grid; gap: clamp(3rem, 7vw, 8rem); }
.archive-card { display: grid; grid-template-columns: minmax(18rem, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; border-top: 1px solid var(--line); padding-top: clamp(2rem, 5vw, 5rem); }
.archive-card figure { margin: 0; display: grid; place-items: center; min-height: 28rem; background: #050609; border: 1px solid var(--line); }
.archive-card img { display: block; max-width: 100%; max-height: 70vh; object-fit: contain; }
.archive-card > div > p:not(.kicker) { color: #d9d5ce; line-height: 1.72; }
.editorial-card { border: 1px solid var(--line); background: var(--panel); padding: 1.4rem; }
.editorial-card h3 { font-family: inherit; font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); }
.editorial-card ul { padding-left: 1.2rem; color: var(--muted); line-height: 1.65; }
.work-switcher { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.3rem; }
.work-switcher button { background: transparent; color: var(--ink); border: 0; font: inherit; cursor: pointer; padding: .5rem 0; }
footer { display: flex; justify-content: space-between; gap: 2rem; padding: 2rem clamp(1rem, 5vw, 5rem); border-top: 1px solid var(--line); color: var(--muted); }
@media (max-width: 780px) {
  .masthead, .work-heading, .copy-grid, .supporting, .archive-card { grid-template-columns: 1fr; }
  .masthead { gap: 1rem; }
  .metadata { grid-template-columns: 1fr; }
  .hero { min-height: 30vh; }
  .archive-card figure { min-height: 18rem; }
  footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
