@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
  --bg: #0F0F0F;
  --surface: #1A1A1A;
  --border: rgba(255,255,255,0.06);
  --text: #E8E8E8;
  --muted: #999;
  --dim: #555;
  --green: #81B64C;
  --red: #E5584F;
  --blue: #5C9AEF;
  --purple: #9B59B6;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.wide { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
section { padding: 64px 0; }
section + section { border-top: 1px solid var(--border); }

/* Nav */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 24px; display: flex; align-items: center; justify-content: space-between;
  background: rgba(15,15,15,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-nav .nav-name { font-size: 14px; font-weight: 700; color: white; text-decoration: none; }
.site-nav .nav-links { display: flex; gap: 24px; }
.site-nav .nav-links a { font-size: 13px; color: var(--muted); text-decoration: none; font-weight: 500; }
.site-nav .nav-links a:hover { color: var(--text); }

/* Hero */
.hero { padding: 120px 0 60px; }
.hero-label { font-size: 13px; font-weight: 600; color: var(--dim); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.hero h1 { font-size: 40px; font-weight: 800; line-height: 1.15; color: white; margin-bottom: 16px; max-width: 700px; }
.hero .subtitle { font-size: 17px; color: var(--muted); max-width: 560px; line-height: 1.65; }

/* Meta bar */
.meta-bar { display: flex; gap: 40px; padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-top: 32px; flex-wrap: wrap; }
.meta-label { font-size: 11px; font-weight: 600; color: var(--dim); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.meta-value { font-size: 14px; font-weight: 500; }

/* Section headers */
.section-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.section-label.red { color: var(--red); }
.section-label.green { color: var(--green); }
.section-label.blue { color: var(--blue); }
.section-label.purple { color: var(--purple); }
.section-label.dim { color: var(--dim); }

h2 { font-size: 28px; font-weight: 700; color: white; margin-bottom: 16px; line-height: 1.3; }
h3 { font-size: 20px; font-weight: 700; color: white; margin-bottom: 12px; line-height: 1.3; }
p { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 14px; max-width: 640px; }
p:last-child { margin-bottom: 0; }
strong { color: var(--text); font-weight: 600; }
em { color: var(--muted); font-style: italic; }

/* Project cards (home page) */
.project-grid { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.project-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit;
  transition: all 0.2s;
}
.project-card:hover { border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.04); text-decoration: none; }
.project-card .card-image {
  width: 100%; height: 220px; overflow: hidden; border-bottom: 1px solid var(--border);
  background: #111; display: flex; align-items: center; justify-content: center;
}
.project-card .card-image img { width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0.9; transition: opacity 0.2s; }
.project-card:hover .card-image img { opacity: 1; }
.project-card .card-body { padding: 20px 24px; flex: 1; }
.project-card .card-company { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.project-card .card-title { font-size: 18px; font-weight: 700; color: white; margin-bottom: 6px; }
.project-card .card-desc { font-size: 14px; color: var(--muted); line-height: 1.5; max-width: none; margin: 0; }
.project-card .card-meta { font-size: 12px; color: var(--dim); margin-top: 8px; display: flex; align-items: center; justify-content: space-between; }
.project-card .card-arrow { font-size: 14px; color: var(--dim); }
.project-card:hover .card-arrow { color: var(--text); }

/* Quote */
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; margin: 24px 0; }
.quote-text { font-size: 15px; font-style: italic; color: #ccc; line-height: 1.6; margin-bottom: 10px; }
.quote-attr { font-size: 13px; font-weight: 600; color: var(--green); }
.quote-role { font-size: 12px; color: var(--dim); font-weight: 400; margin-left: 4px; }

/* Metrics */
.metrics-row { display: flex; gap: 16px; margin: 24px 0; flex-wrap: wrap; }
.metric-card { flex: 1; min-width: 140px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 20px; text-align: center; }
.metric-value { font-size: 28px; font-weight: 800; color: var(--green); margin-bottom: 4px; }
.metric-label { font-size: 12px; color: var(--muted); }

/* CTA button */
.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px;
  font-size: 14px; font-weight: 600; text-decoration: none; transition: all 0.15s;
  font-family: 'Inter', sans-serif; border: none; cursor: pointer;
}
.cta-btn.primary { background: var(--green); color: white; }
.cta-btn.primary:hover { filter: brightness(1.1); text-decoration: none; }
.cta-btn.secondary { background: rgba(255,255,255,0.06); color: var(--text); border: 1px solid var(--border); }
.cta-btn.secondary:hover { background: rgba(255,255,255,0.1); text-decoration: none; }
.cta-row { display: flex; gap: 12px; margin-top: 24px; }

/* Bullet list */
.bullet-list { list-style: none; padding: 0; margin: 16px 0; }
.bullet-list li { font-size: 15px; color: var(--muted); line-height: 1.7; padding-left: 20px; position: relative; margin-bottom: 8px; }
.bullet-list li::before { content: ''; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* Footer */
.site-footer { padding: 48px 0; text-align: center; border-top: 1px solid var(--border); }
.site-footer p { font-size: 14px; color: var(--dim); max-width: none; margin: 0 auto 8px; }
.site-footer .footer-links { display: flex; gap: 20px; justify-content: center; margin-top: 12px; }
.site-footer .footer-links a { font-size: 13px; color: var(--muted); }

/* Back link */
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); text-decoration: none; margin-bottom: 24px; }
.back-link:hover { color: var(--text); text-decoration: none; }
