:root {
    --black: #0a0a0a;
    --yellow: #f5c400;
    --white: #ffffff;
    --surface: #f5f5f5;
    --border: #d0d0d0;
    --muted: #777777;

    --font-mono: 'IBM Plex Mono', monospace;
    --font-tag: 'Outfit', system-ui, sans-serif;
    --font-content: 'Rubik', system-ui, sans-serif;
}

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

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-content);
    font-weight: 400;
    background: var(--surface);
    color: var(--black);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Layout */
.container {
    max-width: 70rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navbar */
.navbar {
    background: var(--black);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #262626;
    position: relative;
    overflow: hidden;
}

/* Sweeping progress bar on project-404 */
.navbar.navbar--progress::after {
    content: '';
    position: absolute;
    bottom: 0;
    height: 2px;
    left: -45%;
    width: 40%;
    background: var(--yellow);
    animation: sweep 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes sweep {
    0% {
        left: -45%;
    }
    100% {
        left: 110%;
    }
}

.navbar__inner {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.navbar__logo {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
}

.navbar__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    text-decoration: none;
    flex-shrink: 0;
}

.navbar__prefix {
    font-family: var(--font-mono);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1;
    color: var(--yellow);
}

.navbar__name {
    color: #a3a3a3;
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 2rem 0;
    border-top: 1px solid #262626;
}

.footer__inner {
    font-size: 0.875rem;
    color: #737373;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer__left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer__separator {
    color: #525252;
}

.footer__logo {
    height: 1.5rem;
    width: auto;
    opacity: 0.5;
}

.footer__links {
    display: flex;
    gap: 1.5rem;
}

.footer__link {
    color: #737373;
    text-decoration: none;
    transition: color 0.12s;
}

.footer__link:hover {
    color: var(--white);
}

/* Hero */
.hero {
    background: var(--black);
    color: var(--white);
    padding: 4rem 0 5rem;
}

.hero__label {
    font-family: var(--font-tag);
    color: var(--yellow);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 1.25rem;
}

.hero__title {
    font-family: var(--font-tag);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
}

.hero__accent {
    color: var(--yellow);
}

.hero__subtitle {
    font-size: 1rem;
    color: #aaaaaa;
    max-width: 600px;
    line-height: 1.65;
    margin-bottom: 2rem;
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;

    cursor: pointer;

    border-radius: 0;
}

.button.button--primary {
    gap: 0.4em;
    background: var(--yellow);
    color: var(--black);

    text-decoration: none;

    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.06em;

    padding: 0.7em 1.2em;
    border: none;

    transition: opacity 0.12s;
}

.button.button--primary:hover {
    opacity: 0.85;
}

.button.button--icon {
    justify-content: center;

    width: 36px;
    height: 36px;

    padding: 0;
    background: none;

    border: 1px solid var(--border);

    color: var(--muted);

    transition:
        border-color 0.12s,
        color 0.12s,
        background 0.12s;

    flex-shrink: 0;
}

.button.button--icon:hover {
    border-color: var(--black);
    color: var(--black);
}

/* Responsive */
@media (max-width: 640px) {
    .hero {
        padding: 2.5rem 0 5rem;
    }

    .hero__title {
        font-size: clamp(2.5rem, 11vw, 3.5rem);
    }

    .navbar {
        padding: 0.875rem 1.25rem;
    }
}
