/*
|--------------------------------------------------------------------------
| Royal Servicess LLC
| Global Public Header V1 — Premium Fix
|--------------------------------------------------------------------------
*/

.royal-site-shell {
    width: min(100% - 32px, 1560px);
    margin-inline: auto;
}

.royal-site-header {
    position: sticky;
    top: 0;
    z-index: 1200;

    border-bottom: 1px solid rgba(214, 173, 67, 0.12);

    background:
        linear-gradient(
            180deg,
            rgba(8, 8, 8, 0.97) 0%,
            rgba(10, 10, 10, 0.95) 100%
        );

    backdrop-filter: blur(18px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.royal-site-header__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;

    min-height: 88px;
}

.royal-site-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    min-width: 0;

    color: #f4efe3;
    text-decoration: none;
}

.royal-site-brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;
    flex: 0 0 64px;

    overflow: hidden;

    border: 1px solid rgba(219, 180, 68, 0.7);
    border-radius: 14px;

    background:
        radial-gradient(
            circle at 30% 25%,
            rgba(232, 197, 102, 0.18),
            transparent 45%
        ),
        linear-gradient(
            180deg,
            rgba(21, 21, 21, 0.98),
            rgba(10, 10, 10, 1)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 8px 22px rgba(0, 0, 0, 0.28);
}

.royal-site-brand__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.royal-site-brand__fallback {
    color: #e3bf59;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.royal-site-brand__copy {
    display: grid;
    gap: 3px;

    min-width: 0;
}

.royal-site-brand__name {
    overflow: hidden;

    color: #f5f0e7;

    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.royal-site-brand__descriptor {
    color: rgba(244, 216, 140, 0.88);

    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.royal-site-nav--desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 1.25vw, 24px);

    min-width: 0;
}

.royal-site-nav__link,
.royal-site-policy__summary,
.royal-site-account {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;

    color: rgba(255, 255, 255, 0.84);

    font-size: 0.82rem;
    font-weight: 650;
    letter-spacing: 0.045em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        color 160ms ease,
        opacity 160ms ease;
}

.royal-site-nav__link::after,
.royal-site-policy__summary::after,
.royal-site-account::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;

    height: 2px;

    border-radius: 999px;

    background: linear-gradient(90deg, #e2bf5a, #f4dda1);
    opacity: 0;

    transform: translateY(3px);
    transition:
        opacity 160ms ease,
        transform 160ms ease;
}

.royal-site-nav__link:hover,
.royal-site-nav__link:focus-visible,
.royal-site-nav__link[aria-current="page"],
.royal-site-policy__summary:hover,
.royal-site-policy__summary:focus-visible,
.royal-site-policy.is-active > .royal-site-policy__summary,
.royal-site-account:hover,
.royal-site-account:focus-visible {
    color: #f4d06b;
    outline: none;
}

.royal-site-nav__link:hover::after,
.royal-site-nav__link:focus-visible::after,
.royal-site-nav__link[aria-current="page"]::after,
.royal-site-policy__summary:hover::after,
.royal-site-policy__summary:focus-visible::after,
.royal-site-policy.is-active > .royal-site-policy__summary::after,
.royal-site-account:hover::after,
.royal-site-account:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}

.royal-site-header__actions--desktop {
    display: flex;
    align-items: center;
    gap: 18px;
}

.royal-site-account {
    white-space: nowrap;
}

.royal-site-policy {
    position: relative;
}

.royal-site-policy__summary {
    gap: 6px;

    cursor: pointer;
    list-style: none;
}

.royal-site-policy__summary::-webkit-details-marker {
    display: none;
}

.royal-site-policy__summary svg {
    width: 14px;
    height: 14px;

    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;

    transition: transform 160ms ease;
}

.royal-site-policy[open] .royal-site-policy__summary svg {
    transform: rotate(180deg);
}

