/* styles/sections/question-cards.css
 * /strategy/ "We Start with the Right Questions": a centred head (subtitle on the pre-swap
 * 741px measure, 78ch at 16px), then six question cards in three staggered columns of a
 * tall and a short card from 900px, one column below. Each card is the texture photo under
 * a fern wash with white type. The conclusion holds 643px (60ch at 18px). */
@layer sections {
  .framework-section {
    padding-block: var(--space-64);
  }

  .framework-header h2 {
    margin-bottom: var(--space-32);
  }

  .framework-subtitle {
    max-width: 741px;
    margin: 0 auto var(--space-48);
    color: var(--ink-muted);
  }

  .framework-philosophy {
    margin-block: var(--space-16);
    font-weight: 500;
  }

  .framework-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-48);
  }

  .framework-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-48);
  }

  .framework-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-32);
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--white);
    text-align: center;
  }

  .framework-card.tall {
    min-height: 440px;
  }

  .framework-card.short {
    min-height: 140px;
  }

  .framework-card .card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
    object-fit: cover;
  }

  .framework-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    background: var(--fern-app);
    opacity: 0.9;
    pointer-events: none;
  }

  .framework-card > * {
    position: relative;
    z-index: 1;
  }

  .card-explanation {
    margin-top: var(--space-8);
    color: var(--white-80);
    font-style: italic;
    font-weight: 400;
  }

  .framework-footer {
    margin-top: var(--space-64);
  }

  .framework-conclusion {
    max-width: 643px;
    margin: 0 auto;
    color: var(--ink-muted);
    font-weight: 500;
  }

  @media (width >= 900px) {
    .framework-columns {
      grid-template-columns: repeat(3, 1fr);
    }
  }
}
