.other-page {
  --gold: #dec780;
  --line: 1px solid #c9b98d40;
  --gap: clamp(16px, 2.35vw, 32px);
}
.piece {
  text-decoration: none;
  display: block;
  color: var(--gold);
}
.other-page h1, .triptych-title {
  margin: 0;
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 400;
  color: var(--gold);
  letter-spacing: -.025em;
}
.piece:hover span {
  color: #fff8e8;
  text-decoration: underline;
  text-underline-offset: .28em;
  text-decoration-thickness: 1px;
}
.art-row {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}
.piece img { display: block; width: 100%; height: auto; min-width: 0; }
.other-page { --room: min(1100px, calc(100% - 88px)); }
.other-page .return-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  font: 14px/1.3 var(--interface);
  color: #c6c0b3;
  text-decoration: none;
}
.other-page .return-link:hover { text-decoration: underline; text-underline-offset: .3em; }
.other-page main { padding-block: clamp(28px,5svh,60px) clamp(56px,9svh,96px); }
.other-page h1 { margin-bottom: clamp(24px, 4.5svh, 46px); }
.piece { min-width: 0; scroll-margin-top: 20px; }
.piece span { display: block; margin-top: 12px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.3; text-wrap: pretty; }
.art-row + .art-row, .triptych-title { margin-top: clamp(44px, 7.6svh, 90px); }
/* Equal visible heights for each original aspect ratio. */
.studio { grid-template-columns: 0.92226fr 1.115fr; }
.row-2 { grid-template-columns: 1fr 1.7778fr .5625fr; }
.row-3 { grid-template-columns: 1.044fr 1.5fr 1fr; }
.row-4 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.triptych-title { border-top: var(--line); padding-top: clamp(32px, 5svh, 54px); margin-bottom: 22px; font-size: clamp(23px, 2.3vw, 30px); }
html:has(.viewer[open]) { overflow: hidden; }
.viewer {
  border: 0; margin: auto; padding: 0;
  width: 100%; max-width: none; height: 100%; max-height: none;
  background: #050609; color: #ded8c7;
}
.viewer::backdrop { background: #050609; }
.view-inner {
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0,1fr) auto;
  padding: max(6px,env(safe-area-inset-top)) clamp(12px,3vw,52px) max(12px,env(safe-area-inset-bottom));
}
.viewer button {
  padding: 0; background: transparent; border: none; color: var(--gold);
  font: 26px/1 var(--interface); min-width: 46px; min-height: 46px; cursor: pointer;
}
.viewer button:hover { color: white; }
.dismiss { justify-self: end; }
.view-art { display: grid; place-items: center; grid-template: minmax(0,1fr) / minmax(0,1fr); touch-action: pan-y pinch-zoom; }
.view-art img { width: 100%; height: 100%; object-fit: contain; }
.view-foot {
  display: grid; align-items: center; text-align: center; width: min(100%,760px);
  margin: 0 auto; grid-template-columns: auto 1fr auto; gap: 12px; padding-top: 12px;
}
.view-foot h2 { margin: 0; color: var(--gold); font-size: clamp(17px,2vw,23px); font-weight: 400; text-wrap: balance; }
.position { display: block; color: #b6b3ac; margin-top: 5px; font: 12px/1.4 var(--interface); letter-spacing: .08em; }
@media (max-width: 700px) {
  .other-page { --room: calc(100% - 36px); }
  .art-row { gap: 26px 14px; }
  .studio { grid-template-columns: 1fr; }
  .studio .piece { width: min(100%, 48svh); justify-self: center; }
  .city { grid-template-columns: 1fr; }
  .row-2 { grid-template-columns: 1fr .5625fr; }
  .row-2 .piece:nth-child(2) { grid-column: 1/-1; grid-row: 2; }
  .row-3 { grid-template-columns: 1.044fr 1fr; }
  .row-3 .piece:nth-child(2) { grid-column: 1/-1; grid-row: 2; }
  .row-4 { column-gap: 8px; }
  .art-row + .art-row { margin-top: 30px; }
  .piece span { margin-top: 8px; font-size: 16px; }
  .row-4 span { font-size: 15px; }
}
@media (max-width: 380px) {
  .other-page .return-link { gap: 3px; font-size: 13px; }
}
/* Blend the space reserved for the open eye into the wall behind the car. */
.zoom-stage[data-view="car"]:not(.is-moving) { background-color: transparent; }

/* Only the gallery print of 15M. Keep the poster and source file unchanged. */
.gallery-home figure[id="15m"] > img { filter: brightness(.935) contrast(1.16); }

#galgos .book-link { flex-shrink: 0; }
#galgos .voice { text-wrap: pretty; }

/* On small screens, keep the three section names together below the signature. */
.gallery-home header { flex-wrap: wrap; }
@media (max-width: 510px), (max-height: 410px) {
  .gallery-home header { padding-block: 4px 8px; }
  .gallery-home .site-links { order: 3; width: 100%; justify-content: space-between; margin: 0; gap: 8px; }
  .gallery-home .languages::before { display: none; }
  .gallery-home .site-links a { font-size: clamp(14px, 4vw, 16px); }
}
@media (orientation: landscape) and (max-height: 560px) {
  .gallery-home header { width: min(100% - 32px, max(510px, var(--room))); }
}
