/* Module 34 preserves the accepted Contact interview textbox. Section spacing
   belongs to the page; its copy, illustration and optional tape share this shell. */
.textbox-module { color: var(--purple); padding-block: 55px 100px; }
.textbox-surface {
  display: grid;
  position: relative;
  grid-template-columns: minmax(0, 1fr) minmax(144px, .36fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--radius-card);
  background: var(--lilac);
}
.textbox-module[data-surface="paper"] .textbox-surface { background: var(--paper); }
.textbox-module[data-surface="soft"] .textbox-surface { background: var(--surface-soft); }
.textbox-module[data-surface="mint"] .textbox-surface { background: var(--cyan); }
.textbox-copy { min-width: 0; padding: 0; }
.textbox-copy h2 {
  margin: 0 0 var(--space-group);
  font: 700 var(--type-section-compact)/var(--leading-heading) Poppins, sans-serif;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.textbox-copy p {
  margin: 0;
  font: 400 var(--type-body)/var(--leading-body) Inter, sans-serif;
}
.textbox-copy p + p { margin-top: var(--space-copy); }
.textbox-copy .content-kicker { margin: 0 0 var(--space-kicker); font: 400 var(--type-meta)/var(--leading-short) Inter, sans-serif; }
.textbox-copy .textbox-actions { margin-top: var(--space-group); }
.textbox-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.textbox-actions .split-button { width: fit-content; }
.textbox-actions .ui-text-link { color: inherit; }
.textbox-icon {
  justify-self: center;
  width: min(100%, 280px);
  height: auto;
  aspect-ratio: 1;
  color: var(--orange);
  transform: rotate(-10deg);
}
/* Tape is an independent decoration; it does not create another grid cell. */
.textbox-tape { position: absolute; inset: 0 0 auto; width: 100%; height: 20px; pointer-events: none; }
.textbox-tape[hidden], .textbox-icon[hidden] { display: none; }
.textbox-tape > :is(svg, img) { display: block; width: 100%; height: 100%; }

@media (max-width: 700px) {
  .textbox-surface { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 28px 24px; }
  .textbox-copy h2 { font-size: var(--type-card); line-height: var(--leading-heading); }
  .textbox-icon { justify-self: end; width: 144px; margin-right: 12px; }
}

/* An omitted illustration leaves no reserved column or gap at any breakpoint. */
.textbox-surface:not(:has(> .textbox-icon:not([hidden]))) {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
