/* ── Intro ─────────────────────────────────────── */
.project-intro-wrap { max-width: 900px; }

.intro-family-img {
  margin: 2.5rem 0 0.5rem;
  border-radius: 1rem;
  overflow: hidden;
}
.intro-family-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.intro-family-img img:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 36px rgba(0,0,0,0.10);
}

/* ── Character blocks ───────────────────────────── */
.char-block {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin: 3.5rem 0;
}
.char-block:nth-child(even) { flex-direction: row-reverse; }

.char-visual { flex: 0 0 44%; }
.char-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: zoom-in;
}
.char-visual img:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 36px rgba(0,0,0,0.10);
}

/* ── Lightbox ───────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.88);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 0.75rem;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  animation: lb-in 0.22s ease;
}
@keyframes lb-in {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

.char-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding-top: 0.5rem;
}

.char-name {
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1a1a1a;
}

.char-desc {
  font-size: 1rem;
  color: #666;
  line-height: 1.55;
  margin: 0;
}

.char-video {
  margin-top: 0.5rem;
  border-radius: 0.85rem;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.char-video:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 36px rgba(0,0,0,0.10);
}
.char-video video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.85rem;
}

/* ── Process grid (2 col) ───────────────────────── */
.process-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 2rem 0 0.5rem;
}
.process-pair img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.85rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.process-pair img:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 36px rgba(0,0,0,0.10);
}

/* ── Action grid ────────────────────────────────── */
.action-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 2rem 0 0.5rem;
}
.action-item {
  border-radius: 0.85rem;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.action-item:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 36px rgba(0,0,0,0.10);
}
.action-item video {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Closing line ───────────────────────────────── */
.project-closing {
  text-align: center;
  padding: 4rem 1.5rem 5rem;
}
.project-closing p {
  font-size: 1.25rem;
  font-weight: 500;
  color: #888;
  font-style: italic;
  line-height: 1.55;
}

/* ── Mobile ─────────────────────────────────────── */
@media (max-width: 768px) {
  .char-block,
  .char-block:nth-child(even) { flex-direction: column; gap: 1.5rem; }
  .char-visual { flex: none; width: 100%; }
  .process-pair { grid-template-columns: 1fr; }
  .action-grid  { grid-template-columns: 1fr; }
}
