.gallery .scene-wash,.gallery .glass-panel:not(.is-active) .scene-wash {
  background: linear-gradient(to top,rgba(8,22,24,.91) 0%,rgba(8,22,24,.78) 26%,rgba(8,22,24,.48) 49%,rgba(8,22,24,.06) 70%,transparent 85%);
}
.gallery .panel-copy h2,.gallery .panel-copy p,.gallery .panel-copy .panel-link {
  color: #fff; text-shadow: 0 1px 3px #10202160;
}
.gallery .panel-copy h2 { font-weight: 620; }
.gallery .panel-copy .panel-link {
  display: inline-flex; align-items: center; gap: .5rem; padding: 0;
  min-height: 0; width: auto; border: 0; background: transparent; box-shadow: none;
  font-size: 12px; font-weight: 520; line-height: 1.35; pointer-events: none !important;
}
.gallery .select-symbol { width: 25px; height: 25px; border-color: #ffffff75; color: white; }
.forward-mark { position: relative; display: inline-block; width: 13px; height: 10px; }
.forward-mark::before,.forward-mark::after { content: ''; position: absolute; right: 1px; }
.forward-mark::before { width: 12px; top: 4px; border-top: 1.5px solid currentColor; }
.forward-mark::after { width: 6px; height: 6px; top: 1px; border-top: 1.5px solid; border-right: 1.5px solid; transform: rotate(45deg); }
@media (max-width:900px) {
  .mobile-types { display: grid; grid-template-columns: repeat(5, max-content); justify-content: start; gap: 2px 4px; padding: 3px; width: fit-content; max-width: 100%; border-radius: 13px; background: #edf2ef; }
  .mobile-types button { border: 0; min-height: 32px; padding: 4px 11px; font-size: 12px; border-radius: 10px; line-height: 1.25; }
  .mobile-types button:last-child { grid-column: auto; }
  .mobile-types button[aria-pressed=true] { background: #165855; color: white; box-shadow: none; }
  .mobile-types button:focus-visible { outline: 2px solid #085c59; outline-offset: 1px; }
}
@media (min-width:460px) and (max-width:600px) {
  .mobile-types { grid-template-columns: repeat(4,max-content); }
  .mobile-types button:last-child { grid-column: 1 / -1; }
}
@media (max-width:459px) {
  .mobile-types { grid-template-columns: repeat(6,1fr); width: min(100%,355px); }
  .mobile-types button { grid-column: span 2; padding-inline: 3px; }
  .mobile-types button:nth-last-child(-n+2) { grid-column: span 3; }
}

.workshop-collage { display: grid; grid-template: repeat(2,minmax(0,1fr)) / 1.18fr 1fr; gap: 8px; min-width: 0; height: clamp(260px,31vw,430px); }
#engineering .workshop-collage figure { min-width: 0; min-height: 0; margin: 0; border-radius: 14px; overflow: hidden; }
#engineering .workshop-collage figure:first-child { grid-row: span 2; }
#engineering .workshop-collage a { display:block; height:100%; border-radius:inherit; }
#engineering .workshop-collage img { display:block; width:100%; height:100%; max-height:none; object-fit:cover; border-radius:inherit; }
#engineering .workshop-collage figcaption { display:none; }
.workshop-collage figure:nth-child(2) img { object-position:50% 36%; }
.gallery-preview header { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:18px; flex-wrap:wrap; }
.gallery-preview header h2 { margin:0; }
.gallery-preview .detail-trigger { font-size:14px; }
.preview-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(6px,1.4vw,18px); }
.preview-grid button { border:0; padding:0; cursor:zoom-in; border-radius:14px; overflow:hidden; }
.preview-grid img { width:100%; height:auto; aspect-ratio:1.8; display:block; object-fit:cover; }
.glass-explainer { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(25px,5vw,76px); align-items:start; }
.glass-explainer h2,.glass-explainer h3,.layer-section { margin-top:0; }
.glass-explainer p,.geometry-terms { line-height:1.65; }
.geometry-terms { margin:0; display:grid; grid-template-columns:auto 1fr; gap:8px 18px; }
.geometry-terms dt { font-weight:600; } .geometry-terms dd { margin:0; }
.layer-section { margin:0; background:#edf4f1; padding:clamp(18px,3vw,32px); border-radius:16px; }
.layer-section figcaption { margin-bottom:16px; font-size:16px; font-weight:550; }
.layer-section ol { display:grid; gap:4px; padding:0; margin:0; list-style:none; }
.layer-section li { display:grid; grid-template-columns:minmax(40px,1fr) minmax(130px,1.5fr); align-items:center; gap:14px; font-size:13px; }
.layer-section li::before { content:''; background:#a8d7d0; height:16px; border:1px solid #689b94; border-radius:2px; }
.layer-section li:nth-child(2)::before { height:4px; background:#cd975c; border-color:#a06c36; }
@media (max-width:700px) {
  .glass-explainer { grid-template-columns:1fr; }
  .preview-grid img { aspect-ratio:1.05; }
  .preview-grid button { border-radius:10px; }
  .workshop-collage { height:clamp(225px,65vw,330px); }
}
