/*
 * Capturing The White Buffalo microsite (/whitebuffalo).
 * STATIC page rebuilt 1:1 with the live legacy microsite: dark cinematic
 * theme, parallax hero + section banners (rAF, reduced-motion-safe), YouTube
 * facades, a Swiper photo carousel (no zoom), and the acoustic-strings tone
 * spectrum / packs / gauge chart. Page-namespaced BEM (.wb-*).
 */

.wb-page {
    --wb-ink: #f4f1ee;
    --wb-muted: #b9b1a8;
    --wb-dark: #17130f;
    --wb-accent: var(--brand-primary, #ff10a4);
    background-color: #000;
    color: var(--wb-ink);
    font-weight: 300;
    overflow-x: hidden;
}

.wb-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;
}

/* Anchor targets clear the sticky sub-nav. */
#wb-home,
#wb-episodes,
#wb-who,
#wb-experience {
    scroll-margin-top: 3.5rem;
}

.wb-page .text-center {
    text-align: center;
}

.wb-heading {
    margin: 0 0 2rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
}

.wb-subheading {
    margin: 0 0 1rem;
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.wb-page p {
    line-height: 1.7;
}

.wb-btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    text-decoration: none;
    background: transparent;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.wb-btn:hover,
.wb-btn:focus-visible {
    background-color: #fff;
    color: #17130f;
}

/* The filled button uses the brand's AA fill pair, not the raw accent: white
   on --wb-accent (#ff10a4) is 3.58:1 (WAVE on "Shop All Acoustic Strings",
   2026-09-21). Hovered, it inverts to white with the AA accent-text pink. */
.wb-btn--pink {
    border-color: var(--brand-primary-fill, var(--wb-accent));
    background-color: var(--brand-primary-fill, var(--wb-accent));
    color: var(--brand-on-primary, #fff);
}

.wb-btn--pink:hover,
.wb-btn--pink:focus-visible {
    background-color: #fff;
    border-color: #fff;
    color: var(--brand-accent-text, var(--wb-accent));
}

.wb-page a:focus-visible,
.wb-page button:focus-visible {
    outline: 2px solid var(--wb-accent);
    outline-offset: 2px;
}

/* -- Sub-nav (microsite chrome) ------------------------------------------ */

.wb-subnav {
    position: sticky;
    top: 0;
    z-index: 20;
    background-color: var(--wb-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wb-subnav__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

.wb-subnav__return {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #cfcfcf;
    text-decoration: none;
    white-space: nowrap;
}

.wb-subnav__return:hover,
.wb-subnav__return:focus-visible {
    color: #fff;
}

.wb-subnav__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wb-subnav__links a {
    display: inline-block;
    padding: 0.15rem 0.1rem;
    font-size: 0.8125rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #e6e6e6;
    text-decoration: none;
}

.wb-subnav__links a:hover,
.wb-subnav__links a:focus-visible {
    color: var(--wb-accent);
}

/* -- Parallax shell (hero + banners) ------------------------------------- */

.wb-hero,
.wb-banner {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.wb-hero__bg,
.wb-banner__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-color: #17130f;
    background-position: center 30%;
    background-repeat: no-repeat;
    background-size: cover;
    will-change: transform;
}

/* Taller than the box so the rAF translate never exposes an edge. */
.wb-hero__bg.is-parallax,
.wb-banner__bg.is-parallax {
    top: -15%;
    bottom: -15%;
    height: auto;
}

.wb-hero__scrim,
.wb-banner__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 45%, rgba(0, 0, 0, 0.75) 100%);
}

/* -- Hero ---------------------------------------------------------------- */

.wb-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 3.5rem);
    padding: 5rem 1rem 6rem;
    text-align: center;
}

.wb-hero__inner {
    max-width: 760px;
}

.wb-hero__logo {
    display: block;
    width: 100%;
    max-width: 640px;
    height: auto;
    margin: 0 auto;
}

.wb-hero__tagline {
    margin: 1.5rem 0 0;
    font-size: clamp(0.9rem, 1.8vw, 1.25rem);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.5em;
    color: #fff;
}

.wb-hero__strings {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1;
    max-width: 320px;
    line-height: 0;
}

.wb-hero__strings img {
    width: 100%;
    height: auto;
}

.wb-hero__next {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    text-decoration: none;
}

.wb-hero__next:hover,
.wb-hero__next:focus-visible {
    background-color: rgba(255, 255, 255, 0.25);
    text-decoration: none;
}

/* Chevron is an inline SVG (not a text glyph): it centers by geometry inside
   the flex circle and can never pick up a text underline. */
.wb-hero__next-icon {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
}

/* -- Episodes ------------------------------------------------------------ */

.wb-episodes {
    padding: 4rem 0 4.5rem;
    background-color: #1e130f;
    background-image: linear-gradient(rgba(10, 6, 4, 0.85), rgba(10, 6, 4, 0.92));
}

.wb-episodes__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wb-video {
    position: relative;
    aspect-ratio: 16 / 9;
    background-color: #000;
    border: 1px solid #534d4d;
    overflow: hidden;
}

