.team-bubbles {
    position: absolute;
    left: 0;
    top: 98vh;
    width: 100%;
    height: 66vh;
    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;
}

.studio-weave-layer {
    position: absolute;
    left: 0;
    top: 98vh;
    width: 100%;
    height: 66vh;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 19;
    opacity: 0;
    transform: translateY(18px) scale(0.995);
    transition: opacity 0.35s ease, transform 0.35s ease;
    overflow: hidden;
    contain: paint;
    isolation: isolate;
}

.studio-weave-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    background: transparent;
    pointer-events: none;
}

.team-bubbles-label {
    position: absolute;
    inset: 0 clamp(18px, 4.6vw, 72px);
    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;
}

.team-bubbles-label-vector {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
    z-index: 3;
}

.team-bubbles-label.is-vector-ready > .team-bubbles-label-base,
.team-bubbles-label.is-vector-ready > .team-bubbles-label-holo {
    opacity: 0;
}

.team-bubbles-label-vector-path {
    shape-rendering: geometricPrecision;
    transform-box: fill-box;
    transform-origin: center;
    will-change: d;
}

.team-bubbles-label-vector-base {
    fill: rgba(0, 0, 0, 0.22);
}

.team-bubbles-label-vector-holo {
    mix-blend-mode: normal;
}

.studio-warp-vector {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
    z-index: 3;
}

.studio-warp-vector-path {
    shape-rendering: geometricPrecision;
    transform-box: fill-box;
    transform-origin: center;
    will-change: d;
}

.studio-warp-vector-base {
    fill: rgba(0, 0, 0, 0.22);
}

.studio-warp-vector-holo {
    mix-blend-mode: normal;
}

.studio-fixed-label-holo,
.studio-fixed-number-holo,
.studio-gallery .studio-map-item .studio-warp-vector-holo {
    display: none !important;
}

.studio-fixed-label.is-vector-ready > .studio-fixed-label-base,
.studio-fixed-label.is-vector-ready > .studio-fixed-label-holo {
    opacity: 0;
}

.studio-shatter-layer {
    opacity: 0;
    pointer-events: none;
    will-change: opacity;
}

.studio-shatter-intact-layer {
    opacity: 0;
    pointer-events: none;
}

.studio-shatter-fragment {
    will-change: transform, opacity;
}

.studio-shatter-fragment-path {
    shape-rendering: geometricPrecision;
}

.studio-sand-layer {
    opacity: 1;
    pointer-events: none;
}

.studio-sand-grain {
    fill: rgba(0, 0, 0, 0.22);
    shape-rendering: crispEdges;
    will-change: transform, opacity;
}

.studio-fixed-number.is-vector-ready {
    color: transparent;
}

.studio-gallery .studio-map-item .studio-fixed-number.is-vector-ready::after {
    opacity: 0;
}

.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.is-window-active.is-studio-section .team-bubbles {
    contain: layout paint style;
    isolation: isolate;
}

#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;
}

.studio-gallery .studio-map-item .studio-fixed-label {
    position: absolute;
    top: calc(50% - 45vh);
    left: calc(((100vw - 100%) / -2) + clamp(10px, 1.6vw, 28px));
    transform: none;
    z-index: 40;
}

.studio-gallery .studio-map-item .studio-fixed-number {
    position: absolute;
    top: 50%;
    right: calc(((100vw - 100%) / -2) + clamp(10px, 1.6vw, 28px));
    transform: translateY(-50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    width: clamp(288px, 36vw, 630px);
    height: auto;
    max-height: none;
    box-sizing: border-box;
    padding-right: clamp(10px, 1.6vw, 28px);
    letter-spacing: 0;
    pointer-events: auto;
    text-align: right;
    color: rgba(0, 0, 0, 0.22);
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-mask-image: none;
    mask-image: none;
    mix-blend-mode: normal;
    transition: opacity 0.35s ease, color 0.16s ease;
    will-change: color, background-position;
    --hx0: 0px;
    --hy0: 0px;
    --hs0: 0px;
    --hx1: 0px;
    --hy1: 0px;
    --hs1: 0px;
    --hx2: 0px;
    --hy2: 0px;
    --hs2: 0px;
    --hx3: 0px;
    --hy3: 0px;
    --hs3: 0px;
    --hx4: 0px;
    --hy4: 0px;
    --hs4: 0px;
    --hx5: 0px;
    --hy5: 0px;
    --hs5: 0px;
    --hx6: 0px;
    --hy6: 0px;
    --hs6: 0px;
    --hx7: 0px;
    --hy7: 0px;
    --hs7: 0px;
    --hx8: 0px;
    --hy8: 0px;
    --hs8: 0px;
    --hx9: 0px;
    --hy9: 0px;
    --hs9: 0px;
    --hx10: 0px;
    --hy10: 0px;
    --hs10: 0px;
    --hx11: 0px;
    --hy11: 0px;
    --hs11: 0px;
    --hx12: 0px;
    --hy12: 0px;
    --hs12: 0px;
    --hx13: 0px;
    --hy13: 0px;
    --hs13: 0px;
    --hx14: 0px;
    --hy14: 0px;
    --hs14: 0px;
    z-index: 30;
}

.studio-gallery .studio-map-item .studio-fixed-number.is-vector-ready {
    color: transparent;
}

.studio-gallery .studio-map-item .studio-fixed-number::after {
    content: "9";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    box-sizing: border-box;
    padding-right: inherit;
    font: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-align: inherit;
    pointer-events: none;
    color: transparent;
    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, background-position;
    mix-blend-mode: normal;
}

#gallery-section.is-window-active .studio-gallery {
    opacity: 1;
    transform: translateY(0);
}

