:root {
  --bg: #0f0f12;
  --fg: #f5f0e8;
  --fg-muted: rgba(245, 240, 232, 0.55);
  --accent: #b8955a;
  --accent-dim: rgba(184, 149, 90, 0.12);
  --border: rgba(245, 240, 232, 0.08);
  --section-pad: clamp(80px, 12vw, 160px);
  --content-width: 1200px;
  --col-gap: 80px;
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

::selection { background: var(--accent); color: var(--bg); }

/* ─── MANIFESTO ─────────────────────────────── */
.manifesto {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--section-pad) clamp(24px, 6vw, 96px);
  position: relative;
}

.manifesto::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(184, 149, 90, 0.05) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(184, 149, 90, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.manifesto-inner {
  max-width: var(--content-width);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.manifesto-rule {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
}

.brand-mark {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.manifesto-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.manifesto-content {
  max-width: 820px;
  margin-bottom: 64px;
}

.manifesto-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(64px, 10vw, 140px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 40px;
}

.manifesto-headline .line { display: block; }
.manifesto-headline .italic { font-style: italic; font-weight: 300; color: var(--accent); }

.manifesto-sub {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.manifesto-proof {
  font-size: 13px;
  color: var(--accent);
  opacity: 0.75;
  font-style: italic;
  margin-top: -16px;
  margin-bottom: 24px;
  max-width: 480px;
}

.manifesto-ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
  cursor: pointer;
}

.cta-primary:hover { opacity: 0.85; }

.cta-secondary {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.cta-secondary:hover { color: var(--fg); border-color: var(--accent); }

.manifesto-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 48px;
}

.stat { display: flex; flex-direction: column; gap: 6px; }

.stat-number {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  color: var(--fg);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

/* ─── SECTION COMMON ───────────────────────── */
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--fg);
}

/* ─── OUTCOMES ──────────────────────────────── */
.outcomes {
  padding: 0 clamp(24px, 6vw, 96px) var(--section-pad);
  background: var(--bg);
  position: relative;
}

.outcomes::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}

.outcomes-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.outcomes-headline {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.outcomes-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.outcomes-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--fg);
  max-width: 680px;
}

.outcomes-band {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.outcome-item {
  flex: 1;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(245, 240, 232, 0.02);
  min-width: 0;
}

.outcome-divider {
  width: 1px;
  background: var(--border);
  flex-shrink: 0;
}

.outcome-metric {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}

.outcome-desc {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.5;
}

.outcomes-cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.outcomes-note {
  font-size: 13px;
  color: var(--fg-muted);
}

/* ─── SOCIAL PROOF ──────────────────────────── */
.social-proof {
  padding: 0 clamp(24px, 6vw, 96px) var(--section-pad);
  background: var(--bg);
  position: relative;
}

.social-proof::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}

.social-proof-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* LinkedIn banner */
.proof-linkedin {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 40px;
  background: rgba(245, 240, 232, 0.02);
}

.proof-linkedin-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.linkedin-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.linkedin-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  color: var(--fg);
  line-height: 1;
}

.linkedin-label {
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.linkedin-rule {
  width: 1px;
  height: 56px;
  background: var(--border);
  flex-shrink: 0;
}

.linkedin-trust {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.linkedin-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.linkedin-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
  max-width: 440px;
}

.proof-trust {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 180px;
}

.trust-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.7;
}

.trust-value {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
}

.trust-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  margin: 0 40px;
}

.proof-signals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.signal-card {
  padding: 32px 36px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--accent-dim);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.signal-quote {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 15px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.65;
  color: var(--fg);
}

.signal-attr {
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}

/* Metrics band */
.proof-metrics-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.proof-metric-band {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid var(--border);
  background: rgba(245, 240, 232, 0.02);
}

.proof-metric-band:last-child { border-right: none; }

.metric-band-value {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}

.metric-band-label {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.4;
}

/* ─── FEATURES ──────────────────────────────── */
.features {
  padding: var(--section-pad) clamp(24px, 6vw, 96px);
  background: var(--bg);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}

.section-header {
  max-width: var(--content-width);
  margin: 0 auto 80px;
}

