/* /brand/ page. Every selector is prefixed .brand- (or scoped under
   .page-content.brand) and colours come from main.css variables, except the
   swatch chips, which show the literal hex they label. */

.page-content.brand section { margin: 2.5rem 0; }

.brand-quote {
    margin: 1rem 0 1.25rem;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid var(--red);
    background: var(--cream-2);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.brand-quote p { margin: 0; font-size: 1.15rem; line-height: 1.6; color: var(--ink); }

.brand-logos {
    display: grid;
    grid-template-columns: minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);
    gap: 1rem;
    margin-top: 1rem;
}
.brand-logos figure { margin: 0; min-width: 0; }
.brand-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.brand-logo-wide { aspect-ratio: auto; height: 100%; max-height: 220px; }
.brand-logo-box img { max-width: 100%; height: auto; }
.brand-logos figcaption { margin-top: .5rem; font-size: .9rem; color: var(--mute); }
.brand-logos figcaption strong { display: block; color: var(--ink); }

.brand-swatches {
    list-style: none;
    padding: 0;
    margin: 1rem 0 !important;
    padding-left: 0 !important;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}
.brand-swatches li { margin: 0; display: flex; flex-direction: column; gap: .15rem; }
.brand-chip {
    display: block;
    height: 72px;
    border-radius: 10px;
    margin-bottom: .4rem;
}
.brand-chip-light { border: 1px solid var(--line); }
.brand-swatches code { font-family: var(--mono); font-size: .85rem; }
.brand-swatches small { color: var(--mute); font-size: .85rem; }

.brand-fonts { margin: 1rem 0; }
.brand-fonts > div { padding: 1rem 0; border-top: 1px solid var(--line); }
.brand-fonts dt { font-size: 1.8rem; line-height: 1.2; color: var(--ink); }
.brand-fonts dd { margin: .35rem 0 0; color: var(--ink-soft); }
.brand-font-inter { font-family: 'Inter', sans-serif; font-weight: 800; }
.brand-font-georgia { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; }
.brand-font-georgia em { color: var(--red); }
.brand-font-menlo { font-family: var(--mono); font-size: 1.1rem !important; letter-spacing: .18em; }

@media (max-width: 640px) {
    .brand-logos { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
    .brand-logos figure:first-child { grid-column: 1 / -1; }
}
