:root {
    --gold: #c89b52;
    --gold-light: #e7c27b;
    --gold-dark: #9f7334;
    --navy: #0d1b2a;
    --navy-mid: #0d1b2a;
    --navy-light: #1e3854;
    --cream: #f6f7f8;
    --ink: #0d1b2a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    min-width: 320px;
    background: #fff;
    color: var(--ink);
    font-family: "DM Sans", system-ui, sans-serif;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    z-index: 9999;
}

a { text-decoration: none; }
img { max-width: 100%; display: block; }
.font-display, h1, h2, h3, .display-title { font-family: "Cormorant Garamond", Georgia, serif; }

.site-header {
    background: rgba(6, 17, 29, .86);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 60px rgba(0,0,0,.22);
}
.navbar { min-height: 80px; }
.brand {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    color: #fff;
}
.brand:hover { color: #fff; }
.brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-weight: 900;
    font-size: 1.2rem;
    transition: .25s ease;
}
.brand:hover .brand-mark { background: var(--gold); color: #fff; }
.brand strong {
    display: block;
    font-size: 1rem;
    letter-spacing: .18em;
}
.brand small {
    display: block;
    margin-top: .1rem;
    color: var(--gold);
    font-size: .55rem;
    letter-spacing: .5em;
}
.nav-link {
    color: rgba(255,255,255,.72);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.nav-link:hover, .nav-link.active { color: var(--gold-light) !important; }

.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background: var(--gold);
    border: 1px solid var(--gold);
    color: #fff;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-radius: 0;
    padding: .85rem 1.2rem;
    transition: .2s ease;
}
.btn-gold:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(200,155,82,.22);
}
.btn-outline-gold {
    border: 1px solid rgba(200,155,82,.55);
    color: var(--gold-dark);
    border-radius: 0;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .8rem 1rem;
}
.btn-outline-gold:hover { background: rgba(200,155,82,.08); color: var(--gold-dark); }

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: var(--navy);
    color: #fff;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    animation: heroScale 18s ease-in-out infinite alternate;
}
.hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6,17,29,.96), rgba(6,17,29,.8), rgba(6,17,29,.2));
}
.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(6,17,29,.65), transparent);
}
@keyframes heroScale { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero-content {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 7rem;
    padding-bottom: 5rem;
}
.section-label {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: var(--gold);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .32em;
    text-transform: uppercase;
}
.section-label::before {
    content: "";
    width: 2rem;
    height: 1px;
    background: var(--gold);
}
.hero h1 {
    max-width: 880px;
    margin-top: 1.25rem;
    font-size: clamp(3.5rem, 9vw, 7.6rem);
    font-weight: 700;
    line-height: .95;
}
.text-gold-gradient {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero p.lead {
    max-width: 620px;
    color: rgba(255,255,255,.7);
    line-height: 1.9;
}
.stats-band {
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
    color: #fff;
}
.stat-box {
    padding: 2.4rem 1rem;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.08);
}
.stat-box:last-child { border-right: 0; }
.stat-box strong {
    display: block;
    color: var(--gold);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2.6rem;
}
.stat-box span {
    color: rgba(255,255,255,.5);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.section-pad { padding: 6rem 0; }
.section-cream { background: var(--cream); }
.section-navy {
    background:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
        radial-gradient(circle at 25% 20%, rgba(200,155,82,.15), transparent 34%),
        var(--navy);
    background-size: 44px 44px, 44px 44px, auto, auto;
    color: #fff;
}
.card-hover {
    transition: transform .35s cubic-bezier(.25,.46,.45,.94), box-shadow .35s ease, border-color .25s ease;
}
.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0,0,0,.12);
}
.image-card {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    color: #fff;
}
.image-card img, .project-card img, .property-card img, .area-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}
.image-card:hover img, .project-card:hover img, .property-card:hover img, .area-card:hover img { transform: scale(1.1); }
.image-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(6,17,29,.9), rgba(6,17,29,.25), transparent);
}
.image-card .corner {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-top: 52px solid var(--gold);
    border-right: 52px solid transparent;
    z-index: 2;
}
.image-card-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 1.8rem;
}
.gold-link {
    color: var(--gold-dark);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.gold-link:hover { color: var(--gold); }
.project-card, .property-card, .area-card {
    overflow: hidden;
    background: #fff;
    color: var(--ink);
    height: 100%;
}
.project-card .media, .property-card .media, .area-card .media {
    position: relative;
    height: 225px;
    overflow: hidden;
}
.badge-soft {
    display: inline-flex;
    align-items: center;
    background: #fff4df;
    color: var(--gold-dark);
    padding: .42rem .65rem;
    font-size: .64rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.badge-gold {
    display: inline-flex;
    align-items: center;
    background: var(--gold);
    color: #fff;
    padding: .42rem .65rem;
    font-size: .64rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.muted { color: #6b7280; }
.text-white-muted { color: rgba(255,255,255,.6); }

.page-hero {
    position: relative;
    min-height: 320px;
    padding-top: 80px;
    display: flex;
    align-items: center;
    color: #fff;
    background-size: cover;
    background-position: center;
}
.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6,17,29,.92), rgba(6,17,29,.6));
}
.page-hero h1 {
    font-size: clamp(2.7rem, 7vw, 5rem);
    font-weight: 700;
}
.page-hero p, .page-hero a { color: rgba(255,255,255,.55); }
.page-hero span { color: var(--gold); }

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.filter-bar a, .filter-bar button {
    border: 1px solid rgba(13,27,42,.12);
    background: #fff;
    color: #6b7280;
    padding: .7rem .9rem;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.filter-bar a.active, .filter-bar button.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}

.gallery-main {
    width: 100%;
    height: min(58vw, 480px);
    object-fit: cover;
}
.thumb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .85rem;
    margin-top: .85rem;
}
.thumb {
    position: relative;
    height: 115px;
    border: 0;
    padding: 0;
    overflow: hidden;
    background: #000;
}
.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.thumb-more {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(6,17,29,.68);
    color: #fff;
    font-weight: 900;
    font-size: 1.4rem;
}
.detail-side {
    background: var(--navy);
    color: #fff;
    padding: 1.8rem;
    position: sticky;
    top: 105px;
}
.highlight-list {
    display: grid;
    gap: .9rem;
}
.highlight-list span {
    display: flex;
    gap: .65rem;
    align-items: center;
}
.highlight-list i { color: var(--gold); }

