/* Standalone product prose shares the page gutter; card and split-column copy keeps its own width. */
.inner-v2 .chapter > .wrap.prose { max-width: var(--container-c); }
.inner-v2 .chapter > .wrap.prose > :is(p,ul,ol) { max-width: none; }

/* Saga Suite and SQLDog retain their original marks on a coordinated light surface. */
.thematic-hero.thematic-hero--brand:not(.inner-hero--shaka) {
  min-height: 32rem;
  padding-block: clamp(3rem, 5vw, 5rem);
  background: linear-gradient(130deg, #0b1722, #192d40);
}
.thematic-hero.thematic-hero--brand:not(.inner-hero--shaka)::before { display: none; }
.thematic-hero.thematic-hero--brand:not(.inner-hero--shaka) .inner-hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.hero-media.hero-media--brand.hero-media--light {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 28rem;
  min-height: 18rem;
  margin-inline: auto;
  padding: 2rem;
  border: 1px solid #dce3e8;
  border-radius: .75rem;
  background: #fff;
  box-shadow: 0 1.25rem 3.5rem rgba(0,0,0,.2);
}
.hero-media--brand.hero-media--light .hero-brand-image {
  width: 100%;
  height: auto;
  max-height: 14rem;
  object-fit: contain;
}

/* Shaka's product identity leads the hero; screenshots remain in the page content. */
.inner-hero.inner-hero--shaka.thematic-hero--brand {
  min-height: 35rem;
  padding-block: clamp(3rem, 5vw, 5rem);
  background: radial-gradient(ellipse at 8% 20%, #1a326c 0, transparent 48%),
    radial-gradient(ellipse at 80% 90%, #321b26 0, transparent 52%), #0b0f1b;
}
.inner-hero.inner-hero--shaka.thematic-hero--brand .inner-hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.inner-hero--shaka .hero-media--brand {
  width: 100%;
  max-width: 25rem;
  margin-inline: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.inner-hero--shaka .hero-media--brand .hero-brand-image {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}
/* Descriptions introduce each view before its image and retain the existing zoom controls. */
.shaka-screen .shaka-screen-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  gap: .75rem;
  padding: 1.5rem;
}
.shaka-screen .shaka-screen-content :is(h3,p) { margin: 0; }
.shaka-screen .shaka-screen-content p { flex: 1; }
.shaka-screen .shaka-screen-content .btn { margin-top: .25rem; }
@media (max-width: 959px) {
  .thematic-hero.thematic-hero--brand:not(.inner-hero--shaka) {
    min-height: 0;
    padding-block: 2.5rem;
  }
  .thematic-hero.thematic-hero--brand:not(.inner-hero--shaka) .inner-hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .hero-media.hero-media--brand.hero-media--light {
    order: -1;
    max-width: 24rem;
    min-height: 14rem;
    padding: 1.5rem;
  }
  .hero-media--brand.hero-media--light .hero-brand-image { max-height: 11rem; }
  .inner-hero.inner-hero--shaka.thematic-hero--brand {
    min-height: 0;
    padding-block: 2.5rem;
  }
  .inner-hero.inner-hero--shaka.thematic-hero--brand .inner-hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .inner-hero--shaka .hero-media--brand {
    order: -1;
    max-width: 15rem;
  }
}
