.team-bubbles {
    position: absolute;
    left: clamp(18px, 4.6vw, 72px);
    top: 98vh;
    width: calc(100% - (2 * clamp(18px, 4.6vw, 72px)));
    height: 60vh;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: auto;
    z-index: 20;
    box-sizing: border-box;
    overflow: hidden;
}

.team-bubbles-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: min(calc(90vh / 10), 9vw);
    line-height: 1;
    letter-spacing: 0;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    pointer-events: none;
    z-index: 1;
    white-space: nowrap;
}

.team-bubbles-label-base {
    position: absolute;
    color: rgba(0, 0, 0, 0.22);
    z-index: 1;
}

.studio-fixed-label-base {
    color: rgba(0, 0, 0, 0.22);
    z-index: 1;
}

.team-bubbles-label-holo,
.studio-fixed-label-holo,
.studio-fixed-number-holo {
    position: absolute;
    color: transparent;
    z-index: 2;
    background: linear-gradient(
        135deg,
        #ff0000 0%,
        #ff9a00 10%,
        #d0de21 20%,
        #4fd1c5 30%,
        #2979ff 40%,
        #6b42c1 50%,
        #f43f5e 60%,
        #ff00c8 70%,
        #ff00aa 80%,
        #ff5252 90%,
        #ff0000 100%
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;

    -webkit-mask-image:
        radial-gradient(circle var(--hs0) at var(--hx0) var(--hy0), black 0%, transparent 80%),
        radial-gradient(circle var(--hs1) at var(--hx1) var(--hy1), black 0%, transparent 80%),
        radial-gradient(circle var(--hs2) at var(--hx2) var(--hy2), black 0%, transparent 80%),
        radial-gradient(circle var(--hs3) at var(--hx3) var(--hy3), black 0%, transparent 80%),
        radial-gradient(circle var(--hs4) at var(--hx4) var(--hy4), black 0%, transparent 80%),
        radial-gradient(circle var(--hs5) at var(--hx5) var(--hy5), black 0%, transparent 80%),
        radial-gradient(circle var(--hs6) at var(--hx6) var(--hy6), black 0%, transparent 80%),
        radial-gradient(circle var(--hs7) at var(--hx7) var(--hy7), black 0%, transparent 80%),
        radial-gradient(circle var(--hs8) at var(--hx8) var(--hy8), black 0%, transparent 80%),
        radial-gradient(circle var(--hs9) at var(--hx9) var(--hy9), black 0%, transparent 80%),
        radial-gradient(circle var(--hs10) at var(--hx10) var(--hy10), black 0%, transparent 80%),
        radial-gradient(circle var(--hs11) at var(--hx11) var(--hy11), black 0%, transparent 80%),
        radial-gradient(circle var(--hs12) at var(--hx12) var(--hy12), black 0%, transparent 80%),
        radial-gradient(circle var(--hs13) at var(--hx13) var(--hy13), black 0%, transparent 80%),
        radial-gradient(circle var(--hs14) at var(--hx14) var(--hy14), black 0%, transparent 80%);

    mask-image:
        radial-gradient(circle var(--hs0) at var(--hx0) var(--hy0), black 0%, transparent 80%),
        radial-gradient(circle var(--hs1) at var(--hx1) var(--hy1), black 0%, transparent 80%),
        radial-gradient(circle var(--hs2) at var(--hx2) var(--hy2), black 0%, transparent 80%),
        radial-gradient(circle var(--hs3) at var(--hx3) var(--hy3), black 0%, transparent 80%),
        radial-gradient(circle var(--hs4) at var(--hx4) var(--hy4), black 0%, transparent 80%),
        radial-gradient(circle var(--hs5) at var(--hx5) var(--hy5), black 0%, transparent 80%),
        radial-gradient(circle var(--hs6) at var(--hx6) var(--hy6), black 0%, transparent 80%),
        radial-gradient(circle var(--hs7) at var(--hx7) var(--hy7), black 0%, transparent 80%),
        radial-gradient(circle var(--hs8) at var(--hx8) var(--hy8), black 0%, transparent 80%),
        radial-gradient(circle var(--hs9) at var(--hx9) var(--hy9), black 0%, transparent 80%),
        radial-gradient(circle var(--hs10) at var(--hx10) var(--hy10), black 0%, transparent 80%),
        radial-gradient(circle var(--hs11) at var(--hx11) var(--hy11), black 0%, transparent 80%),
        radial-gradient(circle var(--hs12) at var(--hx12) var(--hy12), black 0%, transparent 80%),
        radial-gradient(circle var(--hs13) at var(--hx13) var(--hy13), black 0%, transparent 80%),
        radial-gradient(circle var(--hs14) at var(--hx14) var(--hy14), black 0%, transparent 80%);

    will-change: mask-image, -webkit-mask-image;
    mix-blend-mode: normal;
}

#gallery-section.is-window-active .team-bubbles {
    opacity: 1;
    transform: translateY(0);
}

