/* Homepage layout and enlargement; approved image bytes remain unchanged. */
.chrome-image-refresh .hero-inner {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 4vw, 64px);
}
.chrome-image-refresh .hero-content { max-width: 620px; }
.chrome-image-refresh .hero-capture--release {
  width: min(100%, 520px);
  justify-self: end;
}
.hero-capture-open {
  display: block;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: zoom-in;
}
.hero-capture-enlarge-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #101116;
  color: #f6f2e8;
  font-size: .75rem;
}
.hero-capture--release .release-demo-caption { margin-top: 10px; }
.hero-capture-credits { text-align: center; }
.hero-capture-credits summary {
  width: fit-content;
  margin: 0 auto;
  padding: 6px;
  cursor: pointer;
}
.hero-capture-credits p { margin: 8px 0 0; text-align: left; }
.hero-capture-open:focus-visible,
.hero-capture-credits summary:focus-visible,
.hero-capture-viewer :focus-visible {
  outline: 3px solid var(--accent-hover);
  outline-offset: 4px;
}
.hero-capture-viewer {
  box-sizing: border-box;
  width: min(96vw, 1400px);
  max-width: none;
  max-height: 96vh;
  max-height: 96dvh;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: #111217;
  color: #f6f2e8;
}
.hero-capture-viewer[open] { display: flex; flex-direction: column; gap: 12px; }
.hero-capture-viewer::backdrop { background: rgb(0 0 0 / .85); }
.hero-capture-viewer-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hero-capture-viewer-bar h2 { margin: 0; font-size: 1rem; letter-spacing: normal; }
.hero-capture-viewer-close {
  min-height: 44px;
  min-width: 68px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #25262e;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.hero-capture-viewer img {
  display: block;
  min-height: 0;
  width: 100%;
  height: auto;
  max-height: calc(96vh - 142px);
  max-height: calc(96dvh - 142px);
  object-fit: contain;
}
.hero-capture-viewer-original { align-self: center; padding: 6px; color: var(--accent-hover); font-size: .85rem; text-decoration: underline; }
body.hero-capture-viewer-open { overflow: hidden; }
@media (max-width: 980px) {
  .chrome-image-refresh .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .chrome-image-refresh .hero-capture--release { width: min(100%, 560px); justify-self: center; }
  .hero-capture-viewer { padding: 10px; border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-capture--release .hero-capture-slide { transition: none; }
}
