.lsh-brands-hero {
    background:
        radial-gradient(900px 280px at 18% 0%, rgba(223, 17, 27, 0.28), transparent 60%),
        #090909;
    color: #fff;
}

.lsh-brands-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.9fr);
    gap: clamp(18px, 3vw, 42px);
    align-items: center;
    width: min(100%, var(--lsh-max));
    margin: 0 auto;
    padding: clamp(28px, 4vw, 52px) var(--lsh-gutter) clamp(28px, 4vw, 48px);
}

.lsh-brands-hero h1 {
    margin: 0;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 0.95;
    letter-spacing: -0.045em;
}

.lsh-brands-hero__copy p {
    max-width: 28rem;
    margin: 12px 0 0;
    color: #d5d5d8;
    font-size: 16px;
}

.lsh-brands-search {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 460px;
    margin-top: 22px;
    padding: 12px 16px;
    border-radius: 999px;
    background: #fff;
    color: #111;
}

.lsh-brands-search .lsh-icon {
    width: 18px;
    height: 18px;
    stroke: #111;
    fill: none;
    stroke-width: 1.8;
}

.lsh-brands-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #111;
    font-size: 15px;
}

.lsh-brands-search input::placeholder { color: #8a8a90; }

.lsh-brands-hero__media {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    border-radius: 18px;
}

.lsh-brands-hero__media img {
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: cover;
    object-position: center 42%;
}

.lsh-brands-hero__count {
    position: absolute;
    right: 16px;
    bottom: 12px;
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}

.lsh-brands-board {
    width: min(100%, var(--lsh-max));
    margin: 0 auto;
    padding: 28px var(--lsh-gutter) 8px;
}

.lsh-brand-directory {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.lsh-brand-card {
    display: flex;
    min-height: 198px;
    padding: 18px 14px 16px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.lsh-brand-card[hidden] { display: none !important; }

.lsh-brand-card:hover,
.lsh-brand-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.lsh-brand-card__mark {
    display: flex;
    width: 100%;
    height: 84px;
    margin-bottom: auto;
    align-items: center;
    justify-content: center;
}

.lsh-brand-card__mark img {
    width: auto;
    max-width: 78%;
    max-height: 72px;
    object-fit: contain;
}

.lsh-brand-card__word {
    max-width: 12em;
    color: #111;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.lsh-brand-card__name {
    color: #111;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.lsh-brand-card__meta {
    color: #6d6d73;
    font-size: 13px;
}

.lsh-brand-card__meta i {
    color: var(--lsh-red);
    font-style: normal;
}

.lsh-brands-empty {
    margin: 28px 0 12px;
    color: #444;
    font-size: 16px;
    text-align: center;
}

.lsh-brands-empty[hidden] { display: none !important; }

.lsh-brands-guide {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.85fr);
    width: min(calc(100% - (var(--lsh-gutter) * 2)), calc(var(--lsh-max) - (var(--lsh-gutter) * 2)));
    min-height: 240px;
    margin: 36px auto 48px;
    overflow: hidden;
    border-radius: 18px;
    background: #101012;
    color: #fff;
}

.lsh-brands-guide__copy {
    display: flex;
    padding: clamp(24px, 4vw, 48px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.lsh-brands-guide h2 {
    margin: 0;
    max-width: 14em;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.lsh-brands-guide p {
    max-width: 28em;
    margin: 10px 0 18px;
    color: #c8c8cc;
}

body.lsh-home-lab .lsh-brands-guide a {
    display: inline-flex;
    padding: 12px 18px;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

body.lsh-home-lab .lsh-brands-guide a:hover,
body.lsh-home-lab .lsh-brands-guide a:focus-visible {
    background: #f2f2f2;
    color: #111;
}

.lsh-brands-guide img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    object-position: center 20%;
}

@media (max-width: 1100px) {
    .lsh-brand-directory { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .lsh-brands-hero__inner,
    .lsh-brands-guide { grid-template-columns: 1fr; }
    .lsh-brands-hero__media,
    .lsh-brands-hero__media img { min-height: 180px; }
    .lsh-brand-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lsh-brands-guide img { max-height: 240px; }
}
