/* HEXE — a poem alongside the first photograph, keeping all 18 photo coordinates unchanged. */
.hexe-stage { position:relative; width:min(1100px,94vw); margin:0 auto 90px; }
.hexe-stage > .gallery { width:100%; margin:0; }
.hexe-poem {
  position:absolute;
  top:1.55%;
  left:67.5%;
  width:29%;
  z-index:3;
  color:#585b58;
  font-family:Arial,Helvetica,sans-serif;
}
.hexe-poem-controls {
  display:flex;
  align-items:center;
  gap:11px;
  margin:0 0 29px;
  font:400 10px/1.4 Arial,Helvetica,sans-serif;
  letter-spacing:.16em;
  color:#8b8f8c;
}
.hexe-poem-lang {
  border:0;
  border-bottom:1px solid transparent;
  background:transparent;
  color:inherit;
  padding:4px 2px 6px;
  font:inherit;
  cursor:pointer;
}
.hexe-poem-lang.is-active { color:#262a26; border-bottom-color:#262a26; }
.hexe-poem-lang:focus-visible { outline:1px solid currentColor; outline-offset:5px; }
.hexe-poem-version { margin:0; animation:hexePoemFade .45s ease both; }
.hexe-poem-version[hidden] { display:none !important; }
.hexe-poem-line {
  display:block;
  font:400 12px/1.8 Arial,Helvetica,sans-serif;
  letter-spacing:.012em;
  text-align:left;
  overflow-wrap:break-word;
}
@keyframes hexePoemFade {
  from { opacity:0;transform:translateY(5px); }
  to { opacity:1;transform:translateY(0); }
}
@media (max-width:1100px) {
  /* On narrower screens, present the text as a threshold before the gallery. */
  .hexe-stage { display:flex;flex-direction:column;width:min(1100px,94vw); }
  .hexe-poem {
    position:relative;
    left:auto;top:auto;
    width:min(76%,480px);
    align-self:flex-end;
    margin:0 5% 58px 0;
  }
  .hexe-stage > .gallery { width:100%; }
  .hexe-poem-line { font-size:13px;line-height:1.83; }
}
@media (max-width:650px) {
  .hexe-stage { width:100%; margin:0 auto 90px; }
  .hexe-poem { align-self:flex-start;width:min(80%,390px);margin:0 0 52px 7%; }
  .hexe-poem-controls { margin-bottom:25px; }
  .hexe-poem-line { font-size:12px;line-height:1.85; }
}
@media (prefers-reduced-motion:reduce) { .hexe-poem-version { animation:none; } }
