@media (max-width: 650px) {
  .project-dialog {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: 38svh minmax(0, 1fr) !important;
    border-radius: 0 !important;
    overflow: hidden !important;
  }

  .project-dialog-visual {
    min-width: 0;
    height: 100%;
  }

  .project-dialog-story {
    min-width: 0;
    padding: 1.75rem 1.25rem 3rem;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .project-dialog-header h2 {
    margin: 1rem 0;
    font-size: clamp(1.75rem, 8vw, 2.8rem) !important;
    line-height: 0.92;
    overflow-wrap: anywhere;
  }

  .project-dialog-header p {
    max-width: 100%;
    font-size: 0.9rem;
  }

  .project-dialog-detail {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
    margin: 1.5rem 0;
  }

  .project-dialog-deliverables {
    grid-template-columns: 1fr !important;
    gap: 0.4rem;
  }

  .project-dialog-close {
    top: 0.75rem;
    right: 0.75rem;
  }
}
