/* P4P brand mark — header, footer, transitions */

.p4p-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: inherit;
    min-height: 44px;
}

.p4p-brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(232, 168, 124, 0.18);
    box-shadow: 0 0 20px rgba(232, 168, 124, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.p4p-brand__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.p4p-brand__network {
    font-family: var(--p4p-font-tech, 'JetBrains Mono', monospace);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(232, 168, 124, 0.88);
    line-height: 1;
    padding-top: 2px;
}

.p4p-brand__wordmark {
    display: none;
}

.p4p-brand--footer .p4p-brand__mark {
    width: 44px;
    height: 44px;
}

.p4p-brand--transition {
    flex-direction: column;
    gap: 0.85rem;
    align-items: center;
}

.p4p-brand--transition .p4p-brand__mark {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    box-shadow: 0 0 40px rgba(232, 168, 124, 0.25);
}

.p4p-page-transition__logo .p4p-brand__network {
    font-size: 0.85rem;
    letter-spacing: 0.28em;
}

/* Legacy placeholder retired when real logo loads */
.p4p-logo-placeholder {
    display: none !important;
}

@media (max-width: 480px) {
    .p4p-brand__network {
        font-size: 0.62rem;
        letter-spacing: 0.22em;
    }

    .p4p-brand__mark {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }
}