#gallery-section {
    --studio-side-opacity: 0;
    --studio-side-reveal: 0;
    --studio-side-top: 50%;
}

.studio-wrapper {
    position: absolute;
    left: 0;
    top: 166vh;
    width: 100%;
    pointer-events: none;
    z-index: 18;
    height: auto;
}

.studio-gallery {
    position: relative;
    width: 100%;
    padding: 0 6vw var(--studio-bottom-safe-space, 8vh);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(18px, 2.2vw, 34px);
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    z-index: 18;
    pointer-events: auto;
}

.studio-fixed-label {
    position: fixed;
    top: var(--studio-side-top, 50%);
    left: clamp(10px, 1.6vw, 28px);
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: min(8.8vh, 11vw);
    line-height: 0.75;
    letter-spacing: -0.05em;
    font-weight: 700;
    text-transform: uppercase;
    width: clamp(92px, 12.1vw, 198px);
    height: 90vh;
    max-height: 90vh;
    color: rgba(0, 0, 0, 0.22);
    pointer-events: none;
    z-index: 12;
    white-space: pre-wrap;
    isolation: isolate;
    opacity: 0;
    transition: opacity 0.35s ease;
    display: block;
}

.studio-fixed-label-base,
.studio-fixed-number-base,
.studio-fixed-label-holo {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: inherit;
    writing-mode: horizontal-tb;
    white-space: normal;
}

.studio-fixed-number {
    position: fixed;
    top: var(--studio-side-top, 50%);
    right: clamp(10px, 1.6vw, 28px);
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: min(60vh, 48vw);
    line-height: 0.8;
    letter-spacing: -0.03em;
    font-weight: 700;
    text-transform: uppercase;
    width: clamp(288px, 36vw, 630px);
    height: 90vh;
    max-height: 90vh;
    color: rgba(0, 0, 0, 0.22);
    pointer-events: none;
    z-index: 12;
    white-space: nowrap;
    isolation: isolate;
    opacity: 0;
    transition: opacity 0.35s ease;
    display: block;
}

.studio-fixed-number-base,
.studio-fixed-number-holo {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: inherit;
    white-space: nowrap;
}

#gallery-section.is-window-active .studio-gallery {
    opacity: 1;
    transform: translateY(0);
}

#gallery-section.is-window-active.is-content-scroll.is-studio-first-visible .studio-fixed-label,
#gallery-section.is-window-active.is-content-scroll.is-studio-first-visible .studio-fixed-number {
    opacity: 1;
}

#gallery-section.is-window-active.is-studio-focused.is-team-bubbles-hidden .studio-gallery {
    padding-left: 6vw;
    padding-right: 6vw;
}

@media (max-width: 960px) {
}

#gallery-section.is-window-active .studio-gallery {
    opacity: 1;
    transform: translateY(0);
}

.studio-item {
    width: min(1200px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 2.6vw, 42px);
    opacity: 0;
    --enter-x: -120px;
    transform: translateX(var(--enter-x));
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1), opacity 1s ease;
}

.studio-item.side-left {
    --enter-x: -120px;
}

.studio-item.side-right {
    --enter-x: 120px;
}

.studio-item.side-right .studio-photo {
    order: 2;
}

.studio-item.side-right .studio-copy {
    order: 1;
    text-align: center;
}

.studio-item.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.studio-photo {
    position: relative;
    width: min(515px, 52vw);
    aspect-ratio: 3/4;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
    background: rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.studio-copy {
    width: min(560px, 40vw);
    font-size: clamp(15px, 1.35vw, 24px);
    line-height: 1.28;
    margin: 0;
    text-align: center;
    text-transform: uppercase;

    /* Tipografía solicitada (bianzhidai-Base + Rosa) sin efecto cristal */
    color: #ff00de;
    font-family: 'bianzhidai-Base', sans-serif;
    font-style: italic;
    text-shadow: 0 0 10px rgba(255, 0, 222, 0.5);
}

.studio-copy:empty {
    display: none;
}

.studio-line {
    display: block;
    overflow: hidden;
    line-height: inherit;
}

.studio-line-inner {
    display: block;
    transform: translateY(calc((1 - var(--line-progress, 0)) * 112%));
    opacity: 1;
    filter: blur(calc((1 - var(--line-progress, 0)) * 0.9px));
    transition: transform 0.56s linear, filter 0.56s linear;
    will-change: transform, filter;
}

.studio-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.03) contrast(1.02);
}

