/* ─── MASONRY LINK ITEMS ──────────────────────────── */

/* Override cursor for linked masonry items */
a.masonry-item {
  display: block;
  text-decoration: none;
}

/* ─── PROJECT HEADER ──────────────────────────────── */

.project-header {
  padding: 3rem 1.25rem 2.5rem;
  border-bottom: 0.5px solid var(--border);
  max-width: 760px;
}

.project-back {
  display: inline-block;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.2s;
}
.project-back:hover { color: var(--purple); }

.project-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.project-year {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.project-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.0;
  color: var(--green);
  margin-bottom: 1.5rem;
}

.project-intro {
  font-size: 20px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.project-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 0.5px solid var(--border);
}

.project-detail {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.detail-label {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.detail-value {
  font-size: 15px;
  color: var(--green);
  font-weight: 400;
}

/* ─── HERO IMAGE ──────────────────────────────────── */

.project-hero-image {
  width: 100%;
  padding: 2rem 1.25rem;
}

/* ─── PROJECT BODY ────────────────────────────────── */

.project-body {
  padding: 4rem 1.25rem;
  border-bottom: 0.5px solid var(--border);
}

.project-body-text {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.project-body-text h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--green);
  margin-top: 1rem;
}

.project-body-text p {
  font-size: inherit;
  line-height: 1.8;
  color: var(--muted);
}

/* ─── PROJECT IMAGES ──────────────────────────────── */

.project-images {
  padding: 2rem 1.25rem 4rem;
}

.project-images-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.project-placeholder {
  background: #E8E3DA;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.project-placeholder svg { opacity: 0.2; }
.project-placeholder.hero  { height: 560px; border-radius: 16px; }
.project-placeholder.medium { height: 340px; }
.project-placeholder.wide  { grid-column: 1 / -1; height: 420px; }

/* ─── NEXT PROJECT ────────────────────────────────── */

.project-next {
  padding: 3rem 1.25rem;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.project-next-label {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.project-next-link {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s, gap 0.2s;
}
.project-next-link:hover { color: var(--purple); gap: 1.5rem; }

/* ─── MOBILE ──────────────────────────────────────── */

@media (max-width: 768px) {
  .project-details { grid-template-columns: repeat(2, 1fr); }
  .project-images-grid { grid-template-columns: 1fr; }
  .project-placeholder.wide { grid-column: auto; }
  .project-hero-image { padding: 1rem 1.25rem; }
  .project-placeholder.hero { height: 320px; }
}
