/* Factory imagery is original source material; captions remain outside photos. */
#factory.production-materials {
  padding: 94px clamp(24px, 5vw, 80px);
  background: #f7f9fc;
  color: #142d4e;
  scroll-margin-top: 92px;
}
.production-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 44px;
}
.production-heading .section-label { margin: 0 0 16px; color: #865431; }
.production-heading h2 { margin: 0; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.16; }
.production-heading .production-copy { margin: 0 0 3px; max-width: 500px; color: #53677f; font-size: 16px; line-height: 1.8; }
.production-gallery { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); gap: 24px 32px; }
.production-gallery .production-shot { margin: 0; min-width: 0; background: transparent; box-shadow: none; overflow: hidden; }
.production-shot img { display: block; width: 100%; height: auto; object-fit: cover; }
.production-shot--assembly { grid-column: 1; grid-row: 1 / span 3; display: flex; flex-direction: column; }
.production-shot--assembly img { flex: 1; min-height: 0; height: 0; object-position: center; }
.production-shot:not(.production-shot--assembly) { grid-column: 2; }
.production-gallery .production-shot figcaption {
  position: static;
  inset: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
  min-height: 70px;
  padding: 15px 0 17px;
  border-bottom: 1px solid rgba(20,45,78,.17);
  background: transparent;
  color: #142d4e;
  backdrop-filter: none;
  box-sizing: border-box;
}
.production-shot figcaption strong { font: 600 18px/1.4 var(--sans, sans-serif); }
.production-shot figcaption span { color: #53677f; font: 400 13px/1.5 var(--sans, sans-serif); }
.production-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 28px; }
.production-sources { margin: 0; color: #53677f; font-size: 12px; line-height: 1.8; }
.production-sources a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.production-action { color: #142d4e; font-size: 14px; padding: 12px 0; text-decoration: none; border-bottom: 1px solid #a66b46; display: inline-flex; gap: 24px; align-items: center; }
.production-action:hover { color: #865431; }
.production-footer a:focus-visible { outline: 2px solid #a66b46; outline-offset: 5px; }
@media (max-width: 1050px) {
  #factory.production-materials { padding: 68px 32px; }
  .production-heading { gap: 32px; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); }
  .production-gallery { gap: 20px 24px; grid-template-columns: minmax(0,2.1fr) minmax(0,1fr); }
  .production-shot figcaption strong { font-size: 16px; }
  .production-shot figcaption span { font-size: 12px; }
}
@media (max-width: 700px) {
  #factory.production-materials { padding: 56px 24px; scroll-margin-top: 80px; }
  .production-heading { grid-template-columns: minmax(0,1fr); gap: 20px; margin-bottom: 30px; }
  .production-heading h2 { font-size: clamp(30px, 8vw, 42px); }
  .production-heading .production-copy { font-size: 14px; line-height: 1.8; }
  .production-gallery { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .production-gallery .production-shot { grid-column: auto; grid-row: auto; }
  .production-gallery .production-shot img { flex: none; height: auto; }
  .production-gallery .production-shot figcaption { min-height: 0; padding: 14px 0 16px; }
  .production-footer { flex-direction: column; align-items: flex-start; gap: 18px; }
  .production-action { min-height: 44px; box-sizing: border-box; }
}
