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

:root {
    --bg: #1a1a1a;
    --surface: #222222;
    --border: #1e1829;
    --purple: #5603a6;
    --purple-mid: #8040ce;
    --purple-dim: #3f335e;
    --text: #d6cfe8;
    --text-muted: #a896c8;
    --text-faint: #6b5f82;
    --white: #e8e8e8;
}

html {
    font-size: 16px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Georgia', serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.logo {
    width: 50%;
    max-width: 90vw;
    /*background: white;*/
}

.tagline {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--purple-mid);
}

.description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 480px;
    text-align: center;
}

.divider {
    width: 1px;
    height: 40px;
    background: var(--purple-dim);
}

.projects-label {
    font-family: 'Courier New', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: center;
}

.project-card {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1.75rem 2rem;
    max-width: 480px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: var(--surface);
}

.project-name {
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    font-weight: bold;
    color: var(--white);
    letter-spacing: 0.05em;
}

.project-desc {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-muted);
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--purple-mid);
    text-decoration: none;
    border-bottom: 1px solid var(--purple-dim);
    padding-bottom: 1px;
    transition: color 0.15s, border-color 0.15s;
}

.project-link:hover,
.project-link:focus {
    color: var(--white);
    border-color: var(--purple-mid);
    outline: none;
}

footer {
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.footer-link {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-faint);
    text-decoration: none;
    transition: color 0.15s;
}

.footer-link:hover,
.footer-link:focus {
    color: var(--text-muted);
    outline: none;
}

.footer-motto {
    font-family: 'Courier New', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-faint);
}

@media (max-width: 540px) {
    body {
        padding: 3rem 1.5rem;
    }

    .project-card {
        padding: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}