/* Nic-Nats Master Public Header */

:root {
    --nn-header-height: 138px;
    --nn-header-gold: #c49a56;
    --nn-header-ivory: #fff7e8;
    --nn-header-muted: #c9baa6;
}

/* =========================================================
   MASTER HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow: hidden;

    border-bottom: 1px solid rgba(196,154,86,.55);

    background:
        linear-gradient(
            90deg,
            rgba(255,247,232,.045) 1px,
            transparent 1px
        ) 0 0 / 58px 34px,

        linear-gradient(
            rgba(255,247,232,.038) 1px,
            transparent 1px
        ) 0 0 / 58px 34px,

        linear-gradient(
            135deg,
            rgba(89,37,38,.72),
            rgba(49,28,23,.91) 46%,
            rgba(29,17,14,.97)
        );

    box-shadow:
        0 13px 34px rgba(0,0,0,.42),
        inset 0 -8px 0 rgba(36,19,14,.72);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}


/* =========================================================
   WALNUT BOTTOM BEAM
========================================================= */

.site-header::after {
    position: absolute;

    right: 0;
    bottom: 0;
    left: 0;

    height: 12px;

    content: "";
    pointer-events: none;

    border-top: 1px solid rgba(196,154,86,.22);

    background:
        linear-gradient(
            180deg,
            rgba(79,46,29,.98),
            rgba(34,20,14,.98)
        );
}


/* =========================================================
   HEADER LAYOUT
========================================================= */

.site-header .navigation {
    position: relative;
    z-index: 2;

    min-height: var(--nn-header-height);

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin: 0 auto;
}


/* =========================================================
   NIC-NATS LOGO
========================================================= */

.site-header .brand {
    position: relative;
    z-index: 3;

    display: flex;
    align-items: center;

    flex: 0 0 auto;

    margin: 0;

    transform: none;
}


.site-header .brand-mark {
    width: 285px;
    height: 118px;

    display: grid;
    place-items: center;

    flex: 0 0 285px;
}


.site-header .brand > img,
.site-header .brand-mark img {
    width: 100%;
    max-width: 285px;
    height: 118px;

    display: block;

    object-fit: contain;
    object-position: left center;

    filter:
        drop-shadow(
            0 14px 24px rgba(0,0,0,.62)
        );
}


/* =========================================================
   NAVIGATION
========================================================= */

.site-header .nav-links {
    display: flex;
    align-items: center;

    gap: 5px;

    margin-left: auto;

    padding: 8px 10px;

    border:
        1px solid rgba(234,215,183,.08);

    border-radius: 14px;

    background:
        rgba(9,6,5,.22);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


.site-header .nav-links a {
    padding: 10px 13px;

    border-radius: 10px;

    color: var(--nn-header-muted);

    font-size: .84rem;
    font-weight: 760;

    transition:
        color .2s ease,
        background .2s ease,
        transform .2s ease;
}


.site-header .nav-links a:hover,
.site-header .nav-links a[aria-current="page"] {
    color: var(--nn-header-ivory);

    background:
        rgba(255,247,232,.075);

    transform:
        translateY(-1px);
}


.site-header .nav-links .account-link {
    margin-left: 4px;

    border:
        1px solid rgba(196,154,86,.42);

    color: #24150d;

    background:
        linear-gradient(
            135deg,
            var(--nn-header-ivory),
            var(--nn-header-gold)
        );

    font-weight: 900;

    box-shadow:
        0 10px 24px rgba(0,0,0,.20);
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1100px) {

    .site-header .navigation {
        width: calc(100% - 40px);

        max-width: 1720px;

        min-height:
            var(--nn-header-height);

        padding:
            8px 0 15px;
    }
}


/* =========================================================
   TABLET / SMALL DESKTOP
========================================================= */

@media (max-width: 1099px) {

    .site-header {
        overflow: visible;
    }

    .site-header .navigation {
        min-height: 92px;
    }

    .site-header .brand-mark {
        width: 205px;
        height: 76px;

        flex-basis: 205px;
    }

    .site-header .brand > img,
    .site-header .brand-mark img {
        max-width: 205px;
        height: 76px;
    }
}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

@media (max-width: 850px) {

    .site-header
    .nav-links
    a:not(.account-link) {
        display: none;
    }

    .site-header .nav-links {
        padding: 5px;

        border: 0;

        background:
            transparent;
    }
}


/* =========================================================
   PHONE
========================================================= */

@media (max-width: 680px) {

    .site-header .navigation {
        min-height: 78px;
    }

    .site-header .brand-mark {
        width: 145px;
        height: 54px;

        flex-basis: 145px;
    }

    .site-header .brand > img,
    .site-header .brand-mark img {
        max-width: 145px;
        height: 54px;
    }

    .site-header
    .nav-links
    .account-link {
        padding: 9px 11px;

        font-size: .71rem;
    }
}

/* =========================================================
   NIC-NATS BRAND COPY
========================================================= */

.site-header .brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.site-header .brand-copy strong {
    color: #ead7b7;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: .84rem;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.site-header .brand-copy span {
    color: #c49a56;

    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}


/* =========================================================
   VIEW LIVE SALE — MASTER HEADER BUTTON
========================================================= */

.site-header .nav-links .nav-cta {
    margin-left: 8px;

    padding: 12px 18px;

    color: #fff7e8 !important;

    background:
        linear-gradient(
            135deg,
            rgba(55, 28, 20, .98),
            rgba(28, 16, 12, .98)
        ) !important;

    border:
        1px solid rgba(196, 154, 86, .85) !important;

    text-shadow:
        0 1px 2px rgba(0,0,0,.90);

    box-shadow:
        0 7px 18px rgba(0,0,0,.30);

    font-weight: 900;
}

.site-header .nav-links .nav-cta:hover,
.site-header .nav-links .nav-cta[aria-current="page"] {
    color: #24150d !important;

    background:
        linear-gradient(
            135deg,
            #fff7e8,
            #c49a56
        ) !important;

    border-color: #c49a56 !important;

    text-shadow: none;

    transform: translateY(-1px);
}


@media (max-width: 900px) {
    .site-header .brand-copy {
        display: none;
    }
}

@media (max-width: 720px) {
    .site-header .nav-links .nav-cta {
        padding: 10px 13px;
        font-size: .76rem;
    }
}