@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;1,9..144,500&family=Inter:wght@400;500&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #140d0a;
  --bg-soft: #1c130e;
  --cream: #f1e6d6;
  --cream-dim: #cdbfa9;
  --coffee-dark: #3b2214;
  --coffee-mid: #6b4226;
  --copper: #be7f4a;
  --copper-bright: #d99c63;
  --ice: #cdeaec;
  --sugar: #faf6ee;
  --muted: #8a7a6b;

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ── Header ── */
.cp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 1.25rem 6vw;
  pointer-events: none;
}

.cp-header-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--cream);
  text-decoration: none;
  pointer-events: auto;
  opacity: 0.85;
}

.cp-header-brand:hover {
  opacity: 1;
}

/* ── Page shell ── */
.cp-page {
  background: var(--bg);
  color: var(--cream);
  min-height: 100vh;
}

.cp-fallback-note {
  text-align: center;
  color: var(--muted);
  padding: 2rem 6vw;
  font-size: 0.9rem;
}

/* ── Intro ── */
.cp-intro {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 6vw 0;
  max-width: 1200px;
  margin: 0 auto;
}

.cp-intro--compact {
  min-height: auto;
  padding-top: 5rem;
  padding-bottom: 2rem;
}

.cp-intro-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper-bright);
  margin: 0 0 1rem;
}

.cp-intro-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  margin: 0;
  color: var(--cream);
  line-height: 1.02;
}

.cp-intro-body {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: var(--cream-dim);
  max-width: 42ch;
  line-height: 1.6;
}

/* ── Scroll scene ── */
.cp-scene-root {
  position: relative;
}

.cp-scene-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 6vw;
}

.cp-visual-col {
  position: relative;
}

.cp-visual-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cp-text-col {
  display: flex;
  flex-direction: column;
}

.cp-text-stage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4vh 0;
}

.cp-stage-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper-bright);
  margin: 0 0 1rem;
}

.cp-stage-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--cream);
}

.cp-stage-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--cream-dim);
  max-width: 34ch;
  margin: 0;
}

@media (max-width: 900px) {
  .cp-scene-grid {
    grid-template-columns: 1fr;
  }

  .cp-visual-sticky {
    height: 60vh;
    top: 0;
  }

  .cp-text-stage {
    min-height: 60vh;
  }
}

/* ── Outro ── */
.cp-outro {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 6vw 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cp-outro-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--cream);
  max-width: 20ch;
  margin: 0;
  line-height: 1.2;
}

/* ── Inner page ── */
.cp-page--inner .cp-page-blocks {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 6vw 4rem;
}

/* ── Footer ── */
.cp-footer {
  padding: 2rem 6vw 3rem;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(241, 230, 214, 0.08);
}

.cp-footer p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
