/* ---------- Projects ---------- */

.projects-section {
  background: var(--white);
  padding: 0px 0 0px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.project-card {
  background: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: scale(1.03);
}

.project-card {
  min-width: 0;
}

.project-card .project-thumb {
  position: relative;
  aspect-ratio: 3 / 2;
  width: 100%;
  margin: 0;
  border-radius: 8px;
  background: var(--bg-lavender);
  overflow: hidden;
}

.project-card .project-thumb img,
.project-card .project-thumb video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card h3 {
  color: var(--blue);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.4rem;
  margin: 0;
}

.project-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.project-tag {
  color: var(--text-gray);
  font-family: var(--sans);
  font-size: 0.85rem;
  white-space: nowrap;
}

.project-card {
  cursor: none;
}

@media (pointer: coarse) {
  .project-card {
    cursor: auto;
  }
}

.tech-tag {
  display: inline-block;
  background: #1a1a1a;
  color: var(--white);
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 4px;
  width: fit-content;
}

.container {
  max-width: none;
  margin: 0;
  padding: 0 40px;
}
.projects-grid.row-3 {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 40px;
}

/* ---------- Content / videos section ---------- */

.content-section {
  background: var(--white);
  padding: 60px 0 90px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.content-grid h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.reels-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.reel-placeholder {
  aspect-ratio: 9 / 16;
  background: #d9d9d9;
  border-radius: 8px;
}

.content-footnote {
  grid-column: 2;
  font-family: var(--serif);
  font-style: italic;
  color: var(--blue);
  font-size: 1.4rem;
  margin-top: 20px;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid,
  .projects-grid.row-3 {
    grid-template-columns: 1fr;
  }

  .reels-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-footnote {
    grid-column: 1;
  }

  .container {
    padding: 0 24px;
  }

  .project-title-row {
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .project-tag {
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .reels-row {
    grid-template-columns: 1fr;
  }
}
