@layer pages {
  .home-focus-flow {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
    gap: clamp(16px, 2vw, 24px);
    margin-top: clamp(16px, 2.4vw, 28px);
    align-items: start;
  }

  .home-focus-flow > .home-section {
    min-width: 0;
    margin: 0;
  }

  .home-focus-flow .recent-work-grid {
    grid-template-columns: 1fr;
  }

  .home-focus-flow .home-action,
  .home-focus-flow .recent-work-card {
    min-width: 0;
  }

  .home-more-section {
    margin-top: clamp(18px, 3vw, 32px);
    border: 0;
    border-radius: var(--radius-lg, 18px);
    background: var(--surface-subtle, rgba(31, 42, 37, .035));
    box-shadow: none;
  }

  .home-more-section > summary {
    min-height: 52px;
    padding: 12px 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
    border-radius: inherit;
    cursor: pointer;
    list-style: none;
  }

  .home-more-section > summary::-webkit-details-marker {
    display: none;
  }

  .home-more-section > summary::after {
    content: '›';
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--text-secondary, #4f5b55);
    background: var(--surface-strong, rgba(255, 255, 255, .8));
    font-size: 20px;
    line-height: 1;
    transform: rotate(90deg);
    transition: transform 160ms ease;
  }

  .home-more-section[open] > summary::after {
    transform: rotate(-90deg);
  }

  .home-more-section > summary:hover {
    background: var(--surface, rgba(255, 255, 255, .5));
  }

  .home-more-section > summary:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--accent, #805b22) 34%, transparent);
    outline-offset: 3px;
  }

  .home-more-section > summary span {
    color: var(--text-primary, #1d2421);
    font-weight: 720;
  }

  .home-more-section > summary small {
    color: var(--text-muted, #66726c);
  }

  .home-more-content {
    padding: 4px 16px 18px;
    display: grid;
    gap: 16px;
  }

  .home-more-content > .home-section,
  .home-more-content > .home-strength,
  .home-more-content > .home-quick-intents,
  .home-more-content .home-grid-secondary > .home-section {
    min-width: 0;
    margin: 0;
    border: 0;
    box-shadow: none;
  }

  .home-quick-intents {
    padding: 18px;
    border-radius: var(--radius-lg, 18px);
    background: var(--surface, rgba(255, 255, 255, .5));
  }

  .home-quick-intents .section-title {
    margin: 0;
  }

  .home-more-content .home-intent-links {
    margin-top: 12px;
  }

  .home-more-content .home-grid-secondary {
    margin-top: 0;
  }

  @media (max-width: 1100px) {
    .home-focus-flow {
      grid-template-columns: 1fr;
    }

    .home-focus-flow .recent-work-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 680px) {
    .home-focus-flow {
      gap: 14px;
    }

    .home-focus-flow .recent-work-grid {
      grid-template-columns: 1fr;
    }

    .home-action {
      grid-template-columns: auto minmax(0, 1fr);
    }

    .home-action-end {
      grid-column: 2;
      justify-content: flex-start;
      flex-wrap: wrap;
    }

    .home-more-section > summary {
      min-height: 56px;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
    }

    .home-more-section > summary small {
      grid-column: 1;
      grid-row: 2;
    }

    .home-more-section > summary::after {
      grid-column: 2;
      grid-row: 1 / span 2;
    }

    .home-more-content {
      padding: 4px 10px 12px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .home-more-section > summary::after {
      transition: none;
    }
  }
}
