/* Royal Servicess LLC - R2 homepage-only first-session intro.
   No permanent blocking layer; missing JS or logo defaults to no overlay. */
.royal-welcome { display: none; }

html.royal-welcome-enabled body.royal-home > .royal-welcome {
    position: fixed;
    inset: 0;
    z-index: 2147482000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: clamp(20px, 5vw, 56px);
    background: #090a0c;
    color: #f4edde;
    pointer-events: none;
    user-select: none;
    opacity: 0;
    animation: royal-welcome-overlay 2.35s ease-in-out both;
}

.royal-welcome__ambient {
    position: absolute;
    inset: -18%;
    background: radial-gradient(ellipse at 50% 41%, rgba(185, 143, 57, .18), transparent 47%),
                radial-gradient(ellipse at 50% 100%, rgba(104, 76, 28, .11), transparent 60%);
    opacity: .96;
}

.royal-welcome__content {
    position: relative;
    display: flex;
    width: min(100%, 670px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    text-align: center;
    transform: translateY(9px);
    animation: royal-welcome-content 1.2s cubic-bezier(.22, 1, .36, 1) both;
}

.royal-welcome__eyebrow,
.royal-welcome__kicker,
.royal-welcome__tagline {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
}

.royal-welcome__eyebrow {
    font-size: clamp(9px, 1.8vw, 11px);
    letter-spacing: .34em;
    color: #ae9a6c;
}

.royal-welcome__emblem {
    position: relative;
    display: grid;
    width: clamp(118px, 22vw, 162px);
    height: clamp(118px, 22vw, 162px);
    margin: 24px auto 26px;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle at 44% 30%, #332913 0, #121318 70%);
    box-shadow: 0 0 0 1px rgba(223, 193, 118, .27),
                0 22px 72px rgba(0, 0, 0, .55),
                0 0 75px rgba(197, 154, 62, .13);
}

.royal-welcome__ring {
    position: absolute;
    inset: -9px;
    border: 1px solid rgba(222, 186, 103, .4);
    border-radius: 50%;
    animation: royal-welcome-ring 1.5s ease-out both;
}

.royal-welcome__ring--inner {
    inset: 9px;
    border-color: rgba(247, 220, 152, .25);
    animation-delay: .13s;
}

.royal-welcome__initials {
    position: relative;
    z-index: 1;
    color: #edcd7f;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(43px, 8vw, 62px);
    letter-spacing: -.07em;
    text-shadow: 0 2px 22px rgba(226, 188, 103, .12);
}

.royal-welcome__logo {
    position: absolute;
    z-index: 2;
    inset: 22%;
    width: 56%;
    height: 56%;
    object-fit: contain;
    opacity: 0;
    transition: opacity .24s ease;
}

.royal-welcome__logo.is-loaded { opacity: 1; }

.royal-welcome__kicker {
    color: #c3a967;
    font-size: clamp(10px, 2vw, 12px);
    letter-spacing: .35em;
}

.royal-welcome__name {
    display: block;
    max-width: 100%;
    margin-top: 12px;
    color: #f2dfaf;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(29px, 5.5vw, 51px);
    font-weight: normal;
    line-height: 1.16;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
}

.royal-welcome__tagline {
    margin-top: 15px;
    color: #bcb4a5;
    font-size: clamp(10px, 2vw, 13px);
    letter-spacing: .23em;
    line-height: 1.6;
}

.royal-welcome__line {
    width: clamp(72px, 14vw, 118px);
    height: 1px;
    margin-top: 30px;
    background: linear-gradient(90deg, transparent, #d8b769, transparent);
    transform-origin: center;
    animation: royal-welcome-line 1.1s ease both;
}

@keyframes royal-welcome-overlay {
    0%, 67% { opacity: 1; visibility: visible; }
    100% { opacity: 0; visibility: hidden; }
}

@keyframes royal-welcome-content {
    from { opacity: 0; transform: translateY(18px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes royal-welcome-ring {
    from { opacity: 0; transform: scale(.86); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes royal-welcome-line {
    from { opacity: 0; transform: scaleX(.45); }
    to { opacity: 1; transform: scaleX(1); }
}

@media (max-width: 480px) {
    .royal-welcome__emblem { margin-top: 19px; margin-bottom: 22px; }
    .royal-welcome__eyebrow { letter-spacing: .22em; }
    .royal-welcome__tagline { letter-spacing: .13em; }
}

@media (prefers-reduced-motion: reduce) {
    html.royal-welcome-enabled body.royal-home > .royal-welcome {
        display: none !important;
        animation: none !important;
    }
}