.royal-site-policy__panel {
    position: absolute;
    top: calc(100% + 18px);
    right: -18px;
    z-index: 30;

    display: grid;
    gap: 4px;

    min-width: 250px;
    padding: 10px;

    border: 1px solid rgba(223, 184, 71, 0.18);
    border-radius: 18px;

    background:
        linear-gradient(
            180deg,
            rgba(20, 20, 20, 0.98),
            rgba(10, 10, 10, 0.99)
        );

    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.royal-site-policy__panel::before {
    content: "";

    position: absolute;
    top: -7px;
    right: 30px;

    width: 12px;
    height: 12px;

    transform: rotate(45deg);

    border-top: 1px solid rgba(223, 184, 71, 0.18);
    border-left: 1px solid rgba(223, 184, 71, 0.18);
    background: #121212;
}

.royal-site-policy__panel a {
    display: flex;
    align-items: center;

    min-height: 46px;
    padding: 0 14px;

    border-radius: 12px;

    color: rgba(255, 255, 255, 0.84);

    font-size: 0.82rem;
    font-weight: 650;
    letter-spacing: 0.035em;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        background 160ms ease,
        color 160ms ease,
        transform 160ms ease;
}

.royal-site-policy__panel a:hover,
.royal-site-policy__panel a:focus-visible,
.royal-site-policy__panel a[aria-current="page"] {
    background: rgba(226, 191, 90, 0.10);
    color: #f4d06b;
    outline: none;
    transform: translateX(1px);
}

.royal-site-reserve {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 0 24px;

    border: 1px solid rgba(245, 213, 121, 0.88);
    border-radius: 16px;

    background:
        linear-gradient(
            180deg,
            #e8c45d 0%,
            #d5ac3d 55%,
            #bf9122 100%
        );

    color: #11110e;

    font-size: 0.9rem;
    font-weight: 750;
    letter-spacing: 0.035em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.30),
        0 12px 28px rgba(171, 125, 18, 0.24);

    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        filter 160ms ease;
}

.royal-site-reserve:hover,
.royal-site-reserve:focus-visible {
    color: #0f0f0d;
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.36),
        0 16px 30px rgba(171, 125, 18, 0.30);
    outline: none;
}

.royal-site-reserve--mobile,
.royal-site-menu,
.royal-site-tablet-cta {
    display: none;
}

/* Tablet + mobile */

