
/* =========================================================
   CHANAWAY5000
   GLOBAL STYLESHEET

   Shared styles:
   - Fonts and typography
   - Colors and variables
   - Base layout
   - Navigation
   - Footer
   - Responsive behavior
   ========================================================= */


/* =========================================================
   01. FONTS
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800&display=swap');

@font-face {
    font-family: 'aBlackLives';
    src: url('../fonts/aBlackLives.woff2') format('woff2');
    font-style: normal;
    font-weight: 900;
    font-display: swap;
}


/* =========================================================
   02. VARIABLES
   ========================================================= */

:root {
    /* Colors */
    --blue: #0866f5;
    --blue-hover: #0052cf;
    --black: #090909;
    --approach: #171717;

    /* Typography */
    --font-head: 'aBlackLives', Impact, 'Arial Black', sans-serif;
    --font-body: 'Barlow', Arial, sans-serif;

    /* Layout */
    --container-width: 1200px;
}


/* =========================================================
   03. BASE STYLES
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--black);
    background: #fff;
    font-family: var(--font-body);
}

a {
    color: inherit;
}


/* =========================================================
   04. SHARED LAYOUT
   ========================================================= */

.container {
    width: min(100% - 104px, var(--container-width));
    margin-inline: auto;
}


/* =========================================================
   05. NAVIGATION
   ========================================================= */

.site-header {
    background: #fff;
}

.nav {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* CHANAWAY5000 wordmark */

.logo {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.07em;
    text-decoration: none;
    white-space: nowrap;
}

.logo span,
.blue {
    color: var(--blue);
}

/* Navigation links */

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--blue);
}


/* =========================================================
   06. FOOTER
   ========================================================= */

.site-footer {
    background: #050505;
    color: #fff;
    padding: 55px 0 26px;
}

/* Upper footer */

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.onward {
    font-family: var(--font-head);
    font-size: clamp(62px, 7vw, 105px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    line-height: 1;
    margin: 0 0 12px;
}

.footer-tagline {
    color: #c9c9c9;
    font-size: 15px;
    margin: 0 0 28px;
}

.site-footer .logo {
    font-size: 22px;
}


/* =========================================================
   07. FOOTER ACTIONS
   ========================================================= */

.footer-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 24px;
}

/* Primary contact button */

.footer-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    padding: 14px 22px;

    background: var(--blue);
    color: #fff;

    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;

    transition: background 0.2s ease;
}

.footer-contact:hover {
    background: var(--blue-hover);
}

/* LinkedIn and résumé links */

.footer-action-link {
    color: #c9c9c9;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;

    transition: color 0.2s ease;
}

.footer-action-link:hover {
    color: var(--blue);
}


/* =========================================================
   08. FOOTER BOTTOM
   ========================================================= */

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    border-top: 1px solid #444;
    padding-top: 22px;
}

.copyright {
    color: #888;
    font-size: 10px;
    margin: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-links a {
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--blue);
}


/* =========================================================
   09. RESPONSIVE LAYOUT
   ========================================================= */

/* Tablets */

@media (max-width: 900px) {

    .container {
        width: min(100% - 48px, var(--container-width));
    }

}

/* Mobile */

@media (max-width: 580px) {

    .container {
        width: calc(100% - 36px);
    }

    /* Navigation */

    .nav {
        min-height: 60px;
    }

    .logo {
        font-size: 21px;
    }

    .nav-links {
        gap: 13px;
    }

    .nav-links a {
        font-size: 10px;
    }

    /* Footer */

    .footer-top,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-top {
        gap: 8px;
    }

    .footer-actions {
        align-items: flex-start;
        gap: 18px;
        margin-top: 20px;
    }

    .footer-contact {
        width: 100%;
    }

    .footer-links {
        gap: 18px;
    }

}

/* ==========================================
   SMALL MOBILE NAVIGATION
   320px–359px
   ========================================== */

@media (max-width: 359px) {

    .nav {
        gap: 8px;
    }

    .logo {
        font-size: 17px;
    }

    .nav-links {
        gap: 8px;
    }

    .nav-links a {
        font-size: 9px;
    }

}