.features-grid {
  max-width: var(--content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.feature {
  background: var(--bg);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.3s ease;
}

.feature:hover { background: rgba(245, 240, 232, 0.02); }

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 10px;
  color: var(--accent);
  flex-shrink: 0;
}

.feature-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--fg);
  line-height: 1.3;
}

.feature-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
  flex: 1;
}

.feature-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.7;
}

/* ─── PIPELINE ──────────────────────────────── */
.pipeline {
  padding: var(--section-pad) clamp(24px, 6vw, 96px);
  background: linear-gradient(180deg, var(--bg) 0%, #0d0d10 100%);
  position: relative;
}

.pipeline::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}

.pipeline-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--col-gap);
  align-items: start;
}

.pipeline-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 24px;
}

.pipeline-desc {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
}

.pipeline-diagram {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pipeline-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.pipeline-step:first-child { border-top: 1px solid var(--border); }

.step-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  padding-top: 2px;
}

.step-body h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 6px;
}

.step-body p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.6;
}

.pipeline-step--highlight .step-body h4 { color: var(--accent); }

.pipeline-arrow {
  display: flex;
  justify-content: center;
  padding: 12px 0;
}

/* ─── APPROACH ──────────────────────────────── */
.approach {
  padding: var(--section-pad) clamp(24px, 6vw, 96px);
  background: var(--bg);
  position: relative;
}

.approach::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}

.approach-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--col-gap);
  align-items: start;
}

.approach-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 24px;
}

.approach-desc {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 36px;
}

.approach-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-tag {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
  transition: border-color 0.3s, color 0.3s;
}

.service-tag:hover {
  border-color: var(--accent);
  color: var(--fg);
}

.principles {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.principle {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.principle:first-child { border-top: 1px solid var(--border); }

.principle-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  padding-top: 3px;
}

.principle h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 8px;
  line-height: 1.3;
}

.principle p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

.founder-card {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.founder-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-dim);
  flex-shrink: 0;
}

.founder-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.founder-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
}

.founder-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fg-muted);
}

.founder-links a {
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.founder-links a:hover {
  color: var(--accent);
}

.founder-links-sep {
  color: var(--border);
}

/* ─── CLOSING ──────────────────────────────── */
.closing {
  padding: var(--section-pad) clamp(24px, 6vw, 96px);
  background: var(--bg);
  position: relative;
}

.closing::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}

.closing-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  text-align: center;
}

.closing-rule {
  width: 60px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 60px;
}

.closing-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(48px, 7vw, 100px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 40px;
}

.closing-body {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--fg-muted);
  max-width: 600px;
  margin: 0 auto 64px;
  line-height: 1.7;
}

.closing-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}

.closing-cta-sub {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
}

.closing-newsletter {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 64px;
  justify-content: center;
}

.newsletter-tag {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  opacity: 0.6;
}

.newsletter-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

.newsletter-link:hover { opacity: 0.75; }

.closing-accent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.accent-text {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.accent-sub {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 28px;
  font-weight: 300;
  font-style: italic;
  color: var(--fg-muted);
}

/* ─── FOOTER ───────────────────────────────── */
.site-footer {
  padding: 40px clamp(24px, 6vw, 96px);
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0.1em;
}

.footer-tagline {
  font-size: 12px;
  color: var(--fg-muted);
  margin-left: 12px;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--fg-muted);
}

.footer-sep { opacity: 0.4; }