@media (max-width: 1100px) {
    .royal-site-header__inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;

        min-height: 76px;
    }

    .royal-site-nav--desktop,
    .royal-site-header__actions--desktop {
        display: none;
    }

    .royal-site-brand__mark {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
    }

    .royal-site-brand__name {
        font-size: 0.98rem;
        max-width: 280px;
    }

    .royal-site-menu {
        position: relative;
        display: block;
    }

    .royal-site-menu > summary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;

        min-width: 48px;
        min-height: 48px;
        padding: 0 14px;

        border: 1px solid rgba(255, 255, 255, 0.10);
        border-radius: 14px;

        background: rgba(255, 255, 255, 0.03);
        color: rgba(255, 255, 255, 0.86);

        cursor: pointer;
        list-style: none;

        font-size: 0.75rem;
        font-weight: 650;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .royal-site-menu > summary::-webkit-details-marker {
        display: none;
    }

    .royal-site-menu[open] > summary {
        color: #f4d06b;
        border-color: rgba(226, 191, 90, 0.28);
        background: rgba(226, 191, 90, 0.07);
    }

    .royal-site-menu__icon {
        display: grid;
        gap: 4px;
        width: 18px;
    }

    .royal-site-menu__icon i {
        display: block;
        width: 100%;
        height: 2px;

        border-radius: 999px;
        background: currentColor;

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

    .royal-site-menu[open] .royal-site-menu__icon i:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .royal-site-menu[open] .royal-site-menu__icon i:nth-child(2) {
        opacity: 0;
    }

    .royal-site-menu[open] .royal-site-menu__icon i:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .royal-site-menu__panel {
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        z-index: 50;

        width: min(420px, calc(100vw - 28px));
        max-height: calc(100vh - 110px);
        overflow-y: auto;

        padding: 12px;

        border: 1px solid rgba(223, 184, 71, 0.18);
        border-radius: 18px;

        background:
            linear-gradient(
                180deg,
                rgba(18, 18, 18, 0.985),
                rgba(10, 10, 10, 0.99)
            );

        box-shadow: 0 28px 60px rgba(0, 0, 0, 0.48);
        backdrop-filter: blur(18px);
    }

    .royal-site-menu__heading {
        display: grid;
        gap: 4px;

        margin-bottom: 10px;
        padding: 4px 6px 12px;

        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .royal-site-menu__heading strong {
        color: #f5f0e7;
        font-size: 0.95rem;
        font-weight: 700;
    }

    .royal-site-menu__heading span {
        color: rgba(244, 216, 140, 0.82);
        font-size: 0.68rem;
        font-weight: 600;
        letter-spacing: 0.11em;
        text-transform: uppercase;
    }

    .royal-site-menu__links,
    .royal-site-menu__policy-links {
        display: grid;
        gap: 4px;
    }

    .royal-site-menu__links a,
    .royal-site-menu__policy-links a,
    .royal-site-menu__account a {
        display: flex;
        align-items: center;

        min-height: 46px;
        padding: 0 12px;

        border-radius: 12px;

        color: rgba(255, 255, 255, 0.82);

        font-size: 0.82rem;
        font-weight: 600;
        text-decoration: none;
    }

    .royal-site-menu__links a:hover,
    .royal-site-menu__links a:focus-visible,
    .royal-site-menu__links a[aria-current="page"],
    .royal-site-menu__policy-links a:hover,
    .royal-site-menu__policy-links a:focus-visible,
    .royal-site-menu__policy-links a[aria-current="page"],
    .royal-site-menu__account a:hover,
    .royal-site-menu__account a:focus-visible {
        background: rgba(226, 191, 90, 0.08);
        color: #f4d06b;
        outline: none;
    }

    .royal-site-menu__policies {
        margin: 8px 0;
        padding: 8px 0;

        border-top: 1px solid rgba(255, 255, 255, 0.06);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .royal-site-menu__policies > summary {
        display: flex;
        align-items: center;
        justify-content: space-between;

        min-height: 44px;
        padding: 0 12px;

        color: rgba(255, 255, 255, 0.84);

        cursor: pointer;
        list-style: none;

        font-size: 0.8rem;
        font-weight: 650;
        letter-spacing: 0.035em;
        text-transform: uppercase;
    }

    .royal-site-menu__policies > summary::-webkit-details-marker {
        display: none;
    }

    .royal-site-menu__policies > summary svg {
        width: 15px;
        height: 15px;

        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;

        transition: transform 160ms ease;
    }

    .royal-site-menu__policies[open] > summary svg {
        transform: rotate(180deg);
    }

    .royal-site-menu__policies.is-active > summary {
        color: #f4d06b;
    }

    .royal-site-menu__policy-links {
        padding: 6px 6px 0;
    }

    .royal-site-menu__account {
        display: grid;
        gap: 6px;

        margin-top: 10px;
    }

    .royal-site-menu__reserve {
        width: 100%;
        margin-top: 10px;
    }

    .royal-site-tablet-cta {
        display: block;

        border-bottom: 1px solid rgba(214, 173, 67, 0.10);
        background:
            linear-gradient(
                180deg,
                rgba(10, 10, 10, 0.95),
                rgba(8, 8, 8, 0.95)
            );
    }

    .royal-site-tablet-cta__inner {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 16px;

        min-height: 58px;
    }

    .royal-site-tablet-cta__inner > span {
        color: rgba(255, 255, 255, 0.55);

        font-size: 0.74rem;
        font-weight: 600;
    }
}

/* Mobile */

@media (max-width: 640px) {
    .royal-site-shell {
        width: min(100% - 20px, 1560px);
    }

    .royal-site-header__inner {
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 8px;

        min-height: 72px;
    }

    .royal-site-brand {
        gap: 10px;
    }

    .royal-site-brand__mark {
        width: 50px;
        height: 50px;
        flex-basis: 50px;

        border-radius: 12px;
    }

    .royal-site-brand__name {
        max-width: 160px;
        font-size: 0.92rem;
    }

    .royal-site-brand__descriptor {
        font-size: 0.62rem;
        letter-spacing: 0.12em;
    }

    .royal-site-reserve--mobile {
        display: inline-flex;

        min-height: 42px;
        padding: 0 14px;

        border-radius: 14px;

        font-size: 0.72rem;
    }

    .royal-site-menu {
        grid-column: 3;
    }

    .royal-site-menu > summary {
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;

        padding: 0;
        gap: 0;
    }

    .royal-site-menu__label {
        position: absolute;

        width: 1px;
        height: 1px;

        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .royal-site-menu__panel {
        width: calc(100vw - 20px);
        max-height: calc(100vh - 92px);
        right: -2px;
    }

    .royal-site-tablet-cta {
        display: none;
    }

    .royal-site-menu__reserve {
        display: none;
    }
}

@media (max-width: 390px) {
    .royal-site-brand__name {
        max-width: 128px;
        font-size: 0.88rem;
    }

    .royal-site-reserve--mobile {
        padding: 0 11px;
        font-size: 0.67rem;
    }
}

@media (min-width: 1101px) {
    .royal-site-menu {
        display: none;
    }

    .royal-site-reserve--mobile {
        display: none;
    }

    .royal-site-tablet-cta {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .royal-site-header *,
    .royal-site-tablet-cta * {
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/*
|--------------------------------------------------------------------------
| Royal Servicess LLC
| Unified Homepage Typography
|--------------------------------------------------------------------------
| Uses the exact font families already approved on the homepage.
| Weight and tracking are intentionally calmer for navigation.
|--------------------------------------------------------------------------
*/

.royal-site-header {
    --royal-header-serif: Georgia, "Times New Roman", Times, serif;
    --royal-header-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.royal-site-brand__name {
    font-family:
        var(--royal-header-serif);

    font-size: 1.04rem;
    font-weight: 400;

    line-height: 1.06;

    letter-spacing: -0.018em;
}

.royal-site-brand__descriptor {
    font-family:
        var(--royal-header-sans);

    font-size: 0.59rem;
    font-weight: 600;

    line-height: 1.15;

    letter-spacing: 0.135em;

    text-transform: uppercase;
}

.royal-site-nav__link,
.royal-site-policy__summary,
.royal-site-account {
    font-family:
        var(--royal-header-sans);

    font-size: 0.78rem;
    font-weight: 500;

    line-height: 1;

    letter-spacing: 0.018em;

    text-transform: none;

    color:
        rgba(226, 222, 213, 0.74);
}

.royal-site-nav__link:hover,
.royal-site-nav__link:focus-visible,
.royal-site-nav__link[aria-current="page"],
.royal-site-policy__summary:hover,
.royal-site-policy__summary:focus-visible,
.royal-site-policy.is-active >
.royal-site-policy__summary,
.royal-site-account:hover,
.royal-site-account:focus-visible {
    color: #ead49b;
}

.royal-site-nav__link::after,
.royal-site-policy__summary::after,
.royal-site-account::after {
    bottom: -7px;

    height: 1px;

    background:
        rgba(224, 186, 82, 0.78);
}

.royal-site-policy__panel a {
    font-family:
        var(--royal-header-sans);

    font-size: 0.78rem;
    font-weight: 500;

    line-height: 1.2;

    letter-spacing: 0.012em;

    text-transform: none;

    color:
        rgba(229, 225, 215, 0.76);
}

.royal-site-reserve {
    font-family:
        var(--royal-header-sans);

    font-size: 0.76rem;
    font-weight: 600;

    line-height: 1;

    letter-spacing: 0.018em;

    text-transform: none;
}

/*
|--------------------------------------------------------------------------
| Desktop refinement
|--------------------------------------------------------------------------
*/

@media (min-width: 1101px) {
    .royal-site-header__inner {
        min-height: 82px;
    }

    .royal-site-nav--desktop {
        gap:
            clamp(
                18px,
                1.35vw,
                27px
            );
    }

    .royal-site-brand__mark {
        width: 58px;
        height: 58px;

        flex-basis: 58px;

        border-radius: 13px;
    }

    .royal-site-header__actions--desktop {
        gap: 20px;
    }

    .royal-site-reserve--desktop {
        min-height: 44px;

        padding:
            0 21px;

        border-radius: 13px;
    }
}

/*
|--------------------------------------------------------------------------
| Tablet / mobile typography
|--------------------------------------------------------------------------
*/

@media (max-width: 1100px) {
    .royal-site-menu > summary,
    .royal-site-menu__links a,
    .royal-site-menu__policy-links a,
    .royal-site-menu__account a,
    .royal-site-menu__policies > summary,
    .royal-site-menu__heading,
    .royal-site-reserve {
        font-family:
            var(--royal-header-sans);
    }

    .royal-site-menu > summary {
        font-weight: 500;

        letter-spacing: 0.02em;

        text-transform: none;
    }

    .royal-site-menu__links a,
    .royal-site-menu__policy-links a,
    .royal-site-menu__account a {
        font-weight: 500;

        letter-spacing: 0.006em;
    }

    .royal-site-menu__policies > summary {
        font-weight: 500;

        letter-spacing: 0.012em;

        text-transform: none;
    }

    .royal-site-menu__heading strong {
        font-family:
            var(--royal-header-serif);

        font-weight: 400;

        letter-spacing: -0.01em;
    }

    .royal-site-menu__heading span {
        font-family:
            var(--royal-header-sans);

        font-weight: 500;
    }

    .royal-site-reserve {
        font-weight: 600;

        letter-spacing: 0.015em;

        text-transform: none;
    }
}

@media (max-width: 640px) {
    .royal-site-brand__name {
        font-size: 0.92rem;

        font-weight: 400;
    }

    .royal-site-brand__descriptor {
        font-size: 0.54rem;

        font-weight: 600;

        letter-spacing: 0.11em;
    }

    .royal-site-reserve--mobile {
        font-size: 0.69rem;

        font-weight: 600;
    }
}


/*
|--------------------------------------------------------------------------
| Royal Servicess LLC
| Luxury Header Spacing + Navigation Presence
|--------------------------------------------------------------------------
*/

.royal-site-shell {
    width:
        min(
            calc(100% - 64px),
            1480px
        );
}

/*
|--------------------------------------------------------------------------
| Desktop balance
|--------------------------------------------------------------------------
*/

@media (min-width: 1101px) {
    .royal-site-header__inner {
        grid-template-columns:
            auto
            minmax(0, 1fr)
            auto;

        gap:
            clamp(
                28px,
                2vw,
                42px
            );

        min-height: 82px;
    }

    .royal-site-nav--desktop {
        justify-content: center;

        gap:
            clamp(
                20px,
                1.5vw,
                30px
            );
    }

    .royal-site-header__actions--desktop {
        gap: 22px;
    }

    /*
    |--------------------------------------------------------------------------
    | Non-active navigation — intentionally restrained
    |--------------------------------------------------------------------------
    */

    .royal-site-nav__link,
    .royal-site-policy__summary,
    .royal-site-account {
        color:
            rgba(194, 190, 181, 0.56);

        transition:
            color 220ms ease,
            transform 220ms ease,
            opacity 220ms ease;
    }

    .royal-site-nav__link::after,
    .royal-site-policy__summary::after,
    .royal-site-account::after {
        left: 50%;
        right: 50%;
        bottom: -8px;

        height: 1px;

        background:
            linear-gradient(
                90deg,
                rgba(206, 162, 49, 0.20),
                rgba(235, 205, 120, 0.92),
                rgba(206, 162, 49, 0.20)
            );

        opacity: 0;

        transform: none;

        transition:
            left 240ms ease,
            right 240ms ease,
            opacity 180ms ease;
    }

    /*
    |--------------------------------------------------------------------------
    | Hover — subtle lift + warm glow
    |--------------------------------------------------------------------------
    */

    .royal-site-nav__link:hover,
    .royal-site-nav__link:focus-visible,
    .royal-site-policy__summary:hover,
    .royal-site-policy__summary:focus-visible,
    .royal-site-account:hover,
    .royal-site-account:focus-visible {
        color: rgba(244, 229, 189, 0.96);

        transform:
            translateY(-1px);

        outline: none;
    }

    .royal-site-nav__link:hover::after,
    .royal-site-nav__link:focus-visible::after,
    .royal-site-policy__summary:hover::after,
    .royal-site-policy__summary:focus-visible::after,
    .royal-site-account:hover::after,
    .royal-site-account:focus-visible::after {
        left: 8%;
        right: 8%;

        opacity: 1;
    }

    /*
    |--------------------------------------------------------------------------
    | Active state — elegant, not loud
    |--------------------------------------------------------------------------
    */

    .royal-site-nav__link[aria-current="page"],
    .royal-site-policy.is-active >
    .royal-site-policy__summary {
        color: #ead39a;
    }

    .royal-site-nav__link[aria-current="page"]::after,
    .royal-site-policy.is-active >
    .royal-site-policy__summary::after {
        left: 6%;
        right: 6%;

        opacity: 1;
    }

    /*
    |--------------------------------------------------------------------------
    | Reserve button — align with luxury hierarchy
    |--------------------------------------------------------------------------
    */

    .royal-site-reserve--desktop {
        min-height: 44px;

        padding:
            0 22px;

        border-radius: 12px;

        box-shadow:
            inset 0 1px 0
            rgba(255, 255, 255, 0.24),
            0 10px 24px
            rgba(158, 113, 17, 0.18);

        transition:
            transform 220ms ease,
            box-shadow 220ms ease,
            filter 220ms ease;
    }

    .royal-site-reserve--desktop:hover,
    .royal-site-reserve--desktop:focus-visible {
        transform:
            translateY(-2px);

        filter:
            brightness(1.025);

        box-shadow:
            inset 0 1px 0
            rgba(255, 255, 255, 0.30),
            0 16px 30px
            rgba(158, 113, 17, 0.24);
    }
}

/*
|--------------------------------------------------------------------------
| Large desktop breathing room
|--------------------------------------------------------------------------
*/

@media (min-width: 1500px) {
    .royal-site-shell {
        width:
            min(
                calc(100% - 96px),
                1480px
            );
    }
}

/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 1100px) and (min-width: 641px) {
    .royal-site-shell {
        width:
            min(
                calc(100% - 40px),
                1480px
            );
    }
}

/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 640px) {
    .royal-site-shell {
        width:
            min(
                calc(100% - 24px),
                1480px
            );
    }

    .royal-site-menu__links a,
    .royal-site-menu__policy-links a,
    .royal-site-menu__account a {
        color:
            rgba(208, 204, 194, 0.68);

        transition:
            color 180ms ease,
            background 180ms ease,
            transform 180ms ease;
    }

    .royal-site-menu__links a:hover,
    .royal-site-menu__links a:focus-visible,
    .royal-site-menu__policy-links a:hover,
    .royal-site-menu__policy-links a:focus-visible,
    .royal-site-menu__account a:hover,
    .royal-site-menu__account a:focus-visible {
        color: #efd99d;

        background:
            rgba(215, 174, 62, 0.055);

        transform:
            translateX(2px);
    }

    .royal-site-menu__links a[aria-current="page"],
    .royal-site-menu__policy-links a[aria-current="page"] {
        color: #ecd18c;

        background:
            rgba(215, 174, 62, 0.07);
    }
}

/*
|--------------------------------------------------------------------------
| Reduced motion
|--------------------------------------------------------------------------
*/

@media (prefers-reduced-motion: reduce) {
    .royal-site-nav__link,
    .royal-site-policy__summary,
    .royal-site-account,
    .royal-site-reserve,
    .royal-site-menu__links a,
    .royal-site-menu__policy-links a,
    .royal-site-menu__account a {
        transition-duration:
            0.01ms !important;

        transform:
            none !important;
    }
}

/*
|--------------------------------------------------------------------------
| Royal Servicess LLC
| Final Header Navigation Color Hierarchy
|--------------------------------------------------------------------------
*/

/*
|--------------------------------------------------------------------------
| Desktop
|--------------------------------------------------------------------------
*/

@media (min-width: 1101px) {

    /*
    | Other non-active navigation items use the former Policies tone.
    */

    .royal-site-nav__link:not([aria-current="page"]),
    .royal-site-account {
        color:
            rgba(194, 190, 181, 0.56);
    }

    /*
    | Policies receives its own permanent bronze / champagne identity.
    */

    .royal-site-policy__summary {
        color: #bc9454;
    }

    /*
    | Policies arrow follows the text naturally.
    */

    .royal-site-policy__summary svg {
        color: currentColor;
    }

    /*
    | Active page remains brighter than inactive navigation.
    */

    .royal-site-nav__link[aria-current="page"] {
        color: #ead39a;
    }

    /*
    | Open Policies state becomes slightly brighter.
    */

    .royal-site-policy[open] >
    .royal-site-policy__summary,
    .royal-site-policy.is-active >
    .royal-site-policy__summary {
        color: #d2ab68;
    }

    /*
    | Hover / keyboard focus.
    */

    .royal-site-nav__link:hover,
    .royal-site-nav__link:focus-visible,
    .royal-site-account:hover,
    .royal-site-account:focus-visible {
        color:
            rgba(244, 229, 189, 0.96);
    }

    .royal-site-policy__summary:hover,
    .royal-site-policy__summary:focus-visible {
        color: #e0bd79;
    }

    /*
    | Policy dropdown keeps the same bronze family,
    | but softer than the main Policies trigger.
    */

    .royal-site-policy__panel a {
        color:
            rgba(202, 166, 101, 0.76);
    }

    .royal-site-policy__panel a:hover,
    .royal-site-policy__panel a:focus-visible,
    .royal-site-policy__panel a[aria-current="page"] {
        color: #ebcf96;
    }
}

/*
|--------------------------------------------------------------------------
| Tablet + mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 1100px) {

    .royal-site-menu__links a:not([aria-current="page"]),
    .royal-site-menu__account a {
        color:
            rgba(194, 190, 181, 0.64);
    }

    .royal-site-menu__policies > summary {
        color: #bc9454;
    }

    .royal-site-menu__policies[open] > summary {
        color: #d2ab68;
    }

    .royal-site-menu__policy-links a {
        color:
            rgba(202, 166, 101, 0.78);
    }

    .royal-site-menu__links a[aria-current="page"],
    .royal-site-menu__policy-links a[aria-current="page"] {
        color: #ead39a;
    }

    .royal-site-menu__links a:hover,
    .royal-site-menu__links a:focus-visible,
    .royal-site-menu__account a:hover,
    .royal-site-menu__account a:focus-visible {
        color: #f0ddb0;
    }

    .royal-site-menu__policy-links a:hover,
    .royal-site-menu__policy-links a:focus-visible {
        color: #ebcf96;
    }
}

/*
|--------------------------------------------------------------------------
| Royal Servicess LLC
| Final Exact Royal Gold + Account Identity
|--------------------------------------------------------------------------
| Policies uses the exact same --rh-gold-soft value as the homepage
| hero accent. Other navigation is intentionally translucent white.
|--------------------------------------------------------------------------
*/

@media (min-width: 1101px) {

    /*
    | Inactive main navigation.
    */
    .royal-site-nav__link:not([aria-current="page"]),
    .royal-site-account {
        color: rgba(255, 255, 255, 0.64);
    }

    /*
    | Exact homepage "Royal fleet." accent color.
    */
    .royal-site-policy__summary {
        color: #e2ca94;
    }

    .royal-site-policy__summary svg {
        color: currentColor;
    }

    /*
    | Keep Policies in its gold identity even when open/current.
    */
    .royal-site-policy[open] >
    .royal-site-policy__summary,
    .royal-site-policy.is-active >
    .royal-site-policy__summary {
        color: #e2ca94;
    }

    /*
    | Active non-policy page.
    */
    .royal-site-nav__link[aria-current="page"] {
        color: rgba(255, 255, 255, 0.94);
    }

    /*
    | Main navigation hover.
    */
    .royal-site-nav__link:hover,
    .royal-site-nav__link:focus-visible,
    .royal-site-account:hover,
    .royal-site-account:focus-visible {
        color: #e2ca94;
    }

    /*
    | Policies hover stays in the same family,
    | using brightness rather than a different hue.
    */
    .royal-site-policy__summary:hover,
    .royal-site-policy__summary:focus-visible {
        color: #e2ca94;
        filter: brightness(1.09);
    }

    /*
    | Premium account identity:
    | Sign In / My Account / Control Center.
    */
    .royal-site-account {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .royal-site-account::before {
        content: "";

        width: 15px;
        height: 15px;

        flex: 0 0 15px;

        background: currentColor;

        opacity: 0.88;

        -webkit-mask:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='3.5' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M5.5 20c.8-4 3-6 6.5-6s5.7 2 6.5 6' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E")
            center / contain
            no-repeat;

        mask:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='3.5' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M5.5 20c.8-4 3-6 6.5-6s5.7 2 6.5 6' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E")
            center / contain
            no-repeat;

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

    .royal-site-account:hover::before,
    .royal-site-account:focus-visible::before {
        opacity: 1;

        transform:
            translateY(-1px);
    }
}

/*
|--------------------------------------------------------------------------
| Tablet + mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 1100px) {

    .royal-site-menu__links a:not([aria-current="page"]),
    .royal-site-menu__account a {
        color: rgba(255, 255, 255, 0.68);
    }

    .royal-site-menu__policies > summary {
        color: #e2ca94;
    }

    .royal-site-menu__policies[open] > summary,
    .royal-site-menu__policies.is-active > summary {
        color: #e2ca94;
    }

    .royal-site-menu__links a[aria-current="page"] {
        color: rgba(255, 255, 255, 0.94);
    }

    .royal-site-menu__links a:hover,
    .royal-site-menu__links a:focus-visible,
    .royal-site-menu__account a:hover,
    .royal-site-menu__account a:focus-visible {
        color: #e2ca94;
    }

    .royal-site-menu__account a {
        display: inline-flex;
        align-items: center;
        gap: 9px;
    }

    .royal-site-menu__account a::before {
        content: "";

        width: 16px;
        height: 16px;

        flex: 0 0 16px;

        background: currentColor;

        opacity: 0.90;

        -webkit-mask:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='3.5' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M5.5 20c.8-4 3-6 6.5-6s5.7 2 6.5 6' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E")
            center / contain
            no-repeat;

        mask:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='3.5' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M5.5 20c.8-4 3-6 6.5-6s5.7 2 6.5 6' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E")
            center / contain
            no-repeat;
    }
}

