/* Shared scaffolding for bespoke per-project pages.
   Header / nav / lang toggle / hamburger / footer come from shared.css.
   Each page sets --bp-accent and adds its own scoped <style> for signature visuals. */

:root {
  --bp-accent: #f1220b;
}

.bp-main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
}

.bp-back {
  display: inline-block;
  margin-bottom: 2.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}
.bp-back:hover { color: #fff; }

/* Hero */
.bp-hero {
  position: relative;
  margin-bottom: 4rem;
}
.bp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bp-accent);
  margin-bottom: 1.25rem;
}
.bp-eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--bp-accent);
}
.bp-title {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 1rem;
  color: #fff;
}
.bp-tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
  max-width: 46ch;
  margin: 0 0 2rem;
}

/* Visit button — sits high, in the hero */
.bp-visit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0a0a0a;
  background: #fff;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.bp-visit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -12px rgba(255, 255, 255, 0.35);
}
.bp-visit .bp-visit-arrow { transition: transform 0.2s ease; }
.bp-visit:hover .bp-visit-arrow { transform: translateX(3px); }

/* Meta chips */
.bp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}
.bp-chip {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

/* Sections */
.bp-section { margin: 3.5rem 0; }
.bp-section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bp-accent);
  margin: 0 0 1rem;
}
.bp-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 1rem;
}
.bp-prose {
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  max-width: 68ch;
}

/* Two-column feature row */
.bp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

/* Typographic hero for image-less projects: text + decorative motif panel */
.tp-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.tp-panel {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tp-panel svg { width: 78%; height: 78%; }
@media (max-width: 860px) {
  .tp-hero { grid-template-columns: 1fr; gap: 2rem; }
  .tp-panel { aspect-ratio: 16 / 10; }
}

/* Timeline / roadmap */
.bp-timeline {
  display: grid;
  gap: 1rem;
}
.bp-phase {
  position: relative;
  padding: 1.4rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}
.bp-phase-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}
.bp-phase-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.bp-status {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.bp-status--done { color: #6ee7a8; background: rgba(110, 231, 168, 0.12); }
.bp-status--progress { color: #f1220b; background: rgba(241, 34, 11, 0.14); }
.bp-status--planned { color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.06); }
.bp-phase-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .bp-main { padding: 1.5rem 1.15rem 4rem; }
  .bp-back { margin-bottom: 1.75rem; }
  .bp-hero { margin-bottom: 2.5rem; }
  .bp-split { grid-template-columns: 1fr; gap: 1.5rem; }
}