@media (max-width: 960px) {
    .studio-gallery {
        top: 170vh;
    }

    .studio-item {
        width: min(760px, 100%);
        flex-direction: column;
        align-items: center;
        --enter-x: 0px;
    }

    .studio-item.side-right .studio-photo,
    .studio-item.side-right .studio-copy {
        order: initial;
        text-align: center;
    }

    .studio-photo {
        width: min(468px, calc(100vw - 12vw));
        aspect-ratio: 3 / 4;
    }

    .studio-copy {
        width: 100%;
        font-size: clamp(14px, 3.5vw, 20px);
        line-height: 1.3;
    }

    .contact-grid {
        flex-wrap: wrap;
    }

    .contact-box {
        flex: 1 1 140px;
        min-width: 140px;
    }
}

.team-bubble {
    --size: clamp(108px, 12.8vw, 232px);
    position: absolute;
    top: 0;
    left: 0;
    width: var(--size);
    height: var(--size);
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.46);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.34), inset 0 1px 8px rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px) saturate(120%);
    will-change: transform;
    perspective: 900px;
    pointer-events: auto;
    cursor: pointer;
    z-index: 2;
}

.team-bubble-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    transform-style: preserve-3d;
    transition: transform 0.85s cubic-bezier(0.25, 0.9, 0.3, 1);
}

.team-bubble:hover .team-bubble-inner {
    transform: rotateY(180deg);
}

.team-bubble-face {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
}

.team-bubble-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: contrast(1.03) saturate(1.03);
}

.team-bubble-back {
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.86);
    
    /* Updated typography to match site style */
    color: #ff00de;
    font-family: 'bianzhidai-Base', sans-serif;
    font-style: italic;
    font-size: clamp(0.9rem, 1.2vw, 1.3rem); /* Slightly larger for this font */
    font-weight: normal;
    text-shadow: none; /* No shadow on white background for clarity */

    text-transform: uppercase;
    padding: 10px;
    box-sizing: border-box;
}

.team-bubble:nth-child(3n) { --size: clamp(96px, 11.6vw, 208px); }
.team-bubble:nth-child(4n) { --size: clamp(116px, 13.8vw, 248px); }
.team-bubble:nth-child(1) { animation-delay: -0.1s; }
.team-bubble:nth-child(2) { animation-delay: -0.7s; }
.team-bubble:nth-child(3) { animation-delay: -1.2s; }
.team-bubble:nth-child(4) { animation-delay: -1.8s; }
.team-bubble:nth-child(5) { animation-delay: -2.1s; }
.team-bubble:nth-child(6) { animation-delay: -2.7s; }
.team-bubble:nth-child(7) { animation-delay: -3.1s; }
.team-bubble:nth-child(8) { animation-delay: -3.6s; }
.team-bubble:nth-child(9) { animation-delay: -4.1s; }
.team-bubble:nth-child(10) { animation-delay: -4.6s; }
.team-bubble:nth-child(11) { animation-delay: -5.0s; }
.team-bubble:nth-child(12) { animation-delay: -5.4s; }

/* STUDIO MAP ITEM overrides */
/* ============================================
   STUDIO SUBTITLES (¿DONDE ESTAMOS?, REPORTAJE, CONTACTO)
   ============================================ */
