:root {
  color-scheme: light;
  --paper: #faf9f6;
  --ink: #171717;
  --accent: #e34234;
  --accent-rule: 1px;
  --header-inline-inset: clamp(1.25rem, 4vw, 3.5rem);
  --soft-ease: cubic-bezier(.45, 0, .55, 1);
  --line: #d4d2ce;
  --muted: #66635f;
  --section-gap: clamp(3.5rem, 8svh, 5.75rem);
  --section-half-gap: calc(var(--section-gap) / 2);
  --section-divider-inset: calc(var(--section-half-gap) + 1.25rem);
  --prologue-half-gap: 1.5rem;
  --site-font: "Source Serif 4", Baskerville, "Times New Roman", serif;
  --text-size: clamp(1rem, 1.2vw, 1.2rem);
  font-family: var(--site-font);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-variant-numeric: lining-nums;
  letter-spacing: .015em;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html.is-switching-language { overflow-anchor: none; }
[hidden] { display: none !important; }
body { min-width: 280px; margin: 0; font-size: var(--text-size); }
main { touch-action: pan-y pinch-zoom; }
h2, h3 { font-size: inherit; font-weight: 400; }
a { color: inherit; text-decoration: none; }
.keep-name { white-space: nowrap; hyphens: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--accent); color: var(--paper); }

