/* Flesh Zero / film and editorial galleries. Scoped to this collection only. */
.flesh-zero-page .fz-film-block { padding-top: clamp(72px, 8vw, 124px); }
.flesh-zero-page .fz-gallery-block {
  padding-top: clamp(30px, 3.3vw, 58px);
  --fz-gallery-width: min(1600px, calc(100vw - 48px), 130svh);
}

.flesh-zero-page .fz-section-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}
.flesh-zero-page .fz-section-bar .block-label { margin: 0; }
.flesh-zero-page .fz-section-meta,
.flesh-zero-page .fz-gallery-count,
.flesh-zero-page .fz-film-caption {
  color: rgba(255,255,255,.53);
  font: 9px/1.5 'Courier New', monospace;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.flesh-zero-page .fz-gallery-count { white-space: nowrap; font-variant-numeric: tabular-nums; }
.flesh-zero-page .fz-gallery-count [data-fz-current] { color: #f2f2f2; }

.flesh-zero-page .fz-wide {
  position: relative;
  width: min(1600px, calc(100vw - 48px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}
/* Keep the labels and both image galleries aligned inside one screen-height-
   aware frame. The entire photo remains visible without clipping its edges. */
.flesh-zero-page .fz-gallery-block .fz-wide,
.flesh-zero-page .fz-gallery-block .fz-section-bar {
  width: var(--fz-gallery-width);
}
.flesh-zero-page .fz-gallery-block .fz-section-bar {
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.flesh-zero-page .fz-film-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #090909;
}
.flesh-zero-page .fz-film-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050505;
}
.flesh-zero-page .fz-film-play {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: 100%;
  border: 0;
  background: linear-gradient(180deg, transparent 64%, rgba(0,0,0,.35) 100%);
  color: #fff;
  cursor: pointer;
  font: 10px/1.4 'Courier New', monospace;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.flesh-zero-page .fz-film-play[hidden] { display: none; }
.flesh-zero-page .fz-film-play-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 50%;
  background: rgba(0,0,0,.33);
  transition: background .2s ease, transform .2s ease;
}
.flesh-zero-page .fz-film-play-icon::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid #fff;
}
.flesh-zero-page .fz-film-play:hover .fz-film-play-icon {
  background: rgba(0,0,0,.7);
  transform: scale(1.045);
}
.flesh-zero-page .fz-film-play:focus-visible,
.flesh-zero-page .fz-carousel:focus-visible,
.flesh-zero-page .fz-arrow:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.flesh-zero-page .fz-film-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}
.flesh-zero-page .fz-film-status:empty { display: none; }
.flesh-zero-page .fz-film-status:not(:empty) {
  margin-top: 12px;
  color: #f0c2b9;
  font: 12px/1.5 Inter, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.flesh-zero-page .fz-carousel {
  position: relative;
  background: #050505;
  outline: none;
}
.flesh-zero-page .fz-carousel-viewport {
  position: relative;
  overflow: hidden;
  background: #050505;
  touch-action: pan-y;
}
.flesh-zero-page .fz-carousel-track {
  display: flex;
  width: 100%;
  transition: transform 540ms cubic-bezier(.22,.67,.13,1);
}
.flesh-zero-page .fz-carousel-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  overflow: hidden;
}
.flesh-zero-page .fz-single-slide {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: auto;
  background: #080808;
}
.flesh-zero-page .fz-single-slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
}
/* Captions belong below each photograph, never across its feet or lower edge. */
.flesh-zero-page .fz-carousel-slide figcaption {
  position: static;
  padding: 12px 2px 6px;
  background: none;
  color: rgba(255,255,255,.84);
  font: 9px/1.5 'Courier New', monospace;
  letter-spacing: .29em;
  text-transform: uppercase;
  pointer-events: none;
}
/* Character sheets remain intact, as single 16:9 artworks. */
.flesh-zero-page .fz-single-slide.fz-sheet-slide {
  height: auto;
  max-height: none;
  background: #f4f4f4;
}
.flesh-zero-page .fz-sheet-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
}

.flesh-zero-page .fz-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  place-items: center;
  width: 51px;
  height: 51px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(0,0,0,.46);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  transition: border-color .2s ease, background .2s ease;
}
.flesh-zero-page .fz-arrow svg { display: block; width: 21px; height: 21px; }
.flesh-zero-page .fz-arrow:hover {
  border-color: rgba(255,255,255,.85);
  background: rgba(0,0,0,.78);
}
.flesh-zero-page .fz-arrow--prev { left: clamp(10px, 2.5vw, 36px); }
.flesh-zero-page .fz-arrow--next { right: clamp(10px, 2.5vw, 36px); }
.flesh-zero-page .fz-carousel:not(.is-ready) .fz-arrow { display: none; }

@media (max-width: 700px) {
  .flesh-zero-page .fz-film-block { padding-top: 72px; }
  .flesh-zero-page .fz-gallery-block {
    padding-top: 52px;
    --fz-gallery-width: calc(100vw - 24px);
  }
  .flesh-zero-page .fz-section-bar { margin-bottom: 18px; }
  .flesh-zero-page .fz-section-meta,
  .flesh-zero-page .fz-gallery-count { font-size: 8px; letter-spacing: .18em; }
  .flesh-zero-page .fz-wide { width: calc(100vw - 24px); }
  .flesh-zero-page .fz-film-play { gap: 12px; font-size: 8px; }
  .flesh-zero-page .fz-film-play-icon { width: 48px; height: 48px; }
  .flesh-zero-page .fz-film-play-icon::before {
    border-top-width: 6px;
    border-bottom-width: 6px;
    border-left-width: 10px;
  }
  .flesh-zero-page .fz-film-caption { font-size: 8px; letter-spacing: .14em; }
  .flesh-zero-page .fz-carousel-slide figcaption { padding: 10px 2px 4px; font-size: 8px; }
  .flesh-zero-page .fz-arrow { width: 42px; height: 42px; }
  .flesh-zero-page .fz-arrow svg { width: 17px; height: 17px; }
  .flesh-zero-page .fz-arrow--prev { left: 8px; }
  .flesh-zero-page .fz-arrow--next { right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .flesh-zero-page .fz-carousel-track,
  .flesh-zero-page .fz-arrow,
  .flesh-zero-page .fz-film-play-icon { transition: none; }
}
