:root {
    --gold: #C5A059;
    --charcoal: #1A1A1B;
    --slate: #708090;
    --silver: #D3D3D3;
}

body {
    background-color: var(--charcoal);
    color: var(--silver);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/textures/texture_charcoal_iron.png');
    background-repeat: repeat;
    background-size: 600px;
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 4px;
}

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

::-webkit-scrollbar-thumb {
    background: #222;
}

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

/* Typography Refinements */
h1, h2, h3, h4, .font-serif {
    letter-spacing: -0.04em;
    text-rendering: optimizeLegibility;
}

.tracking-tighter {
    letter-spacing: -0.05em;
}

/* Glass effect */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

section > div {
    animation: fadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
        line-height: 1;
    }
}
