/* ???????????????????????????????????????
   SITE.CSS — Variables, Reset, Base
??????????????????????????????????????? */

:root {
    /* Colors */
    --gold: #c9a84c;
    --gold2: #e2c97e;
    --gold3: #f5e9c0;
    --black: #07070a;
    --black2: #0d0d10;
    --black3: #141418;
    --black4: #1c1c22;
    --smoke: #888896;
    --fog: #444450;
    --cream: #f5f2ec;
    --cream2: #ccc9c0;
    /* Typography */
    --font-serif: 'EB Garamond', Georgia, serif;
    --font-sans: 'Geist', system-ui, sans-serif;
    /* Spacing */
    --section-pad: 120px;
    --container: 1200px;
}

/* ?? Reset ?? */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background: var(--black);
    color: var(--cream);
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    -webkit-font-smoothing: antialiased;
}

/* ?? Typography ?? */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.1;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s;
}

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

ul {
    list-style: none;
}

/* ?? Container ?? */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

/* ?? Section ?? */
.section {
    padding: var(--section-pad) 0;
    position: relative;
}

    .section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(201,168,76,.2), transparent);
    }

/* ?? Section Header ?? */
.section-label {
    font-size: 9px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 400;
    letter-spacing: -0.5px;
}

    .section-title i {
        font-style: italic;
        color: var(--gold2);
    }

/* ?? Cursor ?? */
#cursor {
    width: 7px;
    height: 7px;
    background: var(--gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s;
}

#cursor-ring {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(201,168,76,.55);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: all 0.15s ease;
    opacity: 0.6;
}

/* ?? Reveal animations ?? */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

    .reveal.visible {
        opacity: 1;
        transform: none;
    }

    .reveal.d1 {
        transition-delay: 0.08s;
    }

    .reveal.d2 {
        transition-delay: 0.16s;
    }

    .reveal.d3 {
        transition-delay: 0.24s;
    }

    .reveal.d4 {
        transition-delay: 0.32s;
    }

    .reveal.d5 {
        transition-delay: 0.40s;
    }

    .reveal.d6 {
        transition-delay: 0.48s;
    }

/* ?? Utility ?? */
.gold {
    color: var(--gold);
}

.serif {
    font-family: var(--font-serif);
}

.upper {
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ?? Mobile ?? */
@media (max-width: 768px) {
    :root {
        --section-pad: 80px;
    }

    .container {
        padding: 0 24px;
    }

    body {
        cursor: auto;
    }

    #cursor, #cursor-ring {
        display: none;
    }
}
