/* ================================================
   Brand Hub — Frontend Styles
   Mixtape Engine · Gulu-Gulu Café & Bar
   ================================================ */

/* ---------- Palette ---------- */
.mt-brand-palette {
    margin: 30px 0;
}

.mt-brand-section-title {
    font-family: var(--zine-font-heading, 'Asap', sans-serif);
    text-transform: uppercase;
    font-size: 1.4rem;
    margin: 0 auto 12px auto;
    letter-spacing: 0.02em;
    background: #fff;
    display: inline-block;
    padding: 8px 20px;
    border: var(--zine-border-width, 3px) solid var(--zine-border-color, #0C0C0C);
    box-shadow: 4px 4px 0 var(--zine-shadow-color, #0C0C0C);
    transform: rotate(-1deg);
}

.mt-brand-section-desc {
    font-family: var(--zine-font-body, 'Asap', sans-serif);
    font-size: 0.95rem;
    line-height: 1.5;
    color: #3A3430;
    margin: 0 auto 25px auto;
    max-width: 680px;
    background: #fff;
    padding: 15px 25px;
    border: var(--zine-border-width, 3px) solid var(--zine-border-color, #0C0C0C);
}

.mt-brand-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
    align-items: stretch;
}

.mt-brand-swatch {
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
}

.mt-brand-swatch:nth-child(even) {
    transform: rotate(0.8deg);
}
.mt-brand-swatch:nth-child(odd) {
    transform: rotate(-0.6deg);
}

.mt-brand-swatch:hover {
    transform: scale(1.04) rotate(0deg) !important;
    z-index: 10;
    box-shadow: calc(var(--zine-shadow-offset, 5px) * 1.5) calc(var(--zine-shadow-offset, 5px) * 1.5) 0 var(--zine-shadow-color, #0C0C0C) !important;
}

.mt-brand-swatch-preview {
    height: 120px;
    display: flex;
    align-items: flex-end;
    padding: 12px 14px;
    font-weight: bold;
    font-size: 0.95rem;
    font-family: var(--zine-font-heading, 'Asap', sans-serif);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.mt-brand-swatch-info {
    padding: 12px 14px;
    font-family: var(--zine-font-body, 'Asap', sans-serif);
    font-size: 0.82rem;
    background: #fff;
    border-top: var(--zine-border-width, 3px) solid var(--zine-border-color, #0C0C0C);
}

.mt-brand-swatch-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.mt-brand-swatch-row:last-child {
    border-bottom: none;
}

.mt-brand-swatch-label {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: #72675D;
}

.mt-brand-swatch-value {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.82rem;
    transition: color 0.2s;
}

.mt-brand-swatch-value[data-copy] {
    cursor: pointer;
    position: relative;
}

.mt-brand-swatch-value[data-copy]:hover {
    color: #E23D23;
}

.mt-brand-swatch-value.mt-copied {
    color: #02A3AF !important;
    font-weight: bold;
}

/* ---------- Logo Gallery ---------- */
.mt-brand-logos {
    margin: 30px 0;
}

.mt-brand-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.mt-brand-logo-card {
    overflow: hidden;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mt-brand-logo-card:hover {
    transform: scale(1.03) rotate(0deg);
    z-index: 10;
    box-shadow: calc(var(--zine-shadow-offset, 5px) * 1.5) calc(var(--zine-shadow-offset, 5px) * 1.5) 0 var(--zine-shadow-color, #0C0C0C) !important;
}

.mt-brand-logo-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    min-height: 160px;
    background: repeating-conic-gradient(#f5f5f5 0% 25%, transparent 0% 50%) 50%/16px 16px;
}

.mt-brand-logo-preview img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}

.mt-brand-logo-info {
    padding: 15px 18px;
    border-top: var(--zine-border-width, 3px) solid var(--zine-border-color, #0C0C0C);
    font-family: var(--zine-font-body, 'Asap', sans-serif);
}

.mt-brand-logo-info strong {
    display: block;
    margin-bottom: 6px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
}

.mt-brand-logo-info p {
    font-size: 0.85rem;
    color: #72675D;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

/* ---------- Typography ---------- */
.mt-brand-typography {
    margin: 30px 0;
}

.mt-brand-font-card {
    background: #fff;
    transition: transform 0.2s ease;
}

.mt-brand-font-card:hover {
    transform: rotate(0deg) scale(1.01);
}

.mt-brand-font-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.mt-brand-font-role {
    font-family: var(--zine-font-body, 'Asap', sans-serif);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #72675D;
    background: rgba(0,0,0,0.06);
    padding: 2px 8px;
    border-radius: 3px;
}

.mt-brand-font-notes {
    font-family: var(--zine-font-body, 'Asap', sans-serif);
    font-size: 0.9rem;
    color: #3A3430;
    margin: 12px auto;
    max-width: 500px;
    line-height: 1.5;
}

.mt-brand-font-specimen {
    font-size: 1.4rem;
    margin-top: 10px;
    padding: 12px 0;
    border-top: 1px dashed rgba(0,0,0,0.15);
    color: #0C0C0C;
    letter-spacing: 0.03em;
}

/* ---------- Strategy ---------- */
.mt-brand-strategy {
    margin: 30px 0;
}

.mt-brand-strategy-block {
    transition: transform 0.2s ease;
}

.mt-brand-strategy-block:nth-child(even) {
    transform: rotate(0.5deg);
}
.mt-brand-strategy-block:nth-child(odd) {
    transform: rotate(-0.4deg);
}

.mt-brand-strategy-block:hover {
    transform: scale(1.01) rotate(0deg) !important;
    z-index: 5;
}

/* ---------- Full Guide (TOC) ---------- */
.mt-brand-guide-full {
    margin: 30px 0;
}

.mt-brand-toc-nav {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.mt-brand-toc-nav a {
    font-family: var(--zine-font-body, 'Asap', sans-serif);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    background: #0C0C0C;
    color: #EAE0D6;
    text-decoration: none;
    border: 2px solid #0C0C0C;
    transition: all 0.2s;
}

.mt-brand-toc-nav a:hover {
    background: #E23D23;
    border-color: #E23D23;
    color: #fff;
    transform: rotate(-2deg) scale(1.05);
}

/* ---------- Empty State ---------- */
.mt-brand-empty {
    font-family: var(--zine-font-body, 'Asap', sans-serif);
    font-style: italic;
    color: #72675D;
    padding: 30px;
    text-align: center;
    border: 2px dashed #C5AC8E;
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
    .mt-brand-swatches {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .mt-brand-swatch-preview {
        height: 90px;
    }

    .mt-brand-logo-grid {
        grid-template-columns: 1fr;
    }

    .mt-brand-toc-nav {
        flex-direction: column;
    }

    .mt-brand-toc-nav a {
        text-align: center;
    }
}
