/*
 * Big Sound — dedicated performance-session series template
 * (/big-sound hub + /big-sound/{artist}). Page-namespaced BEM (.bs-*),
 * fully self-contained: it does NOT depend on the shared band-content
 * (.bandc-*) styles. Brand accent via var(--brand-*) with a pink fallback.
 * Cinematic dark theme. Mobile-first + responsive.
 */

:root {
    --bs-bg: #0d0d0f;
    --bs-panel: #141418;
    --bs-text: #f4f4f5;
    --bs-muted: #b8b8be;
    --bs-line: rgba(255, 255, 255, 0.12);
    --bs-accent: var(--brand-primary, #ff10a4);
}

/* Defensive utility (also provided globally). */
.bs-page .visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.big-sound-body {
    background-color: var(--bs-bg);
}

.bs-page {
    background-color: var(--bs-bg);
    color: var(--bs-text);
    overflow-x: hidden;
}

.bs-page a {
    color: var(--bs-accent);
}

.bs-page :focus-visible {
    outline: 3px solid var(--bs-accent);
    outline-offset: 3px;
}

/* -- Hero (shared shell for hub + artist) -------------------------------- */

.bs-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 4rem 1.25rem;
    text-align: center;
    background-color: #000;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.65)),
        var(--bs-hero-image, none);
    background-size: cover;
    background-position: center;
}

@media (max-width: 767px) {
    .bs-hero {
        background-image:
            linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.7)),
            var(--bs-hero-image-mobile, var(--bs-hero-image, none));
    }
}

.bs-hero--hub {
    min-height: 72vh;
}

.bs-hero__inner {
    max-width: 52rem;
}

.bs-hero__title {
    margin: 0;
}

.bs-hero__logo {
    max-width: min(560px, 82vw);
    height: auto;
}

/* -- Artist video hero --------------------------------------------------- */

.bs-hero--artist {
    flex-direction: column;
    gap: 1.5rem;
    min-height: 66vh;
}

.bs-hero__wordmark {
    max-width: min(340px, 60vw);
    height: auto;
}

.bs-video {
    position: relative;
    width: min(960px, 92vw);
    aspect-ratio: 16 / 9;
    background-color: #000;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}

.bs-video__facade {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    cursor: pointer;
    background-color: #111;
    background-image: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.35)), var(--bs-video-poster, none);
    background-size: cover;
    background-position: center;
}

.bs-video__play {
    display: block;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.55);
    border: 3px solid #fff;
    position: relative;
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.bs-video__play::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 16px 0 16px 26px;
    border-color: transparent transparent transparent #fff;
}

.bs-video__facade:hover .bs-video__play,
.bs-video__facade:focus-visible .bs-video__play {
    transform: scale(1.08);
    background-color: var(--bs-accent);
}

.bs-video__frame {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* -- Hub: intro + tiles -------------------------------------------------- */

.bs-intro {
    padding: 3.5rem 0 1rem;
    text-align: center;
}

.bs-intro__heading {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bs-intro__body {
    max-width: 46rem;
    margin: 0 auto;
    color: var(--bs-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.bs-sessions {
    padding: 0;
}

/* -- Hub artist stack (full-bleed cinematic band blocks) ----------------- */

/* Each artist is one full-width block showing their big landscape header image
   with the band name overlaid — stacked one on top of the next, newest first.
   No carousel. Mirrors the live header treatment (image + bottom scrim + name).*/
.bs-stack {
    list-style: none;
    margin: 0;
    /* Top/bottom breathing room so the first band clears the hero and the
       last clears the page bottom. */
    padding: 2.5rem 0;
}

.bs-stack__item {
    margin: 0 0 1.5rem;
}

.bs-stack__item:last-child {
    margin-bottom: 0;
}

.bs-band {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 7;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--bs-text);
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
}

/* Kill the global link hover/focus underline (pink) on the band blocks. */
.bs-band:hover,
.bs-band:focus,
.bs-band:focus-visible,
.bs-band:hover .bs-band__name,
.bs-band:focus .bs-band__name {
    text-decoration: none;
}

.bs-band__media {
    position: absolute;
    inset: 0;
    display: block;
    background-color: #1c1c22;
}

.bs-band__media picture {
    display: block;
    width: 100%;
    height: 100%;
}

.bs-band__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

/* Centered radial scrim — darkens behind the vertically-centered name so the
   light (#f3efa1) type keeps AA contrast over any photo. */
.bs-band__scrim {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.35) 55%,
        rgba(0, 0, 0, 0.2) 100%
    );
}

.bs-band__name {
    position: relative;
    margin: 0;
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    /* Live big-sound band-name color. */
    color: #f3efa1;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.75);
}

.bs-band:hover .bs-band__img,
.bs-band:focus-visible .bs-band__img {
    transform: scale(1.04);
}


/* -- Artist body --------------------------------------------------------- */

.bs-breadcrumb {
    max-width: 60rem;
    margin: 1.25rem auto 0;
    padding: 0 1.25rem;
    font-size: 0.85rem;
    color: var(--bs-muted);
}

.bs-breadcrumb span[aria-hidden] {
    margin: 0 0.4rem;
}

.bs-body {
    padding: 2.5rem 0;
}

.bs-body .container {
    max-width: 60rem;
}

.bs-body__name {
    font-size: clamp(2rem, 5vw, 3.25rem);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0 0 1.5rem;
}

.bs-body__intro {
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--bs-text);
    margin: 0 0 1.25rem;
}

