:root { --paper:var(--journal-paper); --line:var(--journal-line); --wine:var(--journal-accent); --ink:var(--journal-ink); }
html { scroll-behavior:smooth; }
body { background-color:var(--paper); }
.masthead-top { position:relative; }
.masthead-nav .active { color:var(--accent); box-shadow:inset 0 -2px var(--accent); }
.paper { max-width:1020px; }
.lead { display:grid; grid-template-columns:1fr 1fr; gap:clamp(24px,5vw,72px); align-items:center; margin-bottom:clamp(24px,5vw,60px); }
.lead h1 { font-size:clamp(2.8rem,6.6vw,5.6rem); margin:.55rem 0 .8rem; }
.lead .sub { max-width:35ch; color:var(--muted); font:1.2rem/1.5 var(--serif); }
.lead .hero-image { width:100%; display:block; background:#eae1cc; aspect-ratio:6/5; object-fit:contain; mix-blend-mode:multiply; }
.label { color:var(--wine); font-size:.76rem; font-weight:700; letter-spacing:.10em; text-transform:uppercase; }
.byline { margin-top:1.35rem; font-size:.85rem; color:var(--muted); }
.story { font:clamp(1.07rem,1.8vw,1.24rem)/1.67 var(--serif); }
.story p { max-width:68ch; }
.story p a { color:var(--wine); font: .83em/1.5 var(--sans); }
.story section { border-top:1px solid var(--line); padding:1.8rem 0; scroll-margin-top:18px; }
.story section h2 { margin:.25rem 0 .8rem; }
.story .text-and-image { display:grid; grid-template-columns:1.46fr 1fr; gap:clamp(18px,4vw,42px); align-items:start; }
.story figure { margin:0; }
.story figure a { display:block; }
.story figure img { width:100%; display:block; aspect-ratio:4/3; object-fit:contain; background:#f4ede2; mix-blend-mode:multiply; }
.story figcaption { font:.8rem/1.42 var(--sans); color:var(--muted); margin-top:.5rem; }
.actions { display:flex; flex-wrap:wrap; align-items:center; gap:.6rem 1.2rem; margin-top:1rem; }
.actions a, .actions button, .tool-row button { font:650 .85rem/1.25 var(--sans); }
.actions a:not(.action) { color:var(--wine); }
.actions .action { text-decoration:none; margin:0; }
.story .endnote { border-top:1px solid var(--line); margin:0; padding:1.3rem 0 .2rem; }
.gallery { width:min(920px,calc(100% - 24px)); max-height:calc(100vh - 28px); padding:clamp(12px,2.6vw,25px); color:var(--ink); border:1px solid var(--line); background:var(--paper); }
.gallery::backdrop { background:#252018bb; }
.gallery header { display:flex; gap:10px; justify-content:space-between; align-items:start; }
.gallery h2 { margin:0 0 .55rem; }
.gallery button,.tool-row button { padding:.52rem .7rem; background:var(--journal-card); color:var(--wine); border:1px solid var(--line); cursor:pointer; min-height:44px; border-radius:0; }
.gallery .main-image { display:block; max-height:52vh; width:100%; object-fit:contain; background:#efe7d8; }
.gallery .caption { margin:.55rem 0; }
.gallery .thumbs { display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); gap:6px; }
.gallery .thumbs button { padding:0; border:2px solid transparent; line-height:0; min-width:0; }
.gallery .thumbs img { aspect-ratio:5/4; width:100%; object-fit:cover; }
.gallery button[aria-current="true"] { border-color:var(--wine); }
.exhibit h1 { max-width:23ch; font-size:clamp(2.3rem,6vw,4.6rem); }
.exhibit .object-meta { color:var(--muted); }
.object-grid { display:grid; grid-template-columns: minmax(0,1.7fr) minmax(235px,.7fr); gap:clamp(16px,3vw,38px); align-items:start; }
.model-panel { min-width:0; }
.model-stage { position:relative; display:grid; width:100%; aspect-ratio:1.39; min-height:280px; place-items:center; overflow:hidden; background:radial-gradient(ellipse at 50% 39%,#57453d,#282222 78%); border:1px solid #544137; }
.model-stage canvas { position:absolute; inset:0; width:100%; height:100%; touch-action:none; cursor:grab; }
.model-stage canvas:active { cursor:grabbing; }
.model-stage.is-interactive img { display:none; }
.model-stage img { width:100%; height:100%; max-height:100%; object-fit:contain; position:absolute; inset:0; }
.tool-row { display:flex; flex-wrap:wrap; gap:6px; padding-top:9px; }
.tool-row button { min-width:44px; touch-action:manipulation; }
.tool-row button[aria-pressed="true"],.tool-row button:hover:enabled { color:var(--journal-on-accent); background:var(--wine); border-color:var(--wine); }
.tool-row button:disabled { opacity:.45; cursor:default; }
.viewer-status { font:.8rem/1.4 var(--sans); color:var(--muted); margin:.55rem 0 0; }
.poster { margin:0; padding:.8rem; border:1px solid var(--line); }
.poster img { width:100%; height:auto; display:block; }
.poster > a:has(> img) { display:block; cursor:zoom-in; }
.poster figcaption { margin:.5rem 0; font-size:.85rem; }
.exhibit .notes { margin:2rem 0 0; }
.exhibit .notes h2, .exhibit .review h2 { margin-bottom:.6rem; }
.evidence { margin:.6rem 0 0; }
.evidence div { border-top:1px solid var(--line); padding:.65rem 0; display:grid; grid-template-columns:10rem 1fr; gap:.45rem 1rem; }
.evidence dt { font-weight:700; color:var(--wine); }
.evidence dd { margin:0; }
.views-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.views-grid figure { margin:0; }
.views-grid a { display:block; }
.views-grid img { display:block; width:100%; background:#3b302a; aspect-ratio:940/780; object-fit:contain; }
.views-grid figcaption { color:var(--muted); font-size:.83rem; margin:.45rem 0; }
.related { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,162px),1fr)); gap:14px; }
.related a { display:block; text-decoration:none; border-top:1px solid var(--line); padding-top:.6rem; }
.related img { width:100%; display:block; aspect-ratio:4/3; object-fit:contain; background:#312722; margin-bottom:.4rem; }
.related .name { display:block; font:1.12rem/1.2 var(--serif); }
.related .meta { display:block; margin-top:.25rem; }
.cabinet-new { margin-bottom:2rem; border-bottom:1px solid var(--line); padding-bottom:1.5rem; }
.cabinet-new h2 { margin-top:1.3rem; }
@media(max-width:700px) {
 .lead,.story .text-and-image,.object-grid { grid-template-columns:1fr; }
 .lead { gap:24px; }
 .lead .hero-image { aspect-ratio:16/9; }
 .story figure { order:-1; }
 .story figure img { aspect-ratio:16/10; }
 .object-grid .poster { max-width:420px; }
 .model-stage { min-height:275px; aspect-ratio:1.21; }
 .evidence div { grid-template-columns:1fr; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
