/* /features/360-shaders — only what utilities cannot express.
   Design: plans/www/360-SHADER-PAGE/shader-outline-v4.html (meta repo). */

/* Empty video slot inside the feature video player frame: equirectangular 30° graticule
   behind the slot's product copy. Frame size, border and radius come from feature-video-hero.css. */
.shader-film__empty {
    display: grid;
    place-items: center;
    background-image:
        radial-gradient(ellipse at center, transparent 35%, #09090b 92%),
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 100% 100%, 100% calc(100% / 6), calc(100% / 12) 100%;
    background-position: center, 0 -1px, -1px 0;
}

/* Caption tracks the player frame's width (same expression as .feature-video-hero__frame). */
.shader-film__caption {
    max-width: min(80rem, max(20rem, calc((100svh - 22rem) * 16 / 9)));
    margin-inline: auto;
}

/* Illustrative parameter slider: brand fill, white thumb (same as the video seek bar). */
.shader-track {
    position: relative;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, #e13e13 var(--fill, 65%), rgba(255, 255, 255, 0.2) var(--fill, 65%));
}
.shader-track::after {
    content: '';
    position: absolute;
    top: -4px;
    left: var(--fill, 65%);
    width: 12px;
    height: 12px;
    margin-left: -6px;
    border-radius: 50%;
    background: #fff;
}

/* The shared accordion section is an on-page jump target here: clear the fixed header + sibling nav. */
#shader-workshop { scroll-margin-top: 8rem; }

/* Coming-soon teaser: a Workshop still, darkened on the left where the badge and title sit; the timeline stays bright. */
.shader-teaser img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}
.shader-teaser__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(9, 9, 11, 0.94) 0%, rgba(9, 9, 11, 0.82) 30%, rgba(9, 9, 11, 0.25) 58%, rgba(9, 9, 11, 0) 80%);
}
.shader-teaser__copy {
    position: absolute;
    inset: 0;
    max-width: 42%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: clamp(1rem, 4vw, 2.5rem);
}
.shader-teaser__badge {
    display: inline-flex;
    padding: 0.3rem 0.8rem;
    border: 1px solid rgba(225, 62, 19, 0.6);
    border-radius: 999px;
    background: rgba(225, 62, 19, 0.14);
    color: #fff;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.shader-teaser__title {
    margin: 0;
    color: #fff;
    font-size: clamp(1.25rem, 3.6vw, 2.5rem);
    font-weight: 700;
    line-height: 1.05;
    text-wrap: balance;
}