.wb-video__facade {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    height: 100%;
    padding: 1rem;
    border: 0;
    cursor: pointer;
    color: #fff;
    background-color: #1a1a1a;
    background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.55)), var(--wb-video-poster, none);
    background-size: cover;
    background-position: center;
}

.wb-video__play {
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 16px 0 16px 28px;
    border-color: transparent transparent transparent #fff;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
    transition: transform 0.15s ease;
}

.wb-video__facade:hover .wb-video__play,
.wb-video__facade:focus-visible .wb-video__play {
    transform: scale(1.15);
}

.wb-video__name {
    font-size: 0.9375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

.wb-video__frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.wb-video__fallback {
    position: absolute;
    inset: auto 0 0 0;
    padding: 0.5rem;
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
}

/* -- Section banners (who / experience) ---------------------------------- */

.wb-banner {
    display: flex;
    align-items: center;
    /* Tall full-bleed image band like live (was a short 320px letterboxed
       strip). cover bg fills it. */
    min-height: clamp(560px, 78vh, 820px);
    padding: 4rem 0;
    text-align: center;
}

.wb-banner__inner {
    width: 100%;
}

.wb-banner__eyebrow {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: var(--wb-muted);
}

.wb-banner__title {
    margin: 0.25rem 0 0.5rem;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
}

.wb-banner__sub {
    margin: 0;
    font-size: clamp(0.9rem, 1.6vw, 1.125rem);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--wb-muted);
}

/* -- Who: Jake intro ----------------------------------------------------- */

.wb-who {
    background-color: #100b08;
}

.wb-jake {
    padding: 3.5rem 0;
    color: #2a2320;
    background-color: #f6f2ee;
}

.wb-jake .wb-subheading {
    color: #17130f;
}

.wb-jake__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
}

.wb-jake__body p {
    margin: 0;
    font-size: 1.0625rem;
    color: #3a322e;
}

.wb-jake__aside {
    text-align: center;
}

.wb-jake__album {
    display: block;
    margin: 1.5rem auto 1rem;
    max-width: 240px;
    line-height: 0;
}

.wb-jake__album img {
    width: 100%;
    height: auto;
}

.wb-jake .wb-btn {
    border-color: #17130f;
    color: #17130f;
}

.wb-jake .wb-btn:hover,
.wb-jake .wb-btn:focus-visible {
    background-color: #17130f;
    color: #fff;
}

.wb-jake__caption {
    margin: 0;
    font-size: 0.9375rem;
    color: #6b625c;
}

/* -- Who: gallery (Swiper, no zoom) -------------------------------------- */

.wb-gallery {
    padding: 3.5rem 0;
    background-color: #e9e4de;
    color: #2a2320;
}

.wb-gallery .wb-subheading {
    color: #17130f;
}

