:root {
  --bg: #0f0f0f;
  --surface: #1a1a1a;
  --surface-2: #242424;
  --fg: #f5f0eb;
  --fg-muted: #9a9490;
  --accent: #E8683A;
  --accent-dim: rgba(232, 104, 58, 0.12);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav { padding: 28px 48px; border-bottom: 1px solid rgba(245,240,235,0.08); }
.nav__inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav__logo { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.5px; color: var(--fg); }
.nav__tag { font-size: 12px; color: var(--fg-muted); letter-spacing: 1px; text-transform: uppercase; font-family: var(--font-display); }

/* MANIFESTO */
.manifesto { padding: 120px 48px 100px; }
.manifesto__inner { max-width: 1200px; margin: 0 auto; }
.manifesto__eyebrow { font-size: 12px; color: var(--accent); letter-spacing: 2px; text-transform: uppercase; font-family: var(--font-display); font-weight: 600; margin-bottom: 28px; }
.manifesto__headline { font-family: var(--font-display); font-size: clamp(48px, 7vw, 96px); font-weight: 800; line-height: 1.05; letter-spacing: -2px; color: var(--fg); margin-bottom: 32px; }
.manifesto__sub { font-size: 18px; color: var(--fg-muted); max-width: 540px; font-weight: 300; line-height: 1.7; margin-bottom: 56px; }
.manifesto__rule { width: 48px; height: 3px; background: var(--accent); }

/* PRINCIPLES */
.principles { padding: 80px 48px; background: var(--surface); }
.principles__inner { max-width: 1200px; margin: 0 auto; }
.principles__label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--fg-muted); font-family: var(--font-display); font-weight: 600; margin-bottom: 48px; }
.principles__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.principles__card { background: var(--surface-2); padding: 40px; }
.principles__icon { margin-bottom: 24px; }
.principles__card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.principles__card p { font-size: 14px; color: var(--fg-muted); line-height: 1.7; }

/* SERVICES */
.services { padding: 100px 48px; }
.services__inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.services__badge { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); font-family: var(--font-display); font-weight: 600; margin-bottom: 20px; }
.services__heading { font-family: var(--font-display); font-size: clamp(28px, 3vw, 44px); font-weight: 800; line-height: 1.15; letter-spacing: -1px; margin-bottom: 20px; }
.services__body { color: var(--fg-muted); font-size: 16px; line-height: 1.7; }
.services__list { display: flex; flex-direction: column; gap: 20px; }
.services__item { display: flex; align-items: center; gap: 16px; font-size: 16px; color: var(--fg); }
.services__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* STATS */
.stats { padding: 80px 48px; border-top: 1px solid rgba(245,240,235,0.08); border-bottom: 1px solid rgba(245,240,235,0.08); }
.stats__inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 0; }
.stats__item { flex: 1; text-align: center; padding: 0 40px; }
.stats__number { font-family: var(--font-display); font-size: 64px; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 12px; }
.stats__desc { font-size: 14px; color: var(--fg-muted); }
.stats__divider { width: 1px; height: 60px; background: rgba(245,240,235,0.1); flex-shrink: 0; }

/* CLOSING */
.closing { padding: 120px 48px; }
.closing__inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.closing__headline { font-family: var(--font-display); font-size: clamp(28px, 4vw, 56px); font-weight: 800; line-height: 1.2; letter-spacing: -1.5px; margin-bottom: 28px; }
.closing__sub { color: var(--fg-muted); font-size: 18px; max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* FOOTER */
.footer { padding: 60px 48px; border-top: 1px solid rgba(245,240,235,0.08); }
.footer__inner { max-width: 1200px; margin: 0 auto; }
.footer__brand { font-family: var(--font-display); font-weight: 800; font-size: 18px; margin-bottom: 8px; }
.footer__tagline { font-size: 14px; color: var(--fg-muted); margin-bottom: 12px; }
.footer__meta { font-size: 12px; color: var(--fg-muted); }

/* NAV ACTIONS */
.nav__actions { display: flex; align-items: center; gap: 24px; }
.nav__link { font-size: 14px; color: var(--fg-muted); text-decoration: none; transition: color 0.2s; }
.nav__link:hover { color: var(--fg); }
.nav__actions .nav__tag { margin-left: 8px; }

/* PROJECTS PAGE */
.projects { min-height: 100vh; }
.projects__header { padding: 56px 48px 40px; border-bottom: 1px solid rgba(245,240,235,0.08); }
.projects__header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: flex-end; justify-content: space-between; }
.projects__title { font-family: var(--font-display); font-size: 36px; font-weight: 800; letter-spacing: -1px; }
.projects__subtitle { color: var(--fg-muted); margin-top: 8px; font-size: 14px; }
.projects__body { max-width: 1200px; margin: 0 auto; padding: 40px 48px; }

