/* ─── Project Page ───────────────────────────────────────────────────────── */

.project-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3rem, 6vh, 5rem);
}

.project-hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.project-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,22,40,0.92) 0%,
    rgba(10,22,40,0.4) 50%,
    rgba(10,22,40,0.1) 100%
  );
}

.project-hero-title {
  position: relative;
  z-index: 2;
  padding: 0 clamp(1.5rem, 5vw, 5rem);
}

.project-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(0,201,167,0.3);
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.project-hero-title h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.project-meta {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(240,237,232,0.6);
  letter-spacing: 0.03em;
}

/* Studio Role */
.project-studio-role {
  background: var(--bg);
  border-top: 1px solid rgba(0,201,167,0.25);
  border-bottom: 1px solid rgba(0,201,167,0.25);
  padding: 1.25rem 0;
}

.studio-role-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.studio-role-person {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.studio-role-name {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

.studio-role-title {
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(0,201,167,0.5);
  text-transform: uppercase;
}

.studio-role-divider {
  width: 1px;
  height: 1rem;
  background: rgba(0,201,167,0.3);
  flex-shrink: 0;
}

.studio-role-list {
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240,237,232,0.55);
}

@media (max-width: 600px) {
  .studio-role-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .studio-role-divider { display: none; }
}

/* Body */
.project-body {
  background: var(--bg);
  padding: clamp(3rem, 6vw, 6rem) 0;
}

.project-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 5rem);
}

/* Intro */
.project-intro {
  max-width: 720px;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.project-intro p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.project-intro em {
  font-style: italic;
  color: var(--text);
}

/* Credits */
.project-credits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.project-credits h3 {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.project-credits p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Gallery */
.project-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.project-figure {
  margin: 0;
}

.project-figure img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.project-figure--full {
  grid-column: 1 / -1;
}

.project-figure--full img {
  height: 520px;
}

figcaption {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 0.5rem;
}

/* Links */
.project-link {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--border);
}

.project-external {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.project-external:hover {
  border-color: var(--accent);
}

.project-external--secondary {
  color: var(--text-muted);
}

.project-external--secondary:hover {
  border-color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .project-credits {
    grid-template-columns: 1fr;
  }
  .project-gallery {
    grid-template-columns: 1fr;
  }
  .project-figure img,
  .project-figure--full img {
    height: 280px;
  }
  .project-link {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

.project-back {
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
}

.project-back-link {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.project-back-link:hover {
  opacity: 1;
}
