.portal-showcase .neural-labs__inner { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); }
.portal-showcase .neural-labs__copy h2 { font-size: clamp(3rem, 5.6vw, 6.2rem); }
.portal-gallery { display: grid; gap: 1.5rem; min-width: 0; }
.portal-gallery__shot { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: #fffef9; color: #0b0c11; box-shadow: 0 1rem 3rem rgb(11 12 17 / 10%); }
.portal-gallery__shot a { display: block; position: relative; color: inherit; }
.portal-gallery__shot img { display: block; width: 100%; height: auto; }
.portal-gallery__shot a:focus-visible { outline: 4px solid #2676ff; outline-offset: -4px; }
.portal-gallery__zoom { position: absolute; right: .7rem; bottom: .7rem; padding: .65rem .85rem; border-radius: .6rem; background: #fffef9; color: #0b0c11; font-size: .75rem; font-weight: 700; box-shadow: 0 2px 12px #0003; }
.portal-gallery__shot figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem .8rem; padding: .9rem 1rem; font-size: .8rem; line-height: 1.5; }
.portal-gallery__shot figcaption span { color: #62636b; font-size: .7rem; }
.portal-image-dialog { width: min(96vw, 110rem); max-width: 96vw; max-height: 94dvh; margin: auto; padding: 0; border: 1px solid #62636b; border-radius: 1rem; background: #fffef9; color: #0b0c11; overflow: auto; font-family: var(--sans, 'Public Sans', sans-serif); }
.portal-image-dialog::backdrop { background: rgb(11 12 17 / 85%); }
.portal-image-dialog__bar { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; background: #fffef9; }
.portal-image-dialog__bar h2 { margin: 0; font-size: 1rem; line-height: 1.4; letter-spacing: normal; }
.portal-image-dialog__bar button { flex-shrink: 0; min-height: 44px; padding: .6rem 1rem; border: 0; border-radius: .6rem; background: #0b0c11; color: #fffef9; font: inherit; cursor: pointer; }
.portal-image-dialog__bar button:focus-visible { outline: 3px solid #2676ff; outline-offset: 3px; }
.portal-image-dialog > img { display: block; width: 100%; height: auto; }
html.portal-image-open { overflow: hidden; }
@media (max-width: 1050px) {
  .portal-showcase .neural-labs__inner { grid-template-columns: 1fr; }
  .portal-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
@media (max-width: 600px) {
  .portal-gallery { grid-template-columns: 1fr; }
  .portal-image-dialog__bar { padding: .6rem; }
  .portal-image-dialog__bar h2 { font-size: .85rem; }
}
