@font-face {
  font-family: "JCW Chapter Numerals";
  src: url("fonts/HelveticaNeue-UltraLight.ttf") format("truetype");
  font-style: normal;
  font-weight: 100;
  font-display: swap;
}

:root {
  --background: #DEDEDA;
  --text: #000;
  --line: #000;
  --measure: 72rem;
}

/* Draw outbound arrows in CSS to prevent Safari's coloured emoji fallback. */
.text-arrow-up-right {
  position: relative;
  display: inline-block;
  width: 0.72em;
  height: 0.72em;
  flex: 0 0 auto;
}

.text-arrow-up-right::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0.48em;
  height: 0.48em;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

.text-arrow-up-right::after {
  content: "";
  position: absolute;
  left: 0.04em;
  bottom: 0.04em;
  width: 0.78em;
  height: 1px;
  background: currentColor;
  transform: rotate(-45deg);
  transform-origin: left center;
}

.site-protected,
.site-protected body,
.site-protected body *:not(input):not(textarea):not(select):not([contenteditable="true"]) {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.site-protected img,
.site-protected video,
.site-protected audio {
  -webkit-user-drag: none;
  user-drag: none;
}

@media print {
  .site-protected body {
    display: none !important;
  }
}

/* Preserved zeichnung.wordpress.com homepage */
.zeichnung-recreated {
  margin: 0;
  color: #000;
  background: #f4f4ef;
  font-family: Helvetica, Arial, sans-serif;
}

.zeichnung-simple-header {
  padding-top: 24px;
}

.zeichnung-simple-meta {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: baseline;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #000;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.zeichnung-simple .zeichnung-facsimile {
  margin-top: clamp(150px, 20vh, 250px);
}

/* A project opens as the selected catalogue row with the other rows removed. */
.project-expanded-catalogue .concept-index.project-entry-index {
  display: block;
}

.project-expanded-catalogue .project-all-link,
.project-expanded-catalogue .project-victor-link {
  color: #000;
  text-decoration: none;
}

.project-expanded-catalogue .project-entry-index {
  padding-bottom: 0;
}

.project-expanded-catalogue .project-entry-index .catalogue-title {
  margin: 0;
  font-weight: 400;
}

.project-expanded-catalogue .project-entry-description {
  margin-top: clamp(72px, 8vw, 120px);
}

.zeichnung-page {
  width: min(calc(100% - 32px), 1600px);
  margin: 0 auto;
}

.zeichnung-context {
  display: flex;
  flex-direction: column;
}

.zeichnung-time {
  margin: 0;
  padding: 18px 0;
  text-align: center;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.project-record-header {
  /* Matches the first catalogue row when “View all” is open. */
  margin-top: calc(57vh + clamp(40px, 4vw, 56px) - 48px);
}

.project-record-row {
  min-height: 70px;
  grid-template-columns: 108px minmax(0, 1fr) 28px;
  gap: 20px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.17);
}

.project-record-row .catalogue-date {
  font-family: "Courier New", Courier, monospace;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.project-record-row .catalogue-title {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(20px, 2.35vw, 38px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.038em;
  text-overflow: clip;
  overflow-wrap: normal;
  white-space: nowrap;
}

.project-record-row .catalogue-symbol {
  justify-self: end;
  width: 28px;
  color: #000;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  opacity: 1;
}

.zeichnung-description {
  width: min(980px, 72vw);
  margin: clamp(48px, 6vw, 84px) 0 0;
  font-size: clamp(25px, 3vw, 48px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.zeichnung-description span {
  font-weight: 700;
}

.zeichnung-facsimile {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: clamp(190px, 25vh, 330px);
  padding-right: max(16px, calc((100vw - 1600px) / 2));
  padding-left: max(16px, calc((100vw - 1600px) / 2));
  padding-top: clamp(100px, 12vw, 180px);
  padding-bottom: clamp(100px, 12vw, 200px);
  background: #fff;
}

.zeichnung-site-header {
  min-height: clamp(170px, 20vw, 280px);
  display: block;
}

.zeichnung-site-header h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 64px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.zeichnung-site-header p {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.zeichnung-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(26px, 3.4vw, 62px) clamp(18px, 2.2vw, 40px);
  align-items: start;
}

.zeichnung-project-page .zeichnung-facsimile {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
}

.zeichnung-project-page .zeichnung-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  background: #fff;
}

.zeichnung-project-page .zeichnung-grid > * {
  border-bottom: 0.5px solid #000;
  background: #fff;
}

.zeichnung-project-page .zeichnung-grid > :nth-child(even) {
  border-left: 0.5px solid #000;
}

.zeichnung-project-page .zeichnung-item {
  position: relative;
  display: flex;
  width: 100%;
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 2.5vw, 40px) clamp(18px, 2.5vw, 40px) 6px;
  background: #fff;
}

.zeichnung-project-page .zeichnung-image {
  width: 81%;
  margin: 0;
}

.zeichnung-project-page .zeichnung-caption {
  position: absolute;
  right: clamp(18px, 2.5vw, 40px);
  bottom: 6px;
  left: clamp(18px, 2.5vw, 40px);
  width: auto;
  margin: 0;
  padding: 0;
  text-align: left;
}

.zeichnung-item {
  min-width: 0;
  margin: 0;
}

.zeichnung-image {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}

.zeichnung-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: none;
  transform: none;
}

.zeichnung-caption {
  margin-top: 10px;
  text-align: center;
}

.zeichnung-post-meta {
  margin: 0;
  font-family: "Courier New", Courier, monospace;
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.zeichnung-comments {
  margin-top: 14px;
}

.zeichnung-comment + .zeichnung-comment {
  margin-top: 14px;
}

.zeichnung-comment p {
  margin: 0;
}

.zeichnung-comment-meta {
  font-family: "Courier New", Courier, monospace;
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.zeichnung-comment-text {
  margin-top: 5px !important;
  font-family: "Courier New", Courier, monospace;
  font-size: 9px;
  line-height: 1.35;
  white-space: pre-line;
}

@media (max-width: 720px) {
  .zeichnung-simple-header {
    padding-top: 18px;
  }

  .zeichnung-simple-meta {
    gap: 1rem;
    font-size: 10px;
  }

  .zeichnung-simple .zeichnung-facsimile {
    margin-top: 130px;
  }

  .zeichnung-page {
    width: calc(100% - 28px);
  }

  .project-record-header {
    margin-top: calc(55vh + 32px - 48px);
  }

  .project-record-row {
    min-height: 62px;
    grid-template-columns: 72px minmax(0, 1fr) 24px;
    gap: 10px;
    padding: 9px 0;
  }

  .project-record-row .catalogue-title {
    font-size: clamp(15px, 4.2vw, 24px);
  }

  .project-record-row .catalogue-symbol {
    width: 24px;
    font-size: 15px;
  }

  .zeichnung-description {
    width: 100%;
    font-size: clamp(21px, 7vw, 31px);
  }

  .zeichnung-facsimile {
    margin-top: 180px;
    padding-right: 14px;
    padding-left: 14px;
    padding-bottom: 110px;
  }

  .zeichnung-site-header {
    min-height: 150px;
  }

  .zeichnung-site-header h2 {
    font-size: clamp(30px, 10vw, 42px);
  }

  .zeichnung-site-header p {
    max-width: 110px;
    text-align: right;
    font-size: 10px;
    line-height: 1.2;
  }

  .zeichnung-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }

  .zeichnung-project-page .zeichnung-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .zeichnung-project-page .zeichnung-grid > :nth-child(even) {
    border-left: 0;
  }

  .zeichnung-image {
    aspect-ratio: 1 / 1;
  }

}

* {
  box-sizing: border-box;
}

html {
  color: var(--text);
  background: var(--background);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

body {
  margin: 0;
  min-height: 100vh;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.home,
.page {
  width: min(var(--measure), calc(100% - 3rem));
  margin: 0 auto;
}

.home {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem 0;
}

.home-float {
  position: fixed;
  width: 2.2rem;
  height: auto;
  left: 77%;
  top: 28%;
  pointer-events: none;
  z-index: 2;
}

.site-header,
.topline,
.document-header {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.8rem;
  font-size: 0.9rem;
}

.site-header h1 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 400;
  max-width: 44rem;
  line-height: 1.2;
}

@media (min-width: 900px) {
  .site-header h1 {
    max-width: 48rem;
  }
}

.home-links {
  display: grid;
  gap: 0;
}

.home-links a {
  display: block;
  padding: 1.2rem 0 1.5rem;
  font-size: clamp(3rem, 11vw, 8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.home-links a:last-child {
  border-top: 1px solid var(--line);
  margin-top: 10vh;
}

.spread-page {
  background: #000;
}

.spread-home {
  width: min(calc(100vw - 6rem), 96rem);
  min-height: min(calc(100vh - 4rem), 72rem);
  margin: 2rem auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  color: #1f1f1f;
  background: #b7b7b4;
  overflow: hidden;
  border-radius: 4px;
}

.spread-panel {
  min-height: inherit;
}

.spread-panel-left {
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding: clamp(4rem, 8vw, 8rem) 2.2rem clamp(8rem, 12vw, 12rem) clamp(3rem, 8vw, 8rem);
  background: #f4f4f2;
}

.spread-panel-left::after {
  content: "";
  position: absolute;
  top: 0;
  right: -2.1rem;
  width: 4.2rem;
  height: 100%;
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.18) 18%, rgba(0, 0, 0, 0) 62%);
  filter: blur(5px);
  pointer-events: none;
  z-index: 2;
}

.spread-links {
  width: min(28rem, 70%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
}

.spread-links a {
  display: block;
  font-size: clamp(4rem, 8vw, 7.2rem);
  font-weight: 700;
  font-style: italic;
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.spread-links a:last-child {
  align-self: flex-end;
  font-size: clamp(2.4rem, 4.2vw, 4.2rem);
  font-style: normal;
  letter-spacing: -0.04em;
}

.spread-panel-right {
  display: flex;
  align-items: flex-end;
  padding: clamp(3rem, 6vw, 7rem) clamp(3rem, 7vw, 8rem);
}

.spread-meta {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.85fr;
  gap: clamp(3rem, 8vw, 12rem);
  font-size: clamp(0.95rem, 1.2vw, 1.2rem);
  font-weight: 700;
  line-height: 1.08;
}

.spread-meta p {
  margin: 0;
}

.page {
  position: relative;
  padding: 0.8rem 0 5rem;
}

.catalogue-home-mark {
  position: fixed;
  top: 28%;
  left: 77%;
  z-index: 100;
  display: block;
  width: 38px;
  line-height: 0;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.catalogue-home-mark,
.catalogue-home-mark:hover,
.catalogue-home-mark:focus-visible {
  text-decoration: none;
}

.catalogue-home-mark:hover,
.catalogue-home-mark:focus-visible {
  transform: translate(-50%, -50%) scale(1.12) rotate(8deg);
  outline: none;
}

.catalogue-home-mark img {
  display: block;
  width: 100%;
  height: auto;
}

.site-mark {
  font-style: italic;
}

.time-note {
  width: 80%;
  margin: 0 auto;
  padding: 0 0 0.45rem;
  border-bottom: 0.5px solid var(--line);
  text-align: left;
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.45;
}

.catalogue-intro {
  width: 80%;
  margin: 0 auto;
  padding: 3rem 0 1.4rem;
}

.catalogue-intro h1 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
}

.catalogue {
  width: 80%;
  margin: 0 auto;
  font-size: 1.02rem;
}

.catalogue-row,
.catalogue-loading {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr) 2rem;
  gap: 1rem;
  align-items: baseline;
}

.catalogue-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.catalogue-row,
.catalogue-loading {
  border-bottom: 0.5px solid var(--line);
  padding: 0.45rem 0;
}

.catalogue-link,
.catalogue-static {
  display: contents;
}

.catalogue-date {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.catalogue-title {
  overflow-wrap: anywhere;
}

.catalogue-symbol {
  justify-self: center;
  width: 2rem;
  text-align: center;
}

.catalogue-symbol.is-default {
  font-size: 0.95em;
  font-weight: 400;
  opacity: 0.52;
}

.catalogue-symbol.is-special {
  font-size: 1.05em;
}

.catalogue-white-body {
  background: #fff;
}

.archive-body .page {
  padding-top: 3rem;
}

.archive-top {
  margin-bottom: 4rem;
}

.catalogue-clock-header {
  display: block;
  width: 50%;
  margin-right: auto;
  margin-left: 0;
}

.catalogue-clock-header .time-note {
  width: 100%;
  padding-bottom: 0;
  border-bottom: 0;
}

.catalogue-lede {
  display: none;
  width: 80%;
  margin: 0 0 6rem;
}

.catalogue-lede h1 {
  margin: 0;
  font-size: 2.04rem;
  font-weight: 400;
  line-height: 1.2;
}

.catalogue-white-body .catalogue {
  width: 80%;
  margin-right: auto;
  margin-left: 0;
}

.catalogue-white-body .catalogue-row {
  grid-template-columns: 6.5rem 2rem minmax(0, 1fr);
  padding-top: 0.405rem;
  padding-bottom: 0.405rem;
}

.catalogue-white-body .catalogue-date {
  order: 1;
}

.catalogue-white-body .catalogue-symbol {
  order: 2;
  width: 100%;
}

.catalogue-white-body .catalogue-title {
  order: 3;
}

.catalogue-white-body .time-note,
.catalogue-white-body .catalogue-row,
.catalogue-white-body .catalogue-loading {
  border-bottom: 0;
}

.catalogue-white-body .catalogue-symbol.is-special {
  font-size: 1.28em;
}

.archive-bottom-clock {
  margin-top: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.document {
  width: min(210mm, calc(100% - 2rem));
  min-height: min(297mm, calc(100vh - 2rem));
  margin: 1rem auto;
  padding: clamp(1.5rem, 5vw, 3.2rem);
  background: var(--background);
  border: 1px solid var(--line);
}

.document-title {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--line);
}

.document-date {
  margin: 0 0 1rem;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.document-title h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.6rem, 9vw, 6rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

.document-body {
  max-width: 34rem;
  padding-top: 3rem;
  font-size: 1.05rem;
}

.document-body p {
  margin: 0 0 1.4rem;
}

.project-page {
  padding-top: 0.8rem;
}

.project-document {
  width: min(210mm, 100%);
  min-height: 297mm;
  margin: 3rem auto 0;
  padding: clamp(1.5rem, 5vw, 3.2rem);
  border: 0.5px solid var(--line);
}

.project-kicker {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 0.8rem;
  border-bottom: 0.5px solid var(--line);
  font-size: 1.02rem;
  font-weight: 400;
}

.journal-study {
  width: min(92rem, calc(100% - 3rem));
}

.journal-document {
  width: 100%;
  margin: 5rem auto 0;
  font-size: 1.02rem;
}

.journal-section {
  display: grid;
  grid-template-columns: minmax(11rem, 0.24fr) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 8rem);
  padding: 2.4rem 0;
  border-top: 0.5px solid var(--line);
}

.journal-section:first-child {
  border-top: 0;
}

.journal-section h1,
.journal-section h2,
.journal-section p,
.journal-section figcaption {
  margin: 0;
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
}

.journal-title-block {
  min-height: 16rem;
  align-content: start;
}

.journal-title-block p {
  grid-column: 2;
}

.journal-origins p + p {
  margin-top: 0.35rem;
}

.journal-media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 2.4rem);
  align-items: start;
}

.journal-media {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0.65rem;
  margin: 0;
  aspect-ratio: 300 / 440;
}

.journal-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top left;
}

.journal-empty::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 300 / 372;
}

.drawing-body {
  background: #fff;
}

html:has(.drawing-body) {
  background: #fff;
}

.drawing-page {
  min-height: 100vh;
  padding-top: 0;
}

.archive-body .drawing-page {
  padding-top: 0;
}

.drawing-header {
  position: relative;
  width: 100vw;
  min-height: 16.666vh;
  margin-left: calc(50% - 50vw);
  padding: 3rem 0 1.5rem;
  background: #fff;
}

.drawing-header .drawing-clock-header {
  width: min(calc(var(--measure) / 2), calc((100% - 3rem) / 2));
  margin-right: 0;
  margin-left: max(1.5rem, calc((100% - var(--measure)) / 2));
}

.drawing-header .project-about {
  width: min(var(--measure), calc(100% - 3rem));
  margin-right: auto;
  margin-left: auto;
}

.drawing-header .time-note {
  width: 100%;
  padding-bottom: 0;
  border-bottom: 0;
}

.drawing-clock-header {
  display: block;
}

.drawing-header .archive-meta-box {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  width: auto;
}

.project-about {
  margin: 0 auto;
  font-size: 1.02rem;
}

.about-narrative,
.project-intro h1,
.project-intro p {
  margin: 0;
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
}

.project-intro p + p,
.project-intro h1 + p {
  margin-top: 0.35rem;
}

.drawing-list {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: clamp(3rem, 7vh, 6rem);
  margin-bottom: clamp(8rem, 16vw, 16rem);
  padding-top: 0;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
  display: grid;
  grid-template-columns: 10vw minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.drawing-summary {
  display: grid;
  gap: 1.5rem;
}

.drawing-summary p {
  margin: 0;
  font-size: 2.04rem;
  font-weight: 400;
  line-height: 1.2;
}

.drawing-summary .section-label {
  font-size: 1.02rem;
  line-height: 1.45;
}

.works-column {
  display: grid;
  gap: 0.75rem;
}

.drawing-list .catalogue-list {
  --works-column-gap: 3rem;
  position: relative;
  width: min(62rem, 100%);
  column-count: 3;
  column-gap: var(--works-column-gap);
  column-rule: 0;
}

.drawing-list .catalogue-list::before,
.drawing-list .catalogue-list::after {
  content: "";
  position: absolute;
  top: 0;
  height: 120%;
  width: 0.5px;
  background: var(--line);
  pointer-events: none;
}

.drawing-list .catalogue-list::before {
  left: calc(100% / 3);
}

.drawing-list .catalogue-list::after {
  left: calc(200% / 3);
}

.drawing-list .catalogue-row {
  grid-template-columns: 4.1rem minmax(0, max-content) 0;
  gap: 0.7rem;
  border-bottom: 0;
  break-inside: avoid;
  page-break-inside: avoid;
}

.drawing-list .catalogue-symbol {
  width: 0;
}

.zeichnung-current .drawing-list {
  margin-top: clamp(9rem, 14vh, 12rem);
  grid-template-columns: minmax(18rem, 30vw) minmax(0, 1fr);
  gap: clamp(1.35rem, 2.7vw, 2.7rem);
}

.zeichnung-current .drawing-summary {
  grid-column: 1;
}

.zeichnung-current .works-column {
  grid-column: 1;
  margin-top: 1.5rem;
}

.zeichnung-current .drawing-placeholders {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.zeichnung-current .drawing-list .catalogue-list {
  width: min(18rem, 100%);
  column-count: 1;
  column-gap: 0;
}

.zeichnung-current .drawing-list .catalogue-row {
  padding: 0;
  line-height: 1.48;
}

.zeichnung-current .drawing-list .catalogue-list::before,
.zeichnung-current .drawing-list .catalogue-list::after {
  content: none;
}

.ministry-layout {
  width: 100vw;
  margin: clamp(9rem, 14vh, 12rem) 0 clamp(8rem, 16vw, 16rem) calc(50% - 50vw);
  padding: 0;
}

.ministry-nav {
  width: 100vw;
  margin: clamp(2rem, 5vh, 4rem) 0 clamp(2rem, 5vh, 4rem) calc(50% - 50vw);
  padding-left: 10px;
  display: grid;
  justify-content: start;
  gap: 0;
  font-size: clamp(3rem, 11vw, 8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.ministry-nav > * {
  display: block;
  padding: 1.2rem 0 1.5rem;
}

.ministry-page .ministry-layout {
  margin-top: clamp(3rem, 6vh, 5rem);
}

.ministry-page.ministry-simple .ministry-layout {
  width: 50vw;
  margin-top: clamp(150px, 20vh, 250px);
  margin-left: 50%;
}

.ministry-page.ministry-simple,
html:has(.ministry-page.ministry-simple) {
  background: #fff;
}

.ministry-page.ministry-simple .zeichnung-simple-header {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-right: max(16px, calc((100vw - 1600px) / 2));
  padding-left: max(16px, calc((100vw - 1600px) / 2));
  background: var(--background);
}

.ministry-page.ministry-simple .ministry-grid {
  grid-template-columns: 1fr;
}

.ministry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  align-items: start;
}

.ministry-grid figure {
  margin: 0;
}

.ministry-grid .is-full-bleed {
  grid-column: 1 / -1;
}

.ministry-grid img {
  display: block;
  width: 100%;
  height: auto;
}

.tote-layout {
  width: 100%;
  margin: 0 0 clamp(8rem, 16vw, 16rem);
}

.tote-page,
html:has(.tote-page) {
  background: #fff;
}

.tote-page .zeichnung-page {
  width: 100%;
  margin: 0;
  padding-left: 25vw;
}

.tote-rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: 25vw;
  padding: 24px 14px;
  overflow-y: auto;
  background: #f8f8f4;
  z-index: 3;
}

.journal-page .tote-rail,
.has-project-footer .tote-rail {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.project-rail-footer {
  display: grid;
  gap: 29px;
  margin-top: auto;
  padding-top: 48px;
  color: #000;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.25;
}

.project-rail-footer-group {
  display: grid;
  gap: 3px;
}

.project-rail-footer-group h3,
.project-rail-footer-group p {
  margin: 0;
  font: inherit;
}

.project-rail-footer-group h3 {
  margin-bottom: 4px;
  letter-spacing: 0.03em;
}

.project-rail-footer-group a {
  display: flex;
  justify-content: flex-start;
  gap: 5px;
  color: inherit;
  text-decoration: none;
}

.project-rail-footer-group a:hover,
.project-rail-footer-group a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.tote-rail-meta {
  color: #000;
  margin: 0;
  display: grid;
  gap: 8px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.tote-rail-meta time {
  font-family: "Courier New", Courier, monospace;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.project-rail-dateline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: "Courier New", Courier, monospace;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.nowrap {
  white-space: nowrap;
}

.project-rail-title,
.project-rail-type,
.project-rail-label,
.project-notes p {
  margin: 0;
}

.project-rail-title {
  margin-top: 22px;
  font-size: clamp(20px, 1.8vw, 29px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: none;
}

.chinese-title {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", Helvetica, Arial, sans-serif;
  font-style: normal;
}

.project-rail-type,
.project-rail-label {
  font: inherit;
  font-weight: 400;
}

.editorial-project-page .project-rail-dateline,
.editorial-project-page .project-rail-type {
  font-size: 11px;
}

.editorial-project-page .project-rail-dateline time {
  font-size: inherit;
}

.project-contents {
  display: grid;
  gap: 2px;
  margin-top: 18px;
  font-size: 11px;
  text-transform: none;
}

.project-rail-label {
  margin-bottom: 10px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.contents-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 8px;
  align-items: baseline;
  letter-spacing: 0;
}

.contents-row span:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.journal-contents .contents-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.contents-language-panel {
  display: grid;
  gap: 2px;
}

.contents-language-panel[hidden] {
  display: none;
}

[data-contents-language][hidden] {
  display: none !important;
}

.journal-contents .contents-row.is-subentry {
  grid-template-columns: minmax(0, 1fr);
  padding-left: 12px;
}

.journal-contents .contents-row.is-subentry span:last-child {
  text-align: left;
}

.journal-contents .contents-row.is-subentry + .contents-row:not(.is-subentry) {
  margin-top: 6px;
}

.journal-contents .contents-row:not(.is-subentry) + .contents-row:not(.is-subentry) {
  margin-top: 6px;
}

/* Compact project credits use the same hierarchy as the JCW contents:
   a plain label, followed by one indented value, then a restrained group gap. */
.project-credit-list {
  display: grid;
  gap: 2px;
  margin-top: 18px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
}

.project-credit-value {
  padding-left: 12px;
}

.project-credit-value + .project-credit-label {
  margin-top: 6px;
}

.contents-language-toggle {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-top: 10px;
  font-size: 11px;
}

.project-rail-type-row {
  position: relative;
  display: block;
  align-items: baseline;
}

.project-rail-type-row .project-rail-type {
  display: inline-block;
  white-space: nowrap;
}

.project-rail-type-row .contents-language-toggle {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: 0;
  transform: translate(-50%, -50%);
}

.contents-language-toggle button {
  padding: 0;
  border: 0;
  color: #000;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.contents-language-toggle button[aria-pressed="true"] {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.contents-row.is-section {
  margin-top: 10px;
  font-weight: 400;
}

.contents-row.is-section:first-of-type {
  margin-top: 0;
}

.journal-four-up {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #deded9;
}

.journal-four-up figure {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  margin: 0;
}

.journal-four-up img {
  width: auto;
  max-width: 54%;
  height: auto;
  max-height: 68%;
  object-fit: contain;
}

.journal-document-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: #deded9;
}

.journal-document-grid figure,
.journal-document-empty {
  min-width: 0;
  margin: 0;
}

.journal-document-grid img {
  display: block;
  width: 100%;
  height: auto;
}

.journal-chapter-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.journal-chapter-gallery figure {
  position: relative;
  aspect-ratio: 6800 / 4480;
  overflow: hidden;
}

.journal-chapter-gallery img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.journal-finish-area {
  width: 100%;
  aspect-ratio: 6800 / 896;
  background: #deded9;
}

.journal-comparison-figure {
  position: relative;
}

.journal-comparison-years {
  position: absolute;
  z-index: 2;
  top: 18.2%;
  right: 0;
  left: 0;
  pointer-events: none;
  font-family: "Courier New", Courier, monospace;
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
  color: #000;
}

.journal-comparison-year {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.journal-comparison-year-left {
  left: 17%;
}

.journal-comparison-year-right {
  left: 53%;
}

.journal-comparison-arrow {
  display: block;
  width: 0.9em;
  height: 0.9em;
  flex: 0 0 auto;
  color: currentColor;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 0.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.journal-chapter-editorial {
  box-sizing: border-box;
  width: 100%;
  padding: clamp(20px, 2vw, 32px) 0;
  background: #deded9;
}

.journal-chapter-copy {
  box-sizing: border-box;
  width: 50%;
  max-width: 1280px;
  margin: 0 13% 0 37%;
  padding: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.journal-chapter-copy p {
  margin: 0;
}

.journal-chapter-number {
  margin: 0 0 0.24em;
  color: #000;
  font-family: "JCW Chapter Numerals", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(88px, 9vw, 148px);
  font-weight: 100;
  line-height: 0.78;
  letter-spacing: -0.07em;
}

.journal-chapter-copy p + p {
  margin-top: 1em;
}

.journal-chapter-copy .journal-chapter-language {
  justify-content: flex-end;
  margin: 0 0 18px;
  font-size: 10px;
  letter-spacing: 0.03em;
}

.journal-chapter-copy .journal-chapter-quote {
  margin-top: 1em;
}


@media (max-width: 720px) {
  .journal-chapter-copy {
    width: 100%;
    margin: 0;
    padding: 0 16px;
    font-size: 14px;
    line-height: 1.25;
    letter-spacing: -0.015em;
  }

}

[data-protected-images],
[data-protected-images] img {
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.project-notes {
  margin-top: clamp(48px, 7vh, 80px);
  padding-bottom: 28px;
  text-transform: none;
}

.project-notes p {
  max-width: 36em;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0;
}

.project-notes p + p {
  margin-top: 18px;
}

.tote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5px;
  align-items: start;
  background: #000;
}

.editorial-project-page .tote-grid {
  grid-template-columns: 1fr;
  gap: 0;
  background: transparent;
}

.editorial-project-page .tote-layout {
  margin-bottom: 0;
}

.editorial-text-block {
  width: 100%;
  padding: clamp(32px, 4vw, 64px) 0;
  background: #deded9;
}

.editorial-text-copy {
  width: 50%;
  max-width: 1280px;
  margin: 0 13% 0 37%;
}

.editorial-text-copy h3,
.editorial-text-copy p {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(18px, 1.55vw, 24px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.editorial-text-copy h3 {
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.05;
}

.editorial-text-copy .editorial-text-subtitle {
  margin-top: 10px;
}

.editorial-text-copy p + p {
  margin-top: clamp(28px, 3vw, 48px);
}

.editorial-project-page .tote-rail {
  padding-right: 8px;
  padding-left: 8px;
}

.tote-grid figure {
  margin: 0;
}

.tote-grid img {
  display: block;
  width: 100%;
  height: auto;
}

.tote-scroll figure {
  position: relative;
  aspect-ratio: 6800 / 4480;
  overflow: hidden;
  margin: 0;
}

.tote-scroll img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Close fractional-pixel joins between consecutive cropped spreads. */
.continuous-scroll-page .tote-scroll {
  background: #deded9;
}

.continuous-scroll-page .tote-scroll figure + figure {
  margin-top: -1px;
}

.continuous-scroll-page .tote-scroll figure.is-original-height {
  aspect-ratio: 6800 / 5600;
}

.continuous-scroll-page .tote-layout {
  margin-bottom: 0;
}

.illustrations-gallery-page {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.illustrations-gallery-page .zeichnung-page {
  height: 100vh;
  height: 100dvh;
}

.illustrations-gallery {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #fff;
}

.illustrations-gallery-stage {
  position: relative;
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 clamp(24px, 4vw, 72px);
  background: transparent;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.illustrations-gallery-magnifier {
  position: absolute;
  z-index: 2;
  width: clamp(300px, 24vw, 420px);
  aspect-ratio: 1;
  border: 0.5px solid #000;
  border-radius: 50%;
  opacity: 0;
  overflow: hidden;
  background-color: #fff;
  background-repeat: no-repeat;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 80ms linear;
}

.illustrations-gallery-magnifier.is-visible {
  opacity: 1;
}

.illustrations-gallery-stage .illustrations-gallery-image {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: contain;
  object-position: 20% center;
  pointer-events: none;
  user-select: none;
  transition: opacity 180ms ease-out;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.illustrations-gallery-stage .illustrations-gallery-image.is-visible {
  opacity: 1;
}

.illustrations-gallery-page .illustrations-gallery-stage .illustrations-gallery-image {
  transition-duration: var(--gallery-fade-duration, 1500ms);
  transition-timing-function: ease-in-out;
}

.illustrations-gallery-page .illustrations-gallery-stage .illustrations-gallery-image.is-leaving {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
}

.ministry-illustrations-page .illustrations-gallery-stage .illustrations-gallery-image,
.protecting-paradise-illustrations-page .illustrations-gallery-stage .illustrations-gallery-image {
  object-position: center;
}

/* The Journal banners retain the shared fixed gallery stage so transitions do
   not resize, while each complete panel remains visible without cropping. */
.journal-images-page .illustrations-gallery {
  display: grid;
  place-items: center;
  background: #deded9;
}

.journal-images-page .illustrations-gallery-stage {
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
}

.journal-images-page .illustrations-gallery-stage .illustrations-gallery-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Architecture Models keeps every image complete and centred. Images occupy
   the full gallery whenever their proportions permit it without cropping. */
.architecture-models-page .illustrations-gallery,
.architecture-models-page .illustrations-gallery-stage {
  padding: 0;
  background: #deded9;
}

.architecture-models-page .illustrations-gallery-stage .illustrations-gallery-image {
  object-fit: contain;
  object-position: center;
}

/* The South American photography gallery alone is full bleed. */
.south-american-photography-page .illustrations-gallery,
.south-american-photography-page .illustrations-gallery-stage {
  padding: 0;
  background: #deded9;
}

.south-american-photography-page .illustrations-gallery-stage .illustrations-gallery-image {
  object-fit: cover;
  object-position: center;
}

.ministry-models-page .illustrations-gallery,
.ministry-models-page .illustrations-gallery-stage {
  background: #deded9;
}

@media (min-width: 1181px) {
  .ministry-models-page .illustrations-gallery-stage {
    padding: 0;
  }

  .ministry-models-page .illustrations-gallery-stage .illustrations-gallery-image {
    object-fit: cover;
    object-position: center;
  }
}

.illustrations-gallery-stage.is-coupled {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.illustrations-gallery-stage.is-coupled .illustrations-gallery-image:first-child {
  object-position: right center;
}

.illustrations-gallery-stage.is-coupled .illustrations-gallery-image:nth-child(2) {
  object-position: left center;
}

.illustrations-gallery-stage.is-edge-cropped .illustrations-gallery-image {
  object-fit: cover;
  object-position: center;
}

/* Protecting Paradise uses two distinct gallery treatments on pointer-based
   layouts: PAR1/PAR2 retain their tall, vertically pannable presentation;
   PAR3/PAR4/PAR5 fill the entire drawing canvas without gallery gutters. */
.protecting-paradise-illustrations-page .illustrations-gallery-stage.is-edge-cropped {
  padding: 0;
  overflow: hidden;
}

.protecting-paradise-illustrations-page .illustrations-gallery-stage.is-edge-cropped .illustrations-gallery-image {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
  transform: none !important;
}

@media (hover: hover) and (pointer: fine) and (min-width: 641px) {
  .protecting-paradise-illustrations-page .illustrations-gallery-stage.is-mow-width {
    overflow: hidden;
  }

  .protecting-paradise-illustrations-page .illustrations-gallery-stage.is-mow-width .illustrations-gallery-image {
    margin-left: calc((100% - min(100%, 70.73vh)) * 0.5);
    margin-left: calc((100% - min(100%, 70.73dvh)) * 0.5);
  }
}

.illustrations-gallery-stage.is-mow-width .illustrations-gallery-image {
  width: min(100%, 70.73vh);
  width: min(100%, 70.73dvh);
  height: auto;
  margin-left: calc((100% - min(100%, 70.73vh)) * 0.2);
  margin-left: calc((100% - min(100%, 70.73dvh)) * 0.2);
  object-fit: initial;
  object-position: initial;
  will-change: transform;
}

.illustrations-gallery-controls {
  position: absolute;
  top: 50%;
  right: 8px;
  left: 8px;
  display: grid;
  grid-template-columns: auto auto auto;
  justify-content: start;
  gap: 8px;
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transform: translateY(-50%);
}

.illustrations-gallery-magnifier-toggle {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 5px !important;
}

@media (prefers-reduced-motion: reduce) {
  .illustrations-gallery-stage .illustrations-gallery-image {
    transition: none;
  }
}

.illustrations-gallery-controls button {
  margin: 0;
  padding: 0;
  border: 0;
  color: #000;
  background: transparent;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  white-space: nowrap;
  cursor: pointer;
}

#illustrations-gallery-count {
  font-family: "Courier New", Courier, monospace;
  white-space: nowrap;
}

.illustrations-gallery-controls button:hover,
.illustrations-gallery-controls button:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.24em;
  outline: 0;
}

.drawing-placeholders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: start;
}

.drawing-placeholder {
  margin: 0;
}

.placeholder-box {
  border: 0.5px solid var(--line);
  aspect-ratio: 4 / 3;
}

.drawing-placeholder:nth-child(3n + 1) .placeholder-box {
  aspect-ratio: 16 / 9;
}

.drawing-placeholder:nth-child(3n + 2) .placeholder-box {
  aspect-ratio: 3 / 4;
}

.drawing-placeholder:nth-child(5n) .placeholder-box {
  aspect-ratio: 1 / 1.35;
}

.drawing-placeholder figcaption {
  margin-top: 0.25rem;
  font-size: inherit;
  line-height: 1.2;
}

.plates {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-top: 4rem;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
  font-size: 1.02rem;
  display: grid;
  grid-template-columns: 10vw minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.section-label {
  margin: 0;
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
}

.drawing-list > .section-label {
  padding: 0.45rem 0;
}

.plate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.4rem 1.4rem;
}

.plate {
  margin: 0;
}

.plate-box {
  aspect-ratio: 16 / 9;
  border: 0.5px solid var(--line);
}

.plate figcaption {
  margin-top: 0.45rem;
  font-size: inherit;
  line-height: inherit;
  font-variant-numeric: tabular-nums;
}

.archive-meta-box p {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
  white-space: nowrap;
}

.about-narrative {
  margin-bottom: 2.4rem;
}

.meta-list {
  display: grid;
  margin: 0;
}

.meta-list div {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0;
  border-bottom: 0;
}

.meta-list dt,
.meta-list dd {
  margin: 0;
  font-weight: 400;
}

@media (max-width: 1100px) {
  .drawing-list {
    width: 100%;
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
  }

  .drawing-list .catalogue-list {
    column-count: 1;
    column-gap: 0;
    column-rule: 0;
  }

  .drawing-list .catalogue-list::before,
  .drawing-list .catalogue-list::after {
    content: none;
  }
}

/* Shared live-project responsive structure:
   desktop: 1181px and above; tablet: 641–1180px; mobile: 640px and below. */
@media (max-width: 1180px) {
  .live-project-page .zeichnung-page {
    display: flex;
    width: 100%;
    flex-direction: column;
    padding-left: 0;
  }

  .live-project-page .tote-rail {
    position: static;
    inset: auto;
    order: 0;
    width: 100%;
    min-height: 0;
    padding: 18px 12px 28px;
    overflow: visible;
  }

  .live-project-page .tote-layout,
  .live-project-page .zeichnung-facsimile,
  .live-project-page .illustrations-gallery {
    order: 1;
    width: 100%;
  }

  /* Illustration pages remain a single viewport: the project header takes its
     natural height and the drawing occupies all remaining space. */
  .illustrations-gallery-page.live-project-page .zeichnung-page {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }

  .illustrations-gallery-page.live-project-page .tote-rail {
    flex: 0 0 auto;
  }

  .illustrations-gallery-page.live-project-page .illustrations-gallery {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
  }

  .illustrations-gallery-page.live-project-page .illustrations-gallery-controls {
    position: static;
    inset: auto;
    margin-top: 18px;
    transform: none;
  }

  .illustrations-gallery-page.live-project-page .illustrations-gallery-stage .illustrations-gallery-image {
    object-position: center;
  }

  .illustrations-gallery-page.live-project-page .illustrations-gallery-magnifier {
    display: none;
  }

  .illustrations-gallery-page.live-project-page .illustrations-gallery-magnifier-toggle {
    display: none;
  }

  .live-project-page .project-rail-footer {
    order: 2;
    width: 100%;
    margin-top: 0;
    padding: 32px 12px 36px;
    background: #f8f8f4;
  }

  .live-project-page .catalogue-home-mark {
    position: fixed;
  }
}

@media (min-width: 641px) and (max-width: 1180px) {
  .live-project-page .tote-rail {
    padding: 24px 20px 32px;
  }

  .live-project-page .tote-rail-meta {
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
    column-gap: clamp(36px, 6vw, 88px);
    align-items: start;
  }

  .live-project-page .project-rail-dateline,
  .live-project-page .project-rail-title,
  .live-project-page .project-rail-type,
  .live-project-page .project-rail-type-row {
    grid-column: 1;
  }

  .live-project-page .project-contents {
    grid-column: 2;
    grid-row: 1 / span 3;
    margin-top: 0;
  }

  .live-project-page .project-rail-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(36px, 6vw, 88px);
    padding: 36px 20px 44px;
  }
}

@media (max-width: 640px) {
  /* Page references are useful in the publication-like desktop rails, but
     consume valuable width on phones. Keep the contents labels and hierarchy
     while removing only each row's second (page-number) value. */
  .project-contents .contents-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-contents .contents-row > span + span {
    display: none;
  }

  .tote-page .project-rail-title {
    font-size: 28.8px;
  }

  .live-project-page .tote-rail {
    padding-bottom: 200px;
  }

  .illustrations-gallery-page.live-project-page .tote-rail {
    padding-bottom: 24px;
  }

  .illustrations-gallery-page.live-project-page .illustrations-gallery-stage {
    padding-right: 12px;
    padding-left: 12px;
  }

  .live-project-page .tote-rail-meta {
    grid-template-columns: 1fr;
  }

  .live-project-page .project-contents {
    margin-top: 18px;
  }

  .live-project-page .project-rail-footer {
    padding-top: 200px;
  }

  .continuous-scroll-page .project-rail-footer {
    padding-top: 32px;
  }

  .live-project-page .tote-grid figure,
  .live-project-page .journal-document-grid figure {
    overflow: hidden;
  }

  .live-project-page .tote-grid figure img,
  .live-project-page .journal-document-grid figure img {
    width: 120%;
    max-width: none;
    margin-left: -10%;
  }

  .live-project-page .journal-chapter-gallery {
    box-sizing: border-box;
    padding-right: 16px;
    padding-left: 16px;
  }

  .live-project-page .journal-chapter-gallery figure img {
    width: 100%;
    height: 100%;
    margin-left: 0;
    object-fit: cover;
    object-position: center;
  }

  /* Match the Journal's inset mobile treatment for ELEMENTAL album spreads. */
  .victor-elemental-page .tote-grid figure:nth-child(n + 2) {
    box-sizing: border-box;
    padding-right: 16px;
    padding-left: 16px;
    background: #deded9;
  }

  .victor-elemental-page .tote-grid figure:nth-child(n + 2) img {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }

  .live-project-page .journal-comparison-years {
    right: auto;
    left: -10%;
    width: 120%;
  }

  .home,
  .page {
    width: min(100% - 2rem, var(--measure));
  }

  .home,
  .page {
    padding-top: 1.5rem;
  }

  .catalogue-row,
  .catalogue-loading {
    grid-template-columns: 4.8rem minmax(0, 1fr) 1.4rem;
    gap: 0.8rem;
  }

  .catalogue {
    width: 100%;
  }

  .catalogue-white-body .catalogue {
    width: 100%;
  }

  .catalogue-white-body .catalogue-row {
    grid-template-columns: 4.8rem 1.4rem minmax(0, 1fr);
  }

  .catalogue-intro {
    width: 100%;
  }

  .time-note {
    width: 100%;
  }

  .drawing-header .drawing-clock-header {
    width: calc(50% - 1rem);
    margin-right: 0;
    margin-left: 1rem;
  }

  .drawing-header .project-intro {
    width: min(100% - 2rem, var(--measure));
    margin-right: auto;
    margin-left: auto;
  }

  .archive-meta-box p {
    white-space: normal;
  }

  .project-intro,
  .plates {
    width: 100%;
  }

  .drawing-list {
    width: 100%;
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .drawing-list .catalogue-list {
    column-count: 1;
    column-gap: 0;
    column-rule: 0;
  }

  .drawing-placeholders {
    grid-template-columns: 1fr;
  }

  .ministry-layout {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-right: 0;
    padding-left: 0;
  }

  .ministry-page.ministry-simple .ministry-layout {
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }

  .ministry-page.ministry-simple .zeichnung-simple-header {
    padding-right: 14px;
    padding-left: 14px;
  }

  .ministry-grid {
    grid-template-columns: 1fr;
  }

  .tote-rail {
    padding: 18px 8px;
  }

  .tote-rail-meta {
    gap: 5px;
    font-size: 10px;
  }

  .editorial-text-copy h3,
  .editorial-text-copy p {
    font-size: 15px;
    line-height: 1.25;
    letter-spacing: -0.015em;
  }

  .editorial-text-copy h3 {
    font-size: 20px;
  }

  .editorial-text-copy {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    padding-right: 16px;
    padding-left: 16px;
  }

  .illustrations-gallery-stage {
    padding: 16px;
  }

  .illustrations-gallery-magnifier {
    display: none;
  }

  .ministry-images-page .ministry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plate-grid {
    grid-template-columns: 1fr;
  }

  .plates {
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .meta-list div {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .catalogue-symbol {
    width: 1.4rem;
  }

  .spread-home {
    width: 100vw;
    min-height: 100vh;
    margin: 0;
    grid-template-columns: 1fr;
    border-radius: 0;
  }

  .spread-panel-left::after {
    display: none;
  }

  .spread-panel-left,
  .spread-panel-right {
    min-height: 50vh;
    padding: 2rem;
  }

  .spread-links {
    width: 100%;
    gap: 3rem;
  }

  .spread-links a,
  .spread-links a:last-child {
    align-self: flex-start;
    font-size: clamp(3rem, 18vw, 5rem);
  }

  .spread-meta {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .project-document {
    margin-top: 2rem;
    min-height: auto;
  }

  .journal-study {
    width: min(100% - 2rem, var(--measure));
  }

  .journal-document {
    margin-top: 3rem;
  }

  .journal-section,
  .journal-media-grid {
    grid-template-columns: 1fr;
  }

  .journal-title-block p {
    grid-column: auto;
  }

  /* Mobile project headers share the same baseline height. Longer contents
     may extend it, but short project headers no longer jump between pages. */
  .live-project-page .tote-rail {
    box-sizing: border-box;
    min-height: 285px;
  }

  /* Keep the publication canvas full width, reducing only the actual sheets
     so Ministry and Paradise images fit within the mobile viewport. */
  .compact-main-content .tote-layout {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .compact-main-content .tote-grid figure img {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }

  /* Both illustration galleries are edge-to-edge on mobile. */
  .illustrations-gallery-page.live-project-page .illustrations-gallery-stage {
    padding-right: 0;
    padding-left: 0;
  }

  .illustrations-gallery-page.live-project-page .tote-rail {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  /* Illustration galleries use ordinary, uninterrupted document flow on
     phones. Cursor-driven pan remains a desktop-only gallery behaviour. */
  html:has(.native-mobile-gallery-scroll) {
    height: auto !important;
    min-height: 100%;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .native-mobile-gallery-scroll,
  .native-mobile-gallery-scroll .zeichnung-page {
    height: auto !important;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .native-mobile-gallery-scroll .illustrations-gallery,
  .native-mobile-gallery-scroll .illustrations-gallery-stage {
    flex: none;
    height: auto !important;
    min-height: 0;
    padding-top: 0;
    overflow: visible !important;
    touch-action: pan-y !important;
  }

  .native-mobile-gallery-scroll .illustrations-gallery-stage {
    padding: 0;
  }

  .native-mobile-gallery-scroll .illustrations-gallery-stage .illustrations-gallery-image,
  .native-mobile-gallery-scroll .illustrations-gallery-stage.is-mow-width .illustrations-gallery-image,
  .native-mobile-gallery-scroll .illustrations-gallery-stage.is-edge-cropped .illustrations-gallery-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    object-fit: contain;
    object-position: center;
    touch-action: pan-y !important;
    transform: none !important;
  }

  /* Every mobile gallery reaches both viewport edges. Images retain their
     natural proportions, so full bleed never introduces an extra crop. */
  .native-mobile-gallery-scroll .illustrations-gallery {
    width: 100vw;
    max-width: none;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
  }

  .native-mobile-gallery-scroll.architecture-models-page .illustrations-gallery-stage,
  .native-mobile-gallery-scroll.south-american-photography-page .illustrations-gallery-stage,
  .native-mobile-gallery-scroll.ministry-models-page .illustrations-gallery-stage,
  .native-mobile-gallery-scroll.foster-graduate-show-page .illustrations-gallery-stage:not(.is-natural-frame) {
    position: relative;
    width: 100%;
    height: auto !important;
    aspect-ratio: auto;
    padding: 0;
    overflow: visible !important;
  }

  .native-mobile-gallery-scroll.architecture-models-page .illustrations-gallery-image,
  .native-mobile-gallery-scroll.south-american-photography-page .illustrations-gallery-image,
  .native-mobile-gallery-scroll.ministry-models-page .illustrations-gallery-image,
  .native-mobile-gallery-scroll.foster-graduate-show-page .illustrations-gallery-stage:not(.is-natural-frame) .illustrations-gallery-image {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
    height: auto;
    object-fit: contain;
    object-position: center;
  }

}
