/* =========================================================
   HALCYON & GRACE
   HEADER — BASE / DESKTOP
========================================================= */

.site-header {
    background: #0b0b0b;
    padding: 20px 46px 18px;

    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);

    box-shadow: none;
}


/* ---------------------------------------------------------
   INNER CONTAINER
--------------------------------------------------------- */

.site-header .header-container {
    width: 100%;
    max-width: 1440px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: auto 1fr auto;

    align-items: center;

    gap: 42px;
}


/* ---------------------------------------------------------
   BRAND
--------------------------------------------------------- */

.site-brand {
    display: inline-flex;
    flex-direction: column;

    align-items: center;

    color: inherit;

    text-decoration: none;
}

.site-brand__name {
    color: #f4510b;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(1.65rem, 2.2vw, 2.2rem);

    font-weight: 400;

    line-height: 1;

    letter-spacing: 0.055em;

    text-transform: uppercase;

    white-space: nowrap;
}

.site-brand__tagline {
    margin-top: 6px;

    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 0.67rem;

    font-weight: 500;

    line-height: 1;

    letter-spacing: 0.35em;

    text-transform: uppercase;
}


/* ---------------------------------------------------------
   NAVIGATION
--------------------------------------------------------- */

.site-header .main-nav {
    justify-self: end;

    flex-grow: 0;

    text-align: left;
}

.site-header .main-nav__list {
    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: clamp(28px, 3vw, 48px);

    margin: 0;

    padding: 0;

    list-style: none;
}

.site-header .main-nav__link {
    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 0.88rem;

    font-weight: 600;

    letter-spacing: 0.025em;

    text-decoration: none;

    text-transform: uppercase;

    white-space: nowrap;

    transition: color 180ms ease;
}

.site-header .main-nav__link:hover {
    color: #f4510b;

    text-decoration: none;
}

.site-header .main-nav__link--active {
    color: #f4510b;
}


/* ---------------------------------------------------------
   SEARCH ICON
--------------------------------------------------------- */

.header-search {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 32px;
    height: 32px;

    padding: 0;

    border: 0;

    background: transparent;

    color: #ffffff;

    cursor: pointer;

    transition: color 180ms ease;
}

.header-search:hover {
    color: #f4510b;
}

.header-search:focus-visible {
    outline: 2px solid #f4510b;
    outline-offset: 4px;
}


/* ---------------------------------------------------------
   MOBILE MENU TOGGLE
   Hidden on desktop/tablet; responsive.css reveals it.
--------------------------------------------------------- */

.menu-toggle {
    display: none;

    width: 40px;
    height: 40px;

    padding: 8px;

    border: 0;

    background: transparent;

    color: #ffffff;

    cursor: pointer;
}

.menu-toggle__line {
    display: block;

    width: 24px;
    height: 2px;

    margin: 5px auto;

    background: currentColor;

    transition:
        transform 180ms ease,
        opacity 180ms ease;
}

.menu-toggle.is-open .menu-toggle__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle__line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open .menu-toggle__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.menu-toggle:focus-visible {
    outline: 2px solid #f4510b;
    outline-offset: 3px;
}
