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

:root {
    --bg: #0a0a0a;
    --text: #fafafa;
    --muted: #666;
    --subtle: #333;
}

html {
    font-size: 16px;
}

body {
    font-family: "Geist Mono", "SF Mono", "Monaco", "Inconsolata", "Fira Mono", monospace;
    background-color: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 5%;
}

nav {
    position: fixed;
    top: 0;
    right: 0;
    padding: 5%;
}

.contact-link {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.contact-link .hover {
    display: none;
}

.contact-link:hover {
    color: var(--text);
}

.contact-link:hover .default {
    display: none;
}

.contact-link:hover .hover {
    display: inline;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 600px;
}

h1 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    text-transform: lowercase;
}

.tagline {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 400;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.subtext {
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    color: var(--muted);
}

.logo {
    width: 90px;
    height: auto;
    filter: invert(1) brightness(0.2);
    transition: filter 0.2s ease;
}

.logo:hover {
    filter: invert(1) brightness(0.9);
}

footer {
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

footer span {
    font-size: 0.75rem;
    color: var(--subtle);
    text-transform: lowercase;
}

@media (max-width: 640px) {
    body {
        padding: 8%;
    }

    nav {
        padding: 8%;
    }
}