/* ─── RESPONSIVE ────────────────────────────── */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pipeline-inner,
  .approach-inner { grid-template-columns: 1fr; gap: 48px; }
  .proof-signals { grid-template-columns: 1fr 1fr; }
  .proof-metrics-band { grid-template-columns: repeat(2, 1fr); }
  .proof-metric-band:nth-child(2) { border-right: none; }
  .proof-metric-band:nth-child(3) { border-top: 1px solid var(--border); }
  .proof-metric-band:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
  .outcomes-band { flex-direction: column; }
  .outcome-divider { width: auto; height: 1px; }
  .outcome-item { border-bottom: 1px solid var(--border); }
  .outcome-item:last-child { border-bottom: none; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .manifesto-stats { gap: 32px; }
  .manifesto-headline { font-size: 52px; }
  .feature { padding: 32px 28px; }
  .closing-title { font-size: 40px; }
  .approach-services { gap: 8px; }
  .service-tag { font-size: 11px; padding: 6px 12px; }
  .proof-signals { grid-template-columns: 1fr; }
  .proof-metrics-band { grid-template-columns: 1fr; }
  .proof-metric-band { border-right: none; border-bottom: 1px solid var(--border); }
  .proof-metric-band:last-child { border-bottom: none; }
  .proof-linkedin-inner { flex-direction: column; gap: 24px; }
  .linkedin-rule { width: 48px; height: 1px; }
}

/* ─── PIPELINE DASHBOARD ───────────────────── */
.pipeline-dash {
  min-height: 100vh;
  padding: 0 clamp(24px, 5vw, 80px) 80px;
}

.pipeline-dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}

.pipeline-dash-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.pipeline-dash-meta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.pipeline-count {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 13px;
  color: var(--fg-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn:hover { opacity: 0.85; }

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Pipeline kanban */
.pipeline-board {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  overflow-x: auto;
}

.pipeline-stage {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-bottom: none;
  background: var(--accent-dim);
}

.stage-name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.stage-count {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}

.stage-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--border);
  border-top: none;
  background: var(--bg);
  min-height: 120px;
}

.contact-card {
  background: rgba(245, 240, 232, 0.03);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.contact-card:hover {
  border-color: var(--accent);
  background: rgba(184, 149, 90, 0.06);
}

.card-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
}

.card-company {
  font-size: 12px;
  color: var(--fg-muted);
}

.card-email {
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
}

.card-email:hover { text-decoration: underline; }

.card-source {
  font-size: 10px;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.6;
}

.card-book {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  margin-top: 4px;
}

.card-book:hover { opacity: 0.8; }

.stage-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  font-size: 12px;
  color: var(--fg-muted);
  opacity: 0.4;
  text-align: center;
}

/* Add Contact Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 18, 0.85);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-backdrop.open { display: flex; }

.modal {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
  width: 100%;
  max-width: 480px;
}

.modal-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 32px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.form-input, .form-select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 12px;
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  width: 100%;
  transition: border-color 0.2s;
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent);
}

.form-input::placeholder { color: var(--fg-muted); opacity: 0.5; }

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--fg-muted);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
}

.modal-close:hover { color: var(--fg); }

/* Contact detail panel */
.contact-detail {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 380px;
  background: var(--bg);
  border-left: 1px solid var(--border);
  padding: 40px 32px;
  z-index: 200;
  display: none;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}

.contact-detail.open { display: flex; }

.detail-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--fg-muted);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
}

.detail-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 4px;
}

.detail-company {
  font-size: 14px;
  color: var(--fg-muted);
  margin-bottom: 28px;
}

.detail-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.detail-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.detail-value {
  font-size: 14px;
  color: var(--fg);
}

.detail-value a { color: var(--accent); text-decoration: none; }
.detail-value a:hover { text-decoration: underline; }

.detail-select {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 8px 12px;
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  width: 100%;
  margin-top: 4px;
}

.detail-select:focus { outline: none; border-color: var(--accent); }

.detail-actions {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Status dot helpers */
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}
.status-new { background: #6b7280; }
.status-contacted { background: #3b82f6; }
.status-proposal { background: var(--accent); }
.status-won { background: #10b981; }
.status-lost { background: #ef4444; }

/* Calendly side panel */
.calendly-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 299;
  display: none;
}
.calendly-backdrop.open { display: block; }

.calendly-panel {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 420px;
  background: var(--bg);
  border-left: 1px solid var(--border);
  z-index: 300;
  display: none;
  flex-direction: column;
}
.calendly-panel.open { display: flex; }

.calendly-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.calendly-panel-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--fg);
}

.calendly-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}

@media (max-width: 900px) {
  .pipeline-board { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .pipeline-board { grid-template-columns: 1fr; }
  .pipeline-dash-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}
