/* The reading edition: photographs first, sources within reach. */
.case-site { --faint: #6e6557; }
.case-site [id] { scroll-margin-top: 72px; }
.case-site .wrap { max-width: 1260px; padding-inline: 40px; }
.cover-secondary { display:block; margin-top:18px; border:0; font:0.875rem/1.6 var(--mono); }
.research-paths { display:grid; grid-template-columns:1fr 1fr; gap:30px; margin-top:32px; }
.research-path { display:block; border:1px solid var(--rule); color:var(--ink); background:var(--paper-2); }
.research-path:hover { border-color:var(--copper); color:var(--ink); }
.path-visual { height:260px; background:#183b43; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.path-visual img { width:100%; height:100%; object-fit:contain; }
.path-objects { display:grid; grid-template-columns:1fr 1fr; grid-template-rows:minmax(0,1fr); gap:2px; background:#ddd6c8; }
.path-objects img { min-width:0; min-height:0; background:#e4ddcf; }
.path-copy { padding:28px 30px 32px; }
.path-copy h3 { font:2.2rem/1.05 var(--serif); margin:16px 0; }
.path-copy p { font-size:1.13rem; line-height:1.5; color:var(--ink-soft); }
.path-copy .text-link { margin-top:18px; }
.path-water { background:#e6e8df; }
.cover { padding-block: 58px 42px; display: grid; grid-template-columns: .85fr 1.2fr; gap: 54px; align-items: center; }
.cover h1 { font-size:clamp(2.8rem, 4.8vw, 4.5rem); line-height: 1.02; margin: 24px 0; max-width: 12ch; }
.cover .deck { font-size:1.25rem; line-height: 1.45; max-width: 34ch; color: var(--ink-soft); }
.cover .eyebrow { font-size:0.8125rem; }
.cover .edition { font:0.8125rem var(--mono); color: var(--faint); margin-top: 32px; }
.cover-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; align-items: start; }
.cover-pair figure { margin: 0; min-width: 0; }
.cover-pair .photo { height: clamp(380px, 43vw, 550px); display: flex; align-items: center; background: #fdfbf6; border: 1px solid var(--rule); padding: 14px; }
.cover-pair img { width: 100%; height: 100%; object-fit: contain; }
.cover-pair figcaption { font-size:0.8125rem; margin-top: 13px; }
.cover-pair figcaption b { display: block; margin-bottom: 5px; }
.action { display: inline-block; margin-top: 12px; padding: 13px 18px; background: var(--ink); color: var(--paper); font:0.75rem var(--mono); border: 1px solid var(--ink); }
.action:hover { background: var(--copper); color: white; }
.text-link { display: inline-block; font:0.75rem var(--mono); margin: 18px 0; }
.case-site .part { padding-block: 70px 54px; }
.case-site .part-head { grid-template-columns: 100px 1fr; margin-bottom: 30px; }
.case-site .part-head h2 { max-width: 28ch; }
.essay-grid { display: grid; grid-template-columns: .65fr 1fr; gap: 75px; }
.essay-grid > * { min-width: 0; }
.essay-grid h2 { max-width: 15ch; }
.essay-grid .prose { max-width: 680px; }
.pullquote { font-size:clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.25; max-width: 26ch; margin: 0 0 24px; }
.margin-note { font:0.875rem/1.7 var(--mono); color: var(--faint); max-width: 38ch; margin-top: 30px; }
.object-strip { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 26px; margin-top: 38px; }
.object-strip figure { margin: 0; min-width: 0; }
.object-strip img { height: 220px; object-fit: contain; background: var(--paper-2); width: 100%; }
.object-strip figcaption { font-size:0.875rem; }
.dark-part { background: #262922; color: var(--paper); }
.dark-part .eyebrow, .dark-part a { color: #e6bc91; }
.dark-part .prose, .dark-part .margin-note { color: #d7d0c3; }
.dark-part .prose p.lede { color: #f2ede2; }
.dark-part .source-inline, .dark-part figcaption { color: #bdb6a8; }
.dark-part .action { background: var(--paper); color: var(--ink); }
.case-site .collection-grid { display: block; border-top: 1px solid var(--rule); }
.case-site .investigation { display: grid; grid-template-columns: 155px 235px 1fr; column-gap: 35px; padding: 28px 0; border: 0; border-bottom: 1px solid var(--rule); background: transparent; border-radius: 0; }
.case-site .investigation .eyebrow { font-size:0.8125rem; }
.case-site .investigation h3 { margin: 0; }
.case-site .investigation .question { display: none; }
.case-site .investigation dl { margin: 0; font-size:1rem; }
.case-site .investigation dt { font-size:0.8125rem; }
.case-site .investigation dd { margin: 4px 0 12px; }
.case-site .investigation .versions { grid-column: 3; margin: 4px 0 0; }
.perspectives { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; border-top: 1px solid var(--rule); margin-top: 35px; }
.perspectives h3 { font-size:1.6rem; }
.perspectives p { font-size:1.05rem; }
.source-inline { font:0.875rem/1.6 var(--mono); color: var(--faint); }
.source-inline, .source-inline a, .source-inline li { overflow-wrap: anywhere; }
.case-site .small { font-size:0.83rem; }
.case-heading { padding-block: 54px 32px; }
.case-heading h1 { max-width: 17ch; font-size:clamp(2.8rem, 5.5vw, 4.8rem); margin-top: 20px; }
.case-heading .deck { font-size:1.3rem; max-width: 53ch; line-height: 1.4; color: var(--ink-soft); }
.compare { margin-block: 28px; border: 1px solid var(--rule); background: var(--paper-2); }
.compare-toolbar { padding: 16px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; font:0.875rem var(--mono); border-bottom: 1px solid var(--rule); }
.compare-toolbar label { display: flex; align-items: center; gap: 8px; }
.compare-toolbar select, .compare-toolbar button { max-width: 100%; min-height: 36px; font:inherit; background: var(--paper); border: 1px solid var(--rule); padding: 6px 10px; color: var(--ink); }
.compare-toolbar input[type=range] { width: 110px; accent-color: var(--copper); }
.compare-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); }
.compare-panel { min-width: 0; background: var(--paper-2); margin: 0; }
.compare-window { height: 590px; overflow: auto; position: relative; overscroll-behavior: contain; }
.compare-image { position: relative; width: 100%; margin-inline: auto; }
.compare-image img { width: 100%; max-width: none; height: auto; }
.compare-panel figcaption { padding: 16px 20px; margin: 0; font-size:0.875rem; background: var(--paper); min-height: 104px; }
.compare-panel figcaption b { display: block; margin-bottom: 6px; }
.compare-note { padding: 14px 20px; font:0.875rem/1.6 var(--mono); margin: 0; color: var(--ink-soft); }
.marker { position: absolute; border: 1.5px solid #fff5d0; outline: 1px solid #473722; background: #f9db8720; pointer-events: none; }
.marker span { position: absolute; top: -1px; left: -1px; background: #fff5d0; color: #2d2619; font:0.8125rem var(--mono); padding: 3px 5px; }
.marker[hidden] { display: none; }
.annotation-key { padding: 0 20px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; font:0.875rem/1.6 var(--mono); }
.annotation-key[hidden] { display: none; }
.read-table { width: 100%; border-collapse: collapse; margin-top: 24px; font:1rem/1.5 var(--serif); }
.read-table th, .read-table td { padding: 16px 18px 16px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.read-table thead th { font:0.875rem/1.5 var(--mono); text-transform: uppercase; color: var(--faint); }
.read-table tbody th { font-weight: 500; min-width: 140px; }
.read-table td { width: 32%; }
.status { display: inline-block; font:0.8125rem var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--moss); margin-bottom: 8px; }
.status.open { color: var(--copper); }
.timeline { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; margin: 40px 0; }
.time-event { border-top: 2px solid var(--copper); padding-top: 18px; }
.time-event strong { display: block; font-size:1.4rem; font-weight: 500; margin: 10px 0; }
.time-event p { font-size:1rem; }
.time-event .eyebrow { font-size:0.875rem; }
.evidence-tabs { margin-block: 30px; }
.tab-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.tab-buttons button { padding: 11px 16px; color: var(--ink); background: transparent; border: 1px solid var(--rule); font:0.875rem var(--mono); cursor: pointer; }
.tab-buttons button[aria-pressed=true] { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.hypothesis { padding: 24px 0; max-width: 780px; }
.hypothesis h3 { margin-top: 0; font-size:1.6rem; }
.hypothesis dt { font:0.875rem var(--mono); text-transform: uppercase; color: var(--copper); margin-top: 24px; }
.hypothesis dd { margin: 6px 0; }
.hypothesis[hidden] { display: none; }
.research-steps { list-style: none; counter-reset: steps; padding: 0; }
.research-steps li { counter-increment: steps; padding: 22px 0 22px 60px; border-top: 1px solid var(--rule); position: relative; }
.research-steps li::before { content: '0' counter(steps); position: absolute; left: 0; top: 24px; color: var(--copper); font:0.85rem var(--mono); }
.research-steps b { display: block; font-weight: 500; font-size:1.25rem; }
.case-sources { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; }
.case-sources article { min-width: 0; border-top: 1px solid var(--rule); padding-top: 14px; }
.case-sources h3 { font-size:1.1rem; margin: 0 0 10px; }
.case-sources p { font-size:0.86rem; margin: 8px 0; }
.lab-summary { padding: 28px; background: var(--paper-2); border-left: 3px solid var(--copper); margin-block: 28px; }
.lab-summary h3 { margin-top: 0; }
.result-table-wrap { overflow-x: auto; }
.result-table-wrap table { min-width: 620px; }
.result-table-wrap th { min-width: 0; }
.result-table-wrap td { width: auto; }
.audit-example { margin: 24px 0; padding: 22px; border: 1px solid var(--rule); }
.audit-example blockquote { margin: 15px 0; font-size:1.2rem; }
.recognition-record { border-top: 1px solid var(--rule); padding: 17px 0; }
.recognition-record summary { cursor: pointer; }
.recognition-record summary span { font:0.875rem var(--mono); color: var(--faint); display: inline-block; margin-left: 12px; }
.recognition-body { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 35px; }
.recognition-body figure { align-self: start; }
.recognition-body p { font-size:1rem; }
.recognition-body h4 { font:0.875rem var(--mono); margin-top: 25px; }
.recognition-photo { position: relative; }
.recognition-photo img { width: 100%; }
.recognition-photo .model-box { position: absolute; border: 2px solid #fcee8c; outline: 1px solid #302310; background: #ffee9928; pointer-events: none; }
.box-link { border: 0; border-bottom: 1px dotted currentColor; padding: 3px 0; font:inherit; color: inherit; cursor: pointer; background: transparent; }
.box-link[aria-pressed=true] { outline: 2px solid var(--copper); }
.outcome-wrong { color: #993c24; }
.outcome-abstained, .outcome-missing { color: #76653d; }
.outcome-uncertain { color: #76653d; }
.context-gallery { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; margin-top: 30px; }
.context-gallery figure { min-width: 0; margin: 0; }
.context-gallery figure > a { display: block; border: 0; background: var(--paper-2); }
.context-gallery img { width: 100%; height: 350px; object-fit: contain; }
.context-gallery figcaption { font:1rem/1.5 var(--serif); }
.context-gallery figcaption b { display: block; font-size:1.15rem; margin-bottom: 10px; }
.context-gallery figcaption span { display: block; font:0.8125rem/1.6 var(--mono); color: var(--faint); margin-top: 12px; }
.relation-table caption { text-align: left; font:0.875rem/1.6 var(--mono); color: var(--faint); }
.context-record { border-top: 1px solid var(--rule); padding: 20px 0; }
.context-record summary { cursor: pointer; font-size:1.2rem; }
.context-record summary span { display: block; font:0.875rem/1.6 var(--mono); color: var(--faint); margin-top: 7px; }
.context-record dl { max-width: 820px; }
.context-record dt { margin-top: 18px; font:0.875rem var(--mono); color: var(--copper); }
.context-record dd { margin: 5px 0; }
.trial-conditions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 35px 0 20px; }
.trial-condition { padding: 22px; background: var(--paper-2); border-top: 2px solid var(--copper); }
.trial-condition .eyebrow { font-size:0.8125rem; line-height: 1.6; }
.trial-condition p { font-size:0.95rem; margin: 0 0 16px; }
.trial-condition p.source-inline { font-size:0.8125rem; margin: 16px 0 0; }
.trial-score { font-size:3.3rem; line-height: 1.2; margin-top: 15px; }
.trial-score span { font-size:1.3rem; color: var(--faint); }
.trial-bar { height: 5px; background: var(--rule); }
.trial-bar span { display: block; height: 100%; background: var(--moss); }
.trial-object { margin-top: 45px; font-size:1.7rem; }
.second-input { margin-top: 25px; width: 100%; }
.audit-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 24px; }
.audit-photos figure { margin: 0; min-width: 0; }
.audit-photos .recognition-photo { max-width: 240px; margin-inline: auto; }
.audit-photos figcaption { font-size:0.875rem; }
.audit-photos figcaption b { display: block; margin-bottom: 8px; }
.audit-box { position: absolute; pointer-events: none; border: 2px solid; }
.audit-box span { position: absolute; top: 0; left: 0; padding: 2px 3px; font:0.75rem var(--mono); white-space: nowrap; }
.audit-model { border-color: #fff290; outline: 1px solid #443a00; }
.audit-model span { background: #fff290; color: #332b00; }
.audit-source { border-color: #89edf0; outline: 1px solid #12464e; }
.audit-source span { background: #89edf0; color: #12343a; }
.location-key { display: flex; flex-wrap: wrap; gap: 20px; font:0.875rem/1.6 var(--mono); }
.location-key span { padding: 7px 10px; border: 1px solid var(--rule); color: #25251e; }
.model-key { background: #fff290; }
.source-key { background: #89edf0; }
.observation-notes { font-size:0.94rem; }
.observation-notes dt { font-weight: 600; margin-top: 12px; }
.observation-notes dd { margin-left: 0; }
.compare [disabled] { opacity: .5; cursor: default; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 4px; }
@media (max-width: 950px) {
  .trial-conditions { grid-template-columns: repeat(2, 1fr); }
  .cover { gap: 26px; grid-template-columns: .9fr 1.1fr; }
  .cover h1 { font-size:3.1rem; }
  .cover-pair .photo { height: 400px; }
  .brand span { display: none; }
  .essay-grid { gap: 35px; }
  .case-site .investigation { grid-template-columns: 135px 1fr; gap: 16px 24px; }
  .case-site .investigation dl, .case-site .investigation .versions { grid-column: 2; }
  .compare-window { height: 460px; }
}
@media (max-width: 650px) {
  .research-paths { grid-template-columns:1fr; gap:22px; }
  .path-visual { height:220px; }
  .path-copy { padding:23px; }
  .path-copy h3 { font-size:1.9rem; }
  .cover-secondary { order:4; margin-top:0; }
  .trial-conditions { gap: 12px; }
  .trial-condition { padding: 16px 12px; }
  .trial-condition .eyebrow { font-size:0.75rem; }
  .audit-photos { grid-template-columns: 1fr; }
  .audit-photos figure { max-width: 300px; margin-inline: auto; }
  .context-gallery { grid-template-columns: 1fr; gap: 35px; }
  .context-gallery img { height: 300px; }
  .case-site .wrap { padding-inline: 22px; }
  .sitebar { min-height: 90px; flex-wrap:wrap; gap:12px; padding-block:16px; }
  .sitebar .brand { white-space:nowrap; }
  .sitebar .site-links { width:100%; gap:24px; font-size:0.8125rem; flex-wrap:wrap; justify-content:flex-start; }
  .cover { display: flex; flex-direction: column; padding-block: 30px; gap: 16px; align-items: stretch; }
  .cover > div:first-child { display: contents; }
  .cover .eyebrow { order: 0; }
  .cover h1 { order: 1; }
  .cover-pair { order: 2; }
  .cover .deck { order: 3; margin-block: 4px; }
  .cover .action { order: 4; align-self: flex-start; }
  .cover .edition { order: 5; }
  .cover h1 { font-size:2.9rem; max-width: 15ch; margin-block: 16px; }
  .cover .deck { font-size:1.15rem; max-width: none; }
  .cover .edition { margin-top: 20px; }
  .cover-pair .photo { height: 310px; }
  .cover-pair figcaption { font-size:0.8125rem; }
  .case-site .part { padding-block: 44px 32px; }
  .case-site .part-head { display: block; margin-bottom: 18px; }
  .essay-grid, .perspectives, .case-sources { grid-template-columns: 1fr; gap: 22px; }
  .essay-grid h2 { max-width: 24ch; }
  .margin-note { margin-top: 16px; }
  .object-strip { gap: 12px; }
  .object-strip img { height: 135px; }
  .object-strip figcaption { font-size:0.8125rem; }
  .case-site .investigation { display: block; }
  .case-site .investigation h3 { margin: 10px 0 18px; }
  .compare-toolbar { padding: 12px; gap: 10px; }
  .compare-toolbar label { flex-wrap: wrap; }
  .compare-toolbar label:first-child { width: 100%; }
  .compare-window { height: 300px; }
  .compare[data-mode=boulder] .compare-window, .compare[data-mode=archive] .compare-window { height: 200px; }
  .compare-panel figcaption { padding: 12px; font-size:0.8125rem; min-height: 140px; }
  .compare-note { font-size:0.8125rem; padding: 12px; }
  .annotation-key { padding: 0 12px 12px; font-size:0.8125rem; gap: 12px; }
  .marker span { font-size:0.75rem; }
  .timeline { grid-template-columns: 1fr; margin-block: 28px; }
  .time-event { padding-top: 12px; }
  .read-table { font-size:0.87rem; }
  .read-table th, .read-table td { padding: 12px 9px 12px 0; }
  .read-table tbody th { min-width: 65px; }
  .read-table thead th { font-size:0.75rem; }
  .case-heading { padding-block: 35px 16px; }
  .case-heading .deck { font-size:1.15rem; }
  .lab-summary { padding: 20px; }
  .recognition-body { grid-template-columns: 1fr; gap: 0; }
  .recognition-body figure { max-width: 290px; }
  .recognition-body .read-table { font-size:0.77rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .sitebar, nav.toc, .compare-toolbar, .tab-buttons, .skip-link { display: none; }
  .case-site .wrap { max-width: none; padding: 0; }
  .compare-window { height: auto; overflow: visible; }
  .compare-image { width: 100% !important; }
  .hypothesis[hidden] { display: block; }
  .dark-part { background: white; color: black; }
  .dark-part .prose { color: black; }
}
