@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Libre+Caslon+Display&family=Libre+Caslon+Text:ital@0;1&display=swap');

:root {
  --paper: #f2eee4;
  --ink: #26221c;
  --muted: #736d62;
  --red: #8a2f2c;
  --rule: #c9c0af;
  --dark: #24211d;
  --image-bg: #ddd3c1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Libre Caslon Text", Georgia, serif; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.hero { min-height: 100vh; display: grid; grid-template-columns: minmax(340px, 0.93fr) minmax(420px, 1.07fr); background: #d9d0bf; }
.hero-photo-wrap { position: relative; min-height: 100vh; padding: clamp(2rem, 4vw, 4.5rem); background: #bcb1a0; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero-photo { width: auto; height: auto; max-width: 100%; max-height: calc(100vh - clamp(4rem, 8vw, 9rem)); object-fit: contain; filter: saturate(.88) contrast(.98); box-shadow: 0 18px 50px rgba(43, 34, 25, .2); }
.detail-study { width: min(980px, calc(100vw - 3rem)); margin: 5rem 50% 4rem; transform: translateX(-50%); padding: clamp(.75rem, 1.5vw, 1.25rem); background: var(--image-bg); overflow: hidden; }
.detail-credit { width: min(980px, calc(100vw - 3rem)); margin: -3.35rem 50% 4rem; transform: translateX(-50%); color: var(--muted); font: 500 .6rem/1.45 "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .09em; text-align: right; }
.detail-kicker { margin: 0 !important; color: var(--red); font: 600 .65rem/1 "DM Sans", sans-serif !important; letter-spacing: .18em; text-transform: uppercase; }
.cdv-stage { position: relative; width: 100%; max-width: 820px; min-height: 0; margin: 0 auto; padding: .5rem 0; display: grid; grid-template-columns: minmax(205px, 36%) minmax(0, 64%); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.original-card { position: relative; z-index: 1; width: min(7.2cm, 100%); margin: 0 auto; opacity: 0; transform: translateY(14px) rotate(-1.5deg); }
.detail-study.is-visible .original-card { animation: card-arrives .9s .15s cubic-bezier(.2,.7,.2,1) forwards; }
.card-image { width: 100%; height: auto; filter: saturate(.88) contrast(.98); box-shadow: 0 14px 35px rgba(43, 34, 25, .25); }
.original-card figcaption { margin-top: .8rem; color: rgba(38,34,28,.68); font: 500 .58rem/1.4 "DM Sans", sans-serif; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.detail-overlay { position: relative; z-index: 3; width: 100%; margin: 0; opacity: 0; transform: translateX(-2rem); }
.detail-study.is-visible .detail-overlay { animation: detail-opens 1.25s 1.25s cubic-bezier(.18,.8,.18,1) forwards; }
.detail-window { position: relative; aspect-ratio: 1 / 1.08; overflow: hidden; background: var(--image-bg); border: 10px solid var(--image-bg); box-shadow: 0 24px 65px rgba(43,34,25,.32); }
.detail-window::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(92,70,49,.28); pointer-events: none; }
.detail-window img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 10%; transform: scale(1.6); transform-origin: 42% 15%; }
.detail-study.is-visible .detail-window img { animation: detail-focus 16s 2.5s cubic-bezier(.45,0,.25,1) infinite; }
.detail-overlay figcaption { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; margin-top: .85rem; color: #3c352c; font: 500 .61rem/1.4 "DM Sans", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.detail-overlay figcaption span { color: var(--red); }
.detail-overlay figcaption small { font-size: .54rem; text-align: right; }
@keyframes card-arrives { to { opacity: 1; transform: translateY(0) rotate(-1.5deg); } }
@keyframes detail-opens { 0% { opacity: 0; transform: translateX(-2rem); } 100% { opacity: 1; transform: translateX(0); } }
@keyframes detail-focus {
  0%, 13% { object-position: 42% 10%; transform-origin: 42% 15%; transform: scale(1.6); }
  34%, 45% { object-position: 46% 48%; transform-origin: 46% 45%; transform: scale(1.95); }
  66%, 78% { object-position: 80% 30%; transform-origin: 80% 30%; transform: scale(2); }
  100% { object-position: 42% 10%; transform-origin: 42% 15%; transform: scale(1.6); }
}
.hero-index { position: absolute; z-index: 2; left: 2rem; top: 2rem; color: #fff; font: 500 .72rem/1 "DM Sans", sans-serif; letter-spacing: .2em; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 8vw, 9rem); }
.eyebrow { margin: 0 0 2rem; font: 600 .67rem/1.3 "DM Sans", sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.hero h1 { margin: 0; font: 400 clamp(3.8rem, 6.8vw, 7.6rem)/.88 "Libre Caslon Display", Georgia, serif; letter-spacing: -.045em; }
.hero h1 em { color: var(--red); font-weight: 400; }
.deck { max-width: 34rem; margin: 3.2rem 0; font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.65; }
.start-link { align-self: flex-start; text-decoration: none; padding-bottom: .5rem; border-bottom: 1px solid var(--ink); font: 500 .75rem/1 "DM Sans", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.start-link span { margin-left: 1.2rem; color: var(--red); }

.opening { max-width: 820px; margin: 0 auto; padding: clamp(7rem, 15vw, 13rem) 1.5rem clamp(3rem, 6vw, 5rem); }
.chapter-no { font: 600 .68rem/1 "DM Sans", sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.opening h2, .contents h2, .closing h2 { font: 400 clamp(3.1rem, 6.5vw, 6.8rem)/.96 "Libre Caslon Display", Georgia, serif; letter-spacing: -.035em; margin: 1rem 0 3rem; }
.opening p { font-size: 1.09rem; line-height: 1.85; }
.opening .detail-credit { font: 500 .6rem/1.45 "DM Sans", sans-serif; letter-spacing: .09em; }
.opening .scope-note { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(44, 37, 29, .22); font-size: .92rem; line-height: 1.7; color: var(--muted); text-align: left; }
.opening .lead { margin-left: 0; width: auto; font-size: 1.28rem; line-height: 1.65; color: var(--red); text-align: left; }
.opening-image { margin: 3.5rem 0; }

.contents { padding: clamp(5rem, 10vw, 10rem) max(1.5rem, calc((100vw - 1180px)/2)); background: var(--dark); color: #ede7db; }
.contents .eyebrow { color: #c66e64; }
.contents h2 { max-width: 900px; }
.contents ol { list-style: none; padding: 0; margin: 5rem 0 0; columns: 2; column-gap: 4rem; }
.contents li { break-inside: avoid; border-top: 1px solid #514b43; }
.contents a { display: flex; gap: 1rem; padding: 1rem 0; text-decoration: none; font: 400 .86rem/1.35 "DM Sans", sans-serif; }
.contents a:hover { color: #d48a7e; }
.contents a span { color: #857d70; font-size: .68rem; padding-top: .15rem; }

.article { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem 10rem; }
.chapter { display: grid; grid-template-columns: 300px minmax(0, 620px); gap: clamp(2rem, 7vw, 7rem); padding: 7rem 0; border-bottom: 1px solid var(--rule); position: relative; }
.article > .chapter:first-child { padding-top: 4rem; }
.chapter-heading { position: sticky; top: 2rem; align-self: start; min-width: 0; }
.chapter-heading > span { display: none; }
.chapter-heading h2 { margin: 0; font: 400 clamp(2.1rem, 4vw, 3.8rem)/1.03 "Libre Caslon Display", Georgia, serif; letter-spacing: -.025em; overflow-wrap: break-word; hyphens: auto; }
.chapter-body p { margin: 0 0 1.35rem; font-size: 1.03rem; line-height: 1.83; }
.chapter-body .source-note { margin: -.35rem 0 1.7rem; padding-top: .8rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: .72rem; line-height: 1.55; }
.footnote-mark, .source-note sup { color: var(--red); font: 600 .62rem/1 "DM Sans", sans-serif; }
.footnote-mark { margin-left: .18rem; vertical-align: super; }
.chapter-body .section-lead { font-size: 1.28rem; line-height: 1.65; }
.chapter-body h3 { margin: 3.2rem 0 1rem; font: 400 clamp(1.55rem, 2.5vw, 2.15rem)/1.15 "Libre Caslon Display", Georgia, serif; letter-spacing: -.015em; }
.chapter-body h3::before { content: ""; display: block; width: 2.8rem; height: 1px; margin-bottom: 1rem; background: var(--red); }
.chapter-body h4 { margin: 2.6rem 0 1rem; font: 400 clamp(1.25rem, 2vw, 1.65rem)/1.2 "Libre Caslon Display", Georgia, serif; letter-spacing: -.01em; }
.story-image { grid-column: 2; width: 82%; margin: 3.2rem auto 1.75rem; }
.story-image.wide { width: 100%; }
.photo-mat { padding: clamp(.7rem, 2vw, 1.4rem); background: var(--image-bg); box-shadow: 0 16px 40px rgba(44,36,27,.13); }
.tight-mat .photo-mat { width: min(100%, 31.5rem); margin-inline: auto; padding: .45rem; }
.photo-mat img { width: 100%; max-height: 780px; object-fit: contain; background: var(--image-bg); }
.image-pair .photo-mat, .horizontal-postcard .photo-mat { padding: .55rem; }
.horizontal-postcard .photo-mat img { height: auto; max-height: none; }
.evidence-pair { margin-top: 2.2rem; }
.pair-grid { display: grid; grid-template-columns: var(--pair-columns, repeat(2, minmax(0, 1fr))); gap: .55rem; align-items: start; background: var(--image-bg); }
.pair-grid img { height: auto; max-height: none; object-fit: contain; background: var(--image-bg); }
.triple-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; align-items: start; background: var(--image-bg); }
.triple-grid img { width: 100%; height: auto; object-fit: contain; background: var(--image-bg); }
.quad-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; align-items: start; background: var(--image-bg); }
.quad-grid img { width: 100%; height: auto; object-fit: contain; background: var(--image-bg); }
.slideshow-frame { position: relative; min-height: min(72vh, 720px); overflow: hidden; }
.slide { position: absolute; inset: clamp(.7rem, 2vw, 1.4rem); opacity: 0; transform: scale(1.015); transition: opacity .8s ease, transform 1.2s ease; pointer-events: none; }
.slide.is-active { opacity: 1; transform: scale(1); pointer-events: auto; }
.slide img { width: 100%; height: 100%; max-height: none; object-fit: contain; }
.slideshow[aria-label*="handkolorierte Bückeburger"] .slideshow-frame,
.slideshow[aria-label*="handkolorierte Bückeburger"] .slide img { background: var(--image-bg); }
.slide-arrow { position: absolute; z-index: 4; top: 50%; width: 2.7rem; height: 2.7rem; border: 0; border-radius: 50%; background: rgba(242,238,228,.88); color: var(--ink); font: 400 1.8rem/1 Georgia, serif; cursor: pointer; transform: translateY(-50%); box-shadow: 0 4px 18px rgba(38,34,28,.18); }
.slide-arrow:hover, .slide-arrow:focus-visible { background: #fff; outline: 2px solid var(--red); outline-offset: 2px; }
.slide-arrow.previous { left: 1rem; }
.slide-arrow.next { right: 1rem; }
.slide-dots { position: absolute; z-index: 4; left: 50%; bottom: 1.1rem; display: flex; gap: .55rem; padding: .45rem .65rem; border-radius: 1rem; background: rgba(38,34,28,.55); transform: translateX(-50%); }
.slide-dots button { width: .48rem; height: .48rem; padding: 0; border: 1px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; }
.slide-dots button.is-active { background: #fff; }
.story-image figcaption { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; margin-top: 1rem; font-size: .8rem; line-height: 1.55; color: var(--muted); }
.story-image small { font: 500 .6rem/1.45 "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .09em; text-align: right; }
.image-placeholder { margin-top: 2.8rem; margin-bottom: 3.2rem; }
.placeholder-frame { min-height: 20rem; padding: clamp(2rem, 5vw, 4rem); border: 1px solid rgba(92, 77, 58, .22); background: var(--image-bg); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: var(--muted); box-shadow: 0 16px 40px rgba(44,36,27,.1); }
.placeholder-frame::before { content: ""; width: 3.2rem; height: 1px; margin-bottom: 1.4rem; background: var(--red); }
.placeholder-frame > span { margin-bottom: 1rem; color: var(--red); font: 600 .6rem/1.3 "DM Sans", sans-serif; letter-spacing: .17em; text-transform: uppercase; }
.placeholder-frame > strong { max-width: 31rem; color: var(--ink); font: 400 clamp(1.7rem, 3vw, 2.65rem)/1.08 "Libre Caslon Display", Georgia, serif; }
.placeholder-frame > p { max-width: 30rem; margin: 1rem 0 0; font: 400 .78rem/1.55 "DM Sans", sans-serif; letter-spacing: .03em; }
.postcard-wall { min-height: 24rem; }
.bio-facts { margin: 1rem 0 1.7rem; line-height: 1.65; }
.bio-facts strong { font-family: "Libre Caslon Display", Georgia, serif; font-size: 1.15em; font-weight: 400; }
.unverified {
  position: relative;
  color: #a3261f;
  cursor: help;
  text-decoration: underline dotted rgba(163, 38, 31, .6);
  text-underline-offset: .18em;
}
.unverified::after {
  content: attr(data-note);
  position: absolute;
  z-index: 20;
  left: 0;
  bottom: calc(100% + .55rem);
  width: max-content;
  max-width: min(22rem, 75vw);
  padding: .55rem .7rem;
  border-radius: .2rem;
  background: #a3261f;
  color: #fffaf2;
  font: 500 .72rem/1.35 "DM Sans", sans-serif;
  letter-spacing: .01em;
  box-shadow: 0 .35rem 1rem rgba(52, 35, 24, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(.25rem);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  pointer-events: none;
}
.unverified:hover::after,
.unverified:focus::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.unverified:focus { outline: 1px dotted #a3261f; outline-offset: .16em; }

.closing { background: var(--red); color: #f2eadd; padding: clamp(6rem, 13vw, 12rem) max(1.5rem, calc((100vw - 980px)/2)); }
.closing .eyebrow { color: #e8b0a8; }
.closing h2 { max-width: 900px; }
.closing-tagline { margin-top: -1rem; font-size: 1.35rem !important; font-weight: 600; }
.closing p { max-width: 620px; font-size: 1.2rem; line-height: 1.7; }
.closing a { display: inline-block; margin-top: 2rem; padding-bottom: .5rem; border-bottom: 1px solid currentColor; text-decoration: none; font: 500 .72rem/1 "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .1em; }
footer { display: flex; justify-content: space-between; gap: 2rem; padding: 2rem max(1.5rem, calc((100vw - 1180px)/2)); background: var(--dark); color: #aca497; font: 500 .63rem/1.4 "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .12em; }
footer a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .08rem; }
footer a:hover { opacity: .7; }
.image-overlay { position: fixed; z-index: 1000; inset: 0; display: none; width: 100%; height: 100%; padding: 3vh 3vw; border: 0; background: rgba(20, 17, 13, .92); cursor: zoom-out; align-items: center; justify-content: center; }
.image-overlay.is-open { display: flex; }
.image-overlay img { display: block; width: auto; height: auto; max-width: 94vw; max-height: 94vh; object-fit: contain; box-shadow: 0 1rem 4rem rgba(0, 0, 0, .45); }
body.overlay-open { overflow: hidden; }
@media (min-width: 769px) { main img:not(.overlay-image) { cursor: zoom-in; } }

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo-wrap { min-height: 72vh; padding: 2rem; }
  .hero-photo { max-height: 64vh; }
  .cdv-stage { min-height: 0; max-width: 660px; grid-template-columns: minmax(170px, 35%) minmax(0, 65%); gap: 1.5rem; }
  .hero-copy { padding: 4.5rem 1.5rem 6rem; }
  .opening .lead { margin-left: 0; width: auto; }
  .contents ol { columns: 1; }
  .chapter { grid-template-columns: 1fr; gap: 2rem; padding: 5rem 0; }
  .chapter-heading { position: static; }
  .story-image { grid-column: 1; width: 100%; }
  .slideshow-frame { min-height: 68vh; }
}

@media (max-width: 540px) {
  .hero-photo-wrap { min-height: 66vh; padding: 1rem; }
  .hero-photo { max-height: 60vh; }
  .detail-study { width: calc(100vw - 1.5rem); margin-top: 3.5rem; padding: 1rem; }
  .cdv-stage { min-height: 0; grid-template-columns: minmax(110px, 38%) minmax(0, 62%); gap: .75rem; padding: .5rem 0; }
  .original-card { width: 100%; }
  .detail-overlay { width: 100%; }
  .detail-window { border-width: 6px; }
  .detail-overlay figcaption small { display: none; }
  .hero h1 { font-size: 4rem; }
  .opening { padding-top: 6rem; }
  .opening h2, .contents h2, .closing h2 { font-size: 3.1rem; }
  .chapter-body p { font-size: 1rem; }
  .story-image figcaption, footer { grid-template-columns: 1fr; display: grid; }
  .story-image small { text-align: left; }
  .pair-grid { grid-template-columns: 1fr; }
  .pair-grid img { height: auto; max-height: 72vh; }
  .triple-grid { grid-template-columns: 1fr; }
  .triple-grid img { max-height: 72vh; }
  .quad-grid { grid-template-columns: 1fr; }
  .quad-grid img { max-height: 72vh; }
  .slideshow-frame { min-height: 58vh; }
  .slide-arrow { width: 2.35rem; height: 2.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .original-card, .detail-overlay, .detail-window img { animation: none !important; opacity: 1; transform: none; }
}

/* Compact spacing for the three Wehde portrait pairs. */
.story-image.wehde-row { margin-bottom: 1rem; }
.story-image.wehde-row + .story-image.wehde-row { margin-top: 1rem; }

/* Match image edges within each row without cropping or changing proportions. */
.aligned-quad { display: flex; flex-direction: column; }
.aligned-row { display: grid; grid-template-columns: var(--pair-columns); gap: .55rem; width: 100%; align-items: start; }
.aligned-row img { width: 100%; height: auto; max-height: none; }
@media (max-width: 768px) {
  .aligned-row { grid-template-columns: 1fr; }
  .aligned-row img { max-height: none; }
}