.bs-setlist {
    margin: 1.5rem 0;
}

.bs-setlist__heading,
.bs-members__intro,
.bs-extra__heading {
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 1.75rem 0 0.75rem;
}

.bs-setlist__list,
.bs-extra__list {
    padding-left: 1.25rem;
    color: var(--bs-muted);
    line-height: 1.7;
}

.bs-quote {
    margin: 2.25rem 0;
    padding: 1.5rem 1.75rem;
    border-left: 4px solid var(--bs-accent);
    background-color: var(--bs-panel);
}

.bs-quote__text {
    font-size: clamp(1.15rem, 2.4vw, 1.5rem);
    font-style: italic;
    line-height: 1.5;
    margin: 0 0 0.75rem;
}

.bs-quote__cite {
    font-style: normal;
    font-weight: 700;
    color: var(--bs-accent);
}

.bs-members__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bs-member {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--bs-line);
}

.bs-member__name {
    display: block;
    font-weight: 700;
}

.bs-member__bio {
    display: block;
    color: var(--bs-muted);
    line-height: 1.7;
}

.bs-extra {
    margin: 1.75rem 0;
}

.bs-extra__body {
    color: var(--bs-muted);
    line-height: 1.8;
    margin: 0 0 0.75rem;
}

.bs-extra__list-heading {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 1rem 0 0.5rem;
}

/* -- Gallery ------------------------------------------------------------- */

.bs-gallery {
    padding: 2.5rem 0;
}

.bs-gallery__heading {
    font-size: clamp(1.35rem, 3vw, 2rem);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0 0 1.25rem;
    text-align: center;
}

.bs-gallery__carousel {
    position: relative;
    min-width: 0;
}

.bs-gallery__swiper {
    min-width: 0;
    overflow: hidden;
}

/* Pre-enhancement / no-JS fallback: scrollable flex track until Swiper takes
   over sizing (mirrors the hub carousel). */
.bs-gallery__track {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    display: flex;
    gap: 1rem;
}

.bs-gallery__swiper:not(.swiper-initialized) .bs-gallery__track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.bs-gallery__slide {
    /* Bounded width/height safety. */
    flex: 0 0 auto;
    width: min(560px, 82vw);
    max-width: 100%;
    min-width: 0;
    scroll-snap-align: center;
    box-sizing: border-box;
}

.bs-gallery__swiper.swiper-initialized .bs-gallery__slide {
    width: auto;
}

.bs-gallery__slide img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 70vh;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    background-color: #1c1c22;
}

.bs-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--bs-line);
    background-color: rgba(20, 20, 24, 0.85);
    color: var(--bs-text);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

/* The ‹ › glyphs sit low in their em box — nudge up to optically center. */
.bs-gallery__nav span {
    display: block;
    transform: translateY(-2px);
}

.bs-gallery__nav--prev { left: -6px; }
.bs-gallery__nav--next { right: -6px; }

.bs-gallery__nav:hover,
.bs-gallery__nav:focus-visible {
    background-color: var(--bs-accent);
    border-color: var(--bs-accent);
}

.bs-gallery__swiper:not(.swiper-initialized) ~ .bs-gallery__nav {
    display: none;
}

/* -- Footer closing copy ------------------------------------------------- */

.bs-footer-copy {
    padding: 1rem 0 2.5rem;
}

.bs-footer-copy .container {
    max-width: 60rem;
}

.bs-footer-copy__body {
    color: var(--bs-muted);
    line-height: 1.8;
}

/* -- Footer bookend image + back link ------------------------------------ */

.bs-footer-image {
    width: 100%;
    aspect-ratio: 21 / 9;
    background-color: #000;
    background-image: var(--bs-footer-image, none);
    background-size: cover;
    background-position: center;
}

.bs-back {
    text-align: center;
    padding: 2rem 1.25rem 3.5rem;
}

.bs-back__link {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-decoration: none;
}

.bs-back__link:hover,
.bs-back__link:focus-visible {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .bs-gallery__slide {
        width: 46%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bs-band__img,
    .bs-video__play {
        transition: none;
    }

    .bs-band:hover .bs-band__img,
    .bs-band:focus-visible .bs-band__img {
        transform: none;
    }
}