.wb-photos {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.wb-photos__swiper {
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

/* Pre-enhancement (no Swiper): a horizontally scrollable flex track. */
.wb-photos .swiper-wrapper {
    display: flex;
}

.wb-photos:not(.is-enhanced) .swiper-wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.wb-photos__slide {
    flex: 0 0 100%;
    min-width: 0;
    scroll-snap-align: start;
    text-align: center;
}

.wb-photos__slide img {
    display: block;
    width: 100%;
    max-height: 70vh;
    margin: 0 auto;
    object-fit: contain;
    background-color: #000;
}

.wb-photos__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 50%;
    background-color: rgba(23, 19, 15, 0.7);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.wb-photos__nav--prev {
    left: 0.5rem;
}

.wb-photos__nav--next {
    right: 0.5rem;
}

.wb-photos:not(.is-enhanced) .wb-photos__nav {
    display: none;
}

.wb-photos__pagination {
    margin-top: 1rem;
    text-align: center;
}

/* -- Who: AllMusic quote ------------------------------------------------- */

.wb-quote {
    padding: 4.5rem 1rem;
    color: #fff;
    background-color: #000;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), var(--wb-quote-bg, none);
    background-size: cover;
    background-position: left bottom;
    text-align: center;
}

.wb-quote__block {
    max-width: 52rem;
    margin: 0 auto;
}

.wb-quote__text {
    margin: 0 0 0.75rem;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.4;
}

.wb-quote__cite {
    font-size: 0.9375rem;
    font-style: normal;
    letter-spacing: 0.04em;
    color: var(--wb-muted);
}

/* -- Who: studio --------------------------------------------------------- */

.wb-studio {
    padding: 4rem 0;
    color: #f4f1ee;
    background-color: #3b2920;
    background-image: linear-gradient(rgba(30, 19, 15, 0.82), rgba(30, 19, 15, 0.9)), var(--wb-studio-bg, none);
    background-size: cover;
    background-position: left top;
}

.wb-studio__inner {
    max-width: 52rem;
}

.wb-studio__photo {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto 2rem;
    border-radius: 2px;
}

.wb-studio p {
    font-size: 1.0625rem;
    color: #e4ddd6;
}

/* -- Who: Sons of Anarchy ------------------------------------------------ */

.wb-soa {
    padding: 4rem 0;
    background-color: #100b08;
}

.wb-soa__inner {
    display: grid;
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
}

.wb-soa__cover {
    width: 100%;
    height: auto;
    border-radius: 2px;
}

.wb-soa__body p {
    font-size: 1.0625rem;
    color: #d8d0c8;
}

/* -- Who: albums --------------------------------------------------------- */

.wb-albums {
    padding: 4rem 0;
    background-color: #e9e4de;
    color: #2a2320;
}

.wb-albums .wb-subheading {
    color: #17130f;
}

.wb-albums__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wb-album {
    text-align: center;
}

.wb-album__cover {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 0.6rem;
    border-radius: 2px;
}

.wb-album__links {
    display: block;
    font-size: 0.8125rem;
}

.wb-album__links a {
    color: var(--brand-link, #005b9a);
}

.wb-album__title {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #17130f;
}

/* -- Experience: acoustic strings ---------------------------------------- */

.wb-experience {
    background-color: #2a1e19;
}

.wb-phos {
    padding: 4rem 0 5rem;
    background-color: #2a1e19;
    background-image: linear-gradient(rgba(20, 12, 9, 0.88), rgba(20, 12, 9, 0.94)), var(--wb-phos-bg, none);
    background-size: cover;
    background-position: right;
    color: #f4f1ee;
}

.wb-phos__quote {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

.wb-phos__head {
    width: 100%;
    height: auto;
}

.wb-phos__block {
    margin: 0;
}

.wb-phos__block p {
    margin: 0 0 0.75rem;
    font-size: 1.125rem;
    font-style: italic;
    line-height: 1.6;
}

.wb-phos__block cite {
    font-style: normal;
    letter-spacing: 0.04em;
    color: var(--wb-muted);
}

.wb-phos__pitch {
    max-width: 60rem;
    margin: 0 auto 3rem;
    font-size: 1.0625rem;
    line-height: 1.7;
    text-align: center;
    color: #e4ddd6;
}

.wb-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 2rem;
    align-items: start;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wb-line:last-of-type {
    border-bottom: 0;
}

.wb-line__heading {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
}

.wb-line__copy p {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    color: #d8d0c8;
}

.wb-line__panel {
    padding: 1.5rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 2px;
}

/* Tone spectrum: ruler full width, marker positioned along it. */
.wb-spectrum {
    position: relative;
    margin: 0.5rem 0 2rem;
}

.wb-spectrum__ruler {
    display: block;
    width: 100%;
    height: auto;
}

.wb-spectrum__marker {
    position: absolute;
    top: 100%;
    width: 25px;
    height: auto;
    transform: translateX(-50%);
    margin-top: -0.5rem;
}

.wb-packs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
}

.wb-pack {
    text-align: center;
    font-size: 0.75rem;
}

.wb-pack a {
    display: block;
    line-height: 0;
}

.wb-pack__img {
    width: 100%;
    height: auto;
}

.wb-pack__label {
    display: block;
    margin-top: 0.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #fff;
}

.wb-pack__sku {
    display: block;
    color: var(--wb-muted);
}

/* Gauge chart: alternating dark / light rows. */
.wb-gauges {
    margin: 0;
}

.wb-gauges__row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
}

.wb-gauges__row--dark {
    background-color: rgba(0, 0, 0, 0.5);
}

.wb-gauges__row--light {
    background-color: rgba(255, 255, 255, 0.12);
}

.wb-gauges__label {
    flex: 0 0 10rem;
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #fff;
}

.wb-gauges__set {
    margin: 0;
    color: #d8d0c8;
}

.wb-phos__shop {
    margin-top: 2rem;
    text-align: center;
}

/* -- Reduced motion: parallax layers sit static (cover backdrop) --------- */

@media (prefers-reduced-motion: reduce) {
    .wb-hero__bg,
    .wb-banner__bg {
        transform: none !important;
        top: 0;
        bottom: 0;
        height: 100%;
    }
}

/* -- Responsive ---------------------------------------------------------- */

@media (max-width: 991.98px) {
    .wb-phos__quote {
        grid-template-columns: 1fr;
    }

    .wb-line {
        grid-template-columns: 1fr;
    }

    .wb-albums__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .wb-hero__strings {
        max-width: 220px;
    }
}

@media (max-width: 767.98px) {
    .wb-subnav__inner {
        justify-content: flex-start;
    }

    .wb-hero {
        min-height: 80vh;
    }

    .wb-hero__strings {
        display: none;
    }

    .wb-episodes__grid {
        grid-template-columns: 1fr;
    }

    .wb-jake__inner {
        grid-template-columns: 1fr;
    }

    .wb-soa__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .wb-soa__cover {
        max-width: 220px;
        margin: 0 auto;
    }

    .wb-packs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wb-gauges__label {
        flex-basis: 100%;
    }
}

@media (max-width: 575.98px) {
    .wb-albums__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
