/**
 * Bird Lee Archives — essay pages (/free-beats-explained/)
 *
 * Ported from Jay's bundled prototype ("Why Create a Free Beat Library.html",
 * 2026-07-14). The cream editorial look intentionally breaks from the site's
 * dark macOS theme — it reads as a letter from Bird, not a store page.
 * Markup keeps the prototype's inline styles; this file carries the
 * self-hosted fonts (Instrument Sans + Space Grotesk, both variable),
 * selection color, link/hover states, and mobile padding.
 *
 * Scoped under .bl-essay.
 *
 * @package flavor-starter
 */

@font-face {
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 400 600;
    font-stretch: 100%;
    font-display: swap;
    src: url("../fonts/instrument-sans-var-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 400 600;
    font-stretch: 100%;
    font-display: swap;
    src: url("../fonts/instrument-sans-var-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Instrument Sans';
    font-style: italic;
    font-weight: 400 600;
    font-stretch: 100%;
    font-display: swap;
    src: url("../fonts/instrument-sans-italic-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Instrument Sans';
    font-style: italic;
    font-weight: 400 600;
    font-stretch: 100%;
    font-display: swap;
    src: url("../fonts/instrument-sans-italic-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/space-grotesk-var-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/space-grotesk-var-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

.bl-essay {
    background: #f6f3ec;
    color: #1a1815;
    font-family: 'Instrument Sans', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    overflow: hidden;
    width: 100%;
}
.bl-essay *,
.bl-essay *::before,
.bl-essay *::after { box-sizing: border-box; }

.bl-essay ::selection { background: #ff5a3c; color: #fff; }

/* Inline citations in body copy */
.bl-essay p a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(255, 90, 60, 0.55);
    text-underline-offset: 3px;
}
.bl-essay p a:hover { color: #ff5a3c; }

/* CTA button (prototype used a style-hover attr) */
.bl-essay .ess-cta-btn { transition: background 0.15s ease; }
.bl-essay .ess-cta-btn:hover { background: #ff7559 !important; color: #161310; }

/* Secondary license link in the dark CTA block */
.bl-essay .ess-cta-alt { color: #b8b2a6; text-decoration: underline; text-underline-offset: 3px; }
.bl-essay .ess-cta-alt:hover { color: #f6f3ec; }

@media (max-width: 640px) {
    .bl-essay .ess-pad { padding-left: 24px !important; padding-right: 24px !important; }
}
