/* =========================================================
   CHRIS BROWN — RESPONSIVE
   ========================================================= */


/* ---------------------------------------------------------
   LARGE DESKTOP
   --------------------------------------------------------- */

@media (max-width: 1400px) {

    :root {
        --container-padding: 35px;
    }

}


/* ---------------------------------------------------------
   DESKTOP / LAPTOP
   --------------------------------------------------------- */

@media (max-width: 1200px) {

    :root {
        --container-padding: 30px;
    }

    .nav-menu {
        gap: 34px;
    }

}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 1024px) {

    :root {
        --container-padding: 28px;
    }

    .container {
        width: calc(100% - (var(--container-padding) * 2));
    }

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 768px) {

    :root {
        --container-padding: 22px;
        --header-height: 58px;
    }


    /* ---------------------------------------------
       GLOBAL
       --------------------------------------------- */

    html {
        font-size: 15px;
    }

    body {
        width: 100%;
        overflow-x: hidden;
    }

    .container {
        width: calc(100% - (var(--container-padding) * 2));
    }


    /* ---------------------------------------------
       TYPOGRAPHY
       --------------------------------------------- */

    h1 {
        font-size: clamp(42px, 12vw, 72px);
    }

    h2 {
        font-size: clamp(34px, 9vw, 52px);
    }

    h3 {
        font-size: clamp(22px, 6vw, 32px);
    }


    /* ---------------------------------------------
       BUTTONS
       --------------------------------------------- */

    .site-button {
        min-height: 42px;
        padding: 11px 20px;
    }


    /* ---------------------------------------------
       PAGE OVERLAY
       --------------------------------------------- */

    .page-overlay {
        background: rgba(10, 7, 5, 0.68);
    }

}


/* ---------------------------------------------------------
   SMALL PHONES
   --------------------------------------------------------- */

@media (max-width: 480px) {

    :root {
        --container-padding: 18px;
    }

    .container {
        width: calc(100% - (var(--container-padding) * 2));
    }


    /* ---------------------------------------------
       GLOBAL TYPOGRAPHY
       --------------------------------------------- */

    html {
        font-size: 14px;
    }


    /* ---------------------------------------------
       BUTTONS
       --------------------------------------------- */

    .site-button {
        min-width: 130px;
        min-height: 40px;
        padding: 10px 18px;
        font-size: 9px;
    }

}


/* ---------------------------------------------------------
   VERY SMALL PHONES
   --------------------------------------------------------- */

@media (max-width: 360px) {

    :root {
        --container-padding: 16px;
    }

    .container {
        width: calc(100% - (var(--container-padding) * 2));
    }

    .mobile-nav-link {
        font-size: 22px;
    }

}


/* ---------------------------------------------------------
   LANDSCAPE MOBILE
   --------------------------------------------------------- */

@media (max-width: 768px) and (orientation: landscape) {

    .hero {
        min-height: 100svh;
        height: 100svh;
    }

    .mobile-menu {
        padding-top: 65px;
        padding-bottom: 25px;
    }

    .mobile-nav-list {
        gap: 14px;
    }

    .mobile-nav-link {
        font-size: 20px;
    }

}


/* ---------------------------------------------------------
   REDUCED MOTION
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

}