.skip-link {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 1rem;
  padding: .75rem 1rem;
  transform: translateY(-130%);
  background: var(--paper);
  font: 400 var(--text-size)/1.2 var(--site-font);
}
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header-frame {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--compact-header-height, auto);
}
.site-header {
  --brand-row: 0fr;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(1rem, 2.5vw, 2rem);
  min-height: 4.35rem;
  padding: .75rem var(--header-inline-inset);
  border-bottom: 1px solid #d1cbc1;
  background: rgb(245 242 236);
  box-shadow: 0 5px 18px rgb(35 28 20 / 6%);
  font: 400 var(--text-size)/1.3 var(--site-font);
  letter-spacing: .02em;
}
.site-header a { text-decoration: none; }
.site-header.has-series-title { --brand-row: 1fr; }
.site-brand {
  display: grid;
  grid-template-rows: var(--brand-row);
  transition: grid-template-rows .55s var(--soft-ease);
}
.site-brand-content {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  align-items: baseline;
  gap: .4rem 1.2rem;
  min-height: 0;
  overflow: clip;
}
.site-brand-content:focus-within, .series-title-row:focus-within { overflow: visible; }
.series-title-row { display: contents; }
.site-logo { display: inline-block; color: var(--ink); font-weight: 400; white-space: nowrap; }
.series-title { display: grid; min-width: 0; overflow-wrap: anywhere; color: var(--accent); font-weight: 400; }
.site-logo, .series-title {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .55s var(--soft-ease), visibility 0s .55s;
}
.site-header.has-series-title .site-logo, .site-header.has-series-title .series-title {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .55s var(--soft-ease), visibility 0s;
}
.hero-entry-pending .site-header { --brand-row: 0fr; }
.hero-entry-pending .site-header :is(.site-logo, .series-title) { opacity: 0; visibility: hidden; }
.hero-entry-pending :is(.site-header, .site-brand, .site-logo, .series-title, .header-actions) { transition: none; }
.series-title-label, .series-title::after { grid-area: 1 / 1; }
.series-title-lead, .series-title-rest { display: inline-block; }
.series-title-rest { max-width: 100%; }
.series-title::after { content: attr(data-width-label); visibility: hidden; font-weight: 400; }
.header-actions { display: flex; align-items: baseline; gap: clamp(1.5rem, 4vw, 4rem); }
.site-header nav { display: flex; align-items: center; gap: clamp(1rem, 2.7vw, 2.25rem); }
.site-header nav a {
  display: inline-block;
  font-weight: 350;
  font-variation-settings: "opsz" 16;
  white-space: nowrap;
}
.site-header nav a[aria-current="location"] { color: var(--accent); }
.site-logo::after, .site-header nav a::after, .book-contact::after, .exhibition-contact::after {
  content: attr(data-width-label);
  display: block;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  font-weight: 400;
  white-space: nowrap;
}
.site-header nav a::after, .book-contact::after, .exhibition-contact::after { font-weight: inherit; }
.site-brand a:hover, .site-brand a:focus-visible, .site-footer a:hover,
.site-footer a:focus-visible { font-weight: 400; }
.language-switch { display: inline-flex; align-items: baseline; font-weight: 400; }
.language-switch, .site-footer { font-size: .875em; }
.language-switch button {
  border: 0;
  min-height: 2.5rem;
  padding: .25rem 0;
  background: none;
  color: var(--muted);
  font: inherit;
}
.language-switch button:first-child { padding-inline-start: .4rem; }
.language-switch button:last-child { padding-inline-end: .4rem; }
.language-switch button[aria-pressed="true"] { color: var(--accent); }
.language-switch button[aria-pressed="false"]:hover { color: var(--ink); }
.language-switch span { color: #9b9790; }

@media (min-width: 701px) {
  .header-actions { transition: transform .55s var(--soft-ease); }
  .site-header.has-series-title .header-actions { transform: translateY(var(--menu-title-offset, 0px)); }
}
@media (701px <= width <= 1050px) {
  .site-header { column-gap: 1rem; }
  .header-actions { gap: clamp(1rem, 2.5vw, 1.6rem); }
  .site-header nav { gap: clamp(.75rem, 1.6vw, 1rem); }
}
@media (701px <= width <= 780px) {
  :root { --header-inline-inset: 1.25rem; }
  .site-header { column-gap: .75rem; }
  .header-actions { gap: .75rem; }
  .site-header nav { gap: .625rem; }
}

.hero {
  --wordmark-height: clamp(6rem, min(24vw, 34svh), 27rem);
  position: relative;
  display: flex;
  flex-direction: column;
  height: calc(100svh - var(--compact-header-height, 4.35rem));
  min-height: min-content;
  overflow: hidden;
  padding-inline: clamp(1.25rem, 4vw, 3.5rem);
}
.hero-enter { position: absolute; z-index: 1; inset: 0; cursor: pointer; }
.hero-enter:focus-visible { outline-offset: -6px; }
.hero-entry-pending .hero :is(.hero-wordmark, h1, .hero-aside) { opacity: 0; }
.hero-aside, .book-contact, .site-footer { font-family: var(--site-font); }
.hero-wordmark, .hero h1 { font-variation-settings: "opsz" 60; }
.hero-wordmark {
  height: var(--wordmark-height);
  max-width: none;
  margin: 0;
  padding: .12em 0 .08em;
  color: var(--ink);
  font-size: var(--wordmark-height);
  font-weight: 400;
  line-height: .8;
  letter-spacing: .015em;
  white-space: nowrap;
}
.hero.is-entering :is(.hero-wordmark, h1) {
  --hero-entry-x: clamp(-4rem, -8vw, -1.5rem);
  animation: hero-slide-in 1.15s .12s both var(--soft-ease);
}
.hero-wordmark span { color: var(--accent); }
html[lang="en"] .hero-wordmark { font-size: clamp(5rem, min(22vw, 32svh), 24rem); }
.hero h1 {
  min-height: 2.88em;
  max-width: 17ch;
  margin: 0;
  color: var(--accent);
  font-size: clamp(2.6rem, min(5.7vw, 9svh), 6.7rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: .01em;
  text-wrap: balance;
}
.hero-aside {
  --hero-entry-x: clamp(1.5rem, 8vw, 4rem);
  font-weight: 400;
  line-height: 1.55;
}
.hero.is-entering .hero-aside { animation: hero-slide-in 1.15s .28s both var(--soft-ease); }
.hero-meta p { margin: 0; }
@media (min-width: 701px) {
  .hero-title {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    /* Split the space under the subtitle and credit in the golden ratio. */
    grid-template-rows: minmax(1rem, 1fr) auto auto minmax(1rem, 1.618fr) auto minmax(1rem, 1fr);
    flex: 1;
    align-self: center;
    width: max-content;
    max-width: 100%;
  }
  .hero-wordmark { grid-row: 2; }
  .hero h1 { grid-row: 3; min-height: 2.04em; contain: inline-size; }
  .hero-aside {
    grid-row: 5;
    contain: inline-size;
    padding-inline-end: calc(var(--wordmark-height) * .025);
    text-align: end;
  }
}

.intro, .series, .essay, .closing-section, .site-footer { position: relative; }
.intro::before, .series::before, .essay::before, .closing-section::before, .site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 4rem;
  height: var(--accent-rule);
  transform: translateX(-50%);
  background: var(--accent);
}

.intro {
  min-height: calc(100lvh - var(--header-height, 4.35rem) - var(--prologue-half-gap));
  padding: var(--section-half-gap) clamp(1.25rem, 4vw, 3.5rem);
  padding-top: var(--prologue-half-gap);
}
.intro-layout { max-width: 1560px; margin: 0 auto; }
.intro-copy { max-width: 900px; scroll-margin-top: 5.5rem; }
.intro-copy article { transition: opacity .45s var(--soft-ease); }
.intro-copy[inert] article { opacity: 0; }
.intro-copy article[aria-hidden="true"] { display: none; }
.intro-copy article > p { margin: 0 0 1.5em; line-height: 1.55; }
.intro-lead { color: var(--accent); font-weight: 400; }
.intro-copy article > p:last-child { margin-bottom: 0; }
.reading-continue {
  position: fixed;
  z-index: 90;
  right: clamp(.75rem, 4vw, 3.5rem);
  bottom: calc(.75rem + env(safe-area-inset-bottom));
  padding: .4rem .65rem;
  border: 0;
  background: var(--paper);
  color: var(--accent);
  font-size: .875em;
  font-style: italic;
  line-height: 1.4;
}
.intro-measure {
  position: absolute;
  inset: 0 auto auto 0;
  width: max-content;
  visibility: hidden;
  white-space: nowrap;
}

@media (min-width: 951px) {
  .intro-layout { max-width: none; }
}
.intro-copy.is-narrow {
  max-width: var(--intro-line-width, 28em);
  margin-inline-start: var(--title-inset, 0px);
}

.series, .essay { padding: 0 clamp(1.25rem, 4vw, 3.5rem); scroll-margin-top: 5rem; }
.essay h2, .closing-section h2 {
  margin: 0;
  font-size: var(--text-size);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .02em;
}
.portrait-list { max-width: 1560px; margin: 0 auto; }
.gallery-epigraph {
  margin-top: .75rem;
  padding: clamp(2rem, 5svh, 3.5rem) 0 var(--section-divider-inset);
  text-align: center;
  scroll-margin-top: 5.5rem;
}
.gallery-epigraph figure {
  position: relative;
  max-width: 40rem;
  margin: 0 auto;
  line-height: 1.55;
}
.gallery-epigraph blockquote, .gallery-epigraph p { margin: 0; }
.gallery-epigraph blockquote { font-style: italic; }
.gallery-epigraph p + p { margin-top: 1.35em; }
.gallery-epigraph figcaption {
  margin-top: clamp(2rem, 6svh, 4rem);
  color: var(--muted);
}
.gallery-epigraph-link { position: absolute; inset: 0; }
.portrait {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: calc((100svh - var(--header-height, 4.35rem)) * .83);
  padding: clamp(1.5rem, 4.25svh, 3rem) 0;
  scroll-margin-top: 5.5rem;
  cursor: pointer;
}
.portrait-figure { width: min(100%, 980px); margin: 0; }
.media-managed :is(.portrait-figure, .book-cover-frame):not(.is-media-ready) { visibility: hidden; }
.media-managed .portrait-figure:not(.is-media-ready, .is-media-unavailable) .portrait-image.is-loading-in-view::before,
.media-managed .book-cover-frame.is-loading-in-view:not(.is-media-ready, .is-media-unavailable)::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4rem;
  height: var(--accent-rule);
  background: var(--accent);
  transform: translate(-50%, -50%);
  visibility: visible;
  pointer-events: none;
  opacity: 0;
  animation: var(--loading-rule-animation);
}
@media (prefers-reduced-motion: no-preference) {
  .portrait-figure { opacity: var(--portrait-opacity, 1); }
  .media-managed .portrait-figure.is-media-ready { animation: portrait-ready .35s ease-out; }
  @keyframes portrait-ready { from { opacity: 0; } to { opacity: var(--portrait-opacity, 1); } }
  .negative-edge, #bild-17 .portrait-image::after, .portrait-image img, .portrait-caption { transform: translateY(var(--portrait-entry-shift, 0px)); }
  .media-managed .portrait-figure.is-media-ready:has(.portrait-image:focus-visible) { animation: none; }
  .portrait-figure:has(.portrait-image:focus-visible) { opacity: 1; }
  .portrait-figure:has(.portrait-image:focus-visible) :is(img, .negative-edge, .portrait-caption) {
    transform: none;
  }
  #bild-17 .portrait-image:focus-visible::after { transform: none; }
}
.portrait-image {
  position: relative;
  --portrait-height-limit: min(68svh, 710px);
  --portrait-max-height: min(var(--portrait-height-limit), max(25svh, calc(100svh - 2 * var(--header-height, 4.35rem) - 1rem)));
  display: inline-flex;
  align-items: flex-start;
  width: fit-content;
  width: min(100%, var(--portrait-display-width), calc(var(--portrait-max-height) / var(--portrait-height) * var(--portrait-width)));
  max-width: 100%;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.portrait-image img { width: 100%; height: auto; aspect-ratio: var(--portrait-width) / var(--portrait-height); }
/* The earlier scan retains detail in the clipped highlights of photo 17. */
#bild-17 .portrait-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("assets/images/large_17-hand-reference.jpg") 31.5% 40.6% / 105.5% 103.83% no-repeat;
  filter: brightness(1.2);
  mask-image:
    radial-gradient(ellipse 22% 6.2% at 61% 49.1%, #000 48%, rgb(0 0 0 / 85%) 68%, transparent),
    radial-gradient(ellipse 19% 13.6% at 53% 2.2%, rgb(0 0 0 / 84%) 35%, transparent),
    radial-gradient(ellipse 9.5% 16% at 68% 4%, rgb(0 0 0 / 82%) 35%, transparent),
    radial-gradient(ellipse 10.5% 17% at 76% 24%, rgb(0 0 0 / 85%) 38%, transparent),
    radial-gradient(ellipse 10% 13% at 81% 38%, rgb(0 0 0 / 84%) 40%, transparent);
}
.portrait-image, .book-cover-frame { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.portrait-image img, .book-cover { -webkit-user-drag: none; pointer-events: none; }
.portrait-caption { display: flex; align-items: baseline; gap: .45rem; max-width: 100%; margin-top: .85rem; white-space: nowrap; font: 400 var(--text-size)/1.35 var(--site-font); letter-spacing: .02em; }
.portrait-caption > * { flex: 0 0 auto; }
.portrait-meta {
  display: inline-flex;
  align-items: baseline;
  gap: .45rem;
  font-size: .95em;
  font-variation-settings: "opsz" 12;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}
.portrait-number { color: var(--accent); }
.portrait-caption time, .portrait-separator { color: var(--muted); }
.portrait-title {
  margin: 0;
  color: var(--accent);
  font: inherit;
  font-style: italic;
}
@media (min-width: 951px) {
  .portrait-list { max-width: none; }
  .portrait { padding-inline-start: var(--title-inset, 0px); }
  .portrait-figure { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .85rem clamp(1.5rem, 3vw, 3rem); width: min(100%, 1560px); }
  .portrait-image, .portrait-caption { flex: 0 0 auto; }
  .portrait-caption { margin-top: 0; }
}

.essay { padding-block: var(--section-divider-inset); }
.essay::before, .essay-layout { transition: opacity .45s var(--soft-ease); }
.essay[inert]::before, .essay[inert] .essay-layout { opacity: 0; }
.essay-layout {
  display: grid;
  gap: var(--section-half-gap);
  max-width: 39rem;
  margin: 0 auto;
}
.essay-heading-block { text-align: center; }
.essay h2, .closing-section h2 { color: var(--accent); font: 400 var(--text-size)/1.4 var(--site-font); letter-spacing: .02em; }
.essay-heading-line { display: block; }
.essay-heading-line + .essay-heading-line { margin-top: .35em; }
.essay h2 { display: grid; }
.essay h2 > span { grid-area: 1 / 1; }
.essay h2 > span[aria-hidden="true"] { visibility: hidden; }
.essay-copy { scroll-margin-top: 6.5rem; opacity: var(--section-scroll-opacity, 1); }
.essay-copy article[aria-hidden="true"] { display: none; }
.essay-copy article > p:not(.essay-author) { margin: 0; line-height: 1.7; hyphens: auto; }
.essay-copy article > p + p:not(.essay-author) { margin-top: 1em; text-indent: 1.35em; }
.essay-author { margin: .85rem 0 0; color: var(--muted); font-style: italic; line-height: 1.4; text-align: end; }

.book-end {
  --book-footer-inset: calc(var(--section-half-gap) + .5rem);
  display: flex;
  flex-direction: column;
  min-height: calc(100lvh - var(--header-height, 4.35rem) + 1rem);
}
.closing-section {
  padding: var(--section-divider-inset) clamp(1.25rem, 4vw, 3.5rem) var(--book-footer-inset);
  background: var(--paper);
  scroll-margin-top: 5rem;
}
#buch {
  min-height: calc(100lvh - var(--header-height, 4.35rem) - 11px);
}
.closing-section, .essay {
  transition: opacity .35s var(--soft-ease), visibility 0s;
}
.closing-section[inert], .essay.is-muted-by-shows {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .45s var(--soft-ease), visibility 0s .45s;
}
.closing-section, .site-header, .skip-link, :root { background-image: url("assets/paper-grain.svg"); background-repeat: repeat; }
.closing-layout {
  --book-action-gap: .75rem;
  max-width: 1560px;
  margin: 0 auto;
  opacity: var(--section-scroll-opacity, 1);
}
.book-publication, .exhibitions { max-width: 37rem; line-height: 1.55; }
.book-publication { margin: 0 0 1.25rem; color: var(--muted); }
.book-publication.has-preferred-break { white-space: pre-line; }
.closing-layout h2 { margin: 0 0 .5rem; }
.exhibitions p { margin: 0; color: var(--muted); }
.exhibitions p + p { margin-top: .35em; }
.exhibitions ul { margin: .8rem 0 1rem; padding: 0; list-style: none; }
.exhibition-year { font-weight: 300; }
.book-contact, .exhibition-contact { font-weight: 350; }
.exhibition-contact { display: block; width: fit-content; padding: 0; border: 0; background: none; color: var(--accent); }
@media (min-width: 951px) {
  .closing-layout { margin-inline-start: var(--title-inset, auto); }
  .exhibitions ul { margin-bottom: var(--book-action-gap); }
  .book-contact, .exhibition-contact { line-height: 1.55; }
  .exhibition-intro:lang(en) { max-width: 30rem; white-space: pre-line; }
}
.book-contact { display: inline-block; color: var(--accent); white-space: nowrap; }
.book-visual { display: flex; flex-direction: column; align-items: flex-start; gap: var(--book-action-gap); width: min(75vw, 280px); max-width: 100%; }
.book-cover-frame { position: relative; display: block; width: 100%; }
.book-cover { width: 100%; height: auto; }
.portrait-image img {
  --photo-mat: clamp(4px, .65vw, 8px);
  box-shadow: 0 0 0 var(--photo-mat) #f5f2ec,
    0 6px 16px calc(var(--photo-mat) - 2px) rgb(35 28 20 / 14%);
}
.negative-edge {
  --edge-width: clamp(1.6px, .24vw, 2.6px);
  position: absolute;
  z-index: 1;
  inset: calc(-1 * var(--edge-width));
  pointer-events: none;
  filter: blur(.42px);
}
.negative-edge::before {
  --near: calc(var(--edge-width) - .12px);
  --far: calc(100% - var(--near));
  content: "";
  position: absolute;
  inset: 0;
  /* One surface, with the tones from adjacent edges blending into each other. */
  background: conic-gradient(
    var(--negative-top), var(--negative-right) 25%, var(--negative-bottom) 50%,
    var(--negative-left) 75%, var(--negative-top));
  /* The inner and outer contours vary independently, as in a full-frame print. */
  clip-path: polygon(evenodd,
    .15px .95px, 1.1px .38px, 8% .6px, 19% .26px, 27% .46px, 29% .95px,
    31% .43px, 49% .08px, 66% .65px, 86% .19px, calc(100% - 1px) .5px,
    calc(100% - .5px) 1.5px, calc(100% - .28px) 16%, calc(100% - .92px) 39%,
    calc(100% - .42px) 45%, 100% 65%, calc(100% - .4px) 88%, calc(100% - .38px) calc(100% - .9px),
    calc(100% - 1.3px) calc(100% - .4px), 83% calc(100% - .63px), 72% 100%,
    54% calc(100% - .38px), 36% calc(100% - .15px), 23% calc(100% - .75px),
    8% calc(100% - .38px), 1.2px calc(100% - .48px), .5px calc(100% - 1.2px),
    .7px 78%, .2px 63%, .65px 44%, .33px 28%, .76px 13%, .15px .95px,
    var(--near) var(--near), 14% calc(var(--near) + .23px), 32% var(--near),
    55% calc(var(--near) + .31px), 73% var(--near), 91% calc(var(--near) + .17px),
    var(--far) var(--near), calc(var(--far) - .25px) 32%, var(--far) 52%,
    calc(var(--far) - .33px) 76%, var(--far) var(--far), 79% calc(var(--far) - .23px),
    62% var(--far), 43% calc(var(--far) - .32px), 19% var(--far),
    var(--near) var(--far), calc(var(--near) + .22px) 68%, var(--near) 43%,
    calc(var(--near) + .3px) 19%, var(--near) var(--near));
}
.book-cover { box-shadow: 0 5px 18px rgb(0 0 0 / 10%); }
.book-cover { transition: box-shadow .45s var(--soft-ease); }
.book-cover-frame:hover .book-cover, .book-cover-frame:focus-visible .book-cover { box-shadow: 0 8px 25px rgb(0 0 0 / 14%); }

.site-footer {
  margin-top: auto;
  padding: var(--book-footer-inset) clamp(2.5rem, 4vw, 3.5rem) 1.25rem var(--header-inline-inset);
  font-weight: 400;
  line-height: 1.5;
}
.site-footer p { max-width: 44rem; margin: 0; }
.site-footer[data-title-inline] p { display: grid; grid-template-columns: var(--title-inset) minmax(0, 1fr); }
.site-footer a { color: var(--accent); }
html.footer-ready .site-footer { opacity: 0; pointer-events: none; transition: opacity .6s var(--soft-ease); }
html.footer-ready .site-footer.is-visible, html.footer-ready .site-footer:focus-within { opacity: 1; pointer-events: auto; }
.orientation-notice { display: none; }

html.motion-ready .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.5s var(--soft-ease), transform 1.5s var(--soft-ease); }
html.motion-ready .reveal.is-visible { opacity: 1; transform: none; }
@keyframes hero-slide-in {
  from { opacity: 0; transform: translateX(var(--hero-entry-x)); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 950px) {
  .portrait-caption { display: block; white-space: normal; text-wrap: pretty; }
  .portrait-title { display: inline; overflow-wrap: break-word; hyphens: auto; }
}
@media (max-width: 700px) {
  :root { --hero-divider-inset: min(3svh, var(--prologue-half-gap)); }
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "logo" "title" "nav";
    grid-template-rows: auto var(--brand-row) auto;
    align-items: start;
    gap: .1rem .5rem;
    min-height: 0;
    padding-top: .5rem;
    padding-bottom: .75rem;
    transition: grid-template-rows .55s var(--soft-ease);
  }
  .site-brand, .site-brand-content { display: contents; }
  .site-logo { grid-area: logo; align-self: center; }
  .series-title-row {
    display: flow-root;
    grid-area: title;
    min-height: 0;
    align-self: stretch;
    overflow: clip;
  }
  .series-title { margin: .35rem 0 .9rem; }
  .header-actions {
    position: relative;
    grid-area: nav;
    justify-content: space-between;
    gap: clamp(.375rem, 2vw, 1rem);
    padding-block-start: .75rem;
  }
  .header-actions::before {
    content: "";
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 50%;
    width: 4rem;
    height: var(--accent-rule);
    transform: translateX(-50%);
    background: var(--accent);
  }
  .site-header nav { gap: 1rem; }
  .language-switch { flex: none; margin-inline-end: -.4rem; }
  .language-switch button { min-height: 1.5rem; padding-block: .125rem; }
  .hero {
    height: auto;
    min-height: calc(100svh - var(--compact-header-height, 4.35rem));
    padding-top: calc(clamp(1.3rem, 2vw, 2rem) + clamp(.75rem, 2.5svh, 2rem));
    padding-bottom: calc(var(--hero-divider-inset) + var(--prologue-half-gap));
  }
  .hero-title {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
  }
  .intro::before { top: calc(-1 * var(--hero-divider-inset)); }
  .intro { padding-top: calc(var(--prologue-half-gap) - var(--hero-divider-inset)); }
  .hero-wordmark { margin-top: auto; font-size: 23vw; }
  html[lang="en"] .hero-wordmark { font-size: 21vw; }
  .hero-aside { margin-top: clamp(1rem, 7svh, 4rem); }
  .hero h1 { margin-bottom: auto; font-size: clamp(2.55rem, 8.5vw, 4rem); }
  .portrait-figure { width: 100%; }
  .portrait-image, .book-visual { width: 100%; }
}
@media (max-width: 490px) {
  .hero h1 { font-size: clamp(2.4rem, 10.5vw, 3.3rem); }
  .reading-continue { display: none; }
}
@media (max-width: 420px) {
  .header-actions { font-size: min(1em, calc((100vw - 3.75rem) / 20.5)); }
  .site-header nav { flex: 1; justify-content: space-between; gap: clamp(.375rem, 1.8vw, .65rem); }
  .site-footer { padding-inline-end: var(--header-inline-inset); }
  .site-footer p {
    --copyright-line-length: 18;
    font-size: min(1em, calc((100vw - 2 * var(--header-inline-inset)) / var(--copyright-line-length)));
  }
  .site-footer p:lang(de) { --copyright-line-length: 28.5; }
}
@media (max-width: 1024px) and (max-height: 600px) and (orientation: landscape) and (pointer: coarse) {
  html, body { overflow: hidden; }
  .site-header, main, .site-footer, .reading-continue { visibility: hidden; }
  .orientation-notice {
    position: fixed;
    z-index: 300;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 2rem;
    background: var(--paper) url("assets/paper-grain.svg") repeat;
    color: var(--accent);
    text-align: center;
    font: 400 var(--text-size)/1.4 var(--site-font);
  }
  .orientation-notice p { max-width: 18rem; margin: 0; }
}
@media (max-height: 600px) {
  .hero { --wordmark-height: clamp(5rem, min(24vw, 30svh), 27rem); }
  html[lang="en"] .hero-wordmark { font-size: clamp(5rem, min(22vw, 30svh), 24rem); }
  .hero h1 { font-size: clamp(2.2rem, min(5.7vw, 8svh), 6.7rem); }
}
@media (max-width: 700px) and (max-height: 600px) {
  .hero { padding-top: clamp(1.3rem, 2vw, 2rem); }
}
@media (prefers-reduced-motion: reduce) {
  .closing-section, .closing-section[inert], .essay, .essay.is-muted-by-shows { transition: none; }
  .intro-copy article { transition: none; }
  .essay::before, .essay-layout { transition: none; }
  .book-cover { transition: none; }
  .hero.is-entering .hero-wordmark, .hero.is-entering h1, .hero.is-entering .hero-aside { animation: none; }
  .site-header, .site-brand, .site-logo, .series-title, .header-actions, .site-header.has-series-title .site-logo,
  .site-header.has-series-title .series-title { transition: none; }
  html.motion-ready .reveal { opacity: 1; transform: none; transition: none; }
  html.footer-ready .site-footer { transition: none; }
}
