.archive-opening,.museum-pair,.paper-study {padding-block:clamp(44px,6vw,98px)}
.archive-opening .archive-heading {margin-top:clamp(30px,4vw,65px)}
.archive-heading {display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr);gap:clamp(24px,5vw,88px);align-items:end;margin:0 0 clamp(25px,3.5vw,56px)}
.archive-heading .eyebrow {font-size:.875rem;margin:0 0 12px}
.archive-heading h1,.archive-heading h2 {font:400 clamp(3.1rem,5.85vw,6.1rem)/1.04 'Instrument Serif',Georgia,serif;letter-spacing:-.035em}
.archive-heading h1 em,.archive-heading h2 em {color:#4e6757}
.archive-heading>p {margin:0;max-width:54ch;font-size:clamp(1rem,1.23vw,1.19rem);line-height:1.7}
.drawing-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(18px,2.5vw,44px)}
.drawing-grid figure {min-width:0;margin:0}
.archive-zoom {display:block;position:relative;width:100%;border:1px solid #bdc8bf;background:white;color:#1d382c;text-align:left;cursor:zoom-in}
.archive-zoom img {display:block;width:100%;height:auto;object-fit:contain;background:white;aspect-ratio:1.62}
.archive-zoom span {display:block;padding:.64rem 1rem;border-top:1px solid #cdd6ce;font-weight:600;font-size:.9rem}
.archive-zoom:hover span {text-decoration:underline;text-underline-offset:.19em}
.archive-options {border:0;padding:0;margin:0 0 18px;display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
.archive-options legend {padding:0;margin:0 0 8px;font-size:.94rem;font-weight:700}
.archive-options label {display:inline-flex;align-items:center;gap:.55rem;padding:8px 13px;min-height:44px;border:1px solid #a3b2a6;background:white;color:#274332;cursor:pointer;font-size:.94rem;line-height:1.35}
.archive-options input {margin:0;accent-color:#2c5841;width:16px;height:16px;flex-shrink:0}
.archive-options label:has(input:checked) {background:#e2ebe2;border-color:#31553c}
.archive-options label:focus-within {outline:2px solid #35684e;outline-offset:2px}
.drawing-grid figcaption,.research-plot figcaption {font-size:1rem;margin-top:12px;line-height:1.6;color:#44584b}
.drawing-grid figcaption strong {display:block;font-size:1.11rem;color:#223829;margin-bottom:3px}
.drawing-comparison:has(input[value="pianta"]:checked) [data-vista="prospetto"],
.drawing-comparison:has(input[value="prospetto"]:checked) [data-vista="pianta"] {display:none}
.museum-pair {background:#edf1e9}
.museum-pair .archive-zoom img {aspect-ratio:1.3}
.museum-pair .archive-zoom .exhibition-photo {object-fit:cover}
.paper-study {background:#f1f4ee}
.chart-paper {background:#fff;border:1px solid #bac9bd;padding:clamp(4px,2vw,30px)}
.kalamata-figure {display:block;width:100%;max-width:920px;margin:auto;height:auto}
.kalamata-figure text {fill:#203026;font:7.4px Manrope,Arial,sans-serif}
.kalamata-figure .axis-text {font-size:8.3px;font-weight:600}
.line-key {display:inline-block;width:18px;height:3px}
.line-key.red {background:#f00}.line-key.black {background:#000}.line-key.blue {background:#00f}
.research-plot:has(input[value="iniziale"]:checked) .curva:not(.iniziale),
.research-plot:has(input[value="precedente"]:checked) .curva:not(.precedente),
.research-plot:has(input[value="corrente"]:checked) .curva:not(.corrente) {display:none}
.study-reference {margin:20px 0 8px;font-size:.93rem;line-height:1.55;max-width:90ch}
@media(max-width:760px) {
  .archive-heading {grid-template-columns:1fr;gap:14px}
  .archive-heading>p {max-width:65ch}
  .drawing-grid {grid-template-columns:1fr}
  .museum-pair .archive-zoom img {aspect-ratio:1.3}
  .museum-pair .archive-zoom .sheet {aspect-ratio:1.06}
  .archive-options legend {font-size:.94rem}
  .drawing-comparison:has(input[value="prospetto"]:checked) .archive-zoom img {aspect-ratio:2.7}
}
@media(max-width:530px) {
  .plot-options {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .plot-options label {font-size:.875rem;gap:5px;padding:8px}
  .line-key {width:12px;flex-shrink:0}
  .kalamata-figure .tick-time,.kalamata-figure .tick-disp {font-size:10px}
  .kalamata-figure .axis-text {font-size:10.5px}
  .kalamata-figure .tick-time:nth-of-type(even),.kalamata-figure .tick-disp:nth-of-type(odd) {display:none}
}

.archive-pair .archive-zoom img {aspect-ratio:1.5}
.archive-pair .archive-figure-photo img {object-fit:cover}
.archive-pair .archive-figure-drawing img {object-fit:contain;padding:clamp(4px,1vw,16px)}
#vista-insieme .spano-sheet img {height:auto;aspect-ratio:auto}
@media(min-width:851px) {
  #vista-insieme {grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)}
}
@media(max-width:760px) {
  .archive-pair .archive-zoom img {height:auto;aspect-ratio:auto}
}
