/* Selected Projects — reusable video cards using the established site tokens. */

.selected-projects {
  border-top: 1px solid var(--line);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.project-card {
  min-width: 0;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.project-video {
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  min-height: 200px;
  background: var(--dark);
}

.project-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.project-copy {
  padding: 22px;
}

.project-copy h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.25;
}

.project-copy > p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.project-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 10px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration-color: var(--gold);
  text-underline-offset: 5px;
  text-transform: uppercase;
}

.project-link:hover { text-decoration-thickness: 2px; }

.project-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.project-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 28px;
  }

  .project-copy { padding: 20px; }
  .project-copy h3 { font-size: 25px; }
}

@media (max-width: 480px) {
  .project-copy { padding: 20px; }
  .project-copy h3 { font-size: 23px; }
}
