/* ==========================================================================
   YAZHI — TYPOGRAPHY
   Serif display for prestige headings, sans body for readability & UI.
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--color-heading);
    line-height: var(--lh-tight);
    font-weight: 600;
    margin: 0 0 0.5em;
    letter-spacing: -0.01em;
}

h1 { font-size: var(--fs-3xl); font-weight: 600; }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); font-family: var(--font-body); font-weight: 700; }
h5 { font-size: var(--fs-md); font-family: var(--font-body); font-weight: 700; }
h6 {
    font-size: var(--fs-sm);
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.lede {
    font-size: var(--fs-md);
    line-height: var(--lh-relaxed);
    color: var(--color-text-muted);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--yazhi-dark-gold);
    margin-bottom: 0.9em;
}
.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--yazhi-gold);
    display: inline-block;
}

.section-heading {
    max-width: 46rem;
    margin-inline: auto;
    text-align: center;
    margin-bottom: var(--space-lg);
}
.section-heading.align-left {
    margin-inline: 0;
    text-align: left;
}

.text-gold { color: var(--yazhi-dark-gold); }
.text-burgundy { color: var(--yazhi-burgundy); }
.text-muted { color: var(--color-text-muted); }
.text-ivory { color: var(--yazhi-ivory); }

.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--yazhi-ivory); }
.on-dark p { color: rgba(248, 244, 234, 0.82); }
.on-dark .eyebrow { color: var(--yazhi-light-gold); }

/* Ledger / certificate numeral treatment — used for Record IDs & stats */
.ledger-number {
    font-family: var(--font-display);
    font-variant-numeric: tabular-nums;
    color: var(--yazhi-dark-gold);
    letter-spacing: 0.03em;
}
