:root {
    --gold-light: #f7d070;
    --gold-mid: #d49c43;
    --gold-dark: #8c5b1b;
    --blue-deep: #0a0e18;
    --blue-mid: #12182b;
    --blue-accent: #1e2947;
    --ember: #c45c2a;
    --terracotta-glow: rgba(196, 92, 42, 0.18);
    --mono: 'IBM Plex Mono', ui-monospace, monospace;
    --nav-h: 72px;
    --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 16px);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

body {
    font-family: 'Outfit', system-ui, sans-serif;
    color: #f1f5f9;
    background-color: var(--blue-deep);
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E"),
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(42, 58, 96, 0.55) 0%, transparent 50%),
        radial-gradient(ellipse 80% 50% at 100% 50%, rgba(30, 41, 71, 0.35) 0%, transparent 45%),
        linear-gradient(180deg, #0a0e18 0%, #0d1222 40%, #0a0e18 100%);
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
    max-width: 100%;
}

img {
    display: block;
    height: auto;
}

.font-display {
    font-family: 'Fraunces', 'Georgia', serif;
    font-optical-sizing: auto;
}

.gold-text {
    background: linear-gradient(115deg, var(--gold-light) 0%, #fff8e7 35%, var(--gold-mid) 55%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    background: transparent;
    border-bottom: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    transition: transform 0.35s var(--ease-out-expo);
}

.site-nav.is-scrolled {
    background: transparent;
    border-bottom: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

.nav-link {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(203, 213, 225, 0.85);
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--gold-light);
}

.site-nav .nav-logo {
    transition: opacity 0.4s ease, transform 0.4s ease;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5));
}

.site-nav .nav-shell {
    position: relative;
    min-height: var(--nav-h);
}

.site-nav .nav-brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.site-nav .nav-actions {
    margin-left: auto;
    position: relative;
    z-index: 2;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

@media (max-width: 767px) {
    .site-nav .nav-logo img {
        height: 2.8rem;
    }
}

.site-nav .btn-gold {
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.35) inset,
        0 10px 32px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(212, 156, 67, 0.25);
}

.site-nav .nav-cta-fade {
    transition: opacity 0.3s ease, transform 0.35s var(--ease-out-expo);
    will-change: opacity, transform;
}

.btn-gold {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(to right, #77530a, #ffd277, #77530a, #77530a, #ffd277, #77530a);
    background-size: 250%;
    background-position: left;
    color: #ffd277;
    font-weight: 700;
    padding: 12px 24px;
    text-transform: none;
    transition: background-position 1s ease, transform 0.2s ease;
    font-size: 0.9rem;
    overflow: hidden;
    isolation: isolate;
}

.btn-gold::before {
    content: "";
    position: absolute;
    inset: 5% 1.5%;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.84);
    z-index: -1;
    transition: background-position 1s ease;
}

.btn-gold:hover {
    background-position: right;
}

.btn-gold:active {
    transform: scale(0.95);
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #e8eef8;
    font-weight: 600;
    padding: 11px 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    font-size: 0.88rem;
}

.btn-outline-light:hover {
    border-color: rgba(247, 208, 112, 0.45);
    background: rgba(247, 208, 112, 0.06);
    transform: translateY(-1px);
}

.gold-divider {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45));
}

.gold-divider .js-draw-line {
    vector-effect: non-scaling-stroke;
}

.section-curve {
    position: relative;
    z-index: 5;
}

