/* Variation switcher + neutralise the Strata stage sizing when a projects
   variant owns #work. Variant styles live in their own files. */
.jjvar-switch {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 2147483000;
    display: flex;
    gap: 14px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(15, 15, 14, 0.86);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(250, 249, 240, 0.14);
    font: 500 11px/1 'JetBrains Mono', ui-monospace, monospace;
    letter-spacing: 0.04em;
    color: rgba(250, 249, 240, 0.6);
}
.jjvar-switch__group { display: flex; align-items: center; gap: 4px; }
.jjvar-switch__group span { margin-right: 4px; text-transform: uppercase; }
.jjvar-switch a {
    display: inline-grid;
    place-items: center;
    min-width: 26px;
    height: 24px;
    padding: 0 6px;
    border-radius: 999px;
    color: #faf9f0;
    text-decoration: none;
}
.jjvar-switch a:hover { background: rgba(250, 249, 240, 0.1); }
.jjvar-switch a[aria-current] { background: #faf9f0; color: #0f0f0e; }

.section-work-showcase.has-projects-var {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}
.section-work-showcase.has-projects-var::after { display: none !important; }
.section-work-showcase.has-projects-var .work-showcase-viewport {
    position: relative !important;
    height: auto !important;
    overflow: visible !important;
    clip-path: none !important;
    will-change: auto !important;
}

/* #exp-bgfill is a fixed, z-index:0 paper layer inside #experience; static
   content paints underneath it, so the skills root must be positioned. */
#skills-var {
    position: relative;
    z-index: 2;
}

@media (max-width: 480px) {
    .jjvar-switch { gap: 8px; padding: 5px 7px; bottom: 12px; font-size: 10px; }
    .jjvar-switch__group { gap: 1px; }
    .jjvar-switch__group span { margin-right: 2px; }
    .jjvar-switch a { min-width: 22px; height: 22px; padding: 0 4px; }
}
