/**
 * @file
 * Publication Section Head + Shared Eyebrow Badge
 *
 * Provides:
 *   1. `.pub-eyebrow`         — reusable pill-shaped label with a circular
 *                                badge + text label (e.g. "01 ABOUT" or
 *                                "PDF BRAND IDENTITY FRAMEWORK"). Used by
 *                                the section head AND the publication cover.
 *   2. `.pub-section-head`    — centered eyebrow + h2 + optional lede.
 *
 * All colours/radii/typography come from Skins tokens.
 *
 * USAGE — eyebrow only:
 *   <span class="pub-eyebrow">
 *     <span class="pub-eyebrow__badge">01</span>
 *     <span class="pub-eyebrow__label">about</span>
 *   </span>
 *
 * USAGE — full section head:
 *   <header class="pub-section-head">
 *     <span class="pub-eyebrow">
 *       <span class="pub-eyebrow__badge">02</span>
 *       <span class="pub-eyebrow__label">the framework</span>
 *     </span>
 *     <h2 class="pub-section-head__title">The seven identity blocks</h2>
 *     <p class="pub-section-head__lede">Optional description.</p>
 *   </header>
 */

/* ==========================================================================
   Shared eyebrow — badge + label pill
   ========================================================================== */

.pub-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.35rem 1.1rem 0.35rem 0.35rem;
    border-radius: var(--radius-full, 9999px);
    background: color-mix(in srgb, var(--color-primary) 10%, transparent);
    font-family: var(--font-family-heading, inherit);
    line-height: 1;
    vertical-align: middle;
}

.pub-eyebrow__badge {
    display: inline-grid;
    place-items: center;
    min-width: 1.75rem;
    height: 1.75rem;
    padding: 0 0.5rem;
    border-radius: var(--radius-full, 9999px);
    background: var(--color-surface-base);
    color: var(--color-primary-deep);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.pub-eyebrow__label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-primary-deep);
}

/* ==========================================================================
   Section head — centered opener
   ========================================================================== */

.pub-section-head {
    text-align: center;
    max-width: 780px;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.pub-section-head__title {
    font-family: var(--font-family-heading, inherit);
    font-size: clamp(1.75rem, 3.4vw, 2.5rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--color-ink);
    margin: 1rem 0 0.75rem;
}

.pub-section-head__lede {
    font-family: var(--font-family-base, inherit);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin: 0 auto;
    max-width: 60ch;
}
