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

::selection {
    background: rgba(207, 148, 80, 0.28);
    color: var(--primary);
}

::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(185, 124, 55, 0.36);
    border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-strong);
}

body {
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(circle at 85% -10%, rgba(207, 148, 80, 0.16), transparent 36%),
        radial-gradient(circle at 0% 90%, rgba(194, 155, 103, 0.12), transparent 32%),
        var(--background);
    color: var(--primary);
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

html, body {
    overflow-x: hidden;
}

body.mobile-menu-open,
body.intro-active {
    overflow: hidden;
}

html {
    scroll-behavior: smooth;
}

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

section {
    scroll-margin-top: 80px;
}

h1,
h2 {
    font-family: 'Playfair Display', serif;
    font-optical-sizing: auto;
    color: var(--primary);
}

h3,
h4,
h5,
h6 {
    font-family: 'Inter', sans-serif;
}

input,
textarea,
button {
    font-family: 'Inter', sans-serif;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

body.intro-active .navbar,
body.intro-active .hero-content,
body.intro-active .hero-buttons,
body.intro-active .scroll-btn,
body.intro-active .menu-toggle,
body.intro-active .mobile-nav,
body.intro-active .mobile-nav-backdrop {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

body.intro-active .hero-spline {
    z-index: 30;
}

.section-divider {
    width: 100%;
    height: 1px;
    border: none;
    background: linear-gradient(90deg, transparent 5%, rgba(185, 124, 55, 0.25) 50%, transparent 95%);
}