#gallery-section.is-window-active.is-studio-section .studio-weave-layer {
    opacity: 1;
    transform: translateY(0) scale(1);
}

#gallery-section.is-window-active.is-studio-section:not(.is-team-bubbles-hidden) .team-bubbles-label-holo,
#gallery-section.is-window-active.is-studio-section:not(.is-team-bubbles-hidden) .team-bubbles-label-vector-holo,
#gallery-section.is-window-active.is-studio-section:not(.is-team-bubbles-hidden) .studio-fixed-label-holo,
#gallery-section.is-window-active.is-studio-section:not(.is-team-bubbles-hidden) .studio-fixed-number-holo,
#gallery-section.is-window-active.is-studio-section:not(.is-team-bubbles-hidden) .studio-warp-vector-holo {
    display: none !important;
}

#gallery-section.is-team-bubbles-hidden .studio-weave-layer,
#gallery-section.is-shop-open .studio-weave-layer {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-12px) scale(0.995);
}

#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-scroll-gallery {
    position: relative;
    width: 100%;
    height: var(--studio-scroll-height, 600vh);
    min-height: 360vh;
    margin: 0 auto;
    z-index: 19;
}

.studio-scroll-gallery-stage {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: visible;
}

.studio-scroll-gallery .studio-scroll-step {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(1200px, 100%);
    margin: 0;
    opacity: 0;
    pointer-events: none;
    filter: blur(1px);
    transform: translate(-50%, calc(-50% + 22px)) scale(0.985);
    transition:
        opacity 0.42s ease,
        filter 0.42s ease,
        transform 0.64s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, filter, transform;
}

.studio-scroll-gallery .studio-scroll-step.is-active {
    opacity: 1;
    pointer-events: auto;
    filter: blur(0);
    transform: translate(-50%, -50%) scale(1);
}

.studio-scroll-gallery .studio-scroll-step.is-before {
    transform: translate(-50%, calc(-50% - 22px)) scale(0.985);
}

.studio-scroll-gallery .studio-scroll-step.is-after {
    transform: translate(-50%, calc(-50% + 22px)) scale(0.985);
}

.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);
    --studio-copy-font-size: clamp(15px, 1.35vw, 24px);
    font-size: var(--studio-copy-font-size);
    line-height: 1;
    letter-spacing: normal;
    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%;
        --studio-copy-font-size: clamp(14px, 3.5vw, 20px);
        font-size: var(--studio-copy-font-size);
        line-height: 1;
    }

    .contact-grid {
        flex-wrap: wrap;
    }

    .contact-box {
        flex: 1 1 140px;
        min-width: 140px;
    }
}

.team-bubble {
    --size: clamp(91px, 11.02vw, 198px);
    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: 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;
}

#gallery-section.is-window-active.is-studio-section .team-bubble {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(255, 255, 255, 0.18);
    box-shadow:
        inset 0 1px 8px rgba(255, 255, 255, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.18);
    contain: layout paint style;
}

#gallery-section.is-window-active.is-studio-section .team-bubble-front img {
    filter: none;
}

.team-bubble-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    transform-style: preserve-3d;
    transition: transform 1.05s cubic-bezier(0.18, 0.86, 0.22, 1);
}

