:root {
        --nav-h: 63px;

        --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
        --font-brand:   'Cinzel', Georgia, serif;
        --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    }

    @media (min-width: 1024px) {
        :root { --nav-h: 72px; }
    }

    html {
        scroll-behavior: smooth;
    }

    html,
    body,
    section {
        overflow-x: clip;
    }

    h1, h2, h3, h4, p, li {
        overflow-wrap: anywhere;
    }

    *,
    *::before,
    *::after {
        box-shadow: none !important;
        text-shadow: none !important;
    }

    body {
        font-family: var(--font-body);
        font-size: 1rem;
        line-height: 1.7;
        color: #44403c;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }

    h3, h4, a, button {
        font-family: var(--font-body);
    }

    .hero-title,
    .section-title {
        font-family: var(--font-display);
        font-weight: 600;
        letter-spacing: -.01em;
        line-height: 1.12;
        color: #1c1917;
    }

    .hero-title    { font-size: clamp(2.75rem, 6vw + .5rem, 4.75rem); }
    .section-title { font-size: 2.25rem; }

    @media (min-width: 640px) { .section-title { font-size: 2.75rem; } }
    @media (min-width: 768px) { .section-title { font-size: 3.5rem; } }
    @media (max-width: 480px) { .section-title { font-size: 2rem; } }

    .section-eyebrow {
        display: block;
        margin-bottom: .75rem;
        font-size: .72rem;
        font-weight: 600;
        letter-spacing: .22em;
        text-transform: uppercase;
        color: #a16207;
    }

    @media (max-width: 480px) {
        .section-eyebrow { font-size: .7rem; }
    }

    .section-desc {
        font-size: 1.05rem;
        line-height: 1.8;
        color: #57534e;
    }

    @media (max-width: 480px) {
        .section-desc { font-size: .95rem; }
    }

    @media (min-width: 641px) {
        .text-justify-custom {
            text-align: justify;
            text-justify: inter-word;
            hyphens: auto;
            word-spacing: -.5px;
        }
    }

    .gradient-text {
        background: linear-gradient(90deg, #a16207 0%, #ca8a04 40%, #facc15 50%, #ca8a04 60%, #a16207 100%) 0 0 / 200% auto;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: shimmer 4s linear infinite;
    }

    @keyframes shimmer {
        to { background-position: 200% center; }
    }

    [data-reveal="up"] {
        opacity: 0;
        transform: translateY(60px);
        will-change: opacity, transform;
        transition:
            opacity   .9s cubic-bezier(.22, 1, .36, 1),
            transform .9s cubic-bezier(.22, 1, .36, 1);
    }

    @media (max-width: 640px) {
        [data-reveal="up"] { transform: translateY(40px); }
    }

    [data-reveal].is-visible {
        opacity: 1;
        transform: none;
    }

    [data-stagger] > * {
        opacity: 0;
        transform: translateY(40px);
        transition:
            opacity          .8s cubic-bezier(.22, 1, .36, 1),
            transform        .8s cubic-bezier(.22, 1, .36, 1),
            translate        .5s cubic-bezier(.22, 1, .36, 1),
            border-color     .3s,
            background-color .3s,
            color            .3s;
    }

    [data-stagger].is-visible > * {
        opacity: 1;
        transform: none;
    }

    [data-stagger].is-visible > :nth-child(1) { transition-delay: .05s; }
    [data-stagger].is-visible > :nth-child(2) { transition-delay: .15s; }
    [data-stagger].is-visible > :nth-child(3) { transition-delay: .25s; }
    [data-stagger].is-visible > :nth-child(4) { transition-delay: .35s; }
    [data-stagger].is-visible > :nth-child(5) { transition-delay: .45s; }
    [data-stagger].is-visible > :nth-child(6) { transition-delay: .55s; }
    [data-stagger].is-visible > :nth-child(7) { transition-delay: .65s; }
    [data-stagger].is-visible > :nth-child(8) { transition-delay: .75s; }
    [data-stagger].is-visible > :nth-child(9) { transition-delay: .85s; }

    .service-placeholder {
        position: relative;
        overflow: hidden;
        background: linear-gradient(135deg, #f5f5f4 0%, #e7e5e4 50%, #d6d3d1 100%);
    }

    .service-placeholder::before,
    .service-placeholder::after {
        content: '';
        position: absolute;
        inset: 0;
    }

    .service-placeholder::before {
        background:
            radial-gradient(circle at 30% 20%, rgba(202, 138, 4, .08), transparent 50%),
            radial-gradient(circle at 70% 80%, rgba(161, 98, 7, .06), transparent 50%);
    }

    .service-placeholder::after {
        background-image:
            linear-gradient(rgba(120, 113, 108, .06) 1px, transparent 1px),
            linear-gradient(90deg, rgba(120, 113, 108, .06) 1px, transparent 1px);
        background-size: 24px 24px;
    }

    @keyframes lb-fade {
        from { opacity: 0; }
        to   { opacity: 1; }
    }

    @keyframes lb-zoom {
        from { transform: scale(.94); opacity: 0; }
        to   { transform: none;       opacity: 1; }
    }

    @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
            animation-duration: .01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: .01ms !important;
        }

        [data-reveal],
        [data-stagger] > * {
            opacity: 1 !important;
            transform: none !important;
        }
    }
