/* ── Markdown body ────────────────────────────────────────── */
.markdown-body h2 {
  font-family: sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(210, 210, 210, 0.25);
  margin: 2.5rem 0 0.75rem;
  font-weight: 400;
}

.markdown-body p {
  font-family: sans-serif;
  font-size: 0.875rem;
  color: rgba(210, 210, 210, 0.45);
  line-height: 1.85;
  max-width: 800px;
  margin-bottom: 1.25rem;
}

.markdown-body img {
  width: 100%;
  border-radius: 4px;
  border: 1px solid rgba(210, 210, 210, 0.1);
  display: block;
  margin: 2rem 0;
}

.markdown-body a {
  color: rgba(255, 220, 0, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.markdown-body a:hover { color: rgba(255, 220, 0, 1); }

.markdown-body ul, .markdown-body ol {
  font-family: sans-serif;
  font-size: 0.875rem;
  color: rgba(210, 210, 210, 0.45);
  line-height: 1.85;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  max-width: 800px;
}

.markdown-body code {
  font-family: monospace;
  font-size: 0.8rem;
  background: rgba(210, 210, 210, 0.06);
  border: 1px solid rgba(210, 210, 210, 0.1);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  color: rgba(210, 210, 210, 0.7);
}

.markdown-body blockquote {
  border-left: 2px solid rgba(210, 210, 210, 0.15);
  margin: 1.5rem 0;
  padding-left: 1.25rem;
  color: rgba(210, 210, 210, 0.3);
  font-style: italic;
}

/* ── Project page overrides ───────────────────────────────── */
.project-page {
  overflow: hidden;
}

/* Scrollable content sits above fixed canvases */
.project-scroll {
  position: fixed;
  inset: 0;
  z-index: 2;
  overflow-y: auto;
  scrollbar-width: none;
}
.project-scroll::-webkit-scrollbar { display: none; }

.project-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4.5rem 5% 7rem;
}

/* Back link */
.back-link {
  display: inline-block;
  font-family: sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(210, 210, 210, 0.3);
  text-decoration: none;
  margin-bottom: 2.5rem;
  transition: color 0.2s;
}
.back-link:hover { color: rgba(255, 220, 0, 0.9); }

/* Meta row */
.project-detail-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.project-index {
  font-family: sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: rgba(210, 210, 210, 0.2);
}

.project-tag {
  font-family: sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(210, 210, 210, 0.25);
  border: 1px solid rgba(210, 210, 210, 0.12);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
}

/* Title & sub */
.project-detail-title {
  font-family: sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(210, 210, 210, 0.85);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.project-detail-sub {
  font-family: sans-serif;
  font-size: 0.9rem;
  color: rgba(210, 210, 210, 0.35);
  line-height: 1.8;
  max-width: 720px;
  margin-bottom: 3.5rem;
}

/* Placeholder images */
.placeholder-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: rgba(210, 210, 210, 0.03);
  border: 1px solid rgba(210, 210, 210, 0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
}

.placeholder-img--sm  { aspect-ratio: 4/3; margin-bottom: 0; }
.placeholder-img--wide { aspect-ratio: 21/9; }

.project-hero-image { margin-bottom: 3.5rem; }

.placeholder-label {
  font-family: sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(210, 210, 210, 0.12);
}

/* Image row */
.project-image-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

/* Text sections */
.project-section { margin-bottom: 3rem; }

.section-heading {
  font-family: sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(210, 210, 210, 0.22);
  margin-bottom: 0.75rem;
}

.section-text {
  font-family: sans-serif;
  font-size: 0.875rem;
  color: rgba(210, 210, 210, 0.45);
  line-height: 1.85;
  max-width: 800px;
}