.form-input {
    border: 1px solid rgba(13,27,42,.12);
    background: #f8f9fa;
    border-radius: 0;
    padding: .88rem 1rem;
    color: var(--ink);
}
.form-input:focus {
    border-color: var(--gold);
    background: #fff;
    box-shadow: 0 0 0 .2rem rgba(200,155,82,.14);
}

.site-footer {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    color: #fff;
}
.footer-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.site-footer h6 {
    margin-bottom: 1.5rem;
    color: var(--gold);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .32em;
    text-transform: uppercase;
}
.site-footer a:not(.brand):not(.btn) {
    display: block;
    margin-bottom: .75rem;
    color: rgba(255,255,255,.6);
}
.site-footer a:hover { color: #fff; }
.socials { display: flex; gap: .65rem; margin-top: 1.5rem; }
.socials a {
    display: grid !important;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    border: 1px solid rgba(255,255,255,.15);
    font-size: .72rem;
    font-weight: 900;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.38);
    font-size: .72rem;
    padding: 1.1rem 0;
}

.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(3, 9, 16, .94);
    z-index: 10000;
}
.lightbox.open { display: flex; }
.lightbox img {
    max-width: min(92vw, 1200px);
    max-height: 86vh;
    object-fit: contain;
}
.lightbox-close, .lightbox-nav {
    position: absolute;
    border: 0;
    background: rgba(255,255,255,.08);
    color: #fff;
    width: 46px;
    height: 46px;
    font-size: 2rem;
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s ease, transform .65s ease;
}
.fade-up.in-view { opacity: 1; transform: none; }

@media (max-width: 991.98px) {
    .navbar-collapse {
        border-top: 1px solid rgba(255,255,255,.1);
        padding: 1rem 0;
        background: var(--navy);
    }
    .hero h1 { font-size: clamp(3.1rem, 16vw, 5rem); }
    .stat-box { border-bottom: 1px solid rgba(255,255,255,.08); }
    .thumb-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-side { position: static; }
}

@media (max-width: 575.98px) {
    .section-pad { padding: 4.2rem 0; }
    .hero-content { padding-top: 6rem; }
    .hero .d-flex { align-items: stretch !important; }
    .hero .btn { width: 100%; }
    .gallery-main { height: 320px; }
}
