/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
:root {
    --bg: #fefefe;
    --text: #3d3d3d;
    --text-dim: #888;
    --accent: #010101;
    --link: #595959;
    --link-hover: #0a0a0a;
    --link-bg-hover: #e8e8e8;
}
html {
    font-size: 16px;
}
body {
    min-height: 100vh;
    background-color: var(--bg);
    color: var(--text);
    font-family: "IBM Plex Mono", "SF Mono", "Fira Code", "Courier New", monospace;
    font-size: 0.9rem;
    line-height: 1.7;
    padding: 2rem;
    max-width: 650px;
    margin: 0 auto;
}
/* Navigation */
nav {
    margin-bottom: 4rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #222;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}
nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}
nav a:hover,
nav a.active {
    color: var(--accent);
}
/* Header / Title */
h1 {
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
    color: var(--accent);
}
h1::before {
    content: "→ ";
    color: var(--text-dim);
}
/* Main Content */
main {
    margin-bottom: 4rem;
}
.intro {
    margin-bottom: 3rem;
    color: var(--text);
}
.intro p {
    margin-bottom: 1rem;
}
/* Sections */
section {
    margin-bottom: 3rem;
}
section h2 {
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    margin-bottom: 1.2rem;
}
/* Links */
a {
    color: var(--link);
    text-decoration: underline;
    text-decoration-style: wavy;
    text-decoration-color: #444;
    text-underline-offset: 4px;
    transition: all 0.15s ease;
}
a:hover {
    text-decoration-color: currentColor;
}

/* Link Lists */
.links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.links a {
    display: inline-block;
    width: fit-content;
}
/* Contact Section */
.contact {
    padding-top: 2rem;
    border-top: 1px solid #222;
}
/* Footer */
footer {
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid #222;
    color: var(--text-dim);
    font-size: 0.75rem;
}
/* Subtle animation on load */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
main {
    animation: fadeIn 0.6s ease-out;
}
/* Logo / Decorative element */
.logo {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dim);
}
/* Responsive */
@media (max-width: 600px) {
    body {
        padding: 1.5rem;
        font-size: 0.85rem;
    }
    
    nav ul {
        gap: 1.2rem;
    }
    
    h1 {
        font-size: 1.2rem;
    }
}