.brand-hub-hero {
    margin-top: 1rem;
    color: var(--white);
    background: radial-gradient(circle at 80% 18%, rgba(14, 165, 215, .24), transparent 24rem), var(--navy-900);
}

.brand-hub-hero__grid {
    min-height: 38rem;
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    align-items: center;
    gap: 4rem;
    padding-block: 4rem;
}

.brand-hub-hero h1 {
    max-width: 13ch;
    margin: 0;
    font-size: clamp(2.65rem, 5vw, 4.9rem);
    line-height: 1;
    letter-spacing: -.06em;
    text-wrap: balance;
}

.brand-hub-hero__grid > div > p:not(.eyebrow) {
    max-width: 41rem;
    color: #c6d9e5;
    font-size: 1.08rem;
}

.brand-hub-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: 1.5rem;
}

.brand-hub-disclaimer {
    max-width: 43rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .8rem;
    margin-top: 1.25rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 1rem;
    background: rgba(255, 255, 255, .07);
}

.brand-hub-disclaimer > svg {
    width: 1.35rem;
    color: var(--blue-300);
}

.brand-hub-disclaimer p {
    margin: 0;
    color: #d8e8f1;
    font-size: .82rem;
}

.brand-hub-hero__media {
    position: relative;
}

.brand-hub-hero__media picture {
    display: block;
}

.brand-hub-hero__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 1.5rem 4rem 1.5rem 4rem;
    box-shadow: var(--shadow-lg);
}

.brand-hub-stats {
    position: absolute;
    left: -1rem;
    bottom: 1.3rem;
    display: flex;
    gap: .55rem;
}

.brand-hub-stat {
    display: grid;
    padding: .95rem 1.15rem;
    color: var(--navy-900);
    background: rgba(255, 255, 255, .95);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.brand-hub-stat--secondary {
    color: var(--white);
    background: rgba(7, 29, 53, .92);
}

.brand-hub-stat--secondary span {
    color: #bdd2df;
}

.brand-hub-stat strong {
    font-size: 1.8rem;
    line-height: 1;
}

.brand-hub-stat span {
    margin-top: .2rem;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 750;
}

.brand-directory {
    background: var(--ice-50);
    scroll-margin-top: 7rem;
    content-visibility: auto;
    contain-intrinsic-size: auto 2600px;
}

.brand-directory--combi {
    background: var(--white);
}

.brand-finder {
    padding: 2rem 0 0;
    background: var(--ice-50);
}

.brand-finder__panel {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(22rem, 1.15fr);
    align-items: center;
    gap: 3rem;
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 1.35rem;
    box-shadow: 0 1.2rem 3rem rgba(6, 24, 44, .06);
}

.brand-finder__copy h2 {
    margin: .2rem 0 .55rem;
    color: var(--navy-900);
    font-size: clamp(1.45rem, 2.8vw, 2.25rem);
    line-height: 1.12;
    letter-spacing: -.04em;
}

.brand-finder__copy > p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: .88rem;
}

.brand-finder__controls {
    min-width: 0;
    display: grid;
    gap: .7rem;
}

.brand-finder__controls > label {
    color: var(--navy-900);
    font-size: .76rem;
    font-weight: 850;
}

.brand-search-field {
    display: grid;
    grid-template-columns: 1fr auto;
    overflow: hidden;
    background: var(--ice-50);
    border: 1px solid #b8cedb;
    border-radius: .9rem;
}

.brand-search-field:focus-within {
    border-color: var(--blue-600);
    box-shadow: 0 0 0 3px rgba(14, 165, 215, .13);
}

.brand-search-field input {
    width: 100%;
    min-height: 3.25rem;
    padding: .75rem .9rem;
    color: var(--navy-900);
    background: transparent;
    border: 0;
    outline: 0;
}

.brand-search-field button {
    padding: 0 .9rem;
    color: var(--blue-600);
    background: transparent;
    border: 0;
    font-size: .75rem;
    font-weight: 850;
}

.brand-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.brand-filter-buttons button {
    min-height: 2.35rem;
    padding: .45rem .75rem;
    color: #466277;
    background: var(--ice-50);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .73rem;
    font-weight: 800;
}

.brand-filter-buttons button[aria-pressed="true"] {
    color: var(--white);
    background: var(--navy-900);
    border-color: var(--navy-900);
}

.brand-finder__status {
    margin: 0;
    color: var(--muted);
    font-size: .72rem;
}

.brand-empty-state {
    padding: 2rem 0;
    background: var(--ice-50);
}

.brand-empty-state .container {
    display: grid;
    gap: .2rem;
    padding: 1.2rem;
    color: var(--navy-900);
    background: #fff7f3;
    border: 1px solid #f4cfc1;
    border-radius: 1rem;
}

