.hybrid-hero-grid {
  padding-block: clamp(32px, 4vw, 58px) 28px;
  row-gap: 18px;
}

.hybrid-heading .eyebrow { margin-bottom: 12px; }
.hero-tagline {
  margin-top: 12px;
  font-size: clamp(1.25rem, 1.1rem + .9vw, 1.875rem);
  font-weight: 650;
  line-height: 1.22;
}

.hybrid-portrait { max-width: 400px; }
.hybrid-portrait img {
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 83% center;
}

.peter-photo { max-width: 228px; }
.peter-photo img {
  aspect-ratio: 4 / 5;
  object-position: 68% center;
}

@media (max-width: 899px) {
  .peter-photo { max-width: none; grid-template-columns: 96px minmax(0, 1fr); }
}

.showcase-wrap { padding-bottom: clamp(32px, 4vw, 56px); }
.showcase {
  padding: clamp(14px, 2.2vw, 28px);
  background: var(--desk);
  border: 1px solid var(--rule);
  border-radius: 12px;
}

.showcase-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: .9375rem;
  font-weight: 650;
}

.showcase-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.showcase-controls button {
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--white);
  color: var(--blue);
  cursor: pointer;
  line-height: 1;
}

.showcase-controls button:hover { border-color: var(--blue); }
.showcase-controls button:active { background: var(--desk); }
.showcase-controls .showcase-rotation { min-width: 86px; }
.showcase-arrow { font-size: 1.5rem; }
.showcase-position { padding-inline: 3px; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* The examples share one grid cell so the section keeps its height when it changes. */
.showcase-stage { display: grid; }
.showcase-slide {
  grid-area: 1 / 1;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.46fr);
  align-items: center;
  gap: clamp(16px, 3.6vw, 52px);
}
.showcase-slide[inert] { visibility: hidden; }

.showcase-copy h2 {
  font-size: clamp(1.375rem, 1.04rem + 1.45vw, 2.25rem);
  line-height: 1.12;
  text-wrap: pretty;
}
.showcase-copy p {
  margin-top: 8px;
  max-width: 35ch;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.4;
}

.showcase-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  align-self: stretch;
  gap: clamp(8px, 1.3vw, 16px);
  padding: clamp(8px, 1.3vw, 16px);
  background: var(--white);
  color: var(--blue);
  border: 1px solid var(--rule);
  border-radius: 8px;
}

.showcase-sheet {
  min-width: 0;
  padding: 10px clamp(8px, 1.15vw, 16px);
  border: 1px solid var(--rule);
  border-radius: 5px;
  background: var(--desk);
  font-size: .9375rem;
  line-height: 1.28;
  overflow-wrap: anywhere;
}
.showcase-sheet--result { border-top: 3px solid var(--green); background: var(--white); }
.showcase-label { color: var(--ink-soft); font-weight: 650; }
.showcase-sheet p + p { margin-top: 6px; }
.showcase-source {
  display: inline-block;
  padding: 3px 6px;
  border-radius: 4px;
  background: var(--desk);
  font-size: .875rem;
}

.showcase-visual--link { text-decoration: none; }
.showcase-quantity strong {
  display: inline-block;
  padding-inline: 5px;
  border-radius: 3px;
  background: var(--marker);
  font-size: 1.5rem;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.showcase-open {
  grid-column: 1 / -1;
  justify-self: end;
  font-size: .9375rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-underline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  .showcase[data-enhanced] .showcase-slide:not([inert]) { animation: showcase-appear .24s ease-out both; }
  @keyframes showcase-appear {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: none; }
  }
}

@media (max-width: 799px) {
  .hybrid-portrait { max-width: none; grid-template-columns: 128px minmax(0, 1fr); }
  .showcase-slide { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 12px; }
  .showcase-header { margin-bottom: 10px; }
}