.team-bubble:hover {
    z-index: 100 !important;
}

.team-bubble:hover .team-bubble-inner {
    transform: rotateY(180deg) scale(1.025);
}

.team-bubble-wrap-clone {
    pointer-events: none;
}

.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);
}

.studio-gallery,
.studio-gallery * {
    text-transform: lowercase !important;
}

.team-bubbles-label,
.team-bubbles-label *,
.studio-fixed-label,
.studio-fixed-label *,
.studio-fixed-number,
.studio-fixed-number * {
    text-transform: uppercase !important;
}

.team-bubble-avatar {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    border-radius: inherit;
    background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.92), rgba(255, 0, 222, 0.64) 42%, rgba(0, 0, 0, 0.88) 100%);
    color: #ffffff;
    font-family: 'bianzhidai-Base', sans-serif;
    font-size: clamp(2rem, 4vw, 4.2rem);
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.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(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;
    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);
}

.studio-gallery .studio-subtitle.studio-map-subtitle {
    margin-bottom: calc(30px - clamp(18px, 2.2vw, 34px));
}

.studio-gallery .studio-subtitle.studio-typewriter-block {
    align-items: flex-start;
    gap: clamp(3px, 0.7vw, 8px);
    width: min(1200px, calc(100% - 10vw));
    margin: 0 auto clamp(14px, 2vw, 28px);
}

.studio-typewriter-copy {
    position: relative;
    margin: 0;
    color: #ff00de;
    font-family: 'bianzhidai-Base', sans-serif;
    font-style: italic;
    font-size: clamp(12px, 1vw, 16px);
    line-height: 1.1;
    letter-spacing: 0;
    text-align: left;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 0, 222, 0.42);
    white-space: normal;
}

.studio-secret-caption {
    position: relative;
    left: calc(50% - 50vw + 2vw);
    width: calc(100vw - 4vw);
    max-width: calc(100vw - 4vw);
    margin: 0 0 clamp(10px, 1.5vw, 22px);
    color: #ff00de;
    font-family: 'bianzhidai-Base', sans-serif;
    font-style: italic;
    font-size: clamp(1.2rem, 5vw, 5rem);
    line-height: 1;
    letter-spacing: 0.15px;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 0, 222, 0.5);
    opacity: 1;
    pointer-events: auto;
    overflow: hidden;
    --reveal-x: 50%;
    --reveal-y: 50%;
    --reveal-size: 0px;
    -webkit-mask-image: radial-gradient(
        circle var(--reveal-size) at var(--reveal-x) var(--reveal-y),
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.94) 62%,
        rgba(0, 0, 0, 0) 100%
    );
    mask-image: radial-gradient(
        circle var(--reveal-size) at var(--reveal-x) var(--reveal-y),
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.94) 62%,
        rgba(0, 0, 0, 0) 100%
    );
    transition: filter 0.2s ease;
}

.studio-secret-caption--press {
    margin-top: clamp(16px, 1.6vw, 22px);
}

.studio-secret-caption--visible {
    -webkit-mask-image: none;
    mask-image: none;
}

.studio-secret-caption.is-reveal,
.studio-secret-caption:hover,
.studio-secret-caption:focus-visible {
    --reveal-size: 184px;
    filter: saturate(1.1);
}

.studio-secret-caption:focus-visible {
    outline: none;
}

/* ============================================
   PRESS ARTICLES SECTION
   ============================================ */
.studio-gallery .studio-subtitle.studio-press-item {
    width: min(1200px, 100%);
    margin: clamp(16px, 1.6vw, 22px) auto 0;
    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;
    letter-spacing: 0;
    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;
    text-shadow: 0 0 10px rgba(255, 0, 222, 0.5);
}

.studio-copy-press-source {
    font-size: var(--studio-copy-font-size);
    text-transform: uppercase;
    letter-spacing: normal;
    color: #ff00de;
    font-family: 'bianzhidai-Base', sans-serif;
    font-style: italic;
    font-weight: normal;
    line-height: 1;
    text-shadow: 0 0 10px rgba(255, 0, 222, 0.5);
}

.studio-copy-press-source-text {
    background:
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.12) 0,
            rgba(255, 255, 255, 0.12) 1px,
            rgba(255, 0, 222, 0.08) 1px,
            rgba(255, 0, 222, 0.08) 2px
        ),
        rgba(255, 0, 222, 0.16);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding: 0 0.08em;
}

.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;
}

