/* Moving photographic prints; an opaque central print remains behind the carousel. */
.monolith-scene.hero-gallery-ready { touch-action: pan-y pinch-zoom; transform-style: flat; }
.hero-gallery-ready .monolith[data-hero-card],
.hero-gallery-ready .monolith[data-gallery-center] {
  left: 0; top: 0; width: var(--gallery-card-width); height: var(--gallery-card-height);
  margin: 0; transform-origin: 50% 50%; transition: none; visibility: visible;
}
.hero-gallery-ready .monolith[data-hero-card] { will-change: transform; }
.hero-gallery-ready .monolith[data-gallery-center] { z-index: 1; opacity: 1; pointer-events: none; }
.hero-gallery-ready .monolith[data-gallery-center] .monolith-label { display: none; }
.hero-gallery-ready .monolith img { object-position: var(--gallery-position, 50% 38%); }
.hero-gallery-ready .monolith[data-gallery-center] img { transform: none; }
.hero-gallery-ready .monolith[data-hero-card][aria-hidden="true"] { pointer-events: none; }
.hero-gallery-ready .monolith-label { font-size: 10px; }
.hero-gallery-controls {
  position: absolute; z-index: 10; left: 58%; bottom: 6.5%;
  display: flex; align-items: center; gap: 7px; transform: translateX(-50%);
  color: var(--ink, #292b28);
}
.hero-gallery-controls button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; min-width: 44px; min-height: 44px;
  padding: 0; border: 1px solid #8b877a; border-radius: 50%;
  background: #f5f1e9; color: inherit; cursor: pointer;
  font: 400 18px/1 'Source Sans 3', sans-serif;
  transition: background-color .24s var(--ease), color .24s var(--ease), border-color .24s var(--ease), transform .24s var(--ease);
}
.hero-gallery-controls button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.hero-gallery-controls button:active { transform: scale(.97); }
.hero-gallery-controls button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.hero-gallery-count { min-width: 50px; text-align: center; font: 400 10px/1.2 'Roboto Mono', monospace; letter-spacing: .02em; }
@media (max-width: 800px) {
  .hero-gallery-controls { left: 50%; bottom: 2%; gap: 5px; }
  .hero-gallery-count { min-width: 43px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-gallery-ready .monolith[data-hero-card] { will-change: auto; }
  .hero-gallery-controls button { transition: none; }
}
/* Exact viewports preserve the original source artwork without exposing mockup navigation. */
.hero-gallery-ready .monolith-art > svg { width: 100%; height: 100%; display: block; }
.hero-gallery-ready .monolith-art > [hidden] { display: none !important; }
.hero-gallery-ready .hero-gallery-cropped:after { display: none; }
/* Original PhotoVideo identity, kept at its native proportions. */
.couture-logo{display:flex;align-items:center;justify-content:center;width:88px;height:88px;flex:0 0 88px;padding:3px;text-decoration:none}
.couture-logo img{display:block;width:100%;height:100%;object-fit:contain}
.couture-hero .hero-explore{left:auto;right:var(--gutter);bottom:6%}
.couture-hero .hero-edition{left:var(--gutter);right:auto;bottom:4%;text-align:left}
@media(max-width:800px){.couture-logo{width:65px;height:65px;flex-basis:65px;padding:1px}.couture-hero .hero-edition{display:none}.couture-hero .hero-explore{right:16px;bottom:3%;font-size:9px}.hero-gallery-controls{left:46%;bottom:2%}}
/* Premier rendu (28/11/2026) : les trois cartes statiques d'index.html reprennent exactement l'état initial
   du carrousel (photos 23/01/02 du manifeste de Noël, positions de layout() dans hero-gallery.js) pour éviter tout flash au démarrage.
   Ordinateur : carte de 25,66 % de large, hauteur min(69,8 %, largeur × 2,9). Téléphone (≤ 800 px) : 54 %, min(40 %, × 1,62).
   Toute modification de layout() doit être reportée ici. */
.monolith-scene:not(.hero-gallery-ready) { transform-style: flat; }
.monolith-scene:not(.hero-gallery-ready) .monolith[data-hero-card] {
  left: var(--hg-x); top: var(--hg-y); width: 25.66%; height: auto; max-height: 69.8%; aspect-ratio: 1 / 2.9;
  margin: 0; transform-origin: 50% 50%; transition: none;
  transform: translate(-50%, -50%) rotateY(var(--hg-angle)) scale(var(--hg-scale));
}
.monolith-scene:not(.hero-gallery-ready) .monolith[data-hero-card] img { object-position: var(--gallery-position, 50% 38%); transform: none; }
.monolith-scene:not(.hero-gallery-ready) .monolith--left { --hg-x: 25.55%; --hg-y: 53.8%; --hg-scale: .62; --hg-angle: 2deg; z-index: 4; }
.monolith-scene:not(.hero-gallery-ready) .monolith--center { --hg-x: 57.4%; --hg-y: 50.4%; --hg-scale: 1; --hg-angle: -2.5deg; z-index: 5; }
.monolith-scene:not(.hero-gallery-ready) .monolith--right { --hg-x: 84.2%; --hg-y: 50.9%; --hg-scale: .615; --hg-angle: -4deg; z-index: 4; }
/* Cadrage des trois photos de départ (« position » du manifeste) : ici plutôt qu'en attribut style, que la CSP du .htaccess bloquerait. */
.monolith-scene:not(.hero-gallery-ready) .monolith--left { --gallery-position: 50% 35%; }
.monolith-scene:not(.hero-gallery-ready) .monolith--center { --gallery-position: 50% 40%; }
.monolith-scene:not(.hero-gallery-ready) .monolith--right { --gallery-position: 50% 40%; }
.monolith-scene:not(.hero-gallery-ready) .monolith--left .monolith-art,
.monolith-scene:not(.hero-gallery-ready) .monolith--right .monolith-art { filter: brightness(.84) saturate(.94); }
.monolith-scene:not(.hero-gallery-ready) .monolith--center { box-shadow: 0 0 80px -22px #ffffff38, 0 34px 54px -30px #000; }
@media (max-width: 800px) {
  .monolith-scene:not(.hero-gallery-ready) .monolith[data-hero-card] { width: 54%; max-height: 40%; aspect-ratio: 1 / 1.62; }
  .monolith-scene:not(.hero-gallery-ready) .monolith--left { --hg-x: 8.5%; --hg-y: 47%; --hg-scale: .40; --hg-angle: 7deg; }
  .monolith-scene:not(.hero-gallery-ready) .monolith--center { --hg-x: 52%; --hg-y: 43.5%; --hg-angle: -1.5deg; }
  .monolith-scene:not(.hero-gallery-ready) .monolith--right { --hg-x: 94.5%; --hg-y: 46.5%; --hg-scale: .40; --hg-angle: -7deg; }
}
