.projects-overlay { background: #18324466; backdrop-filter: blur(6px); }
.projects-dialog {
  position: relative;
  width: min(1040px, 96vw);
  max-height: 92vh;
  max-height: 92dvh;
  overflow: auto;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid #e3cfaa;
  border-radius: 28px;
  background: #fbf4e4;
  color: #293a44;
  box-shadow: 0 24px 90px #1d2b3559, inset 0 0 70px #ecd3a329;
}
.projects-close {
  position: absolute; top: 15px; right: 15px;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid #b9a786; background: #f4e6cb;
  font-size: 19px; color: #344650; cursor: pointer;
}
.projects-close:hover { background: #ead7b3; }
.projects-heading { text-align: center; margin: 3px 20px 28px; }
.projects-eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: 11px; font-weight: 700; color: #966332; }
.projects-heading h2 { font: 500 clamp(32px, 4vw, 44px)/1.15 Georgia, serif; margin: 9px 0 10px; }
.projects-heading > p:last-child { line-height: 1.5; color: #60665e; }
.project-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.project-choice {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid #d9c5a2; border-radius: 16px;
  background: #fffaf0; text-decoration: none; color: inherit;
  box-shadow: 0 5px 14px #6e512b0f;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.project-preview { aspect-ratio: 4 / 3; overflow: hidden; background: #e3e1cd; }
.project-preview > img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.project-preview-llnd > img { object-position: center; }
.project-preview-films { position: relative; display: grid; place-items: center; background: radial-gradient(ellipse at 30% 25%, #738b9a, #304d64 75%); }
.project-preview-films > img { width: 52%; height: 70%; object-fit: contain; transform: translateX(-12%); filter: drop-shadow(0 8px 10px #132d4560); }
.project-play { position: absolute; right: 18%; bottom: 21%; display: grid; place-items: center; width: 54px; height: 54px; padding-left: 3px; border: 1px solid #fff7d9; border-radius: 50%; background: #f5db9e; color: #38556b; font-size: 22px; box-shadow: 0 4px 10px #162d4340; }
.project-copy { flex: 1; display: flex; flex-direction: column; padding: 21px 22px 22px; }
.project-copy h3 { font: 700 25px/1.2 Georgia, serif; color: #263c52; }
.project-copy p { margin: 9px 0 23px; font-size: 14px; line-height: 1.5; color: #61675e; }
.project-action { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 14px; border-top: 1px solid #e6d7be; font-weight: 650; font-size: 14px; color: #84502f; }
.project-action > span { font-size: 21px; }
.project-choice:hover { transform: translateY(-4px); border-color: #b38c54; box-shadow: 0 12px 25px #6e512b20; }
.project-choice:focus-visible, .projects-close:focus-visible { outline: 3px solid #425e76; outline-offset: 4px; }
@media (max-width: 700px) {
  .projects-dialog { padding: 26px 18px 20px; border-radius: 22px; max-height: 90dvh; }
  .projects-heading { margin: 10px 20px 24px; }
  .projects-heading > p:last-child { font-size: 14px; }
  .project-choices { grid-template-columns: 1fr; gap: 14px; }
  .project-choice { display: grid; grid-template-columns: 35% minmax(0, 1fr); }
  .project-preview { aspect-ratio: auto; min-height: 160px; height: 100%; }
  .project-preview > img { object-position: center; }
  .project-copy { padding: 17px; }
  .project-copy h3 { font-size: 24px; }
  .project-copy p { margin: 7px 0 13px; font-size: 13px; }
  .project-action { font-size: 13px; padding-top: 10px; }
  .project-preview-films > img { width: 82%; }
  .project-play { width: 39px; height: 39px; right: 10%; bottom: 21%; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .project-choice { transition: none; } }
