.product-page, .lightbox { font-family: Montserrat, Arial, sans-serif; }
.product-page {
  margin-inline: auto;
  max-width: 1376px;
  padding: clamp(78px, 7.1vw, 115px) clamp(22px, 5.4vw, 84px) clamp(64px, 8vw, 130px);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  margin-bottom: clamp(18px, 2.5vw, 42px);
  color: #675e56;
  font-size: .84rem;
  text-decoration: none;
}
.back-link span { font-family: Arial, sans-serif; font-size: 1.2rem; }
.back-link:hover { color: #76461c; }
.sources a:hover { color: #76461c; text-decoration: underline; }
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(32px, 6.2vw, 100px);
  align-items: start;
}
.product-heading, .product-copy { grid-column: 2; }
.product-heading { grid-row: 1; }
.product-heading h1 { font-size: clamp(2rem, 3.4vw, 3.5rem); line-height: 1.07; letter-spacing: -.055em; font-weight: 300; text-wrap: balance; }
.byline { margin-top: .7rem; color: #76461c; font-size: clamp(.93rem, 1.3vw, 1.13rem); line-height: 1.55; }
.product-figure { grid-column: 1; grid-row: 1 / span 2; position: sticky; top: 64px; }
.open-gallery {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  cursor: zoom-in;
  background-color: white;
}
.product-image-area {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  height: clamp(280px, 54vh, 570px);
  padding: clamp(16px, 2.2vw, 36px);
}
.product-image-area img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.gallery-bar { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 0 20px; gap: .5rem; font-size: .85rem; }
.gallery-bar > span:first-child { display: inline-flex; align-items: center; gap: .6rem; }
.gallery-bar svg, .icon-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.open-gallery:hover .gallery-bar { color: #76461c; }
.image-count { color: #69645f; font-size: .8rem; }
.product-copy { grid-row: 2; min-width: 0; }
.product-intro { font-weight: 300; margin-top: 1.4rem; font-size: clamp(1.02rem, 1.4vw, 1.22rem); line-height: 1.63; }
.product-copy h2 { font-size: 1.26rem; font-weight: 400; letter-spacing: -.035em; line-height: 1.4; }
.specifications, .article-section, .sources { margin-top: clamp(2.3rem, 3.7vw, 3.2rem); }
.specifications dl { margin: 1rem 0 0; border-top: 1px solid #ded9d4; }
.specifications dl > div { display: grid; grid-template-columns: minmax(6.6rem, .7fr) minmax(0, 1.35fr); gap: 1rem; padding: .78rem 0; border-bottom: 1px solid #e8e5e1; font-size: .9rem; line-height: 1.55; overflow-wrap: anywhere; }
.specifications dt { color: #645e57; }
.specifications dd { margin: 0; }
.article-section p { font-weight: 300; margin-top: .85rem; font-size: 1rem; line-height: 1.8; }
.sources { border-top: 1px solid #ded9d4; padding-top: 1.5rem; }
.sources h2 { font-size: 1rem; }
.sources ul { margin-top: .65rem; padding: 0; list-style: none; }
.sources li { padding: .32rem 0; font-size: .83rem; line-height: 1.55; color: #625b55; }
.sources a { text-underline-offset: .2em; }
.lightbox { width: min(1360px, calc(100% - 3rem)); height: min(900px, calc(100dvh - 3rem)); max-height: none; overflow: hidden; }
.lightbox::backdrop { background-color: rgb(27 23 20 / 65%); }
.lightbox-frame { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; width: 100%; height: 100%; background: white; }
.lightbox.full-window { inset: 0; width: 100%; height: 100dvh; margin: 0; border-radius: 0; }
.lightbox-frame:fullscreen { width: 100%; height: 100%; }
.lightbox-header, .lightbox-footer { display: flex; align-items: center; gap: .5rem; padding: .45rem clamp(12px, 2.2vw, 32px); }
.lightbox-header h2 { flex: 1; font-size: clamp(.9rem, 1.6vw, 1.28rem); font-weight: 400; letter-spacing: -.025em; }
.icon-button { display: grid; place-items: center; width: 44px; height: 44px; flex: none; padding: 0; background: white; border-radius: 50%; border: 0; cursor: pointer; color: inherit; }
.icon-button:hover { background: #f3f0ec; }
.icon-button .contract-icon, #expand[aria-pressed="true"] .expand-icon { display: none; }
#expand[aria-pressed="true"] .contract-icon { display: block; }
.lightbox-stage { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; min-height: 0; margin: clamp(8px, 2vh, 24px) clamp(8px, 1.6vw, 24px); touch-action: pan-y pinch-zoom; }
.lightbox-stage img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox-footer { justify-content: space-between; min-height: 64px; }
.view-info { min-width: 0; font-size: .86rem; line-height: 1.5; }
#view-credit { color: #67615c; font-size: .76rem; }
.view-controls { display: flex; align-items: center; justify-content: flex-end; flex: none; font-variant-numeric: tabular-nums; font-size: .82rem; }
.view-controls[hidden] { display: none; }
@media (max-width: 800px) {
  .product-page { padding-top: 65px; }
  .back-link { margin-bottom: 14px; }
  .product-layout { display: flex; flex-direction: column; gap: 0; }
  .product-heading { margin-bottom: 1.25rem; }
  .product-figure { position: static; width: 100%; }
  .product-image-area { height: clamp(260px, 70vw, 430px); }
  .lightbox { width: calc(100% - 1rem); height: calc(100dvh - 1rem); }
  .lightbox-footer { align-items: flex-start; gap: 0; flex-direction: column; padding-block: .65rem; }
  .view-controls { align-self: flex-end; }
}
