:root {
    --gold: #c09a3e;
    --gold-light: #e2c97e;
    --gold-dark: #8c6e1e;
    --navy: #0a1628;
    --navy-mid: #0f1f3d;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: #1a1a1a;
    background: #fff;
    font-family: "DM Sans", sans-serif;
}

#navbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: 88px;
    padding: 0 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s ease;
}

#navbar.scrolled {
    height: 70px;
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
}

.nav-logo,
.footer-brand-logo {
    display: flex;
    align-items: center;
    width: fit-content;
}

.logo-backlight {
    position: relative;
    isolation: isolate;
}

.logo-backlight::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 10% 4%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.82);
    filter: blur(18px);
    opacity: 0.72;
    pointer-events: none;
}

.nav-logo.logo-backlight::before {
    inset: -8% -16%;
    background: rgba(255, 255, 255, 0.94);
    filter: blur(25px);
    opacity: 0.9;
}

.brand-logo-image {
    position: relative;
    z-index: 1;
    display: block;
    width: auto;
    height: 76px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.9)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.28));
    transition: height 0.4s ease;
}

#navbar.scrolled .brand-logo-image {
    height: 60px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--gold-light);
}

.nav-cta {
    padding: 9px 22px;
    border-radius: 8px;
    color: var(--navy);
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    box-shadow: 0 4px 16px rgba(192, 154, 62, 0.3);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.hamburger {
    display: none;
    padding: 4px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    border-radius: 2px;
    background: #fff;
}

#mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 32px;
    background: var(--navy);
}

#mobile-menu.open {
    display: flex;
}

#mobile-menu a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-family: "Cormorant Garamond", serif;
    font-size: 32px;
}

#mobile-menu .close-btn {
    position: absolute;
    top: 24px;
    right: 5vw;
    border: 0;
    color: #fff;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
}

footer {
    padding: 64px 5vw 24px;
    color: rgba(255, 255, 255, 0.65);
    background: var(--navy);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 48px;
}

.footer-brand-logo {
    margin-bottom: 16px;
}

.footer-brand-logo .brand-logo-image {
    height: 150px;
}

.logo-backlight--footer::before {
    inset: 8% 6%;
    background: rgba(255, 255, 255, 0.55);
    filter: blur(10px);
    opacity: 0.42;
}

.logo-backlight--footer .brand-logo-image {
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.5)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.28));
}

.footer-tagline {
    max-width: 300px;
    font-size: 13px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col h4 {
    margin: 0 0 8px;
    color: var(--gold-light);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.58);
    text-decoration: none;
    font-size: 13px;
}

.footer-col a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    margin-top: 48px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 11px;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links,
    #navbar > .nav-cta {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

@media (max-width: 540px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}
