/* Collabs hub — index lists people; each person has their own page */

/* Fixed .floating-bubbles (z-index 0) paint above in-flow main by default; lift chrome above them. */
body.hub-collabs > .site-header,
body.hub-collabs > header.site-header,
body.hub-collabs > main {
    position: relative;
    z-index: 1;
}

.collab-nav-list {
    margin-bottom: 2.5rem;
}

.collab-project-list,
.collab-section-links {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.collab-person-page {
    max-width: 1000px;
    margin: 0 auto;
}

.collab-block {
    margin: 0;
}

.collab-person-title {
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    font-weight: 900;
    color: var(--primary-color);
    text-align: center;
    margin: 0 0 0.5rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.12);
}

.collab-person-title a {
    color: inherit;
    text-decoration: none;
}

.collab-person-title a:hover {
    color: var(--secondary-color);
}

.collab-block__role {
    color: rgba(0, 0, 0, 0.62);
    font-size: 0.95rem;
    margin: 0 auto 0.85rem;
    text-align: center;
    max-width: 720px;
}

.collab-subsection {
    margin: 0 0 2.5rem;
    padding: 0;
    border: 0;
}

.collab-subsection__title {
    color: rgba(0, 0, 0, 0.72);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 0.75rem;
}

/* Artwork thumbnails — same 3-column tile grid as hub link-list */
.link-list.collab-art-list {
    margin-top: 1.25rem;
}

.collab-art-tile {
    cursor: zoom-in;
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 3px solid #ffffff;
    border-radius: 20px;
    background: var(--nav-tile-bg);
    overflow: hidden;
    cursor: zoom-in;
    aspect-ratio: 1;
    box-shadow:
        0 0 8px rgba(var(--primary-color-rgb, 91, 79, 207), 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.collab-art-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.collab-art-tile:hover,
.collab-art-tile:focus-visible {
    transform: translateY(-4px);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.35),
        0 0 12px rgba(var(--primary-color-rgb, 91, 79, 207), 0.45);
}

.collab-art-tile:hover img,
.collab-art-tile:focus-visible img {
    transform: scale(1.04);
    filter: brightness(1.05);
}

.collab-art-tile:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

.collab-videos {
    display: grid;
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto 1.5rem;
}

.collab-video {
    margin: 0;
}

.collab-video figcaption {
    color: rgba(0, 0, 0, 0.78);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.collab-video video {
    width: 100%;
    max-height: 70vh;
    border-radius: 8px;
    background: #000;
    display: block;
}
