/* =========================================================
   GLOBAL REACH — World map image
   Loads assets/img/world.svg via <img>. No JS, no CDN.
   ========================================================= */

.reach__globe {
    position: relative;
    aspect-ratio: 4 / 3;
    background:
        radial-gradient(circle at 50% 45%, rgba(229,178,44,0.10) 0%, transparent 55%),
        linear-gradient(180deg, #FCF8F0 0%, #F6EEDF 100%);
    border-right: 1px solid rgba(92,15,31,0.08);
    overflow: hidden;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6%;
}

/* Ambient dot grid behind the map */
.reach__globe::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(92,15,31,0.08) 1px, transparent 1.3px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 35%, transparent 88%);
            mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 35%, transparent 88%);
    opacity: 0.5;
}

/* Warm gold glow behind the map */
.reach__globe::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 70%;
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229,178,44,0.18) 0%, transparent 62%);
    animation: globeGlow 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}
@keyframes globeGlow {
    0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
    50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.08); }
}

/* The map image */
.reach__globe-img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    filter: drop-shadow(0 12px 28px rgba(92,15,31,0.12));
    animation: globeImgFloat 12s ease-in-out infinite;
}
@keyframes globeImgFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

/* Optional color tint overlay — apply .reach__globe--tinted to <div class="reach__globe">
   if you want to warm up the SVG colors without editing the file itself. */
.reach__globe--tinted .reach__globe-img {
    filter: drop-shadow(0 12px 28px rgba(92,15,31,0.12))
            sepia(0.25)
            hue-rotate(-15deg)
            saturate(1.4);
}

/* Caption pill */
.reach__globe-caption {
    position: absolute;
    left: 50%;
    bottom: 16px;
    z-index: 2;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(92,15,31,0.10);
    border-radius: 999px;
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--deep);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 22px -14px rgba(22,17,15,0.25);
    pointer-events: none;
}
.reach__globe-caption svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .reach__globe {
        aspect-ratio: 16 / 10;
        border-right: 0;
        border-bottom: 1px solid rgba(92,15,31,0.08);
        padding: 8%;
    }
}

@media (max-width: 720px) {
    .reach__globe {
        aspect-ratio: 4 / 3;
        padding: 10%;
    }
    .reach__globe-caption {
        font-size: 0.54rem;
        padding: 6px 12px;
        letter-spacing: 0.18em;
        bottom: 12px;
    }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
    .reach__globe::after,
    .reach__globe-img { animation: none !important; }
}