﻿@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Inter:wght@400;500;600&family=Manrope:wght@500;600;700&display=swap');
@import url('./variables.css');

/* Cargar una sola vez desde el documento principal, antes de las secciones. */
body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--weight-regular);
    line-height: var(--leading-body);
    letter-spacing: var(--tracking-body);
}

button, input, select, textarea {
    font: inherit;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    text-wrap: balance;
}

h1 {
    font-size: var(--heading-h1);
    font-weight: var(--weight-bold);
    line-height: var(--leading-display);
    letter-spacing: var(--tracking-display);
}

h2, h3, h4 {
    font-weight: var(--weight-semibold);
    line-height: var(--leading-heading);
    letter-spacing: var(--tracking-heading);
}

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

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

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

.tech-label {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
}

/* Shared reading style, including dynamically loaded section fragments. */
.introduction-copy,
.book-content p:not(.tech-label, .experience-duration, .contact-identifier, .whatsapp-identifier),
.achievements-table td:last-child {
    text-align: justify;
    text-align-last: start;
    hyphens: auto;
    overflow-wrap: break-word;
}
