/* ==========================================================
   typography.css
   Heading scales, body text, links, badges, and editorial
   modifiers. Uses Fraunces (headings) + Manrope (body).
   Part of: Mohammed Shehzad Khan Portfolio v2.0
========================================================== */

/* ── Headings ─────────────────────────────────────────── */

h1, h2, h3, h4 {
    font-family: "Fraunces", serif;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2.3rem, 4vw, 3.2rem);
    position: relative;
    padding-bottom: 1.25rem;
    margin-bottom: 2.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--warm-accent), var(--accent-gradient));
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

/* ── Body text ───────────────────────────────────────── */

p {
    color: var(--text-secondary);
    max-width: 62ch;
    line-height: 1.8;
}

/* ── Badges ──────────────────────────────────────────── */

.badge {
    display: inline-flex;
    align-items: center;
    font-family: "Manrope", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
    color: var(--accent);
    text-transform: uppercase;
}

/* ── Subsection title ────────────────────────────────── */

.subsection-title {
    margin-top: 4rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

/* ── Eyebrow label ───────────────────────────────────── */

.eyebrow {
    display: inline-block;
    margin-bottom: 1.25rem;
    font-family: "Manrope", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--warm-accent);
    background: var(--accent-tint);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .15em;
}
