@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,500;6..72,600&display=swap');
:root { --ink:#17231e; --muted:#657069; --quiet:#8b958f; --paper:#f5f3ec; --card:#fffef9; --rule:#d9d9d0; --green:#1f5b45; --amber:#9a5d17; --red:#934337; --blue:#425b72; }
* { box-sizing:border-box; }
[hidden] { display:none !important; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--ink); background:var(--paper); font:14px/1.5 Manrope,ui-sans-serif,system-ui,sans-serif; }
button,input,select { font:inherit; } button,select { cursor:pointer; } a { color:inherit; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
.masthead { position:sticky; top:0; z-index:20; height:72px; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:25px; padding:0 max(24px,calc((100vw - 1440px)/2)); border-bottom:1px solid var(--rule); background:color-mix(in srgb,var(--paper) 91%,transparent); backdrop-filter:blur(18px); }
.brand { display:flex; align-items:center; gap:12px; text-decoration:none; justify-self:start; }
.brand-mark { width:37px; height:37px; display:grid; place-items:center; color:#f7f5ef; background:var(--ink); border-radius:50%; font:600 22px/1 Newsreader,Georgia,serif; }
.brand>span:last-child { display:grid; } .brand strong { font-size:15px; letter-spacing:-.01em; }
.brand small { margin-top:-2px; color:var(--muted); font:10px/1.4 "DM Mono",monospace; text-transform:uppercase; letter-spacing:.08em; }
.collection-nav { display:flex; align-items:center; gap:4px; padding:4px; border:1px solid var(--rule); border-radius:999px; background:#eceae3; }
.collection-nav button { display:flex; align-items:center; gap:7px; padding:7px 13px; border:0; border-radius:999px; color:var(--muted); background:transparent; font-size:11px; font-weight:700; }
.collection-nav button span { padding:1px 5px; border-radius:9px; color:var(--quiet); background:#deddd6; font:9px "DM Mono",monospace; }
.collection-nav button.is-active { color:var(--ink); background:var(--card); box-shadow:0 1px 3px #26302b16; }
.collection-nav button.is-active span { color:var(--green); background:#e2eee7; }
.masthead-meta { display:flex; align-items:center; justify-self:end; gap:9px; color:var(--muted); font:11px "DM Mono",monospace; text-transform:uppercase; letter-spacing:.05em; }
.live-dot { width:7px; height:7px; border-radius:50%; background:#3b7c5c; box-shadow:0 0 0 4px #dce9e1; }
main { width:min(1440px,100%); margin:0 auto; padding:0 24px 96px; }
.intro { min-height:248px; display:flex; align-items:end; justify-content:space-between; gap:48px; padding:62px 0 44px; border-bottom:1px solid var(--rule); }
.eyebrow { margin:0 0 8px; color:var(--green); font:500 11px "DM Mono",monospace; text-transform:uppercase; letter-spacing:.12em; }
h1 { max-width:820px; margin:0; font:600 clamp(44px,5.5vw,74px)/.95 Newsreader,Georgia,serif; letter-spacing:-.035em; }
.lede { max-width:680px; margin:20px 0 0; color:var(--muted); font-size:16px; }
.summary { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(76px,1fr); min-width:340px; padding-bottom:5px; }
.summary div { display:grid; gap:2px; padding-left:20px; border-left:1px solid var(--rule); }
.summary strong { font:600 34px/1 Newsreader,Georgia,serif; } .summary span { color:var(--muted); font:10px "DM Mono",monospace; text-transform:uppercase; letter-spacing:.09em; }
.progress-panel { display:grid; grid-template-columns:210px minmax(260px,1fr) auto; align-items:center; gap:26px; padding:19px 22px; margin-top:18px; border:1px solid var(--rule); border-radius:8px; background:var(--card); }
.progress-copy { display:grid; gap:2px; } .progress-copy strong { font-size:14px; }
.progress-track { overflow:hidden; height:10px; border-radius:999px; background:#e0e2db; } .progress-track span { display:block; width:0; height:100%; border-radius:inherit; background:var(--green); transition:width .35s ease; }
.progress-panel p { margin:0; color:var(--muted); font:10px/1.5 "DM Mono",monospace; }
.controls { position:sticky; top:72px; z-index:15; display:grid; grid-template-columns:minmax(280px,1fr) 180px 150px 170px 210px 170px; gap:10px; padding:18px 0 12px; background:var(--paper); }
.search-control,.select-control { min-height:55px; border:1px solid #cfd2cb; border-radius:7px; background:var(--card); }
.search-control { display:grid; grid-template-columns:19px 1fr auto; align-items:center; gap:11px; padding:0 15px; }
.search-control:focus-within { border-color:var(--green); box-shadow:0 0 0 3px #dbe8e0; }
.search-control svg { width:19px; fill:none; stroke:var(--muted); stroke-width:1.7; stroke-linecap:round; }
.search-control input { min-width:0; height:50px; padding:0; border:0; outline:0; color:var(--ink); background:transparent; }
.search-control input::placeholder { color:#89918c; }
kbd { padding:3px 6px; border:1px solid var(--rule); border-bottom-width:2px; border-radius:4px; color:var(--quiet); background:#f8f6f0; font:10px "DM Mono",monospace; }
.select-control { display:grid; grid-template-rows:20px 1fr; padding:6px 11px 5px; }
.select-control span { color:var(--quiet); font:9px "DM Mono",monospace; text-transform:uppercase; letter-spacing:.1em; }
.select-control select { width:100%; min-width:0; padding:0 24px 0 0; border:0; outline:0; color:var(--ink); background:transparent; font-weight:600; }
.status-bar { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:0 0 18px; border-bottom:1px solid var(--rule); }
.status-filters { display:flex; flex-wrap:wrap; gap:7px; }
.status-filter { display:inline-flex; align-items:center; gap:7px; padding:7px 11px; border:1px solid var(--rule); border-radius:999px; color:var(--muted); background:transparent; font-size:12px; }
.status-filter>span { width:7px; height:7px; border-radius:50%; background:var(--status-color); }
.status-filter small { min-width:19px; padding:1px 5px; border-radius:9px; background:#e8e7e0; font:9px "DM Mono",monospace; }
.status-filter[aria-pressed="true"] { color:var(--ink); border-color:var(--status-color); background:var(--card); box-shadow:inset 0 0 0 1px var(--status-color); }
.status-positive,.status-preview { --status-color:var(--green); } .status-negative,.status-missing { --status-color:var(--red); } .status-unresolved,.status-linked { --status-color:var(--amber); } .status-rejected { --status-color:var(--blue); }
.text-button { padding:7px 0; border:0; border-bottom:1px solid var(--ink); background:transparent; color:var(--ink); font-size:11px; }
.result-heading { display:flex; align-items:baseline; justify-content:space-between; gap:24px; padding:26px 2px 13px; color:var(--muted); }
.result-heading p { margin:0; } .result-heading strong { color:var(--ink); font-size:16px; } .result-heading p:last-child { font-size:11px; }
.results { display:grid; gap:18px; }
.record-card { overflow:hidden; border:1px solid var(--rule); border-radius:9px; background:var(--card); box-shadow:0 2px 0 #232e2808; }
.record-topline { display:flex; align-items:flex-start; justify-content:space-between; gap:28px; padding:25px 28px 22px; }
.identity { min-width:0; display:grid; grid-template-columns:82px minmax(0,1fr); gap:22px; }
.year-block { display:grid; align-content:start; padding-right:20px; border-right:1px solid var(--rule); }
.year-block strong { font:600 25px Newsreader,Georgia,serif; } .year-block span { overflow:hidden; color:var(--muted); font:9px "DM Mono",monospace; text-transform:uppercase; text-overflow:ellipsis; white-space:nowrap; }
.record-kicker { margin:0 0 3px; color:var(--green); font:500 10px "DM Mono",monospace; text-transform:uppercase; letter-spacing:.09em; }
.record-card h2 { margin:0; font:600 25px/1.15 Newsreader,Georgia,serif; letter-spacing:-.015em; } .record-opus { color:var(--muted); font-weight:500; }
.record-repository { margin:6px 0 0; color:var(--muted); font-size:11px; }
.status-badge { flex:0 0 auto; padding:5px 9px; border-radius:3px; color:var(--status-color); background:color-mix(in srgb,var(--status-color) 11%,white); font:500 9px "DM Mono",monospace; text-transform:uppercase; letter-spacing:.08em; }
.fact-grid { display:grid; border-top:1px solid var(--rule); }
.fact-grid>div { min-width:0; display:grid; align-content:center; gap:4px; min-height:82px; padding:14px 24px; border-right:1px solid var(--rule); }
.fact-grid>div:last-child { border-right:0; }.fact-grid strong { overflow-wrap:anywhere; font-size:13px; font-weight:600; }
.marking-facts { grid-template-columns:1.15fr .75fr .42fr 1.05fr .85fr .72fr; } .instrument-facts { grid-template-columns:.8fr 1.15fr .72fr 1.1fr; }
.field-label { color:var(--quiet); font:9px "DM Mono",monospace; text-transform:uppercase; letter-spacing:.09em; }
.marking-cell strong { color:var(--green); font:600 19px Newsreader,Georgia,serif; }
.image-frame { position:relative; margin:0; background:#e5e1d8; }
.snippet-frame { border-top:1px solid var(--rule); border-bottom:1px solid var(--rule); }
.image-link { display:block; height:100%; padding:16px 18px 13px; background-color:#ddd9cf; background-image:radial-gradient(#b8b3a9 .55px,transparent .55px); background-size:8px 8px; }
.image-link img { display:block; width:100%; height:100%; max-height:430px; object-fit:contain; object-position:center; border:1px solid #c9c2b6; background:white; box-shadow:0 8px 25px #32332f24; filter:sepia(.04) contrast(1.02); }
.image-link:hover img { border-color:var(--green); }
figcaption { position:absolute; right:25px; bottom:21px; max-width:calc(100% - 50px); padding:4px 7px; color:#f8f7f2; background:#15211cdd; border-radius:3px; font:9px "DM Mono",monospace; letter-spacing:.04em; }
.image-frame.is-empty { display:grid; place-items:center; min-height:170px; background-color:#f0eee7; background-image:linear-gradient(135deg,transparent 49%,#e5e2d9 49%,#e5e2d9 51%,transparent 51%); background-size:12px 12px; }
.image-placeholder { display:grid; justify-items:center; padding:25px; color:var(--muted); text-align:center; }
.placeholder-icon { width:38px; height:38px; display:grid; place-items:center; margin-bottom:8px; border:1px solid #babdb5; border-radius:50%; color:var(--green); background:var(--card); font-family:serif; }
.image-placeholder strong { color:var(--ink); font-size:12px; } .image-placeholder small { max-width:240px; font-size:10px; }
.record-footer { min-height:62px; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:12px 24px; border-top:1px solid var(--rule); }
.record-details { display:flex; flex-wrap:wrap; gap:7px; }
.record-details span { padding:4px 7px; border:1px solid #deded7; border-radius:3px; color:var(--muted); background:#f7f5ef; font:9px "DM Mono",monospace; }
.record-links { display:flex; align-items:center; flex-wrap:wrap; justify-content:end; gap:14px; }
.record-links a { display:inline-flex; align-items:center; gap:5px; color:var(--muted); text-decoration:none; font-size:10px; font-weight:700; }
.record-links a:hover { color:var(--green); text-decoration:underline; text-underline-offset:3px; } .record-links .primary-link { color:var(--green); } .record-links span { font-size:12px; font-weight:400; }
.notes-panel { border-top:1px solid var(--rule); padding:9px 24px; color:var(--muted); background:#faf8f2; font-size:11px; }
.notes-panel summary { color:var(--ink); cursor:pointer; font:500 9px "DM Mono",monospace; text-transform:uppercase; letter-spacing:.07em; } .notes-panel p { max-width:1050px; margin:10px 0 4px; }
.instrument-layout { display:grid; grid-template-columns:330px minmax(0,1fr); }
.instrument-image { min-height:310px; border-right:1px solid var(--rule); } .instrument-image .image-link { padding:20px; } .instrument-image .image-link img { max-height:none; }
.instrument-content { min-width:0; display:flex; flex-direction:column; } .instrument-content .record-footer { margin-top:auto; }
.empty-state { margin-top:10vh; text-align:center; } .empty-state>span { color:var(--green); font:500 48px Newsreader,serif; } .empty-state h2 { margin:8px 0 0; font:600 25px Newsreader,serif; } .empty-state p { margin:5px 0 18px; color:var(--muted); } .empty-state button { padding:9px 14px; border:1px solid var(--ink); border-radius:4px; color:white; background:var(--ink); }
.fatal { max-width:720px; margin:14vh auto; padding:35px; border:1px solid var(--rule); border-radius:8px; background:var(--card); } .fatal h1 { font-size:46px; }
@media (max-width:1100px) { .masthead { grid-template-columns:1fr auto; } .masthead-meta { display:none; } .controls { grid-template-columns:minmax(280px,1fr) 190px 190px; } .controls .select-control:last-child { grid-column:3; } .search-control { grid-row:span 1; } .progress-panel { grid-template-columns:180px 1fr; }.progress-panel p { grid-column:1/-1; } }
@media (max-width:900px) { .intro { align-items:start; flex-direction:column; } .summary { min-width:min(100%,480px); } .controls { grid-template-columns:1fr 1fr 1fr; } .search-control { grid-column:1/-1; } .marking-facts,.instrument-facts { grid-template-columns:1fr 1fr; } .fact-grid>div { border-bottom:1px solid var(--rule); } .fact-grid>div:nth-child(even) { border-right:0; } .instrument-layout { grid-template-columns:250px minmax(0,1fr); } .record-footer { align-items:flex-start; flex-direction:column; } .record-links { justify-content:start; } }
@media (max-width:700px) { .masthead { height:auto; min-height:106px; grid-template-columns:1fr; justify-items:center; gap:8px; padding:10px 15px; } .brand { justify-self:center; } .collection-nav { grid-row:2; } main { padding:0 12px 60px; } .intro { min-height:auto; padding:40px 2px 32px; } h1 { font-size:47px; } .summary { min-width:100%; } .summary div { padding-left:12px; } .summary strong { font-size:29px; } .progress-panel { grid-template-columns:1fr; gap:10px; } .progress-panel p { grid-column:auto; } .controls { position:static; grid-template-columns:1fr; padding-top:10px; } .search-control { grid-column:auto; } .select-control { display:none; } .status-bar { align-items:flex-start; } .result-heading { align-items:flex-start; flex-direction:column; gap:2px; } .record-topline { padding:20px 17px; } .identity { grid-template-columns:68px 1fr; gap:14px; } .year-block { padding-right:12px; } .record-card h2 { font-size:21px; } .marking-facts,.instrument-facts { grid-template-columns:1fr; } .fact-grid>div { min-height:66px; padding:11px 17px; border-right:0; border-bottom:1px solid var(--rule); } .fact-grid>div:last-child { border-bottom:0; } .instrument-layout { grid-template-columns:1fr; } .instrument-image { min-height:260px; border-right:0; border-bottom:1px solid var(--rule); } .image-link { padding:8px; } figcaption { right:13px; bottom:13px; } .record-footer { padding:14px 17px; } .record-links { gap:12px; } .notes-panel { padding-inline:17px; } }
