/* ==========================================================================
   Font Faces (Athiti)
   ========================================================================== */
@font-face {
    font-family: 'Athiti';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/athiti/athiti-300.woff2') format('woff2'),
         url('../fonts/athiti/athiti-300.ttf') format('truetype');
}

@font-face {
    font-family: 'Athiti';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/athiti/athiti-400.woff2') format('woff2'),
         url('../fonts/athiti/athiti-400.ttf') format('truetype');
}

@font-face {
    font-family: 'Athiti';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/athiti/athiti-500.woff2') format('woff2'),
         url('../fonts/athiti/athiti-500.ttf') format('truetype');
}

@font-face {
    font-family: 'Athiti';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/athiti/athiti-600.woff2') format('woff2'),
         url('../fonts/athiti/athiti-600.ttf') format('truetype');
}

@font-face {
    font-family: 'Athiti';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/athiti/athiti-700.woff2') format('woff2'),
         url('../fonts/athiti/athiti-700.ttf') format('truetype');
}

/* ==========================================================================
   Design Tokens
   ========================================================================== */
:root {
    --color-bg-primary: #FAF8F2;
    --color-text-primary: #1A1A1A;
    --color-text-muted: #666666;
    --color-border-divider: #D5D2C9;
    --color-footer-bg: #10181E;
    --color-footer-text: #FFFFFF;
    --color-footer-text-muted: #8E95A0;

    --font-family-base: "Athiti", sans-serif;
    --container-max-width: 1200px;
}

/* ==========================================================================
   START: RESET
   Josh's Custom CSS Reset (with customization)
   https://www.joshwcomeau.com/css/custom-css-reset/
   ========================================================================== */
*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        interpolate-size: allow-keywords;
    }
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    color: var(--color-text-primary);
    font-family: var(--font-family-base);
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

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

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

p {
    text-wrap: pretty;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
    font: inherit;
    margin: 0;
    padding: 0;
}

#root, #__next {
    isolation: isolate;
}
/* END: RESET */

a {
    text-decoration: none;
    color: inherit;
}
