/* ============================================================
   Skog & Stål — BASE (reset, root elements, typography)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: var(--lh-base);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

:focus-visible {
    outline: 2px solid var(--color-text);
    outline-offset: 3px;
}

section {
    padding: var(--section-pad-y) var(--section-pad-x);
    max-width: var(--container);
    margin: 0 auto;
    position: relative;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-text-on-dark-muted);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-muted);
}

/* ===== Section heading block ===== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-15);
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: var(--fs-h2);
    font-weight: var(--fw-black);
    letter-spacing: -0.5px;
    margin-bottom: var(--space-4);
}

.section-header p {
    color: var(--color-text-muted);
    font-size: var(--fs-lead);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Keyframe animations ===== */
@keyframes fadeInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
