/* ═══════════════════════════════════════════════════════════════
   base.css — Reset, Typography & Font Faces
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset ── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    margin: 0;
    background: var(--color-bg-page);
    overflow-x: hidden;
    min-width: 320px;
}

/* Offset scroll for fixed navbar */
section[id] {
    scroll-margin-top: 100px;
}

/* ── Font Faces ── */
@font-face {
    font-family: "inter";
    src: url("../font/inter.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Kanit";
    src: url("../font/kanit-regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Big Shoulders Display";
    src: url("../font/bigshoulders-black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
}
