/*
 * Music Man "Inspired By" (/inspiredby, /inspiredby/{slug}), legacy
 * inspired_by.content. A full-bleed hero (poster behind a decorative loop),
 * the film, a two-column bio, the custom instrument and the rest of the
 * series as poster bands.
 */

.mm-inspired-hero,
.mm-inspired-series__item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: min(78svh, 46vw);
    overflow: hidden;
    color: #fff;
    text-align: center;
    background: #111 var(--mm-inspired-poster, none) center / cover no-repeat;
}

@media (max-width: 767.98px) {
    .mm-inspired-hero,
    .mm-inspired-series__item {
        min-height: 100vw;
        background-image: var(--mm-inspired-poster-mobile, var(--mm-inspired-poster, none));
    }
}

/* A scrim so the logo and buttons hold contrast over any frame. */
.mm-inspired-hero::after,
.mm-inspired-series__item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.mm-inspired-hero__video {
    position: absolute;
    inset: 0;
}

.mm-inspired-hero__loop {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mm-inspired-hero__loop--mobile {
    display: none;
}

@media (max-width: 767.98px) {
    .mm-inspired-hero__loop--desktop {
        display: none;
    }

    .mm-inspired-hero__loop--mobile {
        display: block;
    }
}

/* No motion when the visitor asks for none: the poster behind takes over. */
@media (prefers-reduced-motion: reduce) {
    .mm-inspired-hero__video {
        display: none;
    }
}

.mm-inspired-hero__inner,
.mm-inspired-series__inner {
    position: relative;
    z-index: 1;
    width: min(90%, 640px);
    padding: 3rem 0;
}

.mm-inspired-hero__title,
.mm-inspired-series__title {
    margin: 0 0 1.5rem;
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.mm-inspired-hero__logo,
.mm-inspired-series__logo {
    display: block;
    width: 100%;
    height: auto;
    max-height: 40svh;
    margin: 0 auto;
}

.mm-inspired-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin: 0;
}

.mm-inspired-hero__btn--ghost {
    color: #fff;
    border: 2px solid #fff;
    background: transparent;
}

.mm-inspired-hero__btn--ghost:hover,
.mm-inspired-hero__btn--ghost:focus-visible {
    color: #111;
    background: #fff;
}

/* White ink on the black band: the visually hidden film heading inherited the
   body's #212529, 1.3:1 here, and WAVE measures hidden text too (2026-11-09). */
.mm-inspired-film {
    padding: 3rem 0;
    background: #111;
    color: #fff;
}

.mm-inspired-film__frame {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
}

.mm-inspired-film__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.mm-inspired-bio {
    display: grid;
    grid-template-columns: 1fr;
    background: #f4f4f4;
}

@media (min-width: 768px) {
    .mm-inspired-bio {
        grid-template-columns: 1fr 1fr;
    }
}

.mm-inspired-bio__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
}

.mm-inspired-bio__name {
    margin: 0 0 0.5rem;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
}

.mm-inspired-bio__tagline {
    margin: 0 0 1.25rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-accent-text);
}

.mm-inspired-bio__description {
    max-width: 34rem;
    margin: 0 auto;
    line-height: 1.7;
    color: #333;
}

.mm-inspired-bio__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mm-inspired-custom {
    padding: 4rem 0;
    text-align: center;
}

.mm-inspired-custom__eyebrow {
    margin: 0 0 0.25rem;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-accent-text);
}

.mm-inspired-custom__name {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
}

.mm-inspired-custom__color {
    margin: 0.25rem 0 1.5rem;
    color: #555;
}

.mm-inspired-custom__photo {
    display: block;
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 0 auto 1.5rem;
}

.mm-inspired-custom__text {
    max-width: 44rem;
    margin: 0 auto 1.5rem;
    line-height: 1.7;
    color: #333;
}

.mm-inspired-series__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mm-inspired-series__item {
    min-height: min(60svh, 40vw);
}

.mm-inspired-series__upcoming {
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
