.archive-hero { min-height: 193px; }
.archive-hero p { max-width: 54ch; }

.archive-note {
  margin-top: 14px;
  padding: 14px 18px;
  border-left: 4px solid #766e88;
  background: var(--pale);
  color: var(--muted);
}
.archive-note strong { color: var(--ink); }

.product-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-block: 10px;
  background: #fff;
}
.product-nav .button { flex: 1 1 auto; min-height: 36px; padding: 6px 10px; font-size: 14px; }

.archive-product {
  min-width: 0;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-top: 4px solid #766e88;
  scroll-margin-top: 16px;
}
.archive-product:first-of-type { border-top-color: var(--red); }
.product-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 18px 24px;
  background: var(--pale);
}
.product-heading h2 {
  font-size: clamp(21px, 2.6vw, 26px);
  letter-spacing: -.025em;
}
.product-heading p { margin-top: 5px; color: var(--muted); }
.product-year {
  padding: 4px 9px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
}
.product-body { min-width: 0; padding: 20px 24px; }
.product-body p + p { margin-top: 10px; }
.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}
.product-grid.video-layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }

.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.badge {
  padding: 3px 8px;
  background: var(--pale);
  color: var(--slate);
  font-size: 13px;
  font-weight: 700;
}
.badge.archive { background: #faeff0; color: var(--red-hover); }

.feature-list { margin-top: 10px; padding-left: 20px; }
.feature-list li + li { margin-top: 4px; }
.feature-list li::marker { color: var(--red); }
.compact-columns { columns: 2; column-gap: 21px; }
.compact-columns li { break-inside: avoid; }

.status-box { padding: 16px; border-left: 3px solid #766e88; background: var(--panel); }
.status-box h3 { margin: 0 0 6px; font-size: 17px; }
.status-box p { color: var(--muted); font-size: 14px; }
.status-box a { font-weight: 700; }

.download-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.download-note { margin-top: 7px; color: var(--muted); font-size: 14px; }

.video-frame { overflow: hidden; background: var(--ink); aspect-ratio: 16 / 9; }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

.gallery-panel { margin-top: 16px; background: var(--panel); }
.gallery-panel h3 { margin: 0; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--pale); color: var(--slate); font-size: 15px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
}
.gallery-grid a {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--pale);
}
.gallery-grid img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-grid a::after {
  content: "Enlarge";
  position: absolute;
  inset: auto 0 0;
  padding: 4px 8px;
  background: #282530e6;
  color: #fff;
  font-size: 13px;
  text-align: right;
  opacity: 0;
  pointer-events: none;
}
.gallery-grid a:hover::after, .gallery-grid a:focus-visible::after { opacity: 1; }
.gallery-unavailable { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }
.back-top { display: inline-block; margin-top: 12px; color: var(--slate); font-size: 14px; font-weight: 700; }

#lightbox {
  width: min(1100px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  background: var(--ink);
  color: #fff;
}
#lightbox::backdrop { background: #282530d9; }
.lightbox-stage {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  max-height: calc(100dvh - 32px);
}
.lightbox-stage img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: calc(100dvh - 104px);
  object-fit: contain;
}
.lightbox-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 10px;
}
.lightbox-footer span { overflow: hidden; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.lightbox-controls { display: flex; gap: 8px; }
.lightbox-button {
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid #a79fae;
  background: var(--slate);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.lightbox-button:hover { background: #635b75; }
.lightbox-button:disabled { cursor: default; opacity: .55; }

@media (min-width: 1121px) {
  .product-nav { position: sticky; z-index: 1; top: 0; }
  .archive-product { scroll-margin-top: 76px; }
}
@media (max-width: 800px) {
  .product-grid, .product-grid.video-layout { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .archive-hero { min-height: 0; }
  .product-heading, .product-body { padding: 16px; }
  .product-heading { flex-wrap: wrap; }
  .compact-columns { columns: 1; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .download-link { width: 100%; }
  .lightbox-footer { grid-template-columns: 1fr auto; }
  .lightbox-footer span { display: none; }
}