/* STAGE BADGES */
.stage-badge { display: inline-block; padding: 4px 12px; border-radius: 100px; font-size: 12px; font-family: var(--font-display); font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }
.stage-inquiry  { background: rgba(154,148,144,0.2); color: var(--fg-muted); }
.stage-quote    { background: rgba(245,184,50,0.15); color: #f5b832; }
.stage-active   { background: var(--accent-dim); color: var(--accent); }
.stage-completed { background: rgba(76,175,80,0.15); color: #4caf50; }

/* PROJECTS TABLE */
.projects-table { width: 100%; border-collapse: collapse; }
.projects-table th { text-align: left; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--fg-muted); font-family: var(--font-display); font-weight: 600; padding: 0 16px 16px; border-bottom: 1px solid rgba(245,240,235,0.08); }
.projects-table td { padding: 20px 16px; border-bottom: 1px solid rgba(245,240,235,0.05); vertical-align: middle; }
.projects-table tr:last-child td { border-bottom: none; }
.projects-table .name-col { font-weight: 600; }
.projects-table .client-col { color: var(--fg-muted); }
.projects-table .service-col { color: var(--fg-muted); font-size: 14px; }
.projects-table .stage-col { }
.projects-table .date-col { color: var(--fg-muted); font-size: 14px; white-space: nowrap; }
.projects-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ADD PROJECT FORM */
.add-project-form { background: var(--surface); padding: 32px; margin-bottom: 40px; }
.add-project-form h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 12px; color: var(--fg-muted); font-family: var(--font-display); letter-spacing: 0.5px; text-transform: uppercase; }
.form-group input, .form-group select { background: var(--surface-2); border: 1px solid rgba(245,240,235,0.1); color: var(--fg); padding: 10px 14px; font-size: 14px; outline: none; transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus { border-color: var(--accent); }
.form-group select { cursor: pointer; }
.btn-primary { background: var(--accent); color: white; border: none; padding: 12px 24px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: var(--font-display); transition: opacity 0.2s; }
.btn-primary:hover { opacity: 0.85; }

/* UPDATE STAGE DROPDOWNS */
.stage-select { background: var(--surface-2); border: 1px solid rgba(245,240,235,0.1); color: var(--fg); padding: 6px 10px; font-size: 12px; cursor: pointer; }

/* EMPTY STATE */
.empty-state { text-align: center; padding: 80px 0; color: var(--fg-muted); }
.empty-state p { font-size: 16px; margin-bottom: 8px; }
.empty-state small { font-size: 13px; }

/* MOBILE */
@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .manifesto { padding: 80px 24px 70px; }
  .manifesto__headline { font-size: 40px; letter-spacing: -1px; }
  .manifesto__sub { font-size: 16px; }
  .principles { padding: 60px 24px; }
  .principles__grid { grid-template-columns: 1fr; gap: 2px; }
  .principles__card { padding: 28px; }
  .services { padding: 70px 24px; }
  .services__inner { grid-template-columns: 1fr; gap: 40px; }
  .stats { padding: 60px 24px; }
  .stats__inner { flex-direction: column; gap: 32px; }
  .stats__divider { width: 40px; height: 1px; }
  .closing { padding: 80px 24px; }
  .footer { padding: 40px 24px; }
}