.studio-gallery .studio-subtitle {
    width: min(1200px, 100%);
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.studio-gallery .studio-subtitle.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   PRESS ARTICLES SECTION
   ============================================ */
.studio-gallery .studio-subtitle.studio-press-item {
    width: min(1200px, 100%);
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.press-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.press-label {
    width: 100%;
    text-align: center;
    margin: 0 0 14px 0;
    font-size: clamp(24px, 2.4vw, 36px);
    line-height: 1.15;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ff00de;
    font-family: 'bianzhidai-Base', sans-serif;
    font-style: italic;
    text-shadow: 0 0 10px rgba(255, 0, 222, 0.45);
}

.press-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 22px 28px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(5px);
    text-decoration: none;
    flex: 1 1 260px;
    max-width: 420px;
    transition: transform 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
}

.press-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.press-source {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: normal;
    color: #ff00de;
    font-family: 'bianzhidai-Base', sans-serif;
    font-style: italic;
    font-weight: normal;
    line-height: 1.3;
    text-shadow: 0 0 10px rgba(255, 0, 222, 0.5);
}

.press-title {
    font-size: clamp(14px, 1.3vw, 20px);
    text-transform: uppercase;
    color: #000000;
    font-family: 'Space Mono', monospace;
    font-style: normal;
    font-weight: 300;
    text-align: center;
    text-shadow: 0 0 3px rgba(255, 0, 222, 0.2);
    line-height: 1.2;
}

.press-arrow {
    font-size: 18px;
    color: rgba(255, 0, 222, 0.5);
    font-family: 'Space Mono', monospace;
    transition: transform 0.2s ease;
}

.press-card:hover .press-arrow {
    transform: translateX(4px);
}

.press-source,
.press-title,
.press-arrow {
    position: relative;
    z-index: 2; /* Por encima de la cometa holográfica (z-index: 0) */
}

/* Using high specificity to ensure we break out of default studio-item constraints */
.studio-gallery .studio-item.studio-map-item {
    width: min(1200px, 100%);
    max-width: 100%;
    margin: 40px auto 0; /* Center it */
    opacity: 1;
    transform: none;
    transition: none;
    display: flex;
    flex-direction: column;
    align-items: stretch; /* Stretch children to full width */
    padding: 0; /* Remove potential padding interference */
    position: relative; /* For absolute positioning of children */
}

/* Position the address text over the map */
.studio-gallery .studio-item.studio-map-item .studio-copy {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 90%;
    z-index: 20;
    text-align: center;
    
    /* Updated to match site style: White text for map legibility */
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;

    pointer-events: none; /* Let clicks pass through to map */
    margin: 0;
    padding: 0;
    font-family: 'bianzhidai-Base', sans-serif;
    font-style: italic;
    font-size: clamp(14px, 1.2vw, 20px);
    font-weight: normal;
}

/* Using high specificity to ensure we override .studio-photo width constraints */
.studio-gallery .studio-item .studio-map-container.studio-photo {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16/9; /* Panoramic */
    flex: none; /* Don't let flexbox squash it */
    
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
    position: relative;
    background: #111;
    min-height: 400px;
}

/* Ensure map canvas fills container */
.studio-map-container .mapboxgl-map,
.studio-map-container .maplibregl-map {
    width: 100%;
    height: 100%;
}

.studio-map-container .studio-map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.studio-map-directions-btn {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 100; /* Above map canvas */
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.studio-map-directions-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
    background: #fff;
}

/* Hide Google Maps controls/copyright as requested */
.studio-map-container .gmnoprint,
.studio-map-container .gm-style-cc,
.studio-map-container a[href^="https://maps.google.com/maps"] {
    display: none !important;
}

/* CONTACT SECTION */
.studio-gallery .studio-contact-section {
    width: 100%;
    margin: 0 auto 40px;
    opacity: 1;
    transform: none;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 20; /* Ensure z-index */
}

.contact-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.contact-box {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    padding: 20px 10px;
    text-align: center;
    border-radius: 14px;
    
    /* Glass Effect (matching studio-photo) */
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(5px);
    
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    
    transition: transform 0.3s ease, background 0.3s ease;
}

.contact-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.contact-box h3 {
    margin: 0 0 8px 0;
    font-size: 18px; /* Slightly larger for the new font */
    text-transform: uppercase;
    font-weight: normal; /* Font handles weight */
    line-height: 1.3;

    /* Updated typography */
    color: #ff00de;
    font-family: 'bianzhidai-Base', sans-serif;
    font-style: italic;
    text-shadow: 0 0 10px rgba(255, 0, 222, 0.5);
}

.contact-box h3,
.contact-box a {
    position: relative;
    z-index: 2; /* Ensure text is above holograms */
}

/* Holo comet effect over the whole card */
.contact-box-holo {
    position: relative;
    overflow: hidden;
}

.contact-box-holo::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0; /* Changed from 10 to 0 so text sits on top */
    background: linear-gradient(
        135deg,
        #ff0000 0%,
        #ff9a00 10%,
        #d0de21 20%,
        #4fd1c5 30%,
        #2979ff 40%,
        #6b42c1 50%,
        #f43f5e 60%,
        #ff00c8 70%,
        #ff00aa 80%,
        #ff5252 90%,
        #ff0000 100%
    );
    background-size: 200% 200%;
    opacity: 0.55;
    -webkit-mask-image:
        radial-gradient(circle var(--hs0) at var(--hx0) var(--hy0), black 0%, transparent 80%),
        radial-gradient(circle var(--hs1) at var(--hx1) var(--hy1), black 0%, transparent 80%),
        radial-gradient(circle var(--hs2) at var(--hx2) var(--hy2), black 0%, transparent 80%),
        radial-gradient(circle var(--hs3) at var(--hx3) var(--hy3), black 0%, transparent 80%),
        radial-gradient(circle var(--hs4) at var(--hx4) var(--hy4), black 0%, transparent 80%),
        radial-gradient(circle var(--hs5) at var(--hx5) var(--hy5), black 0%, transparent 80%),
        radial-gradient(circle var(--hs6) at var(--hx6) var(--hy6), black 0%, transparent 80%),
        radial-gradient(circle var(--hs7) at var(--hx7) var(--hy7), black 0%, transparent 80%),
        radial-gradient(circle var(--hs8) at var(--hx8) var(--hy8), black 0%, transparent 80%),
        radial-gradient(circle var(--hs9) at var(--hx9) var(--hy9), black 0%, transparent 80%),
        radial-gradient(circle var(--hs10) at var(--hx10) var(--hy10), black 0%, transparent 80%),
        radial-gradient(circle var(--hs11) at var(--hx11) var(--hy11), black 0%, transparent 80%),
        radial-gradient(circle var(--hs12) at var(--hx12) var(--hy12), black 0%, transparent 80%),
        radial-gradient(circle var(--hs13) at var(--hx13) var(--hy13), black 0%, transparent 80%),
        radial-gradient(circle var(--hs14) at var(--hx14) var(--hy14), black 0%, transparent 80%);
    mask-image:
        radial-gradient(circle var(--hs0) at var(--hx0) var(--hy0), black 0%, transparent 80%),
        radial-gradient(circle var(--hs1) at var(--hx1) var(--hy1), black 0%, transparent 80%),
        radial-gradient(circle var(--hs2) at var(--hx2) var(--hy2), black 0%, transparent 80%),
        radial-gradient(circle var(--hs3) at var(--hx3) var(--hy3), black 0%, transparent 80%),
        radial-gradient(circle var(--hs4) at var(--hx4) var(--hy4), black 0%, transparent 80%),
        radial-gradient(circle var(--hs5) at var(--hx5) var(--hy5), black 0%, transparent 80%),
        radial-gradient(circle var(--hs6) at var(--hx6) var(--hy6), black 0%, transparent 80%),
        radial-gradient(circle var(--hs7) at var(--hx7) var(--hy7), black 0%, transparent 80%),
        radial-gradient(circle var(--hs8) at var(--hx8) var(--hy8), black 0%, transparent 80%),
        radial-gradient(circle var(--hs9) at var(--hx9) var(--hy9), black 0%, transparent 80%),
        radial-gradient(circle var(--hs10) at var(--hx10) var(--hy10), black 0%, transparent 80%),
        radial-gradient(circle var(--hs11) at var(--hx11) var(--hy11), black 0%, transparent 80%),
        radial-gradient(circle var(--hs12) at var(--hx12) var(--hy12), black 0%, transparent 80%),
        radial-gradient(circle var(--hs13) at var(--hx13) var(--hy13), black 0%, transparent 80%),
        radial-gradient(circle var(--hs14) at var(--hx14) var(--hy14), black 0%, transparent 80%);
    will-change: mask-image, -webkit-mask-image;
}

.contact-box h3 span {
    display: block;
    margin-top: 4px;
    font-weight: 400;
    font-size: 0.9em;
}

.contact-box h3 span.subtitle {
    font-size: 0.85em;
    color: rgba(0, 0, 0, 0.6);
    text-transform: none;
}

.contact-link {
    display: inline-block;
    color: rgba(0, 0, 0, 0.75);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
    word-break: break-all; /* Prevent overflow for long emails */
}

.contact-link:hover {
    color: #4fd1c5; /* Highlight color - adjust to brand */
    text-decoration: underline;
}

.contact-link.highlight {
    font-weight: 700;
    color: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid currentColor;
}

.contact-link.highlight:hover {
    color: #ff00c8;
}


