/* ── Shared project page styles ──────────────────────────────── */

/* Hero: full bleed */
.project-hero-media {
  margin: 0;
  height: calc(100vh - 61px);
  overflow: hidden;
}
.project-hero-media img,
.project-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Project info header: narrow centered column, left-aligned */
.project-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 640px;
  margin: 6vh auto;
  padding: 0 0 6vh;
  border-bottom: 1px solid rgba(25, 25, 25, 0.12);
}
.project-info-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #292b2d;
}
.project-info-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: #191919;
  opacity: 0.45;
}
.project-meta {
  display: flex;
  flex-direction: row;
  gap: 48px;
  flex-wrap: wrap;
}
.meta-label {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #191919;
  opacity: 0.35;
  margin-bottom: 3px;
}
.meta-value {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: #191919;
  opacity: 0.65;
  line-height: 1.5;
}

/* Content body: full width for images, narrow centered column for text */
.project-body {
  margin: 0 32px 12vh;
}
.project-section {
  margin-bottom: 12vh;
}
.section-label {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #191919;
  opacity: 0.35;
  margin-bottom: 14px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  text-align: left;
}
.section-heading {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.04em;
  color: #292b2d;
  margin-bottom: 20px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.section-text {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 165%;
  letter-spacing: -0.02em;
  color: #191919;
  opacity: 0.65;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  text-align: left;
}

/* Section images */
.section-img {
  width: 100%;
  display: block;
  border-radius: 8px;
  margin-top: 72px;
}
.section-img-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 72px;
}
.section-img-pair + .section-img-pair {
  margin-top: 12px;
}
.section-img-pair img {
  width: 100%;
  display: block;
  border-radius: 8px;
}
.section-img-trio {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 72px;
}
.section-img-trio img {
  width: 100%;
  display: block;
  border-radius: 8px;
}
.section-img-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 72px;
}
.section-img-row img {
  width: 100%;
  display: block;
  border-radius: 6px;
}

/* ── Custom video player ─────────────────────────────────────── */
.vid-player {
  position: relative;
  width: 100%;
  height: 100%;
}
.vid-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vid-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 48px 24px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 100%);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.vid-controls.vid-hidden {
  opacity: 0;
  pointer-events: none;
}
.vid-progress {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  transition: height 0.15s ease;
}
.vid-progress:hover {
  height: 3px;
}
.vid-progress-fill {
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 2px;
  pointer-events: none;
}
.vid-btn {
  background: none;
  border: none;
  padding: 6px 8px;
  cursor: pointer;
  color: #fff;
  display: flex !important;
  align-items: center;
  opacity: 0.85;
  transition: opacity 0.15s;
  line-height: 1;
  border-radius: 6px;
  flex-shrink: 0;
}
.vid-btn:hover { opacity: 1; }
.vid-btn .ti { font-size: 15px; }
.vid-time {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
}

/* ── Responsive */
@media (max-width: 768px) {
  .project-info       { padding: 0 20px 4vh; margin: 4vh 20px; max-width: none; }
  .project-info-title { font-size: 32px; }
  .project-meta       { gap: 28px; }
  .project-body       { margin: 0 20px 8vh; }
  .section-label,
  .section-heading,
  .section-text       { max-width: none; }
  .section-img-pair   { grid-template-columns: 1fr; }
  .section-img-trio   { grid-template-columns: 1fr 1fr; }
  .section-img-row    { grid-template-columns: 1fr 1fr; }
}
