/* A photo essay inside the existing Chivers directory. No overlays on product pixels. */
.venture-row.gallery-card {
  display:grid;
  grid-template-columns:minmax(0,0.84fr) minmax(0,1.34fr);
  grid-template-areas:"text picture";
  align-items:center;
  gap:clamp(1.5rem,4.4vw,4.8rem);
  padding:clamp(1.15rem,3vw,3rem);
  background:#111314;
  border:1px solid #34383a;
  border-top-color:#55595a;
  scroll-margin-top:5.5rem;
}
.gallery-card .gallery-copy { grid-area:text; min-width:0; padding:0; }
.gallery-card .gallery-kicker {
  display:flex; align-items:baseline; gap:.75rem; flex-wrap:wrap;
  color:#d5d0c6; font:600 .73rem/1.5 var(--mono); letter-spacing:.065em; text-transform:uppercase;
}
.gallery-kicker .gallery-number { color:#ff9464; font-weight:700; }
.gallery-kicker .gallery-number::after { content:" /"; color:#8e8179; }
.gallery-card .gallery-copy h4 { margin:.8rem 0; font:400 clamp(1.9rem,3.25vw,3.8rem)/1.06 var(--display); letter-spacing:-.05em; max-width:19ch; text-wrap:balance; }
.gallery-card .gallery-logomark { display:inline-block; height:.98em; width:.98em; margin-right:.17em; vertical-align:-.025em; }
.gallery-card .gallery-copy .status { max-width:100%; height:auto; min-height:0; padding:.47rem .6rem; font-size:.7rem; line-height:1.35; }
.gallery-card .gallery-copy .gallery-blurb { max-width:44ch; color:#e1ded6; font-size:clamp(1rem,1.1vw,1.16rem); line-height:1.58; margin:1.1rem 0; }
.gallery-card .gallery-copy .venture-card-link { display:inline-flex; min-height:44px; align-items:center; margin:0; line-height:1.4; text-align:left; }
.gallery-card .gallery-media { grid-area:picture; margin:0; min-width:0; }
.gallery-shot {
  display:grid; width:100%; overflow:hidden; padding:0; border-radius:8px;
  border:1px solid #575c5e; background:#0a0e11; color:#f6f2e9; text-decoration:none; cursor:zoom-in;
}
.gallery-shot:focus-visible,.gallery-extra:focus-visible { outline:3px solid #ff966a; outline-offset:4px; }
.gallery-shot:hover,.gallery-shot:focus-visible { border-color:#f08857; color:#fff; }
.gallery-shot .sheet { display:block; width:100%; min-width:0; background:var(--shot-bg,#11171c); }
.gallery-shot img { display:block; width:100%; height:auto; margin:0; }
.gallery-caption { display:flex; gap:.5rem 1rem; flex-wrap:wrap; align-items:baseline; justify-content:space-between; padding:.72rem .92rem; background:#191c1e; border-top:1px solid #393c3e; }
.gallery-caption .caption-name { color:#ebe5da; font:600 .82rem/1.4 var(--body,system-ui); }
.gallery-caption .caption-action { color:#ffac81; font:600 .72rem/1.5 var(--mono); }
.gallery-extra { min-height:44px; display:inline-flex; align-items:center; font-size:.88rem; color:#ffd0b6; }
.proof-story-media.film-frame { padding:0; }
.film-frame a { display:block; text-decoration:none; }
.film-frame img { display:block; max-height:620px; object-fit:contain; background:#101419; }
.film-frame figcaption,.proof-story-media .board-caption { color:#e0dcd2; line-height:1.5; }
.film-frame .film-link { color:#ffad7f; text-decoration:underline; text-underline-offset:3px; }
.gallery-fit-link { color:inherit; }
.gallery-dialog-actions { display:flex; flex-wrap:wrap; align-items:center; gap:.35rem 1rem; min-width:0; }
.gallery-dialog-actions #gallery-original { display:inline-flex; align-items:center; min-height:44px; color:#ffd0b0; text-underline-offset:.23em; }
.venture-preview-dialog[open] { overflow:auto; }
.venture-preview-shell { display:flex; flex-direction:column; max-height:none; }
.venture-preview-shell::before { content:"Image preview"; flex:0 0 auto; box-sizing:border-box; min-height:52px; padding:16px 72px 13px 20px; font:600 12px/1.6 var(--mono); letter-spacing:.1em; text-transform:uppercase; color:#dbd3c6; border-bottom:1px solid #34393b; }
.venture-preview-shell .venture-preview-close { top:4px; right:8px; }
.venture-preview-media img { max-height:min(65svh,850px); }
@media(max-width:700px) {
  .venture-preview-shell { max-height:none; grid-template-rows:auto auto; }
  .venture-preview-media { min-height:105px; }
  .venture-preview-footer { grid-template-columns:minmax(0,1fr); gap:.35rem; }
}
@media (max-width:840px) {
  .venture-row.gallery-card { grid-template-columns:minmax(0,1fr); grid-template-areas:"text" "picture"; gap:1.15rem; }
  .gallery-card .gallery-copy h4 { max-width:100%; }
}
@media (max-width:450px) {
  .venture-row.gallery-card { padding:1.05rem .8rem; }
  .gallery-caption { padding:.65rem .75rem; }
}
@media(forced-colors:active) { .gallery-shot { border:1px solid ButtonText; } }
