/* HEXE — note d'intention au milieu de la série (après la 12e photo).
   Deux scènes conservent exactement la position, la taille et l'ordre des photos.
   Seul un intervalle vertical réservé au texte est inséré entre les scènes. */
.hexe-stage { container-type:inline-size; }
.hexe-stage > .gallery {
  --hexe-base-height:calc(100cqw * 5.45);
  --hexe-interlude-shift:1080px; /* valeur initiale, affinée par le texte EN/FR */
  height:calc(var(--hexe-base-height) + var(--hexe-interlude-shift));
  aspect-ratio:auto;
  position:relative;
}
.hexe-gallery-before,
.hexe-gallery-after {
  position:absolute;
  inset-inline:0;
  width:100%;
  height:var(--hexe-base-height);
}
.hexe-gallery-before { top:0; }
.hexe-gallery-after { top:var(--hexe-interlude-shift); }
.hexe-statement {
  position:absolute;
  z-index:3;
  /* 12e photographie : top 37.981651%, width 26%, aspect ratio 2:3 */
  top:calc(var(--hexe-base-height) * 0.37981651 + 39cqw + 40px);
  left:27%;
  width:46%;
  max-width:510px;
  color:#585b58;
  font-family:Arial,Helvetica,sans-serif;
}
.hexe-statement-controls {
  display:flex;
  align-items:center;
  gap:11px;
  margin:0 0 23px;
  font:400 10px/1.4 Arial,Helvetica,sans-serif;
  letter-spacing:.16em;
  color:#8b8f8c;
}
.hexe-statement-lang {
  border:0;
  border-bottom:1px solid transparent;
  background:transparent;
  color:inherit;
  padding:4px 2px 6px;
  font:inherit;
  cursor:pointer;
}
.hexe-statement-lang.is-active { color:#262a26; border-bottom-color:#262a26; }
.hexe-statement-lang:focus-visible { outline:1px solid currentColor; outline-offset:5px; }
.hexe-statement-version { animation:hexeStatementFade .45s ease both; }
.hexe-statement-version[hidden] { display:none !important; }
.hexe-statement-version p {
  font:400 12.5px/1.78 Arial,Helvetica,sans-serif;
  letter-spacing:.008em;
  text-align:justify;
  text-align-last:left;
  hyphens:auto;
  -webkit-hyphens:auto;
  overflow-wrap:break-word;
  margin:0 0 19px;
}
.hexe-statement-version p.hexe-statement-opening { margin-bottom:0; text-align:left; }
.hexe-statement-version p.hexe-statement-opening:nth-child(3) { margin-bottom:26px; }
.hexe-statement-version p.hexe-statement-indent { text-indent:1.2em; }
.hexe-statement-version p:last-child { margin-bottom:0; }
@keyframes hexeStatementFade {
  from { opacity:0;transform:translateY(5px); }
  to { opacity:1;transform:translateY(0); }
}
/* Le poème d'ouverture garde ses coordonnées d'avant l'insertion. */
@media (min-width:1101px) { .hexe-poem { top:calc(100cqw * 0.084475); } }
@media (min-width:651px) and (max-width:1100px) {
  .hexe-statement { left:20%; width:60%; max-width:500px; }
}
@media (max-width:650px) {
  .hexe-statement { left:8%; width:84%; max-width:none; top:calc(var(--hexe-base-height) * 0.37981651 + 39cqw + 31px); }
  .hexe-statement-version p { font-size:12.2px; line-height:1.78; margin-bottom:18px; }
  .hexe-statement-controls { margin-bottom:22px; }
}
@media (prefers-reduced-motion: reduce) { .hexe-statement-version { animation:none; } }
