.study-article { max-width: 1100px; }
.study-prose { max-width: 740px; margin-inline: auto; }
.study-article h1 { font-size: clamp(46px, 5.5vw, 76px); }
.study-status { border-left: 2px solid var(--copper); padding: 14px 20px; background: #1a201b; color: var(--muted); font-size: 16px; margin-block: 30px; }
.study-status strong { color: var(--ink); display: block; margin-bottom: 5px; }
.study-figure { max-width: 740px; margin: 42px auto; }
.study-figure img { display: block; width: 100%; height: auto; background: #202824; border: 1px solid var(--line); }
.study-figure figcaption { max-width: 740px; margin: 14px auto 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.study-figure figcaption strong { color: var(--ink); font-weight: 650; }
.study-figure a { display: block; }
.study-figure a:focus-visible { outline-offset: 4px; }
.study-figure a:hover img { border-color: var(--copper); }
.study-figure a { cursor: zoom-in; }
.study-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .study-pair { grid-template-columns: 1fr; } }
.image-viewer { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none; margin: 0; padding: 72px 24px 24px; border: 0; background: #101512fa; color: var(--ink); }
.image-viewer[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 16px; }
.image-viewer::backdrop { background: #101512; }
.image-viewer img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.image-viewer [hidden] { display: none; }
.image-viewer-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border: 1px solid var(--line); background: #202824; color: var(--ink); font: 30px/1 sans-serif; cursor: pointer; }
.image-viewer-close:hover { border-color: var(--copper); }
.image-viewer-caption { margin: 0; text-align: center; font-size: 15px; }
.image-viewer-status { align-self: center; text-align: center; }
html:has(.image-viewer[open]) { overflow: hidden; }
.study-credit { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 42px; color: var(--muted); font-size: 14px; }
.journal-entry + .journal-entry { border-top: 1px solid var(--line); padding-top: 36px; }
@media (max-width: 760px) {
  .study-figure { margin-block: 30px; }
  .study-figure figcaption { font-size: 14px; }
  .study-status { padding: 12px 16px; }
}