.brand-empty-state span {
    color: var(--muted);
    font-size: .8rem;
}

[data-brand-card][hidden],
[data-brand-section][hidden],
[data-brand-empty][hidden],
[data-brand-clear][hidden] {
    display: none !important;
}

.brand-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .8rem;
}

.brand-card {
    min-width: 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: .75rem;
    padding: .85rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 1rem;
    box-shadow: 0 .7rem 1.8rem rgba(6, 24, 44, .035);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.brand-card:hover {
    transform: translateY(-2px);
    border-color: #9ccddd;
    box-shadow: 0 .9rem 2rem rgba(6, 24, 44, .08);
}

.brand-card__mark {
    width: 2.55rem;
    height: 2.55rem;
    display: grid;
    place-items: center;
    color: var(--blue-700);
    background: var(--ice-100);
    border-radius: .75rem;
    font-size: 1.05rem;
    font-weight: 900;
}

.brand-card--combi .brand-card__mark {
    color: #8a381f;
    background: #fff0e9;
}

.brand-card__copy {
    min-width: 0;
    display: grid;
}

.brand-card__copy strong {
    overflow: hidden;
    color: var(--navy-900);
    font-size: .9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-card__copy small {
    margin-top: .1rem;
    color: var(--muted);
    font-size: .65rem;
}

.brand-card::after {
    content: "→";
    color: var(--blue-600);
    font-size: 1rem;
    line-height: 1;
}

.brand-page-disclaimer {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: .75rem;
    margin-top: 1.25rem;
    padding: .9rem 1rem;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 1rem;
    background: rgba(255, 255, 255, .08);
}

.brand-page-disclaimer > svg {
    width: 1.25rem;
    color: var(--blue-300);
}

.brand-page-disclaimer > div {
    display: grid;
}

.brand-page-disclaimer strong {
    font-size: .78rem;
}

.brand-page-disclaimer span {
    color: #bcd2df;
    font-size: .7rem;
}

.brand-page-disclaimer a {
    color: var(--blue-200);
    font-size: .7rem;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: .2rem;
}

.official-service-check {
    padding-top: 0;
    background: var(--white);
    content-visibility: auto;
    contain-intrinsic-size: auto 320px;
}

.official-service-check__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    background: var(--ice-50);
}

.official-service-check__inner > span {
    width: 3.2rem;
    height: 3.2rem;
    display: grid;
    place-items: center;
    color: var(--blue-600);
    background: var(--white);
    border-radius: .9rem;
}

.official-service-check h2 {
    margin: .2rem 0;
    color: var(--navy-900);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.official-service-check p:not(.eyebrow) {
    max-width: 45rem;
    margin: .3rem 0 0;
    color: var(--muted);
}

.brand-preview-section {
    background: var(--white);
}

.brand-chip-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .65rem;
}

.brand-chip-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .8rem 1rem;
    color: var(--navy-900);
    background: var(--ice-50);
    border: 1px solid var(--line);
    border-radius: .8rem;
}

.brand-chip-list strong {
    overflow: hidden;
    font-size: .82rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-chip-list small {
    color: var(--blue-600);
    font-size: .62rem;
    font-weight: 800;
}

@media (max-width: 1050px) {
    .brand-card-grid,
    .brand-chip-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .brand-hub-hero__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-block: 4rem;
    }

    .brand-hub-hero__media {
        width: min(100%, 40rem);
        margin-inline: auto;
    }

    .brand-finder__panel {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .brand-card-grid,
    .brand-chip-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .official-service-check__inner {
        grid-template-columns: auto 1fr;
    }

    .official-service-check__inner .button {
        grid-column: 1 / 3;
        justify-self: stretch;
    }

    .brand-page-disclaimer {
        grid-template-columns: auto 1fr;
    }

    .brand-page-disclaimer a {
        grid-column: 2;
    }
}

@media (max-width: 580px) {
    .brand-hub-hero h1 {
        font-size: clamp(2.45rem, 12vw, 3.5rem);
    }

    .brand-hub-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .brand-hub-hero__actions .button {
        width: 100%;
    }

    .brand-hub-hero__image {
        border-radius: 1rem 2.3rem 1rem 2.3rem;
    }

    .brand-hub-stats {
        left: .7rem;
    }

    .brand-hub-stat {
        padding: .8rem .9rem;
    }

    .brand-card-grid,
    .brand-chip-list {
        grid-template-columns: 1fr;
    }

    .brand-card__copy small {
        font-size: .7rem;
    }

    .official-service-check__inner {
        grid-template-columns: 1fr;
    }

    .official-service-check__inner > span {
        display: none;
    }

    .official-service-check__inner .button {
        grid-column: 1;
    }

    .brand-page-disclaimer {
        align-items: start;
    }
}
