/* ============================================================
   Brand switcher — modern header trigger + full-screen chooser.
   Monochrome / editorial, mobile-first (matches theme).
   ============================================================ */

/* ---- header trigger ---- */
.brand-trigger {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .3rem .55rem; margin-right: .35rem;
    background: none; border: 0; cursor: pointer; color: #000;
    font-family: "Montserrat", sans-serif;
}
.brand-trigger__grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px;
    width: 18px; height: 18px; flex: none;
}
.brand-trigger__grid i { background: #000; border-radius: 1px; transition: transform .25s ease, background .25s ease; }
.brand-trigger:hover .brand-trigger__grid i:nth-child(1) { transform: translate(-1.5px,-1.5px); }
.brand-trigger:hover .brand-trigger__grid i:nth-child(2) { transform: translate(1.5px,-1.5px); }
.brand-trigger:hover .brand-trigger__grid i:nth-child(3) { transform: translate(-1.5px,1.5px); }
.brand-trigger:hover .brand-trigger__grid i:nth-child(4) { transform: translate(1.5px,1.5px); }
.brand-trigger__text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.brand-trigger__hint { font-size: .54rem; letter-spacing: .22em; text-transform: uppercase; color: #9a9a9a; margin-bottom: 3px; }
.brand-trigger__name { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 600px) { .brand-trigger__text { display: none; } .brand-trigger { margin-right: .15rem; } }

/* ---- full-screen chooser ---- */
.brand-switcher { position: fixed; inset: 0; z-index: 1100; }
.brand-switcher[hidden] { display: none; }

.brand-switcher__overlay { position: absolute; inset: 0; background: #0a0a0a; opacity: 0; transition: opacity .45s ease; }
.brand-switcher.is-open .brand-switcher__overlay { opacity: .97; }

.brand-switcher__panel {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    opacity: 0; transform: translateY(10px);
    transition: opacity .45s ease, transform .45s ease;
}
.brand-switcher.is-open .brand-switcher__panel { opacity: 1; transform: none; }

.brand-switcher__head {
    position: relative; display: flex; align-items: center; justify-content: space-between;
    padding: 1.4rem clamp(1rem, 4vw, 3rem); color: #fff;
}
.brand-switcher__eyebrow { font-size: .68rem; letter-spacing: .42em; text-transform: uppercase; opacity: .55; }
.brand-switcher__title {
    position: absolute; left: 50%; transform: translateX(-50%); margin: 0;
    font-size: .72rem; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; opacity: .85;
}
.brand-switcher__close { background: none; border: 0; color: #fff; cursor: pointer; line-height: 0; padding: .25rem; transition: transform .25s ease; }
.brand-switcher__close:hover { transform: rotate(90deg); }

.brand-switcher__list {
    flex: 1; display: flex; list-style: none; margin: 0;
    padding: 0 clamp(1rem, 4vw, 3rem) clamp(1.4rem, 4vw, 3rem); gap: 14px;
}
.brand-switcher__item { flex: 1 1 0; min-width: 0; transition: flex-grow .5s cubic-bezier(.4,0,.2,1); }
.brand-switcher__item:hover { flex-grow: 1.7; }

.brand-switcher__link {
    position: relative; display: block; height: 100%; min-height: 62vh;
    overflow: hidden; text-decoration: none; color: #fff;
}
.brand-switcher__media {
    position: absolute; inset: 0; background-size: cover; background-position: center top;
    filter: grayscale(1) brightness(.68); transform: scale(1.03);
    transition: filter .55s ease, transform .9s cubic-bezier(.2,.6,.2,1);
}
.brand-switcher__link:hover .brand-switcher__media { filter: grayscale(0) brightness(.9); transform: scale(1.1); }
.brand-switcher__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.62) 100%); }

.brand-switcher__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(1rem,2vw,1.7rem); display: flex; flex-direction: column; gap: .55rem; }
.brand-switcher__name { font-size: clamp(1.05rem, 1.5vw, 1.7rem); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; line-height: 1.05; }
.brand-switcher__go { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; }
.brand-switcher__link:hover .brand-switcher__go { opacity: .92; transform: none; }

.brand-switcher__current { position: absolute; top: 1rem; left: 1rem; z-index: 2; font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; background: #fff; color: #000; padding: .35rem .55rem; }
.brand-switcher__item.is-current .brand-switcher__media { filter: grayscale(0) brightness(.88); }

@media (max-width: 820px) {
    .brand-switcher__list { flex-direction: column; overflow-y: auto; gap: 10px; }
    .brand-switcher__item, .brand-switcher__item:hover { flex: none; }
    .brand-switcher__link { min-height: 30vh; }
    .brand-switcher__title { display: none; }
    .brand-switcher__go { opacity: .9; transform: none; }
}

body.brand-switcher-open { overflow: hidden; }

/* ---- hero poster fallback (no video) ---- */
.home-hero__video--poster { position: absolute; inset: 0; background-size: cover; background-position: center; }

/* ---- brand homepage slider ---- */
.brand-hero { position: relative; width: 100%; aspect-ratio: 16 / 7; max-height: 86vh; overflow: hidden; background: #000; }
@media (max-width: 700px) { .brand-hero { aspect-ratio: 4 / 5; } }
.brand-hero__track { position: absolute; inset: 0; }
.brand-hero__slide {
    position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center;
    background-size: cover; background-position: center; text-decoration: none; color: #fff;
    opacity: 0; visibility: hidden; transition: opacity .8s ease; z-index: 1;
}
.brand-hero__slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.brand-hero__caption { position: relative; padding: 2.5rem 1rem; z-index: 2; }
.brand-hero__title { font: 700 clamp(1.1rem,2.2vw,2rem)/1.1 "Montserrat",sans-serif; letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 2px 18px rgba(0,0,0,.5); }
.brand-hero__dots { position: absolute; left: 0; right: 0; bottom: 1rem; z-index: 5; display: flex; gap: .5rem; justify-content: center; }
.brand-hero__dot { width: 9px; height: 9px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; transition: background .2s ease; }
.brand-hero__dot.is-active { background: #fff; }
