/* =====================================================
        RESET
    ===================================================== */
    
    @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Cormorant+Garamond:ital,wght@0,500;1,500&family=Cinzel:wght@500;600&display=swap');
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    html {
        scroll-behavior: smooth;
    }
    body {
        font-family: Arial, Helvetica, sans-serif;
        background: #ffffff;
        color: #1a1a2e;
    }
    a {
        text-decoration: none;
        color: inherit;
    }
    button {
        font-family: inherit;
    }

    /* =====================================================
        VARIABLES
    ===================================================== */
    :root {
        --white: #ffffff;
        --off-white: #fafafa;
        --black: #1a1a2e;
        --navy: #1a1a2e;
        --gold: #c98516;
        --gold-light: #d4a030;
        --grey: #2d2d44;
        --light-grey: #d9d9d9;
    }

    /* =====================================================
        RTL SUPPORT
    ===================================================== */
    [dir="rtl"] {
        text-align: right;
    }
    [dir="rtl"] .gold-line,
    [dir="rtl"] .expertise-gold-line {
        margin-right: 0;
        margin-left: 0;
    }
    [dir="rtl"] .service-arrow,
    [dir="rtl"] .explore-arrow {
        display: inline-block;
        transform: rotate(180deg);
    }
    [dir="rtl"] .explore:hover .explore-arrow {
        transform: rotate(180deg) translateX(5px);
    }
    [dir="rtl"] .service:hover .service-arrow {
        transform: rotate(180deg) translateX(4px);
    }
    [dir="rtl"] .nav-menu .dropdown-menu {
        left: auto;
        right: 0;
    }
    [dir="rtl"] .nav-menu .dropdown-menu a {
        padding: 8px 18px;
    }
    [dir="rtl"] .value-item + .value-item {
        border-left: none;
        border-right: 1px solid #dddddd;
    }
    [dir="rtl"] .location-icon {
        margin-left: 0;
        margin-right: 0;
    }
    [dir="rtl"] .explore-mark::after {
        left: auto;
        right: 0;
    }
    [dir="rtl"] .explore-mark {
        border-left: none;
        border-right: 2px solid var(--gold);
    }
    [dir="rtl"] .explore-mark::after {
        left: auto;
        right: 0;
    }
    @media (max-width: 850px) {
        [dir="rtl"] .nav-menu {
            transform: translateX(100%);
            left: auto;
            right: 0;
        }
        [dir="rtl"] .nav-menu.active {
            transform: translateX(0);
        }
        [dir="rtl"] .nav-menu .dropdown-menu a {
            padding: 8px 30px 8px 18px;
        }
        [dir="rtl"] .value-item + .value-item {
            border-right: none;
            border-top: 1px solid #dddddd;
        }
    }

    /* =====================================================
        NAVBAR
    ===================================================== */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 78px;
        background: rgba(255, 255, 255, 0.97);
        display: flex;
        align-items: center;
        z-index: 1000;
        border-bottom: 1px solid #eeeeee;
    }
    .nav-container {
        width: 100%;
        height: 100%;
        padding: 0 32px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* LOGO */
    .logo {
        display: flex;
        align-items: center;
        width: 250px;
        min-width: 250px;
        height: 100%;
        text-decoration: none;
    }
    .corexion-logo {
        display: block;
        width: 250px;
        height: 75px;
        object-fit: contain;
        object-position: left center;
    }

    /* NAVIGATION */
    .nav-menu {
        height: 100%;
        display: flex;
        align-items: center;
        list-style: none;
        gap: 38px;
    }
    .nav-menu li {
        height: 100%;
        display: flex;
        align-items: center;
        position: relative;
    }
    .nav-menu a {
        position: relative;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.7px;
        color: #1a1a2e;
        white-space: nowrap;
        transition: color 0.25s ease;
        display: inline-block;
        padding-bottom: 4px;
    }
    .nav-menu a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -8px;
        width: 0;
        height: 2px;
        background: var(--gold);
        transition: width 0.25s ease;
    }
    .nav-menu a:hover {
        color: var(--gold);
    }
    .nav-menu a:hover::after {
        width: 100%;
    }

    /* DROPDOWN */
    .dropdown-toggle {
        cursor: pointer;
        -webkit-user-select: none;
        user-select: none;
    }
    .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        min-width: 200px;
        box-shadow: 0 8px 20px rgba(0,0,0,.1);
        border-radius: 4px;
        padding: 8px 0;
        z-index: 200;
        margin-top: 6px;
    }
    .dropdown-menu.open {
        display: block;
    }
    .dropdown-menu li {
        height: auto;
        padding: 0;
        border-bottom: none;
        display: block;
    }
    .dropdown-menu a {
        display: block;
        padding: 10px 20px;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: .3px;
        color: #1a1a2e;
        transition: background .2s, color .2s;
        height: auto;
    }
    .dropdown-menu a:hover {
        background: #f5f5f5;
        color: var(--gold);
    }
    .dropdown-menu a::after {
        display: none;
    }
    .dropdown-menu.wide {
        min-width: 220px;
    }

    /* MOBILE BUTTON */
    .menu-button {
        display: none;
        width: 42px;
        height: 42px;
        border: none;
        background: transparent;
        cursor: pointer;
        position: relative;
        z-index: 1200;
    }
    .menu-button span {
        display: block;
        width: 24px;
        height: 2px;
        margin: 5px auto;
        background: #1a1a2e;
        transition: transform 0.28s ease, opacity 0.2s ease;
    }
    .menu-button.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .menu-button.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-button.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        top: 78px;
        background: rgba(0,0,0,.35);
        z-index: 900;
        opacity: 0;
        transition: opacity .25s ease;
    }
    .nav-overlay.active {
        display: block;
        opacity: 1;
    }

    /* =====================================================
        HERO
    ===================================================== */
    .hero {
        width: 100%;
        min-height: 100vh;
        padding-top: 78px;
        display: grid;
        grid-template-columns: 35% 65%;
    }

    /* HERO LEFT */
    .hero-left {
        background: #ffffff;
        padding: 58px 50px 35px;
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    /* HERO TITLE */
    .hero-title {
        font-size: clamp(52px, 5vw, 72px);
        line-height: 0.98;
        font-weight: 300;
        letter-spacing: 1px;
        color: #1a1a2e;
        margin-bottom: 16px;
    }
    .gold-line {
        width: 35px;
        height: 3px;
        background: var(--gold);
        margin-bottom: 14px;
    }
    .hero-description {
        max-width: 300px;
        color: #2d2d44;
        font-size: 18px;
        line-height: 1.45;
        margin-bottom: 26px;
    }

    /* SERVICES */
    .services {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 22px;
    }
    .service {
        display: grid;
        grid-template-columns: 32px 30px 1fr 24px;
        align-items: center;
        width: 100%;
        cursor: pointer;
        transition: 0.25s ease;
    }
    .service-number {
        font-size: 18px;
        color: #a7a7a7;
        font-weight: 400;
    }
    .service.active .service-number {
        color: var(--gold);
    }
    .service-line {
        width: 25px;
        height: 1px;
        background: #cccccc;
    }
    .service.active .service-line {
        background: var(--gold);
    }
    .service-name {
        font-size: 16px;
        color: #2d2d44;
        font-weight: 600;
        transition: 0.25s ease;
    }
    .service.active .service-name {
        color: #1a1a2e;
    }
    .service-arrow {
        font-size: 22px;
        color: #aaaaaa;
        transition: 0.25s ease;
    }
    .service.active .service-arrow {
        color: var(--gold);
    }
    .service:hover .service-name {
        color: var(--gold);
    }
    .service:hover .service-arrow {
        transform: translateX(4px);
        color: var(--gold);
    }

    /* EXPLORE CAPABILITIES */
    .explore {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-top: 3px;
        margin-bottom: 22px;
        width: fit-content;
        color: #1a1a2e;
        font-size: 14px;
        font-weight: 700;
    }
    .explore-mark {
        width: 18px;
        height: 18px;
        border-left: 2px solid var(--gold);
        position: relative;
    }
    .explore-mark::after {
        content: "";
        position: absolute;
        left: 0;
        top: 8px;
        width: 14px;
        height: 1px;
        background: var(--gold);
    }
    .explore-arrow {
        color: var(--gold);
        font-size: 22px;
        transition: transform 0.25s ease;
    }
    .explore:hover .explore-arrow {
        transform: translateX(5px);
    }

    /* GLOBAL PRESENCE */
    .global {
        border-top: 1px solid #dddddd;
        padding-top: 14px;
        margin-top: auto;
    }
    .global-title {
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.5px;
        color: var(--gold);
        margin-bottom: 10px;
    }
    .locations {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .location {
        display: flex;
        align-items: center;
        gap: 10px;
        color: #2d2d44;
        font-size: 11px;
        line-height: 1.3;
    }
    .location-icon {
        position: relative;
        width: 12px;
        height: 15px;
        border: 1.5px solid var(--gold);
        border-radius: 8px 8px 8px 8px;
        flex-shrink: 0;
    }
    .location-icon::after {
        content: "";
        position: absolute;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: var(--gold);
        left: 3px;
        top: 4px;
    }

    /* HERO IMAGE */
    .hero-right {
        position: relative;
        min-height: calc(100vh - 78px);
        overflow: hidden;
        background: #eeeeee;
    }
    .hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 1.2s ease;
    }
    .hero-right:hover .hero-image {
        transform: scale(1.015);
    }

    /* IMAGE OVERLAY */
    .hero-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(0,0,0,0));
        pointer-events: none;
    }

    /* =====================================================
        SECTION 02 — EXPERTISE INTRO
    ===================================================== */
    .expertise-intro {
        width: 100%;
        background: #ffffff;
        padding: 0 0 45px;
    }

    /* TOP */
    .expertise-top {
        width: 100%;
        display: grid;
        grid-template-columns: 35% 65%;
        align-items: stretch;
    }

    /* LEFT CONTENT */
    .expertise-heading {
        padding: 48px 50px 35px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .expertise-heading h2 {
        font-size: clamp(48px, 5vw, 64px);
        line-height: 1.08;
        font-weight: 300;
        letter-spacing: 1px;
        color: #1a1a2e;
        margin: 0 0 15px;
    }
    .expertise-gold-line {
        width: 35px;
        height: 3px;
        background: #c98516;
        margin-bottom: 16px;
    }
    .expertise-heading p {
        max-width: 320px;
        color: #2d2d44;
        font-size: 18px;
        line-height: 1.6;
    }

    /* IMAGE */
    .expertise-image {
        width: 100%;
        height: 430px;
        overflow: hidden;
        background: #eeeeee;
    }
    .expertise-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center;
        transition: transform 0.7s ease;
    }
    .expertise-image:hover img {
        transform: scale(1.02);
    }

    /* VALUES */
    .expertise-values {
        width: 100%;
        padding: 40px 50px 0;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        max-width: 1400px;
        margin: 0 auto;
    }

    /* VALUE ITEM */
    .value-item {
        display: grid;
        grid-template-columns: 75px 1fr;
        gap: 25px;
        padding: 0 38px;
        min-height: 100px;
        align-items: center;
    }
    .value-item + .value-item {
        border-left: 1px solid #dddddd;
    }

    /* ICON */
    .value-icon {
        width: 65px;
        height: 65px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .value-icon svg {
        width: 62px;
        height: 62px;
        fill: none;
        stroke: #c98516;
        stroke-width: 1.4;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    /* TEXT */
    .value-content h3 {
        margin-bottom: 8px;
        font-size: 16px;
        font-weight: 700;
        letter-spacing: 0.5px;
        color: #1a1a2e;
    }
    .value-content p {
        color: #2d2d44;
        font-size: 14px;
        line-height: 1.7;
        max-width: 280px;
    }

    /* =====================================================
        FOOTER
    ===================================================== */
    .footer {
        background: #17181a;
        color: white;
        padding: 85px 85px 85px;
    }
    .footer-container {
        max-width: 1400px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding-bottom: 30px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    /* 👇 ده الكلاس المهم للوجو */
    .footer-logo-img {
        width: 180px;
        height: auto;
        display: block;
        object-fit: contain;
    }

    .footer-right {
        display: flex;
        align-items: flex-start;
    }

    .footer-links-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px 70px;
    }
    .footer-links-grid a {
        color: #bcbcbc;
        font-size: 14px;
        text-decoration: none;
        transition: color 0.25s ease;
        font-weight: 500;
        white-space: nowrap;
    }
    .footer-links-grid a:hover {
        color: white;
    }
    .footer-bottom {
        max-width: 1400px;
        margin: 18px auto 0;
        display: flex;
        justify-content: space-between;
        color: #777777;
        font-size: 12px;
    }

    /* =====================================================
        RESPONSIVE
    ===================================================== */
    @media (max-width: 1100px) {
        .nav-container {
            padding: 0 22px;
        }
        .logo {
            width: 200px;
            min-width: 200px;
        }
        .corexion-logo {
            width: 200px;
            height: 75px;
        }
        .nav-menu {
            gap: 24px;
        }
        .nav-menu a {
            font-size: 12px;
        }
        .hero {
            grid-template-columns: 40% 60%;
        }
        .hero-left {
            padding-left: 35px;
            padding-right: 30px;
        }
        .hero-title {
            font-size: 48px;
        }
    }

    @media (max-width: 850px) {
        .navbar {
            height: 70px;
        }
        .nav-container {
            padding: 0 20px;
        }
        .logo {
            width: 160px;
            min-width: 160px;
        }
        .corexion-logo {
            width: 160px;
            height: 75px;
        }
        .nav-menu {
            position: fixed;
            top: 70px;
            right: 0;
            left: auto;
            width: min(78%, 340px);
            max-width: 340px;
            height: calc(100vh - 70px);
            background: white;
            display: flex;
            flex-direction: column;
            align-items: stretch;
            padding: 10px 0 30px;
            gap: 0;
            transform: translateX(100%);
            transition: transform 0.35s ease;
            overflow-y: auto;
            box-shadow: -6px 0 24px rgba(0,0,0,.12);
            z-index: 950;
        }
        .nav-menu.active {
            transform: translateX(0);
        }
        .nav-menu li {
            width: 100%;
            height: auto;
            padding: 0;
            border-bottom: 1px solid #eeeeee;
            display: block;
        }
        .nav-menu > li > a {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            padding: 16px 25px;
            font-size: 14px;
            letter-spacing: .8px;
        }
        .nav-menu > li > a::after {
            display: none;
        }
        .nav-menu > li > a.active {
            background: #faf6ee;
        }
        .nav-menu .dropdown-toggle::before {
            content: "";
            width: 8px;
            height: 8px;
            border-right: 1.6px solid #999;
            border-bottom: 1.6px solid #999;
            transform: rotate(45deg);
            transition: transform .25s ease, border-color .25s ease;
            margin-left: 10px;
            flex-shrink: 0;
        }
        .nav-menu .dropdown-toggle.open::before {
            transform: rotate(-135deg);
            border-color: var(--gold);
        }
        .nav-menu .dropdown-menu {
            position: static;
            box-shadow: none;
            padding: 0;
            margin: 0;
            border-radius: 0;
            background: #faf8f4;
            display: none;
            max-height: 0;
            overflow: hidden;
            transition: max-height .3s ease;
        }
        .nav-menu .dropdown-menu.open {
            display: block;
            max-height: 600px;
        }
        .nav-menu .dropdown-menu li {
            padding: 0;
            border-bottom: 1px solid #efece4;
        }
        .nav-menu .dropdown-menu li:last-child {
            border-bottom: none;
        }
        .nav-menu .dropdown-menu a {
            padding: 12px 25px 12px 38px;
            font-size: 13px;
            font-weight: 600;
            color: #1a1a2e;
            position: relative;
        }
        .nav-menu .dropdown-menu a::before {
            content: "–";
            position: absolute;
            left: 25px;
            color: var(--gold);
        }
        .nav-menu .dropdown-menu a:hover,
        .nav-menu .dropdown-menu a.active {
            color: var(--gold);
            background: #f3ecdd;
        }
        body.nav-open {
            overflow: hidden;
        }
        .menu-button {
            display: block;
        }

        .hero {
            padding-top: 70px;
            display: flex;
            flex-direction: column;
        }
        .hero-left {
            min-height: auto;
            padding: 45px 25px 30px;
        }
        .hero-title {
            font-size: clamp(48px, 14vw, 70px);
        }
        .hero-description {
            font-size: 16px;
            max-width: 100%;
        }
        .hero-right {
            min-height: 50vh;
            height: 50vh;
        }
        .global {
            margin-top: 15px;
        }

        .expertise-top {
            display: flex;
            flex-direction: column;
        }
        .expertise-heading {
            padding: 40px 25px 30px;
        }
        .expertise-heading h2 {
            font-size: clamp(44px, 12vw, 62px);
        }
        .expertise-heading p {
            max-width: 100%;
            font-size: 16px;
        }
        .expertise-image {
            height: 55vw;
            min-height: 280px;
        }
        .expertise-values {
            display: flex;
            flex-direction: column;
            padding: 30px 25px 0;
        }
        .value-item {
            padding: 25px 0;
            grid-template-columns: 70px 1fr;
        }
        .value-item + .value-item {
            border-left: none;
            border-top: 1px solid #dddddd;
        }
        .value-content p {
            max-width: 100%;
        }

        .footer {
            padding: 40px 25px 20px;
        }
        .footer-container {
            flex-direction: column;
            align-items: flex-start;
            gap: 24px;
        }
        .footer-links-grid {
            gap: 10px 30px;
        }
        .footer-bottom {
            flex-direction: column;
            gap: 8px;
            text-align: center;
        }
    }

    @media (max-width: 500px) {
        .logo {
            width: 200px;
            min-width: 140px;
        }
        .corexion-logo {
            width: 220px;
            height: 66px;
        }
        .hero-left {
            padding: 35px 18px 25px;
        }
        .hero-title {
            font-size: 42px;
        }
        .service-name {
            font-size: 13px;
        }
        .location {
            font-size: 10px;
        }
        .expertise-heading {
            padding: 30px 18px 25px;
        }
        .expertise-heading h2 {
            font-size: 38px;
        }
        .expertise-values {
            padding-left: 18px;
            padding-right: 18px;
        }
        .value-item {
            grid-template-columns: 55px 1fr;
            gap: 15px;
        }
        .value-icon {
            width: 50px;
            height: 50px;
        }
        .value-icon svg {
            width: 48px;
            height: 48px;
        }
        .value-content h3 {
            font-size: 14px;
        }
        .value-content p {
            font-size: 12px;
        }
        .explore {
            font-size: 13px;
        }

        .footer-links-grid {
            grid-template-columns: 1fr 1fr;
            gap: 8px 20px;
        }
        .footer-links-grid a {
            font-size: 10px;
        }
        .footer-logo-img {
            width: 140px;
        }
    }

    @media (prefers-reduced-motion: reduce) {
:not(#loader):not(#loader *),
:not(#loader)::before,
:not(#loader)::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
}
}

    /* RTL mobile overrides */
    [dir="rtl"] .nav-menu .dropdown-menu a::before {
        content: "–";
        left: auto;
        right: 25px;
    }
    [dir="rtl"] .nav-menu .dropdown-menu a {
        padding: 12px 38px 12px 25px;
    }
    @media (max-width: 850px) {
        [dir="rtl"] .nav-menu .dropdown-menu a {
            padding: 12px 38px 12px 25px;
        }
        [dir="rtl"] .nav-menu .dropdown-toggle::before {
            margin-left: 0;
            margin-right: 10px;
        }
    }

:root{
--gold-1:#fff7d6;
--gold-2:#ffd66b;
--gold-3:#e8a933;
--gold-4:#8a5a12;
--bg-0:#020202;
--bg-1:#0a0704;
}

*{ box-sizing:border-box; margin:0; padding:0; }

html,body{
height:100%;
background:var(--bg-0);
}

body{
position:relative;
min-height:100vh;
}

/* ===== LOADER OVERLAY ===== */
#loader{
position:fixed;
inset:0;
z-index:9999;
display:flex;
align-items:center;
justify-content:center;
overflow:hidden;
font-family:'Cormorant Garamond', serif;
background:
    radial-gradient(ellipse at 50% 40%, rgba(232,169,51,0.10) 0%, rgba(232,169,51,0.0) 55%),
    radial-gradient(ellipse at 50% 100%, rgba(138,90,18,0.18) 0%, rgba(0,0,0,0) 60%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
transition: opacity 0.8s ease, visibility 0.8s ease;
opacity:1;
visibility:visible;
}

#loader.loader-hide{
opacity:0;
visibility:hidden;
pointer-events:none;
}

/* subtle vignette */
#loader::before{
content:"";
position:absolute;
inset:0;
background: radial-gradient(ellipse at center, rgba(0,0,0,0) 40%, rgba(0,0,0,0.85) 100%);
pointer-events:none;
z-index:5;
}

/* ===== PAGE CONTENT BEHIND THE LOADER ===== */
#page-content{
min-height:100vh;
display:flex;
align-items:center;
justify-content:center;
background:var(--bg-1);
color:var(--gold-2);
font-family:'Cinzel', serif;
letter-spacing:0.15em;
text-align:center;
padding:40px;
}

/* floating gold dust */
.dust{
position:absolute;
inset:0;
overflow:hidden;
z-index:1;
pointer-events:none;
}
.dust span{
position:absolute;
bottom:-10px;
width:3px;
height:3px;
border-radius:50%;
background:var(--gold-2);
box-shadow:0 0 6px 1px rgba(255,214,107,0.9);
opacity:0;
animation:rise linear infinite;
}
@keyframes rise{
0%{ transform:translateY(0) translateX(0); opacity:0; }
10%{ opacity:.9; }
90%{ opacity:.4; }
100%{ transform:translateY(-115vh) translateX(var(--drift,20px)); opacity:0; }
}

.stage{
position:relative;
z-index:2;
display:flex;
flex-direction:column;
align-items:center;
gap:22px;
}

/* ring around the X */
.ring-wrap{
position:relative;
width:300px;
height:300px;
display:flex;
align-items:center;
justify-content:center;
}

.ring-wrap svg{
position:absolute;
inset:0;
width:100%;
height:100%;
transform:rotate(-90deg);
filter:drop-shadow(0 0 6px rgba(255,214,107,0.55));
}

.ring-track{
fill:none;
stroke:rgba(232,169,51,0.12);
stroke-width:2;
}

.ring-progress{
fill:none;
stroke:url(#ringGrad);
stroke-width:2.4;
stroke-linecap:round;
stroke-dasharray:753;
stroke-dashoffset:753;
animation:ringSweep 2s cubic-bezier(.65,0,.35,1) infinite;
}

@keyframes ringSweep{
0%{ stroke-dashoffset:753; opacity:.3; }
50%{ stroke-dashoffset:0; opacity:1; }
100%{ stroke-dashoffset:-753; opacity:.3; }
}

/* full wordmark sized to sit inside the ring */
.x-letter{
position:relative;
display:flex;
align-items:center;
justify-content:center;
width:220px;
max-width:70vw;
-webkit-user-select:none;
user-select:none;
}

.loader-logo{
display:block;
width:220px;
max-width:70vw;
height:auto;
object-fit:contain;
filter:
    drop-shadow(0 0 4px rgba(255,214,107,0.6))
    drop-shadow(0 0 14px rgba(255,193,66,0.45))
    drop-shadow(0 0 30px rgba(232,169,51,0.3));
animation:breatheGlow 1.4s ease-in-out infinite;
}

@keyframes breatheGlow{
0%,100%{ filter:
    drop-shadow(0 0 4px rgba(255,214,107,0.6))
    drop-shadow(0 0 14px rgba(255,193,66,0.45))
    drop-shadow(0 0 30px rgba(232,169,51,0.3)); }
50%{ filter:
    drop-shadow(0 0 10px rgba(255,214,107,1))
    drop-shadow(0 0 26px rgba(255,193,66,0.85))
    drop-shadow(0 0 55px rgba(232,169,51,0.6)); }
}

/* name */
.name-block{
text-align:center;
opacity:1;
animation:nameIn 1.4s ease-out 0.4s both;
}

@keyframes nameIn{
0%{ opacity:0; transform:translateY(14px) scale(.98); letter-spacing:0.5em; }
100%{ opacity:1; transform:translateY(0) scale(1); letter-spacing:0.32em; }
}

.name-title{
font-family:'Cinzel', serif;
font-size:22px;
font-weight:600;
letter-spacing:0.32em;
text-transform:uppercase;
color:var(--gold-2);
background:linear-gradient(90deg, var(--gold-4), var(--gold-1) 45%, var(--gold-2) 55%, var(--gold-4));
background-size:220% 100%;
-webkit-background-clip:text;
background-clip:text;
-webkit-text-fill-color:transparent;
animation:nameShimmer 4s linear infinite;
}

@keyframes nameShimmer{
0%{ background-position:0% 0%; }
100%{ background-position:220% 0%; }
}

.name-sub{
margin-top:6px;
font-size:13px;
letter-spacing:0.38em;
text-transform:uppercase;
color:rgba(232,169,51,0.8);
font-family:'Cinzel', serif;
}

.name-sub span{
display:inline-block;
animation:dotPulse 1.4s ease-in-out infinite;
}
.name-sub span:nth-child(1){ animation-delay:0s; }
.name-sub span:nth-child(2){ animation-delay:.2s; }
.name-sub span:nth-child(3){ animation-delay:.4s; }

@keyframes dotPulse{
0%,100%{ opacity:.25; }
50%{ opacity:1; }
}

@media (max-width:520px){
.ring-wrap{ width:240px; height:240px; }
.x-letter,
.loader-logo{ width:180px; }
.name-title{ font-size:16px; letter-spacing:0.22em; }
}
