.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; }
}

/* Product story and plans form one destination, ahead of consulting. */
.portal-showcase { background: var(--paper); border-block: 1px solid var(--line); }
.portal-showcase__inner { display: grid; gap: clamp(2rem, 4vw, 4rem); }
.portal-showcase__heading { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1rem 4rem; align-items: end; }
.portal-showcase__heading > .section-label { grid-column: 1 / -1; margin: 0; }
.portal-showcase__heading h2 { margin: 0; font-size: clamp(3.5rem, 6.5vw, 7rem); }
.portal-showcase__intro > p { max-width: 36rem; color: var(--muted); font-size: 1.05rem; line-height: 1.7; margin: 0; }
.portal-showcase .neural-labs__actions { margin: 1.75rem 0 .5rem; }
.portal-plans-link { color: var(--ink); background: var(--paper-bright); }
.portal-showcase .neural-labs__features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; margin: 0; gap: 2rem; }
.portal-showcase .neural-labs__features li { grid-template-columns: auto 1fr; padding: 1.2rem 0; }
.portal-showcase .neural-labs__features strong { font-size: .95rem; }
.portal-showcase .neural-labs__features small { grid-column: 2; color: var(--muted); font-size: .85rem; }
.portal-showcase .portal-gallery { grid-template-columns: 1.25fr 1fr; align-items: start; gap: clamp(1rem, 3vw, 3rem); }
.portal-gallery__shot { box-shadow: 0 .8rem 2rem rgb(11 12 17 / 8%); }
.portal-gallery__shot:nth-child(2) { margin-top: 4rem; }
.portal-gallery__shot figcaption { align-items: start; flex-direction: column; padding: 1.2rem; }
.portal-gallery__shot figcaption strong { font-size: 1rem; }
.portal-gallery__shot figcaption span { font-size: .8rem; }
.portal-plans { scroll-margin-top: 6rem; padding-top: clamp(1rem, 3vw, 3rem); min-width: 0; }
.portal-plans__heading { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 2rem; }
.portal-plans__heading h3 { font-size: clamp(2.2rem, 3.6vw, 3.8rem); line-height: 1.05; letter-spacing: -.055em; margin: 0; }
.portal-plans__heading > p { color: var(--muted); max-width: 36rem; line-height: 1.7; margin: 0; }
.portal-plans .plan-card { padding: 2.25rem 1.25rem 1.25rem; }
.portal-plans .plan-badge { position: absolute; top: .8rem; left: 1.25rem; font-size: .7rem; }
.portal-plans .plan-card h4 { color: #0b0c11; font-size: 1.5rem; line-height: 1.2; letter-spacing: -.04em; margin: .7rem 0; }
.portal-plans .plan-summary { font-size: .88rem; line-height: 1.55; margin: 0 0 1rem; }
.portal-plans .plan-price { flex-direction: column; gap: .3rem; min-height: 5.2rem; margin: 0 0 1rem; font-size: 1.8rem; font-weight: 700; }
.portal-plans .plan-price strong { font-size: 2.6rem; line-height: 1.2; }
.portal-plans .plan-price span { font-size: .73rem; font-weight: 400; }
.portal-plans .plan-card li { font-size: .8rem; line-height: 1.5; }
.portal-plans .plan-action { font-size: .82rem; }
@container (min-width: 1080px) { .portal-plans .plan-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@container (min-width: 560px) and (max-width: 759px) { .portal-plans .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .portal-showcase__heading, .portal-plans__heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .portal-showcase .neural-labs__features { gap: 1rem; }
  .portal-gallery__shot:nth-child(2) { margin-top: 2rem; }
}
@media (max-width: 600px) {
  .portal-showcase .neural-labs__features, .portal-showcase .portal-gallery { grid-template-columns: 1fr; gap: 0; }
  .portal-showcase .portal-gallery { gap: 1.5rem; }
  .portal-gallery__shot:nth-child(2) { margin-top: 0; }
  .portal-showcase .neural-labs__actions { align-items: stretch; flex-direction: column; }
  .portal-showcase .neural-labs__actions .button { justify-content: space-between; }
}

.landing-theme.dark-style .portal-plans-link { background: #171922; color: #f4f2ed; }
