:root {
    --bg: #0e0e10;
    --surface: #18181b;
    --surface-elev: #232328;
    --text: #ececef;
    --text-dim: #a1a1aa;
    --accent: #f97316;
    --border: #2a2a30;
}

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

html { font-size: 16px; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero {
    padding: 5rem 1.5rem 3rem;
    max-width: 56rem;
    margin: 0 auto;
    width: 100%;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.lede {
    font-size: 1.125rem;
    color: var(--text-dim);
    max-width: 36rem;
}

main {
    flex: 1;
    max-width: 72rem;
    margin: 0 auto;
    width: 100%;
    padding: 0 1.5rem 4rem;
}

.projects h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 1rem;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: border-color 150ms, transform 150ms;
}

.card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.card header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.card h3 {
    font-size: 1.125rem;
    font-weight: 600;
}

.status {
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    border-radius: 0.375rem;
    background: var(--surface-elev);
    color: var(--text-dim);
    font-weight: 500;
    white-space: nowrap;
}

.status-shipped, .status-testflight, .status-live-private {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
}

.status-wip {
    color: #facc15;
    background: rgba(250, 204, 21, 0.1);
}

.tagline {
    color: var(--text);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.blurb {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.stack {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.stack li {
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    background: var(--surface-elev);
    border-radius: 0.25rem;
    color: var(--text-dim);
    font-family: "SF Mono", Menlo, monospace;
}

footer {
    border-top: 1px solid var(--border);
    padding: 1.5rem;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.875rem;
}
