/* ============================================================
   Project pages — shared styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #0e0e0e;
  --surface:      #161616;
  --surface-2:    #1f1f1f;
  --border:       #2a2a2a;
  --text:         #e8e6e0;
  --muted:        #6e6e6e;
  --accent:       #a78bfa;
  --accent-dim:   rgba(167,139,250,.12);
  --accent-glow:  rgba(167,139,250,.25);
  --max-w:        800px;
  --radius:       10px;
  --radius-lg:    16px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

img, svg { display: block; }

/* ── NAV ─────────────────────────────────────────────────── */

#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(14,14,14,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-back:hover { color: var(--text); }

.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: var(--accent);
}

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

.project-hero {
  padding: 7rem 1.5rem 4rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.project-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.project-name {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 7vw, 3.5rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.project-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

.project-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text);
  font-weight: 400;
}

/* ── CONTENT ────────────────────────────────────────────── */

.project-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem 6rem;
}

.coming-soon-block {
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  color: var(--muted);
}

.coming-soon-block .cs-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin: 0 auto 1.25rem;
}

.coming-soon-block h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.coming-soon-block p {
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 400px;
  margin: 0 auto;
}

/* ── FOOTER ─────────────────────────────────────────────── */

#footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}
