:root {
    --bg: #0a0a0b;
    --surface: #141416;
    --surface-2: #1a1a1d;
    --border: #26262a;
    --text: #fafafa;
    --text-muted: #9b9ba1;
    --text-dim: #6b6b72;
    --accent: #c4ff00;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
}

.eyebrow {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 24px;
}

h1, h2, h3 { font-weight: 500; letter-spacing: -0.02em; }

h2 {
    font-size: clamp(28px, 4vw, 44px);
    margin-bottom: 48px;
}

h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(10, 10, 11, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.brand-icon { color: var(--accent); }

.nav {
    display: flex;
    gap: 32px;
    font-size: 14px;
    color: var(--text-muted);
}

.nav a { transition: color 0.15s; }
.nav a:hover { color: var(--text); }

/* Hero */
.hero {
    padding: 120px 0 100px;
    border-bottom: 1px solid var(--border);
    background:
        radial-gradient(circle at 80% 20%, rgba(196, 255, 0, 0.04), transparent 50%),
        var(--bg);
}

.hero-inner { display: flex; flex-direction: column; }

.hero h1 {
    font-family: var(--font-mono);
    font-size: clamp(42px, 7vw, 88px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.tagline {
    font-size: clamp(18px, 2vw, 22px);
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 80px;
}

.hero-graph {
    color: var(--text-dim);
    margin-top: 24px;
}

.hero-graph .node-accent {
    fill: var(--accent);
    stroke: var(--accent);
}

/* Sections */
section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border);
}

/* Capabilities */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.cap-card {
    background: var(--surface);
    padding: 32px;
    transition: background 0.2s;
}

.cap-card:hover { background: var(--surface-2); }
.cap-card svg { color: var(--accent); margin-bottom: 24px; }
.cap-card h3 { color: var(--text); }
.cap-card p { color: var(--text-muted); font-size: 14px; }

/* Work */
.work-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); }

.work-item {
    background: var(--bg);
    padding: 40px 0;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px;
    align-items: start;
}

.work-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: var(--font-mono);
    font-size: 13px;
}

.work-client { color: var(--text); }
.work-year { color: var(--text-dim); }

.work-body h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.work-body p {
    color: var(--text-muted);
    margin-bottom: 16px;
    max-width: 640px;
}

.work-tags { display: flex; gap: 8px; flex-wrap: wrap; }

.tag {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    padding: 4px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
}

/* Process */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.step {
    padding: 28px 0;
    border-top: 1px solid var(--border);
}

.step-num {
    display: block;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 16px;
}

.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 14px; }

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.person {
    background: var(--surface);
    padding: 32px;
    border: 1px solid var(--border);
    text-align: center;
}

.avatar {
    width: 88px;
    height: 88px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg,
        hsl(var(--hue), 60%, 35%),
        hsl(calc(var(--hue) + 40), 70%, 50%));
    color: #fff;
    font-family: var(--font-mono);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.person h3 { margin-bottom: 4px; }
.person p { color: var(--text-muted); font-size: 13px; font-family: var(--font-mono); }

/* Contact */
.contact { padding: 140px 0; border-bottom: 1px solid var(--border); }

.contact-inner { max-width: 720px; }

.contact h2 {
    font-family: var(--font-mono);
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 24px;
}

.contact p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 540px;
}

.contact-mail {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: clamp(20px, 2.5vw, 28px);
    color: var(--accent);
    border-bottom: 1px solid var(--accent);
    padding-bottom: 4px;
    transition: opacity 0.15s;
}

.contact-mail:hover { opacity: 0.7; }

/* Footer */
.footer {
    padding: 32px 0;
    border-bottom: 0;
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 12px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Responsive */
@media (max-width: 720px) {
    .nav { gap: 18px; font-size: 13px; }
    .nav a:nth-child(n+3) { display: none; }
    .hero { padding: 80px 0 60px; }
    .work-item { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
    section { padding: 64px 0; }
    .container { padding: 0 20px; }
}