.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: 0 auto;
    opacity: 1;
    transform: none;
    transition: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0; /* Remove potential padding interference */
    position: relative; /* For absolute positioning of children */
}

.studio-map-layout {
    position: relative;
    z-index: 40;
    display: grid;
    grid-template-columns: minmax(0, min(515px, 42vw)) minmax(0, min(515px, 42vw));
    gap: clamp(18px, 3vw, 38px);
    justify-content: center;
    align-items: stretch;
    width: 100%;
}

.studio-map-panel {
    position: relative;
    width: 100%;
}

/* Position the map action 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;
}

.studio-gallery .studio-item.studio-map-item .studio-map-directions-copy {
    pointer-events: auto;
    padding: 12px 24px;
    color: #000000;
    text-shadow: none;
    text-decoration: none;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.16);
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    line-height: 1;
    white-space: nowrap;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.studio-gallery .studio-item.studio-map-item .studio-map-directions-copy:hover {
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* 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: 3 / 4;
    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: 0;
}

.studio-map-carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 3 / 4;
    flex: none;
    padding: 0;
    overflow: hidden;
    background: #111111;
}

.studio-map-carousel-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transform: scale(1.015);
    transition: opacity 0.7s ease, transform 1.2s ease;
}

.studio-map-carousel-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.studio-map-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.studio-map-text-slide {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(18px, 2.4vw, 30px);
    color: rgba(255, 0, 222, 0.96);
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.68) 0%,
            rgba(255, 255, 255, 0.48) 50%,
            rgba(255, 255, 255, 0.62) 100%
        ),
        linear-gradient(155deg, rgba(255, 0, 222, 0.12), rgba(79, 209, 197, 0.08));
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.48);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.studio-map-text-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.studio-map-text-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0) 34%),
        radial-gradient(circle at 80% 84%, rgba(255, 0, 222, 0.16), rgba(255, 255, 255, 0) 42%);
}

.studio-map-text-slide p {
    position: relative;
    z-index: 1;
    max-width: 92%;
    margin: 0;
    color: rgba(255, 0, 222, 0.96);
    font-family: 'bianzhidai-Base', sans-serif;
    font-style: italic;
    font-size: clamp(12px, 0.9vw, 15px);
    line-height: 1.12;
    letter-spacing: 0;
    text-align: left;
    text-transform: lowercase;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.55),
        0 0 6px rgba(255, 0, 222, 0.35);
}

@media (max-width: 760px) {
    .studio-map-layout {
        grid-template-columns: minmax(0, min(468px, calc(100vw - 12vw)));
    }

    .studio-gallery .studio-item .studio-map-container.studio-photo {
        width: 100%;
        aspect-ratio: 3 / 4;
    }

    .studio-map-text-slide {
        padding: clamp(16px, 5vw, 26px);
    }

    .studio-map-text-slide p {
        max-width: 100%;
        font-size: clamp(11px, 2.7vw, 13px);
    }
}

/* 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-loading-overlay {
    position: absolute;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(180deg, rgba(18, 18, 22, 0.96) 0%, rgba(24, 24, 30, 0.94) 100%),
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.04) 0 1px,
            transparent 1px 22px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.03) 0 1px,
            transparent 1px 22px
        );
    overflow: hidden;
    opacity: 1;
    transform: translateY(105%);
    pointer-events: none;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.studio-map-container.is-map-loading .studio-map-loading-overlay {
    transform: translateY(0);
}

.studio-map-container:not(.is-map-loading) .studio-map-loading-overlay {
    transform: translateY(-105%);
}

.studio-map-loading-overlay::before {
    content: '';
    position: absolute;
    inset: -30% 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 0, 222, 0.2) 45%, transparent 100%);
    animation: studio-map-scan-up 1.45s linear infinite;
}

.studio-map-loading-label {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-family: 'Space Mono', monospace;
    font-size: clamp(12px, 1.2vw, 18px);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-shadow: 0 0 14px rgba(255, 0, 222, 0.5);
    animation: studio-map-label-pulse 1.1s ease-in-out infinite;
}

@keyframes studio-map-scan-up {
    from {
        transform: translateY(65%);
    }
    to {
        transform: translateY(-65%);
    }
}

@keyframes studio-map-label-pulse {
    0%,
    100% {
        opacity: 0.55;
    }
    50% {
        opacity: 1;
    }
}

.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 clamp(16px, 1.6vw, 22px);
    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;

    /* 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: '';
    display: none !important;
    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;
    line-height: 1;
    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;
}


