/* =============================================
   ARROWSMITH GROUP — Typography v2.0
   Editorial, refined, premium
   ============================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: var(--fw-light);
    line-height: var(--lh-heading);
    color: var(--color-text-primary);
    letter-spacing: -0.01em;
}

h1 {
    font-size: var(--fs-h1);
}

h2 {
    font-size: var(--fs-h2);
}

h3 {
    font-size: var(--fs-h3);
}

h4 {
    font-size: var(--fs-h4);
}

p {
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--color-text-secondary);
}

p+p {
    margin-top: var(--space-md);
}

/* Display heading — Syne for max impact */
.text-display {
    font-family: var(--font-display);
    font-size: var(--fs-display);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.text-label {
    font-family: var(--font-body);
    font-size: var(--fs-label);
    font-weight: var(--fw-medium);
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    color: var(--color-gold);
}

.text-lead {
    font-size: var(--fs-body-lg);
    line-height: var(--lh-body);
    color: var(--color-text-secondary);
}

.text-gold {
    color: var(--color-gold);
}

.text-muted {
    color: var(--color-text-muted);
}

.text-center {
    text-align: center;
}

/* Split text animation containers */
.split-text {
    overflow: hidden;
    display: inline-block;
}

.split-text .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.6s var(--ease-out-expo),
        opacity 0.6s var(--ease-out-expo);
}

.split-text.revealed .char {
    opacity: 1;
    transform: translateY(0);
}

/* Word-level split */
.split-words .word {
    display: inline-block;
    overflow: hidden;
}

.split-words .word-inner {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.8s var(--ease-out-expo);
}

.split-words.revealed .word-inner {
    transform: translateY(0);
}

/* Decorative gold line under headings */
.heading-accent {
    position: relative;
    display: inline-block;
    padding-bottom: var(--space-lg);
}

.heading-accent::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 1px;
    background: var(--color-gold);
}

.heading-accent--center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Gradient text masking */
.text-gradient {
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 50%, var(--color-gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}