/* Global Typography - Targeted Fixes */

:root {
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --color-gold: #C5A059;
    --color-gold-text: #7B6339;
    /* Accessible gold for text on light backgrounds — 4.9:1 on #FAFAFA */
    --color-black: #111111;
}

/* 
 * 1. Main Headings (H1 & H2) 
 * "Little bit bigger (not massively)"
 */

/* H1: 40px -> 56px max (Strict 8-pt Grid) */
h1,
.elementor-widget-heading h1.elementor-heading-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 2vw + 2rem, 3.5rem) !important;
    line-height: 1.1;
    font-weight: 700;
    color: var(--color-black);
}

/* H2: 32px -> 40px max (Strict 8-pt Grid) */
h2,
.elementor-widget-heading h2.elementor-heading-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 1.5vw + 1.5rem, 2.5rem) !important;
    line-height: 1.2;
    font-weight: 700;
    color: var(--color-black);
}

/* H3: 24px -> 32px max (Strict 8-pt Grid) */
h3,
.elementor-widget-heading h3.elementor-heading-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 1.5vw + 1rem, 2rem) !important;
    line-height: 1.3;
    font-weight: 700;
    color: var(--color-black);
}

/* 
 * 2. Card Numbers (e.g., "01", "02")
 * "Nice prominent not little and hidden"
 * Selector: Inside an <article> (Card), looking for a span heading.
 * NOTE: "Selection" is an H3, so this won't affect it.
 */
article .elementor-widget-heading span.elementor-heading-title {
    font-size: 2.5rem !important;
    /* 40px - Big & Prominent */
    font-weight: 700;
    color: var(--color-gold-text) !important;
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
    opacity: 1;
}

/*
 * 3. Golden Tags (e.g., "THE FOUNDER")
 * "H6... should be nice and small"
 * These are spans OUTSIDE of articles, so the above rule doesn't touch them.
 * This rule enforces H6 styling just in case.
 */
h6,
.elementor-widget-heading h6.elementor-heading-title {
    font-family: var(--font-heading);
    font-size: 1rem !important;
    /* 16px */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold-text);
}