:root { --ink: #302a25; --rust: #8c4836; --paper: #f4ede1; --line: #c9b9a6; --muted: #66594b; --serif: var(--font-serif); --sans: var(--font-sans); }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.58 var(--sans); }
a { color: inherit; text-underline-offset: .23em; }
a:hover { color: var(--rust); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--rust); outline-offset: 4px; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.wrap { max-width: 1540px; margin-inline: auto; padding-inline: clamp(18px, 5vw, 77px); }
.bar { min-height: 62px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 20px; font-size: 13px; }
.bar a { min-height: 44px; display: inline-flex; align-items: center; gap: 9px; }
.bar img { width: 32px; }
h1, h2 { font-family: var(--serif); font-weight: 300; margin: 0; line-height: .97; letter-spacing: -.046em; }
h1 { font-size: clamp(58px, 8vw, 118px); }
h1 em { color: var(--rust); }
h2 { font-size: clamp(33px, 3.6vw, 58px); }
p { margin: 0; }
.eyebrow { text-transform: uppercase; font-size: 11px; letter-spacing: .15em; color: var(--muted); }
.intro { display: grid; grid-template-columns: 1.65fr 1fr; align-items: end; gap: 24px 42px; border-top: 1px solid var(--line); padding: clamp(29px, 5.2vw, 74px) 0 33px; }
.intro h1 { margin-top: 12px; }
.lede { max-width: 29ch; font: 300 clamp(23px, 2.6vw, 36px)/1.15 var(--serif); }
.series-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; padding: 16px 0 20px; border-top: 1px solid var(--line); }
.series-head h2 { font-size: clamp(28px, 3.2vw, 42px); }
.objects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.3vw, 34px); }
.object-card { display: flex; flex-direction: column; min-width: 0; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.specimen { display: block; overflow: hidden; aspect-ratio: 4/3; background: #ded0b9; }
.specimen img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.specimen:hover img { transform: scale(1.025); }
.object-label { padding-top: 14px; }
.object-card h3 { margin: 8px 0 10px; font: 300 clamp(28px, 3vw, 46px)/1 var(--serif); letter-spacing: -.035em; }
.object-card h3 a { text-decoration: none; }
.object-card .description { margin-top: 8px; max-width: 39ch; }
.actions { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2px 15px; margin-top: auto; padding-top: 8px; }
.actions a { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; }
.notes { display: grid; grid-template-columns: 1fr 1.3fr; gap: 18px 40px; margin-top: 46px; padding: 24px 0; border-block: 1px solid var(--line); }
.notes p + p { margin-top: 12px; }
.notes h2 { margin-top: 9px; }
.viewer { display: grid; grid-template-columns: minmax(0, 2.8fr) minmax(230px, 1fr); gap: clamp(20px, 3vw, 42px); }
figure { margin: 0; min-width: 0; }
.stage { aspect-ratio: 4/3; position: relative; overflow: hidden; background: #ded0b9; }
.stage canvas, .stage img { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage canvas { cursor: grab; touch-action: pan-y; }
.stage canvas:active { cursor: grabbing; }
.viewer figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; border-bottom: 1px solid var(--line); padding: 10px 0; font-size: 12px; color: var(--muted); }
.viewer-details { border-top: 1px solid var(--line); padding-top: 14px; }
.measure { font: 300 clamp(30px, 3.5vw, 53px)/1 var(--serif); margin: 9px 0 5px; letter-spacing: -.045em; }
.units { font-size: 13px; color: var(--muted); }
.download { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 8px 14px; margin: 18px 0 20px; background: #48332b; color: #fff9ed; text-decoration: none; }
.download:hover { background: var(--rust); color: #fff9ed; }
#controls { margin-bottom: 20px; }
.control { display: flex; justify-content: space-between; gap: 6px 12px; font-size: 13px; }
input[type="range"] { display: block; width: 100%; min-height: 32px; accent-color: var(--rust); margin: 0 0 10px; }
button { font: inherit; font-size: 13px; color: inherit; border: 1px solid #9b8370; background: transparent; min-height: 44px; padding: 8px 12px; cursor: pointer; }
#viewer-status:empty { display: none; }
.source { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 13px; }
.source img { aspect-ratio: 3/2; width: 100%; object-fit: contain; background: #e6dac9; margin-top: 8px; }
.source a { display: block; }
@media (max-width: 740px) {
  .intro, .objects, .notes, .viewer { grid-template-columns: 1fr; }
  .objects { gap: 25px; }
  .viewer-details { border-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .specimen img { transition: none; }
  .specimen:hover img { transform: none; }
}
