/*
 * Spongefork homepage stylesheet
 */

:root {
    --bg:       #0c0c0c;
    --surface:  #161616;
    --text:     #e8e8e8;
    --secondary: #777;
    --border:   #222;
    --accent:   #c3e559;
    --header-h: 52px;
}

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

html,
body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

/* ─── Header ─────────────────────────────────────────────── */

header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    background: color-mix(in srgb, var(--bg) 85%, transparent);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.2px;
    color: var(--text);
}

header nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

header nav a {
    font-size: 14px;
    color: var(--secondary);
    text-decoration: none;
}

header nav a:hover {
    color: var(--text);
}

/* ─── Main ───────────────────────────────────────────────── */

main {
    min-height: calc(100vh - var(--header-h) - 56px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
}

.hero {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 780px;
    width: 100%;
}

.logo {
    width: 160px;
    height: 160px;
    flex-shrink: 0;
    display: block;
}

.bio {
    font-size: 16px;
    line-height: 1.75;
    color: var(--secondary);
    text-align: left;
}

@media (max-width: 640px) {
    .hero {
        flex-direction: column;
        align-items: center;
        gap: 36px;
    }

    .logo {
        width: 160px;
        height: 160px;
    }
}

.bio a {
    color: var(--accent);
    text-decoration: none;
}

.bio a:hover {
    text-decoration: underline;
}

/* ─── Footer ─────────────────────────────────────────────── */

footer {
    border-top: 1px solid var(--border);
    padding: 18px 24px;
    text-align: center;
}

footer p {
    font-size: 13px;
    color: var(--secondary);
}
