/* Shared archive materials. All typefaces and assets are available offline. */
:root {
  --ink: #233631;
  --dark: #142923;
  --deep: #10211d;
  --paper: #f2efe5;
  --sheet: #faf7ef;
  --folder: #ded7c5;
  --muted: #656b60;
  --copper: #8f5239;
  --line: #cbc9bc;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', Arial, sans-serif;
  --series: #496854;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.75 var(--sans); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #ba805c; outline-offset: 6px; }
::selection { background: #a56645; color: white; }
.skip-link { position: fixed; top: -100px; left: 20px; background: var(--sheet); padding: 10px 20px; z-index: 100; }
.skip-link:focus { top: 10px; }
.eyebrow { text-transform: uppercase; font-size: 10px; letter-spacing: .19em; line-height: 1.6; font-weight: 600; }
.margin-note { font: italic 20px/1.3 var(--serif); letter-spacing: -.04em; transform: rotate(-6deg); }
.section { width: 86%; max-width: 1240px; margin: auto; padding: 112px 0; }
[data-series="wilkins"] { --series: #8c6248; }

/* Quiet navigation above the opening spread. */
.site-header { min-height: 98px; padding: 22px 7%; background: var(--dark); color: var(--paper); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #e5e5ce26; }
.brand { font: 24px/1.2 var(--serif); white-space: nowrap; }
.brand span { display: block; margin-top: 8px; font: 8px/1.5 var(--sans); letter-spacing: .25em; }
.site-header nav { display: flex; align-items: center; gap: 36px; font-size: 12px; }
.site-header nav a { padding: 12px 0; border-bottom: 1px solid transparent; }
.site-header nav a:hover { border-color: #c1a587; }
.site-header nav a:last-child { margin-left: 22px; }
.menu-toggle { display: none; background: none; border: 1px solid #ffffff50; color: inherit; padding: 9px 13px; }

/* The first viewport is an archival title page with a single featured file. */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--dark); color: var(--paper); }
.hero-landscape { position: absolute; inset: 0; z-index: -2; background: url('see-landschaft.svg') center 54%/cover no-repeat; opacity: .43; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #142923 3%, #142923d9 38%, #14292328 76%), linear-gradient(0deg, #142923 0%, transparent 48%); }
.hero-inner { width: 86%; max-width: 1400px; margin: auto; display: grid; grid-template-columns: 1.18fr 1fr; align-items: center; gap: 8%; min-height: min(710px, calc(100svh - 158px)); padding: 48px 0 56px; }
.hero-copy { position: relative; z-index: 2; animation: enter .7s ease both; }
.hero .eyebrow { color: #c5c8b6; }
.tiny-line { display: inline-block; width: 28px; height: 1px; margin-right: 12px; background: #c5ad89; vertical-align: middle; }
.hero-author { font: clamp(56px, 5.5vw, 80px)/.96 var(--serif); letter-spacing: -.055em; margin: 26px 0; }
.author-period { color: #c1a17c; }
.hero h1 { font: italic clamp(26px, 2.55vw, 39px)/1.15 var(--serif); letter-spacing: -.025em; margin: 0 0 18px; color: #dddacb; }
.hero h1 br { display: none; }
.hero-featured-series { margin: 0 0 9px; color: #c5ad89; font-size: 12px; letter-spacing: .04em; }
.hero h1.hero-book-title { font: clamp(34px, 3.6vw, 52px)/1.08 var(--serif); letter-spacing: -.035em; color: var(--sheet); max-width: 12em; margin-bottom: 16px; text-wrap: balance; }
.hero-tagline { font: italic clamp(22px, 2vw, 29px)/1.25 var(--serif); color: #dddacb; margin-bottom: 14px; }
.hero-tagline br { display: none; }
.hero-intro { font-size: 13px; color: #bdc8bd; line-height: 1.8; margin-bottom: 26px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 48px; padding: 13px 23px; border: 1px solid transparent; font-size: 12px; font-weight: 600; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-light { background: var(--paper); color: var(--ink); }
.button-light:hover { background: white; }
.button-dark { background: var(--dark); color: var(--paper); }
.button[disabled] { background: #dcded3; color: #555f55; border-color: #c5c8bb; cursor: not-allowed; transform: none; }
.hero-book { position: relative; width: min(100%, 308px); margin: 20px auto 0; animation: enter .9s .12s ease both; }
.hero-file-number { position: absolute; right: -100px; top: -67px; font: 210px/.9 var(--serif); letter-spacing: -.09em; color: #ede4cc0d; pointer-events: none; }
.book-note { position: relative; display: flex; justify-content: space-between; margin: 0 0 27px; font-size: 9px; }
.book-object { position: relative; display: block; padding: 28px 34px 14px; background: #c5bda5; border-left: 9px solid #a79b7e; transform: rotate(4deg); box-shadow: 9px 14px 0 -5px #867f68, 18px 21px 0 -10px #a79f87, 20px 28px 42px #08120e66; transition: transform .4s; }
.book-object::before { content: ''; position: absolute; top: -15px; left: -9px; width: 46%; height: 16px; background: #c5bda5; border-radius: 5px 9px 0 0; }
.book-object img { box-shadow: 3px 5px 8px #122d2533; }
.book-file-label { display: block; font-size: 7px; letter-spacing: .19em; color: #384338; margin-bottom: 12px; }
.book-file-open { display: flex; justify-content: space-between; margin-top: 17px; color: #293a30; font-size: 10px; }
.book-object:hover { transform: rotate(1deg) translateY(-5px); }
.hero-cover { position: relative; }
.hero-margin-note { position: absolute; bottom: 48px; left: -71px; padding: 9px 13px; background: #e5dfca; color: #3d4c3e; box-shadow: 1px 4px 10px #0002; font-size: 19px; pointer-events: none; }
.hero-book-caption { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 34px; font-size: 11px; color: #c9d0c1; }
.hero-book-caption a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; border-bottom: 1px solid #909d8a; white-space: nowrap; }
.hero-bottom { margin: 0 7%; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #d0d5bd30; color: #bfc8b6; font-size: 9px; letter-spacing: .06em; }
.hero-location { font-size: 8px; letter-spacing: .14em; }
.hero-bottom a { padding: 12px 0; }
.hero-bottom a span { margin-left: 18px; }

/* Closed case files, with shared signatures across the series. */
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 54px; }
h2, .section-heading h2 { font-size: clamp(43px, 4.5vw, 66px); letter-spacing: -.045em; margin-bottom: 0; }
.section-heading .eyebrow { color: var(--copper); margin-bottom: 22px; }
.section-heading > p { color: var(--muted); font-size: 13px; max-width: 350px; margin-bottom: 5px; }
.archive-register { display: flex; gap: 24px; justify-content: space-between; border-top: 1px solid var(--ink); padding: 14px 0 48px; font-size: 9px; text-transform: uppercase; letter-spacing: .13em; color: var(--muted); }
.archive-register span:first-child { color: var(--ink); }
.dossier { display: grid; grid-template-columns: .9fr 1.1fr; position: relative; background: var(--sheet); border: 1px solid #b9b9a7; border-left: 8px solid var(--series); box-shadow: 4px 5px 0 var(--paper), 5px 6px 0 #c4c2b2, 9px 10px 0 var(--paper), 10px 11px 0 #d4d0c0, 0 20px 30px #35433308; }
.dossier::before { content: attr(data-file-label); position: absolute; top: -29px; left: -8px; padding: 6px 27px; background: var(--series); color: #f3efdf; border-radius: 4px 8px 0 0; font-size: 9px; letter-spacing: .17em; }
.dossier-visual { min-height: 510px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 70px 44px 44px; position: relative; background: var(--folder); border-right: 1px solid #c5bfad; }
.dossier-visual::before { content: ''; position: absolute; inset: 27px; border: 1px solid #8e927b40; pointer-events: none; }
.dossier-visual::after { content: 'Beilage 01'; position: absolute; right: 30px; bottom: 29px; font: italic 18px var(--serif); color: #65715b; transform: rotate(-7deg); }
.file-index { position: absolute; top: 40px; left: 43px; font-size: 9px; letter-spacing: .19em; color: #4a5747; }
.dossier-visual a { padding: 8px; background: #f3efdf; transform: rotate(-4deg); box-shadow: 8px 11px 16px #2b3d3226; transition: transform .4s; }
.dossier-visual a:hover { transform: rotate(-1deg) translateY(-4px); }
.dossier-visual img { width: 195px; }
.visual-caption { display: block; margin-top: 27px; font-size: 8px; text-transform: uppercase; letter-spacing: .12em; color: #5c6455; }
.dossier-copy { position: relative; padding: 46px 11% 42px; background: linear-gradient(90deg, #cdc7b326, transparent 18px); }
.dossier-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; align-items: center; margin-bottom: 29px; }
.dossier-meta .eyebrow { margin: 0; color: var(--series); }
.status { font-size: 9px; color: #4c614c; white-space: nowrap; }
.status::before { content: ''; display: inline-block; width: 5px; height: 5px; margin-right: 7px; background: #637c59; border-radius: 50%; }
.dossier h3 { font-size: clamp(42px, 4.5vw, 64px); letter-spacing: -.04em; margin-bottom: 15px; }
.volume { color: var(--copper); font-size: 12px; margin-bottom: 25px; }
.dossier-copy > p:not(.volume) { font-size: 13px; color: var(--muted); max-width: 420px; }
.placeholder-note { font-size: 12px !important; font-style: italic; }
.book-facts { display: flex; gap: 40px; margin: 27px 0 21px; padding: 17px 0; border-block: 1px solid var(--line); }
.book-facts span { display: block; font-size: 10px; color: var(--muted); }
.book-facts strong { font-size: 14px; font-weight: 500; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; padding: 10px 0; min-height: 44px; border-bottom: 1px solid var(--copper); font-size: 12px; font-weight: 600; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translate(3px, -3px); }
.archive-future { display: grid; grid-template-columns: 1fr 2fr auto; align-items: center; gap: 35px; padding: 43px 0 35px; }
.archive-future .eyebrow { margin: 0; color: var(--copper); }
.archive-future p { margin: 0; max-width: 500px; color: var(--muted); font-size: 12px; }
.series-register { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--line); }
.series-entry { display: flex; align-items: center; gap: 22px; padding: 28px 28px 28px 0; position: relative; }
.series-entry + .series-entry { padding-left: 32px; border-left: 1px solid var(--line); }
.series-code { border-top: 3px solid var(--series); font: 26px var(--serif); color: var(--series); padding-top: 12px; align-self: start; }
.series-entry .eyebrow { color: var(--muted); font-size: 8px; margin-bottom: 9px; }
.series-entry h3 { font-size: 25px; letter-spacing: -.025em; margin-bottom: 9px; }
.series-entry p:last-child { font-size: 11px; color: var(--muted); margin: 0; }
.series-mark { margin-left: auto; color: var(--series); font: 12px var(--serif); }

/* Compact release register between the hero and the case files. */
.upcoming { background: #e9e5d9; border-bottom: 1px solid var(--line); }
.upcoming[hidden], .upcoming-entry[hidden] { display: none; }
.upcoming .upcoming-inner { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; padding-block: 38px; }
.upcoming-heading .eyebrow { color: var(--copper); margin-bottom: 14px; }
.upcoming-heading h2 { font-size: 36px; letter-spacing: -.035em; }
.upcoming-list { list-style: none; padding: 0; margin: 0; }
.upcoming-entry { display: grid; grid-template-columns: 135px minmax(0, 1fr); gap: 24px; padding-block: 18px; border-top: 1px solid #bcbdae; }
.upcoming-entry:first-child { padding-top: 0; border-top: 0; }
.upcoming-entry:last-child { padding-bottom: 0; }
.upcoming-date { font: 26px/1.2 var(--serif); }
.upcoming-date span { display: block; margin-top: 8px; font: 12px/1.5 var(--sans); letter-spacing: .12em; color: var(--muted); }
.upcoming-copy .eyebrow { margin-bottom: 6px; font-size: 9px; color: var(--copper); letter-spacing: .09em; }
.upcoming-copy .eyebrow span { display: inline-block; }
.upcoming-copy h3 { font-size: 24px; line-height: 1.2; margin-bottom: 6px; overflow-wrap: break-word; hyphens: auto; }
.upcoming-copy h3 a { transition: color .2s; }
.upcoming-copy h3 a:hover { color: var(--copper); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.upcoming-copy h3 a span { font: 16px var(--sans); white-space: nowrap; }
.upcoming-copy > p:last-child { font-size: 13px; color: var(--muted); margin-bottom: 0; }
@media (max-width: 1000px) {
  .upcoming .upcoming-inner { grid-template-columns: 210px minmax(0, 1fr); gap: 32px; }
  .upcoming-entry { grid-template-columns: 110px minmax(0, 1fr); gap: 20px; }
  .upcoming-date { font-size: 23px; }
}
@media (max-width: 760px) {
  .upcoming .upcoming-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 30px; }
  .upcoming-heading h2 { font-size: 32px; }
  .upcoming-heading .eyebrow { margin-bottom: 10px; }
  .upcoming-entry { grid-template-columns: 125px minmax(0, 1fr); gap: 20px; }
  .upcoming-copy h3 { font-size: 22px; }
}
@media (max-width: 540px) {
  .upcoming-entry { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .upcoming-date { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; font-size: 23px; }
  .upcoming-date span { margin-top: 0; }
}

/* Personal file and loose journal sheets. */
.author-section { background: #e4e3d7; border-block: 1px solid #cfcebf; }
.author-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; align-items: start; }
.portrait-placeholder { aspect-ratio: 1; background: #c7cbbd; position: relative; display: flex; align-items: center; justify-content: center; border: 12px solid #efede2; box-shadow: 0 1px 0 #b6b6a5, 7px 9px 0 #d2d2c3; transform: rotate(-2deg); }
.portrait-placeholder::after { content: ''; position: absolute; inset: 16px; border: 1px solid #4f675627; pointer-events: none; }
.portrait-monogram { font: 150px/.8 var(--serif); letter-spacing: -.13em; color: #657761; padding-right: .13em; }
.portrait-corner { position: absolute; top: 31px; left: 30px; font-size: 8px; text-transform: uppercase; letter-spacing: .13em; }
.portrait-label { position: absolute; bottom: 30px; font-size: 11px; color: #4f5e4c; }
.author-copy .eyebrow { color: var(--copper); }
.author-name { font: 28px var(--serif); margin: 28px 0 19px; }
.author-copy > p:not(.eyebrow):not(.author-name) { font-size: 14px; color: var(--muted); }
.author-personal { margin: 30px 0; max-width: 62ch; }
.author-personal .eyebrow { display: block; margin-bottom: 18px; }
.author-personal p { font-size: 15px; line-height: 1.85; }
.author-personal p:last-child { margin-bottom: 0; }
.journal-list { border-top: 1px solid var(--ink); }
.journal-entry { display: grid; grid-template-columns: 65px 1fr 70px; gap: 28px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--line); }
.journal-number { color: #78836e; font: italic 30px var(--serif); align-self: start; padding-top: 4px; }
.journal-entry .eyebrow { color: var(--copper); font-size: 9px; margin-bottom: 11px; }
.journal-entry h3 { font-size: 30px; letter-spacing: -.025em; margin-bottom: 13px; }
.journal-entry p:last-child { max-width: 720px; font-size: 13px; color: var(--muted); margin: 0; }
.round-link { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #acb5a2; transition: background .2s; }
.round-link:hover { background: #e0e2d4; }
.journal-date { font-size: 10px; letter-spacing: .14em; line-height: 1.8; text-align: center; color: var(--muted); }
.contact-section { background: var(--dark); color: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13%; align-items: center; }
.contact-grid .eyebrow { color: #c7b494; }
.contact-copy { font-size: 14px; color: #c1cab9; }
.contact-pending { font: 24px/1.5 var(--serif); color: var(--paper); border-bottom: 1px solid #d2d4b632; padding: 9px 0 25px; margin-bottom: 20px; }
.social-pending { display: flex; justify-content: space-between; font-size: 11px; gap: 20px; }
.social-pending span:last-child { color: #b2c0a6; }
.site-footer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 44px 7%; background: var(--deep); color: #c4cfbc; }
.site-footer .brand { font-size: 23px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 11px; }
.footer-links a { padding: 8px 0; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer p { font-size: 10px; color: #a6b79d; margin: 0; }
.back-top { font-size: 11px; justify-self: end; padding: 10px 0; }

/* Open folder: a reference pocket and a readable document, with real anchors. */
.detail-page { background: var(--dark); }
.detail-main { padding: 35px 0 90px; max-width: 1260px; }
.breadcrumbs { font-size: 11px; color: #bdc7b7; margin-bottom: 30px; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 4px; padding-block: 8px; display: inline-block; }
.case-toolbar { display: flex; justify-content: space-between; align-items: center; color: #d2d7c8; gap: 20px; padding: 12px 0 36px; }
.case-toolbar .eyebrow { margin: 0; font-size: 9px; }
.case-toolbar a { display: flex; align-items: center; gap: 24px; font-size: 11px; min-height: 44px; }
.case-toolbar a span { font-size: 23px; }
.detail-grid { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; align-items: stretch; background: var(--folder); border: 7px solid #b7ae93; border-radius: 0 3px 3px 3px; box-shadow: 0 24px 60px #07181155; }
.detail-grid::before { content: attr(data-file-label); position: absolute; top: -30px; left: -7px; height: 25px; padding: 5px 22px; background: #b7ae93; border-radius: 4px 9px 0 0; color: #2f4133; font-size: 9px; letter-spacing: .12em; }
.detail-evidence { padding: 36px 10%; background: linear-gradient(90deg, transparent 94%, #5b59411c); border-right: 1px solid #a9a28b; }
.evidence-heading { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #aaa88e; margin-bottom: 32px; padding-bottom: 19px; }
.evidence-heading .eyebrow { margin: 0; }
.evidence-number { font: 55px/.9 var(--serif); letter-spacing: -.06em; color: #6f795d; }
.detail-cover { padding: 0 16px; max-width: 300px; margin: auto; }
.detail-cover img { box-shadow: 7px 11px 20px #1e332f30; transform: rotate(-3deg); border: 6px solid #f3efe3; }
.detail-cover .visual-caption { text-align: center; line-height: 1.7; margin-top: 23px; }
.evidence-caption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; align-items: center; margin: 34px 0 40px; }
.evidence-caption .eyebrow { margin: 0; font-size: 8px; }
.evidence-caption .margin-note { color: #657052; }
.document-register { position: sticky; top: 32px; padding-top: 25px; border-top: 1px solid #aaa88e; }
.document-register > p { color: #586149; margin-bottom: 14px; font-size: 9px; }
.document-register a { display: flex; gap: 16px; padding: 13px 0; border-bottom: 1px solid #bcb9a4; font-size: 12px; }
.document-register a span:first-child { color: #6b755c; font-size: 10px; }
.document-register a span:last-child { margin-left: auto; }
.document-register a:hover { color: #8f5239; }
.detail-copy { position: relative; margin: 16px 16px 16px 0; padding: 29px 9% 25px; background: var(--sheet); border-left: 1px solid #efebdf; box-shadow: 3px 3px 0 #c4beaa, 6px 6px 0 #e8e2d1; }
.document-topline, .document-bottomline { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 16px; color: var(--muted); font-size: 8px; letter-spacing: .12em; }
.document-topline .eyebrow { font-size: 8px; margin: 0; color: var(--copper); }
.document-topline > span { white-space: nowrap; }
.detail-copy h1 { font-size: clamp(43px, 4.6vw, 68px); letter-spacing: -.05em; margin: 34px 0 20px; }
.detail-copy h2 { font-size: 28px; margin: 40px 0 18px; letter-spacing: -.025em; scroll-margin-top: 32px; }
.detail-copy p { color: var(--muted); font-size: 14px; }
.detail-copy .volume { color: var(--copper); }
.document-section-number { font: 10px var(--sans); color: var(--copper); letter-spacing: .03em; vertical-align: middle; margin-right: 5px; }
.publication-list { margin: 23px 0; }
.publication-list div { display: grid; grid-template-columns: 100px 1fr; gap: 15px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.publication-list dt { color: var(--muted); }
.publication-list dd { margin: 0; }
.purchase { margin-top: 40px; border-top: 2px solid var(--series); padding: 23px 0; }
.purchase > .eyebrow { font-size: 9px; }
.purchase h2 { margin-top: 0; }
.purchase-price { font: 42px var(--serif); margin: 23px 0; }
.purchase-price span { font: 12px var(--sans); color: var(--muted); margin-left: 12px; }
.purchase-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 17px; }
.purchase-actions .button { padding: 12px 16px; font-size: 11px; }
#purchase-note { font-size: 12px; }
.document-bottomline { border-bottom: 0; border-top: 1px solid var(--line); margin-top: 36px; padding: 18px 0 0; font-size: 7px; }
.legal { max-width: 850px; min-height: 65vh; }
.legal h1 { font-size: clamp(40px, 6vw, 66px); }
.legal h2 { font-size: 27px; margin: 32px 0 16px; }
.legal .notice { border-left: 2px solid var(--copper); padding: 15px 25px; background: #e6e4da; }
.legal p { font-size: 15px; }
.legal li { font-size: 15px; margin-bottom: 8px; }
.legal p a { text-decoration: underline; text-underline-offset: 3px; }
.legal p, .legal li, .legal h2 { overflow-wrap: anywhere; }

/* A short entrance, a quiet reveal, and the lift of a folder cover. */
.reveal { opacity: 1; }
.motion-ready .reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s, transform .55s, box-shadow .25s; }
.motion-ready .reveal.is-visible { opacity: 1; transform: none; }
@keyframes enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 1600px) {
  .hero-inner { min-height: 760px; }
  .hero-book { width: 350px; }
}
@media (max-width: 1100px) {
  .site-header { padding-inline: 5%; }
  .site-header nav { gap: 24px; }
  .section, .hero-inner { width: 90%; }
  .hero-inner { gap: 5%; }
  .hero-book { width: 265px; }
  .hero-author { font-size: 64px; }
  .hero-file-number { right: -40px; }
  .hero-margin-note { left: -40px; }
  .hero-location { display: none; }
  .dossier-copy { padding: 38px 8%; }
  .dossier-visual { padding-inline: 32px; }
  .archive-future { grid-template-columns: 1fr 2fr; gap: 18px 30px; }
  .archive-future a { grid-column: 2; justify-self: start; }
  .series-mark { display: none; }
  .author-grid, .contact-grid { gap: 8%; }
  .detail-main { width: 93%; }
  .detail-evidence { padding-inline: 8%; }
  .detail-copy { padding-inline: 7%; }
}
@media (max-width: 760px) {
  .site-header { min-height: 86px; padding: 18px 6%; gap: 16px; flex-wrap: wrap; }
  .brand { font-size: 22px; }
  .site-header nav { width: 100%; justify-content: space-between; gap: 12px; font-size: 12px; }
  .site-header nav a:last-child { margin-left: 0; }
  .menu-toggle:not([hidden]) { display: block; }
  .js-menu nav:not(.is-open) { display: none; }
  .js-menu nav { padding-top: 6px; }
  .hero-inner { width: 88%; grid-template-columns: 1.15fr 1fr; gap: 30px; min-height: 570px; padding-block: 44px; }
  .hero-author { font-size: clamp(44px, 7.5vw, 60px); }
  .hero h1 { font-size: 27px; }
  .hero-book { width: 220px; }
  .book-object { padding: 22px 24px 12px; }
  .hero-file-number { right: -16px; font-size: 150px; top: -40px; }
  .hero-margin-note { left: -20px; bottom: 38px; font-size: 15px; }
  .hero-book-caption { flex-direction: column; gap: 7px; align-items: start; }
  .book-note { font-size: 8px; letter-spacing: .08em; }
  .hero-intro { font-size: 12px; }
  .hero-intro br { display: none; }
  .hero-copy .button { gap: 20px; padding-inline: 16px; font-size: 11px; }
  .hero-bottom { margin-inline: 6%; font-size: 8px; }
  .section { width: 88%; padding-block: 76px; }
  .section-heading { align-items: start; gap: 25px; }
  .section-heading > p { max-width: 240px; padding-top: 38px; font-size: 12px; }
  .archive-register span:last-child { display: none; }
  .dossier { grid-template-columns: .8fr 1.2fr; }
  .dossier-visual { padding: 60px 24px 48px; }
  .dossier-visual::before { inset: 14px; }
  .file-index { left: 25px; top: 28px; font-size: 8px; }
  .dossier-visual::after { font-size: 15px; right: 20px; bottom: 20px; }
  .dossier h3 { font-size: 40px; }
  .dossier-copy { padding: 30px 8%; }
  .dossier-meta { gap: 8px; margin-bottom: 19px; }
  .dossier-meta .eyebrow { font-size: 9px; }
  .book-facts { gap: 20px; }
  .series-entry { gap: 16px; padding-right: 16px; }
  .series-entry + .series-entry { padding-left: 22px; }
  .series-entry h3 { font-size: 23px; }
  .series-code { font-size: 22px; }
  .author-grid { gap: 8%; }
  .portrait-monogram { font-size: 95px; }
  .portrait-corner { top: 23px; left: 24px; max-width: 120px; }
  .portrait-label { bottom: 24px; font-size: 9px; }
  .journal-entry { grid-template-columns: 35px 1fr 45px; gap: 20px; }
  .journal-entry h3 { font-size: 27px; }
  .contact-grid { gap: 6%; }
  .contact-grid h2 { font-size: 43px; }
  .site-footer { grid-template-columns: 1fr; padding: 36px 6%; gap: 25px; }
  .back-top { justify-self: start; }
  .detail-main { width: 90%; padding-top: 24px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-evidence { display: grid; grid-template-columns: 170px 1fr; gap: 0 32px; padding: 28px; border: 0; }
  .evidence-heading { grid-column: 2; margin-bottom: 20px; }
  .detail-cover { grid-column: 1; grid-row: 1 / 4; padding: 0; }
  .detail-cover .visual-caption { font-size: 7px; }
  .evidence-caption { grid-column: 2; margin: 0 0 18px; }
  .document-register { position: static; grid-column: 2; padding-top: 15px; }
  .document-register a { padding-block: 10px; }
  .document-register > p { margin-bottom: 7px; }
  .detail-copy { margin: 0 12px 15px; padding: 28px 7%; }
  .detail-copy h1 { font-size: 60px; }
}
@media (max-width: 540px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; padding: 28px 0 24px; }
  .hero .eyebrow { font-size: 8px; }
  .hero-author { font-size: 44px; margin: 18px 0 22px; }
  .hero h1.hero-book-title { font-size: clamp(32px, 8.8vw, 42px); }
  .hero-tagline { font-size: 21px; }
  .hero h1 { font-size: 25px; max-width: 320px; margin-bottom: 15px; }
  .hero-intro { font-size: 13px; max-width: 300px; margin-bottom: 22px; }
  .hero-copy .button { padding-inline: 20px; font-size: 12px; gap: 28px; }
  .hero-book { width: 200px; margin: 7px auto 0; }
  .hero-book .book-object { padding: 17px 18px 10px; }
  .hero-book .book-file-label { font-size: 6px; margin-bottom: 8px; }
  .hero-book .book-file-open { font-size: 9px; margin-top: 10px; }
  .book-note { margin-bottom: 22px; }
  .hero-book-caption { flex-direction: column; align-items: stretch; font-size: 11px; gap: 6px; margin-top: 22px; }
  .hero-file-number { top: -28px; right: -55px; font-size: 160px; }
  .hero-margin-note { left: -38px; bottom: 28px; font-size: 14px; padding: 7px 10px; }
  .hero-bottom { align-items: center; letter-spacing: 0; gap: 15px; }
  .hero-bottom > span { max-width: 130px; }
  .hero-bottom a span { margin-left: 5px; }
  .section { padding-block: 62px; }
  .section-heading { display: block; margin-bottom: 32px; }
  .section-heading h2, h2 { font-size: 44px; }
  .section-heading > p { padding: 0; margin: 23px 0 0; max-width: 100%; font-size: 13px; }
  .archive-register { gap: 15px; font-size: 7px; padding-top: 13px; padding-bottom: 45px; letter-spacing: .09em; }
  .dossier { grid-template-columns: 1fr; border-left-width: 6px; }
  .dossier::before { left: -6px; }
  .dossier-visual { min-height: 335px; padding: 48px 30px 28px; border-right: 0; border-bottom: 1px solid #c4beaa; }
  .dossier-visual img { width: 148px; }
  .dossier-visual .visual-caption { font-size: 7px; margin-top: 20px; }
  .dossier-visual::after { bottom: 50px; right: 18px; font-size: 14px; }
  .dossier-copy { padding: 30px 8% 29px; }
  .dossier h3 { font-size: 46px; }
  .dossier-meta { justify-content: space-between; margin-bottom: 22px; }
  .dossier-copy > p:not(.volume) { font-size: 13px; }
  .book-facts { gap: 30px; margin-block: 22px 17px; }
  .book-facts strong { font-size: 12px; }
  .archive-future { grid-template-columns: 1fr; gap: 15px; padding-top: 36px; }
  .archive-future p { font-size: 13px; }
  .archive-future a { grid-column: auto; }
  .series-register { grid-template-columns: 1fr; }
  .series-entry, .series-entry + .series-entry { padding: 25px 0; border-left: 0; gap: 24px; }
  .series-entry + .series-entry { border-top: 1px solid var(--line); }
  .series-mark { display: block; }
  .series-entry h3 { font-size: 26px; }
  .author-grid { grid-template-columns: 1fr; gap: 46px; }
  .portrait-placeholder { width: 90%; margin: auto; aspect-ratio: 1.1; }
  .portrait-monogram { font-size: 125px; }
  .portrait-corner { max-width: none; }
  .portrait-label { font-size: 10px; }
  .journal-entry { grid-template-columns: 28px 1fr; gap: 15px; padding-block: 28px; }
  .journal-number { font-size: 24px; }
  .journal-entry h3 { font-size: 27px; }
  .journal-entry .round-link, .journal-date { grid-column: 2; justify-self: start; }
  .journal-date br { display: none; }
  .journal-date br::after { content: ' '; }
  .journal-date { letter-spacing: .06em; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-pending { font-size: 22px; }
  .footer-links { gap: 10px 22px; }
  .detail-main { padding-top: 22px; padding-bottom: 50px; }
  .breadcrumbs { font-size: 10px; margin-bottom: 9px; }
  .case-toolbar { gap: 10px; padding-bottom: 36px; }
  .case-toolbar .eyebrow { max-width: 160px; font-size: 8px; }
  .case-toolbar a { font-size: 10px; gap: 12px; white-space: nowrap; }
  .detail-grid { border-width: 5px; }
  .detail-grid::before { left: -5px; top: -28px; font-size: 8px; padding-inline: 16px; }
  .detail-evidence { grid-template-columns: 108px 1fr; padding: 23px 18px; gap: 0 22px; }
  .evidence-heading { padding-bottom: 12px; margin-bottom: 15px; }
  .evidence-heading .eyebrow { font-size: 8px; }
  .evidence-number { font-size: 39px; }
  .detail-cover { grid-row: 1 / 3; }
  .detail-cover img { border-width: 4px; }
  .detail-cover .visual-caption { margin-top: 16px; font-size: 6px; }
  .evidence-caption { display: block; align-self: start; }
  .evidence-caption .eyebrow { font-size: 7px; }
  .evidence-caption .margin-note { display: block; margin-top: 18px; font-size: 18px; }
  .document-register { grid-column: 1 / -1; margin-top: 22px; }
  .document-register a { padding-block: 11px; }
  .detail-copy { margin: 0 7px 10px; padding: 22px 7%; }
  .document-topline { gap: 12px; font-size: 7px; }
  .document-topline .eyebrow { max-width: 150px; font-size: 7px; }
  .detail-copy h1 { font-size: clamp(37px, 10.5vw, 55px); margin-top: 28px; }
  .detail-copy h2 { font-size: 26px; line-height: 1.2; }
  .detail-copy p { font-size: 13px; }
  .publication-list div { grid-template-columns: 82px 1fr; gap: 12px; font-size: 11px; }
  .purchase-actions { flex-direction: column; }
  .purchase-actions .button { justify-content: center; }
  .document-bottomline { font-size: 6px; gap: 12px; }
  .legal h1 { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion-ready .reveal { opacity: 1; transform: none; }
  .book-object:hover { transform: rotate(4deg); }
  .button:hover, .text-link:hover span { transform: none; }
}
@media print {
  body, .detail-page { background: white; color: black; }
  .site-header, .site-footer, .hero, .skip-link, .case-toolbar, .document-register { display: none; }
  .section, .detail-main { width: 100%; padding: 20px 0; }
  .motion-ready .reveal { opacity: 1; transform: none; }
  .detail-grid { box-shadow: none; }
  .detail-copy { box-shadow: none; }
}

/* Eigenständige Archivwelt: Wilkins (2018). */
.legacy-dossier { margin-top: 76px; --folder: #d9cdb5; --series: #8c6248; }
.legacy-dossier::before { content: attr(data-file-label); }
.legacy-dossier .dossier-visual::after { content: 'Der erste Fall'; color: #735b42; }
.legacy-dossier .dossier-copy { background: #ebe3d3; }
.legacy-kicker { font-style: italic; color: #795c43; margin-bottom: 13px; }
.wilkins-page { --folder: #d9cdb5; }
.wilkins-page .detail-grid { border-color: #baa98a; }
.wilkins-page .detail-grid::before { content: attr(data-file-label); background: #baa98a; }
.wilkins-page .detail-copy { background-color: #f0e8d8; }


/* Autorenchronik: one continuous line, independent of the book dossiers. */
.author-timeline {
  background: linear-gradient(110deg, #ded7c530, transparent 65%), var(--paper);
  border-top: 1px solid var(--line);
}
.timeline-heading { margin-bottom: 68px; }
.timeline-heading .eyebrow { color: var(--copper); margin-bottom: 22px; }
.timeline-heading h2 { max-width: 850px; }
.timeline-subtitle { margin: 24px 0 0; color: var(--muted); font: italic 22px/1.5 var(--serif); }
.timeline-track {
  --date-width: 230px;
  --axis-width: 70px;
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
}
.timeline-track::before {
  content: '';
  position: absolute;
  top: 38px;
  bottom: 20px;
  left: calc(var(--date-width) + var(--axis-width) / 2);
  width: 1px;
  background: var(--copper);
  opacity: .5;
}
.timeline-entry {
  position: relative;
  display: grid;
  grid-template-columns: var(--date-width) var(--axis-width) minmax(0, 1fr);
  align-items: start;
  padding-bottom: 72px;
}
.timeline-entry:last-child { padding-bottom: 20px; }
.timeline-date { padding-top: 2px; }
.timeline-date time {
  display: block;
  color: var(--ink);
  font: 92px/1 var(--serif);
  letter-spacing: -.065em;
  font-variant-numeric: lining-nums tabular-nums;
  margin-bottom: 18px;
}
.timeline-date .eyebrow { color: var(--copper); }
.timeline-marker {
  position: relative;
  justify-self: center;
  margin-top: 38px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid var(--paper);
  background: var(--copper);
  box-shadow: 0 0 0 1px var(--copper), 0 0 0 7px var(--paper);
}
.timeline-marker::after {
  content: '';
  position: absolute;
  left: 17px;
  top: 3px;
  width: 16px;
  height: 1px;
  background: var(--copper);
  opacity: .5;
}
.timeline-document {
  position: relative;
  margin-left: 24px;
  padding: 30px 38px 32px;
  background: var(--sheet);
  border-top: 1px solid var(--line);
  box-shadow: 0 1px 0 var(--line), 5px 6px 0 -1px var(--paper), 5px 7px 0 -1px var(--line);
}
.timeline-reference { color: var(--muted); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.timeline-document h3 { font-size: clamp(27px, 2.8vw, 38px); line-height: 1.18; text-wrap: balance; letter-spacing: -.03em; margin-bottom: 20px; }
.timeline-document > p:not(.timeline-reference) { max-width: 540px; font-size: 14px; color: var(--muted); }
.timeline-document .timeline-note { font: italic 18px/1.6 var(--serif); color: var(--ink); margin: 22px 0 15px; }
.timeline-document .text-link { font-size: 11px; }
@media (max-width: 1000px) {
  .timeline-track { --date-width: 180px; --axis-width: 48px; }
  .timeline-date time { font-size: 76px; }
  .timeline-document { margin-left: 18px; padding-inline: 28px; }
  .timeline-marker::after { width: 10px; }
}
@media (max-width: 760px) {
  .timeline-heading { margin-bottom: 42px; }
  .timeline-heading h2 { font-size: clamp(35px, 7vw, 52px); }
  .timeline-subtitle { font-size: 20px; }
  .timeline-track::before { left: 7px; top: 30px; bottom: 12px; }
  .timeline-entry { grid-template-columns: 26px minmax(0, 1fr); column-gap: 15px; padding-bottom: 48px; }
  .timeline-date { grid-column: 2; grid-row: 1; padding-top: 0; margin-bottom: 24px; }
  .timeline-date time { font-size: 66px; margin-bottom: 12px; }
  .timeline-marker { grid-column: 1; grid-row: 1; justify-self: start; margin: 30px 0 0 2px; }
  .timeline-marker::after { display: none; }
  .timeline-document { grid-column: 2; margin: 0; padding: 24px; }
  .timeline-document h3 { font-size: 29px; }
  .timeline-document > p:not(.timeline-reference) { font-size: 14px; }
  .timeline-document .timeline-note { font-size: 17px; }
}
@media (max-width: 380px) {
  .timeline-entry { column-gap: 8px; }
  .timeline-document { padding: 22px 16px; }
  .timeline-document .text-link { gap: 18px; }
}
@media print {
  .timeline-entry { break-inside: avoid; }
  .timeline-document { box-shadow: none; }
}

/* CMS: variable labels, uploaded portraits and new article pages. */
.dossier + .dossier { margin-top: 76px; }
.portrait-photo { overflow: hidden; }
.portrait-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.journal-document { display: block; max-width: 960px; margin-inline: auto; }
.journal-document .detail-copy { margin: 12px; }
.journal-image, .article-body img, .author-copy img { max-width: 100%; height: auto; }
.journal-image { margin-bottom: 28px; }
/* Journal index: the existing archive register with room for longer notes. */
.journal-preview { padding-block: 72px; }
.journal-preview .section-heading { margin-bottom: 30px; }
.journal-preview .section-heading h2 { font-size: 44px; }
.journal-preview .journal-entry { padding-block: 24px; }
.journal-preview .journal-entry h3 { font-size: 27px; }
.journal-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.journal-meta time { color: var(--muted); white-space: nowrap; }
.journal-entry h2 a, .journal-entry h3 a { transition: color .2s; }
.journal-entry h2 a:hover, .journal-entry h3 a:hover { color: var(--copper); }
.journal-all, .journal-back { margin-top: 30px; }
.journal-empty { padding-block: 28px; color: var(--muted); }
.journal-overview { max-width: 1100px; padding-block: 72px 96px; }
.journal-heading { max-width: 780px; margin-bottom: 52px; }
.journal-heading .eyebrow { color: var(--copper); margin-bottom: 24px; }
.journal-heading h1 { font-size: clamp(44px, 5.5vw, 76px); letter-spacing: -.045em; margin-bottom: 26px; }
.journal-subtitle { max-width: 610px; color: var(--muted); font-size: 16px; margin-bottom: 0; }
.journal-overview .archive-register { padding-bottom: 18px; }
.journal-overview .journal-list { border-top-color: var(--line); }
.journal-overview-entry { grid-template-columns: 45px minmax(0, 1fr); align-items: start; padding-block: 38px; }
.journal-entry-content, .journal-entry-copy { min-width: 0; }
.journal-entry-content.has-image { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 30px; }
.journal-thumbnail { width: 100%; max-height: 260px; object-fit: contain; object-position: top; border: 1px solid var(--line); padding: 6px; background: var(--sheet); }
.journal-overview-entry h2 { font-size: clamp(27px, 3vw, 36px); letter-spacing: -.025em; margin-bottom: 16px; }
.journal-excerpt { max-width: 720px; font-size: 15px; color: var(--muted); margin-bottom: 16px; }
.journal-appointment { font-size: 11px; color: var(--copper); margin-bottom: 12px; }
.journal-heading h1, .journal-entry h2, .journal-entry h3, .journal-excerpt { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 760px) {
  .journal-overview { padding-block: 48px 64px; }
  .journal-heading { margin-bottom: 36px; }
  .journal-entry-content.has-image { grid-template-columns: 140px minmax(0, 1fr); gap: 22px; }
}
@media (max-width: 540px) {
  .journal-preview { padding-block: 48px; }
  .journal-preview .journal-entry { grid-template-columns: minmax(0, 1fr) 44px; gap: 16px; }
  .journal-preview .journal-number { display: none; }
  .journal-preview .round-link { grid-column: auto; width: 44px; height: 44px; }
  .journal-all { gap: 20px; }
  .journal-overview-entry { grid-template-columns: 24px minmax(0, 1fr); gap: 14px; padding-block: 28px; }
  .journal-entry-content.has-image { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .journal-thumbnail { max-width: 360px; }
  .journal-subtitle { font-size: 15px; }
}
.article-body { overflow-wrap: anywhere; }
.article-body ul, .article-body ol { padding-left: 1.5em; }
.timeline-date time { overflow-wrap: anywhere; }
.timeline-date time[datetime*="-"] { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.04em; }

/* Small refinements to the existing paper files and touch targets. */
.menu-toggle { min-height: 44px; }
.dossier { transition: box-shadow .25s; }
@media (hover: hover) and (pointer: fine) {
  .dossier:hover, .dossier:focus-within { box-shadow: 4px 5px 0 var(--paper), 5px 6px 0 #c4c2b2, 9px 10px 0 var(--paper), 10px 11px 0 #d4d0c0, 0 22px 34px #35433318; }
}
@media (max-width: 760px) {
  .hero-inner, .dossier, .author-grid, .detail-grid { min-width: 0; }
  .hero-copy, .dossier-copy, .author-copy, .detail-copy { min-width: 0; }
  .detail-copy h1, .detail-copy h2, .dossier h3, .timeline-heading h2 { overflow-wrap: break-word; hyphens: auto; }
  .footer-links a, .back-top { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  .dossier-visual a:hover { transform: rotate(-4deg); }
}
@media (max-width: 380px) {
  .detail-evidence { grid-template-columns: 96px minmax(0, 1fr); column-gap: 16px; padding-inline: 16px; }
  .evidence-heading { flex-direction: column; align-items: flex-start; gap: 10px; }
}
