/* ============================================================
   Brand Page Styles
   ============================================================ */

/* Single-column hero (no gallery on brand pages) */
.brand-page-hero .hero-container {
    grid-template-columns: 1fr;
    max-width: 1400px;
}

/* Logo + brand name on one row */
.brand-title-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: var(--spacing-sm);
}

.brand-title-row .hero-brand-logo {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.brand-title-row .hero-title {
    font-size: clamp(52px, 7.5vw, 88px);
    margin-bottom: 0;
    line-height: 1;
}

/* Stats block — 4 metrics in a row */
.brand-hero-stats {
    display: grid;
    grid-template-columns: repeat(5, auto);
    gap: 0;
    margin-top: 1.5rem;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    /* no overflow: hidden — the metrics have no background of their own, and the not-drivable
       toggletip must not be clipped by the box */
    width: fit-content;
}

.brand-hero-metric {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 1rem 1.25rem;
    border-left: 1px solid var(--color-border);
}

.brand-hero-metric:first-child {
    border-left: none;
}

.brand-hero-metric-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    white-space: nowrap;
}

.brand-hero-metric-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-secondary);
    line-height: 1.2;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .brand-title-row .hero-brand-logo {
        width: 44px;
        height: 44px;
    }

    .brand-title-row .hero-title {
        font-size: clamp(40px, 12vw, 60px);
    }

    .brand-hero-stats {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }

    .brand-hero-metric:nth-child(2n+1) {
        border-left: none;
    }

    .brand-hero-metric:nth-child(n+3) {
        border-top: 1px solid var(--color-border);
    }
}
